claude-codex 0.3.1

Run Claude Code on your Claude and ChatGPT subscriptions at once, routed per model name
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub fn make_thinking_signature(message_id: &str, index: usize) -> String {
    use base64::Engine;
    let input = format!("ccp:kimi:v1:{message_id}:{index}");
    base64::engine::general_purpose::URL_SAFE_NO_PAD.encode(input.as_bytes())
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn signature_is_reference_base64url() {
        assert_eq!(
            make_thinking_signature("msg_1", 2),
            "Y2NwOmtpbWk6djE6bXNnXzE6Mg"
        );
    }
}