Versions in this module Expand all Collapse all v0 v0.3.0 Aug 16, 2026 Changes in this version + const PrefixAPIKey + const PrefixEnvironmentKey + const PrefixPrincipal + func ValidWithPrefix(id, prefix string) bool v0.2.0 Aug 7, 2026 Changes in this version + const OutcomeResultEvaluating + const OutcomeResultFailed + const OutcomeResultInterrupted + const OutcomeResultMaxIterationsReached + const OutcomeResultPending + const OutcomeResultRunning + const OutcomeResultSatisfied + const PrefixCredential + const PrefixOutcome + const PrefixSkillVersion + func OutcomeResultTerminal(result string) bool type EventType + const EventSpanOutcomeEvalEnd + const EventSpanOutcomeEvalOngoing + const EventSpanOutcomeEvalStart type ID + func (id ID) Valid() bool + type OutcomeEvaluation struct + CompletedAt *time.Time + Description string + Explanation string + Iteration int64 + OutcomeID ID + Result string + Type string + type SearchResultBlock struct + Citations SearchResultCitations + Content []ContentBlock + Source string + Title string + Type string + type SearchResultCitations struct + Enabled bool v0.1.0 Jul 16, 2026 Changes in this version + const PrefixAgent + const PrefixDeployment + const PrefixDeploymentRun + const PrefixEnvironment + const PrefixEvent + const PrefixFile + const PrefixResource + const PrefixSession + const PrefixSkill + const PrefixVault + const PrefixWork + type Agent struct + ArchivedAt *time.Time + CreatedAt time.Time + ID ID + Metadata map[string]string + Name string + Type string + UpdatedAt time.Time + Version int + type AgentSpec struct + Description string + MCPServers []json.RawMessage + Model Model + Multiagent json.RawMessage + Skills []json.RawMessage + System string + Tools []json.RawMessage + func (s *AgentSpec) Normalize() + type CacheCreation struct + Ephemeral1h int64 + Ephemeral5m int64 + type ContentBlock struct + Text string + Type string + type Environment struct + ArchivedAt *time.Time + Config EnvironmentConfig + CreatedAt time.Time + Description string + ID ID + Kind EnvironmentKind + Metadata map[string]string + Name string + State string + Type string + UpdatedAt time.Time + type EnvironmentConfig struct + Networking Networking + Packages map[string][]string + Type EnvironmentKind + type EnvironmentKind string + const EnvCloud + const EnvSelfHosted + type EvaluatedPermission string + const EvalPermAllow + const EvalPermAsk + const EvalPermDeny + type Event struct + Body []byte + CreatedAt time.Time + ID ID + ProcessedAt *time.Time + Seq int64 + SessionID ID + ThreadID ID + Type EventType + type EventType string + const EventAgentCustomToolUse + const EventAgentMCPToolResult + const EventAgentMCPToolUse + const EventAgentMessage + const EventAgentThinking + const EventAgentToolResult + const EventAgentToolUse + const EventDelta + const EventSessionDeleted + const EventSessionError + const EventSessionStatusIdle + const EventSessionStatusRescheduled + const EventSessionStatusRunning + const EventSessionStatusTerminated + const EventSessionUpdated + const EventSpanModelRequestEnd + const EventSpanModelRequestStart + const EventStart + const EventSystemMessage + const EventUserCustomToolRes + const EventUserDefineOutcome + const EventUserInterrupt + const EventUserMessage + const EventUserToolConfirm + const EventUserToolResult + func (t EventType) Domain() string + func (t EventType) Inbound() bool + func (t EventType) Persisted() bool + type ID string + func NewID(prefix string) ID + func (id ID) HasPrefix(prefix string) bool + func (id ID) IsZero() bool + func (id ID) Prefix() string + func (id ID) String() string + type Model struct + ID string + Speed string + func (m *Model) UnmarshalJSON(b []byte) error + type ModelUsage struct + CacheCreationInputTokens int64 + CacheReadInputTokens int64 + InputTokens int64 + OutputTokens int64 + Speed *string + type Networking struct + AllowMCPServers bool + AllowPackageManagers bool + AllowedHosts []string + Type NetworkingType + type NetworkingType string + const NetLimited + const NetUnrestricted + type PermissionPolicy struct + Type PermissionPolicyType + type PermissionPolicyType string + const PolicyAlwaysAllow + const PolicyAlwaysAsk + type ResolvedAgent struct + ID ID + Name string + Type string + Version int64 + type Scope struct + OrgID string + ProjectID string + WorkspaceID string + type Session struct + Agent ResolvedAgent + CreatedAt time.Time + CreatedBy *string + EnvironmentID ID + ID ID + Metadata map[string]string + Resources []SessionResource + Status SessionStatus + Title string + Type string + UpdatedAt time.Time + Usage Usage + VaultIDs []ID + type SessionResource struct + ID ID + Raw []byte + Type string + type SessionStatus string + const SessionIdle + const SessionRescheduling + const SessionRunning + const SessionTerminated + type StopReason struct + EventIDs []ID + Type StopReasonType + type StopReasonType string + const StopEndTurn + const StopRequiresAction + const StopRetriesExhausted + type Usage struct + CacheCreation CacheCreation + CacheReadInputTokens int64 + InputTokens int64 + OutputTokens int64 + func (u *Usage) Add(m ModelUsage)