Changelog
Crawler
Release notes for aice-crawler and @aiceafrica/crawler.
Python: aice-crawler
0.2.0 (unreleased)
Added
jobs.createtakes the service's job fields directly:search_query,max_depth,scope,mode,llm_instruction,review_mode,name.start_urlsis optional whensearch_queryis given; with neither,ValueError/Erroris raised before any request.
Fixed
jobs.createsends the fields the service reads:start_urls/startUrlsgo out asseed_urls, andpage_budget/pageBudgetasmax_pages. Previously both were ignored unless also passed inconfig.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_idsis now required (1–500 per call, checked before any request).jobs.list,jobs.list_pagesandjobs.list_runswere 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-corebumped to>=0.3.0,<0.4(core 0.3.0 renamedPermissionError→AiceForbiddenErrornot referenced by this package, floor bumped purely to avoid a cross-package dependency conflict if installed alongsideaice-sandbox).
0.1.1
Changed
jobs.createnow passesidempotency_key=Noneexplicitly, opting out ofaice-core0.2.0's new default auto-retry behavior a retried create should not risk spinning up a second crawl job. TODO(backend): remove oncecrawler_serviceconfirms it dedupes on theIdempotency-Keyheader.- Requires
aice-core>=0.2.0,<0.3.
TypeScript: @aiceafrica/crawler
0.2.0 (unreleased)
Fixed
jobs.list,jobs.listPagesandjobs.listRunswere typedunknown[]; the service returns{ jobs | pages | runs, count }. Now typedJobList,PageList,RunList.jobs.createsends the fields the service reads:start_urls/startUrlsgo out asseed_urls, andpage_budget/pageBudgetasmax_pages. Before, both were ignored, so a job only got its seeds or budget when they were also passed inconfig.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_idsis now required (1–500 per call; checked before any request).
Added
jobs.createtakes the service's job fields directly:searchQuery,maxDepth,scope,mode,llmInstruction,reviewMode,name.start_urlsis optional whensearch_queryis given; with neither,ValueError/Errorbefore any request.VERSION, this package's version.
Changed
- Needs
@aiceafrica/core0.4.
0.1.1
Changed
jobs.createnow passesidempotencyKey: nullexplicitly, opting out of@aiceafrica/core0.2.0's new default auto-retry behavior. TODO(backend): remove oncecrawler_serviceconfirms dedup support.