You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e23cde8
Browse filesBrowse the repository at this point in the historyBrowse files
Mark Pollack
committed
Interoperate with the Rust, TypeScript and Python HTTP transports
An interop run over plain http against the three other SDKs found four
Java-side problems:
- Against a cleartext server without h2c, the client kept offering
Upgrade: h2c on every request; the TypeScript example server routes
any request with an Upgrade header to its WebSocket handler and
answered initialize with 405. After the OPTIONS probe settles on
HTTP/1.1 (or fails, or takes over five seconds) every request is now
pinned to HTTP/1.1, including the initialize request built before it.
- session/load always opened a new GET for the session stream, even when
it was open; the TypeScript and Rust servers allow one receiver per
stream and answered 409. An open stream is now reused.
- The Rust and Python clients post every response without
Acp-Session-Id, and the Python client sends session/load without it
(the RFD is ambiguous there). The server accepts a missing header in
both cases, taking the session from params; a header naming a
different session is still rejected.
- The provisional-session limit is checked and reserved atomically.
The initialize response's Acp-Connection-Id requirement regains the test
it lost with the fixture server.
Copy file name to clipboardExpand all lines: acp-core/src/test/java/com/agentclientprotocol/sdk/client/transport/StreamableHttpAcpClientTransportTest.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpConnection.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpRouting.java
0 commit comments