Changelog

Crawler

Release notes for aice-crawler and @aiceafrica/crawler.

Python: aice-crawler

0.2.0 (unreleased)

Added

  • jobs.create takes the service's job fields directly: search_query, max_depth, scope, mode, llm_instruction, review_mode, name. start_urls is optional when search_query is given; with neither, ValueError / Error is raised before any request.

Fixed

  • jobs.create sends the fields the service reads: start_urls / startUrls go out as seed_urls, and page_budget / pageBudget as max_pages. Previously both were ignored unless also passed in config.
  • jobs.approve(job_id, page_ids, approved=True) sends the page ids. It used to send no body, which the service always rejected. Breaking: page_ids is now required (1–500 per call, checked before any request).
  • jobs.list, jobs.list_pages and jobs.list_runs were annotated as returning a list. The service returns {"jobs" | "pages" | "runs": [...], "count": n}, which is what they return.

Changed

  • Supports aice-core>=0.3.0,<0.5.

0.1.2

Changed

  • Dependency floor on aice-core bumped to >=0.3.0,<0.4 (core 0.3.0 renamed PermissionError → AiceForbiddenError not referenced by this package, floor bumped purely to avoid a cross-package dependency conflict if installed alongside aice-sandbox).

0.1.1

Changed

  • jobs.create now passes idempotency_key=None explicitly, opting out of aice-core 0.2.0's new default auto-retry behavior a retried create should not risk spinning up a second crawl job. TODO(backend): remove once crawler_service confirms it dedupes on the Idempotency-Key header.
  • Requires aice-core>=0.2.0,<0.3.

TypeScript: @aiceafrica/crawler

0.2.0 (unreleased)

Fixed

  • jobs.list, jobs.listPages and jobs.listRuns were typed unknown[]; the service returns { jobs | pages | runs, count }. Now typed JobList, PageList, RunList.
  • jobs.create sends the fields the service reads: start_urls / startUrls go out as seed_urls, and page_budget / pageBudget as max_pages. Before, both were ignored, so a job only got its seeds or budget when they were also passed in config.
  • jobs.approve(job_id, page_ids, approved=True) sends the page ids. It used to send no body, which the service always rejected. Breaking: page_ids is now required (1–500 per call; checked before any request).

Added

  • jobs.create takes the service's job fields directly: searchQuery, maxDepth, scope, mode, llmInstruction, reviewMode, name. start_urls is optional when search_query is given; with neither, ValueError / Error before any request.
  • VERSION, this package's version.

Changed

  • Needs @aiceafrica/core 0.4.

0.1.1

Changed

  • jobs.create now passes idempotencyKey: null explicitly, opting out of @aiceafrica/core 0.2.0's new default auto-retry behavior. TODO(backend): remove once crawler_service confirms dedup support.

On this page