Documentation
¶
Overview ¶
Package run implements the brainstorm sub-agent CLI.
The brainstorm agent is a planning specialist that discusses approach, data models, test scenarios, and expected outputs with the user before any implementation begins. It auto-detects the parent agent runner (opencode, pi, codex, crush) and delegates execution via the subagent package.
Usage:
brainstorm [OPTIONS] <prompt>
Options:
--agent-runner <id> override agent runner (opencode|pi|codex|crush) --model <model> override model --model-env <env> override the env var used to pass the model --session-id <id> resume an existing session --timeout <duration> timeout (default: 1h, min: 1m) --catch-up replay session events --status show session status --list-sessions list all sessions --session-base <dir> override sessions directory -h, --help show help
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SkillFile string
Functions ¶
Types ¶
type Config ¶
type Config struct {
ModelEnv string // env var name for model; empty = default
AgentRunner string // override agent runner (opencode|pi|codex|crush)
Model string // model name (set via env var)
SessionID string // resume an existing session
Timeout time.Duration // 0 = default 1h
CatchUp bool // replay session events
Status bool // show session status
ListSessions bool // list all sessions
SessionBase string // override sessions directory
Prompt string // user prompt
}
Config holds all customizable configuration for the brainstorm agent. Zero-value fields fall back to sensible defaults.
Click to show internal directories.
Click to hide internal directories.