Skip to main content

Crate kcode_k1_codex_shim

Crate kcode_k1_codex_shim 

Source
Expand description

Per-conversation K1 bridge for native Codex turns.

One Shim::infer drives one fresh runtime turn through Event::Done, checkpointing and acknowledging each immediately available call wave.

Structs§

Adapter
Config
DynamicTool
Error
Shim
A single-owner, per-conversation bridge between K1 boxes and Codex turns.
ShimOutput
Atomic terminal output from one native Codex turn.
ToolCall
ToolResult
Turn

Enums§

ErrorKind
Event
ShimItem
One ordered item produced by a completed native Codex turn.

Constants§

ASYNC_TOOL_ACKNOWLEDGEMENT
Fixed successful response used to release every Codex dynamic-tool request.

Traits§

BoxCodec
Converts between K1’s canonical box type and text visible to Codex.
ToolCallLauncher
Accepts one assistant-text and tool-call wave for durable launch.

Type Aliases§

ToolLaunchFuture
Future returned while handing one output stage to K1.