Skip to content

Add in ADK Typescript support#253

Merged
davideast merged 4 commits intogoogle-labs-code:mainfrom
nohe427:adk
Apr 23, 2026
Merged

Add in ADK Typescript support#253
davideast merged 4 commits intogoogle-labs-code:mainfrom
nohe427:adk

Conversation

@nohe427
Copy link
Copy Markdown
Contributor

@nohe427 nohe427 commented Apr 4, 2026

This PR adds stitch-sdk as an available tool for the Google ADK Typescript library.

@nohe427
Copy link
Copy Markdown
Contributor Author

nohe427 commented Apr 4, 2026

Would like to get ADK support added for a planned talk

Comment thread packages/sdk/package.json
@davideast davideast merged commit 00b7be8 into google-labs-code:main Apr 23, 2026
3 checks passed
davideast added a commit that referenced this pull request Apr 23, 2026
* refactor: extract shared buildAuthHeaders to eliminate duplication

Creates src/auth.ts with a shared buildAuthHeaders() utility that
replaces the duplicated auth header logic in both StitchToolClient
(client.ts) and StitchProxy (proxy/client.ts).

The shared function includes a defensive throw when neither apiKey
nor accessToken is provided, removing the unsafe config.apiKey!
non-null assertion from PR #314.

Follow-up to #314.

* fix: sync bun.lock with devDependencies added in #253

PR #253 (ADK support) added @google/adk and @google/genai to
devDependencies and updated package-lock.json, but did not run
bun install to update bun.lock. Since CI uses bun install (reading
bun.lock), these packages were never installed, causing adk tests
to fail with 'Cannot find module @google/adk'.

* chore: remove package-lock.json, gitignore it

This repo uses Bun (packageManager: [email protected]) and CI runs bun install.
The stale package-lock.json misled PR #253 into thinking npm install
was sufficient, causing devDependencies to go unresolved in CI.

Single lockfile (bun.lock) prevents split-brain dependency resolution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants