mirror of
https://github.com/openai/codex.git
synced 2026-04-28 18:32:04 +03:00
exec-server: use jsonrpsee for RPC dispatch
Rewrite the transport request/response path to register exec-server methods on a jsonrpsee RpcModule instead of the custom JSON-RPC router/processor, while keeping the in-process client on direct typed handler calls. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -18,7 +18,8 @@ unified-exec in this PR; it is only the standalone transport layer.
|
||||
The internal shape is intentionally closer to `app-server` than the first cut:
|
||||
|
||||
- transport adapters are separate from the per-connection request processor
|
||||
- JSON-RPC route matching is separate from the stateful exec handler
|
||||
- JSON-RPC request dispatch is backed by `jsonrpsee` and kept separate from the
|
||||
stateful exec handler
|
||||
- the client only speaks the protocol; it does not spawn a server subprocess
|
||||
- the client can also bypass the JSON-RPC transport/routing layer in local
|
||||
in-process mode and call the typed handler directly
|
||||
|
||||
Reference in New Issue
Block a user