Versions in this module Expand all Collapse all v1 v1.5.7 Nov 19, 2026 v1.5.6 Nov 18, 2026 v1.5.5 Nov 17, 2026 v1.5.4 Nov 6, 2026 v1.5.3 Nov 3, 2026 v1.5.2 Oct 29, 2026 v1.5.1 Oct 28, 2026 Changes in this version + const EventHeartbeat type Client + func (c *Client) DefaultJudgePrompt(ctx context.Context) (string, error) type DesktopSettings + WorkingDirectory string v1.5.0 Oct 27, 2026 Changes in this version + const AutoModelID + const ClientName + const DesignEventCreated + const DesignEventCritique + const DesignEventRender + const DesignEventVersion + const EventConclusionInjected + const EventConclusionQueued + const EventContentDelta + const EventDone + const EventError + const EventGoalStatus + const EventPermissionRequest + const EventPlanUpdate + const EventQuestionRequest + const EventReattach + const EventResurrected + const EventRun + const EventSession + const EventSteeringInjected + const EventSteeringQueued + const EventSystemMessage + const EventThinkingDelta + const EventTodosUpdate + const EventTokenUsage + const EventToolCall + const EventToolCallUpdate + const EventToolResult + const HeaderClient + const HeaderToken + const PathConfigAgents + const PathConfigBash + const PathConfigEvaluator + const PathConfigExtensions + const PathConfigMCPGateway + const PathConfigSandbox + const PathConfigServices + const PathConfigTokenOpt + const PathConfigTools + const PathContainerConfig + const PathSettings + const PathUIPolicy + const PathUIPreferences + const RoleAssistant + const RoleSystem + const RoleTool + const RoleUser + const SlotChatSide + const SlotSettings + const SlotSidebar + const SlotStatusBar + var DefaultReattach = ReattachPolicy + var ErrBasicAuthRequired = errors.New("pando: basic auth required") + var ErrNotBusy = errors.New("pando: session not busy") + var ErrUnauthorized = errors.New("pando: unauthorized") + func DefaultCAFile() string + func DescribeError(err error) string + func Esc(s string) string + func ExtensionHostPath(panelID string) string + func IsAuthError(err error) bool + func IsStatus(err error, status int) bool + func ProjectOpen(p Project) bool + func ProjectWebPrefix(projectID string) string + type APIError struct + Body string + Code string + Status int + func (e *APIError) Error() string + type ActivePersona struct + Active string + Applied string + Auto bool + DecisionModel bool + Source string + type AuthProviderType struct + DisplayName string + SupportsOAuth bool + Type string + type AuthStatus struct + Authenticated bool + EnterpriseURL string + Message string + Provider string + Source string + type BasicAuthStatus struct + BindHost string + Enabled bool + Enforced bool + Users []struct{ ... } + type ChatRequest struct + Model string + Prompt string + SessionID string + type Client struct + func New(opts Options) (*Client, error) + func (c *Client) ActiveProject(ctx context.Context) (*Project, error) + func (c *Client) AddBasicAuthUser(ctx context.Context, user, pass string) (BasicAuthStatus, error) + func (c *Client) AddProject(ctx context.Context, path, name string) error + func (c *Client) AgentVCSDiff(ctx context.Context, sessionID string) ([]VCSDiffEntry, error) + func (c *Client) Agents(ctx context.Context) ([]Obj, error) + func (c *Client) AttachStream(ctx context.Context, sessionID string, fn func(StreamEvent)) (StreamOutcome, error) + func (c *Client) AuthProviderTypes(ctx context.Context) ([]AuthProviderType, error) + func (c *Client) AutoApprove(ctx context.Context, sessionID string) (bool, error) + func (c *Client) BaseURL() string + func (c *Client) BasicAuth(ctx context.Context) (BasicAuthStatus, error) + func (c *Client) BrowseDirectories(ctx context.Context, path string) (DirListing, error) + func (c *Client) Cancel(ctx context.Context, sessionID string) error + func (c *Client) CancelGoal(ctx context.Context, sessionID string) (*GoalStatus, error) + func (c *Client) CancelOrchestratorTask(ctx context.Context, id string) error + func (c *Client) CancelQuestion(ctx context.Context, sessionID, id string) error + func (c *Client) CancelRemote(ctx context.Context, instanceID, sessionID string) error + func (c *Client) ChatStream(ctx context.Context, req ChatRequest, fn func(StreamEvent)) (StreamOutcome, error) + func (c *Client) CloseProjectWeb(ctx context.Context, id string) error + func (c *Client) CodeProjects(ctx context.Context) ([]CodeProjectInfo, error) + func (c *Client) Commands(ctx context.Context) ([]SlashCommand, error) + func (c *Client) ConfigInitStatus(ctx context.Context) (ConfigInitStatus, error) + func (c *Client) ConnectPty(ctx context.Context, sessionID string, cols, rows int, h PtyHandlers) (*PtyConn, error) + func (c *Client) CopilotLogin(ctx context.Context) (CopilotLoginInfo, error) + func (c *Client) CopilotLogout(ctx context.Context) (string, error) + func (c *Client) CreateCronJob(ctx context.Context, j CronJobCreate) error + func (c *Client) CreateFile(ctx context.Context, path string, isDir bool) error + func (c *Client) CreateOrchestratorTask(ctx context.Context, prompt, model, engine string) (OrchestratorTask, error) + func (c *Client) CreateSnapshot(ctx context.Context, name string) error + func (c *Client) DeactivateProject(ctx context.Context, id string) error + func (c *Client) DecisionModelRouter(ctx context.Context) (provider, model string, err error) + func (c *Client) DecisionRouterHealth(ctx context.Context) (DecisionHealth, error) + func (c *Client) DecisionRouterModels(ctx context.Context, r DecisionRouter, showAll bool) (RouterModels, error) + func (c *Client) DecisionRouterPull(ctx context.Context, model string, r DecisionRouter) (RouterPullJob, error) + func (c *Client) DecisionRouterPullStatus(ctx context.Context, id string) (RouterPullJob, error) + func (c *Client) DecisionRouterTest(ctx context.Context, r DecisionRouter) (RouterTest, error) + func (c *Client) DelegationMetrics(ctx context.Context) (DelegationMetrics, error) + func (c *Client) Delete(ctx context.Context, path string, out any) error + func (c *Client) DeleteBasicAuthUser(ctx context.Context, user string) (BasicAuthStatus, error) + func (c *Client) DeleteCronJob(ctx context.Context, name string) error + func (c *Client) DeleteFile(ctx context.Context, path string) error + func (c *Client) DeleteLSP(ctx context.Context, language string) error + func (c *Client) DeleteMCPServer(ctx context.Context, name string) error + func (c *Client) DeleteOrchestratorTask(ctx context.Context, id string) error + func (c *Client) DeleteProject(ctx context.Context, id string) error + func (c *Client) DeleteProviderAccount(ctx context.Context, id string) error + func (c *Client) DeleteSession(ctx context.Context, id string) error + func (c *Client) DeleteSnapshot(ctx context.Context, id string) error + func (c *Client) Derive(pathPrefix string) *Client + func (c *Client) DesignArtifact(ctx context.Context, id string) (DesignArtifact, error) + func (c *Client) DesignArtifacts(ctx context.Context) ([]DesignArtifact, error) + func (c *Client) DesignCanvasURL(ctx context.Context) (string, int, error) + func (c *Client) DesignCheckout(ctx context.Context, id string, version int) (DesignArtifact, error) + func (c *Client) DesignCritique(ctx context.Context, id string) (DesignCritiqueState, error) + func (c *Client) DesignDownload(ctx context.Context, downloadPath string) ([]byte, error) + func (c *Client) DesignExportArtifact(ctx context.Context, id, format string, slide int) (DesignExport, error) + func (c *Client) DesignInstallTemplate(ctx context.Context, name, scope string) error + func (c *Client) DesignNodes(ctx context.Context, id string, q DesignNodesQuery) ([]DesignNode, int, error) + func (c *Client) DesignRender(ctx context.Context, id string) error + func (c *Client) DesignRunCritique(ctx context.Context, id, policy string) (DesignCritiqueReport, error) + func (c *Client) DesignScreenshot(ctx context.Context, id string) ([]byte, error) + func (c *Client) DesignStatus(ctx context.Context) (DesignStatus, error) + func (c *Client) DesignSystem(ctx context.Context) (DesignSystemPayload, error) + func (c *Client) DesignSystemExamples(ctx context.Context) ([]DesignExample, error) + func (c *Client) DesignTemplates(ctx context.Context) ([]DesignTemplate, []string, error) + func (c *Client) DesignTokenURL(ctx context.Context, path string) (string, error) + func (c *Client) DesignVersions(ctx context.Context, id string) ([]DesignVersion, error) + func (c *Client) Do(ctx context.Context, method, path string, body, out any) error + func (c *Client) EvaluatorDoctor(ctx context.Context) (EvaluatorDoctor, error) + func (c *Client) EvaluatorMetrics(ctx context.Context) (EvaluatorMetrics, error) + func (c *Client) EvaluatorSessions(ctx context.Context) ([]EvaluatorSessionScore, error) + func (c *Client) EvaluatorSkills(ctx context.Context) ([]Skill, error) + func (c *Client) EvaluatorTemplates(ctx context.Context) ([]TemplateSection, error) + func (c *Client) ExtensionPanels(ctx context.Context) ([]ExtensionPanel, error) + func (c *Client) ExtractDesignSystem(ctx context.Context, source, target, name string, dryRun bool) (DesignExtractResult, error) + func (c *Client) FileOriginal(ctx context.Context, sessionID, path string) (original string, found bool, err error) + func (c *Client) FollowRemoteSession(ctx context.Context, instanceID, sessionID string, fn func(InstanceEvent)) error + func (c *Client) GenerateConfig(ctx context.Context) error + func (c *Client) Get(ctx context.Context, path string, out any) error + func (c *Client) GetActivePersona(ctx context.Context, sessionID string) (ActivePersona, error) + func (c *Client) GetDecisionModel(ctx context.Context) (DecisionModel, error) + func (c *Client) GetDesktopSettings(ctx context.Context) (DesktopSettings, error) + func (c *Client) GetModelAutoMode(ctx context.Context) (ModelAutoMode, error) + func (c *Client) GetObj(ctx context.Context, path string) (Obj, error) + func (c *Client) GetOrchestratorTask(ctx context.Context, id string) (OrchestratorTask, error) + func (c *Client) GetSession(ctx context.Context, id string) (SessionDetail, error) + func (c *Client) GetUIPreferences(ctx context.Context) (UIPreferences, error) + func (c *Client) GetUIPrefs(ctx context.Context) (UIPrefs, error) + func (c *Client) GitBranch(ctx context.Context) string + func (c *Client) Goal(ctx context.Context, sessionID string) (*GoalStatus, error) + func (c *Client) Health(ctx context.Context) (ServerInfo, error) + func (c *Client) IndexWorkdir(ctx context.Context) (projectID, jobID string, err error) + func (c *Client) InitProject(ctx context.Context, id string) error + func (c *Client) InstallSkill(ctx context.Context, it SkillCatalogItem, scope string) error + func (c *Client) InstalledSkills(ctx context.Context) ([]InstalledSkill, error) + func (c *Client) Instances(ctx context.Context) ([]InstanceInfo, error) + func (c *Client) LSPCatalog(ctx context.Context) ([]LSPServerStatus, error) + func (c *Client) LSPConfigs(ctx context.Context) ([]LSPConfig, *LSPActivation, error) + func (c *Client) ListCronJobs(ctx context.Context) ([]CronJob, bool, error) + func (c *Client) ListEmbeddingModels(ctx context.Context, provider, baseURL, apiKey string) (EmbeddingModels, error) + func (c *Client) ListFiles(ctx context.Context, dir string, hidden *bool) ([]FileEntry, error) + func (c *Client) ListLogs(ctx context.Context, q LogQuery) (LogPage, error) + func (c *Client) ListModels(ctx context.Context) (ModelList, error) + func (c *Client) ListOrchestratorTasks(ctx context.Context) ([]OrchestratorTask, error) + func (c *Client) ListProjectWebInstances(ctx context.Context) ([]ProjectWebInstance, error) + func (c *Client) ListProjects(ctx context.Context) ([]Project, error) + func (c *Client) ListSessions(ctx context.Context, limit, offset int) (SessionList, error) + func (c *Client) MCPLogin(ctx context.Context, name string) (url, message string, err error) + func (c *Client) MCPLogout(ctx context.Context, name string) error + func (c *Client) MCPServers(ctx context.Context) ([]MCPServer, error) + func (c *Client) MCPStatus(ctx context.Context, name string) (MCPAuthStatus, error) + func (c *Client) MesnadaEngines(ctx context.Context) ([]MesnadaEngine, error) + func (c *Client) ModelAutoPlayground(ctx context.Context, prompt string, history []string, cfg ModelAutoMode) (PlaygroundResponse, error) + func (c *Client) OpenProjectDesktop(ctx context.Context, id string) error + func (c *Client) OpenProjectWeb(ctx context.Context, id string) (ProjectOpenResult, error) + func (c *Client) OpenStream(ctx context.Context, method, path string, body any, fn func(SSEFrame) error) error + func (c *Client) Patch(ctx context.Context, path string, body, out any) error + func (c *Client) Pending(ctx context.Context, id string) (Pending, error) + func (c *Client) Personas(ctx context.Context) ([]string, error) + func (c *Client) Post(ctx context.Context, path string, body, out any) error + func (c *Client) ProviderAccounts(ctx context.Context) ([]Obj, error) + func (c *Client) ProviderAuthStatus(ctx context.Context, provider string) (AuthStatus, error) + func (c *Client) Put(ctx context.Context, path string, body, out any) error + func (c *Client) PutDecisionModel(ctx context.Context, d DecisionModel, clearKey bool) (DecisionModel, error) + func (c *Client) PutModelAutoMode(ctx context.Context, m ModelAutoMode) (ModelAutoMode, error) + func (c *Client) PutUIPrefs(ctx context.Context, patch UIPrefs) (UIPrefs, error) + func (c *Client) ReadFile(ctx context.Context, path string) (string, error) + func (c *Client) ReadRaw(ctx context.Context, apiPath string) ([]byte, error) + func (c *Client) ReadRawFile(ctx context.Context, path string) ([]byte, error) + func (c *Client) RegenerateAPIToken(ctx context.Context) (string, error) + func (c *Client) RegenerateTelemetryID(ctx context.Context) (string, error) + func (c *Client) ReindexAll(ctx context.Context) (ReindexResult, error) + func (c *Client) ReloadMCPServer(ctx context.Context, name string) (int, error) + func (c *Client) RemoteMessages(ctx context.Context, instanceID, sessionID string) ([]RemoteMessage, error) + func (c *Client) RemoteSessions(ctx context.Context, instanceID string, limit, offset int) (RemoteSessionPage, error) + func (c *Client) RenameFile(ctx context.Context, oldPath, newPath string) error + func (c *Client) RenameProject(ctx context.Context, id, name string) error + func (c *Client) RenameSession(ctx context.Context, id, title string) error + func (c *Client) RespondPermission(ctx context.Context, sessionID, id, action string) error + func (c *Client) RespondQuestion(ctx context.Context, sessionID, id string, answers []QuestionAnswer) error + func (c *Client) RevealBasicAuthPassword(ctx context.Context, user string) (string, error) + func (c *Client) ReviewSkill(ctx context.Context, id, decision string) error + func (c *Client) RunCronJob(ctx context.Context, name string) (string, error) + func (c *Client) SaveAgents(ctx context.Context, agents []Obj) ([]Obj, error) + func (c *Client) SaveDesignSystem(ctx context.Context, name string, tokens map[string]map[string]string) (DesignSystemPayload, error) + func (c *Client) SaveLSP(ctx context.Context, cfg LSPConfig) error + func (c *Client) SaveLSPActivation(ctx context.Context, a LSPActivation) (LSPActivation, error) + func (c *Client) SaveMCPServer(ctx context.Context, s MCPServer) error + func (c *Client) SaveProviderAccount(ctx context.Context, editID string, payload Obj) error + func (c *Client) SearchFiles(ctx context.Context, query string) ([]FileHit, error) + func (c *Client) SearchSkills(ctx context.Context, q string) ([]SkillCatalogItem, error) + func (c *Client) SelectModel(ctx context.Context, model, sessionID string) (SetActiveModelResult, error) + func (c *Client) SendObj(ctx context.Context, method, path string, body any) (Obj, error) + func (c *Client) SendRemoteMessage(ctx context.Context, instanceID, sessionID, content string) error + func (c *Client) SessionModel(ctx context.Context, sessionID string) (SessionModel, error) + func (c *Client) SetActiveModel(ctx context.Context, model, sessionID string) error + func (c *Client) SetActivePersona(ctx context.Context, name string) error + func (c *Client) SetAutoApprove(ctx context.Context, sessionID string, enabled bool) error + func (c *Client) SetBasicAuthEnabled(ctx context.Context, on bool) (BasicAuthStatus, error) + func (c *Client) SetCronJobEnabled(ctx context.Context, name string, enabled bool) error + func (c *Client) SetLanguagePreference(ctx context.Context, lang string) error + func (c *Client) SetupAddProviderAccount(ctx context.Context, a SetupProviderAccount) error + func (c *Client) SetupComplete(ctx context.Context) (SetupStatus, error) + func (c *Client) SetupCopilotLogin(ctx context.Context) (SetupCopilotCode, error) + func (c *Client) SetupCopilotStatus(ctx context.Context) (bool, error) + func (c *Client) SetupJob(ctx context.Context, id string) (SetupJob, error) + func (c *Client) SetupOllamaInstall(ctx context.Context, option string) (SetupJob, error) + func (c *Client) SetupOllamaPull(ctx context.Context, model string) (SetupJob, error) + func (c *Client) SetupOllamaStart(ctx context.Context) (bool, error) + func (c *Client) SetupOllamaStatus(ctx context.Context) (SetupOllamaStatus, error) + func (c *Client) SetupProviderAccounts(ctx context.Context) ([]SetupProviderAccount, error) + func (c *Client) SetupRemembrances(ctx context.Context, doc, code string) error + func (c *Client) SetupSaveModels(ctx context.Context, main, fast string) (SuggestedModels, error) + func (c *Client) SetupScope(ctx context.Context, scope string) (SetupScopeResult, error) + func (c *Client) SetupStatus(ctx context.Context) (SetupStatus, error) + func (c *Client) SetupSuggestedModels(ctx context.Context, provider string, refresh bool) (SuggestedModels, error) + func (c *Client) SnapshotAction(ctx context.Context, id, action string) error + func (c *Client) Snapshots(ctx context.Context) ([]Snapshot, error) + func (c *Client) StartCopilotLogin(ctx context.Context) (CopilotLogin, error) + func (c *Client) Steer(ctx context.Context, sessionID, prompt string) error + func (c *Client) StopProject(ctx context.Context, id string) (cancelled int, err error) + func (c *Client) Subscribe(ctx context.Context, path string, fn func(SSEFrame)) error + func (c *Client) SubscribeConfigEvents(ctx context.Context, fn func(ConfigEvent)) error + func (c *Client) SubscribeDesignEvents(ctx context.Context, fn func(DesignEvent)) error + func (c *Client) SubscribeNotifications(ctx context.Context, fn func(Notification)) error + func (c *Client) SubscribeProjectEvents(ctx context.Context, fn func(ProjectEvent)) error + func (c *Client) SubscribeSessionEvents(ctx context.Context, fn func(SessionEvent)) error + func (c *Client) Tasks(ctx context.Context) ([]Task, error) + func (c *Client) TestEmbedding(ctx context.Context, kind string) (*EmbeddingTestResult, error) + func (c *Client) TestProviderAccount(ctx context.Context, id string) (ProviderTestResult, error) + func (c *Client) Token(ctx context.Context) (string, error) + func (c *Client) UIPolicy(ctx context.Context) (UIPolicy, error) + func (c *Client) URL(path string) string + func (c *Client) UninstallSkill(ctx context.Context, name string) error + func (c *Client) VCSBlob(ctx context.Context, hash string) (string, error) + func (c *Client) VCSCommitDetail(ctx context.Context, commitID string) (VCSCommitDetail, error) + func (c *Client) VCSLog(ctx context.Context, sessionID string) ([]VCSCommit, error) + func (c *Client) VCSRevert(ctx context.Context, commitID string) error + func (c *Client) VCSRevertFiles(ctx context.Context, commitID string, files []string) ([]string, error) + func (c *Client) VCSSessions(ctx context.Context) ([]VCSSession, error) + func (c *Client) Version(ctx context.Context) (VersionStatus, error) + func (c *Client) Workspace(ctx context.Context) (Workspace, error) + func (c *Client) WriteFile(ctx context.Context, path, content string) error + type CodeProjectInfo struct + Name string + ProjectID string + RootPath string + Status string + type ConfigEvent struct + ChangedKeys []string + Connected bool + Event string + Section string + Source string + type ConfigInitStatus struct + HasLocalConfig bool + HasPandoDir bool + ShouldGenerate bool + type ContextFilterInfo struct + BySource map[string]FilterCounts + Dropped int + Kept int + LatencyMs *float64 + Notice string + Reason string + RouterModel string + RouterProvider string + Threshold *float64 + type CopilotLogin struct + Message string + UserCode string + VerificationURI string + type CopilotLoginInfo struct + UserCode string + VerificationURI string + type CronJob struct + Enabled bool + Engine string + Model string + Name string + NextRun string + Prompt string + Schedule string + Tags []string + Timeout string + WorkDir string + type CronJobCreate struct + Enabled bool + Engine string + Model string + Name string + Prompt string + Schedule string + Timeout string + type DecisionHealth struct + Error string + OK bool + Report *HealthReport + type DecisionModel struct + Router DecisionRouter + TimeoutMs int + Warnings []string + type DecisionRouter struct + APIKey string + APIKeyMasked string + APIKeySet bool + BaseURL string + EffectiveBaseURL string + Headers map[string]string + KeepAlive string + Model string + Provider string + type DelegationMetrics struct + CapRejections int + ColdFallbacks int + ExternalHits int + ExternalReattachFailed int + ExternalReattachRecovered int + LiveInjections int + Resurrections int + WarmAttempts int + WarmFailures int + WarmHitRate float64 + WarmHits int + type DesignArtifact struct + BridgeURL string + CreatedAt string + CurrentVersion int + Dir string + Entry string + FileURL string + ID string + Kind string + SessionID string + Slides int + Slug string + Title string + URL string + UpdatedAt string + type DesignBox struct + H float64 + W float64 + X float64 + Y float64 + type DesignCritique struct + ArtifactID string + CreatedAt string + ID string + Issues []DesignIssue + Score float64 + Summary string + Version int + type DesignCritiqueReport struct + Critique DesignCritique + Decision DesignGateDecision + RenderError string + Rendered bool + Settings DesignCritiqueSettings + type DesignCritiqueScore struct + Score float64 + Summary string + type DesignCritiqueSettings struct + Enabled bool + MaxRounds int + Policy string + Threshold float64 + type DesignCritiqueState struct + Critique *DesignCritique + Decision *DesignGateDecision + Exists bool + Settings DesignCritiqueSettings + type DesignEvent struct + ArtifactID string + Kind string + Title string + type DesignExample struct + Name string + Title string + type DesignExport struct + Bytes int64 + DownloadURL string + Note string + Path string + type DesignExtractResult struct + MirrorError string + Mirrored string + Result struct{ ... } + Saved bool + System *DesignSystemPayload + type DesignGateDecision struct + Blocking int + Iterate bool + MaxRounds int + Pass bool + Policy string + Reason string + Round int + Score float64 + Threshold float64 + type DesignIssue struct + Code string + Fix string + Message string + NodeID string + Severity string + Slide int + type DesignNode struct + Box DesignBox + NodeID string + ParentID string + Role string + Selector string + Slide int + Styles map[string]string + Text string + type DesignNodesQuery struct + Limit int + NodeID string + Slide *int + Styles bool + Text string + type DesignStatus struct + Enabled bool + Kinds []string + OutputDir string + Preview bool + PreviewReason string + Renderer bool + type DesignSystemPayload struct + ContractPath string + Exists bool + StylesheetPath string + System struct{ ... } + TokensPath string + type DesignTemplate struct + Category string + CraftReferences []string + CritiquePolicy string + Description string + ExamplePrompt string + Installed bool + Kind string + Mode string + Name string + Preview string + RequiresSystem bool + Scenario string + Source string + SourcePath string + Startable bool + type DesignVersion struct + ArtifactID string + CreatedAt string + Critique *DesignCritiqueScore + Number int + SnapshotID string + Summary string + type DesktopSettings struct + DefaultModel string + Theme string + TrayOnMinimizeClose bool + type DirListing struct + Dirs []string + Parent string + Path string + type EmbeddingModelInfo struct + ID string + Name string + Size string + type EmbeddingModels struct + Error string + Models []EmbeddingModelInfo + Source string + type EmbeddingTestResult struct + Dimension int + Error string + LatencyMS int + Model string + OK bool + Provider string + type EvaluatorComponents struct + Components map[string]float64 + Weights map[string]float64 + type EvaluatorDaily struct + AvgReward float64 + Day string + Evaluations int + JudgeCalls int + JudgeCompletionToken int + JudgePromptTokens int + type EvaluatorDoctor struct + Problem string + Report struct{ ... } + Text string + type EvaluatorJudge struct + Confidence float64 + KeyPoints []string + NewSkill string + Reasoning string + TaskType string + type EvaluatorMetrics struct + ActiveSkills int + AvgReward float64 + Daily []EvaluatorDaily + IsEnabled bool + JudgeCalls int + JudgeCompletionTokens int + JudgePromptTokens int + Problem string + TotalSessions int + TotalTemplates int + type EvaluatorPatternHit struct + Index int + Pattern string + Snippet string + Weight float64 + type EvaluatorSessionScore struct + Components EvaluatorComponents + Corrections int + EvaluatedAt int64 + Feedback string + FeedbackNote string + ID string + JudgeAnalysis *EvaluatorJudge + JudgeCompletionTokens int + JudgeModel string + JudgePromptTokens int + MessageCount int + PatternHits []EvaluatorPatternHit + Reward float64 + SessionID string + Skills []struct{ ... } + Title string + Variants []struct{ ... } + type ExtensionPanel struct + Entry string + Extension string + ID string + Icon string + Order int + Slot string + Title string + type FieldError struct + Field string + Message string + func ParseAPIError(err error) (string, []FieldError) + type FileEntry struct + IsDir bool + Name string + Path string + Size int64 + type FileHit struct + IsDir bool + Name string + Path string + Size int64 + type FilterCounts struct + Dropped int + Kept int + type GoalResponse struct + Goal *GoalStatus + type GoalStatus struct + CompletedAt *int64 + Iteration int64 + MaxIterations int64 + NextStep string + Objective string + Progress string + StartedAt int64 + Status string + type HealthReport struct + Authorized bool + IsDecisionModel bool + Kind string + LatencyMs int64 + Model string + ModelPresent bool + OK bool + Problems []string + Reachable bool + Remote bool + Version string + VersionOK bool + type InstalledSkill struct + Active bool + Description string + Name string + Scope string + SkillID string + Source string + Version string + type InstanceEvent struct + Payload json.RawMessage + Topic string + type InstanceInfo struct + InstanceID string + IsPrimary bool + Mode string + PID int + Path string + PubPort int + RPCPort int + StartedAt string + type LSPActivation struct + ActivateOn string + AutoActivate bool + AutoInstall bool + InstallTimeout string + Runner string + StartupTimeout string + type LSPConfig struct + Args []string + Autostart bool + Command string + Disabled bool + Filenames []string + Language string + Languages []string + type LSPServerStatus struct + Args []string + Autostart bool + Availability string + AvailabilityLabel string + Command string + Configured bool + Description string + Disabled bool + Filenames []string + Hint string + Installing bool + Languages []string + Name string + OptIn bool + Reason string + ResolvedCommand string + RunState string + URL string + type Location struct + Line int + Path string + type LogEntry struct + Details string + ID string + Level string + Message string + Source string + Timestamp string + type LogPage struct + Logs []LogEntry + Total int + type LogQuery struct + Level string + Limit int + Offset int + Search string + Since string + type MCPAuth struct + HasPassword bool + HasToken bool + HeaderName string + OAuth *MCPOAuth + Password string + Token string + Type string + Username string + type MCPAuthStatus struct + ClientID string + DynamicallyRegistered bool + Expired bool + ExpiresAt string + HasTokens bool + Type string + type MCPOAuth struct + AuthServerMetadataURL string + CallbackPort int + ClientID string + ClientSecret string + HasClientSecret bool + RedirectURI string + Scopes []string + type MCPServer struct + Args []string + Auth *MCPAuth + AuthStatus *MCPAuthStatus + Command string + Env []string + Headers map[string]string + Name string + Running bool + Tools []MCPTool + Type string + URL string + type MCPTool struct + Description string + Name string + type MesnadaEngine struct + Binary string + Enabled bool + Installed bool + Kind string + Label string + Locked bool + Name string + Path string + type Message struct + CreatedAt int64 + ID string + Model string + Parts []Part + Role string + SessionID string + UpdatedAt int64 + func (m Message) Text() string + type Model struct + AccountID string + Badges []string + CanReason bool + ContextWindow int64 + CostPer1MIn float64 + CostPer1MOut float64 + Description string + ID string + MaxOutputTokens int64 + Name string + Provider string + RouterHealthy bool + RouterModel string + RouterProvider string + SupportsAttachments bool + SupportsReasoningEffort bool + type ModelAutoMode struct + AutoSelected bool + DefaultAuto bool + Enabled bool + HistoryPrompts int + MinConfidence float64 + Routes []ModelAutoRoute + Threshold float64 + Warnings []string + type ModelAutoRoute struct + Description string + Disabled bool + Fallbacks []string + ID string + Model string + type ModelList struct + AutoSelected bool + Errors map[string]string + Models []Model + type Notification struct + ID string + Level string + Message string + Source string + Time string + type Obj = map[string]any + func DecodeObj(data []byte) (Obj, error) + func ObjList(o Obj, key string) []Obj + type Options struct + BaseURL string + BasicAuthPassword string + BasicAuthUser string + CAFile string + HTTPClient *http.Client + RequestTimeout time.Duration + Token string + type OrchestratorTask struct + Agent string + CreatedAt string + CurrentTool string + Error string + ID string + Model string + Name string + Output string + Persona string + Progress int + Prompt string + Status string + Tokens int + ToolCalls []OrchestratorToolCall + type OrchestratorToolCall struct + Arguments map[string]any + EndedAt string + ID string + Kind string + Locations []string + Name string + Result string + StartedAt string + Status string + Title string + type Part struct + FinishReason string + FinishTime int64 + Kind PartKind + MIMEType string + Path string + Raw json.RawMessage + Text string + ToolCall *ToolCallPart + ToolResult *ToolResultPart + func (p *Part) UnmarshalJSON(b []byte) error + type PartKind int + const PartBinary + const PartFinish + const PartImageURL + const PartOther + const PartText + const PartThinking + const PartToolCall + const PartToolResult + type Pending struct + Permissions []PermissionRequest + Questions []QuestionRequest + RunSeq int64 + Running bool + type PermissionRequest struct + Action string + Description string + GrantKey string + ID string + Justification string + NeverAutoApprove bool + Params json.RawMessage + Path string + RequireExplicitApproval bool + SessionID string + ToolName string + type PlanEntry struct + ActiveForm string + Priority string + Status string + Title string + type PlaygroundDecision struct + Candidates []string + Confidence float64 + CostUSD *float64 + Error string + LatencyMs int64 + Matched bool + Probabilities map[string]float64 + Probability float64 + Reason string + RouteID string + RouterModel string + RouterProvider string + type PlaygroundResponse struct + Decision PlaygroundDecision + Skipped map[string]string + UsableCandidates []string + type Project struct + CreatedAt int64 + DelegationSpawned bool + Delegations int + External bool + ID string + Initialized bool + LastOpened int64 + Name string + Path string + Status string + UpdatedAt int64 + WebPort int + WebState string + WebURL string + type ProjectErrorBody struct + Detail string + Error string + Limit int + Path string + func ParseProjectError(err error) ProjectErrorBody + type ProjectEvent struct + Delegations int + Error string + ProjectID string + Status string + Type string + WebPort int + type ProjectOpenResult struct + ProjectID string + Status string + WebPort int + WebURL string + type ProjectWebInstance struct + Delegations int + Error string + Name string + Path string + ProjectID string + StartedAt string + State string + WebPort int + WebURL string + type ProviderTestResult struct + Error string + ModelCount int + OK bool + type PtyConn struct + func (p *PtyConn) Detach() error + func (p *PtyConn) Done() <-chan struct{} + func (p *PtyConn) Resize(cols, rows int) error + func (p *PtyConn) Terminate() error + func (p *PtyConn) Write(b []byte) (int, error) + type PtyHandlers struct + OnClose func(err error) + OnData func([]byte) + OnExit func(code int) + OnReady func(PtyReady) + type PtyReady struct + Dir string + Reattach bool + SessionID string + Shell string + type Question struct + Header string + ID string + MultiSelect bool + Options []QuestionOption + Question string + type QuestionAnswer struct + OtherText string + QuestionID string + Selected []string + type QuestionOption struct + Description string + Label string + type QuestionRequest struct + ID string + Questions []Question + SessionID string + type ReattachPolicy struct + Delay time.Duration + MaxAttempts int + MaxDelay time.Duration + type ReindexResult struct + Failed []struct{ ... } + Started []struct{ ... } + type RemoteMessage struct + Content string + CreatedAt string + ID string + Role string + type RemoteSession struct + ID string + MessageCount int + Title string + UpdatedAt string + type RemoteSessionPage struct + HasMore bool + Sessions []RemoteSession + Total int + type RouterModel struct + ID string + Name string + type RouterModels struct + Error string + Hint string + Models []RouterModel + Status string + Suggestions []string + type RouterPullJob struct + Completed int64 + Error string + ID string + State string + Status string + Target string + Total int64 + type RouterTest struct + Error string + OK bool + Problems []string + Report *HealthReport + type RoutingInfo struct + Confidence *float64 + ErrorClass string + FallbackUsed bool + Kind string + Matched bool + Model string + Notice string + Probability *float64 + Reason string + RouteID string + RouterModel string + RouterProvider string + type SSEFrame struct + Data string + Event string + ID string + type SSEParser struct + func (p *SSEParser) Finish() []SSEFrame + func (p *SSEParser) Push(chunk []byte) []SSEFrame + type ServerInfo struct + ParentInstanceID string + ProjectID string + ProjectName string + PublicBasePath string + StartupMode string + Status string + Version string + type Session struct + CacheCreationTokens int64 + CacheReadTokens int64 + CompletionTokens int64 + Cost float64 + CreatedAt int64 + ID string + MessageCount int64 + ParentSessionID string + PromptTokens int64 + ReasoningTokens int64 + SummaryMessageID string + Title string + UpdatedAt int64 + func (s Session) Updated() time.Time + type SessionDetail struct + BusyElsewhere bool + IsRunning bool + Messages []Message + RunSeq int64 + Session Session + type SessionEvent struct + ID string + Session SessionSummary + Type string + type SessionList struct + HasMore bool + Limit int + Offset int + Sessions []SessionSummary + Total int + type SessionModel struct + AutoSelected bool + Model string + Override bool + SessionID string + type SessionSummary struct + BusyElsewhere bool + IsRunning bool + PromptPreview string + RunSeq int64 + type SetActiveModelResult struct + Model string + Scope string + type SetupCopilotCode struct + ExpiresIn int + Interval int + UserCode string + VerificationURI string + type SetupJob struct + Completed int64 + Error string + ID string + Kind string + Output []string + State string + Status string + Target string + Total int64 + type SetupOllamaOption struct + Command string + ID string + Label string + Reason string + Recommended bool + Runnable bool + URL string + type SetupOllamaStatus struct + BaseURL string + BinaryPath string + CanStart bool + CodeModel string + DocumentModel string + HasCodeModel bool + HasDocumentModel bool + InstallOptions []SetupOllamaOption + Installed bool + Models []string + OS string + Running bool + Version string + type SetupProviderAccount struct + APIKey string + BaseURL string + Disabled bool + DisplayName string + ID string + Type string + type SetupScopeResult struct + ConfigPath string + Scope string + Status SetupStatus + type SetupStatus struct + CoderModel string + CoderModelValid bool + Completed bool + DefaultGlobalConfigPath string + GlobalConfigPath string + HasGlobalConfig bool + HasLocalConfig bool + HasUsableProvider bool + IsHomeDir bool + LocalConfigPath string + Needed bool + ProviderAccounts int + RemembrancesEnabled bool + WorkingDir string + type Skill struct + Confidence float64 + Description string + EvalCount int + ID string + Name string + Status string + SuccessRate float64 + TaskType string + Uses int + type SkillCatalogItem struct + ID string + Installs int + Name string + SkillID string + Source string + type SlashCommand struct + AcceptsArgs bool + Description string + Name string + type Snapshot struct + CreatedAt string + FilesCount int + ID string + Name string + SessionID string + Size int64 + Status string + type StreamEvent struct + ContextFilter json.RawMessage + Error string + Goal *GoalStatus + Message string + PermissionRequest *PermissionRequest + Plan []PlanEntry + QuestionRequest *QuestionRequest + Raw json.RawMessage + Routing json.RawMessage + RunSeq int64 + Running bool + SessionID string + Text string + Todos []Todo + TokenUsage *TokenUsage + ToolCall *ToolCallEvent + ToolCallUpdate *ToolCallUpdateEvent + ToolResult *ToolResultEvent + Type string + func ParseStreamEvent(f SSEFrame) StreamEvent + func (e StreamEvent) ContextFilterInfo() *ContextFilterInfo + func (e StreamEvent) HasContent() bool + func (e StreamEvent) RoutingInfo() *RoutingInfo + type StreamOutcome struct + Done bool + LastError string + Reattached int + SessionID string + type SuggestedModels struct + FastModel string + MainModel string + Provider string + type Task struct + Agent string + CurrentTool string + ID string + Model string + Name string + Progress int + Status string + type TemplateSection struct + Section string + Variants []TemplateVariant + type TemplateVariant struct + AvgReward float64 + ID string + IsDefault bool + Missing bool + Name string + Path string + TimesUsed int + UCBScore float64 + type Todo struct + ActiveForm string + Content string + Priority string + Status string + type TokenUsage struct + CacheCreationTokens int64 + CacheReadTokens int64 + CompletionTokens int64 + ContextWindow int64 + Cost float64 + Estimated bool + PromptTokens int64 + ReasoningTokens int64 + type ToolCallEvent struct + ID string + Input string + Kind string + Locations []Location + Name string + Status string + Title string + type ToolCallPart struct + Finished bool + ID string + Input string + Name string + type ToolCallUpdateEvent struct + ID string + Input string + Kind string + Locations []Location + Status string + Title string + type ToolDiff struct + FilePath string + NewString string + OldString string + type ToolResultEvent struct + Content string + Diff *ToolDiff + Images []string + IsError bool + Kind string + Locations []Location + Name string + RawOutput json.RawMessage + Status string + Terminal *ToolTerminal + Title string + ToolCallID string + type ToolResultPart struct + Content string + IsError bool + Metadata string + Name string + ToolCallID string + type ToolTerminal struct + ExitCode int + Signal string + TerminalID string + type UIPolicy struct + Banner UIPolicyBanner + HiddenSections []string + ReadOnlyLabel string + ReadOnlySections []string + type UIPolicyBanner struct + Link string + Text string + type UIPreferences struct + ChatMode string + Language string + type UIPrefs struct + ChatMode string + Language string + SidebarCollapsed *bool + Theme string + ThemeAccent string + ThemeMode string + type VCSCommit struct + ChangedFiles int + ChangedTotalSize int64 + CreatedAt string + Description string + FileCount int + ID string + IsBaseline bool + ParentID string + SessionID string + ShortID string + TotalSize int64 + type VCSCommitDetail struct + Commit VCSCommitInfo + Diff []VCSDiffEntry + type VCSCommitInfo struct + CreatedAt string + FilesCount int + ID string + Name string + ParentID string + SessionID string + ShortID string + Size int64 + Status string + Type string + type VCSDiffEntry struct + NewHash string + NewSize int64 + OldHash string + OldSize int64 + Path string + Type string + type VCSSession struct + CommitCount int + SessionID string + type VersionStatus struct + Checkable bool + Latest string + ReleaseURL string + UpdateAvailable bool + UpdateCommand string + Version string + type Workspace struct + CWD string + Version string