Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2026 Changes in this version + type MessageData struct + Agent string + ID string + Model struct{ ... } + Role string + SessionID string + Summary struct{ ... } + Time struct{ ... } + type OpenCodeAgent struct + func NewOpenCodeAgent(storagePath, sessionFilePath string) (*OpenCodeAgent, error) + func (a *OpenCodeAgent) CurrentTask() string + func (a *OpenCodeAgent) Directory() string + func (a *OpenCodeAgent) ID() string + func (a *OpenCodeAgent) IsBackground() bool + func (a *OpenCodeAgent) LastActivity() time.Time + func (a *OpenCodeAgent) LastError() error + func (a *OpenCodeAgent) LoadFullHistory() + func (a *OpenCodeAgent) Metrics() agent.Metrics + func (a *OpenCodeAgent) Name() string + func (a *OpenCodeAgent) Output() io.Reader + func (a *OpenCodeAgent) ParentID() string + func (a *OpenCodeAgent) Pause() error + func (a *OpenCodeAgent) ProjectID() string + func (a *OpenCodeAgent) Refresh() error + func (a *OpenCodeAgent) Resume() error + func (a *OpenCodeAgent) SendInput(input string) error + func (a *OpenCodeAgent) StartTime() time.Time + func (a *OpenCodeAgent) Status() agent.Status + func (a *OpenCodeAgent) Terminate() error + func (a *OpenCodeAgent) Type() string + type PartData struct + ID string + MessageID string + SessionID string + State string + Text string + Time struct{ ... } + ToolCallID string + ToolName string + Type string + type Provider struct + func NewProvider(storagePath string, watchInterval time.Duration, maxAge time.Duration) *Provider + func (p *Provider) ChildCount(parentID string) int + func (p *Provider) Discover(ctx context.Context) ([]agent.Agent, error) + func (p *Provider) Get(id string) (agent.Agent, error) + func (p *Provider) GetChildren(parentID string) []agent.Agent + func (p *Provider) List() []agent.Agent + func (p *Provider) ListPrimary() []agent.Agent + func (p *Provider) Name() string + func (p *Provider) SendInput(id string, input string) error + func (p *Provider) Spawn(ctx context.Context, config agent.SpawnConfig) (agent.Agent, error) + func (p *Provider) Terminate(id string) error + func (p *Provider) Type() string + func (p *Provider) Watch(ctx context.Context) (<-chan agent.Event, error) + type SessionData struct + Directory string + ID string + ParentID string + ProjectID string + Summary struct{ ... } + Time struct{ ... } + Title string + Version string