Standardize API exports and AgentEvent types#136
Merged
Conversation
dewitt
added a commit
that referenced
this pull request
Feb 13, 2026
dewitt
added a commit
that referenced
this pull request
Feb 13, 2026
kalenkevich
approved these changes
Feb 13, 2026
dewitt
added a commit
that referenced
this pull request
Feb 13, 2026
This commit addresses feedback from PR #136 by: - Updating copyright years to 2026 in event files. - Introducing AgentEventType enum for better type safety in AgentEvent.
kalenkevich
approved these changes
Feb 13, 2026
This commit addresses feedback from PR #136 by: - Updating copyright years to 2026 in event files. - Introducing AgentEventType enum for better type safety in AgentEvent.
0b709c4 to
3932f48
Compare
dewitt
added a commit
that referenced
this pull request
Feb 23, 2026
* Implement Runner streaming and stateless execution Fixes #141 * chore: include PR #136 dependencies for CI * refactor: extract convertEventToAgentEvents and add streaming tests * fix: resolve type errors in streaming tests * refactor: replace AgentEvent with native Event and parseEvent utility * docs: update adk-ts-improvements.md for native events and parseEvent utility * fix(test): add optional chaining to fix TypeDoc validation error * refactor: address review comments, rename to runEphemeral and toStructuredEvents * refactor: drop runStream and standardize on runAsync for parity with python ADK * test: use @google/adk for imports in streaming runner test * refactor: remove any casts and use native genai types for thought parts * fix: remove redundant structured_events export from index.ts * refactor: add explicit ToolConfirmationEvent type and export all structured event interfaces * test: remove redundant runAsync test and make FinishedEvent output optional
dewitt
added a commit
that referenced
this pull request
Feb 24, 2026
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 standardizes the
AgentEventtype definition and exposesuserIdandsessionIdinReadonlyContext. These are foundational types required for the upcoming streaming implementation and session management enhancements.AgentEventdiscriminated union.userIdandsessionIdinReadonlyContext.core/src/index.ts.Fixes #135.