Skip to content

docs: fix v2 quickstart, web transport snippets, and example annotations - #219

Open
PsiACE wants to merge 1 commit into
mainfrom
docs/fix-v2-quickstart-web-transport-and-examples
Open

PsiACE wants to merge 1 commit into
mainfrom
docs/fix-v2-quickstart-web-transport-and-examples

Conversation

@PsiACE

@PsiACE PsiACE commented Nov 29, 2026

Copy link
Copy Markdown
Member

Fixes runnable docs snippets and updates v1 example type annotations to match the current schema.

Summary

  • Add prompt() to MyAgent in docs/experimental-v2.md so the paired client/agent quickstart runs without -32601, and align v2 extension docs with v1 unprefixed method names.
  • Separate the Streamable HTTP and WebSocket client snippets in docs/web-transport.md so neither overwrites or leaks the other transport.
  • Update session_update annotations in examples/client.py and examples/gemini.py to include all current v1 update variants, and align ExampleAgent.load_session parameter order and AcpMcpServer typing in examples/agent.py.

Verification

  • make check
  • make test (685 passed, 1 skipped, 0 warnings)
  • NO_MKDOCS_2_WARNING=true make docs-test

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant