Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OxPrimeCommand is the legacy command without AGENT_ENV prefix. // Kept for backwards compatibility detection of existing hooks. // New installations should use agent-specific commands. OxPrimeCommand = "" /* 171-byte string literal not displayed */ // OxPrimeCommandClaudeCode is the command for Claude Code hooks. // // Why AGENT_ENV is required: Claude Code runs SessionStart/PreCompact hooks // BEFORE setting CLAUDECODE=1 in the subprocess environment. This means // agent detection fails during hook execution. Setting AGENT_ENV explicitly // ensures detection works reliably. See pkg/agentx/agents/claudecode.go for details. OxPrimeCommandClaudeCode = "" /* 193-byte string literal not displayed */ // OxPrimeCommandClaudeCodeIdempotent is the idempotent version for startup/resume hooks. // Uses --idempotent flag to skip priming if session already primed (saves ~1k tokens). OxPrimeCommandClaudeCodeIdempotent = "" /* 206-byte string literal not displayed */ // OxPrimeCommandGemini is the command for Gemini CLI hooks. OxPrimeCommandGemini = "" /* 188-byte string literal not displayed */ )
View Source
const ( ProviderAWS = "aws" ProviderGCP = "gcp" ProviderAzure = "azure" )
View Source
const ( StatusOK = "ok" StatusNotInstalled = "not_installed" StatusNotAuthenticated = "not_authenticated" StatusError = "error" StatusWarning = "warning" StatusSkipped = "skipped" )
View Source
const SageOxGitEmail = "ox@sageox.ai"
SageOxGitEmail is the canonical email for SageOx git identity. Used in commit attribution, fallback git config, etc.
View Source
const SageOxGitName = "SageOx"
SageOxGitName is the canonical name for SageOx git identity.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.