docs: overhaul Handler documentation#70
Merged
Merged
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e6c9e-7d83-70ea-ad84-71401b97c8d9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e769a-0f22-75bb-be55-bee45fd2dc36 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e769a-0f22-75bb-be55-bee45fd2dc36 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e769a-0f22-75bb-be55-bee45fd2dc36 Co-authored-by: Amp <amp@ampcode.com>
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
Overhauls the Handler documentation for the v0.1.22 release so the docs better match the current CLI, enterprise A2A workflows, and MCP/doc-server capabilities.
Key changes:
session liststructured output to emit a single JSON array of sessions instead of one JSON object per session.CLI smoke testing
Exercised the documented v0.1.22 CLI surface against an OAuth2-protected A2A server and verified the command behavior matches the updated docs.
Commands exercised included:
handler --version,handler version, and command help outputserver list,server show,server validate, temp-dirserver add/removecard get,card validate --server,card validate --fileschema,describe message send,describe task get,describe server add/removemessage send --text,message send --continue,message send --json, custom-Hheadermessage streamin text and NDJSON modestask get,task get --history-length,task resubscribe,task notification get/set,task cancelsession list,session show,session clearExpected server capability/state limitations were observed for unsupported operations such as resubscribe, push notifications, and canceling an already-completed task.
Verification
uv run ruff check .uv run ruff format --check .uv run ty check— exit 0; reports two existing warnings intests/server/test_card.pyuv run pytest— 462 passed