feat: export AdkApiServer from @google/adk-devtools package#245
Merged
kalenkevich merged 4 commits intoApr 10, 2026
Conversation
1af8532 to
265bfc2
Compare
265bfc2 to
284beec
Compare
ScottMansfield
approved these changes
Apr 10, 2026
Merged
7 tasks
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.
Link to Issue or Description of Change
Related to: #238
Problem:
The
@google/adk-devtoolspackage did not exportAdkApiServerorAdkApiClientfor programmatic use, limiting its functionality to CLI usage only. Additionally, the package lacked proper support for dual CommonJS and ESM exports.Solution:
dev/src/index.tsto act as the main entry point for programmatic exports, exposingAdkApiServerandAdkApiClient.dev/package.jsonto support dual exports (ESM and CommonJS) via the"exports"field and added"typings".dev/tsconfig.jsonto output types todist/types.tests/integration/build_setupto verify thatAdkApiServercan be successfully imported and used in various environments (Node.js CJS/ESM, TypeScript CJS/ESM).Testing Plan
Unit Tests:
Summary of passed npm test results:
Added
should import devtools successfullyandshould run devtools CLI successfullytests tobuild_setup_test.ts.Manual End-to-End (E2E) Tests:
Checklist