feat: TanStack AI adapter + API hygiene (minimal exports + drift gates)#43
Merged
Conversation
Deploying with
|
| 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 |
…rt-load guard, lock sync, breadcrumbs, tests
…SimplePDFTools / simplePDFToolDefinitions / useEmbedTools) + keep server defs React-free
…(drop the React re-export)
af3d664 to
fb5be50
Compare
…or API-surface reports)
…hared scripts + root deps; keep *.test-d.ts out of the react build; fix index comment drift
…eaking, copilot-only, released as a minor)
…y don't trip git's whitespace gate
…actor emits CRLF, which tripped git's whitespace gate)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@simplepdf/embed/tanstack-ai+ react/tanstack-ai) alongside the Vercel/ai-sdkadapter, on the same SDK-agnostic core. Names match the/ai-sdkconvention (differentiated by import path); server tool-definitions stay in the React-free core.export *s the core or the wire-protocol vocabulary; dropped unused internal helpers (buildEditorDomain,encodeContext,isBridgeResultLike) and theINTERNAL_PROTOCOLleak. Copilot migrated to the core in lockstep.expectTypeOftype-stability assertions (checked bytsc) + an api-extractor API-surface gate (committedetc/*.api.mdreports, CI-enforced;UPDATE_API_SNAPSHOT=1to re-bless an intentional change).@microsoft/api-extractoris a devDependency only.Versions
@simplepdf/embed: minor.@simplepdf/react-embed-pdf: minor (the/ai-sdkserver-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.