Conversation
Signed-off-by: Chojan Shang <psiace@apache.org>
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
This pull request introduces several improvements and updates across the quickstart documentation, example agents and clients, and the Gemini CLI integration, as well as schema and version updates. The main changes include support for new message and session fields, improved prompt handling (including timeouts), expanded schema methods, and updated documentation to reflect these enhancements.
Key changes:
Protocol and Schema Updates
0.10.0for the Python package andv0.12.2for the schema, reflecting significant feature additions and compatibility updates.schema/meta.json) to include new agent and client methods such as document events, NES (New Elicitation System) operations, provider management, and elicitation methods.Message and Session Handling
message_idparameter to prompt methods in agents and clients, ensuring that user messages can be tracked and correlated throughout the protocol. ThePromptResponsenow includes theuser_message_idfield.new_session,load_session) to acceptadditional_directoriesand allowmcp_serversto be optional, improving flexibility for session initialization.Gemini CLI Example Enhancements
--prompt,--prompt-timeout,--experimental-acp, and--skip-trust.API and Type Updates
ToolCallUpdate,ConfigOptionUpdate,SessionInfoUpdate, andUsageUpdatefor more comprehensive session and tool call handling.Documentation Improvements
--experimental-acpwith--acpand adding--skip-trust).These updates collectively improve protocol compliance, usability, and robustness for developers integrating with the Agent Client Protocol and the Gemini CLI.