Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentAssistantChunk ¶
type AgentAssistantChunk struct {
Meta EventMeta
Role AssistantRole
Content string
Done bool
}
type AgentEvent ¶
type AgentEvent interface {
// contains filtered or unexported methods
}
func DecodeClaudeCodeEvent ¶
func DecodeClaudeCodeEvent(payload map[string]any) AgentEvent
func DecodeGooseEvent ¶
func DecodeGooseEvent(payload map[string]any) AgentEvent
type AgentFileEdit ¶
type AgentFileRead ¶
type AgentPostToolUse ¶
type AgentPreToolUse ¶
type AgentSessionEnd ¶
type AgentSessionStart ¶
type AgentShellExec ¶
type AgentSource ¶
type AgentSource string
const ( AgentSourceOpencode AgentSource = "opencode" AgentSourceGoose AgentSource = "goose" AgentSourceClaudeCode AgentSource = "claude-code" AgentSourceACP AgentSource = "acp" )
func AllAgentSource ¶ added in v0.48.3
func AllAgentSource() []AgentSource
func ParseAgentSource ¶
func ParseAgentSource(s string) (AgentSource, bool)
func (AgentSource) String ¶
func (e AgentSource) String() string
type AgentUnknown ¶
type AgentUserPromptSubmit ¶
type AssistantRole ¶ added in v0.48.1
type AssistantRole string
const ( AssistantRoleAssistant AssistantRole = "assistant" AssistantRoleUser AssistantRole = "user" )
func AllAssistantRole ¶ added in v0.48.3
func AllAssistantRole() []AssistantRole
func ParseAssistantRole ¶ added in v0.48.1
func ParseAssistantRole(s string) (AssistantRole, bool)
func (AssistantRole) String ¶ added in v0.48.1
func (e AssistantRole) String() string
Click to show internal directories.
Click to hide internal directories.