Skip to content

Navigation Menu

Sign in
Sign up

feat: TanStack AI adapter + API hygiene (minimal exports + drift gates) - #43

Merged
bendersej merged 11 commits into
main from
tanstack-tool-calling
Jun 30, 2026
Merged

feat: TanStack AI adapter + API hygiene (minimal exports + drift gates) #43
bendersej merged 11 commits into
main from
tanstack-tool-calling

Conversation

@bendersej

@bendersej bendersej commented Jun 29, 2026
edited
Loading

Copy link
Copy Markdown
Member

Summary

  • TanStack AI adapter (@simplepdf/embed/tanstack-ai + react /tanstack-ai) alongside the Vercel /ai-sdk adapter, on the same SDK-agnostic core. Names match the /ai-sdk convention (differentiated by import path); server tool-definitions stay in the React-free core.
  • Strict-minimum public exports: the react root no longer export *s the core or the wire-protocol vocabulary; dropped unused internal helpers (buildEditorDomain, encodeContext, isBridgeResultLike) and the INTERNAL_PROTOCOL leak. Copilot migrated to the core in lockstep.
  • Drift gates: expectTypeOf type-stability assertions (checked by tsc) + an api-extractor API-surface gate (committed etc/*.api.md reports, CI-enforced; UPDATE_API_SNAPSHOT=1 to re-bless an intentional change). @microsoft/api-extractor is a devDependency only.

Versions

@simplepdf/embed: minor. @simplepdf/react-embed-pdf: minor (the /ai-sdk server-defs re-export removal is technically breaking, but the only consumer is copilot, updated in lockstep, so it ships as a minor).

Notes

The top-level product-copy update (advertising the agentic capability in llms.ts) is SimplePDF/simple-pdf#295.

cloudflare-workers-and-pages Bot commented Jun 29, 2026
edited
Loading

Copy link
Copy Markdown

Deploying with Cloudflare Workers Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
simplepdf-webhooks 48e3c7c Commit Preview URL

Branch Preview URL
Jun 30 2026, 07:43 AM

@bendersej bendersej changed the title (削除) feat: TanStack AI adapter for client-side tool calling (/tanstack-ai) (削除ここまで) (追記) feat: TanStack AI adapter + API hygiene (minimal exports + drift gates) (追記ここまで) Jun 29, 2026
bendersej merged commit e91b4c7 into main Jun 30, 2026
4 checks passed
bendersej deleted the tanstack-tool-calling branch June 30, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /