Documentation
¶
Index ¶
- func BaseURL(addr string) string
- func IsAPIStatus(err error, statusCode int) bool
- type APIError
- type Client
- func (c *Client) AcknowledgeClientDelivery(ctx context.Context, deliveryID string) error
- func (c *Client) AddPermissionRule(ctx context.Context, sessionID string, request core.PermissionRuleRequest) (permission.Rule, error)
- func (c *Client) ApproveMemory(ctx context.Context, id string) error
- func (c *Client) CancelRun(ctx context.Context, runID string) (core.Run, error)
- func (c *Client) CancelTask(ctx context.Context, taskID string) (core.Task, error)
- func (c *Client) ChangeModuleSetting(ctx context.Context, moduleID string, request modules.ChangeRequest) (modules.ChangeResponse, error)
- func (c *Client) ChangeSessionGoal(ctx context.Context, sessionID string, action core.GoalAction) (*core.SessionGoal, error)
- func (c *Client) CleanupTemporaryStorageFiles(ctx context.Context) (localstorage.CleanupResult, error)
- func (c *Client) ClearContext(ctx context.Context, sessionID string) (transcript.Message, error)
- func (c *Client) ClearSessionGoal(ctx context.Context, sessionID string) error
- func (c *Client) ClearSessionTodo(ctx context.Context, sessionID string) (todo.List, error)
- func (c *Client) CompactSession(ctx context.Context, sessionID string) (core.CompactSessionResult, error)
- func (c *Client) CompleteAutomationJob(ctx context.Context, jobID string) (automation.Job, error)
- func (c *Client) ConfigureSetupProvider(ctx context.Context, providerID string, update setup.ProviderSetupUpdate) (setup.ProviderSetupItem, error)
- func (c *Client) CreateAutomationJob(ctx context.Context, input automation.CreateJobInput) (automation.Job, error)
- func (c *Client) CreateMCPServer(ctx context.Context, server setup.MCPServerConfig) (setup.MCPConfigResponse, error)
- func (c *Client) CreateSession(ctx context.Context, title string, workingDir string) (core.Session, error)
- func (c *Client) CreateSessionWithRequest(ctx context.Context, request core.CreateSessionRequest) (core.Session, error)
- func (c *Client) CreateSkillDraft(ctx context.Context, request skills.DraftRequest) (skills.Skill, error)
- func (c *Client) CreateSystemMessage(ctx context.Context, sessionID string, content string) (transcript.Message, error)
- func (c *Client) CurrentBinding(ctx context.Context) (core.ClientBinding, error)
- func (c *Client) DeleteAutomationJob(ctx context.Context, jobID string) (automation.Job, error)
- func (c *Client) DeleteMCPServer(ctx context.Context, serverID string) (setup.MCPConfigResponse, error)
- func (c *Client) DeleteMemory(ctx context.Context, id string) error
- func (c *Client) DeletePermissionRule(ctx context.Context, ruleID string) error
- func (c *Client) DeleteSession(ctx context.Context, sessionID string) error
- func (c *Client) DeleteSetupProvider(ctx context.Context, providerID string) error
- func (c *Client) DeleteStorageFile(ctx context.Context, storagePath string) (localstorage.Entry, error)
- func (c *Client) DeleteTemporaryStorageFile(ctx context.Context, tempPath string) (localstorage.TempEntry, error)
- func (c *Client) ExecuteTool(ctx context.Context, input core.ExecuteToolInput) (core.ExecuteToolResult, error)
- func (c *Client) FailClientDelivery(ctx context.Context, deliveryID string, errorText string) error
- func (c *Client) FileCheckpoints(ctx context.Context, sessionID string) (core.FileCheckpointsResponse, error)
- func (c *Client) GetRun(ctx context.Context, runID string) (core.Run, error)
- func (c *Client) GetSession(ctx context.Context, sessionID string) (core.Session, error)
- func (c *Client) GetSkill(ctx context.Context, id string) (skills.SkillDetail, error)
- func (c *Client) Health(ctx context.Context) (Health, error)
- func (c *Client) InstallSkill(ctx context.Context, path string) ([]skills.Skill, error)
- func (c *Client) ListApprovals(ctx context.Context, sessionID string, state core.ApprovalState) ([]core.Approval, error)
- func (c *Client) ListAutomationJobs(ctx context.Context) ([]automation.Job, error)
- func (c *Client) ListClientDeliveries(ctx context.Context, filter core.ClientDeliveryFilter) ([]core.ClientDelivery, error)
- func (c *Client) ListExternalAgents(ctx context.Context) ([]core.ExternalAgentDescriptor, error)
- func (c *Client) ListMemories(ctx context.Context, filter memory.Filter) ([]memory.Entry, error)
- func (c *Client) ListMessages(ctx context.Context, sessionID string, limit int) ([]transcript.Message, error)
- func (c *Client) ListMessagesAfter(ctx context.Context, sessionID string, afterSeq int64, limit int) ([]transcript.Message, error)
- func (c *Client) ListSessionProviders(ctx context.Context) ([]core.SessionProviderOption, error)
- func (c *Client) ListSessions(ctx context.Context) ([]core.Session, error)
- func (c *Client) ListSetupProviders(ctx context.Context) ([]setup.ProviderSetupItem, error)
- func (c *Client) ListSkills(ctx context.Context, opts skills.SearchOptions) ([]skills.Skill, error)
- func (c *Client) ListStorageFiles(ctx context.Context, filter localstorage.ListFilter) (localstorage.ListResult, error)
- func (c *Client) ListTemporaryStorageFiles(ctx context.Context, limit int) (localstorage.TempListResult, error)
- func (c *Client) LoadSnapshot(ctx context.Context) (core.ClientSnapshot, error)
- func (c *Client) MCPConfig(ctx context.Context) (setup.MCPConfigResponse, error)
- func (c *Client) ModuleSettings(ctx context.Context, moduleID string) (modules.Settings, error)
- func (c *Client) Modules(ctx context.Context) ([]modules.Status, error)
- func (c *Client) PauseAutomationJob(ctx context.Context, jobID string) (automation.Job, error)
- func (c *Client) PromoteTemporaryStorageFile(ctx context.Context, tempPath string, destPath string) (localstorage.Entry, error)
- func (c *Client) ProviderModelCatalog(ctx context.Context, providerID string, update setup.ProviderSetupUpdate) (setup.ProviderModelsResponse, error)
- func (c *Client) ReadStorageFile(ctx context.Context, storagePath string) (localstorage.ReadResult, error)
- func (c *Client) ReadStorageFileBytes(ctx context.Context, storagePath string) (localstorage.ReadBytesResponse, error)
- func (c *Client) ReadTemporaryStorageFileBytes(ctx context.Context, storagePath string) (localstorage.TempReadBytesResponse, error)
- func (c *Client) RenameSession(ctx context.Context, sessionID string, title string) (core.Session, error)
- func (c *Client) ResolveApproval(ctx context.Context, approvalID string, request core.ApprovalResolveRequest) (core.Approval, error)
- func (c *Client) RestartDaemonWithNotification(ctx context.Context, notification core.ClientDeliveryTarget) error
- func (c *Client) RestoreFileCheckpoint(ctx context.Context, sessionID, checkpointID string) (core.FileCheckpointRestoreResponse, error)
- func (c *Client) ResumeAutomationJob(ctx context.Context, jobID string) (automation.Job, error)
- func (c *Client) RunAutomationJobNow(ctx context.Context, jobID string) (automation.Fire, error)
- func (c *Client) RunProgress(ctx context.Context, runID string) (core.RunProgress, error)
- func (c *Client) SaveStorageFile(ctx context.Context, storagePath string, content []byte, title string, ...) (localstorage.Entry, error)
- func (c *Client) SaveTemporaryStorageFile(ctx context.Context, storagePath string, content []byte, title string, ...) (localstorage.TempEntry, error)
- func (c *Client) Search(ctx context.Context, filter core.SearchFilter) (core.SearchReport, error)
- func (c *Client) SearchSkills(ctx context.Context, query string, opts skills.SearchOptions) ([]skills.Skill, error)
- func (c *Client) Send(ctx context.Context, input core.HandleMessageInput) (core.AcceptRunResult, error)
- func (c *Client) ServerStatus(ctx context.Context) (core.ServerStatus, error)
- func (c *Client) SessionBudget(ctx context.Context, sessionID string) (core.SessionBudgetReport, error)
- func (c *Client) SessionContext(ctx context.Context, sessionID string) (core.ContextReport, error)
- func (c *Client) SessionGoal(ctx context.Context, sessionID string) (*core.SessionGoal, error)
- func (c *Client) SessionHooks(ctx context.Context, sessionID string) (hooks.Listing, error)
- func (c *Client) SessionModels(ctx context.Context, sessionID string, providerID string) (core.SessionModelsResponse, error)
- func (c *Client) SessionPermissionRules(ctx context.Context, sessionID string) ([]permission.Rule, error)
- func (c *Client) SessionSkills(ctx context.Context, sessionID string) ([]skills.Skill, error)
- func (c *Client) SessionTasks(ctx context.Context, sessionID string) ([]core.Task, error)
- func (c *Client) SessionTodo(ctx context.Context, sessionID string) (todo.List, error)
- func (c *Client) SessionUsage(ctx context.Context, sessionID string) (core.UsageReport, error)
- func (c *Client) SetSessionGoal(ctx context.Context, sessionID string, input core.GoalInput) (*core.SessionGoal, error)
- func (c *Client) SkillAction(ctx context.Context, id string, action skills.Action) error
- func (c *Client) SkillUsage(ctx context.Context) ([]skills.Skill, error)
- func (c *Client) SpeechToText(ctx context.Context, request voicemodule.SpeechToTextRequest) (voicemodule.SpeechToTextResponse, error)
- func (c *Client) StopDaemon(ctx context.Context) error
- func (c *Client) SubscribeEvents(ctx context.Context, sessionID string) (<-chan LiveEvent, <-chan error, error)
- func (c *Client) TaskDetail(ctx context.Context, taskID string) (core.TaskDetailResponse, error)
- func (c *Client) TextToSpeech(ctx context.Context, request voicemodule.TextToSpeechRequest) (voicemodule.TextToSpeechResponse, error)
- func (c *Client) Tools(ctx context.Context) ([]tools.Spec, error)
- func (c *Client) TrustSessionHooks(ctx context.Context, sessionID string, sum string) (hooks.Listing, error)
- func (c *Client) UnloadSkill(ctx context.Context, sessionID string, skillID string) error
- func (c *Client) UpdateExternalAgent(ctx context.Context, agentID string, update core.UpdateExternalAgentRequest) ([]core.ExternalAgentDescriptor, error)
- func (c *Client) UpdateMCPConfig(ctx context.Context, update setup.MCPConfigUpdate) (setup.MCPConfigResponse, error)
- func (c *Client) UpdateMCPServer(ctx context.Context, serverID string, update setup.MCPServerUpdate) (setup.MCPConfigResponse, error)
- func (c *Client) UpdateSessionBudget(ctx context.Context, sessionID string, budget core.SessionBudget) (core.SessionBudgetReport, error)
- func (c *Client) UpdateSessionLLM(ctx context.Context, sessionID string, providerID string, modelID string) (core.Session, error)
- func (c *Client) UpdateSessionPermissionMode(ctx context.Context, sessionID string, mode core.PermissionMode) (core.Session, error)
- func (c *Client) UpdateSkillBody(ctx context.Context, id string, body string) error
- func (c *Client) UpdateSkillMetadata(ctx context.Context, id string, update skills.MetadataUpdate) (skills.Skill, error)
- func (c *Client) UpdateTemporaryStorageSettings(ctx context.Context, autoCleanup *bool, ttlDays int64, maxGB float64) (localstorage.TempSettings, error)
- func (c *Client) UseSession(ctx context.Context, sessionID string) (core.ClientBinding, error)
- func (c *Client) UseSkill(ctx context.Context, sessionID string, skillID string) (skills.SkillDetail, error)
- func (c *Client) WithAPIToken(token string) *Client
- func (c *Client) WithCapabilities(capabilities core.ClientCapabilities) *Client
- type Health
- type LiveEvent
- func (e LiveEvent) DecodeContextUsage() (core.ContextUsage, error)
- func (e LiveEvent) DecodeGoal() (core.GoalResponse, error)
- func (e LiveEvent) DecodeMessage() (transcript.Message, error)
- func (e LiveEvent) DecodePermissionNotification() (core.PermissionNotification, error)
- func (e LiveEvent) DecodePermissionRequest() (core.PermissionRequest, error)
- func (e LiveEvent) DecodeRun() (core.Run, error)
- func (e LiveEvent) DecodeSessionInput() (core.SessionInput, error)
- func (e LiveEvent) DecodeTask() (core.Task, error)
- func (e LiveEvent) DecodeTodo() (todo.List, error)
- func (e LiveEvent) DecodeToolUpdate() (core.ToolUpdate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseURL ¶ added in v0.2.0
BaseURL turns a daemon listen address such as 127.0.0.1:8080 into its URL.
func IsAPIStatus ¶
Types ¶
type Client ¶
type Client struct {
BaseURL string
ClientName string
ExternalKey string
APIToken string
Capabilities core.ClientCapabilities
// Role is who the client acts for, sent in core.RoleHeader; empty acts as
// the owner. Set it from a verified identity, never from message text.
Role core.Role
HTTPClient *http.Client
// EventHTTPClient is intentionally separate from HTTPClient because SSE
// subscriptions must not inherit the short JSON request timeout.
EventHTTPClient *http.Client
}
func (*Client) AcknowledgeClientDelivery ¶
func (*Client) AddPermissionRule ¶ added in v0.2.0
func (c *Client) AddPermissionRule(ctx context.Context, sessionID string, request core.PermissionRuleRequest) (permission.Rule, error)
func (*Client) ApproveMemory ¶ added in v0.2.1
ApproveMemory approves a memory entry a session review suggested.
func (*Client) CancelTask ¶ added in v0.2.0
func (*Client) ChangeModuleSetting ¶ added in v0.2.0
func (c *Client) ChangeModuleSetting(ctx context.Context, moduleID string, request modules.ChangeRequest) (modules.ChangeResponse, error)
ChangeModuleSetting sets a module's setting; it may install or download, so it waits as long as a voice runtime action.
func (*Client) ChangeSessionGoal ¶ added in v0.2.1
func (c *Client) ChangeSessionGoal(ctx context.Context, sessionID string, action core.GoalAction) (*core.SessionGoal, error)
ChangeSessionGoal pauses or resumes the session's goal.
func (*Client) CleanupTemporaryStorageFiles ¶
func (c *Client) CleanupTemporaryStorageFiles(ctx context.Context) (localstorage.CleanupResult, error)
func (*Client) ClearContext ¶ added in v0.2.0
func (*Client) ClearSessionGoal ¶ added in v0.2.1
ClearSessionGoal removes the session's goal.
func (*Client) ClearSessionTodo ¶ added in v0.2.0
func (*Client) CompactSession ¶
func (*Client) CompleteAutomationJob ¶
func (*Client) ConfigureSetupProvider ¶
func (c *Client) ConfigureSetupProvider(ctx context.Context, providerID string, update setup.ProviderSetupUpdate) (setup.ProviderSetupItem, error)
func (*Client) CreateAutomationJob ¶
func (c *Client) CreateAutomationJob(ctx context.Context, input automation.CreateJobInput) (automation.Job, error)
func (*Client) CreateMCPServer ¶ added in v0.1.15
func (c *Client) CreateMCPServer(ctx context.Context, server setup.MCPServerConfig) (setup.MCPConfigResponse, error)
func (*Client) CreateSession ¶
func (*Client) CreateSessionWithRequest ¶ added in v0.1.4
func (*Client) CreateSkillDraft ¶ added in v0.1.11
func (*Client) CreateSystemMessage ¶
func (*Client) CurrentBinding ¶
func (*Client) DeleteAutomationJob ¶
func (*Client) DeleteMCPServer ¶ added in v0.1.15
func (*Client) DeleteMemory ¶ added in v0.2.1
func (*Client) DeletePermissionRule ¶ added in v0.2.0
func (*Client) DeleteSession ¶
func (*Client) DeleteSetupProvider ¶
func (*Client) DeleteStorageFile ¶
func (*Client) DeleteTemporaryStorageFile ¶
func (*Client) ExecuteTool ¶ added in v0.1.11
func (c *Client) ExecuteTool(ctx context.Context, input core.ExecuteToolInput) (core.ExecuteToolResult, error)
func (*Client) FailClientDelivery ¶ added in v0.1.15
func (*Client) FileCheckpoints ¶ added in v0.2.1
func (c *Client) FileCheckpoints(ctx context.Context, sessionID string) (core.FileCheckpointsResponse, error)
FileCheckpoints lists the session's file checkpoints, newest first.
func (*Client) GetSession ¶ added in v0.1.16
func (*Client) InstallSkill ¶ added in v0.1.11
func (*Client) ListApprovals ¶ added in v0.1.15
func (*Client) ListAutomationJobs ¶
func (*Client) ListClientDeliveries ¶
func (c *Client) ListClientDeliveries(ctx context.Context, filter core.ClientDeliveryFilter) ([]core.ClientDelivery, error)
func (*Client) ListExternalAgents ¶ added in v0.1.4
func (*Client) ListMemories ¶ added in v0.1.12
func (*Client) ListMessages ¶ added in v0.1.15
func (*Client) ListMessagesAfter ¶ added in v0.2.0
func (c *Client) ListMessagesAfter(ctx context.Context, sessionID string, afterSeq int64, limit int) ([]transcript.Message, error)
ListMessagesAfter returns up to limit messages (all when limit is 0) with seq above afterSeq, oldest first.
func (*Client) ListSessionProviders ¶
func (*Client) ListSessions ¶
func (*Client) ListSetupProviders ¶
func (*Client) ListSkills ¶ added in v0.1.11
func (*Client) ListStorageFiles ¶
func (c *Client) ListStorageFiles(ctx context.Context, filter localstorage.ListFilter) (localstorage.ListResult, error)
func (*Client) ListTemporaryStorageFiles ¶
func (c *Client) ListTemporaryStorageFiles(ctx context.Context, limit int) (localstorage.TempListResult, error)
func (*Client) LoadSnapshot ¶
func (*Client) ModuleSettings ¶ added in v0.2.0
ModuleSettings is a module's settings screen.
func (*Client) PauseAutomationJob ¶
func (*Client) PromoteTemporaryStorageFile ¶
func (*Client) ProviderModelCatalog ¶ added in v0.1.11
func (c *Client) ProviderModelCatalog(ctx context.Context, providerID string, update setup.ProviderSetupUpdate) (setup.ProviderModelsResponse, error)
func (*Client) ReadStorageFile ¶
func (c *Client) ReadStorageFile(ctx context.Context, storagePath string) (localstorage.ReadResult, error)
func (*Client) ReadStorageFileBytes ¶ added in v0.1.15
func (c *Client) ReadStorageFileBytes(ctx context.Context, storagePath string) (localstorage.ReadBytesResponse, error)
func (*Client) ReadTemporaryStorageFileBytes ¶ added in v0.1.15
func (c *Client) ReadTemporaryStorageFileBytes(ctx context.Context, storagePath string) (localstorage.TempReadBytesResponse, error)
func (*Client) RenameSession ¶
func (*Client) ResolveApproval ¶
func (*Client) RestartDaemonWithNotification ¶
func (*Client) RestoreFileCheckpoint ¶ added in v0.2.1
func (c *Client) RestoreFileCheckpoint(ctx context.Context, sessionID, checkpointID string) (core.FileCheckpointRestoreResponse, error)
RestoreFileCheckpoint brings the session's files back to the checkpoint.
func (*Client) ResumeAutomationJob ¶
func (*Client) RunAutomationJobNow ¶
func (*Client) RunProgress ¶ added in v0.2.0
func (*Client) SaveStorageFile ¶
func (*Client) SaveTemporaryStorageFile ¶
func (*Client) Search ¶ added in v0.1.7
func (c *Client) Search(ctx context.Context, filter core.SearchFilter) (core.SearchReport, error)
func (*Client) SearchSkills ¶ added in v0.1.11
func (*Client) Send ¶ added in v0.2.1
func (c *Client) Send(ctx context.Context, input core.HandleMessageInput) (core.AcceptRunResult, error)
Send posts a message (or, with Continue, a continuation of the latest run) as this client: its name, external key and capabilities fill input, and a client bound to no session may be bound to the only one there is.
func (*Client) ServerStatus ¶
func (*Client) SessionBudget ¶ added in v0.2.0
func (*Client) SessionContext ¶
func (*Client) SessionGoal ¶ added in v0.2.1
SessionGoal returns the session's goal, nil when it has none.
func (*Client) SessionHooks ¶ added in v0.2.1
func (*Client) SessionModels ¶ added in v0.1.12
func (c *Client) SessionModels(ctx context.Context, sessionID string, providerID string) (core.SessionModelsResponse, error)
SessionModels lists the models provider offers the session; an empty provider is the session's own.
func (*Client) SessionPermissionRules ¶ added in v0.2.0
func (*Client) SessionSkills ¶ added in v0.1.11
func (*Client) SessionTasks ¶ added in v0.2.0
func (*Client) SessionTodo ¶ added in v0.2.0
func (*Client) SessionUsage ¶ added in v0.1.7
func (*Client) SetSessionGoal ¶ added in v0.1.7
func (c *Client) SetSessionGoal(ctx context.Context, sessionID string, input core.GoalInput) (*core.SessionGoal, error)
SetSessionGoal gives the session a new goal, set by this client.
func (*Client) SkillAction ¶ added in v0.1.11
SkillAction runs a library action on a skill.
func (*Client) SkillUsage ¶ added in v0.2.0
SkillUsage lists the skills by how often they were used.
func (*Client) SpeechToText ¶ added in v0.1.9
func (c *Client) SpeechToText(ctx context.Context, request voicemodule.SpeechToTextRequest) (voicemodule.SpeechToTextResponse, error)
func (*Client) SubscribeEvents ¶
func (c *Client) SubscribeEvents(ctx context.Context, sessionID string) (<-chan LiveEvent, <-chan error, error)
SubscribeEvents streams the session's live events; it returns once the daemon has registered the subscription.
func (*Client) TaskDetail ¶ added in v0.2.0
func (*Client) TextToSpeech ¶ added in v0.1.9
func (c *Client) TextToSpeech(ctx context.Context, request voicemodule.TextToSpeechRequest) (voicemodule.TextToSpeechResponse, error)
func (*Client) TrustSessionHooks ¶ added in v0.2.1
func (*Client) UnloadSkill ¶ added in v0.1.11
func (*Client) UpdateExternalAgent ¶ added in v0.1.6
func (c *Client) UpdateExternalAgent(ctx context.Context, agentID string, update core.UpdateExternalAgentRequest) ([]core.ExternalAgentDescriptor, error)
func (*Client) UpdateMCPConfig ¶ added in v0.1.11
func (c *Client) UpdateMCPConfig(ctx context.Context, update setup.MCPConfigUpdate) (setup.MCPConfigResponse, error)
func (*Client) UpdateMCPServer ¶ added in v0.1.11
func (c *Client) UpdateMCPServer(ctx context.Context, serverID string, update setup.MCPServerUpdate) (setup.MCPConfigResponse, error)
func (*Client) UpdateSessionBudget ¶ added in v0.2.0
func (c *Client) UpdateSessionBudget(ctx context.Context, sessionID string, budget core.SessionBudget) (core.SessionBudgetReport, error)
func (*Client) UpdateSessionLLM ¶ added in v0.2.1
func (c *Client) UpdateSessionLLM(ctx context.Context, sessionID string, providerID string, modelID string) (core.Session, error)
UpdateSessionLLM sets the session's provider and model; an empty provider keeps the session's.
func (*Client) UpdateSessionPermissionMode ¶
func (*Client) UpdateSkillBody ¶ added in v0.1.11
func (*Client) UpdateSkillMetadata ¶ added in v0.1.11
func (*Client) UpdateTemporaryStorageSettings ¶
func (c *Client) UpdateTemporaryStorageSettings(ctx context.Context, autoCleanup *bool, ttlDays int64, maxGB float64) (localstorage.TempSettings, error)
func (*Client) UseSession ¶
func (*Client) WithAPIToken ¶
func (*Client) WithCapabilities ¶ added in v0.1.17
func (c *Client) WithCapabilities(capabilities core.ClientCapabilities) *Client
type Health ¶
type Health = core.HealthResponse
type LiveEvent ¶
type LiveEvent struct {
ID uint64 `json:"id,omitempty"`
Type events.Type `json:"type"`
SessionID string `json:"session_id"`
RunID string `json:"run_id,omitempty"`
Payload json.RawMessage `json:"payload,omitempty"`
At time.Time `json:"at"`
}
func (LiveEvent) DecodeContextUsage ¶ added in v0.2.0
func (e LiveEvent) DecodeContextUsage() (core.ContextUsage, error)
func (LiveEvent) DecodeGoal ¶ added in v0.2.1
func (e LiveEvent) DecodeGoal() (core.GoalResponse, error)
func (LiveEvent) DecodeMessage ¶
func (e LiveEvent) DecodeMessage() (transcript.Message, error)
func (LiveEvent) DecodePermissionNotification ¶
func (e LiveEvent) DecodePermissionNotification() (core.PermissionNotification, error)
func (LiveEvent) DecodePermissionRequest ¶
func (e LiveEvent) DecodePermissionRequest() (core.PermissionRequest, error)
func (LiveEvent) DecodeSessionInput ¶ added in v0.1.13
func (e LiveEvent) DecodeSessionInput() (core.SessionInput, error)
func (LiveEvent) DecodeToolUpdate ¶
func (e LiveEvent) DecodeToolUpdate() (core.ToolUpdate, error)