0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-18 19:34:58 +00:00
Commit graph

49 commits

Author SHA1 Message Date
github-actions[bot]
4852c78900
docs: regenerate API documentation (#1287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-09-01 19:11:05 +02:00
github-actions[bot]
273a212bcc
docs: regenerate API documentation (#1265)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-31 18:34:13 +02:00
github-actions[bot]
1999af2267
docs: regenerate API documentation (#1260)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-28 11:42:19 +02:00
github-actions[bot]
f4f32bdcc2
docs: regenerate API documentation (#1195)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-22 08:16:20 +00:00
github-actions[bot]
b98aa8b429
docs: regenerate API documentation (#1188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-21 21:20:02 +00:00
github-actions[bot]
0c0c54b92a
docs: regenerate API documentation (#1155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-19 19:30:00 +02:00
github-actions[bot]
5701bf5184
docs: regenerate API documentation (#1141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-18 19:53:35 +02:00
github-actions[bot]
9548b1526d
docs: regenerate API documentation (#953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-16 14:02:20 +02:00
github-actions[bot]
a114288ad1
docs: regenerate API documentation (#890)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-03 13:29:22 +02:00
github-actions[bot]
3ae96e67a2
docs: regenerate API documentation (#860)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-26 21:32:39 +02:00
github-actions[bot]
33a91e5619
docs: regenerate API documentation (#847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-25 18:23:45 +02:00
github-actions[bot]
f83c9913e2
docs: regenerate API documentation (#842)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-25 15:17:33 +02:00
github-actions[bot]
64452f246a
docs: regenerate API documentation (#832)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-24 17:33:12 +02:00
github-actions[bot]
c2172c9ce5
docs: regenerate API documentation (#761)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-15 18:38:25 +02:00
github-actions[bot]
755dd6f5cd
docs: regenerate API documentation (#706)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-05 11:04:58 +02:00
github-actions[bot]
f008c5fe21
docs: regenerate API documentation (#674)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-01 12:55:33 +02:00
github-actions[bot]
fcc5bcad84
docs: regenerate API documentation (#664)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-31 13:27:16 +02:00
github-actions[bot]
716892d6de
docs: regenerate API documentation (#652)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-28 18:48:24 +02:00
Tom Beckenham
2c0ebb3669
chore: remove stale PHP and Python packages (#643)
* chore: remove stale PHP and Python packages (closes #642)

Drop the PHP and Python packages and their example apps. TanStack AI now
focuses exclusively on TypeScript; AG-UI handles interop with non-JS
servers, so first-party PHP/Python clients are no longer maintained.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore: flatten packages/typescript/* into packages/*

The `typescript/` nesting was a leftover from when other-language packages
lived alongside it. With those gone (commit bda114e3), the extra level is
just noise. Moves all 31 packages with `git mv` so blame/history follow,
then updates workspace globs, tsconfig extends, package.json `directory`
fields, scripts, CI, docs, lockfile, and CLAUDE.md accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: apply automated fixes

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-26 10:06:29 +02:00
github-actions[bot]
6176067597
docs: regenerate API documentation (#631)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-24 21:39:07 +02:00
github-actions[bot]
7c98472358
docs: regenerate API documentation (#614)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-21 14:10:43 +02:00
github-actions[bot]
dca370bb06
docs: regenerate API documentation (#585)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-19 18:45:56 +02:00
github-actions[bot]
d115245f73
docs: regenerate API documentation (#548)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-11 17:16:13 +02:00
github-actions[bot]
4a943d6861
docs: regenerate API documentation (#540)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-08 19:04:10 +02:00
github-actions[bot]
e33ee09133
docs: regenerate API documentation (#494)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-23 11:49:19 +02:00
github-actions[bot]
6f21061e7c
docs: regenerate API documentation (#479)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-20 16:47:56 +02:00
github-actions[bot]
7d7934702d
docs: regenerate API documentation (#470)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-19 19:23:38 +02:00
github-actions[bot]
2df4c104c3
docs: regenerate API documentation (#435)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-09 10:34:51 +02:00
github-actions[bot]
a8a44658ef
docs: regenerate API documentation (#402)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-27 21:38:04 +01:00
github-actions[bot]
3e06b0b6b1
docs: regenerate API documentation (#384)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-17 19:05:40 +01:00
Jack Herrington
86be1c8262
feat: add realtime chat support with OpenAI and ElevenLabs adapters (#300)
* Realtime chat basically working

* Realtime chat basically working

* more updates

* chore: update pnpm-lock.yaml and latest realtime chat changes

Co-Authored-By: Warp <agent@warp.dev>

* ci: apply automated fixes

* API improved

* API further improved

* API further improved

* ci: apply automated fixes

* Updating the docs

* text chat

* ci: apply automated fixes

* Getting close to releasable

* updating changeset

* ci: apply automated fixes

* Realtime chat basically working

* Realtime chat basically working

* more updates

* chore: update pnpm-lock.yaml and latest realtime chat changes

Co-Authored-By: Warp <agent@warp.dev>

* ci: apply automated fixes

* API improved

* API further improved

* API further improved

* Updating the docs

* text chat

* ci: apply automated fixes

* ci: apply automated fixes

* Getting close to releasable

* updating changeset

* docs: add missing RealtimeStateChangeCallback type alias doc

Fixes broken link in RealtimeClient.md reference docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: apply automated fixes

---------

Co-authored-by: Warp <agent@warp.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 10:33:41 -07:00
github-actions[bot]
35add3b7f5
docs: regenerate API documentation (#325)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-02 15:39:16 +01:00
github-actions[bot]
4c54a7c50f
docs: regenerate API documentation (#288)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-12 09:35:56 +01:00
github-actions[bot]
841ebeb9da
docs: regenerate API documentation (#274)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-07 17:50:52 +01:00
github-actions[bot]
9fe3a5a783
docs: regenerate API documentation (#271)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-07 17:42:18 +01:00
github-actions[bot]
1042cdc357
docs: regenerate API documentation (#269)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-07 15:51:41 +01:00
github-actions[bot]
735a17e46c
docs: regenerate API documentation (#267)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-06 11:29:29 +01:00
github-actions[bot]
436c0aa8b3
docs: regenerate API documentation (#256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-30 11:06:16 +01:00
github-actions[bot]
76816584d7
docs: regenerate API documentation (#172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-22 13:29:37 +01:00
Alem Tuzlak
8d776146f9
feat: split up adapters into functionalities and add generate function (#137)
* feat: split up adapters into functionalities and add generate function

* ci: apply automated fixes

* readme update

* add structured outputs and stream flag

* ci: apply automated fixes

* image generation for openai and gemini

* ci: apply automated fixes

* structured outputs

* lock fix

* ci: apply automated fixes

* Splitting made operational with extra tests (#142)

* fix: refactoring ai for more activities

* smoke tests passing

* woot, all the test stuff is working

* dev panel updates for images, summarization, one shot and structured

* enhancing smoke tests

* fixing tests

* adding grok

* last minute tests

* Refactor imports in documentation and examples to use named imports for `ai`

- Updated all instances of `import ai from "@tanstack/ai"` to `import { ai } from "@tanstack/ai"` across various documentation files, guides, and examples.
- Ensured consistency in import statements for better clarity and adherence to best practices.

* ci: apply automated fixes

* fix typesafety on ai

* ci: apply automated fixes

* cleanup types

* ci: apply automated fixes

* remove grok

* ci: apply automated fixes

* fix provenence?

* update deps

* fix tests

---------

Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* Adding av adapters (#144)

* video generation

* text to speech and speech to text

* adding some cool audio UI to the dev panel

* small fixups

* ci: apply automated fixes

* client fixes on tool calls

* few more client fixups

* one last test fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* Splitting adapters up fixes (#148)

* fixing JSON-Schema conversion

* summarize now really supports streaming

* ci: apply automated fixes

* linting fixes

* feat: add createOptions helper and improve summarization streaming

- Add createOptions() function for type-safe adapter option creation
- Refactor OpenAI summarize adapter to use text adapter for streaming
- Deprecate textOptions() in favor of createOptions()
- Update examples to use createOptions pattern
- Add runtime adapter switching documentation guide

* massive overhaul to remove ai

* ci: apply automated fixes

* Going to openaiText

* ci: apply automated fixes

* doc fixes and removal of legacy exports

* adding more options to gemini audio

* doc updates

* ci: apply automated fixes

* add docs script

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>

* migrate model into adapter (#157)

* migrate model into adapter

* ci: apply automated fixes

* Feat/move model into adapter fix types and cleanup (#158)

* checkpoint

* checkpoint

* ci: apply automated fixes

* unrename

* move to _types pattern

* Remove commented code

* Goodbye embeddings

* move to ~types

* checkpoint

* ci: apply automated fixes

* updated docs and fixed a small bug with types

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>

* type safety tests for chat

* ci: apply automated fixes

* image tests

* ci: apply automated fixes

* update format

* ci: apply automated fixes

* flatten options object

* ci: apply automated fixes

* testing fixups

* fix: streaming functions and migration doc

* few more adapter/model fixups

* ci: apply automated fixes

* small bug fixes

* ci: apply automated fixes

* fix up exports and example

* tighten up types

* ci: apply automated fixes

* tighten up types

* ci: apply automated fixes

* fixes

* ci: apply automated fixes

* updating the changeset

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2025-12-19 21:06:42 +01:00
Jack Herrington
049eb8acd8
feat: JSONSchema support v2 (#125)
* JSONSchema support v2

* ci: apply automated fixes

* docs updates

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-10 06:19:35 -08:00
Alem Tuzlak
64fda55f83
fix: add cache-control to anthropic metadata (#95)
* fix: add cache-control to anthropic metadata

* ci: apply automated fixes

* revert changes to example

* revert changes to example

* fix up modalities for openai

* ci: apply automated fixes

* fix up docs for devtools

* changeset

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 16:21:10 +01:00
Lachlan Collins
8ea43ac61e
docs: correct local relative links (#88)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2025-12-05 22:38:43 +11:00
Lachlan Collins
c67b93f509
docs: update generate-docs (#83)
* docs: update generate-docs

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 10:41:34 +11:00
Jack Herrington
9dd1793dcc
Chunk processing overhaul (#61)
* initial refactor

* more fixes and updates

* actually debugging the stream processor

* better, but still not factored correctly

* better factoring

* @tanstack/ai reviewed

* @tanstack/ai-client reviewed

* react-ui review

* react-ui review

* fixing up tests

* ci: apply automated fixes

* build fixes

* ci: apply automated fixes

* small type fix

* ci: apply automated fixes

* fix tests

* ci: apply automated fixes

* ci: apply automated fixes

* merge resolution

* ci: apply automated fixes

* fix test fails

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2025-12-03 07:50:43 -08:00
Alem Tuzlak
51d0d5820b
Feat/ modality for chat inputs (#60)
* modality for chat inputs

* per provider tests

* per provider fixes

* fix modality bugs

* ci: apply automated fixes

* fix metadata typesafety

* ci: apply automated fixes

* move openai helpers into the adapter

* ci: apply automated fixes

* remove dates from anthropic models

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-03 05:17:47 -08:00
Jack Herrington
76af7a3f17
WIP: Tool overhaul (#48)
* first pass at tool overhaul

* more changes

* more changes

* more changes

* more changes

* more changes

* little fixups

* fixing tests

* updates

* adding zod

* more small fixes

* update docs to use new tool specification format

* bunch of fixups

* ci: apply automated fixes

* finally, good typesafe client tools

* fix(docs): update markdown links to use relative paths correctly (#57)

* fix(docs): update markdown links to use relative paths correctly

- Changed links in various documentation files to use relative paths instead of relative parent paths.
- Updated references in the AIAdapter and stream chunk interfaces to ensure consistency in documentation.
- Refactored tool factory to simplify the tool definition process by spreading the config object.
- Adjusted test imports to align with the latest testing library structure.

* ci: apply automated fixes

* chore: remove tool-test.ts and update package dependencies

- Deleted the tool-test.ts file from ai-anthropic live-tests.
- Updated package.json files across ai-client, ai-solid-ui, ai, and smoke-tests to manage dependencies.
- Added zod as a devDependency in ai-client and ai packages.
- Removed vite-plugin-solid from ai-solid-ui package.
- Cleaned up pnpm-lock.yaml to reflect the latest dependency resolutions and added new packages.
- Created a new smoke-tests package with initial configuration.

* ci: apply automated fixes

* fix: update types for StreamChunk and improve chunk handling in DebugPanel

* readme fix

* ci: apply automated fixes

* readme fix

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2025-12-01 13:04:58 -08:00
Jack Herrington
a2958c195a
Input output schema (#37)
* first pass

* fixed zod conversion

* fixed part ordering

* moving to inputSchema and outputSchema for tools

* ci: apply automated fixes

* add improvements to input/output schema (#38)

* add improvements to input/output schema

* remove old files

* ci: apply automated fixes

* remove old files

* remove old files

* fix types for anthropic and gemini

* ci: apply automated fixes

* lock fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2025-11-28 12:29:36 +01:00
Kevin Van Cott
8fdafd1626
chore: migrating to tanstack config (#30)
* start migrating to tanstack config

* remove nx files from git

* fix sherif lint and format, fix some builds and bugs

* fix

* fix

* fix builds for all projects

* fix package json exports

* fix most of the bundling and failing test issues

* fix knip

* fix additional issues

* revert openai to use responses api

* remove fallback

* fix

* fix

* fix

* ci: apply automated fixes

* fix

* fix

* fixing ai-react tests

* fixing adapters

* removing lingering cli package.json

* ai-client tests fixed

* removing the use clients, we aren't next

* [WIP] Fix TypeDoc configuration and autofix action issues (#34)

* Initial plan

* chore: ensure typedoc.exclude is array; avoid formatting .github files

Co-authored-by: jherr <22392+jherr@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jherr <22392+jherr@users.noreply.github.com>

---------

Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jherr <22392+jherr@users.noreply.github.com>
2025-11-27 12:37:42 -08:00