Documentation
¶
Overview ¶
Package types holds shared type definitions for the proxy module. Both proxy/ and proxy/profiles/ import this package to avoid import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliProfileCapabilities ¶
type CliProfileCapabilities struct {
}
CliProfileCapabilities describes what a CLI client supports. Capability flags were removed in chore/rm-dead-proxy-routing (read only in tests); the type is kept so DetectedProfile keeps a stable shape.
type CliProfileDefinition ¶
type CliProfileDefinition struct {
ID CliProfileID
Capabilities CliProfileCapabilities
Detect func(input DetectInput) *DetectedProfile
}
CliProfileDefinition is a CLI profile with detection logic.
type CliProfileID ¶
type CliProfileID string
CliProfileID identifies a CLI client profile.
const ( ProfileGeneric CliProfileID = "generic" ProfileCodex CliProfileID = "codex" ProfileClaudeCode CliProfileID = "claude_code" ProfileGeminiCli CliProfileID = "gemini_cli" )
type DetectInput ¶
DetectInput is the input for profile detection.
type DetectedProfile ¶
type DetectedProfile struct {
ID CliProfileID
ClientAppID string
ClientAppName string
ClientConfidence string // "exact" or "heuristic"
ClientKind string
SessionID string
TraceHint string
Capabilities CliProfileCapabilities
}
DetectedProfile is the result of profile detection.