Add in ADK Typescript support#253
Merged
davideast merged 4 commits intogoogle-labs-code:mainfrom Apr 23, 2026
Merged
Conversation
Contributor
Author
|
Would like to get ADK support added for a planned talk |
nohe427
commented
Apr 4, 2026
davideast
approved these changes
Apr 23, 2026
5 tasks
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.
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.
This PR adds stitch-sdk as an available tool for the Google ADK Typescript library.