Repository navigation
v2.27.0
·
64 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Behavior changes
get_pageandread_pagereturn the page as plain text instead of JSON: a few header lines (url, title, the byte range withnext_offsetwhen truncated, and forread_pagethe crawl metadata), an empty line, then the markdown. They no longer declare anoutputSchemaor sendstructuredContent. Clients that forward onlystructuredContent, such as Claude Code, used to show the model the page escaped inside JSON; every client now gets the markdown as is, once (#112).max_bytesforget_pageandread_pagedefaults to 32768 (was 102400), so a default page stays under the size at which Claude Code moves a tool result to a file and Gemini CLI cuts out its middle. The 1 MiB maximum is unchanged; larger pages page throughnext_offsetas before (#112).- A rejected site entry lists every problem at once, in
draft_site,save_siteanddoc-scraper config validate/crawl/watch: unknown, refused or mistyped fields, missingstart_urls,allowed_domainorcontent_selector, and invaliddisallowed_path_patterns.config validateprints each on its ownERROR: [site]line, and-jsonputs them one per line in the site'serror(#111).
New
tools/listdeclares every site entry field ondraft_site'soverridesandsave_site'sentry(type, a short description, and which fieldsentryneeds), including thatmax_depthis an exclusive bound:max_depth: 1crawls only the start pages (#111).
Fixes
searchandsearch_docsshow each section once. A long section is split into several chunks for the index, and each chunk used to take its own slot, so one section could fill half the results ("progress bar" on the Click docs gave 10 results from 5 sections). Results are now one per page and anchor, keeping the best-ranked chunk, and the list still fills to the limit when there are enough distinct sections (#46, #53).- A site key with nothing under it (
b:orb: null) no longer crashesconfig validate,config list,crawl,watch,searchormcp-server. Loading the config now fails withsite 'b' has no settings, naming every such site (#70, #122).
Thanks to @CloudCorpRecords for the search dedupe and @dbisina for the empty site fix.
Dependencies
- modernc.org/sqlite 1.62.0.