Complete the Codex host initialization handshake once
This commit is contained in:
@@ -82,7 +82,8 @@ changes Codex settings. Helpers are scoped by database path and upstream socket,
|
||||
with mode-0600 Unix sockets and singleton locks under the mode-0700 directory
|
||||
`<user cache dir>/pipelines/codex-hosts/<database hash>/`.
|
||||
|
||||
On reconnect the helper returns its cached initialization handshake and replays
|
||||
The helper completes upstream initialize -> initialized exactly once before
|
||||
accepting clients. On reconnect it returns the cached initialization result and replays
|
||||
only unanswered server requests, preserving exact callback IDs and parameters.
|
||||
Responses and `serverRequest/resolved` remove pending entries. Old/new client RPC
|
||||
IDs are remapped so a delayed response for an old Pipelines process cannot answer
|
||||
|
||||
Reference in New Issue
Block a user