Versions in this module Expand all Collapse all v0 v0.2.0 Sep 9, 2026 Changes in this version + const DefaultBaseURL + const MessageMetaAppWorkspaceKey + const UserChatHomeWorkspace + const Version + func IsEnterpriseRequired(err error) bool + func IsNotFound(err error) bool + func ParseSkillFolder(path string) (*SkillManifest, []SkillFile, error) + func Ptr[T any](v T) *T + type APIError struct + Message string + StatusCode int + func (e *APIError) Error() string + type AgentSpecification struct + AllowedTools []string + Background bool + CreatedAt string + CreatedBy *string + DeletedAt *string + DeniedTools []string + Description string + ETag string + Enabled bool + ExecPolicyHint string + ID string + Instructions string + InvocationGuidance string + Key string + MCPServers []string + MaxTurns int + Metadata map[string]any + Model string + Name string + PermissionMode string + Revision int + SchemaVersion int + Skills []string + TenantID string + UpdatedAt string + UpdatedBy *string + WorkspaceID string + type AgentSpecificationCreateInput struct + AllowedTools []string + Background bool + DeniedTools []string + Description string + Enabled *bool + ExecPolicyHint string + Instructions string + InvocationGuidance string + Key string + MCPServers []string + MaxTurns int + Metadata map[string]any + Model string + Name string + PermissionMode string + SchemaVersion int + Skills []string + type AgentSpecificationGetOptions = PromptNoteGetOptions + type AgentSpecificationHistoryOptions = PromptNoteHistoryOptions + type AgentSpecificationListOptions = PromptNoteListOptions + type AgentSpecificationMutationOptions = PromptNoteMutationOptions + type AgentSpecificationMutationResult struct + ETag string + Replayed bool + Specification AgentSpecification + type AgentSpecificationPage struct + NextPageToken string + Specifications []AgentSpecification + type AgentSpecificationReplaceInput struct + AllowedTools []string + Background bool + DeniedTools []string + Description string + Enabled *bool + ExecPolicyHint string + Instructions string + InvocationGuidance string + MCPServers []string + MaxTurns int + Metadata map[string]any + Model string + Name string + PermissionMode string + SchemaVersion int + Skills []string + type AgentSpecificationRevision struct + Action string + OperationID string + Specification AgentSpecification + type AgentSpecificationRevisionPage struct + NextPageToken string + Revisions []AgentSpecificationRevision + type AgentSpecificationsAPI struct + func (a *AgentSpecificationsAPI) Create(ctx context.Context, input AgentSpecificationCreateInput, ...) (*AgentSpecificationMutationResult, error) + func (a *AgentSpecificationsAPI) Delete(ctx context.Context, specificationID string, ...) (*AgentSpecificationMutationResult, error) + func (a *AgentSpecificationsAPI) Get(ctx context.Context, specificationID string, opts AgentSpecificationGetOptions) (*AgentSpecification, error) + func (a *AgentSpecificationsAPI) History(ctx context.Context, specificationID string, ...) (*AgentSpecificationRevisionPage, error) + func (a *AgentSpecificationsAPI) List(ctx context.Context, opts AgentSpecificationListOptions) (*AgentSpecificationPage, error) + func (a *AgentSpecificationsAPI) Replace(ctx context.Context, specificationID string, ...) (*AgentSpecificationMutationResult, error) + func (a *AgentSpecificationsAPI) Restore(ctx context.Context, specificationID string, ...) (*AgentSpecificationMutationResult, error) + type AppendMessagesOptions struct + Authority *AuthorityContext + Ownership string + WorkspaceID string + type AssociateOptions struct + Metadata map[string]any + Strength float64 + func (o AssociateOptions) WithStrength(v float64) AssociateOptions + type Association struct + CreatedAt time.Time + ID string + Metadata map[string]any + Relationship string + SourceID string + Strength float64 + TargetID string + WorkspaceID string + type AuthenticationError struct + type AuthorityContext struct + GrantID string + Subject *PrincipalRef + type AuthorizationError struct + type BudgetSummary struct + Estimator string + OmittedItems int + Requested *int + TruncatedItems int + Used int + type ChatMessage struct + Content MessageContent + CreatedAt time.Time + ID string + MessageIndex int + Metadata map[string]any + Role string + ThreadID string + type ChatMessageContent struct + Data map[string]any + Text *string + Type string + type ChatThread struct + ContextID string + CreatedAt time.Time + ExpiresAt *time.Time + ID string + LastDecomposedAt *time.Time + LastDecomposedIndex int + MessageCount int + Metadata map[string]any + ObserverID *string + Ownership string + ParentThread *string + Scope *string + SubjectID *string + TenantID string + Title *string + UpdatedAt time.Time + UserID *string + WorkspaceID string + type ChatThreadWithMessages struct + Messages []ChatMessage + Thread ChatThread + TotalMessages int + type Client struct + AgentSpecifications *AgentSpecificationsAPI + Kb *KnowledgebaseAPI + McpServers *McpServersAPI + PromptNotes *PromptNotesAPI + RefinementRecords *RefinementRecordsAPI + Rpg *RpgAPI + Skills *SkillsAPI + WorkspaceViews *WorkspaceViewsAPI + func NewClient(opts ...Option) (*Client, error) + func (c *Client) ActingFor(grantID string, subject *PrincipalRef) *OBOProxy + func (c *Client) AppendMessages(ctx context.Context, threadID string, messages []map[string]any, ...) ([]ChatMessage, error) + func (c *Client) Associate(ctx context.Context, sourceID, targetID string, relationship RelationshipType, ...) (*Association, error) + func (c *Client) BatchMemories(ctx context.Context, operations []map[string]any) (map[string]any, error) + func (c *Client) CancelDatasetJob(ctx context.Context, jobID string) error + func (c *Client) CancelJob(ctx context.Context, jobID string) error + func (c *Client) ClearSession() + func (c *Client) Close() error + func (c *Client) CommitSession(ctx context.Context, sessionID string, opts CommitSessionOptions) (map[string]any, error) + func (c *Client) ContextCheckpoint(ctx context.Context) error + func (c *Client) ContextCleanup(ctx context.Context) error + func (c *Client) ContextExec(ctx context.Context, code string, opts ContextExecOptions) (map[string]any, error) + func (c *Client) ContextInject(ctx context.Context, key string, value any, parseJSON bool) (map[string]any, error) + func (c *Client) ContextInspect(ctx context.Context, variable string, previewChars int) (map[string]any, error) + func (c *Client) ContextLoad(ctx context.Context, varName, query string, opts ContextLoadOptions) (map[string]any, error) + func (c *Client) ContextQuery(ctx context.Context, prompt string, variables []string, ...) (map[string]any, error) + func (c *Client) ContextRLM(ctx context.Context, goal string, opts ContextRLMOptions) (map[string]any, error) + func (c *Client) ContextStatus(ctx context.Context) (map[string]any, error) + func (c *Client) CreateCheckpoint(ctx context.Context, sessionID, transcriptSegment string, ...) (*SessionCheckpoint, error) + func (c *Client) CreateContext(ctx context.Context, workspaceID, name, description string, ...) (map[string]any, error) + func (c *Client) CreateMemoryVersioned(ctx context.Context, input SemanticMemoryCreateInput, ...) (*MemoryMutationResult, error) + func (c *Client) CreateSession(ctx context.Context, opts CreateSessionOptions) (*Session, error) + func (c *Client) CreateThread(ctx context.Context, opts CreateThreadOptions) (*ChatThread, error) + func (c *Client) CreateToken(ctx context.Context, name string, opts CreateTokenOptions) (*TokenCreateResult, error) + func (c *Client) CreateWorkspace(ctx context.Context, name string, tags []string) (*Workspace, error) + func (c *Client) Decay(ctx context.Context, memoryID string, decayRate float64) (*Memory, error) + func (c *Client) DecomposeThread(ctx context.Context, threadID, workspaceID string) (*DecompositionResult, error) + func (c *Client) DeleteAssociation(ctx context.Context, memoryID, associationID string, ...) (bool, error) + func (c *Client) DeleteContext(ctx context.Context, contextID, workspaceID string) error + func (c *Client) DeleteDataset(ctx context.Context, datasetID string, deleteMemories bool) error + func (c *Client) DeleteDocument(ctx context.Context, documentID string, deleteMemories bool) error + func (c *Client) DeleteMemoryVersioned(ctx context.Context, memoryID string, opts MemoryMutationOptions) (*MemoryMutationResult, error) + func (c *Client) DeleteMessage(ctx context.Context, threadID, messageID string, opts DeleteMessageOptions) (bool, error) + func (c *Client) DeleteSession(ctx context.Context, sessionID string) error + func (c *Client) DeleteThread(ctx context.Context, threadID, workspaceID string) error + func (c *Client) DeleteToken(ctx context.Context, tokenID string, authority *AuthorityContext) error + func (c *Client) ExportWorkspace(ctx context.Context, opts ExportWorkspaceOptions) (*WorkspaceExport, error) + func (c *Client) ExportWorkspaceStream(ctx context.Context, opts ExportWorkspaceOptions, ...) error + func (c *Client) ForWorkspace(workspaceID string) *OBOProxy + func (c *Client) Forget(ctx context.Context, memoryID string, hard bool) error + func (c *Client) GetAssociations(ctx context.Context, memoryID, direction string) ([]Association, error) + func (c *Client) GetBriefing(ctx context.Context, opts GetBriefingOptions) (*SessionBriefing, error) + func (c *Client) GetCheckpoint(ctx context.Context, sessionID, checkpointID string) (*SessionCheckpoint, error) + func (c *Client) GetContext(ctx context.Context, sessionID string, keys []string) (map[string]any, error) + func (c *Client) GetContextDelta(ctx context.Context, sessionID, cursor string, budgetTokens int) (*ContextDelta, error) + func (c *Client) GetContextPack(ctx context.Context, sessionID string, opts ContextPackOptions) (*ContextPack, error) + func (c *Client) GetDataset(ctx context.Context, datasetID string) (*DatasetInfo, error) + func (c *Client) GetDatasetJob(ctx context.Context, jobID string) (*DatasetJobInfo, error) + func (c *Client) GetDatasetMemories(ctx context.Context, datasetID string) ([]map[string]any, error) + func (c *Client) GetDocument(ctx context.Context, documentID string) (*DocumentInfo, error) + func (c *Client) GetDocumentPages(ctx context.Context, documentID string) ([]DocumentPage, error) + func (c *Client) GetEntity(ctx context.Context, entityID, workspaceID string, authority *AuthorityContext) (*Entity, error) + func (c *Client) GetJob(ctx context.Context, jobID string) (*JobInfo, error) + func (c *Client) GetMemory(ctx context.Context, memoryID string, opts ...GetMemoryOptions) (*Memory, error) + func (c *Client) GetMessages(ctx context.Context, threadID string, opts GetMessagesOptions) ([]ChatMessage, error) + func (c *Client) GetPageImage(ctx context.Context, documentID, pageID string) ([]byte, error) + func (c *Client) GetSession(ctx context.Context, sessionID string) (*Session, error) + func (c *Client) GetThread(ctx context.Context, threadID, workspaceID string) (*ChatThread, error) + func (c *Client) GetThreadFull(ctx context.Context, threadID string, opts GetThreadFullOptions) (*ChatThreadWithMessages, error) + func (c *Client) GetToken(ctx context.Context, tokenID string, authority *AuthorityContext) (*TokenInfo, error) + func (c *Client) GetWorkspace(ctx context.Context, workspaceID string) (*Workspace, error) + func (c *Client) GetWorkspaceSchema(ctx context.Context, workspaceID string) (map[string]any, error) + func (c *Client) ImportWorkspace(ctx context.Context, workspaceID string, data any) (map[string]any, error) + func (c *Client) ImportWorkspaceStream(ctx context.Context, workspaceID string, lines []map[string]any) (map[string]any, error) + func (c *Client) IterateMemories(ctx context.Context, pageSize int, opts ListMemoriesOptions, ...) error + func (c *Client) ListContexts(ctx context.Context, workspaceID string) ([]map[string]any, error) + func (c *Client) ListDatasetJobs(ctx context.Context, status string, limit int) ([]DatasetJobInfo, error) + func (c *Client) ListDatasets(ctx context.Context, opts ListDatasetsOptions) ([]DatasetInfo, int, error) + func (c *Client) ListDocuments(ctx context.Context, opts ListDocumentsOptions) ([]DocumentInfo, int, error) + func (c *Client) ListEntities(ctx context.Context, opts ListEntitiesOptions) ([]Entity, error) + func (c *Client) ListJobs(ctx context.Context, status string, limit int) ([]JobInfo, error) + func (c *Client) ListMemories(ctx context.Context, opts ListMemoriesOptions) (*RecallResult, error) + func (c *Client) ListSessions(ctx context.Context, opts ListSessionsOptions) ([]map[string]any, error) + func (c *Client) ListThreads(ctx context.Context, opts ListThreadsOptions) ([]ChatThread, error) + func (c *Client) ListTokens(ctx context.Context, includeRevoked bool, authority *AuthorityContext) ([]TokenInfo, error) + func (c *Client) ListUserThreads(ctx context.Context, userID string, opts ListUserThreadsOptions) ([]ChatThread, error) + func (c *Client) ListWorkspaces(ctx context.Context, tags []string, match string) ([]Workspace, error) + func (c *Client) MemoryHistory(ctx context.Context, memoryID string, opts MemoryHistoryOptions) (*MemoryRevisionPage, error) + func (c *Client) MergeEntities(ctx context.Context, sourceID, targetID, reason, workspaceID string, ...) (*Entity, error) + func (c *Client) QueryDatasetSlice(ctx context.Context, datasetID string, opts QueryDatasetSliceOptions) (*DatasetSliceResult, error) + func (c *Client) Recall(ctx context.Context, query string, opts RecallOptions) (*RecallResult, error) + func (c *Client) Reflect(ctx context.Context, query string, opts ReflectOptions) (*ReflectResult, error) + func (c *Client) Remember(ctx context.Context, content string, opts RememberOptions) (*Memory, error) + func (c *Client) ReplaceSemanticMemory(ctx context.Context, memoryID string, input SemanticMemoryReplaceInput, ...) (*MemoryMutationResult, error) + func (c *Client) ReprocessDocument(ctx context.Context, documentID string, opts ReprocessDocumentOptions) (*JobInfo, error) + func (c *Client) ResolveEntity(ctx context.Context, name, entityType, workspaceID string, ...) (*EntityResolution, error) + func (c *Client) RestoreMemoryVersioned(ctx context.Context, memoryID string, opts MemoryMutationOptions) (*MemoryMutationResult, error) + func (c *Client) RevokeToken(ctx context.Context, tokenID string, authority *AuthorityContext) error + func (c *Client) SearchDocumentPages(ctx context.Context, query string, limit int, docIDs []string) (*PageSearchResult, error) + func (c *Client) SessionID() string + func (c *Client) SetContext(ctx context.Context, sessionID, key string, value any, ttlSeconds int) error + func (c *Client) SetSession(sessionID string) + func (c *Client) TouchSession(ctx context.Context, sessionID string) (map[string]any, error) + func (c *Client) TraverseGraph(ctx context.Context, memoryID string, opts TraverseGraphOptions) (map[string]any, error) + func (c *Client) UpdateAssociation(ctx context.Context, memoryID, associationID string, ...) (bool, error) + func (c *Client) UpdateMemory(ctx context.Context, memoryID string, opts UpdateMemoryOptions) (*Memory, error) + func (c *Client) UpdateThread(ctx context.Context, threadID string, opts UpdateThreadOptions) (*ChatThread, error) + func (c *Client) UpdateWorkspace(ctx context.Context, workspaceID string, opts UpdateWorkspaceOptions) (*Workspace, error) + func (c *Client) UploadDataset(ctx context.Context, fileData []byte, filename string, ...) (*DatasetInfo, *DatasetJobInfo, error) + func (c *Client) UploadDocument(ctx context.Context, fileData []byte, filename string, ...) (*DocumentInfo, *JobInfo, error) + func (c *Client) WorkspaceID() string + type CommitSessionOptions struct + Categories []string + Deduplicate *bool + MaxMemories int + MinImportance float64 + func (o CommitSessionOptions) WithMinImportance(v float64) CommitSessionOptions + type ConflictError struct + type Context struct + CreatedAt *time.Time + Description *string + ID string + Name string + Settings map[string]any + WorkspaceID string + type ContextDelta struct + BudgetSummary BudgetSummary + Cursor string + DegradationNotices []string + GenerationSummary GenerationSummary + HasMore bool + Items []ContextPackItem + Rendered string + type ContextExecOptions struct + MaxReturnChars int + ResultVar string + ReturnResult *bool + type ContextLoadOptions struct + IncludeEmbeddings bool + Limit int + MinRelevance *float64 + Tags []string + Types []string + type ContextPack struct + BudgetSummary BudgetSummary + Cursor string + DegradationNotices []string + GenerationSummary GenerationSummary + Items []ContextPackItem + OpenThreads []map[string]any + Rendered string + UnresolvedContradictions []map[string]any + type ContextPackItem struct + Content string + EventTime *time.Time + ID string + Importance float64 + Kind string + MatchSignals []string + SourceReferences []string + Tombstone bool + type ContextPackOptions struct + BudgetTokens int + EntityIDs []string + EntityNames []string + IncludeCheckpointRecovery *bool + IncludeContradictions *bool + IncludeDirectives *bool + IncludeRecentActivity *bool + IncludeSandboxSummary *bool + IncludeWorkingMemory *bool + SectionLimits map[string]int + Topic string + type ContextQueryOptions struct + MaxContextChars *int + ResultVar string + type ContextRLMOptions struct + DetailLevel string + MaxIterations int + MemoryLimit int + MemoryQuery string + ResultVar string + Variables []string + type ContradictionDetection struct + MemoryA string + MemoryB string + NeedsResolution bool + Relationship string + type CreateCheckpointOptions struct + ContentHash string + IdempotencyKey string + SourceBoundary *int + SourceKind string + SourceSequence *int + type CreateMcpServerOptions struct + Args []string + Authority *AuthorityContext + Command string + Description string + Enabled *bool + Env map[string]string + Headers map[string]string + Metadata map[string]any + SourceMode string + URL string + UserID string + WorkspaceID string + type CreateSessionOptions struct + AutoSetSession bool + ContextID string + TTLSeconds int + WorkspaceID string + func (o CreateSessionOptions) NoAutoSetSession() CreateSessionOptions + type CreateThreadOptions struct + Authority *AuthorityContext + ContextID string + ExpiresAt string + Metadata map[string]any + ObserverID string + Ownership string + ParentThread string + Scope string + SubjectID string + ThreadID string + Title string + UserID string + WorkspaceID string + type CreateTokenOptions struct + Authority *AuthorityContext + ExpiresInDays *int + PrincipalType string + Scopes []string + WorkspacePatterns []string + type DatasetColumn struct + AvgLength *float64 + ColumnType string + Dtype string + Histogram map[string]any + IsTemporal bool + MaxLength *int + MaxValue *float64 + MeanValue *float64 + MedianValue *float64 + MinLength *int + MinValue *float64 + Name string + NullCount int + NullPercent float64 + Nullable bool + P25Value *float64 + P75Value *float64 + StdValue *float64 + TemporalRangeEnd *string + TemporalRangeStart *string + TemporalResolution *string + TopValues []map[string]any + UniqueCount int + type DatasetInfo struct + ColumnCount int + Columns []DatasetColumn + ContentHash string + CreatedAt time.Time + Filename string + Format string + ID string + MemoryIDs []string + Metadata map[string]any + Name string + ProfileSummary *string + ProfilingCompletedAt *time.Time + ProfilingStartedAt *time.Time + RowCount int + SizeBytes int64 + Status string + TargetContextID string + WorkspaceID string + type DatasetJobInfo struct + CompletedAt *time.Time + CreatedAt time.Time + DatasetIDs []string + DatasetsProcessed int + Errors []map[string]any + ID string + ProgressPercent int + StartedAt *time.Time + Status string + TotalMemoriesCreated int + WorkspaceID string + type DatasetSliceResult struct + Columns []string + DatasetID string + Dtypes []string + ReturnedCount int + Rows [][]any + SQLExecuted *string + TotalMatching int + type DecompositionResult struct + FromIndex int + MemoriesCreated int + MessagesProcessed int + ThreadID string + ToIndex int + WorkspaceID string + type DeleteMessageOptions struct + Authority *AuthorityContext + WorkspaceID string + type DocumentInfo struct + ChunkCount int + ContentHash string + CreatedAt time.Time + DocumentType string + Filename string + ID string + MemoryIDs []string + Metadata map[string]any + MimeType *string + PageCount int + ProcessingCompletedAt *time.Time + ProcessingStartedAt *time.Time + RetainOriginal bool + SizeBytes int64 + SourceVfsRef *string + Status string + StoragePath *string + TargetContextID string + WorkspaceID string + type DocumentPage struct + CreatedAt *time.Time + DocumentID string + ID string + ImageStoragePath *string + Metadata map[string]any + PageNo int + RelevanceScore *float64 + Transcript *string + TranscriptModel *string + WorkspaceID string + type EnterpriseRequiredError struct + Feature string + type Entity struct + Aliases []string + CanonicalName string + Confidence float64 + CreatedAt time.Time + EntityType string + ID string + MergedInto *string + NormalizedName string + Provenance map[string]any + RepresentativeMemoryID *string + Status string + UpdatedAt time.Time + WorkspaceID string + type EntityRelation struct + Active bool + Confidence float64 + CreatedAt time.Time + Direction string + ID string + Relationship string + SourceEntityID string + TargetEntityID string + UpdatedAt time.Time + WorkspaceID string + type EntityRelationInput struct + Confidence float64 + EvidenceKind string + ExtractionMethod string + Relationship string + SourceEntityID string + SourceEntityName string + SourceSpanEnd *int + SourceSpanStart *int + TargetEntityID string + TargetEntityName string + type EntityRelationPath struct + EntityIDs []string + EvidenceIDs []string + EvidenceMemoryIDs []string + Relations []EntityRelation + SeedEntityID string + type EntityRelationWriteResult struct + Duplicate int + Errors []string + Rejected int + RelationIDs []string + Resolved int + Unresolved int + type EntityResolution struct + Entity Entity + MatchedVia string + Score float64 + type ExportWorkspaceOptions struct + IncludeAssociations *bool + Limit int + Offset int + WorkspaceID string + type GenerationSummary struct + BudgetDeniedCalls int + Calls int + DeniedCalls int + InputTokens int + OutputTokens int + Policy string + type GetBriefingOptions struct + DetailLevel string + IncludeContradictions *bool + IncludeMemories *bool + Limit int + LookbackHours int + LookbackMinutes int + type GetMemoryOptions struct + Authority *AuthorityContext + IncludeDeleted bool + WorkspaceID string + type GetMessagesOptions struct + AfterIndex *int + Authority *AuthorityContext + Limit int + Offset int + Order string + WorkspaceID string + type GetSkillManifestOptions struct + Authority *AuthorityContext + IncludeAddenda bool + WorkspaceID string + type GetThreadFullOptions struct + Limit int + Offset int + Order string + WorkspaceID string + type JobInfo struct + CompletedAt *time.Time + CreatedAt time.Time + DocumentIDs []string + DocumentsProcessed int + Errors []map[string]any + ID string + ProgressPercent int + StartedAt *time.Time + Status string + TotalMemoriesCreated int + WorkspaceID string + type KbArticle struct + ArticleType string + ContentMD string + GeneratedAt time.Time + ID string + Metadata map[string]any + Title string + type KbBridge struct + MemoryIDSource string + MemoryIDTarget string + RelationshipType string + SourceCommunityID int + Strength float64 + TargetCommunityID int + type KbCentralNode struct + Betweenness float64 + CommunityID int + Degree int + MemoryID string + type KbCommunity struct + CentralNodeIDs []string + CohesionScore float64 + ID int + Label *string + MemoryIDs []string + Size int + type KbGenerateOptions struct + Authority *AuthorityContext + ContextID string + IncludeRPG bool + MaxCommunities *int + MaxGodNodes *int + Regenerate bool + WorkspaceID string + type KbGetOptions struct + Authority *AuthorityContext + ContextID string + WorkspaceID string + type KbGraphAnalysis struct + Bridges []KbBridge + CentralNodes []KbCentralNode + Communities []KbCommunity + Snapshot KbGraphSnapshot + Stats KbGraphStats + type KbGraphSnapshot struct + ContextID *string + EdgeCount int + IncludesRPG bool + NodeCount int + WorkspaceID string + type KbGraphStats struct + AvgDegree float64 + CommunityCount int + Density float64 + EdgeCount int + GodNodeCount int + MaxDegree int + NodeCount int + type KbListArticlesOptions struct + ArticleType string + Authority *AuthorityContext + Limit int + Offset int + WorkspaceID string + type KbMetadata struct + ArticleCount int + CommunityCount int + GeneratedAt time.Time + Stats *KbGraphStats + WorkspaceID string + type KnowledgebaseAPI struct + func (k *KnowledgebaseAPI) ExportVault(ctx context.Context, workspaceID string, authority *AuthorityContext) ([]byte, error) + func (k *KnowledgebaseAPI) Generate(ctx context.Context, opts KbGenerateOptions) (*KbMetadata, error) + func (k *KnowledgebaseAPI) Get(ctx context.Context, opts KbGetOptions) (*KbMetadata, error) + func (k *KnowledgebaseAPI) GetArticle(ctx context.Context, articleID, workspaceID string, ...) (*KbArticle, error) + func (k *KnowledgebaseAPI) GetCommunity(ctx context.Context, communityID int, workspaceID string, ...) (*KbCommunity, error) + func (k *KnowledgebaseAPI) GetGraphAnalysis(ctx context.Context, workspaceID, contextID string, ...) (*KbGraphAnalysis, error) + func (k *KnowledgebaseAPI) ListArticles(ctx context.Context, opts KbListArticlesOptions) ([]KbArticle, error) + type ListDatasetsOptions struct + Limit int + Offset int + Status string + type ListDocumentsOptions struct + Authority *AuthorityContext + CreatedAfter string + CreatedBefore string + DocumentType string + Limit int + Offset int + Status string + WorkspaceID string + type ListEntitiesOptions struct + Authority *AuthorityContext + Limit int + Status string + WorkspaceID string + type ListMcpServersOptions struct + Authority *AuthorityContext + Enabled *bool + Limit int + Name string + Offset int + Transport string + UserID string + WorkspaceID string + type ListMemoriesOptions struct + Authority *AuthorityContext + ContextID string + Limit int + Offset int + Subtype string + Tag string + Type MemoryType + type ListSessionsOptions struct + ContextID string + IncludeExpired bool + WorkspaceID string + type ListSkillsOptions struct + Authority *AuthorityContext + Enabled *bool + IncludeAddenda bool + IncludeShadowed bool + Name string + Scope string + Tags []string + WorkspaceID string + type ListThreadsOptions struct + Limit int + Offset int + OwnershipFilter string + ParentThread string + ScopeFilter string + UserID string + WorkspaceID string + type ListUserThreadsOptions struct + Limit int + Offset int + Ownership string + ScopeFilter string + type McpServerModel struct + Args []string + Command *string + CreatedAt *string + Description *string + Enabled bool + Env map[string]string + Headers map[string]string + ID string + ManifestHash string + Metadata map[string]any + Name string + SourceMode string + TenantID string + Transport string + URL *string + UpdatedAt *string + UserID *string + WorkspaceID string + type McpServersAPI struct + func (m *McpServersAPI) Create(ctx context.Context, name, transport string, opts CreateMcpServerOptions) (*McpServerModel, error) + func (m *McpServersAPI) Delete(ctx context.Context, serverID string, authority *AuthorityContext) error + func (m *McpServersAPI) Get(ctx context.Context, serverID string, authority *AuthorityContext) (*McpServerModel, error) + func (m *McpServersAPI) List(ctx context.Context, opts ListMcpServersOptions) ([]McpServerModel, error) + func (m *McpServersAPI) PullJSON(ctx context.Context, outPath, workspaceID, userID, transport string, ...) error + func (m *McpServersAPI) PushJSON(ctx context.Context, jsonPath, scope, sourceMode, workspaceID, userID string, ...) ([]McpServerModel, error) + func (m *McpServersAPI) Resolve(ctx context.Context, name, workspaceID string, authority *AuthorityContext) (*McpServerModel, error) + func (m *McpServersAPI) Update(ctx context.Context, serverID string, opts UpdateMcpServerOptions) (*McpServerModel, error) + type Memory struct + Abstract *string + AccessCount int + ArchivedAt *time.Time + BoostedScore *float64 + Content string + ContentHash *string + ContextID *string + CreatedAt time.Time + DecayFactor float64 + DeletedAt *time.Time + ETag string + Embedding []float64 + ID string + Importance float64 + LastAccessedAt *time.Time + LogicalKey *string + Metadata map[string]any + ObserverID *string + Overview *string + Pinned bool + RefinementMetadata map[string]any + RelationWriteResult *EntityRelationWriteResult + Relations []map[string]any + RelevanceScore *float64 + Revision int + SessionID *string + SourceMemoryID *string + SourceScope *string + SpaceID *string + Status string + SubjectID *string + Subtype *string + Tags []string + TenantID string + Type MemoryType + UpdatedAt time.Time + UserID *string + WorkspaceID string + type MemoryHistoryOptions struct + Authority *AuthorityContext + Limit int + PageToken string + WorkspaceID string + type MemoryMutationOptions struct + Authority *AuthorityContext + ETag string + IdempotencyKey string + WorkspaceID string + type MemoryMutationResult struct + ETag string + Memory Memory + Replayed bool + type MemoryRevision struct + Action string + Memory Memory + OperationID string + type MemoryRevisionPage struct + NextPageToken string + Revisions []MemoryRevision + type MemorySubtype string + const MemorySubtypeCodePattern + const MemorySubtypeDecision + const MemorySubtypeDirective + const MemorySubtypeEntity + const MemorySubtypeError + const MemorySubtypeEvent + const MemorySubtypeFix + const MemorySubtypeInference + const MemorySubtypePreference + const MemorySubtypeProblem + const MemorySubtypeProfile + const MemorySubtypeSolution + const MemorySubtypeWorkflow + type MemoryType string + const MemoryTypeEpisodic + const MemoryTypeProcedural + const MemoryTypeSemantic + const MemoryTypeWorking + type MessageContent struct + Blocks []ChatMessageContent + Text string + func (m *MessageContent) UnmarshalJSON(b []byte) error + func (m MessageContent) IsText() bool + func (m MessageContent) MarshalJSON() ([]byte, error) + type NotFoundError struct + type OBOKbAPI struct + func (k *OBOKbAPI) ExportVault(ctx context.Context, workspaceID string, authority *AuthorityContext) ([]byte, error) + func (k *OBOKbAPI) Generate(ctx context.Context, opts KbGenerateOptions) (*KbMetadata, error) + func (k *OBOKbAPI) Get(ctx context.Context, opts KbGetOptions) (*KbMetadata, error) + func (k *OBOKbAPI) GetArticle(ctx context.Context, articleID, workspaceID string, ...) (*KbArticle, error) + func (k *OBOKbAPI) GetCommunity(ctx context.Context, communityID int, workspaceID string, ...) (*KbCommunity, error) + func (k *OBOKbAPI) GetGraphAnalysis(ctx context.Context, workspaceID, contextID string, ...) (*KbGraphAnalysis, error) + func (k *OBOKbAPI) ListArticles(ctx context.Context, opts KbListArticlesOptions) ([]KbArticle, error) + type OBOMcpServersAPI struct + func (m *OBOMcpServersAPI) Create(ctx context.Context, name, transport string, opts CreateMcpServerOptions) (*McpServerModel, error) + func (m *OBOMcpServersAPI) Delete(ctx context.Context, serverID string, authority *AuthorityContext) error + func (m *OBOMcpServersAPI) Get(ctx context.Context, serverID string, authority *AuthorityContext) (*McpServerModel, error) + func (m *OBOMcpServersAPI) List(ctx context.Context, opts ListMcpServersOptions) ([]McpServerModel, error) + func (m *OBOMcpServersAPI) Resolve(ctx context.Context, name, workspaceID string, authority *AuthorityContext) (*McpServerModel, error) + func (m *OBOMcpServersAPI) Update(ctx context.Context, serverID string, opts UpdateMcpServerOptions) (*McpServerModel, error) + type OBOProxy struct + func (p *OBOProxy) ActingFor(grantID string, subject *PrincipalRef) *OBOProxy + func (p *OBOProxy) AppendMessages(ctx context.Context, threadID string, messages []map[string]any, ...) ([]ChatMessage, error) + func (p *OBOProxy) DeleteMessage(ctx context.Context, threadID, messageID string, opts DeleteMessageOptions) (bool, error) + func (p *OBOProxy) ForWorkspace(workspaceID string) *OBOProxy + func (p *OBOProxy) Kb() *OBOKbAPI + func (p *OBOProxy) McpServers() *OBOMcpServersAPI + func (p *OBOProxy) Recall(ctx context.Context, query string, opts RecallOptions) (*RecallResult, error) + func (p *OBOProxy) Reflect(ctx context.Context, query string, opts ReflectOptions) (*ReflectResult, error) + func (p *OBOProxy) Remember(ctx context.Context, content string, opts RememberOptions) (*Memory, error) + func (p *OBOProxy) Skills() *OBOSkillsAPI + type OBOSkillsAPI struct + func (s *OBOSkillsAPI) Delete(ctx context.Context, skillID string, authority *AuthorityContext) error + func (s *OBOSkillsAPI) Get(ctx context.Context, skillID string, authority *AuthorityContext) (*SkillModel, error) + func (s *OBOSkillsAPI) GetManifest(ctx context.Context, skillID string) (string, error) + func (s *OBOSkillsAPI) GetManifestWithOptions(ctx context.Context, skillID string, opts GetSkillManifestOptions) (string, error) + func (s *OBOSkillsAPI) List(ctx context.Context, opts ListSkillsOptions) ([]SkillModel, error) + func (s *OBOSkillsAPI) ListFiles(ctx context.Context, skillID string, authority *AuthorityContext) ([]map[string]any, error) + func (s *OBOSkillsAPI) Resolve(ctx context.Context, name, query, workspaceID string, ...) (*SkillResolution, error) + func (s *OBOSkillsAPI) ResolveWithOptions(ctx context.Context, opts ResolveSkillOptions) (*SkillResolution, error) + func (s *OBOSkillsAPI) Save(ctx context.Context, name, description string, opts SaveSkillOptions) (*SkillModel, error) + type OpenThread struct + KeyMemories []string + LastActivity time.Time + Status string + Topic string + type Option func(*clientConfig) + func WithAPIKey(apiKey string) Option + func WithBaseURL(baseURL string) Option + func WithDefaultAuthority(a *AuthorityContext) Option + func WithHTTPClient(hc *http.Client) Option + func WithMaxRetries(maxRetries int) Option + func WithSessionID(sessionID string) Option + func WithTimeout(timeout time.Duration) Option + func WithTransport(t Transport) Option + func WithWorkspaceID(workspaceID string) Option + type PageSearchResult struct + Pages []DocumentPage + Query string + TotalCount int + type PreconditionFailedError struct + type PreconditionRequiredError struct + type PrincipalRef struct + ID string + Type string + type PromptNote struct + Content string + CreatedAt string + CreatedBy *string + DeletedAt *string + ETag string + Enabled bool + ID string + Key string + Metadata map[string]any + Revision int + SchemaVersion int + TenantID string + Title string + UpdatedAt string + UpdatedBy *string + WorkspaceID string + type PromptNoteCreateInput struct + Content string + Enabled *bool + Key string + Metadata map[string]any + SchemaVersion int + Title string + type PromptNoteGetOptions struct + Authority *AuthorityContext + IncludeDeleted bool + WorkspaceID string + type PromptNoteHistoryOptions struct + Authority *AuthorityContext + Limit int + PageToken string + WorkspaceID string + type PromptNoteListOptions struct + Authority *AuthorityContext + IncludeDeleted bool + Limit int + PageToken string + WorkspaceID string + type PromptNoteMutationOptions struct + Authority *AuthorityContext + ETag string + IdempotencyKey string + WorkspaceID string + type PromptNoteMutationResult struct + ETag string + Note PromptNote + Replayed bool + type PromptNotePage struct + NextPageToken string + Notes []PromptNote + type PromptNoteReplaceInput struct + Content string + Enabled *bool + Metadata map[string]any + SchemaVersion int + Title string + type PromptNoteRevision struct + Action string + Note PromptNote + OperationID string + type PromptNoteRevisionPage struct + NextPageToken string + Revisions []PromptNoteRevision + type PromptNotesAPI struct + func (p *PromptNotesAPI) Create(ctx context.Context, input PromptNoteCreateInput, ...) (*PromptNoteMutationResult, error) + func (p *PromptNotesAPI) Delete(ctx context.Context, noteID string, opts PromptNoteMutationOptions) (*PromptNoteMutationResult, error) + func (p *PromptNotesAPI) Get(ctx context.Context, noteID string, opts PromptNoteGetOptions) (*PromptNote, error) + func (p *PromptNotesAPI) History(ctx context.Context, noteID string, opts PromptNoteHistoryOptions) (*PromptNoteRevisionPage, error) + func (p *PromptNotesAPI) List(ctx context.Context, opts PromptNoteListOptions) (*PromptNotePage, error) + func (p *PromptNotesAPI) Replace(ctx context.Context, noteID string, input PromptNoteReplaceInput, ...) (*PromptNoteMutationResult, error) + func (p *PromptNotesAPI) Restore(ctx context.Context, noteID string, opts PromptNoteMutationOptions) (*PromptNoteMutationResult, error) + type QueryDatasetSliceOptions struct + Columns []string + Descending bool + Filters []map[string]any + Limit int + Offset int + OrderBy string + SQL string + type RateLimitError struct + type RecallMode string + const RecallModeHybrid + const RecallModeLLM + const RecallModeRAG + type RecallOptions struct + Authority *AuthorityContext + BudgetTokens *int + CreatedAfter string + CreatedBefore string + EventAfter string + EventBefore string + IncludeAssociations *bool + IncludeConfidence *bool + IncludeGlobal *bool + IncludeGlobalUser *bool + IncludeRelations *bool + Limit int + MaxExpansion *int + MinRelevance *float64 + Mode RecallMode + Offset *int + RecencyWeight *float64 + Subtypes []string + Tags []string + TimeOrder string + Tolerance SearchTolerance + TraverseDepth *int + Types []MemoryType + UserID string + WorkspaceID string + type RecallResult struct + BudgetSummary *BudgetSummary + ConfidenceReasons []string + GenerationSummary *GenerationSummary + Memories []Memory + QueryTokens *int + RelationPaths []EntityRelationPath + RetrievalConfidence string + SearchLatencyMs *int + TotalCount int + type RefinementEdit struct + Action string + After *RefinementResourceSnapshot + AfterETag *string + Applied *bool + Before *RefinementResourceSnapshot + BeforeETag *string + Content map[string]any + Error *string + ExpectedETag *string + Reason string + ResourceID *string + ResourceKey string + ResourceKind string + type RefinementEvidence struct + ContentHash *string + Description string + Kind string + Reference string + type RefinementExternalReference struct + AttemptID *string + ID string + System string + type RefinementRecord struct + ApprovalRef *RefinementExternalReference + CreatedAt string + CreatedBy *string + ETag string + Edits []RefinementEdit + Evidence []RefinementEvidence + ExpectedOutcome string + ID string + Key string + Metadata map[string]any + Outcome string + ParentRecordID *string + Phase string + Rationale string + RefinementID string + Revision int + RollbackOfRecordID *string + SchemaVersion int + Scope string + Summary string + TaskRef *RefinementExternalReference + TenantID string + Trigger string + WorkspaceID string + type RefinementRecordCreateInput struct + ApprovalRef *RefinementExternalReference + Edits []RefinementEdit + Evidence []RefinementEvidence + ExpectedOutcome string + Key string + Metadata map[string]any + Outcome string + ParentRecordID *string + Phase string + Rationale string + RefinementID string + RollbackOfRecordID *string + SchemaVersion int + Scope string + Summary string + TaskRef *RefinementExternalReference + Trigger string + type RefinementRecordCreateOptions struct + Authority *AuthorityContext + IdempotencyKey string + WorkspaceID string + type RefinementRecordGetOptions struct + Authority *AuthorityContext + WorkspaceID string + type RefinementRecordListOptions struct + Authority *AuthorityContext + Limit int + Outcomes []string + PageToken string + Phases []string + RefinementID string + ResourceKinds []string + Scopes []string + Search string + WorkspaceID string + type RefinementRecordMutationResult struct + ETag string + Record RefinementRecord + Replayed bool + type RefinementRecordPage struct + NextPageToken string + Records []RefinementRecord + ScanTruncated bool + ScannedCount int + type RefinementRecordsAPI struct + func (r *RefinementRecordsAPI) Create(ctx context.Context, input RefinementRecordCreateInput, ...) (*RefinementRecordMutationResult, error) + func (r *RefinementRecordsAPI) Get(ctx context.Context, recordID string, opts RefinementRecordGetOptions) (*RefinementRecord, error) + func (r *RefinementRecordsAPI) List(ctx context.Context, opts RefinementRecordListOptions) (*RefinementRecordPage, error) + type RefinementResourceSnapshot struct + Content map[string]any + Deleted bool + ETag *string + Metadata map[string]any + ResourceID *string + ResourceKey string + SchemaVersion int + type ReflectOptions struct + Authority *AuthorityContext + IncludeSources *bool + MaxTokens int + type ReflectResult struct + Confidence float64 + Reflection string + SourceMemories []string + TokensProcessed *int + type RelationshipCategory string + const RelationshipCategoryCausal + const RelationshipCategoryContext + const RelationshipCategoryHierarchical + const RelationshipCategoryLearning + const RelationshipCategoryQuality + const RelationshipCategoryReference + const RelationshipCategorySimilarity + const RelationshipCategorySolution + const RelationshipCategoryTemporal + const RelationshipCategoryWorkflow + type RelationshipType string + const RelationshipAddresses + const RelationshipAlternativeTo + const RelationshipAppliesTo + const RelationshipBlocks + const RelationshipBuildsOn + const RelationshipCauses + const RelationshipConfirms + const RelationshipContradicts + const RelationshipDependsOn + const RelationshipDeprecatedBy + const RelationshipEffectiveFor + const RelationshipEnables + const RelationshipFollows + const RelationshipImproves + const RelationshipLeadsTo + const RelationshipOccursIn + const RelationshipPreferredOver + const RelationshipPrevents + const RelationshipRelatedTo + const RelationshipRequires + const RelationshipSimilarTo + const RelationshipSolves + const RelationshipSupersedes + const RelationshipTriggers + const RelationshipVariantOf + const RelationshipWorksWith + type RememberOptions struct + Authority *AuthorityContext + ContextID string + Importance float64 + Metadata map[string]any + Relations []EntityRelationInput + Subtype string + Tags []string + Type MemoryType + UserID string + WorkspaceID string + func (o RememberOptions) WithImportance(v float64) RememberOptions + type ReprocessDocumentOptions struct + ChunkOverlap *int + ChunkSize *int + ChunkingStrategy string + Importance *float64 + TargetContextID string + type Request struct + Body []byte + Header http.Header + Method string + Path string + Query url.Values + type ResolveSkillOptions struct + Authority *AuthorityContext + IncludeAddenda bool + Name string + Query string + ScopeHint string + WorkspaceID string + type Response struct + Body []byte + Header http.Header + StatusCode int + type RpgAPI struct + func (r *RpgAPI) DeleteEdges(ctx context.Context, associationIDs []string, authority *AuthorityContext) (*RpgDeleteResult, error) + func (r *RpgAPI) DeleteNodes(ctx context.Context, nodeIDs []string, contextID string, ...) (*RpgDeleteResult, error) + func (r *RpgAPI) DeleteOverlay(ctx context.Context, contextID string, authority *AuthorityContext) (*RpgOverlayDeleteResult, error) + func (r *RpgAPI) Enrich(ctx context.Context, opts RpgEnrichOptions) (*RpgEnrichmentResult, error) + func (r *RpgAPI) GetConflicts(ctx context.Context, taskID string, authority *AuthorityContext) (*RpgConflictResult, error) + func (r *RpgAPI) GetMergedSubgraph(ctx context.Context, overlayContext, baseContext, path string, depth int, ...) (*RpgSubgraph, error) + func (r *RpgAPI) GetStatus(ctx context.Context, contextID string, authority *AuthorityContext) (*RpgStatus, error) + func (r *RpgAPI) GetSubgraph(ctx context.Context, opts RpgSubgraphOptions) (*RpgSubgraph, error) + func (r *RpgAPI) GetSymbolConflicts(ctx context.Context, taskIDA, taskIDB string, authority *AuthorityContext) (*RpgSymbolConflictResult, error) + func (r *RpgAPI) ListNodes(ctx context.Context, opts RpgListNodesOptions) (*RpgNodeList, error) + func (r *RpgAPI) ListOverlays(ctx context.Context, authority *AuthorityContext) (*RpgOverlayList, error) + func (r *RpgAPI) Maintenance(ctx context.Context, operation RpgMaintenanceOperation, ...) (*RpgMaintenanceResult, error) + func (r *RpgAPI) Search(ctx context.Context, query string, opts RpgSearchOptions) (*RpgSearchResult, error) + func (r *RpgAPI) Sync(ctx context.Context, nodes []RpgNodeInput, edges []RpgEdgeInput, ...) (*RpgSyncResult, error) + type RpgConflict struct + FilePath string + Severity string + TaskIDs []string + type RpgConflictResult struct + Conflicts []RpgConflict + TaskID string + TotalConflicts int + type RpgDeleteResult struct + Deleted int + NotFound int + type RpgEdge struct + AssociationID *string + Metadata map[string]any + Relationship string + SourceID string + Strength float64 + TargetID string + type RpgEdgeInput struct + Metadata map[string]any + Relationship string + SourceID string + Strength *float64 + TargetID string + type RpgEnrichOptions struct + Async *bool + Authority *AuthorityContext + ContextID string + Phases []string + type RpgEnrichmentResult struct + AsyncMode bool + ContextID string + Stats map[string]any + TaskID *string + WorkspaceID string + type RpgListNodesOptions struct + Authority *AuthorityContext + ContextID string + Limit int + NodeType string + type RpgMaintenanceOperation string + const RpgMaintenanceCleanup + const RpgMaintenanceCleanupIntents + const RpgMaintenanceRecomputeCounts + const RpgMaintenanceStatistics + const RpgMaintenanceValidate + type RpgMaintenanceResult struct + Operation string + Result map[string]any + WorkspaceID string + type RpgNode struct + ContextID *string + Depth int + Description string + Language *string + MemoryID *string + Metadata map[string]any + Name string + NodeID string + NodeType string + ParentID *string + Path string + type RpgNodeInput struct + Description string + Language *string + Metadata map[string]any + Name string + NodeID string + NodeType string + ParentID *string + Path string + type RpgNodeList struct + Nodes []RpgNode + TotalCount int + type RpgOverlay struct + ContextID string + NodeCount int + type RpgOverlayDeleteResult struct + ContextID string + Deleted int + type RpgOverlayList struct + Overlays []RpgOverlay + Total int + type RpgSearchOptions struct + Authority *AuthorityContext + ContextID string + Limit int + NodeTypes []string + type RpgSearchResult struct + Nodes []RpgNode + Query string + TotalCount int + type RpgStatus struct + EdgeCount int + HasRPG bool + LastSyncAt *string + LastSyncCommit *string + NodeCount int + WorkspaceID string + type RpgSubgraph struct + Depth int + Edges []RpgEdge + Nodes []RpgNode + RootID *string + TotalEdges int + TotalNodes int + Truncated bool + type RpgSubgraphOptions struct + Authority *AuthorityContext + ContextID string + Depth int + MaxNodes int + NodeID string + NodeTypes []string + Path string + RelationshipTypes []string + type RpgSymbolConflict struct + Description string + FilePath string + Severity string + SymbolID string + TaskIDs []string + type RpgSymbolConflictResult struct + Conflicts []RpgSymbolConflict + TaskIDs []string + TotalConflicts int + type RpgSyncOptions struct + Authority *AuthorityContext + ContextID string + FullSync bool + SourceCommit string + TaskID string + type RpgSyncResult struct + EdgesCreated int + EdgesDeleted int + EdgesUpdated int + NodesCreated int + NodesDeleted int + NodesUpdated int + SourceCommit *string + SyncTimeMs int + type SaveSkillOptions struct + AllowedTools string + Authority *AuthorityContext + Body string + Compatibility string + Files []SkillFile + License string + Metadata map[string]any + Scope string + SourceMode string + UserID string + Version string + WorkspaceID string + type SearchTolerance string + const SearchToleranceLoose + const SearchToleranceModerate + const SearchToleranceStrict + type SemanticMemoryCreateInput struct + Content string + LogicalKey string + Metadata map[string]any + Pinned bool + RefinementMetadata map[string]any + Scope string + Subtype string + Tags []string + Type MemoryType + UserID string + type SemanticMemoryReplaceInput struct + Content string + Pinned bool + RefinementMetadata map[string]any + Subtype *string + Tags []string + Type MemoryType + type ServerError struct + type Session struct + CreatedAt time.Time + ExpiresAt time.Time + ID string + Metadata map[string]any + UserID *string + WorkspaceID string + type SessionActivity struct + KeyDecisions []string + MemoriesCreated int + Summary string + Timestamp time.Time + type SessionBriefing struct + ContradictionsDetected []ContradictionDetection + OpenThreads []OpenThread + RecentActivity []SessionActivity + WorkspaceSummary map[string]any + type SessionCheckpoint struct + ByteCount int + CaptureStatus string + ContentHash string + CreatedAt time.Time + EnrichmentStatus string + ID string + IdempotencyKey string + IndexStatus string + RawMemoryID string + SessionID string + SourceBoundary *int + SourceKind string + SourceSequence *int + UpdatedAt time.Time + WorkspaceID string + type SkillFile struct + Content []byte + Path string + type SkillGetOptions struct + Authority *AuthorityContext + IncludeDeleted bool + WorkspaceID string + type SkillHistoryOptions struct + Authority *AuthorityContext + Limit int + PageToken string + WorkspaceID string + type SkillManifest struct + AllowedTools string + Body string + Compatibility string + Description string + License string + Metadata map[string]any + Name string + Version string + type SkillManifestCreateInput struct + AllowedTools *string + Body string + Compatibility *string + Description string + License *string + Metadata map[string]any + Name string + SourceMode string + Version string + type SkillManifestMutationOptions struct + Authority *AuthorityContext + ETag string + IdempotencyKey string + WorkspaceID string + type SkillManifestReplaceInput struct + AllowedTools *string + Body string + Compatibility *string + Description string + Enabled bool + License *string + Metadata map[string]any + SourceMode string + Version string + type SkillModel struct + AllowedTools *string + Body string + BundleHash string + Compatibility *string + CreatedAt *string + DeletedAt *string + Description string + ETag string + Enabled bool + ID string + License *string + ManifestHash string + Metadata map[string]any + Name string + Revision int + SourceMode string + TenantID string + UpdatedAt *string + UserID *string + Version string + WorkspaceID string + type SkillMutationResult struct + ETag string + Replayed bool + Skill SkillModel + type SkillResolution struct + Skill *SkillModel + Skills []SkillModel + type SkillRevision struct + Action string + OperationID string + Skill SkillModel + type SkillRevisionPage struct + NextPageToken string + Revisions []SkillRevision + type SkillsAPI struct + func (s *SkillsAPI) CreateVersioned(ctx context.Context, input SkillManifestCreateInput, ...) (*SkillMutationResult, error) + func (s *SkillsAPI) Delete(ctx context.Context, skillID string, authority *AuthorityContext) error + func (s *SkillsAPI) DeleteVersioned(ctx context.Context, skillID string, opts SkillManifestMutationOptions) (*SkillMutationResult, error) + func (s *SkillsAPI) Get(ctx context.Context, skillID string, authority *AuthorityContext) (*SkillModel, error) + func (s *SkillsAPI) GetFile(ctx context.Context, skillID, path string) ([]byte, error) + func (s *SkillsAPI) GetManifest(ctx context.Context, skillID string) (string, error) + func (s *SkillsAPI) GetManifestWithOptions(ctx context.Context, skillID string, opts GetSkillManifestOptions) (string, error) + func (s *SkillsAPI) GetWithOptions(ctx context.Context, skillID string, opts SkillGetOptions) (*SkillModel, error) + func (s *SkillsAPI) History(ctx context.Context, skillID string, opts SkillHistoryOptions) (*SkillRevisionPage, error) + func (s *SkillsAPI) List(ctx context.Context, opts ListSkillsOptions) ([]SkillModel, error) + func (s *SkillsAPI) ListFiles(ctx context.Context, skillID string, authority *AuthorityContext) ([]map[string]any, error) + func (s *SkillsAPI) Materialize(ctx context.Context, targetDir, scope, workspaceID string) ([]string, error) + func (s *SkillsAPI) Pull(ctx context.Context, name, outDir, workspaceID string) (string, error) + func (s *SkillsAPI) Push(ctx context.Context, skillDir, scope, sourceMode, workspaceID string) (*SkillModel, error) + func (s *SkillsAPI) ReplaceManifest(ctx context.Context, skillID string, input SkillManifestReplaceInput, ...) (*SkillMutationResult, error) + func (s *SkillsAPI) Resolve(ctx context.Context, name, query, workspaceID string, ...) (*SkillResolution, error) + func (s *SkillsAPI) ResolveWithOptions(ctx context.Context, opts ResolveSkillOptions) (*SkillResolution, error) + func (s *SkillsAPI) Restore(ctx context.Context, skillID string, opts SkillManifestMutationOptions) (*SkillMutationResult, error) + func (s *SkillsAPI) Save(ctx context.Context, name, description string, opts SaveSkillOptions) (*SkillModel, error) + type TokenCreateResult struct + Token string + type TokenInfo struct + CreatedAt string + ExpiresAt *string + ID string + Name string + PrincipalType string + Revoked bool + Scopes []string + WorkspacePatterns []string + type Transport interface + Close func() error + RoundTrip func(ctx context.Context, req *Request) (*Response, error) + type TraverseGraphOptions struct + Authority *AuthorityContext + Direction string + MaxDepth int + MinStrength float64 + RelationshipTypes []string + WorkspaceID string + type UpdateAssociationOptions struct + Authority *AuthorityContext + Metadata map[string]any + Strength *float64 + type UpdateMcpServerOptions struct + Args []string + Authority *AuthorityContext + Command *string + Description *string + Enabled *bool + Env map[string]string + Headers map[string]string + Metadata map[string]any + SourceMode *string + URL *string + type UpdateMemoryOptions struct + Content *string + Importance *float64 + Metadata map[string]any + Tags []string + type UpdateThreadOptions struct + Metadata map[string]any + Title *string + WorkspaceID string + type UpdateWorkspaceOptions struct + Name *string + Settings map[string]any + Tags []string + type UploadDatasetOptions struct + DetectTimeSeries *bool + GenerateSummaries *bool + Importance float64 + Name string + SampleRows int + TargetContextID string + func (o UploadDatasetOptions) WithImportance(v float64) UploadDatasetOptions + type UploadDocumentOptions struct + ChunkOverlap int + ChunkSize int + ChunkingStrategy string + Importance float64 + RetainOriginal *bool + TargetContextID string + func (o UploadDocumentOptions) WithImportance(v float64) UploadDocumentOptions + type ValidationError struct + type Workspace struct + CreatedAt time.Time + ID string + Name string + Settings map[string]any + Tags []string + TenantID string + UpdatedAt time.Time + type WorkspaceExport struct + Associations []map[string]any + ExportedAt string + Memories []map[string]any + TotalAssociations int + TotalMemories int + Version string + WorkspaceID string + type WorkspaceObservationListOptions struct + Authority *AuthorityContext + Limit int + PageToken string + WorkspaceID string + type WorkspaceObservationMutationOptions struct + Authority *AuthorityContext + ETag string + IdempotencyKey string + WorkspaceID string + type WorkspaceObservationMutationResult struct + ETag string + Observation WorkspaceViewObservation + Replayed bool + type WorkspaceVCSObservation struct + Branch *string + Detached *bool + Dirty *bool + HeadRevision *string + Kind string + RepositoryID *string + WorktreeID *string + type WorkspaceView struct + Capabilities []string + CreatedAt time.Time + CreatedBy *string + DeletedAt *time.Time + DisplayName *string + ETag string + ID string + Kind string + MemoryContextID *string + Metadata map[string]any + Revision int + SchemaVersion int + Sequence int + TenantID string + UpdatedAt time.Time + UpdatedBy *string + ViewID string + WorkspaceID string + type WorkspaceViewCreateInput struct + Capabilities []string + DisplayName *string + Kind string + MemoryContextID *string + Metadata map[string]any + SchemaVersion int + ViewID string + type WorkspaceViewHistoryOptions struct + Authority *AuthorityContext + Limit int + PageToken string + WorkspaceID string + type WorkspaceViewListOptions struct + Authority *AuthorityContext + IncludeDeleted bool + Limit int + PageToken string + WorkspaceID string + type WorkspaceViewMutationOptions struct + Authority *AuthorityContext + ETag string + IdempotencyKey string + WorkspaceID string + type WorkspaceViewMutationResult struct + ETag string + Replayed bool + View WorkspaceView + type WorkspaceViewObservation struct + Capabilities []string + CreatedAt time.Time + CreatedBy *string + DeletedAt *time.Time + ETag string + ExecutionSite *string + ExpiresAt *time.Time + Generation string + ID string + Metadata map[string]any + ObservedAt time.Time + ObserverID string + ResourceRevision int + ResourceSequence int64 + RootRef *string + SchemaVersion int + Sequence int64 + TenantID string + ToolHostID *string + UpdatedAt time.Time + UpdatedBy *string + VCS *WorkspaceVCSObservation + ViewID string + WorkspaceID string + type WorkspaceViewObservationInput struct + Capabilities []string + ExecutionSite *string + ExpiresAt *time.Time + Generation string + Metadata map[string]any + ObservedAt *time.Time + RootRef *string + SchemaVersion int + Sequence int64 + ToolHostID *string + VCS *WorkspaceVCSObservation + type WorkspaceViewObservationPage struct + NextPageToken string + Observations []WorkspaceViewObservation + type WorkspaceViewObservationRevision struct + Action string + Observation WorkspaceViewObservation + OperationID string + type WorkspaceViewObservationRevisionPage struct + NextPageToken string + Revisions []WorkspaceViewObservationRevision + type WorkspaceViewPage struct + NextPageToken string + Views []WorkspaceView + type WorkspaceViewReplaceInput struct + Capabilities []string + DisplayName *string + Kind string + MemoryContextID *string + Metadata map[string]any + SchemaVersion int + type WorkspaceViewRevision struct + Action string + OperationID string + View WorkspaceView + type WorkspaceViewRevisionPage struct + NextPageToken string + Revisions []WorkspaceViewRevision + type WorkspaceViewsAPI struct + func (w *WorkspaceViewsAPI) Create(ctx context.Context, input WorkspaceViewCreateInput, ...) (*WorkspaceViewMutationResult, error) + func (w *WorkspaceViewsAPI) CreateObservation(ctx context.Context, viewID, observerID string, ...) (*WorkspaceObservationMutationResult, error) + func (w *WorkspaceViewsAPI) Delete(ctx context.Context, viewID string, opts WorkspaceViewMutationOptions) (*WorkspaceViewMutationResult, error) + func (w *WorkspaceViewsAPI) DeleteObservation(ctx context.Context, viewID, observerID string, ...) (*WorkspaceObservationMutationResult, error) + func (w *WorkspaceViewsAPI) Get(ctx context.Context, workspaceID, viewID string, authority *AuthorityContext) (*WorkspaceView, error) + func (w *WorkspaceViewsAPI) GetObservation(ctx context.Context, workspaceID, viewID, observerID string, ...) (*WorkspaceViewObservation, error) + func (w *WorkspaceViewsAPI) History(ctx context.Context, viewID string, opts WorkspaceViewHistoryOptions) (*WorkspaceViewRevisionPage, error) + func (w *WorkspaceViewsAPI) List(ctx context.Context, opts WorkspaceViewListOptions) (*WorkspaceViewPage, error) + func (w *WorkspaceViewsAPI) ListObservations(ctx context.Context, viewID string, opts WorkspaceObservationListOptions) (*WorkspaceViewObservationPage, error) + func (w *WorkspaceViewsAPI) ObservationHistory(ctx context.Context, viewID, observerID string, ...) (*WorkspaceViewObservationRevisionPage, error) + func (w *WorkspaceViewsAPI) Replace(ctx context.Context, viewID string, input WorkspaceViewReplaceInput, ...) (*WorkspaceViewMutationResult, error) + func (w *WorkspaceViewsAPI) ReplaceObservation(ctx context.Context, viewID, observerID string, ...) (*WorkspaceObservationMutationResult, error) + func (w *WorkspaceViewsAPI) Restore(ctx context.Context, viewID string, opts WorkspaceViewMutationOptions) (*WorkspaceViewMutationResult, error) + func (w *WorkspaceViewsAPI) RestoreObservation(ctx context.Context, viewID, observerID string, ...) (*WorkspaceObservationMutationResult, error)