Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
PollInterval Duration `toml:"poll_interval"`
Tools map[string]Tool `toml:"tools"`
}
type Duration ¶
func (*Duration) UnmarshalText ¶
type Tool ¶
type Tool struct {
Command string `toml:"command"`
ReviveCommand string `toml:"revive_command"`
PromptFlag string `toml:"prompt_flag"`
// SessionIDFlag makes a new session launch with an id we choose (e.g.
// claude/grok "--session-id <uuid>"), so revive can later resume that
// exact conversation deterministically.
SessionIDFlag string `toml:"session_id_flag"`
// ResumeByIDCommand resumes a specific conversation; "{id}" is replaced
// with the session's agent id. Preferred over ReviveCommand, which only
// resumes the working directory's most recent conversation.
ResumeByIDCommand string `toml:"resume_by_id_command"`
// SessionStore names the built-in capturer that reads back the id a tool
// minted itself when it has no SessionIDFlag ("codex" or "opencode").
SessionStore string `toml:"session_store"`
// MCP picks how the agent-manager MCP server is registered into this
// tool's sessions: "claude", "codex", "opencode", "grok", "gemini" or
// "none".
// Empty uses the tool's config key when it names a known style.
MCP string `toml:"mcp"`
StatusSource string `toml:"status_source"`
DefaultStatus string `toml:"default_status"`
ActivityCutoff string `toml:"activity_cutoff"`
TurnEnd string `toml:"turn_end"`
ChromeLine string `toml:"chrome_line"`
BlockedLine string `toml:"blocked_line"`
TrailingNote string `toml:"trailing_note"`
// BusyLine marks work that outlives the turn which started it, such as
// background agents. Matching it in the newest turn keeps a turn-end
// summary from resolving to finished while that work runs.
BusyLine string `toml:"busy_line"`
Rules []Rule `toml:"rules"`
}
Click to show internal directories.
Click to hide internal directories.