Expand description
Provider-neutral App Server process and JSONL/JSON-RPC transport.
This module deliberately stops at lifecycle and handshake. Thread, turn, rendering, and interactive-request semantics live in the protocol adapter added by later rollout slices. No provider selects this controller yet.
StructsΒ§
- AppServer
Limits - Conservative resource limits at the untrusted child-process boundary.
- AppServer
Process - AppServer
Transport - Client
Info π - Initialize
Capabilities π - Initialize
Params π - Pending
Guard π - Server
Response Error - Shared
State π - Stderr
Tail π - Write
Outcome Tracker - Tracks, for a single tracked outbound write, whether retrying after a
non-success outcome risks sending the same frame twice. A plain
success/failure
Resultisnβt enough for this: once a frame is handed torun_writerit will be delivered independent of anything that happens afterward to the callerβs future, including that future being dropped/cancelled before it ever observes an outcome β a case a Result alone canβt represent, but which a callerβs ownDropglue can still consult here (ReAgent P1, PR #3212 6th review).
EnumsΒ§
ConstantsΒ§
- INITIALIZED π
- INITIALIZE_
FAILED π - INITIALIZING π
FunctionsΒ§
- classify_
frame π - fail_
transport π - parse_
remote_ πerror - read_
frame π - run_
reader π - run_
writer π - validate_
jsonrpc_ πmarker
Type AliasesΒ§
- Pending
Sender π