Skip to content

Commit e486eff

Browse files
committed
docs: clarify remote core follow-up
1 parent f1d91d8 commit e486eff

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

plans/STREAMABLE-HTTP-AGENT-TRANSPORT.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,16 @@ HTTP/SSE endpoint instead of only the integration-test fixture lifecycle.
123123

124124
## PLAN / Follow-Up Work
125125

126-
- extract a shared remote-core layer only after HTTP parity is proven
126+
- extract a shared remote-core layer only after HTTP parity is proven.
127+
Here, "remote-core" means the transport-independent runtime machinery that
128+
both remote listener transports need: per-connection agent factory creation,
129+
connection/session registries, lifecycle teardown, request/response routing
130+
ledgers, timeout/error propagation, and observability hooks. The actual wire
131+
adapters should remain transport-specific: WebSocket text frames stay in the
132+
WebSocket module, and HTTP methods, headers, cookies, SSE parsing, and status
133+
codes stay in the Streamable HTTP module. Deferring this extraction keeps the
134+
first HTTP implementation close to the RFD and avoids prematurely forcing the
135+
existing WebSocket behavior through an abstraction before parity is proven.
127136
- migrate WebSocket toward the same factory-backed listener model
128137
- add idle/provisional-session eviction and replay retention policies
129138
- revisit per-logical-session active-prompt tracking in `AcpAgentSession`

0 commit comments

Comments
 (0)