kcode-k1-codex-conversations 0.1.0

Transport-independent Codex conversation protocol state for K1
Documentation
1
2
3
4
5
6
7
# kcode-k1-codex-conversations

Transport-independent state and protocol helpers for multiplexed K1 Codex conversations.

The crate exposes facade data types, diagnostics, request parameter builders, strict scope and RPC-ID parsing, reroute detection, and generic state records. `State<S, R>` leaves event sinks and close replies generic, so process I/O, async actors, adapter handles, turns, and shims remain in higher layers.

Thread parameters fix approval to `never` and sandboxing to `readOnly`; they intentionally never request ephemeral threads. State methods enforce one active turn per conversation, thread ownership, closing transitions, request-ID allocation, and dynamic-call/RPC-ID correlation.