Releases: TanStack/ai
Releases · TanStack/ai
@tanstack/solid-ai-devtools@0.2.28
Patch Changes
- Updated dependencies []:
- @tanstack/ai-devtools-core@0.3.24
@tanstack/react-ai-devtools@0.2.28
Patch Changes
- Updated dependencies []:
- @tanstack/ai-devtools-core@0.3.24
@tanstack/preact-ai-devtools@0.1.28
Patch Changes
- Updated dependencies []:
- @tanstack/ai-devtools-core@0.3.24
@tanstack/ai@0.13.0
Minor Changes
-
Pluggable debug logging across every activity.
chat,summarize,generateImage,generateVideo,generateSpeech, andgenerateTranscriptionnow accept adebug?: DebugOptionthat turns on structured per-category logs (request,provider,output,middleware,tools,agentLoop,config,errors). (#467)chat({ adapter, messages, debug: true }) // all categories on chat({ adapter, messages, debug: false }) // silent (incl. errors) chat({ adapter, messages, debug: { middleware: false } }) // all except middleware chat({ adapter, messages, debug: { logger: pino } }) // route to a custom logger
Additions:
- New
Loggerinterface (debug/info/warn/error) and defaultConsoleLoggerthat routes to matchingconsole.*methods and prints nestedmetaviaconsole.dir(meta, { depth: null, colors: true })so streamed provider payloads render in full. - New
DebugCategories/DebugConfig/DebugOptionpublic types. - New internal
@tanstack/ai/adapter-internalssubpath export exposingInternalLogger+resolveDebugOptionso provider adapters can thread logging without leaking internals on the public surface. - Each log line is prefixed with an emoji +
[tanstack-ai:<category>]tag so categories are visually distinguishable in dense streams. Errors log unconditionally unless explicitly silenced. TextEngine,MiddlewareRunner, and every activity entry point thread a resolvedInternalLoggerthrough the pipeline — no globals, concurrent calls stay independent.- Exceptions thrown by a user-supplied
Loggerimplementation are swallowed so they never mask the real error that triggered the log call. - New
ai-core/debug-loggingskill shipped underpackages/typescript/ai/skills/so agents can discover how to toggle, narrow, and redirect debug output.
- New
Patch Changes
- Updated dependencies []:
- @tanstack/ai-event-client@0.2.7
@tanstack/ai-vue@0.6.19
Patch Changes
- Updated dependencies [
c1fd96f]:- @tanstack/ai@0.13.0
- @tanstack/ai-client@0.7.14
@tanstack/ai-vue-ui@0.1.30
Patch Changes
- Updated dependencies []:
- @tanstack/ai-vue@0.6.19
@tanstack/ai-svelte@0.6.19
Patch Changes
- Updated dependencies [
c1fd96f]:- @tanstack/ai@0.13.0
- @tanstack/ai-client@0.7.14
@tanstack/ai-solid@0.6.19
Patch Changes
- Updated dependencies [
c1fd96f]:- @tanstack/ai@0.13.0
- @tanstack/ai-client@0.7.14
@tanstack/ai-react@0.7.15
Patch Changes
- Updated dependencies [
c1fd96f]:- @tanstack/ai@0.13.0
- @tanstack/ai-client@0.7.14
@tanstack/ai-preact@0.6.19
Patch Changes
- Updated dependencies [
c1fd96f]:- @tanstack/ai@0.13.0
- @tanstack/ai-client@0.7.14