Documentation
¶
Index ¶
Constants ¶
View Source
const ( AgentBoth = "both" AgentClaude = "claude" AgentCodex = "codex" DefaultTimeout = 10 * time.Second )
View Source
const SessionStartScript = `` /* 5902-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func DefaultClaudeConfig ¶
func DefaultCodexConfig ¶
func DefaultScriptPath ¶
Types ¶
type FileResult ¶
type Options ¶
type Options struct {
Agent string
ScriptPath string
BinaryPath string
ClaudeConfig string
CodexConfig string
Timeout time.Duration
DryRun bool
}
func NormalizeOptions ¶
type Result ¶
type Result struct {
Agent string `json:"agent"`
Script FileResult `json:"script"`
Configs map[string]FileResult `json:"configs"`
Commands map[string]string `json:"commands"`
Snippets map[string]interface{} `json:"snippets"`
TimeoutSeconds int `json:"timeout_seconds"`
HookTimeoutSeconds int `json:"hook_timeout_seconds"`
DryRun bool `json:"dry_run"`
}
Click to show internal directories.
Click to hide internal directories.