tarlatan
    Preparing search index...

    Variable CodexEventConst

    CodexEvent: Union<
        readonly [
            Struct<{ type: Literal<"thread.started"> }>,
            Struct<{ type: Literal<"turn.started"> }>,
            Struct<
                {
                    type: Literal<"turn.completed">;
                    usage: optionalKey<$Record<String, Unknown>>;
                },
            >,
            Struct<
                {
                    error: optionalKey<$Record<String, Unknown>>;
                    type: Literal<"turn.failed">;
                },
            >,
            Struct<{ message: optionalKey<String>; type: Literal<"error"> }>,
        ],
    > = ...

    Any codex exec --json event decoded here.