v0.3.0 #3
johanneslatzel
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking
rawmode fromWebFetchTool— therawparameter is no longer accepted; content-type is now auto-detected and dispatched to the appropriate handlerWebFetchToolconstructor now accepts an optionalFetchRegistryas second parameterWebToolsPackageconstructor now accepts an optionalFetchRegistryas third parameterFeatures
WebFetchToolnow auto-detects response content type and routes to a matching handler viaFetchRegistryHtmlHandler,JsonHandler,XmlHandler,CsvHandler,MarkdownHandler,PlainTextHandler,GenericTextHandlerapplication/jsonresponses are parsed and re-serialized with 2-space indentation for readabilityFetchRegistrywith lazy initialization and custom handler support — register your own handlers that take priority over built-in defaultsContentHandlerRegistry(alias forFetchRegistry), all content handler classes, and theContentHandlerinterface typeInternal
@johannes.latzel/llm-chatdependency from^0.5.0to^0.6.0truncatefunction refactored fromweb-fetch.tsintolib/content-handlers/util.tswith improved boundary detection (paragraph → sentence → word → hard cut)WebSearchConfiguration,WebFetchConfiguration) now have JSDoc annotations on all propertiesFetchRegistry@typescript-eslint/*8.61.1→8.62.0,nanoid3.3.12→3.3.15,semver7.8.4→7.8.5,@types/node22.19.21→22.20.0)Full Changelog: v0.2.0...v0.3.0
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions