mirror of
https://github.com/openai/codex.git
synced 2026-04-29 02:41:12 +03:00
refactor(exec-server): split routing from handler
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -17,11 +17,13 @@ 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
|
||||
- the client only speaks the protocol; it does not spawn a server subprocess
|
||||
- local child-process launch is handled by a separate helper/factory layer
|
||||
|
||||
That split is meant to leave reusable seams if exec-server and app-server later
|
||||
share transport or JSON-RPC connection utilities.
|
||||
share transport or JSON-RPC connection utilities. It also keeps the core
|
||||
handler testable without the RPC server implementation itself.
|
||||
|
||||
## Transport
|
||||
|
||||
|
||||
Reference in New Issue
Block a user