Documentation
¶
Index ¶
- func EnsureBeepSetting() error
- type Coder
- func (p *Coder) AgentRepository() coder.AgentRepository
- func (p *Coder) AssistantRunner() assistant.Runner
- func (p *Coder) ControlMapper() terminal.ControlMapper
- func (p *Coder) GlobalInstructions() coder.GlobalInstructions
- func (p *Coder) ID() string
- func (p *Coder) RequiredTools() []string
- func (p *Coder) SessionActivity(sessionID string, entries, budget int) (coder.Activity, error)
- func (p *Coder) SessionRepository() coder.SessionRepository
- func (p *Coder) SessionRuntime() coder.SessionRuntime
- func (p *Coder) SkillRepository() coder.SkillRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBeepSetting ¶
func EnsureBeepSetting() error
EnsureBeepSetting turns on the CLI's global beep option, which rings BEL in the pane when a session needs attention (and when a turn finishes). The bell is the only in-band signal the CLI offers for approval dialogs, so the bell watcher depends on it. Settings are global per user; every other key in settings.json is preserved and an already enabled beep is left alone.
Types ¶
type Coder ¶
type Coder struct {
// contains filtered or unexported fields
}
func (*Coder) AgentRepository ¶
func (p *Coder) AgentRepository() coder.AgentRepository
func (*Coder) AssistantRunner ¶
AssistantRunner returns the conversation capability, or nil when the installed copilot cannot do what a turn needs. A pass holds for the process, a miss is probed again after a pause, see coder.CapabilityProbe.
func (*Coder) ControlMapper ¶
func (p *Coder) ControlMapper() terminal.ControlMapper
func (*Coder) GlobalInstructions ¶
func (p *Coder) GlobalInstructions() coder.GlobalInstructions
func (*Coder) RequiredTools ¶
func (*Coder) SessionActivity ¶
SessionActivity reports what a session last did and whether its turn is over, read from that session's event log.
func (*Coder) SessionRepository ¶
func (p *Coder) SessionRepository() coder.SessionRepository
func (*Coder) SessionRuntime ¶
func (p *Coder) SessionRuntime() coder.SessionRuntime
func (*Coder) SkillRepository ¶
func (p *Coder) SkillRepository() coder.SkillRepository