codexidentity

package
v1.7.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package codexidentity defines the Codex wire identity owned by CCL.

Keep these values owned by CCL: an external implementation update must never silently change how CCL identifies its Codex Responses requests.

Index

Constants

View Source
const (
	// ClientVersion is the Codex protocol baseline implemented by CCL. Update it
	// deliberately when validating CCL against a newer Codex client protocol.
	ClientVersion = "0.162.1"
	Originator    = "codex_cli_rs"
)

Variables

This section is empty.

Functions

func ApplyClientHeaders

func ApplyClientHeaders(headers http.Header)

ApplyClientHeaders adds the identity shared by Codex model-catalog and Responses requests.

func ApplyTurnHeaders

func ApplyTurnHeaders(headers http.Header, sessionID, threadID, windowID string)

ApplyTurnHeaders adds the request-scoped identity used by Codex Responses.

func UserAgent

func UserAgent() string

UserAgent mirrors the public Codex CLI wire format without depending on an installed Codex binary or release-specific constants from another implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL