| 1 | // Code generated by go run . -emit-contract; DO NOT EDIT. |
| 2 | /* eslint-disable */ |
| 3 | |
| 4 | export const DESKTOP_PROTOCOL_VERSION = 11; |
| 5 | |
| 6 | export const DESKTOP_CONTRACT_DIGEST = "sha256:bd3ca289b0444e33be634816036c2a8debcdb8ae5f87262a82eff6a1796bb448"; |
| 7 | |
| 8 | export const DESKTOP_COMMANDS = [ |
| 9 | "AIRenameSession", |
| 10 | "AIRenameSessionTarget", |
| 11 | "AbandonPendingUpdate", |
| 12 | "AcceptDelivery", |
| 13 | "AcceptDeliveryToTab", |
| 14 | "AcceptMemorySuggestion", |
| 15 | "AcceptMemorySuggestionForTab", |
| 16 | "AcceptSkillSuggestion", |
| 17 | "AcceptSkillSuggestionForTab", |
| 18 | "AcknowledgeForkOperation", |
| 19 | "ActivateBaseStyle", |
| 20 | "ActivateThemePack", |
| 21 | "ActivateTopic", |
| 22 | "ActiveWorkForTab", |
| 23 | "AddMCPServer", |
| 24 | "AddOfficialProviderAccess", |
| 25 | "AddPermissionRule", |
| 26 | "AddProviderConnection", |
| 27 | "AddProviderConnectionWithOptions", |
| 28 | "AddProviderConnectionWithURL", |
| 29 | "AddProviderPresetAccess", |
| 30 | "AddRemoteForward", |
| 31 | "AddRemoteHost", |
| 32 | "AddRemoteProject", |
| 33 | "AddSkillPath", |
| 34 | "AnswerMCPInteractionForTab", |
| 35 | "AnswerMCPInteractionForTurn", |
| 36 | "AnswerPromptForTab", |
| 37 | "AnswerQuestion", |
| 38 | "AnswerQuestionForTab", |
| 39 | "AnswerRemoteTab", |
| 40 | "AppendSessionExportPage", |
| 41 | "ApplyModelSettings", |
| 42 | "ApplySessionLifecycle", |
| 43 | "ApplyUpdateRequest", |
| 44 | "Approve", |
| 45 | "ApproveRemoteTab", |
| 46 | "ApproveTab", |
| 47 | "ApproveTabForTurn", |
| 48 | "ArchiveCanonicalSession", |
| 49 | "ArchiveSessionTarget", |
| 50 | "AttachDropped", |
| 51 | "AttachDroppedForComposerTarget", |
| 52 | "AttachDroppedForTab", |
| 53 | "AttachDroppedForTarget", |
| 54 | "AttachmentDataURL", |
| 55 | "AttachmentDataURLForComposerTarget", |
| 56 | "AttachmentDataURLForTab", |
| 57 | "AttachmentDataURLForTarget", |
| 58 | "AuthenticateMCPServer", |
| 59 | "AuthorizeAndConnectMCPServer", |
| 60 | "AvailableSubagentTools", |
| 61 | "BackgroundRuntimes", |
| 62 | "Balance", |
| 63 | "BalanceForTab", |
| 64 | "BeginDraftSubmission", |
| 65 | "BeginSessionExportForTarget", |
| 66 | "BotRuntimeStatus", |
| 67 | "Cancel", |
| 68 | "CancelDraftSubmission", |
| 69 | "CancelJob", |
| 70 | "CancelJobForTab", |
| 71 | "CancelJobsForTab", |
| 72 | "CancelRemoteTab", |
| 73 | "CancelRemoteTabJobs", |
| 74 | "CancelSessionExport", |
| 75 | "CancelSessionForTab", |
| 76 | "CancelSessionPreparation", |
| 77 | "CancelShellInstall", |
| 78 | "CancelTab", |
| 79 | "CancelTabWithInboxItems", |
| 80 | "CancelTabWithInboxItemsResult", |
| 81 | "CancelTask", |
| 82 | "CancelTaskByKey", |
| 83 | "CancelTaskForTab", |
| 84 | "CancelTrySubagentProfile", |
| 85 | "Capabilities", |
| 86 | "CapabilityDiagnostics", |
| 87 | "CaptureAttachmentTarget", |
| 88 | "CaptureInboxTarget", |
| 89 | "CheckHistoricalSourceUpdate", |
| 90 | "CheckRemotePlatform", |
| 91 | "CheckUpdate", |
| 92 | "Checkpoints", |
| 93 | "CheckpointsForTab", |
| 94 | "ChooseRecoveryBranch", |
| 95 | "CleanRecoveryLineage", |
| 96 | "CleanRemoteLegacyWorkbenchData", |
| 97 | "ClearBotSecret", |
| 98 | "ClearGoalForTab", |
| 99 | "ClearMCPServerAuthentication", |
| 100 | "ClearProviderKey", |
| 101 | "ClearRemoteTabSession", |
| 102 | "ClearSession", |
| 103 | "ClearSessionForTab", |
| 104 | "CloseMainWindow", |
| 105 | "CloseMergedWorktreeTab", |
| 106 | "CloseRemoteTab", |
| 107 | "CloseTab", |
| 108 | "CloseTabWithPolicy", |
| 109 | "CloseTerminalForTab", |
| 110 | "Commands", |
| 111 | "CommitRewindForTab", |
| 112 | "CommitWorkspaceFileRevertForTab", |
| 113 | "Compact", |
| 114 | "CompactForTab", |
| 115 | "CompactRemoteTab", |
| 116 | "ConfirmAction", |
| 117 | "ConfirmRemoteHostKey", |
| 118 | "ConfirmRemoteSecret", |
| 119 | "ConnectKey", |
| 120 | "ConnectRemoteHost", |
| 121 | "ContextPanel", |
| 122 | "ContextUsageForTab", |
| 123 | "ControlHistoricalImport", |
| 124 | "CopySessionTarget", |
| 125 | "CopyThemePack", |
| 126 | "CreateBlankProject", |
| 127 | "CreateDeliveryWorktree", |
| 128 | "CreateForkForTab", |
| 129 | "CreateForkRemoteTab", |
| 130 | "CreateIsolatedWorktree", |
| 131 | "CreatePresentedBrowserPreviewForTab", |
| 132 | "CreateSession", |
| 133 | "CreateSubagentProfile", |
| 134 | "CreateTerminalForTab", |
| 135 | "CreateTopic", |
| 136 | "CreateWorkspaceBrowserPreviewForTab", |
| 137 | "CredentialDiagnostics", |
| 138 | "CurrentTaskSessionID", |
| 139 | "DeleteInboxItem", |
| 140 | "DeleteProvider", |
| 141 | "DeleteRecoveryCopy", |
| 142 | "DeleteRemotePath", |
| 143 | "DeleteRemoteProjectSession", |
| 144 | "DeleteSession", |
| 145 | "DeleteSessionTarget", |
| 146 | "DeleteSubagentProfile", |
| 147 | "DeleteThemePack", |
| 148 | "DeleteTopic", |
| 149 | "DeliveryWorktreeAvailability", |
| 150 | "DesktopStartupSettings", |
| 151 | "DiagnoseBotConnection", |
| 152 | "DisableThemePack", |
| 153 | "DiscardSessionDraft", |
| 154 | "DisconnectRemoteHost", |
| 155 | "DismissSessionDraft", |
| 156 | "EditGoalForTab", |
| 157 | "EditRemoteTabGoal", |
| 158 | "Effort", |
| 159 | "EffortForTab", |
| 160 | "EnqueueForAttachmentTarget", |
| 161 | "EnqueueInboxFollowup", |
| 162 | "EnqueueInboxFollowupForTarget", |
| 163 | "EnqueueInboxFollowupWithInvocations", |
| 164 | "EnqueueInboxSteer", |
| 165 | "EnqueueInboxSteerForTurn", |
| 166 | "EnsureBlankSurface", |
| 167 | "EnsureBlankTab", |
| 168 | "EnsureRemoteProjectSessions", |
| 169 | "ExportGoalDiagnostics", |
| 170 | "ExportScrollDiagnostics", |
| 171 | "ExportThemePack", |
| 172 | "ExtensionActions", |
| 173 | "ExternalOpeners", |
| 174 | "ExternalOpenersForTab", |
| 175 | "FetchAllProviderModelCatalogs", |
| 176 | "FetchAllProviderModels", |
| 177 | "FetchProviderModelCatalog", |
| 178 | "FetchProviderModelCatalogDraft", |
| 179 | "FetchProviderModels", |
| 180 | "FinalizeWorktreeMerge", |
| 181 | "FinishSessionExport", |
| 182 | "Forget", |
| 183 | "ForgetForTab", |
| 184 | "ForgetRemoteTab", |
| 185 | "Fork", |
| 186 | "ForkForTab", |
| 187 | "ForkRemoteTab", |
| 188 | "ForkSession", |
| 189 | "ForkSessionTarget", |
| 190 | "ForkTargetsForTab", |
| 191 | "ForkTargetsRemoteTab", |
| 192 | "ForkWorktreeForTab", |
| 193 | "GetActiveThemePack", |
| 194 | "GetDesktopShellStatus", |
| 195 | "GetDesktopZoomFactor", |
| 196 | "GetDraftContext", |
| 197 | "GetDraftSubmission", |
| 198 | "GetHistoricalImportStatus", |
| 199 | "GetHistoryIndexStatus", |
| 200 | "GetHistorySearchContext", |
| 201 | "GetLegacyEmptySessionCleanupStatus", |
| 202 | "GetModelSettingsApplication", |
| 203 | "GetModelSettingsRequest", |
| 204 | "GetPinnedFilesForTab", |
| 205 | "GetProjectGroups", |
| 206 | "GetProjectTreeRuntimeSnapshot", |
| 207 | "GetProjectTreeSnapshot", |
| 208 | "GetRecoveryLineage", |
| 209 | "GetRuntimeStateSnapshot", |
| 210 | "GetSessionActivityBaseline", |
| 211 | "GetSessionArchitectureDiagnostics", |
| 212 | "GetSessionCatalogStatus", |
| 213 | "GetSessionDraft", |
| 214 | "GetSessionDraftState", |
| 215 | "GetSessionOrganization", |
| 216 | "GetSessionPreparation", |
| 217 | "GetSessionUpgradeStatus", |
| 218 | "GetSessionVersionState", |
| 219 | "GetTask", |
| 220 | "GetTaskCatalogStatus", |
| 221 | "GetThemeExperience", |
| 222 | "GetToolRecoveryForTab", |
| 223 | "GetTopicSummary", |
| 224 | "GetWorkspaceSnapshot", |
| 225 | "GetWorktreeStatus", |
| 226 | "GitBranches", |
| 227 | "GitBranchesForTab", |
| 228 | "GitCheckout", |
| 229 | "GitCheckoutForTab", |
| 230 | "GitCreateBranch", |
| 231 | "GitCreateBranchForTab", |
| 232 | "HeartbeatGenerateID", |
| 233 | "HeartbeatListTasks", |
| 234 | "HeartbeatReloadConfig", |
| 235 | "HeartbeatReloadTasks", |
| 236 | "HeartbeatSaveConfig", |
| 237 | "HeartbeatSaveTasks", |
| 238 | "HeartbeatTriggerNow", |
| 239 | "History", |
| 240 | "HistoryCheckpointTurnsForTab", |
| 241 | "HistoryContentForTab", |
| 242 | "HistoryContentForTarget", |
| 243 | "HistoryForTab", |
| 244 | "HistoryPage", |
| 245 | "HistoryPageForTab", |
| 246 | "HistorySliceForTab", |
| 247 | "HistorySliceForTarget", |
| 248 | "HooksSettings", |
| 249 | "ImportHistoricalSession", |
| 250 | "ImportThemePack", |
| 251 | "InboxHasItems", |
| 252 | "InboxSnapshot", |
| 253 | "InspectWorktreeMerge", |
| 254 | "InstallMCPServer", |
| 255 | "InstallPlugin", |
| 256 | "InstallShellSupport", |
| 257 | "InterruptTurnForTab", |
| 258 | "InterruptTurnWithInboxItemsForTab", |
| 259 | "InvokeExtensionAction", |
| 260 | "IsMainWindowMaximised", |
| 261 | "IsolatedWorktreeAvailability", |
| 262 | "Jobs", |
| 263 | "JobsForTab", |
| 264 | "ListDir", |
| 265 | "ListDirForTab", |
| 266 | "ListDirForTarget", |
| 267 | "ListHistoricalSessions", |
| 268 | "ListHistorySessions", |
| 269 | "ListProjectGroups", |
| 270 | "ListProjectTopics", |
| 271 | "ListProjectTree", |
| 272 | "ListRecoveryEntries", |
| 273 | "ListRemoteDir", |
| 274 | "ListRemoteProjects", |
| 275 | "ListSessionDraftSummaries", |
| 276 | "ListSessions", |
| 277 | "ListSessionsForTab", |
| 278 | "ListTabs", |
| 279 | "ListTaskEventPage", |
| 280 | "ListTaskEventsForTab", |
| 281 | "ListTaskPage", |
| 282 | "ListTasks", |
| 283 | "ListTasksForSession", |
| 284 | "ListTasksForTab", |
| 285 | "ListThemePacks", |
| 286 | "ListTrashEntries", |
| 287 | "ListTrashedSessions", |
| 288 | "ListWorkspaceSessions", |
| 289 | "ListWorkspaces", |
| 290 | "LocateSessionMessageForTab", |
| 291 | "LocateSessionMessageForTarget", |
| 292 | "LookupInboxFollowupForTarget", |
| 293 | "MCPAppCallToolForTab", |
| 294 | "MCPAppResourceDigest", |
| 295 | "MCPAppResourceDigestForTab", |
| 296 | "MCPCapabilityMatrix", |
| 297 | "MCPCloseAppInstanceForTab", |
| 298 | "MCPMarketplace", |
| 299 | "MCPMarketplaceResolve", |
| 300 | "MCPOpenAppInstanceForTab", |
| 301 | "MCPOpenAppLinkForTab", |
| 302 | "MCPServers", |
| 303 | "Memory", |
| 304 | "MemoryForTab", |
| 305 | "MemoryRevisions", |
| 306 | "MemoryRevisionsForTab", |
| 307 | "MemorySuggestions", |
| 308 | "MemorySuggestionsForTab", |
| 309 | "MergeWorktreeBack", |
| 310 | "Meta", |
| 311 | "MetaForTab", |
| 312 | "MigrateDesktopPreferences", |
| 313 | "MinimiseMainWindow", |
| 314 | "MkdirRemote", |
| 315 | "Models", |
| 316 | "ModelsForDraft", |
| 317 | "ModelsForTab", |
| 318 | "MoveInboxItem", |
| 319 | "MoveSessionTarget", |
| 320 | "MoveWorkspace", |
| 321 | "MoveWorkspaceSession", |
| 322 | "NeedsOnboarding", |
| 323 | "NewSession", |
| 324 | "NewSessionForTab", |
| 325 | "OpenChannelSessionForTab", |
| 326 | "OpenChannelSessionPageForTab", |
| 327 | "OpenChannelTranscriptSessionForTab", |
| 328 | "OpenDownloadPage", |
| 329 | "OpenGlobalTab", |
| 330 | "OpenLocalPath", |
| 331 | "OpenLocalPathInExternalOpener", |
| 332 | "OpenPresentedPathForTab", |
| 333 | "OpenProjectTab", |
| 334 | "OpenReferencePathForTab", |
| 335 | "OpenRemoteProjectTab", |
| 336 | "OpenRemoteWorkspace", |
| 337 | "OpenSession", |
| 338 | "OpenSessionDraft", |
| 339 | "OpenSessionDraftForTarget", |
| 340 | "OpenTaskSessionByKey", |
| 341 | "OpenTaskSessionForTab", |
| 342 | "OpenTopicSession", |
| 343 | "OpenUserConfigPath", |
| 344 | "OpenWorkspaceInExternalOpenerForTab", |
| 345 | "OpenWorkspacePathForTab", |
| 346 | "PauseGoalForTab", |
| 347 | "PauseRemoteTabGoal", |
| 348 | "PendingPromptIdentitiesForTab", |
| 349 | "PermissionSnapshotForTab", |
| 350 | "PickBlankProjectParent", |
| 351 | "PickExportFile", |
| 352 | "PickPluginFolder", |
| 353 | "PickRemoteIdentityFile", |
| 354 | "PickSkillFolder", |
| 355 | "PickThemeBackground", |
| 356 | "PickWorkspace", |
| 357 | "PinFileForTab", |
| 358 | "PlanPluginInstall", |
| 359 | "Platform", |
| 360 | "PluginDoctor", |
| 361 | "Plugins", |
| 362 | "PollBotConnectionInstall", |
| 363 | "PrepareHistoricalSourceVersion", |
| 364 | "PrepareSession", |
| 365 | "PrepareWorktreeMerge", |
| 366 | "PreviewRecoveryEntry", |
| 367 | "PreviewRewindForTab", |
| 368 | "PreviewSession", |
| 369 | "PreviewWorkspaceFileRevertForTab", |
| 370 | "PurgeCanonicalSession", |
| 371 | "PurgeRecoveryCopy", |
| 372 | "PurgeTrashedSession", |
| 373 | "QuerySessionTakeover", |
| 374 | "ReadDraftImageForTab", |
| 375 | "ReadDraftImageForTarget", |
| 376 | "ReadFile", |
| 377 | "ReadFileForTab", |
| 378 | "ReadInboxItem", |
| 379 | "ReadPresentedFileForTab", |
| 380 | "ReadPresentedFileSourceForTab", |
| 381 | "ReadPresentedTextPageForTab", |
| 382 | "ReadReferenceFileForTab", |
| 383 | "ReadReferenceFileSourceForTab", |
| 384 | "ReadRemoteFile", |
| 385 | "ReadSessionAttachmentForTab", |
| 386 | "ReadSessionExportChunk", |
| 387 | "ReadSessionHistory", |
| 388 | "RebindDraftImageForTarget", |
| 389 | "RebuildHistoryIndex", |
| 390 | "RebuildSessionCatalog", |
| 391 | "RebuildTaskCatalog", |
| 392 | "ReclaimRemoteTabSession", |
| 393 | "ReconcileRecoveryVersions", |
| 394 | "ReconnectMCPServer", |
| 395 | "RecordUIPerf", |
| 396 | "RecoveryCheckpointEnabled", |
| 397 | "RecoveryCheckpointEnabledTab", |
| 398 | "RefreshInboxItem", |
| 399 | "RefreshSkills", |
| 400 | "RegisterNavigationIntent", |
| 401 | "ReleaseAttachmentTarget", |
| 402 | "ReleaseDraftImageForTab", |
| 403 | "ReleaseDraftImageForTarget", |
| 404 | "ReloadCommands", |
| 405 | "ReloadRuntime", |
| 406 | "ReloadSettings", |
| 407 | "ReloadUserConfig", |
| 408 | "Remember", |
| 409 | "RememberForTab", |
| 410 | "RemoteConnectionStatuses", |
| 411 | "RemoteForwards", |
| 412 | "RemoteHosts", |
| 413 | "RemoteLastWorkspace", |
| 414 | "RemoteLocateSessionMessageForTab", |
| 415 | "RemoteProjectSessions", |
| 416 | "RemoteSearchSessionHistoryForTab", |
| 417 | "RemoteServerLogs", |
| 418 | "RemoteServerStatus", |
| 419 | "RemoteSessionHistoryContentForTab", |
| 420 | "RemoteSessionHistoryPageForTab", |
| 421 | "RemoteSessionHistoryWindowForTab", |
| 422 | "RemoteSessionMessageFieldForTab", |
| 423 | "RemoteSessionOpenForTab", |
| 424 | "RemoteTabBranches", |
| 425 | "RemoteTabMetadata", |
| 426 | "RemoteTabSkills", |
| 427 | "RemoteTabSnapshot", |
| 428 | "RemoteTabStatus", |
| 429 | "RemoteTranscriptContentForTab", |
| 430 | "RemoteTranscriptFollowForTab", |
| 431 | "RemoteTranscriptOutlineForTab", |
| 432 | "RemoteTranscriptPageForTab", |
| 433 | "RemoteTranscriptReplayForTab", |
| 434 | "RemoteTranscriptSnapshotForTab", |
| 435 | "RemoveMCPServer", |
| 436 | "RemovePermissionRule", |
| 437 | "RemovePlugin", |
| 438 | "RemoveProviderAccess", |
| 439 | "RemoveProviderAccesses", |
| 440 | "RemoveRemoteForward", |
| 441 | "RemoveRemoteHost", |
| 442 | "RemoveRemoteProject", |
| 443 | "RemoveSkillPath", |
| 444 | "RemoveWorkspace", |
| 445 | "RenameCanonicalSession", |
| 446 | "RenameProject", |
| 447 | "RenameProviderConnections", |
| 448 | "RenameRemotePath", |
| 449 | "RenameRemoteProjectSession", |
| 450 | "RenameSession", |
| 451 | "RenameSessionHead", |
| 452 | "RenameSessionTarget", |
| 453 | "RenameTerminalForTab", |
| 454 | "RenameTopic", |
| 455 | "RenameWorkspace", |
| 456 | "ReorderProjects", |
| 457 | "ReorderSessions", |
| 458 | "ReorderTabs", |
| 459 | "ReorderTopics", |
| 460 | "RepairCredentials", |
| 461 | "ReplayPendingPromptIdentitiesForTab", |
| 462 | "ReplayPendingPrompts", |
| 463 | "ReplayPendingPromptsForTab", |
| 464 | "ReplayRemoteTabPrompts", |
| 465 | "ReportCrash", |
| 466 | "ReportDesktopWebViewReady", |
| 467 | "RequeueTaskByKey", |
| 468 | "RequeueTaskForTab", |
| 469 | "ResetProviderPresetAccess", |
| 470 | "ResetThemePack", |
| 471 | "ResizeTerminalForTab", |
| 472 | "ResolveChatFileReferencesForTab", |
| 473 | "ResolveMarkdownImageForTab", |
| 474 | "ResolvePlanDecision", |
| 475 | "ResolvePlanDecisionTab", |
| 476 | "ResolvePlanDecisionTabForTurn", |
| 477 | "ResolvePresentedPathForTab", |
| 478 | "ResolvePromptForSession", |
| 479 | "ResolvePromptForTab", |
| 480 | "ResolveRecovery", |
| 481 | "ResolveRecoveryTab", |
| 482 | "ResolveRecoveryTabForTurn", |
| 483 | "ResolveReferencePathForTab", |
| 484 | "ResolveRemotePresentedPathForTab", |
| 485 | "ResolveRemoteTabPlanDecision", |
| 486 | "ResolveRemoteTabPromptExact", |
| 487 | "ResolveRemoteWorkspacePathForTab", |
| 488 | "ResolveToolRecoveryForTab", |
| 489 | "ResolveWorkspacePathForTab", |
| 490 | "RestartApplication", |
| 491 | "RestoreArchivedMemory", |
| 492 | "RestoreArchivedMemoryForTab", |
| 493 | "RestoreCanonicalSession", |
| 494 | "RestoreGraphiteAppearance", |
| 495 | "RestoreMemoryRevision", |
| 496 | "RestoreMemoryRevisionForTab", |
| 497 | "RestoreRecoveryEntry", |
| 498 | "RestoreSession", |
| 499 | "RestoreSessionDraft", |
| 500 | "RestoreSessionTarget", |
| 501 | "ResumeDraftSubmission", |
| 502 | "ResumeGoalForTab", |
| 503 | "ResumeRemoteTabGoal", |
| 504 | "ResumeSession", |
| 505 | "ResumeSessionForTab", |
| 506 | "ResumeSessionPage", |
| 507 | "ResumeSessionPageForTab", |
| 508 | "ResumeTranscriptSessionForTab", |
| 509 | "RetryAuthenticationForTab", |
| 510 | "RetryInboxItem", |
| 511 | "RetryLegacyEmptySessionCleanup", |
| 512 | "RetryModelSettingsApplication", |
| 513 | "RetrySessionRecovery", |
| 514 | "RevealBackgroundRuntime", |
| 515 | "RevealPath", |
| 516 | "RevealPresentedPathForTab", |
| 517 | "RevealReferencePathForTab", |
| 518 | "RevealWorkspacePathForTab", |
| 519 | "RevealWorkspaceWriterForTab", |
| 520 | "RevokePermissionGrantForTab", |
| 521 | "RevokeWorkspaceBrowserPreview", |
| 522 | "RevokeWorkspaceMediaPreview", |
| 523 | "Rewind", |
| 524 | "RewindForTab", |
| 525 | "RewindRemoteTab", |
| 526 | "RunShellForTab", |
| 527 | "RuntimeDoctor", |
| 528 | "SanitizeMarkdownSVG", |
| 529 | "SaveClipboardImage", |
| 530 | "SaveClipboardImageForComposerTarget", |
| 531 | "SaveClipboardImageForTab", |
| 532 | "SaveClipboardImageForTarget", |
| 533 | "SaveDoc", |
| 534 | "SaveDocForTab", |
| 535 | "SaveExportFile", |
| 536 | "SaveExportImageFiles", |
| 537 | "SaveHooksSettings", |
| 538 | "SaveHooksSettingsForRoot", |
| 539 | "SaveLocalPathAs", |
| 540 | "SavePastedFile", |
| 541 | "SavePastedFileForComposerTarget", |
| 542 | "SavePastedFileForTab", |
| 543 | "SavePastedFileForTarget", |
| 544 | "SavePastedImage", |
| 545 | "SavePastedImageForComposerTarget", |
| 546 | "SavePastedImageForTab", |
| 547 | "SavePresentedPathAsForTab", |
| 548 | "SaveProvider", |
| 549 | "SaveProviderKey", |
| 550 | "SaveProviderModelCatalogs", |
| 551 | "SaveProviderWithKey", |
| 552 | "SaveReferencePathAsForTab", |
| 553 | "SaveRemoteFileAs", |
| 554 | "SaveRemotePresentedFileAs", |
| 555 | "SaveSessionDraft", |
| 556 | "SaveSessionGroups", |
| 557 | "SaveSessionGroupsVersioned", |
| 558 | "SaveSessionMarkdownForTab", |
| 559 | "SaveThemePack", |
| 560 | "SaveWindowState", |
| 561 | "SaveWorkspacePathAsForTab", |
| 562 | "ScanPromptHistory", |
| 563 | "ScanRemoteLegacyWorkbenchData", |
| 564 | "ScanSSHConfig", |
| 565 | "SearchFileRefs", |
| 566 | "SearchFileRefsForTab", |
| 567 | "SearchFileRefsForTarget", |
| 568 | "SearchHistoryContent", |
| 569 | "SearchHistoryContentForTarget", |
| 570 | "SearchSessionHistoryForTab", |
| 571 | "SearchSessionHistoryForTarget", |
| 572 | "SessionHistoryContentForTab", |
| 573 | "SessionHistoryContentForTarget", |
| 574 | "SessionHistoryPageForTab", |
| 575 | "SessionHistoryPageForTarget", |
| 576 | "SessionHistoryWindowForTab", |
| 577 | "SessionHistoryWindowForTarget", |
| 578 | "SessionMessageFieldForTab", |
| 579 | "SessionMessageFieldForTarget", |
| 580 | "SessionOpenForTab", |
| 581 | "SetActiveSessionVersion", |
| 582 | "SetActiveTab", |
| 583 | "SetAgentParams", |
| 584 | "SetAgentPreset", |
| 585 | "SetAgentPresetForTab", |
| 586 | "SetAutoApproveTools", |
| 587 | "SetAutoPlan", |
| 588 | "SetBotConnectionToolApprovalMode", |
| 589 | "SetBotDingtalkToolApprovalMode", |
| 590 | "SetBotSecret", |
| 591 | "SetBotSettings", |
| 592 | "SetBypass", |
| 593 | "SetCloseBehavior", |
| 594 | "SetCollaborationModeForTab", |
| 595 | "SetCompactRatio", |
| 596 | "SetComposerProfileForTab", |
| 597 | "SetConnectionKey", |
| 598 | "SetDefaultAutoRecoveryCheckpoint", |
| 599 | "SetDefaultModel", |
| 600 | "SetDefaultToolApprovalMode", |
| 601 | "SetDesktopAppearance", |
| 602 | "SetDesktopCheckUpdates", |
| 603 | "SetDesktopConversationWidth", |
| 604 | "SetDesktopCurrency", |
| 605 | "SetDesktopLanguage", |
| 606 | "SetDesktopLayoutStyle", |
| 607 | "SetDesktopMetrics", |
| 608 | "SetDesktopTelemetry", |
| 609 | "SetDesktopTerminalTheme", |
| 610 | "SetDesktopUpdateChannel", |
| 611 | "SetDesktopZoomFactor", |
| 612 | "SetDisplayMode", |
| 613 | "SetEffort", |
| 614 | "SetEffortForTab", |
| 615 | "SetExpandThinking", |
| 616 | "SetGoal", |
| 617 | "SetGoalForTab", |
| 618 | "SetInboxPaused", |
| 619 | "SetMCPServerEnabled", |
| 620 | "SetMCPServerTier", |
| 621 | "SetMaxParallelWriters", |
| 622 | "SetMaxSubagentConcurrency", |
| 623 | "SetMaxSubagentDepth", |
| 624 | "SetMode", |
| 625 | "SetModeForTab", |
| 626 | "SetModel", |
| 627 | "SetModelForTab", |
| 628 | "SetNetwork", |
| 629 | "SetPermissionMode", |
| 630 | "SetPermissionPresetForTab", |
| 631 | "SetPlanMode", |
| 632 | "SetPlannerModel", |
| 633 | "SetPluginEnabled", |
| 634 | "SetPreferredExternalOpener", |
| 635 | "SetProjectColor", |
| 636 | "SetProjectPinned", |
| 637 | "SetProviderKey", |
| 638 | "SetProviderWebSearch", |
| 639 | "SetQualityFloor", |
| 640 | "SetQualityFloorForTab", |
| 641 | "SetReasoningDisplayMode", |
| 642 | "SetReasoningLanguage", |
| 643 | "SetRecoveryCheckpointEnabled", |
| 644 | "SetRecoveryCheckpointEnabledTab", |
| 645 | "SetRemoteProjectTitle", |
| 646 | "SetRemoteSessionPinned", |
| 647 | "SetRemoteTabComposerProfile", |
| 648 | "SetRemoteTabEffort", |
| 649 | "SetRemoteTabGoal", |
| 650 | "SetRemoteTabModel", |
| 651 | "SetRemoteTabPlanMode", |
| 652 | "SetRemoteTabQualityFloor", |
| 653 | "SetRemoteTabToolApprovalMode", |
| 654 | "SetSandbox", |
| 655 | "SetSessionDraftRestoreTarget", |
| 656 | "SetSessionExperience", |
| 657 | "SetSessionPinned", |
| 658 | "SetShellPreference", |
| 659 | "SetSkillEnabled", |
| 660 | "SetSkillImplicitInvocation", |
| 661 | "SetSkillPathEnabled", |
| 662 | "SetStatusBarItems", |
| 663 | "SetStatusBarStyle", |
| 664 | "SetSubagentEffort", |
| 665 | "SetSubagentModel", |
| 666 | "SetSubagentProfileEffort", |
| 667 | "SetSubagentProfileModel", |
| 668 | "SetTokenMode", |
| 669 | "SetTokenModeForTab", |
| 670 | "SetToolApprovalMode", |
| 671 | "SetToolApprovalModeForTab", |
| 672 | "SetTopicPinned", |
| 673 | "SetTrayLocale", |
| 674 | "SetVisionModel", |
| 675 | "SetWebSearchModel", |
| 676 | "SetWorkspaceVisible", |
| 677 | "Settings", |
| 678 | "SkillsSettings", |
| 679 | "SlashArgs", |
| 680 | "StageImageForTab", |
| 681 | "StageImageForTarget", |
| 682 | "StartBotConnectionInstall", |
| 683 | "StartHistoricalImport", |
| 684 | "StartTopicActivation", |
| 685 | "StartTurnForAttachmentTarget", |
| 686 | "StartTurnForTab", |
| 687 | "StartTurnForTabWithDrafts", |
| 688 | "Steer", |
| 689 | "SteerForTab", |
| 690 | "SteerInboxItem", |
| 691 | "SteerInboxItemForTurn", |
| 692 | "SteerRemoteTab", |
| 693 | "StopRemoteServer", |
| 694 | "StopTask", |
| 695 | "StopTaskByKey", |
| 696 | "StopTaskForTab", |
| 697 | "StorageSettings", |
| 698 | "Submit", |
| 699 | "SubmitDeliveryRecoveryToTab", |
| 700 | "SubmitDeliveryRecoveryToTabWithID", |
| 701 | "SubmitDisplay", |
| 702 | "SubmitDisplayToTab", |
| 703 | "SubmitDisplayToTabWithID", |
| 704 | "SubmitEditedDisplayToTab", |
| 705 | "SubmitEditedDisplayToTabWithID", |
| 706 | "SubmitExtensionForm", |
| 707 | "SubmitExtensionFormExact", |
| 708 | "SubmitInitialGoalToTab", |
| 709 | "SubmitInitialGoalToTabWithID", |
| 710 | "SubmitInvocationsToTab", |
| 711 | "SubmitInvocationsToTabWithID", |
| 712 | "SubmitRemoteTab", |
| 713 | "SubmitRemoteTabExtensionForm", |
| 714 | "SubmitRemoteTabExtensionFormExact", |
| 715 | "SubmitRemoteTabWithSubmission", |
| 716 | "SubmitToTab", |
| 717 | "SubmitToTabWithID", |
| 718 | "SummarizeFrom", |
| 719 | "SummarizeFromForTab", |
| 720 | "SummarizeRemoteTab", |
| 721 | "SummarizeUpTo", |
| 722 | "SummarizeUpToForTab", |
| 723 | "SwitchWorkspace", |
| 724 | "SyncRuntimeState", |
| 725 | "TakeoverSession", |
| 726 | "TerminalOutputForTab", |
| 727 | "TerminalWorkspaceForTab", |
| 728 | "TestBotConnection", |
| 729 | "TestDingtalkBot", |
| 730 | "TestProviderModel", |
| 731 | "ToggleMaximiseMainWindow", |
| 732 | "ToolResultForTab", |
| 733 | "TranscriptContentForTab", |
| 734 | "TranscriptFollowForTab", |
| 735 | "TranscriptOutlineForTab", |
| 736 | "TranscriptPageForTab", |
| 737 | "TranscriptReplayForTab", |
| 738 | "TranscriptSnapshotForTab", |
| 739 | "TrashTopic", |
| 740 | "TrustProjectHooks", |
| 741 | "TrustProjectHooksForRoot", |
| 742 | "TrySubagentProfile", |
| 743 | "TurnCheckLog", |
| 744 | "TurnEventsForTab", |
| 745 | "UndoRewindForTab", |
| 746 | "UnpinFileForTab", |
| 747 | "UpdateInboxItem", |
| 748 | "UpdateMCPServer", |
| 749 | "UpdatePlugin", |
| 750 | "UpdateRemoteHost", |
| 751 | "UpdateSessionOrganization", |
| 752 | "UpdateSubagentProfile", |
| 753 | "UpgradeDeepSeekProviderAccess", |
| 754 | "UsageStats", |
| 755 | "Version", |
| 756 | "WorkspaceChangeDetail", |
| 757 | "WorkspaceChanges", |
| 758 | "WorkspaceConflictForTab", |
| 759 | "WorkspaceGitCommitDetail", |
| 760 | "WorkspaceGitHistory", |
| 761 | "WorkspaceGitStatsForTab", |
| 762 | "WorkspaceRevisionForTab", |
| 763 | "WorkspaceTurnChangeDetail", |
| 764 | "WorkspaceTurnChanges", |
| 765 | "WriteRemoteFile", |
| 766 | "WriteTerminalForTab", |
| 767 | ] as const; |
| 768 | |
| 769 | export const DESKTOP_EVENTS = [ |
| 770 | "InboxChanged", |
| 771 | "agent:event", |
| 772 | "agent:ready", |
| 773 | "config:load-warnings", |
| 774 | "desktop:shell-status", |
| 775 | "history-index:changed-v1", |
| 776 | "project-tree:changed", |
| 777 | "project-tree:changed-v2", |
| 778 | "project-tree:runtime-changed", |
| 779 | "remote-tab:opened", |
| 780 | "remote-tab:updated", |
| 781 | "remote:forwards", |
| 782 | "remote:server", |
| 783 | "remote:status", |
| 784 | "runtime-state:changed", |
| 785 | "runtime:rebuilt", |
| 786 | "session:active-version-changed", |
| 787 | "session:recovered", |
| 788 | "session:recovery-failed", |
| 789 | "tab:meta", |
| 790 | "terminal:exit", |
| 791 | "terminal:output", |
| 792 | "topic:activation", |
| 793 | "updater:progress", |
| 794 | ] as const; |
| 795 | |
| 796 | export type DesktopCommandName = (typeof DESKTOP_COMMANDS)[number]; |
| 797 | |
| 798 | export type DesktopEventName = (typeof DESKTOP_EVENTS)[number]; |
| 799 | |
| 800 | export interface ToolRecoveryStatistics { |
| 801 | unknown: number; |
| 802 | confirmed: number; |
| 803 | retried: number; |
| 804 | rejected: number; |
| 805 | blocked: number; |
| 806 | } |
| 807 | |
| 808 | export interface AttachmentRef { |
| 809 | v: number; |
| 810 | content: Ref; |
| 811 | width?: number; |
| 812 | height?: number; |
| 813 | name?: string; |
| 814 | } |
| 815 | |
| 816 | export interface CostQuote { |
| 817 | original: Money; |
| 818 | originalTotals?: Money[]; |
| 819 | valuations?: Record<string, Valuation>; |
| 820 | selected?: Money | null; |
| 821 | billingMode?: string; |
| 822 | estimated: boolean; |
| 823 | costComplete: boolean; |
| 824 | displayComplete: boolean; |
| 825 | complete: boolean; |
| 826 | displayStatus?: string; |
| 827 | aggregateMode?: string; |
| 828 | modelRef?: string; |
| 829 | usageSource?: string; |
| 830 | pricingFingerprint?: string; |
| 831 | rateDate?: string; |
| 832 | rateBand?: string; |
| 833 | ratedAt?: string; |
| 834 | incompleteReason?: string; |
| 835 | legacyEstimate?: boolean; |
| 836 | catalogSource?: string; |
| 837 | } |
| 838 | |
| 839 | export interface Money { |
| 840 | amount: string; |
| 841 | currency: string; |
| 842 | } |
| 843 | |
| 844 | export interface RateSnapshot { |
| 845 | base: string; |
| 846 | quote: string; |
| 847 | rate: number; |
| 848 | source: string; |
| 849 | asOf: string; |
| 850 | stale?: boolean; |
| 851 | } |
| 852 | |
| 853 | export interface Valuation { |
| 854 | money: Money; |
| 855 | basis: string; |
| 856 | source: string; |
| 857 | asOf: string; |
| 858 | rateSnapshot?: RateSnapshot | null; |
| 859 | stale?: boolean; |
| 860 | } |
| 861 | |
| 862 | export interface AssetEntry { |
| 863 | name: string; |
| 864 | description?: string; |
| 865 | scope?: string; |
| 866 | path: string; |
| 867 | status: string; |
| 868 | winner_path?: string; |
| 869 | error?: string; |
| 870 | run_as?: string; |
| 871 | } |
| 872 | |
| 873 | export interface AssetReport { |
| 874 | roots: RootInfo[]; |
| 875 | entries: AssetEntry[]; |
| 876 | winners: number; |
| 877 | shadowed: number; |
| 878 | disabled?: number; |
| 879 | parse_errors?: number; |
| 880 | } |
| 881 | |
| 882 | export interface HookEntry { |
| 883 | event: string; |
| 884 | match?: string; |
| 885 | command?: string; |
| 886 | context_file?: string; |
| 887 | description?: string; |
| 888 | timeout_ms?: number; |
| 889 | scope: string; |
| 890 | source: string; |
| 891 | blocking: boolean; |
| 892 | } |
| 893 | |
| 894 | export interface HookReport { |
| 895 | trusted_project: boolean; |
| 896 | project_defines_hooks: boolean; |
| 897 | sources: HookSource[]; |
| 898 | entries: HookEntry[]; |
| 899 | } |
| 900 | |
| 901 | export interface HookSource { |
| 902 | scope: string; |
| 903 | path: string; |
| 904 | status: string; |
| 905 | hook_count: number; |
| 906 | parse_error?: string; |
| 907 | } |
| 908 | |
| 909 | export interface InstructionDoc { |
| 910 | path: string; |
| 911 | scope: string; |
| 912 | directory?: string; |
| 913 | depth: number; |
| 914 | order: number; |
| 915 | } |
| 916 | |
| 917 | export interface InstructionsReport { |
| 918 | docs: InstructionDoc[]; |
| 919 | } |
| 920 | |
| 921 | export interface Issue { |
| 922 | severity: string; |
| 923 | code: string; |
| 924 | subsystem: string; |
| 925 | name?: string; |
| 926 | source?: string; |
| 927 | message: string; |
| 928 | remediation?: string; |
| 929 | settings_tab?: string; |
| 930 | } |
| 931 | |
| 932 | export interface MCPReport { |
| 933 | servers: MCPServerInfo[]; |
| 934 | } |
| 935 | |
| 936 | export interface MCPServerInfo { |
| 937 | name: string; |
| 938 | source?: string; |
| 939 | source_path?: string; |
| 940 | effective: boolean; |
| 941 | package_owner?: string; |
| 942 | transport: string; |
| 943 | start_intent: string; |
| 944 | command?: string; |
| 945 | url_host?: string; |
| 946 | env_keys?: string[]; |
| 947 | header_keys?: string[]; |
| 948 | runtime_status?: string; |
| 949 | tool_count?: number; |
| 950 | tools?: MCPToolInfo[]; |
| 951 | error?: string; |
| 952 | startup_stage?: string; |
| 953 | startup_elapsed_ms?: number; |
| 954 | stderr?: string; |
| 955 | } |
| 956 | |
| 957 | export interface MCPToolInfo { |
| 958 | name: string; |
| 959 | read_only_hint?: boolean; |
| 960 | destructive_hint?: boolean; |
| 961 | } |
| 962 | |
| 963 | export interface PluginPackageInfo { |
| 964 | name: string; |
| 965 | enabled: boolean; |
| 966 | version?: string; |
| 967 | root: string; |
| 968 | manifest_kind?: string; |
| 969 | skills: number; |
| 970 | commands: number; |
| 971 | hooks: number; |
| 972 | mcp_servers: number; |
| 973 | prompts?: number; |
| 974 | themes?: number; |
| 975 | runtime?: boolean; |
| 976 | warnings?: string[]; |
| 977 | status: string; |
| 978 | } |
| 979 | |
| 980 | export interface PluginPackageReport { |
| 981 | state_path?: string; |
| 982 | packages: PluginPackageInfo[]; |
| 983 | } |
| 984 | |
| 985 | export interface Report { |
| 986 | schema_version: number; |
| 987 | root: string; |
| 988 | live: boolean; |
| 989 | summary: Summary; |
| 990 | instructions: InstructionsReport; |
| 991 | skills: AssetReport; |
| 992 | commands: AssetReport; |
| 993 | hooks: HookReport; |
| 994 | plugins: PluginPackageReport; |
| 995 | mcp: MCPReport; |
| 996 | issues: Issue[]; |
| 997 | } |
| 998 | |
| 999 | export interface RootInfo { |
| 1000 | path: string; |
| 1001 | scope?: string; |
| 1002 | status: string; |
| 1003 | } |
| 1004 | |
| 1005 | export interface Summary { |
| 1006 | errors: number; |
| 1007 | warnings: number; |
| 1008 | infos: number; |
| 1009 | instructions: number; |
| 1010 | skills: number; |
| 1011 | commands: number; |
| 1012 | hooks: number; |
| 1013 | plugins: number; |
| 1014 | mcp_servers: number; |
| 1015 | } |
| 1016 | |
| 1017 | export interface TurnChanges { |
| 1018 | id?: string; |
| 1019 | turn: number; |
| 1020 | coverage: string; |
| 1021 | files: TurnFile[]; |
| 1022 | added: number; |
| 1023 | removed: number; |
| 1024 | reasons: string[]; |
| 1025 | } |
| 1026 | |
| 1027 | export interface TurnFile { |
| 1028 | path: string; |
| 1029 | kind: string; |
| 1030 | added: number; |
| 1031 | removed: number; |
| 1032 | binary?: boolean; |
| 1033 | modeOnly?: boolean; |
| 1034 | uncounted?: boolean; |
| 1035 | unavailable?: string; |
| 1036 | patch?: string; |
| 1037 | } |
| 1038 | |
| 1039 | export interface CredentialDiagnosticCheck { |
| 1040 | id: string; |
| 1041 | status: string; |
| 1042 | path?: string; |
| 1043 | message?: string; |
| 1044 | } |
| 1045 | |
| 1046 | export interface CredentialDiagnosticReport { |
| 1047 | home: string; |
| 1048 | credentialPath: string; |
| 1049 | checks: CredentialDiagnosticCheck[]; |
| 1050 | pendingTransactions: number; |
| 1051 | actions: string[]; |
| 1052 | } |
| 1053 | |
| 1054 | export interface ProviderCatalog { |
| 1055 | brandId: string; |
| 1056 | brandLabel: string; |
| 1057 | region: string; |
| 1058 | product: string; |
| 1059 | format: string; |
| 1060 | baseUrl: string; |
| 1061 | protocols?: Record<string, ProviderProtocolEndpoint>; |
| 1062 | } |
| 1063 | |
| 1064 | export interface ProviderProtocolEndpoint { |
| 1065 | baseUrl: string; |
| 1066 | source: string; |
| 1067 | checkedOn: string; |
| 1068 | authHeader?: boolean; |
| 1069 | responsesMode?: string; |
| 1070 | } |
| 1071 | |
| 1072 | export interface ResolvedReasoningView { |
| 1073 | state?: string; |
| 1074 | apiFormat: string; |
| 1075 | protocol: string; |
| 1076 | selected: string; |
| 1077 | effective?: string; |
| 1078 | default?: string; |
| 1079 | options: ReasoningOption[]; |
| 1080 | error?: string; |
| 1081 | } |
| 1082 | |
| 1083 | export interface AuthenticationState { |
| 1084 | status: string; |
| 1085 | providerName?: string; |
| 1086 | modelRef?: string; |
| 1087 | keyEnv?: string; |
| 1088 | httpStatus?: number; |
| 1089 | code?: string; |
| 1090 | message?: string; |
| 1091 | } |
| 1092 | |
| 1093 | export interface CancelReceipt { |
| 1094 | sessionRef: string; |
| 1095 | headId: string; |
| 1096 | runtimeEpoch: string; |
| 1097 | accepted: boolean; |
| 1098 | alreadyIdle: boolean; |
| 1099 | recoveryRequired: boolean; |
| 1100 | } |
| 1101 | |
| 1102 | export interface control_InvocationRequest { |
| 1103 | name: string; |
| 1104 | kind: string; |
| 1105 | offset: number; |
| 1106 | } |
| 1107 | |
| 1108 | export interface PermissionCapabilities { |
| 1109 | backend: string; |
| 1110 | enforcement: string; |
| 1111 | supportedPresets: string[]; |
| 1112 | unavailableReason?: string; |
| 1113 | writeIsolation?: string; |
| 1114 | readIsolation?: string; |
| 1115 | networkIsolation?: string; |
| 1116 | } |
| 1117 | |
| 1118 | export interface PermissionSnapshot { |
| 1119 | sessionId: string; |
| 1120 | generation: number; |
| 1121 | revision: number; |
| 1122 | preset: string; |
| 1123 | workspaceRoot: string; |
| 1124 | grants: SessionGrantSummary[]; |
| 1125 | capabilities: PermissionCapabilities; |
| 1126 | } |
| 1127 | |
| 1128 | export interface SessionGrantSummary { |
| 1129 | scope: string; |
| 1130 | target: string; |
| 1131 | } |
| 1132 | |
| 1133 | export interface SubmissionAttachment { |
| 1134 | clientAttachmentId: string; |
| 1135 | draftId?: string; |
| 1136 | path?: string; |
| 1137 | reference?: AttachmentRef | null; |
| 1138 | } |
| 1139 | |
| 1140 | export interface SubmissionRequest { |
| 1141 | http?: boolean; |
| 1142 | input: string; |
| 1143 | display?: string; |
| 1144 | format?: string; |
| 1145 | action?: string; |
| 1146 | recoveryId?: string; |
| 1147 | original?: string; |
| 1148 | goal?: string; |
| 1149 | toolApprovalMode?: string; |
| 1150 | invocations?: control_InvocationRequest[]; |
| 1151 | draftIds?: string[]; |
| 1152 | attachmentDigests?: string[]; |
| 1153 | attachments?: SubmissionAttachment[]; |
| 1154 | } |
| 1155 | |
| 1156 | export interface ToolRecoveryRequest { |
| 1157 | sessionPath: string; |
| 1158 | runtimeEpoch: string; |
| 1159 | revision: string; |
| 1160 | attemptId: string; |
| 1161 | inspectionId: string; |
| 1162 | action: string; |
| 1163 | } |
| 1164 | |
| 1165 | export interface ToolRecoverySnapshot { |
| 1166 | silent: boolean; |
| 1167 | statistics: ToolRecoveryStatistics; |
| 1168 | sessionPath: string; |
| 1169 | runtimeEpoch: string; |
| 1170 | revision: string; |
| 1171 | calls: ToolCallRecord[]; |
| 1172 | retryEnabled: boolean; |
| 1173 | retired: boolean; |
| 1174 | } |
| 1175 | |
| 1176 | export interface ToolResultData { |
| 1177 | name: string; |
| 1178 | args: string; |
| 1179 | output: string; |
| 1180 | execution?: ToolExecution | null; |
| 1181 | mcpApp?: MCPAppPresentation | null; |
| 1182 | presentedFiles?: PresentedFile[]; |
| 1183 | } |
| 1184 | |
| 1185 | export interface TranscriptFollowResponse { |
| 1186 | protocolVersion: number; |
| 1187 | subscription: string; |
| 1188 | snapshot?: Snapshot | null; |
| 1189 | changes: Change[]; |
| 1190 | resetRequired: boolean; |
| 1191 | history?: HistoryWindowPage | null; |
| 1192 | } |
| 1193 | |
| 1194 | export interface TranscriptReplay { |
| 1195 | protocolVersion: number; |
| 1196 | snapshotId: string; |
| 1197 | identity: Identity; |
| 1198 | projectionRevision: number; |
| 1199 | coveredThroughSeq: number; |
| 1200 | durableSeq: number; |
| 1201 | events: Envelope[]; |
| 1202 | floorSeq: number; |
| 1203 | latestSeq: number; |
| 1204 | nextAfterSeq: number; |
| 1205 | hasMore: boolean; |
| 1206 | resetRequired: boolean; |
| 1207 | transcriptRevision?: number; |
| 1208 | transcriptDigest?: string; |
| 1209 | headId?: string; |
| 1210 | leafMessageId?: string; |
| 1211 | runtimeEpoch?: string; |
| 1212 | } |
| 1213 | |
| 1214 | export interface TranscriptReplayRequest { |
| 1215 | identity: Identity; |
| 1216 | after: number; |
| 1217 | } |
| 1218 | |
| 1219 | export interface event_FinalReadiness { |
| 1220 | attempts?: number; |
| 1221 | missing?: string[]; |
| 1222 | } |
| 1223 | |
| 1224 | export interface PendingInteraction { |
| 1225 | requestId: string; |
| 1226 | toolCallId?: string; |
| 1227 | kind: string; |
| 1228 | headId: string; |
| 1229 | turnId: string; |
| 1230 | runtimeEpoch: string; |
| 1231 | } |
| 1232 | |
| 1233 | export interface RecoveryStatus { |
| 1234 | state?: string; |
| 1235 | call_id?: string; |
| 1236 | attempt_id?: string; |
| 1237 | requires_user_decision?: boolean; |
| 1238 | read_only?: boolean; |
| 1239 | phase?: string; |
| 1240 | reason?: string; |
| 1241 | next_attempt_at?: number; |
| 1242 | waited_ms?: number; |
| 1243 | wait_budget_ms?: number; |
| 1244 | waiting?: boolean; |
| 1245 | } |
| 1246 | |
| 1247 | export interface RuntimeStateSnapshot { |
| 1248 | schemaVersion: number; |
| 1249 | hostId?: string; |
| 1250 | sessionId?: string; |
| 1251 | sessionCodec?: string; |
| 1252 | projectionEpoch: string; |
| 1253 | runtimeEpoch: string; |
| 1254 | activityRevision: number; |
| 1255 | revision: number; |
| 1256 | phase: string; |
| 1257 | running: boolean; |
| 1258 | turnId: string; |
| 1259 | turnStatus: string; |
| 1260 | turnEventSeq: number; |
| 1261 | committedEventSeq: number; |
| 1262 | durableEventSeq: number; |
| 1263 | persistenceStatus: string; |
| 1264 | persistenceError?: string; |
| 1265 | headId: string; |
| 1266 | pendingPrompt: boolean; |
| 1267 | pendingInteractions: PendingInteraction[]; |
| 1268 | todos: Todo[]; |
| 1269 | todoWritten: boolean; |
| 1270 | cancelRequested: boolean; |
| 1271 | cancellable: boolean; |
| 1272 | backgroundJobs: number; |
| 1273 | activity: string; |
| 1274 | recovery?: RecoveryStatus | null; |
| 1275 | goal?: View | null; |
| 1276 | goalError?: string; |
| 1277 | } |
| 1278 | |
| 1279 | export interface Todo { |
| 1280 | content: string; |
| 1281 | status: string; |
| 1282 | } |
| 1283 | |
| 1284 | export interface event_WorkspaceRevision { |
| 1285 | content: number; |
| 1286 | tree: number; |
| 1287 | workingTree: number; |
| 1288 | gitMeta: number; |
| 1289 | session: number; |
| 1290 | } |
| 1291 | |
| 1292 | export interface Approval { |
| 1293 | id: string; |
| 1294 | tool: string; |
| 1295 | subject: string; |
| 1296 | reason?: string; |
| 1297 | fresh?: boolean; |
| 1298 | kind?: string; |
| 1299 | recovery?: RecoveryApproval | null; |
| 1300 | write_access?: WriteAccessApproval | null; |
| 1301 | turnId?: string; |
| 1302 | generation?: number; |
| 1303 | permissionRevision?: number; |
| 1304 | } |
| 1305 | |
| 1306 | export interface Ask { |
| 1307 | id: string; |
| 1308 | questions: AskQuestion[]; |
| 1309 | turnId?: string; |
| 1310 | } |
| 1311 | |
| 1312 | export interface AskOption { |
| 1313 | label: string; |
| 1314 | description?: string; |
| 1315 | } |
| 1316 | |
| 1317 | export interface AskQuestion { |
| 1318 | id: string; |
| 1319 | header?: string; |
| 1320 | prompt: string; |
| 1321 | options: AskOption[]; |
| 1322 | multi?: boolean; |
| 1323 | } |
| 1324 | |
| 1325 | export interface CacheDiagnostics { |
| 1326 | prefixHash: string; |
| 1327 | prefixChanged: boolean; |
| 1328 | prefixChangeReasons?: string[]; |
| 1329 | systemHash: string; |
| 1330 | toolsHash: string; |
| 1331 | logRewriteVersion: number; |
| 1332 | toolSchemaTokens: number; |
| 1333 | cacheMissTokens: number; |
| 1334 | cacheHitTokens: number; |
| 1335 | sessionContext?: SessionContextDiagnostics | null; |
| 1336 | } |
| 1337 | |
| 1338 | export interface Compaction { |
| 1339 | trigger?: string; |
| 1340 | messages?: number; |
| 1341 | summary?: string; |
| 1342 | archive?: string; |
| 1343 | } |
| 1344 | |
| 1345 | export interface CompletionReceipt { |
| 1346 | assessmentKind?: string; |
| 1347 | diff?: TurnChanges | null; |
| 1348 | interrupted?: boolean; |
| 1349 | verdict: string; |
| 1350 | changes?: ReceiptChange[]; |
| 1351 | verifications?: ReceiptVerification[]; |
| 1352 | gaps?: ReceiptGap[]; |
| 1353 | risks?: string[]; |
| 1354 | } |
| 1355 | |
| 1356 | export interface CompletionSummary { |
| 1357 | preset: string; |
| 1358 | verdict: string; |
| 1359 | mutations: number; |
| 1360 | changed_files?: number; |
| 1361 | checks_passed: number; |
| 1362 | checks_failed: number; |
| 1363 | checks_suppressed: number; |
| 1364 | review: string; |
| 1365 | gap_kinds?: string[]; |
| 1366 | constraint_degraded: boolean; |
| 1367 | floor?: string; |
| 1368 | attention: boolean; |
| 1369 | } |
| 1370 | |
| 1371 | export interface ContextMaintenance { |
| 1372 | status?: string; |
| 1373 | action?: string; |
| 1374 | trigger?: string; |
| 1375 | operationId?: string; |
| 1376 | inputTokens?: number; |
| 1377 | resultTokens?: number; |
| 1378 | savedTokens?: number; |
| 1379 | affectedToolResults?: number; |
| 1380 | projectionVersion?: number; |
| 1381 | cacheBreak?: boolean; |
| 1382 | reason?: string; |
| 1383 | } |
| 1384 | |
| 1385 | export interface eventwire_DecisionReceipt { |
| 1386 | id: string; |
| 1387 | kind: string; |
| 1388 | tool?: string; |
| 1389 | subject?: string; |
| 1390 | outcome: string; |
| 1391 | } |
| 1392 | |
| 1393 | export interface Event { |
| 1394 | runtimeState?: RuntimeStateSnapshot | null; |
| 1395 | kind: string; |
| 1396 | messageId?: string; |
| 1397 | attemptId?: string; |
| 1398 | source?: string; |
| 1399 | sessionId?: string; |
| 1400 | runtimeEpoch?: string; |
| 1401 | submissionId?: string; |
| 1402 | promptId?: string; |
| 1403 | promptKind?: string; |
| 1404 | promptLegacy?: boolean; |
| 1405 | turnId?: string; |
| 1406 | seq?: number; |
| 1407 | status?: string; |
| 1408 | text?: string; |
| 1409 | detail?: string; |
| 1410 | code?: string; |
| 1411 | reasoning?: string; |
| 1412 | memoryCitations?: eventwire_MemoryCitation[]; |
| 1413 | level?: string; |
| 1414 | tool?: Tool | null; |
| 1415 | readStatus?: ReadStatus | null; |
| 1416 | readPause?: ReadPause | null; |
| 1417 | readCompletion?: ReadCompletion | null; |
| 1418 | usage?: Usage | null; |
| 1419 | approval?: Approval | null; |
| 1420 | ask?: Ask | null; |
| 1421 | mcpInteraction?: MCPInteraction | null; |
| 1422 | compaction?: Compaction | null; |
| 1423 | maintenance?: ContextMaintenance | null; |
| 1424 | guardian?: Guardian | null; |
| 1425 | decisionReceipt?: eventwire_DecisionReceipt | null; |
| 1426 | extension?: ExtensionSurface | null; |
| 1427 | err?: string; |
| 1428 | outcome?: string; |
| 1429 | readiness?: eventwire_FinalReadiness | null; |
| 1430 | protocolRecovery?: ProtocolRecoveryAction | null; |
| 1431 | diagnostic?: FailureDiagnostic | null; |
| 1432 | receipt?: CompletionReceipt | null; |
| 1433 | checkpointTurn?: number | null; |
| 1434 | recovery?: RecoveryStatus | null; |
| 1435 | retryAttempt?: number; |
| 1436 | retryMax?: number; |
| 1437 | retryScope?: string; |
| 1438 | streamAttempt?: StreamAttempt | null; |
| 1439 | itemId?: string; |
| 1440 | sessionPath?: string; |
| 1441 | sessionCurrent?: boolean; |
| 1442 | sessionReset?: boolean; |
| 1443 | workspace?: WorkspaceChanged | null; |
| 1444 | phase?: string; |
| 1445 | completion?: CompletionSummary | null; |
| 1446 | } |
| 1447 | |
| 1448 | export interface ExtensionActionRef { |
| 1449 | actionId: string; |
| 1450 | label: string; |
| 1451 | } |
| 1452 | |
| 1453 | export interface ExtensionCard { |
| 1454 | title?: string; |
| 1455 | markdown?: string; |
| 1456 | text?: string; |
| 1457 | fields?: ExtensionKeyValue[]; |
| 1458 | progress?: number | null; |
| 1459 | actions?: ExtensionActionRef[]; |
| 1460 | } |
| 1461 | |
| 1462 | export interface ExtensionForm { |
| 1463 | title?: string; |
| 1464 | message?: string; |
| 1465 | fields: ExtensionFormField[]; |
| 1466 | } |
| 1467 | |
| 1468 | export interface ExtensionFormField { |
| 1469 | key: string; |
| 1470 | label?: string; |
| 1471 | kind?: string; |
| 1472 | options?: string[]; |
| 1473 | default?: unknown; |
| 1474 | required?: boolean; |
| 1475 | } |
| 1476 | |
| 1477 | export interface ExtensionKeyValue { |
| 1478 | key: string; |
| 1479 | value: string; |
| 1480 | } |
| 1481 | |
| 1482 | export interface ExtensionNotification { |
| 1483 | title: string; |
| 1484 | body?: string; |
| 1485 | severity?: string; |
| 1486 | } |
| 1487 | |
| 1488 | export interface ExtensionStatus { |
| 1489 | label: string; |
| 1490 | detail?: string; |
| 1491 | severity?: string; |
| 1492 | progress?: number | null; |
| 1493 | } |
| 1494 | |
| 1495 | export interface ExtensionSurface { |
| 1496 | pluginId: string; |
| 1497 | surfaceId: string; |
| 1498 | sessionId?: string; |
| 1499 | generation?: number; |
| 1500 | formInstanceId?: string; |
| 1501 | kind: string; |
| 1502 | status?: ExtensionStatus | null; |
| 1503 | card?: ExtensionCard | null; |
| 1504 | form?: ExtensionForm | null; |
| 1505 | notification?: ExtensionNotification | null; |
| 1506 | } |
| 1507 | |
| 1508 | export interface eventwire_FinalReadiness { |
| 1509 | attempts?: number; |
| 1510 | missing?: string[]; |
| 1511 | } |
| 1512 | |
| 1513 | export interface Guardian { |
| 1514 | id: string; |
| 1515 | tool: string; |
| 1516 | subject: string; |
| 1517 | outcome: string; |
| 1518 | risk_level?: string; |
| 1519 | user_authorization?: string; |
| 1520 | rationale?: string; |
| 1521 | duration_ms?: number; |
| 1522 | usage?: Usage | null; |
| 1523 | } |
| 1524 | |
| 1525 | export interface MCPInteraction { |
| 1526 | id: string; |
| 1527 | server: string; |
| 1528 | mode: string; |
| 1529 | message: string; |
| 1530 | requestedSchema?: unknown; |
| 1531 | url?: string; |
| 1532 | elicitationId?: string; |
| 1533 | turnId?: string; |
| 1534 | } |
| 1535 | |
| 1536 | export interface eventwire_MemoryCitation { |
| 1537 | id?: string; |
| 1538 | source: string; |
| 1539 | lineStart?: number; |
| 1540 | lineEnd?: number; |
| 1541 | note?: string; |
| 1542 | kind?: string; |
| 1543 | } |
| 1544 | |
| 1545 | export interface Profile { |
| 1546 | model?: string; |
| 1547 | effort?: string; |
| 1548 | } |
| 1549 | |
| 1550 | export interface ReadStatus { |
| 1551 | verdict?: string; |
| 1552 | readId: string; |
| 1553 | generation?: number; |
| 1554 | seq?: number; |
| 1555 | path: string; |
| 1556 | intent?: string; |
| 1557 | state: string; |
| 1558 | covered?: number[][]; |
| 1559 | missing?: number[][]; |
| 1560 | sourceEnd?: number | null; |
| 1561 | hasMore?: boolean; |
| 1562 | reason?: string; |
| 1563 | recovery?: string; |
| 1564 | active?: boolean; |
| 1565 | } |
| 1566 | |
| 1567 | export interface ReceiptChange { |
| 1568 | path: string; |
| 1569 | reviewed: boolean; |
| 1570 | } |
| 1571 | |
| 1572 | export interface ReceiptGap { |
| 1573 | kind: string; |
| 1574 | detail?: string; |
| 1575 | } |
| 1576 | |
| 1577 | export interface ReceiptVerification { |
| 1578 | command: string; |
| 1579 | passed: boolean; |
| 1580 | stale?: boolean; |
| 1581 | toolCallId?: string; |
| 1582 | toolResultId?: string; |
| 1583 | interrupted?: boolean; |
| 1584 | exitCode?: number | null; |
| 1585 | } |
| 1586 | |
| 1587 | export interface RecoveryApproval { |
| 1588 | source_agent?: string; |
| 1589 | failed_tool?: string; |
| 1590 | failed_summary?: string; |
| 1591 | diagnosis?: string; |
| 1592 | next_tool?: string; |
| 1593 | next_action?: string; |
| 1594 | change_kind?: string; |
| 1595 | change_rationale?: string; |
| 1596 | review_rationale?: string; |
| 1597 | plan_before?: string; |
| 1598 | plan_after?: string; |
| 1599 | can_grant_task?: boolean; |
| 1600 | task_grant_scope?: string; |
| 1601 | } |
| 1602 | |
| 1603 | export interface SessionContextDiagnostics { |
| 1604 | version: number; |
| 1605 | digest: string; |
| 1606 | targetRole: string; |
| 1607 | reasons?: string[]; |
| 1608 | environment: SessionContextSectionDiagnostics; |
| 1609 | workspace: SessionContextSectionDiagnostics; |
| 1610 | backgroundMemory: SessionContextSectionDiagnostics; |
| 1611 | skillsCatalog: SessionContextSectionDiagnostics; |
| 1612 | } |
| 1613 | |
| 1614 | export interface SessionContextSectionDiagnostics { |
| 1615 | digest?: string; |
| 1616 | chars?: number; |
| 1617 | } |
| 1618 | |
| 1619 | export interface ShellExecution { |
| 1620 | kind?: string; |
| 1621 | shell?: string; |
| 1622 | shellVersion?: string; |
| 1623 | platform?: string; |
| 1624 | supportsAndAnd: boolean; |
| 1625 | state?: string; |
| 1626 | failurePhase?: string; |
| 1627 | exitCode?: number | null; |
| 1628 | outputTail?: string; |
| 1629 | mutationRisk?: string; |
| 1630 | verification?: string; |
| 1631 | durationMs?: number; |
| 1632 | } |
| 1633 | |
| 1634 | export interface StreamAttempt { |
| 1635 | id: string; |
| 1636 | action: string; |
| 1637 | attempt?: number; |
| 1638 | max?: number; |
| 1639 | reason?: string; |
| 1640 | } |
| 1641 | |
| 1642 | export interface Tool { |
| 1643 | runState?: string; |
| 1644 | diagnostic?: unknown; |
| 1645 | verifying?: boolean; |
| 1646 | id?: string; |
| 1647 | name: string; |
| 1648 | args?: string; |
| 1649 | todos: Todo[]; |
| 1650 | todoWritten?: boolean; |
| 1651 | resolvedName?: string; |
| 1652 | capabilityId?: string; |
| 1653 | output?: string; |
| 1654 | err?: string; |
| 1655 | readOnly: boolean; |
| 1656 | truncated?: boolean; |
| 1657 | durationMs?: number; |
| 1658 | startedAt?: number; |
| 1659 | endedAt?: number; |
| 1660 | partial?: boolean; |
| 1661 | argChars?: number; |
| 1662 | refreshed?: boolean; |
| 1663 | parentId?: string; |
| 1664 | attemptId?: string; |
| 1665 | subagentRef?: string; |
| 1666 | subagentStatus?: string; |
| 1667 | subagentErrorCode?: string; |
| 1668 | subagentRetryable?: boolean; |
| 1669 | diff?: string; |
| 1670 | added?: number; |
| 1671 | removed?: number; |
| 1672 | profile?: Profile | null; |
| 1673 | execution?: ShellExecution | null; |
| 1674 | presentedFiles?: PresentedFile[]; |
| 1675 | } |
| 1676 | |
| 1677 | export interface Usage { |
| 1678 | promptTokens: number; |
| 1679 | completionTokens: number; |
| 1680 | totalTokens: number; |
| 1681 | cacheHitTokens: number; |
| 1682 | cacheMissTokens: number; |
| 1683 | reasoningTokens?: number; |
| 1684 | estimated?: boolean; |
| 1685 | source?: string; |
| 1686 | cacheDiagnostics?: CacheDiagnostics | null; |
| 1687 | sessionCacheHitTokens: number; |
| 1688 | sessionCacheMissTokens: number; |
| 1689 | contextPromptTokens?: number; |
| 1690 | contextCompletionTokens?: number; |
| 1691 | contextReasoningTokens?: number; |
| 1692 | contextCacheHitTokens?: number; |
| 1693 | contextCacheMissTokens?: number; |
| 1694 | cost?: number; |
| 1695 | currency?: string; |
| 1696 | currencyCode?: string; |
| 1697 | costUsd?: number; |
| 1698 | costQuote?: CostQuote | null; |
| 1699 | costComplete?: boolean; |
| 1700 | displayComplete?: boolean; |
| 1701 | displayStatus?: string; |
| 1702 | aggregateMode?: string; |
| 1703 | originalTotals?: Money[]; |
| 1704 | } |
| 1705 | |
| 1706 | export interface WorkspaceChanged { |
| 1707 | revisions: eventwire_WorkspaceRevision; |
| 1708 | changes: WorkspacePathChange[]; |
| 1709 | allPaths: boolean; |
| 1710 | source: string; |
| 1711 | watchState: string; |
| 1712 | } |
| 1713 | |
| 1714 | export interface WorkspacePathChange { |
| 1715 | path: string; |
| 1716 | oldPath?: string; |
| 1717 | op: string; |
| 1718 | } |
| 1719 | |
| 1720 | export interface eventwire_WorkspaceRevision { |
| 1721 | content: number; |
| 1722 | tree: number; |
| 1723 | workingTree: number; |
| 1724 | gitMeta: number; |
| 1725 | session: number; |
| 1726 | } |
| 1727 | |
| 1728 | export interface WriteAccessApproval { |
| 1729 | directories: string[]; |
| 1730 | display_directories: string[]; |
| 1731 | justification?: string; |
| 1732 | broad_home_access?: boolean; |
| 1733 | ordinary_permission_needed?: boolean; |
| 1734 | persist_allowed?: boolean; |
| 1735 | } |
| 1736 | |
| 1737 | export interface TodoItem { |
| 1738 | content: string; |
| 1739 | status: string; |
| 1740 | activeForm?: string; |
| 1741 | level?: number; |
| 1742 | step_id?: string; |
| 1743 | } |
| 1744 | |
| 1745 | export interface BlockReason { |
| 1746 | code: string; |
| 1747 | message: string; |
| 1748 | } |
| 1749 | |
| 1750 | export interface View { |
| 1751 | id: string; |
| 1752 | revision: number; |
| 1753 | objective: string; |
| 1754 | phase: string; |
| 1755 | maxGoalRounds?: number | null; |
| 1756 | roundsStarted: number; |
| 1757 | blockedReason?: BlockReason | null; |
| 1758 | createdAt: string; |
| 1759 | updatedAt: string; |
| 1760 | activation: string; |
| 1761 | stopReason?: string; |
| 1762 | } |
| 1763 | |
| 1764 | export interface historycatalog_Status { |
| 1765 | state: string; |
| 1766 | mode: string; |
| 1767 | path?: string; |
| 1768 | revision: number; |
| 1769 | indexed: number; |
| 1770 | total: number; |
| 1771 | pending: number; |
| 1772 | failed: number; |
| 1773 | lastError?: string; |
| 1774 | quarantinedPath?: string; |
| 1775 | } |
| 1776 | |
| 1777 | export interface ActiveWorkView { |
| 1778 | running: boolean; |
| 1779 | pendingPrompt: boolean; |
| 1780 | cancellable: boolean; |
| 1781 | jobs: JobView[]; |
| 1782 | } |
| 1783 | |
| 1784 | export interface AgentView { |
| 1785 | temperature: number; |
| 1786 | maxSteps: number; |
| 1787 | plannerMaxSteps: number; |
| 1788 | maxSubagentDepth: number; |
| 1789 | maxSubagentConcurrency: number; |
| 1790 | maxParallelWriters: number; |
| 1791 | systemPrompt: string; |
| 1792 | reasoningLanguage: string; |
| 1793 | compactRatio?: number; |
| 1794 | effectiveCompactRatio?: number; |
| 1795 | compactRatioOverridden?: boolean; |
| 1796 | } |
| 1797 | |
| 1798 | export interface AttachmentTargetView { |
| 1799 | token: string; |
| 1800 | capabilities: string[]; |
| 1801 | } |
| 1802 | |
| 1803 | export interface BackgroundRuntimeView { |
| 1804 | tabId: string; |
| 1805 | title: string; |
| 1806 | detached: boolean; |
| 1807 | running: boolean; |
| 1808 | pendingPrompt: boolean; |
| 1809 | jobs: JobView[]; |
| 1810 | } |
| 1811 | |
| 1812 | export interface BalanceInfo { |
| 1813 | available: boolean; |
| 1814 | display: string; |
| 1815 | detail?: string; |
| 1816 | complete: boolean; |
| 1817 | rateDate?: string; |
| 1818 | approx?: boolean; |
| 1819 | currencies?: string[]; |
| 1820 | primaryCurrency?: string; |
| 1821 | costDisplayCurrency?: string; |
| 1822 | multiCurrency?: boolean; |
| 1823 | err?: string; |
| 1824 | } |
| 1825 | |
| 1826 | export interface BotAccessView { |
| 1827 | enabled: boolean; |
| 1828 | allowAll: boolean; |
| 1829 | pairingEnabled: boolean; |
| 1830 | users: string[]; |
| 1831 | groups: string[]; |
| 1832 | approvers: string[]; |
| 1833 | admins: string[]; |
| 1834 | } |
| 1835 | |
| 1836 | export interface BotAllowlistView { |
| 1837 | enabled: boolean; |
| 1838 | allowAll: boolean; |
| 1839 | qqUsers: string[]; |
| 1840 | feishuUsers: string[]; |
| 1841 | weixinUsers: string[]; |
| 1842 | qqApprovers: string[]; |
| 1843 | feishuApprovers: string[]; |
| 1844 | weixinApprovers: string[]; |
| 1845 | qqAdmins: string[]; |
| 1846 | feishuAdmins: string[]; |
| 1847 | weixinAdmins: string[]; |
| 1848 | qqGroups: string[]; |
| 1849 | feishuGroups: string[]; |
| 1850 | weixinGroups: string[]; |
| 1851 | dingtalkUsers: string[]; |
| 1852 | dingtalkApprovers: string[]; |
| 1853 | dingtalkAdmins: string[]; |
| 1854 | dingtalkGroups: string[]; |
| 1855 | } |
| 1856 | |
| 1857 | export interface BotConnectionCredentialView { |
| 1858 | appId: string; |
| 1859 | appSecretEnv: string; |
| 1860 | accountId: string; |
| 1861 | tokenEnv: string; |
| 1862 | secretSet: boolean; |
| 1863 | } |
| 1864 | |
| 1865 | export interface BotConnectionDiagnostic { |
| 1866 | id: string; |
| 1867 | label: string; |
| 1868 | status: string; |
| 1869 | message: string; |
| 1870 | messageId: string; |
| 1871 | phase: string; |
| 1872 | code: string; |
| 1873 | reportKind: string; |
| 1874 | reportDetail: string; |
| 1875 | occurredAt: string; |
| 1876 | } |
| 1877 | |
| 1878 | export interface BotConnectionSessionMappingView { |
| 1879 | remoteId: string; |
| 1880 | sessionId: string; |
| 1881 | sessionSource: string; |
| 1882 | chatType: string; |
| 1883 | userId: string; |
| 1884 | threadId: string; |
| 1885 | scope: string; |
| 1886 | workspaceRoot: string; |
| 1887 | updatedAt: string; |
| 1888 | } |
| 1889 | |
| 1890 | export interface BotConnectionView { |
| 1891 | id: string; |
| 1892 | provider: string; |
| 1893 | domain: string; |
| 1894 | label: string; |
| 1895 | enabled: boolean; |
| 1896 | status: string; |
| 1897 | model: string; |
| 1898 | toolApprovalMode: string; |
| 1899 | workspaceRoot: string; |
| 1900 | access: BotAccessView; |
| 1901 | credential: BotConnectionCredentialView; |
| 1902 | sessionMappings: BotConnectionSessionMappingView[]; |
| 1903 | lastError: string; |
| 1904 | createdAt: string; |
| 1905 | updatedAt: string; |
| 1906 | } |
| 1907 | |
| 1908 | export interface BotControlView { |
| 1909 | enabled: boolean; |
| 1910 | addr: string; |
| 1911 | tokenEnv: string; |
| 1912 | } |
| 1913 | |
| 1914 | export interface BotInstallPollResult { |
| 1915 | done: boolean; |
| 1916 | connection: BotConnectionView; |
| 1917 | status: string; |
| 1918 | message: string; |
| 1919 | error: string; |
| 1920 | } |
| 1921 | |
| 1922 | export interface BotInstallStartResult { |
| 1923 | ok: boolean; |
| 1924 | provider: string; |
| 1925 | domain: string; |
| 1926 | installId: string; |
| 1927 | url: string; |
| 1928 | deviceCode: string; |
| 1929 | userCode: string; |
| 1930 | interval: number; |
| 1931 | expireIn: number; |
| 1932 | message: string; |
| 1933 | } |
| 1934 | |
| 1935 | export interface BotPairingView { |
| 1936 | enabled: boolean; |
| 1937 | requestTtlMinutes: number; |
| 1938 | maxPendingPerPlatform: number; |
| 1939 | } |
| 1940 | |
| 1941 | export interface BotRouteView { |
| 1942 | connectionId: string; |
| 1943 | platform: string; |
| 1944 | chatType: string; |
| 1945 | chatId: string; |
| 1946 | userId: string; |
| 1947 | threadId: string; |
| 1948 | model: string; |
| 1949 | toolApprovalMode: string; |
| 1950 | workspaceRoot: string; |
| 1951 | } |
| 1952 | |
| 1953 | export interface BotRuntimeStatusView { |
| 1954 | running: boolean; |
| 1955 | status: string; |
| 1956 | message: string; |
| 1957 | connections: number; |
| 1958 | startedAt: string; |
| 1959 | platforms?: Record<string, string>; |
| 1960 | } |
| 1961 | |
| 1962 | export interface BotSelfUserIDsView { |
| 1963 | qq: string[]; |
| 1964 | feishu: string[]; |
| 1965 | weixin: string[]; |
| 1966 | dingtalk: string[]; |
| 1967 | } |
| 1968 | |
| 1969 | export interface BotSettingsView { |
| 1970 | enabled: boolean; |
| 1971 | model: string; |
| 1972 | toolApprovalMode: string; |
| 1973 | maxSteps: number; |
| 1974 | debounceMs: number; |
| 1975 | queueMode: string; |
| 1976 | queueCap: number; |
| 1977 | queueDrop: string; |
| 1978 | ignoreSelfMessages: boolean; |
| 1979 | selfUserIds: BotSelfUserIDsView; |
| 1980 | control: BotControlView; |
| 1981 | pairing: BotPairingView; |
| 1982 | routes: BotRouteView[]; |
| 1983 | allowlist: BotAllowlistView; |
| 1984 | qq: QQBotView; |
| 1985 | feishu: FeishuBotView; |
| 1986 | weixin: WeixinBotView; |
| 1987 | dingtalk: DingtalkBotView; |
| 1988 | connections: BotConnectionView[]; |
| 1989 | } |
| 1990 | |
| 1991 | export interface CapabilitiesView { |
| 1992 | servers: ServerView[]; |
| 1993 | skills: SkillView[]; |
| 1994 | skillRoots: SkillRootView[]; |
| 1995 | plugins: PluginView[]; |
| 1996 | } |
| 1997 | |
| 1998 | export interface ChangedFileInfo { |
| 1999 | path: string; |
| 2000 | oldPath?: string; |
| 2001 | sources: string[]; |
| 2002 | gitStatus?: string; |
| 2003 | turns: number[]; |
| 2004 | latestPrompt?: string; |
| 2005 | latestTime?: number; |
| 2006 | } |
| 2007 | |
| 2008 | export interface ChatFileReference { |
| 2009 | key: string; |
| 2010 | path: string; |
| 2011 | status: string; |
| 2012 | displayPath?: string; |
| 2013 | kind?: string; |
| 2014 | actions: string[]; |
| 2015 | reason?: string; |
| 2016 | } |
| 2017 | |
| 2018 | export interface ChatFileReferenceRequest { |
| 2019 | key: string; |
| 2020 | path: string; |
| 2021 | } |
| 2022 | |
| 2023 | export interface ChatFileReferenceResult { |
| 2024 | turnKey: string; |
| 2025 | references: ChatFileReference[]; |
| 2026 | } |
| 2027 | |
| 2028 | export interface CheckpointMeta { |
| 2029 | turn: number; |
| 2030 | prompt: string; |
| 2031 | files: string[]; |
| 2032 | fileCount: number; |
| 2033 | filesTruncated?: boolean; |
| 2034 | turnFileCount: number; |
| 2035 | time: number; |
| 2036 | canCode: boolean; |
| 2037 | canConversation: boolean; |
| 2038 | coverage?: string; |
| 2039 | coverageGaps?: string[]; |
| 2040 | expiredFilePayload?: boolean; |
| 2041 | activeWriters?: number; |
| 2042 | legacy?: boolean; |
| 2043 | canUndoFiles?: boolean; |
| 2044 | disabledReason?: string; |
| 2045 | } |
| 2046 | |
| 2047 | export interface CloseMergedWorktreeTabRequest { |
| 2048 | tabId: string; |
| 2049 | worktreeRoot: string; |
| 2050 | sourceTabId: string; |
| 2051 | sourceRoot: string; |
| 2052 | navigationIntentToken: string; |
| 2053 | } |
| 2054 | |
| 2055 | export interface CloseMergedWorktreeTabResult { |
| 2056 | closed: boolean; |
| 2057 | idempotent: boolean; |
| 2058 | } |
| 2059 | |
| 2060 | export interface CommandInfo { |
| 2061 | name: string; |
| 2062 | description: string; |
| 2063 | hint?: string; |
| 2064 | kind: string; |
| 2065 | group?: string; |
| 2066 | plugin?: string; |
| 2067 | color?: string; |
| 2068 | draftBehavior?: string; |
| 2069 | } |
| 2070 | |
| 2071 | export interface ComposerTarget { |
| 2072 | kind: string; |
| 2073 | draftId?: string; |
| 2074 | tabId?: string; |
| 2075 | session?: SessionRef | null; |
| 2076 | generation?: number; |
| 2077 | } |
| 2078 | |
| 2079 | export interface ContextBudgetInfo { |
| 2080 | windowMode?: string; |
| 2081 | limitMode?: string; |
| 2082 | source?: string; |
| 2083 | windowTokens?: number; |
| 2084 | promptTokens?: number; |
| 2085 | autoOutputTokens?: number; |
| 2086 | maxOutputTokens?: number; |
| 2087 | requestedOutputTokens?: number; |
| 2088 | effectiveOutputTokens?: number; |
| 2089 | reserveTokens?: number; |
| 2090 | physicalRemaining?: number; |
| 2091 | clipped?: boolean; |
| 2092 | lastRecovery?: string; |
| 2093 | observedWindow?: number; |
| 2094 | observedPrompt?: number; |
| 2095 | observedCompletion?: number; |
| 2096 | } |
| 2097 | |
| 2098 | export interface ContextInfo { |
| 2099 | used: number; |
| 2100 | window: number; |
| 2101 | sessionTokens: number; |
| 2102 | compactRatio?: number; |
| 2103 | sessionCost?: number; |
| 2104 | sessionCurrency?: string; |
| 2105 | cacheHitTokens?: number; |
| 2106 | cacheMissTokens?: number; |
| 2107 | estimated?: boolean; |
| 2108 | sessionCostComplete?: boolean; |
| 2109 | sessionCostQuote?: CostQuote | null; |
| 2110 | sources?: Record<string, usageSourceStats>; |
| 2111 | maintenance?: ContextMaintenanceInfo | null; |
| 2112 | contextBudget?: ContextBudgetInfo | null; |
| 2113 | } |
| 2114 | |
| 2115 | export interface ContextMaintenanceInfo { |
| 2116 | canonicalTokens?: number; |
| 2117 | projectedTokens?: number; |
| 2118 | summaryTokens?: number; |
| 2119 | lastSavedTokens?: number; |
| 2120 | snipTrigger?: number; |
| 2121 | foldTrigger?: number; |
| 2122 | forceTrigger?: number; |
| 2123 | triggerTokens?: number; |
| 2124 | checkpointState?: string; |
| 2125 | hardInputCeiling?: number; |
| 2126 | headroom?: number; |
| 2127 | projectionVersion?: number; |
| 2128 | blocked?: boolean; |
| 2129 | lastReceipt?: ContextMaintenanceReceiptInfo | null; |
| 2130 | contextBudget?: ContextBudgetInfo | null; |
| 2131 | } |
| 2132 | |
| 2133 | export interface ContextMaintenanceReceiptInfo { |
| 2134 | operationId?: string; |
| 2135 | status?: string; |
| 2136 | action?: string; |
| 2137 | trigger?: string; |
| 2138 | sourceProjection?: number; |
| 2139 | projectionVersion?: number; |
| 2140 | coveredCount?: number; |
| 2141 | coveredPrefixHash?: string; |
| 2142 | inputHash?: string; |
| 2143 | outputHash?: string; |
| 2144 | inputTokens?: number; |
| 2145 | resultTokens?: number; |
| 2146 | savedTokens?: number; |
| 2147 | affectedToolResults?: number; |
| 2148 | summaryHash?: string; |
| 2149 | archive?: string; |
| 2150 | cacheBreak?: boolean; |
| 2151 | reason?: string; |
| 2152 | blockedInputHash?: string; |
| 2153 | createdAt?: string; |
| 2154 | } |
| 2155 | |
| 2156 | export interface ContextPanelInfo { |
| 2157 | usedTokens: number; |
| 2158 | windowTokens: number; |
| 2159 | promptTokens: number; |
| 2160 | completionTokens: number; |
| 2161 | totalTokens: number; |
| 2162 | reasoningTokens: number; |
| 2163 | cacheHitTokens: number; |
| 2164 | cacheMissTokens: number; |
| 2165 | estimated?: boolean; |
| 2166 | sessionCacheHitTokens: number; |
| 2167 | sessionCacheMissTokens: number; |
| 2168 | sessionCompletionTokens: number; |
| 2169 | sessionEstimated?: boolean; |
| 2170 | requestCount: number; |
| 2171 | elapsedMs: number; |
| 2172 | sessionCost: number; |
| 2173 | sessionCurrency?: string; |
| 2174 | sessionCostUsd?: number; |
| 2175 | sessionCostComplete?: boolean; |
| 2176 | sessionCostEstimated?: boolean; |
| 2177 | sessionBillingMode?: string; |
| 2178 | sessionCostQuote?: CostQuote | null; |
| 2179 | sources?: Record<string, usageSourceStats>; |
| 2180 | mock?: boolean; |
| 2181 | readFiles: readFileRecord[]; |
| 2182 | changedFiles: ChangedFileInfo[]; |
| 2183 | contextBudget?: ContextBudgetInfo | null; |
| 2184 | } |
| 2185 | |
| 2186 | export interface DesktopShellStatusView { |
| 2187 | trayState: string; |
| 2188 | backgroundCloseAvailable: boolean; |
| 2189 | reason?: string; |
| 2190 | } |
| 2191 | |
| 2192 | export interface DesktopStartupSettingsView { |
| 2193 | bot: BotSettingsView; |
| 2194 | desktopLanguage: string; |
| 2195 | desktopLayoutStyle: string; |
| 2196 | desktopTheme: string; |
| 2197 | desktopThemeStyle: string; |
| 2198 | desktopTerminalTheme?: string; |
| 2199 | displayMode: string; |
| 2200 | sessionExperience: string; |
| 2201 | reasoningDisplayMode: string; |
| 2202 | reasoningDisplayModeExplicit: boolean; |
| 2203 | statusBarStyle: string; |
| 2204 | statusBarItems: string[]; |
| 2205 | checkUpdates: boolean; |
| 2206 | updaterEnabled: boolean; |
| 2207 | updateChannel: string; |
| 2208 | conversationWidth?: string; |
| 2209 | configWarnings?: string[]; |
| 2210 | configWarningsRevision: number; |
| 2211 | configPath?: string; |
| 2212 | } |
| 2213 | |
| 2214 | export interface DesktopWindowState { |
| 2215 | width: number; |
| 2216 | height: number; |
| 2217 | x: number; |
| 2218 | y: number; |
| 2219 | maximised: boolean; |
| 2220 | } |
| 2221 | |
| 2222 | export interface DingtalkBotView { |
| 2223 | enabled: boolean; |
| 2224 | clientId: string; |
| 2225 | clientSecretEnv: string; |
| 2226 | secretSet: boolean; |
| 2227 | botName: string; |
| 2228 | requireMention: boolean; |
| 2229 | model: string; |
| 2230 | toolApprovalMode: string; |
| 2231 | workspaceRoot: string; |
| 2232 | access: BotAccessView; |
| 2233 | } |
| 2234 | |
| 2235 | export interface DirEntry { |
| 2236 | name: string; |
| 2237 | path?: string; |
| 2238 | isDir: boolean; |
| 2239 | displayName?: string; |
| 2240 | displayPath?: string; |
| 2241 | } |
| 2242 | |
| 2243 | export interface DraftImageView { |
| 2244 | draftId: string; |
| 2245 | path?: string; |
| 2246 | displayName: string; |
| 2247 | mime: string; |
| 2248 | width: number; |
| 2249 | height: number; |
| 2250 | bytes: number; |
| 2251 | } |
| 2252 | |
| 2253 | export interface DraftWorkspaceRef { |
| 2254 | path: string; |
| 2255 | isDir?: boolean; |
| 2256 | displayPath?: string; |
| 2257 | } |
| 2258 | |
| 2259 | export interface DroppedItem { |
| 2260 | kind: string; |
| 2261 | path: string; |
| 2262 | isDir?: boolean; |
| 2263 | displayPath?: string; |
| 2264 | previewUrl?: string; |
| 2265 | } |
| 2266 | |
| 2267 | export interface EffortInfo { |
| 2268 | options?: ReasoningOption[]; |
| 2269 | supported: boolean; |
| 2270 | current: string; |
| 2271 | default: string; |
| 2272 | levels: string[]; |
| 2273 | } |
| 2274 | |
| 2275 | export interface ExtensionActionView { |
| 2276 | plugin: string; |
| 2277 | action: string; |
| 2278 | slash: string; |
| 2279 | description?: string; |
| 2280 | } |
| 2281 | |
| 2282 | export interface ExtensionFormTarget { |
| 2283 | tabId: string; |
| 2284 | hostId: string; |
| 2285 | sessionId: string; |
| 2286 | sessionGeneration: number; |
| 2287 | pluginId: string; |
| 2288 | surfaceId: string; |
| 2289 | pluginGeneration: number; |
| 2290 | formInstanceId: string; |
| 2291 | } |
| 2292 | |
| 2293 | export interface ExternalOpenerView { |
| 2294 | id: string; |
| 2295 | name: string; |
| 2296 | kind: string; |
| 2297 | iconDataUrl?: string; |
| 2298 | } |
| 2299 | |
| 2300 | export interface ExternalOpenersView { |
| 2301 | openers: ExternalOpenerView[]; |
| 2302 | preferred: string; |
| 2303 | workspaceOpenable?: boolean; |
| 2304 | } |
| 2305 | |
| 2306 | export interface FeishuBotView { |
| 2307 | enabled: boolean; |
| 2308 | domain: string; |
| 2309 | appId: string; |
| 2310 | appSecretEnv: string; |
| 2311 | secretSet: boolean; |
| 2312 | verificationToken: string; |
| 2313 | mode: string; |
| 2314 | webhookPort: number; |
| 2315 | requireMention: boolean; |
| 2316 | } |
| 2317 | |
| 2318 | export interface FilePreview { |
| 2319 | path: string; |
| 2320 | body: string; |
| 2321 | size: number; |
| 2322 | truncated: boolean; |
| 2323 | binary: boolean; |
| 2324 | version?: string; |
| 2325 | nextOffset?: number; |
| 2326 | kind?: string; |
| 2327 | mime?: string; |
| 2328 | url?: string; |
| 2329 | err?: string; |
| 2330 | } |
| 2331 | |
| 2332 | export interface ForkAnchorView { |
| 2333 | sourceHostId?: string; |
| 2334 | sourceSessionId: string; |
| 2335 | sessionGeneration: number; |
| 2336 | turnId: string; |
| 2337 | boundarySequence: number; |
| 2338 | } |
| 2339 | |
| 2340 | export interface ForkCreationView { |
| 2341 | sessionId?: string; |
| 2342 | tabId?: string; |
| 2343 | operationId?: string; |
| 2344 | opened: boolean; |
| 2345 | code?: string; |
| 2346 | reason?: string; |
| 2347 | error?: string; |
| 2348 | } |
| 2349 | |
| 2350 | export interface ForkTargetSetView { |
| 2351 | sourceHostId?: string; |
| 2352 | sourceSessionId?: string; |
| 2353 | sessionGeneration?: number; |
| 2354 | targets: ForkTargetView[]; |
| 2355 | verifiable: boolean; |
| 2356 | } |
| 2357 | |
| 2358 | export interface ForkTargetView { |
| 2359 | sourceHostId?: string; |
| 2360 | sourceSessionId: string; |
| 2361 | sessionGeneration: number; |
| 2362 | turnId: string; |
| 2363 | boundarySequence: number; |
| 2364 | turnNumber: number; |
| 2365 | status: string; |
| 2366 | messageId?: string; |
| 2367 | available: boolean; |
| 2368 | reason?: string; |
| 2369 | } |
| 2370 | |
| 2371 | export interface ForkWorktreeResultView { |
| 2372 | tab: TabMeta; |
| 2373 | isolated: boolean; |
| 2374 | fallbackToShared?: boolean; |
| 2375 | sourceDirty?: boolean; |
| 2376 | branch?: string; |
| 2377 | } |
| 2378 | |
| 2379 | export interface GitCommitDetailView { |
| 2380 | diff?: string | null; |
| 2381 | files?: string[]; |
| 2382 | } |
| 2383 | |
| 2384 | export interface GitCommitView { |
| 2385 | hash: string; |
| 2386 | author: string; |
| 2387 | date: string; |
| 2388 | message: string; |
| 2389 | } |
| 2390 | |
| 2391 | export interface GoalRuntimeView { |
| 2392 | turnsUsed: number; |
| 2393 | turnsLimit: number; |
| 2394 | tokensUsed: number; |
| 2395 | requestsUsed?: number; |
| 2396 | workDurationMs?: number; |
| 2397 | tokensLimit: number; |
| 2398 | noProgressTurns: number; |
| 2399 | noProgressLimit: number; |
| 2400 | lastReason?: string; |
| 2401 | stopCause?: string; |
| 2402 | budgetExtensions: number; |
| 2403 | } |
| 2404 | |
| 2405 | export interface HeartbeatConfigUpdate { |
| 2406 | revision: number; |
| 2407 | etag: string; |
| 2408 | tasks: HeartbeatTask[]; |
| 2409 | } |
| 2410 | |
| 2411 | export interface HeartbeatConfigView { |
| 2412 | revision: number; |
| 2413 | etag: string; |
| 2414 | tasks: HeartbeatTask[]; |
| 2415 | } |
| 2416 | |
| 2417 | export interface HeartbeatRun { |
| 2418 | at: number; |
| 2419 | topicId: string; |
| 2420 | } |
| 2421 | |
| 2422 | export interface HeartbeatTask { |
| 2423 | id: string; |
| 2424 | title: string; |
| 2425 | prompt: string; |
| 2426 | interval: string; |
| 2427 | enabled: boolean; |
| 2428 | scope?: string; |
| 2429 | workspaceRoot?: string; |
| 2430 | topicId?: string; |
| 2431 | lastRunAt?: number; |
| 2432 | newConversationEachRun?: boolean; |
| 2433 | runHistory?: HeartbeatRun[]; |
| 2434 | createdAt?: number; |
| 2435 | approvalMode: string; |
| 2436 | timeWindowStart?: string; |
| 2437 | timeWindowEnd?: string; |
| 2438 | notifyChannels?: boolean | null; |
| 2439 | } |
| 2440 | |
| 2441 | export interface HistoricalImportStatus { |
| 2442 | items: HistoricalSessionView[]; |
| 2443 | running: boolean; |
| 2444 | paused: boolean; |
| 2445 | remaining: number; |
| 2446 | completed: number; |
| 2447 | blocked: number; |
| 2448 | failed: number; |
| 2449 | } |
| 2450 | |
| 2451 | export interface HistoricalSessionView { |
| 2452 | id: string; |
| 2453 | title: string; |
| 2454 | format: string; |
| 2455 | status: string; |
| 2456 | errorCode?: string; |
| 2457 | session?: SessionRef | null; |
| 2458 | source?: SessionSourceRef | null; |
| 2459 | } |
| 2460 | |
| 2461 | export interface HistoricalSourceUpdateView { |
| 2462 | sourceKey: string; |
| 2463 | status: string; |
| 2464 | version?: string; |
| 2465 | target?: SessionRef | null; |
| 2466 | source?: SessionSourceRef | null; |
| 2467 | errorCode?: string; |
| 2468 | retryable: boolean; |
| 2469 | } |
| 2470 | |
| 2471 | export interface HistoryContentChunk { |
| 2472 | entryId: string; |
| 2473 | field: string; |
| 2474 | chunk: number; |
| 2475 | chunks: number; |
| 2476 | data: string; |
| 2477 | done: boolean; |
| 2478 | stale: boolean; |
| 2479 | } |
| 2480 | |
| 2481 | export interface HistoryContentRef { |
| 2482 | entryId: string; |
| 2483 | field: string; |
| 2484 | size: number; |
| 2485 | chunks: number; |
| 2486 | toolCallId?: string; |
| 2487 | revision: number; |
| 2488 | revKnown?: boolean; |
| 2489 | digest: string; |
| 2490 | } |
| 2491 | |
| 2492 | export interface HistoryEntry { |
| 2493 | entryId: string; |
| 2494 | turn: number; |
| 2495 | order: number; |
| 2496 | message: Message; |
| 2497 | refs: HistoryContentRef[]; |
| 2498 | } |
| 2499 | |
| 2500 | export interface HistoryPage { |
| 2501 | messages: Message[]; |
| 2502 | startTurn: number; |
| 2503 | endTurn: number; |
| 2504 | totalTurns: number; |
| 2505 | hasOlder: boolean; |
| 2506 | revision?: number; |
| 2507 | digest?: string; |
| 2508 | switch?: HistorySwitchPhases | null; |
| 2509 | } |
| 2510 | |
| 2511 | export interface HistorySearchContextLine { |
| 2512 | index: number; |
| 2513 | role: string; |
| 2514 | text: string; |
| 2515 | } |
| 2516 | |
| 2517 | export interface HistorySearchContextRequest { |
| 2518 | sessionPath: string; |
| 2519 | messageIndex: number; |
| 2520 | before: number; |
| 2521 | after: number; |
| 2522 | } |
| 2523 | |
| 2524 | export interface HistorySearchHit { |
| 2525 | sessionPath: string; |
| 2526 | sessionId: string; |
| 2527 | source: string; |
| 2528 | messageIndex: number; |
| 2529 | role: string; |
| 2530 | kind: string; |
| 2531 | toolName?: string; |
| 2532 | snippet: string; |
| 2533 | score: number; |
| 2534 | sessionTitle?: string; |
| 2535 | topicTitle?: string; |
| 2536 | workspaceRoot?: string; |
| 2537 | lastActivityAt: number; |
| 2538 | open: boolean; |
| 2539 | running: boolean; |
| 2540 | current: boolean; |
| 2541 | } |
| 2542 | |
| 2543 | export interface HistorySearchPage { |
| 2544 | items: HistorySearchHit[]; |
| 2545 | nextCursor: string; |
| 2546 | revision: number; |
| 2547 | partial: boolean; |
| 2548 | staleCursor: boolean; |
| 2549 | status: historycatalog_Status; |
| 2550 | } |
| 2551 | |
| 2552 | export interface HistorySearchRequest { |
| 2553 | query: string; |
| 2554 | scope: string; |
| 2555 | workspaceRoot?: string; |
| 2556 | status: string; |
| 2557 | timeFilter: string; |
| 2558 | kinds: string[]; |
| 2559 | toolName: string; |
| 2560 | cursor: string; |
| 2561 | limit: number; |
| 2562 | } |
| 2563 | |
| 2564 | export interface HistorySessionPage { |
| 2565 | items: SessionMeta[]; |
| 2566 | nextCursor: string; |
| 2567 | revision: number; |
| 2568 | partial: boolean; |
| 2569 | staleCursor: boolean; |
| 2570 | } |
| 2571 | |
| 2572 | export interface HistorySessionPageRequest { |
| 2573 | scope: string; |
| 2574 | workspaceRoot?: string; |
| 2575 | status: string; |
| 2576 | timeFilter: string; |
| 2577 | query: string; |
| 2578 | cursor: string; |
| 2579 | limit: number; |
| 2580 | } |
| 2581 | |
| 2582 | export interface HistorySlice { |
| 2583 | entries: HistoryEntry[]; |
| 2584 | nextCursor: string; |
| 2585 | hasOlder: boolean; |
| 2586 | totalTurns: number; |
| 2587 | startTurn: number; |
| 2588 | endTurn: number; |
| 2589 | stale: boolean; |
| 2590 | revision: number; |
| 2591 | revisionKnown?: boolean; |
| 2592 | digest?: string; |
| 2593 | source?: string; |
| 2594 | error?: string; |
| 2595 | } |
| 2596 | |
| 2597 | export interface HistorySliceRequest { |
| 2598 | cursor: string; |
| 2599 | turns: number; |
| 2600 | entries: number; |
| 2601 | bytes: number; |
| 2602 | } |
| 2603 | |
| 2604 | export interface HistorySwitchPhases { |
| 2605 | resolveMs: number; |
| 2606 | loadMs: number; |
| 2607 | rebindMs: number; |
| 2608 | historyMs: number; |
| 2609 | totalMs: number; |
| 2610 | loadedMessages: number; |
| 2611 | loadedBytes: number; |
| 2612 | historyEntries: number; |
| 2613 | durableReads: number; |
| 2614 | outcome: string; |
| 2615 | } |
| 2616 | |
| 2617 | export interface HookConfigView { |
| 2618 | event: string; |
| 2619 | match?: string; |
| 2620 | command: string; |
| 2621 | description?: string; |
| 2622 | timeout?: number; |
| 2623 | cwd?: string; |
| 2624 | } |
| 2625 | |
| 2626 | export interface HooksSettingsView { |
| 2627 | scope: string; |
| 2628 | path: string; |
| 2629 | projectRoot: string; |
| 2630 | trusted: boolean; |
| 2631 | hooks: HookConfigView[]; |
| 2632 | events: string[]; |
| 2633 | } |
| 2634 | |
| 2635 | export interface InboxCancelResultView { |
| 2636 | discardedItemIds: string[]; |
| 2637 | warning?: string; |
| 2638 | } |
| 2639 | |
| 2640 | export interface InboxEnvelopeView { |
| 2641 | id: string; |
| 2642 | displayText: string; |
| 2643 | rawText: string; |
| 2644 | submitText: string; |
| 2645 | } |
| 2646 | |
| 2647 | export interface InboxItemView { |
| 2648 | id: string; |
| 2649 | intent: string; |
| 2650 | state: string; |
| 2651 | preview: string; |
| 2652 | byteSize: number; |
| 2653 | source?: string; |
| 2654 | blockReason?: string; |
| 2655 | createdAt?: string; |
| 2656 | position: number; |
| 2657 | } |
| 2658 | |
| 2659 | export interface InboxReceiptView { |
| 2660 | itemId: string; |
| 2661 | disposition: string; |
| 2662 | position: number; |
| 2663 | paused: boolean; |
| 2664 | idempotent?: boolean; |
| 2665 | error?: string; |
| 2666 | } |
| 2667 | |
| 2668 | export interface InboxSnapshotView { |
| 2669 | revision: number; |
| 2670 | paused: boolean; |
| 2671 | recovered: boolean; |
| 2672 | recoveredCount?: number; |
| 2673 | sessionPath?: string; |
| 2674 | items: InboxItemView[]; |
| 2675 | itemsCount: number; |
| 2676 | bytes: number; |
| 2677 | maxItems: number; |
| 2678 | maxBytes: number; |
| 2679 | } |
| 2680 | |
| 2681 | export interface InboxTargetView { |
| 2682 | tabId: string; |
| 2683 | sessionPath: string; |
| 2684 | generation: number; |
| 2685 | selection: number; |
| 2686 | remote: boolean; |
| 2687 | hostId?: string; |
| 2688 | workspace?: string; |
| 2689 | } |
| 2690 | |
| 2691 | export interface InstructionDiagnostic { |
| 2692 | code: string; |
| 2693 | path: string; |
| 2694 | sourcePath?: string; |
| 2695 | line?: number; |
| 2696 | message: string; |
| 2697 | } |
| 2698 | |
| 2699 | export interface InteractionTargetView { |
| 2700 | tabId: string; |
| 2701 | hostId: string; |
| 2702 | sessionId: string; |
| 2703 | sessionGeneration: number; |
| 2704 | promptId: string; |
| 2705 | turnId: string; |
| 2706 | runtimeEpoch: string; |
| 2707 | kind: string; |
| 2708 | } |
| 2709 | |
| 2710 | export interface main_InvocationRequest { |
| 2711 | name: string; |
| 2712 | kind: string; |
| 2713 | offset: number; |
| 2714 | } |
| 2715 | |
| 2716 | export interface IsolatedWorktreeOpenResult { |
| 2717 | workspaceRoot: string; |
| 2718 | worktreeRoot: string; |
| 2719 | sourceRoot: string; |
| 2720 | branch: string; |
| 2721 | sourceDirty: boolean; |
| 2722 | sourceRevision?: string; |
| 2723 | taskId?: string; |
| 2724 | conversationId?: string; |
| 2725 | tab: TabMeta; |
| 2726 | } |
| 2727 | |
| 2728 | export interface JobCancelBatchView { |
| 2729 | cancelled: string[]; |
| 2730 | notRunning: string[]; |
| 2731 | } |
| 2732 | |
| 2733 | export interface JobView { |
| 2734 | id: string; |
| 2735 | kind: string; |
| 2736 | label: string; |
| 2737 | status: string; |
| 2738 | startedAt: number; |
| 2739 | } |
| 2740 | |
| 2741 | export interface LegacyEmptySessionCleanupItem { |
| 2742 | id: string; |
| 2743 | kind: string; |
| 2744 | workspaceId?: string; |
| 2745 | sessionId?: string; |
| 2746 | topicId?: string; |
| 2747 | title?: string; |
| 2748 | phase: string; |
| 2749 | classification?: string; |
| 2750 | reason?: string; |
| 2751 | } |
| 2752 | |
| 2753 | export interface LegacyEmptySessionCleanupStatus { |
| 2754 | version: number; |
| 2755 | batchId?: string; |
| 2756 | state: string; |
| 2757 | removed: number; |
| 2758 | pending: number; |
| 2759 | busy: number; |
| 2760 | unknown: number; |
| 2761 | protected: number; |
| 2762 | hasContent: number; |
| 2763 | items: LegacyEmptySessionCleanupItem[]; |
| 2764 | } |
| 2765 | |
| 2766 | export interface LegacyWorkbenchDataView { |
| 2767 | mirrorCount: number; |
| 2768 | mirrorBytes: number; |
| 2769 | trustFile: boolean; |
| 2770 | } |
| 2771 | |
| 2772 | export interface MCPAppInstanceView { |
| 2773 | instanceToken: string; |
| 2774 | tabId: string; |
| 2775 | server: string; |
| 2776 | tool: string; |
| 2777 | outerUrl: string; |
| 2778 | resourceQuery: string; |
| 2779 | resourceDigest: string; |
| 2780 | } |
| 2781 | |
| 2782 | export interface MCPCapabilityMatrixView { |
| 2783 | views: MCPCapabilityView[]; |
| 2784 | hostProfile: string; |
| 2785 | } |
| 2786 | |
| 2787 | export interface MCPCapabilityView { |
| 2788 | id: string; |
| 2789 | layer: string; |
| 2790 | state: string; |
| 2791 | negotiated: boolean; |
| 2792 | detail: string; |
| 2793 | } |
| 2794 | |
| 2795 | export interface MCPMarketplaceEntryView { |
| 2796 | name: string; |
| 2797 | suggestedName: string; |
| 2798 | title?: string; |
| 2799 | description?: string; |
| 2800 | version?: string; |
| 2801 | repositoryUrl?: string; |
| 2802 | installable: boolean; |
| 2803 | unavailableReason?: string; |
| 2804 | transport?: string; |
| 2805 | command?: string; |
| 2806 | args: string[]; |
| 2807 | url?: string; |
| 2808 | } |
| 2809 | |
| 2810 | export interface MCPMarketplaceView { |
| 2811 | servers: MCPMarketplaceEntryView[]; |
| 2812 | cached: boolean; |
| 2813 | warning?: string; |
| 2814 | } |
| 2815 | |
| 2816 | export interface MCPServerInput { |
| 2817 | name: string; |
| 2818 | transport: string; |
| 2819 | command: string; |
| 2820 | args: string[]; |
| 2821 | url: string; |
| 2822 | env: Record<string, string>; |
| 2823 | headers: Record<string, string>; |
| 2824 | autoStart?: boolean | null; |
| 2825 | callTimeoutSeconds?: number | null; |
| 2826 | toolTimeoutSeconds: Record<string, number>; |
| 2827 | } |
| 2828 | |
| 2829 | export interface MarkdownImageView { |
| 2830 | url: string; |
| 2831 | filename?: string; |
| 2832 | mime?: string; |
| 2833 | size?: number; |
| 2834 | openHref?: string; |
| 2835 | errorCode?: string; |
| 2836 | } |
| 2837 | |
| 2838 | export interface MarkdownSVGView { |
| 2839 | ok: boolean; |
| 2840 | svg?: string; |
| 2841 | reason?: string; |
| 2842 | } |
| 2843 | |
| 2844 | export interface MemoryArchive { |
| 2845 | id?: string; |
| 2846 | revision?: number; |
| 2847 | createdAt?: string; |
| 2848 | updatedAt?: string; |
| 2849 | name: string; |
| 2850 | title?: string; |
| 2851 | description: string; |
| 2852 | type: string; |
| 2853 | scope: string; |
| 2854 | body: string; |
| 2855 | freshness: string; |
| 2856 | path: string; |
| 2857 | archivedAt?: string; |
| 2858 | } |
| 2859 | |
| 2860 | export interface MemoryConflict { |
| 2861 | key: string; |
| 2862 | projectId: string; |
| 2863 | projectName: string; |
| 2864 | globalId: string; |
| 2865 | globalName: string; |
| 2866 | resolution: string; |
| 2867 | } |
| 2868 | |
| 2869 | export interface MemoryDoc { |
| 2870 | path: string; |
| 2871 | scope: string; |
| 2872 | directory?: string; |
| 2873 | body: string; |
| 2874 | imports: MemoryImport[]; |
| 2875 | depth: number; |
| 2876 | order: number; |
| 2877 | precedence: number; |
| 2878 | } |
| 2879 | |
| 2880 | export interface MemoryFact { |
| 2881 | id?: string; |
| 2882 | revision?: number; |
| 2883 | createdAt?: string; |
| 2884 | updatedAt?: string; |
| 2885 | name: string; |
| 2886 | title?: string; |
| 2887 | description: string; |
| 2888 | type: string; |
| 2889 | scope: string; |
| 2890 | body: string; |
| 2891 | freshness: string; |
| 2892 | } |
| 2893 | |
| 2894 | export interface MemoryImport { |
| 2895 | path: string; |
| 2896 | sourcePath: string; |
| 2897 | } |
| 2898 | |
| 2899 | export interface MemoryRecallHit { |
| 2900 | id: string; |
| 2901 | revision: number; |
| 2902 | name: string; |
| 2903 | title?: string; |
| 2904 | type: string; |
| 2905 | scope: string; |
| 2906 | score: number; |
| 2907 | freshness: string; |
| 2908 | reason: string; |
| 2909 | snippet: string; |
| 2910 | } |
| 2911 | |
| 2912 | export interface MemoryRecallTrace { |
| 2913 | query: string; |
| 2914 | hits: MemoryRecallHit[]; |
| 2915 | omitted: number; |
| 2916 | charBudget: number; |
| 2917 | usedChars: number; |
| 2918 | suppressed?: string; |
| 2919 | } |
| 2920 | |
| 2921 | export interface MemoryScope { |
| 2922 | scope: string; |
| 2923 | path: string; |
| 2924 | } |
| 2925 | |
| 2926 | export interface MemorySuggestion { |
| 2927 | id: string; |
| 2928 | name: string; |
| 2929 | title: string; |
| 2930 | description: string; |
| 2931 | type: string; |
| 2932 | scope: string; |
| 2933 | body: string; |
| 2934 | reason: string; |
| 2935 | evidence: string[]; |
| 2936 | } |
| 2937 | |
| 2938 | export interface MemorySuggestionsView { |
| 2939 | memories: MemorySuggestion[]; |
| 2940 | skills: SkillSuggestion[]; |
| 2941 | generatedAt: string; |
| 2942 | available: boolean; |
| 2943 | source: string; |
| 2944 | } |
| 2945 | |
| 2946 | export interface MemoryView { |
| 2947 | docs: MemoryDoc[]; |
| 2948 | facts: MemoryFact[]; |
| 2949 | archives: MemoryArchive[]; |
| 2950 | scopes: MemoryScope[]; |
| 2951 | instructionDiagnostics: InstructionDiagnostic[]; |
| 2952 | conflicts: MemoryConflict[]; |
| 2953 | lastRecall: MemoryRecallTrace; |
| 2954 | storeDir: string; |
| 2955 | storeGlobalDir?: string; |
| 2956 | available: boolean; |
| 2957 | } |
| 2958 | |
| 2959 | export interface MergeWorktreeBackRequest { |
| 2960 | tabId: string; |
| 2961 | expectedTargetBranch: string; |
| 2962 | expectedTargetHead: string; |
| 2963 | expectedWorktreeHead: string; |
| 2964 | expectedWorktreeStateToken: string; |
| 2965 | autoCommitDirty: boolean; |
| 2966 | } |
| 2967 | |
| 2968 | export interface Meta { |
| 2969 | label: string; |
| 2970 | ready: boolean; |
| 2971 | runtime: SessionRuntimeView; |
| 2972 | startupErr?: string; |
| 2973 | historicalSource?: SessionSourceRef | null; |
| 2974 | eventChannel: string; |
| 2975 | sessionPath?: string; |
| 2976 | sessionId?: string; |
| 2977 | session?: SessionRef | null; |
| 2978 | sessionRevision?: number; |
| 2979 | sessionDigest?: string; |
| 2980 | sessionGeneration: number; |
| 2981 | runtimeStateSnapshot?: RuntimeStateSnapshot | null; |
| 2982 | cwd: string; |
| 2983 | workspaceRoot?: string; |
| 2984 | workspaceName?: string; |
| 2985 | workspacePath?: string; |
| 2986 | gitBranch?: string; |
| 2987 | imageInputEnabled: boolean; |
| 2988 | visionFallbackEnabled?: boolean; |
| 2989 | autoApproveTools: boolean; |
| 2990 | bypass: boolean; |
| 2991 | collaborationMode: string; |
| 2992 | toolApprovalMode: string; |
| 2993 | tokenMode: string; |
| 2994 | agentPreset?: string; |
| 2995 | goal?: string; |
| 2996 | goalStatus?: string; |
| 2997 | goalView?: View | null; |
| 2998 | goalRuntime?: GoalRuntimeView | null; |
| 2999 | canonicalTodos?: TodoItem[] | null; |
| 3000 | pinnedFiles?: PinnedFileInfo[]; |
| 3001 | remote?: RemoteTabRef | null; |
| 3002 | } |
| 3003 | |
| 3004 | export interface ModelInfo { |
| 3005 | ref: string; |
| 3006 | provider: string; |
| 3007 | model: string; |
| 3008 | current: boolean; |
| 3009 | contextWindow?: number; |
| 3010 | vision?: boolean; |
| 3011 | displayName?: string; |
| 3012 | } |
| 3013 | |
| 3014 | export interface ModelSettingsChange { |
| 3015 | kind: string; |
| 3016 | requestId: string; |
| 3017 | expectedFingerprint: string; |
| 3018 | field?: string; |
| 3019 | ref?: string; |
| 3020 | name?: string; |
| 3021 | presetId?: string; |
| 3022 | baseURL?: string; |
| 3023 | protocol?: string; |
| 3024 | names?: string[]; |
| 3025 | provider?: ProviderView | null; |
| 3026 | key?: string | null; |
| 3027 | enabled?: boolean | null; |
| 3028 | number?: number; |
| 3029 | catalogs?: ProviderModelCatalogUpdate[]; |
| 3030 | } |
| 3031 | |
| 3032 | export interface ModelSettingsIssue { |
| 3033 | code: string; |
| 3034 | message: string; |
| 3035 | } |
| 3036 | |
| 3037 | export interface ModelSettingsResult { |
| 3038 | requestId: string; |
| 3039 | persisted: boolean; |
| 3040 | revision: string; |
| 3041 | application: string; |
| 3042 | targets: ModelSettingsTarget[]; |
| 3043 | issues: ModelSettingsIssue[]; |
| 3044 | appliedCatalogs: string[]; |
| 3045 | } |
| 3046 | |
| 3047 | export interface ModelSettingsTarget { |
| 3048 | tabId: string; |
| 3049 | title?: string; |
| 3050 | application: string; |
| 3051 | appliedRevision: string; |
| 3052 | desiredRevision: string; |
| 3053 | } |
| 3054 | |
| 3055 | export interface NativeConfirmRequest { |
| 3056 | title: string; |
| 3057 | message: string; |
| 3058 | detail: string; |
| 3059 | confirmLabel: string; |
| 3060 | cancelLabel: string; |
| 3061 | destructive: boolean; |
| 3062 | } |
| 3063 | |
| 3064 | export interface NetworkProxyView { |
| 3065 | type: string; |
| 3066 | server: string; |
| 3067 | port: number; |
| 3068 | username: string; |
| 3069 | password: string; |
| 3070 | } |
| 3071 | |
| 3072 | export interface NetworkView { |
| 3073 | proxyMode: string; |
| 3074 | proxyUrl: string; |
| 3075 | noProxy: string; |
| 3076 | proxy: NetworkProxyView; |
| 3077 | } |
| 3078 | |
| 3079 | export interface PermissionsView { |
| 3080 | mode: string; |
| 3081 | allow: string[]; |
| 3082 | ask: string[]; |
| 3083 | deny: string[]; |
| 3084 | } |
| 3085 | |
| 3086 | export interface PinnedFileInfo { |
| 3087 | path: string; |
| 3088 | sizeBytes: number; |
| 3089 | tokenEstimate: number; |
| 3090 | error?: string; |
| 3091 | } |
| 3092 | |
| 3093 | export interface PluginAgentView { |
| 3094 | name: string; |
| 3095 | description?: string; |
| 3096 | path?: string; |
| 3097 | invocation?: string; |
| 3098 | model?: string; |
| 3099 | allowedTools?: string[]; |
| 3100 | } |
| 3101 | |
| 3102 | export interface PluginCommandView { |
| 3103 | name: string; |
| 3104 | description?: string; |
| 3105 | argHint?: string; |
| 3106 | path?: string; |
| 3107 | invocation?: string; |
| 3108 | shadowed?: boolean; |
| 3109 | shadowedByPlugin?: string; |
| 3110 | } |
| 3111 | |
| 3112 | export interface PluginHookView { |
| 3113 | event: string; |
| 3114 | match?: string; |
| 3115 | command?: string; |
| 3116 | contextFile?: string; |
| 3117 | description?: string; |
| 3118 | } |
| 3119 | |
| 3120 | export interface PluginInstallOptions { |
| 3121 | dryRun?: boolean; |
| 3122 | link?: boolean; |
| 3123 | replace?: boolean; |
| 3124 | name?: string; |
| 3125 | } |
| 3126 | |
| 3127 | export interface PluginMCPServerView { |
| 3128 | name: string; |
| 3129 | displayName?: string; |
| 3130 | description?: string; |
| 3131 | transport?: string; |
| 3132 | command?: string; |
| 3133 | url?: string; |
| 3134 | autoStart?: boolean; |
| 3135 | } |
| 3136 | |
| 3137 | export interface PluginSkillView { |
| 3138 | name: string; |
| 3139 | description?: string; |
| 3140 | path?: string; |
| 3141 | invocation?: string; |
| 3142 | runAs?: string; |
| 3143 | } |
| 3144 | |
| 3145 | export interface PluginView { |
| 3146 | name: string; |
| 3147 | version?: string; |
| 3148 | description?: string; |
| 3149 | source?: string; |
| 3150 | root: string; |
| 3151 | manifestKind?: string; |
| 3152 | enabled: boolean; |
| 3153 | skills: number; |
| 3154 | commands: number; |
| 3155 | hooks: number; |
| 3156 | mcpServers: number; |
| 3157 | agents?: number; |
| 3158 | compatibility?: string; |
| 3159 | mappedCapabilities?: string[]; |
| 3160 | skippedCapabilities?: CompatibilityIssue[]; |
| 3161 | skillDetails?: PluginSkillView[]; |
| 3162 | agentDetails?: PluginAgentView[]; |
| 3163 | commandDetails?: PluginCommandView[]; |
| 3164 | hookDetails?: PluginHookView[]; |
| 3165 | mcpServerDetails?: PluginMCPServerView[]; |
| 3166 | warnings?: string[]; |
| 3167 | error?: string; |
| 3168 | } |
| 3169 | |
| 3170 | export interface PresentedTextPage { |
| 3171 | path: string; |
| 3172 | body: string; |
| 3173 | offset: number; |
| 3174 | nextOffset: number; |
| 3175 | size: number; |
| 3176 | hasMore: boolean; |
| 3177 | version: string; |
| 3178 | } |
| 3179 | |
| 3180 | export interface ProjectGroupsSnapshot { |
| 3181 | groups: desktopGroup[]; |
| 3182 | revision: number; |
| 3183 | applied: boolean; |
| 3184 | } |
| 3185 | |
| 3186 | export interface ProjectNode { |
| 3187 | source?: SessionSourceRef | null; |
| 3188 | historical?: boolean; |
| 3189 | historicalBranch?: boolean; |
| 3190 | preparationStatus?: string; |
| 3191 | identityAliases?: string[]; |
| 3192 | lifecycleGeneration?: number; |
| 3193 | tabId?: string; |
| 3194 | session?: SessionRef | null; |
| 3195 | parentSession?: SessionRef | null; |
| 3196 | sessionOrigin?: string; |
| 3197 | canArchive?: boolean; |
| 3198 | key: string; |
| 3199 | kind: string; |
| 3200 | label: string; |
| 3201 | root?: string; |
| 3202 | topicId?: string; |
| 3203 | sessionPath?: string; |
| 3204 | preview?: string; |
| 3205 | projectColor?: string; |
| 3206 | turns?: number; |
| 3207 | turnsState?: string; |
| 3208 | health?: string; |
| 3209 | createdAt?: number; |
| 3210 | lastActivityAt?: number; |
| 3211 | resultSequence?: number; |
| 3212 | open?: boolean; |
| 3213 | running?: boolean; |
| 3214 | status?: string; |
| 3215 | pinned?: boolean; |
| 3216 | sortOrder: number; |
| 3217 | recovered?: boolean; |
| 3218 | recoveryReason?: string; |
| 3219 | recoveryDigest?: string; |
| 3220 | recoveryParentId?: string; |
| 3221 | recoveryState?: string; |
| 3222 | recoveryBranchCount?: number; |
| 3223 | recoveryUnresolvedCount?: number; |
| 3224 | recoveryCleanupEligibleCount?: number; |
| 3225 | recoveryCopyCount?: number; |
| 3226 | isolatedWorktree?: boolean; |
| 3227 | remote?: RemoteTabRef | null; |
| 3228 | runtimeOnly?: boolean; |
| 3229 | children?: ProjectNode[]; |
| 3230 | } |
| 3231 | |
| 3232 | export interface ProjectRuntimeTopic { |
| 3233 | scope: string; |
| 3234 | workspaceRoot?: string; |
| 3235 | node: ProjectNode; |
| 3236 | } |
| 3237 | |
| 3238 | export interface ProjectTopicKey { |
| 3239 | scope: string; |
| 3240 | workspaceRoot?: string; |
| 3241 | topicId: string; |
| 3242 | path?: string; |
| 3243 | recordClassification?: boolean; |
| 3244 | } |
| 3245 | |
| 3246 | export interface ProjectTopicPage { |
| 3247 | items: ProjectNode[]; |
| 3248 | nextCursor?: string; |
| 3249 | revision: number; |
| 3250 | complete: boolean; |
| 3251 | readyDirectories: number; |
| 3252 | pendingDirectories: number; |
| 3253 | failedDirectories: number; |
| 3254 | } |
| 3255 | |
| 3256 | export interface ProjectTopicPageRequest { |
| 3257 | scope: string; |
| 3258 | workspaceRoot?: string; |
| 3259 | cursor?: string; |
| 3260 | limit?: number; |
| 3261 | query?: string; |
| 3262 | timeFilter?: string; |
| 3263 | sortMode?: string; |
| 3264 | groupFilter?: string; |
| 3265 | groupId?: string; |
| 3266 | excludePinned?: boolean; |
| 3267 | } |
| 3268 | |
| 3269 | export interface ProjectTreeRuntimeSnapshot { |
| 3270 | revision: number; |
| 3271 | topics: ProjectRuntimeTopic[]; |
| 3272 | } |
| 3273 | |
| 3274 | export interface ProjectTreeSnapshot { |
| 3275 | revision: number; |
| 3276 | projects: ProjectNode[]; |
| 3277 | catalog: SessionCatalogStatus; |
| 3278 | indexed: number; |
| 3279 | total: number; |
| 3280 | indexingDone: boolean; |
| 3281 | } |
| 3282 | |
| 3283 | export interface PromptAnswerView { |
| 3284 | questions?: QuestionAnswer[]; |
| 3285 | allow?: boolean; |
| 3286 | session?: boolean; |
| 3287 | persist?: boolean; |
| 3288 | action?: string; |
| 3289 | feedback?: string; |
| 3290 | content?: Record<string, unknown>; |
| 3291 | generation?: number; |
| 3292 | permissionRevision?: number; |
| 3293 | } |
| 3294 | |
| 3295 | export interface PromptHistoryEntry { |
| 3296 | text: string; |
| 3297 | at: number; |
| 3298 | sessionPath: string; |
| 3299 | turn: number; |
| 3300 | } |
| 3301 | |
| 3302 | export interface PromptHistoryResult { |
| 3303 | entries: PromptHistoryEntry[]; |
| 3304 | nonce: string; |
| 3305 | olderCursor?: string; |
| 3306 | hasOlder: boolean; |
| 3307 | } |
| 3308 | |
| 3309 | export interface PromptIdentityView { |
| 3310 | promptId: string; |
| 3311 | turnId: string; |
| 3312 | runtimeEpoch?: string; |
| 3313 | kind: string; |
| 3314 | } |
| 3315 | |
| 3316 | export interface ProviderModelCapabilityUpdate { |
| 3317 | model: string; |
| 3318 | inputModalities: string[]; |
| 3319 | } |
| 3320 | |
| 3321 | export interface ProviderModelCapabilityView { |
| 3322 | reasoning?: ResolvedReasoningView | null; |
| 3323 | model: string; |
| 3324 | inputModalities: string[]; |
| 3325 | state: string; |
| 3326 | source: string; |
| 3327 | automaticState: string; |
| 3328 | automaticSource: string; |
| 3329 | imageInputEnableAllowed: boolean; |
| 3330 | imageInputBlockReason?: string; |
| 3331 | } |
| 3332 | |
| 3333 | export interface ProviderModelCatalogUpdate { |
| 3334 | name: string; |
| 3335 | expectedFingerprint: string; |
| 3336 | models: string[]; |
| 3337 | default: string; |
| 3338 | visionModels: string[]; |
| 3339 | modelCapabilities?: ProviderModelCapabilityUpdate[]; |
| 3340 | } |
| 3341 | |
| 3342 | export interface ProviderModelOverrideView { |
| 3343 | model: string; |
| 3344 | reasoningProtocol: string; |
| 3345 | thinking: string; |
| 3346 | supportedEfforts: string[]; |
| 3347 | defaultEffort: string; |
| 3348 | vision?: boolean | null; |
| 3349 | contextWindow?: number; |
| 3350 | maxOutputTokens?: number; |
| 3351 | } |
| 3352 | |
| 3353 | export interface ProviderPresetView { |
| 3354 | catalog: ProviderCatalog; |
| 3355 | id: string; |
| 3356 | label: string; |
| 3357 | description: string; |
| 3358 | keyEnv: string; |
| 3359 | recommended?: boolean; |
| 3360 | billingMode?: string; |
| 3361 | displayGroup?: string; |
| 3362 | displaySection?: string; |
| 3363 | displayTier?: string; |
| 3364 | routeKind?: string; |
| 3365 | optional?: boolean; |
| 3366 | displayOrder?: number; |
| 3367 | providerNames: string[]; |
| 3368 | models: string[]; |
| 3369 | added: boolean; |
| 3370 | status: string; |
| 3371 | statusProviderNames: string[]; |
| 3372 | missingProviderNames?: string[]; |
| 3373 | keySet: boolean; |
| 3374 | requiresKey: boolean; |
| 3375 | configured: boolean; |
| 3376 | keySource?: string; |
| 3377 | keySourcePath?: string; |
| 3378 | } |
| 3379 | |
| 3380 | export interface ProviderView { |
| 3381 | displayName?: string | null; |
| 3382 | name: string; |
| 3383 | presetId?: string; |
| 3384 | catalog?: ProviderCatalog | null; |
| 3385 | builtIn: boolean; |
| 3386 | added: boolean; |
| 3387 | kind: string; |
| 3388 | baseUrl: string; |
| 3389 | chatUrl: string; |
| 3390 | requestUrl: string; |
| 3391 | models: string[]; |
| 3392 | visionModels: string[]; |
| 3393 | visionModelsConfigured: boolean; |
| 3394 | visionCapability?: string; |
| 3395 | modelsUrl: string; |
| 3396 | default: string; |
| 3397 | apiKeyEnv: string; |
| 3398 | headers: Record<string, string>; |
| 3399 | extraBody: Record<string, unknown>; |
| 3400 | authHeader: boolean; |
| 3401 | noProxy: boolean; |
| 3402 | keySet: boolean; |
| 3403 | requiresKey: boolean; |
| 3404 | configured: boolean; |
| 3405 | keySource?: string; |
| 3406 | keySourcePath?: string; |
| 3407 | balanceUrl: string; |
| 3408 | contextWindow: number; |
| 3409 | reasoningProtocol: string; |
| 3410 | thinking: string; |
| 3411 | webSearch: boolean; |
| 3412 | serverWebSearchCapability: boolean; |
| 3413 | supportedEfforts: string[]; |
| 3414 | defaultEffort: string; |
| 3415 | modelOverrides: ProviderModelOverrideView[]; |
| 3416 | modelCapabilities: ProviderModelCapabilityView[]; |
| 3417 | recommendedUpgradeAvailable?: boolean; |
| 3418 | modelCatalogFingerprint: string; |
| 3419 | } |
| 3420 | |
| 3421 | export interface QQBotView { |
| 3422 | enabled: boolean; |
| 3423 | appId: string; |
| 3424 | appSecretEnv: string; |
| 3425 | secretSet: boolean; |
| 3426 | sandbox: boolean; |
| 3427 | model: string; |
| 3428 | toolApprovalMode: string; |
| 3429 | workspaceRoot: string; |
| 3430 | access: BotAccessView; |
| 3431 | } |
| 3432 | |
| 3433 | export interface QuestionAnswer { |
| 3434 | questionId: string; |
| 3435 | selected: string[]; |
| 3436 | } |
| 3437 | |
| 3438 | export interface RecoveryCleanupItem { |
| 3439 | path: string; |
| 3440 | headId?: string; |
| 3441 | status: string; |
| 3442 | error?: string; |
| 3443 | } |
| 3444 | |
| 3445 | export interface RecoveryCleanupRequest { |
| 3446 | scope: string; |
| 3447 | workspaceRoot?: string; |
| 3448 | topicId: string; |
| 3449 | apply: boolean; |
| 3450 | } |
| 3451 | |
| 3452 | export interface RecoveryCleanupResult { |
| 3453 | eligible: number; |
| 3454 | moved: number; |
| 3455 | busy: number; |
| 3456 | kept: number; |
| 3457 | dryRun: boolean; |
| 3458 | items: RecoveryCleanupItem[]; |
| 3459 | } |
| 3460 | |
| 3461 | export interface RecoveryEntryPage { |
| 3462 | items: RecoveryEntryView[]; |
| 3463 | nextCursor?: string; |
| 3464 | generation: number; |
| 3465 | } |
| 3466 | |
| 3467 | export interface RecoveryEntryView { |
| 3468 | workspaceChoices: RecoveryWorkspaceChoice[]; |
| 3469 | id: string; |
| 3470 | title: string; |
| 3471 | format: string; |
| 3472 | reason: string; |
| 3473 | status: string; |
| 3474 | canPreview: boolean; |
| 3475 | canRestore: boolean; |
| 3476 | } |
| 3477 | |
| 3478 | export interface RecoveryLineageMember { |
| 3479 | path: string; |
| 3480 | versionKind?: string; |
| 3481 | versionState?: string; |
| 3482 | parentVersionId?: string; |
| 3483 | role: string; |
| 3484 | canonical: boolean; |
| 3485 | turns: number; |
| 3486 | open: boolean; |
| 3487 | running: boolean; |
| 3488 | versionNote?: string; |
| 3489 | preview?: string; |
| 3490 | createdAt?: number; |
| 3491 | lastActivityAt?: number; |
| 3492 | headId?: string; |
| 3493 | headKind?: string; |
| 3494 | headName?: string; |
| 3495 | selected?: boolean; |
| 3496 | } |
| 3497 | |
| 3498 | export interface RecoveryLineageView { |
| 3499 | groupId: string; |
| 3500 | state: string; |
| 3501 | branchCount: number; |
| 3502 | unresolved: number; |
| 3503 | cleanupEligible: number; |
| 3504 | members: RecoveryLineageMember[]; |
| 3505 | } |
| 3506 | |
| 3507 | export interface RecoveryPreferenceRequest { |
| 3508 | scope: string; |
| 3509 | workspaceRoot?: string; |
| 3510 | topicId: string; |
| 3511 | path: string; |
| 3512 | headId?: string; |
| 3513 | } |
| 3514 | |
| 3515 | export interface RecoveryWorkspaceChoice { |
| 3516 | id: string; |
| 3517 | title: string; |
| 3518 | } |
| 3519 | |
| 3520 | export interface RemoteAskAnswer { |
| 3521 | QuestionID: string; |
| 3522 | Selected: string[]; |
| 3523 | } |
| 3524 | |
| 3525 | export interface RemoteConnectionErrorDetailsView { |
| 3526 | code: string; |
| 3527 | presentedSha256?: string; |
| 3528 | knownHostRecords?: RemoteKnownHostLocationView[]; |
| 3529 | } |
| 3530 | |
| 3531 | export interface RemoteConnectionStatusView { |
| 3532 | hostId: string; |
| 3533 | state: string; |
| 3534 | error?: string; |
| 3535 | errorDetails?: RemoteConnectionErrorDetailsView | null; |
| 3536 | fingerprint?: RemoteFingerprintView | null; |
| 3537 | secretPrompt?: RemoteSecretPromptView | null; |
| 3538 | attempt?: number; |
| 3539 | } |
| 3540 | |
| 3541 | export interface RemoteDirEntry { |
| 3542 | name: string; |
| 3543 | path: string; |
| 3544 | isDir: boolean; |
| 3545 | size: number; |
| 3546 | mtimeUnix: number; |
| 3547 | symlink: boolean; |
| 3548 | } |
| 3549 | |
| 3550 | export interface RemoteFilePreview { |
| 3551 | path: string; |
| 3552 | body: string; |
| 3553 | size: number; |
| 3554 | mtimeUnix: number; |
| 3555 | truncated: boolean; |
| 3556 | binary: boolean; |
| 3557 | err?: string; |
| 3558 | } |
| 3559 | |
| 3560 | export interface RemoteFingerprintView { |
| 3561 | hostId: string; |
| 3562 | address: string; |
| 3563 | keyType: string; |
| 3564 | sha256: string; |
| 3565 | } |
| 3566 | |
| 3567 | export interface RemoteForwardInput { |
| 3568 | localPort: number; |
| 3569 | remoteHost: string; |
| 3570 | remotePort: number; |
| 3571 | label: string; |
| 3572 | } |
| 3573 | |
| 3574 | export interface RemoteForwardView { |
| 3575 | id: string; |
| 3576 | hostId: string; |
| 3577 | localPort: number; |
| 3578 | remoteHost: string; |
| 3579 | remotePort: number; |
| 3580 | label: string; |
| 3581 | state: string; |
| 3582 | error?: string; |
| 3583 | } |
| 3584 | |
| 3585 | export interface RemoteHostInput { |
| 3586 | label: string; |
| 3587 | host: string; |
| 3588 | port: number; |
| 3589 | user: string; |
| 3590 | identityFile: string; |
| 3591 | proxyJump: string; |
| 3592 | defaultWorkspace: string; |
| 3593 | serveInstall: string; |
| 3594 | credentialMode: string; |
| 3595 | useSSHConfig: boolean; |
| 3596 | password?: string; |
| 3597 | keyPassphrase?: string; |
| 3598 | clearPassword?: boolean; |
| 3599 | clearPassphrase?: boolean; |
| 3600 | preserveExistingSettings?: boolean; |
| 3601 | } |
| 3602 | |
| 3603 | export interface RemoteHostView { |
| 3604 | id: string; |
| 3605 | label: string; |
| 3606 | host: string; |
| 3607 | port: number; |
| 3608 | user: string; |
| 3609 | identityFile: string; |
| 3610 | proxyJump: string; |
| 3611 | defaultWorkspace: string; |
| 3612 | serveInstall: string; |
| 3613 | credentialMode: string; |
| 3614 | useSSHConfig: boolean; |
| 3615 | passwordSet?: boolean; |
| 3616 | keyPassphraseSet?: boolean; |
| 3617 | } |
| 3618 | |
| 3619 | export interface RemoteKnownHostLocationView { |
| 3620 | path: string; |
| 3621 | line: number; |
| 3622 | } |
| 3623 | |
| 3624 | export interface RemoteProjectView { |
| 3625 | hostId: string; |
| 3626 | workspace: string; |
| 3627 | title?: string; |
| 3628 | color?: string; |
| 3629 | merged?: boolean; |
| 3630 | } |
| 3631 | |
| 3632 | export interface RemoteSecretPromptView { |
| 3633 | promptId: string; |
| 3634 | hostId: string; |
| 3635 | host: string; |
| 3636 | kind: string; |
| 3637 | identity?: string; |
| 3638 | } |
| 3639 | |
| 3640 | export interface RemoteServerView { |
| 3641 | hostId: string; |
| 3642 | workspace: string; |
| 3643 | state: string; |
| 3644 | message?: string; |
| 3645 | localUrl?: string; |
| 3646 | instanceId?: string; |
| 3647 | error?: string; |
| 3648 | } |
| 3649 | |
| 3650 | export interface RemoteSessionView { |
| 3651 | hostId?: string; |
| 3652 | sessionId?: string; |
| 3653 | name: string; |
| 3654 | path?: string; |
| 3655 | title?: string; |
| 3656 | turns?: number; |
| 3657 | current?: boolean; |
| 3658 | running?: boolean; |
| 3659 | lastActivityAt?: number; |
| 3660 | pinned?: boolean; |
| 3661 | } |
| 3662 | |
| 3663 | export interface RemoteTabOpenOptions { |
| 3664 | newSession?: boolean; |
| 3665 | sessionName?: string; |
| 3666 | sessionPath?: string; |
| 3667 | sessionId?: string; |
| 3668 | sessionTitle?: string; |
| 3669 | } |
| 3670 | |
| 3671 | export interface RemoteTabRef { |
| 3672 | hostId: string; |
| 3673 | workspace: string; |
| 3674 | } |
| 3675 | |
| 3676 | export interface RemoteTabSnapshot { |
| 3677 | history: unknown; |
| 3678 | context?: unknown; |
| 3679 | todos?: unknown; |
| 3680 | checkpoints?: unknown; |
| 3681 | models?: unknown; |
| 3682 | commands?: unknown; |
| 3683 | status?: unknown; |
| 3684 | pendingEvents?: unknown[]; |
| 3685 | } |
| 3686 | |
| 3687 | export interface RemoteTranscriptSnapshot { |
| 3688 | supported: boolean; |
| 3689 | snapshot?: Snapshot | null; |
| 3690 | } |
| 3691 | |
| 3692 | export interface RemoteWriteResult { |
| 3693 | ok: boolean; |
| 3694 | conflict: boolean; |
| 3695 | newMtimeUnix: number; |
| 3696 | } |
| 3697 | |
| 3698 | export interface RepairGuidanceView { |
| 3699 | manager: string; |
| 3700 | command?: string; |
| 3701 | } |
| 3702 | |
| 3703 | export interface RewindPlanView { |
| 3704 | planId: string; |
| 3705 | turn: number; |
| 3706 | scope: string; |
| 3707 | coverage?: string; |
| 3708 | coverageGaps?: string[]; |
| 3709 | legacy?: boolean; |
| 3710 | expiredFilePayload?: boolean; |
| 3711 | canFiles: boolean; |
| 3712 | canConversation: boolean; |
| 3713 | disabledReason?: string; |
| 3714 | conflicts?: string[]; |
| 3715 | files?: string[]; |
| 3716 | fileCount: number; |
| 3717 | activeWriters?: number; |
| 3718 | path?: string; |
| 3719 | conversationAction?: string; |
| 3720 | ok: boolean; |
| 3721 | error?: string; |
| 3722 | } |
| 3723 | |
| 3724 | export interface RewindResultView { |
| 3725 | ok: boolean; |
| 3726 | transactionId?: string; |
| 3727 | undoAvailable: boolean; |
| 3728 | written?: string[]; |
| 3729 | deleted?: string[]; |
| 3730 | conversationOk?: boolean; |
| 3731 | conversationForked?: boolean; |
| 3732 | operationId?: string; |
| 3733 | branch?: string; |
| 3734 | partial?: boolean; |
| 3735 | tabId?: string; |
| 3736 | tab?: TabMeta | null; |
| 3737 | error?: string; |
| 3738 | conflicts?: string[]; |
| 3739 | coverage?: string; |
| 3740 | } |
| 3741 | |
| 3742 | export interface RuntimeDoctorReport { |
| 3743 | text: string; |
| 3744 | publishedGeneration: number; |
| 3745 | allowResume: boolean; |
| 3746 | cleanRollback: boolean; |
| 3747 | hasIrreversible: boolean; |
| 3748 | noOpRebuilds: number; |
| 3749 | fullRebuilds: number; |
| 3750 | subgraphRebuilds: number; |
| 3751 | staleDrops: number; |
| 3752 | admissionRejected: number; |
| 3753 | runtimeOwnerFallbacks: number; |
| 3754 | skillWatch?: Diagnostics | null; |
| 3755 | } |
| 3756 | |
| 3757 | export interface RuntimeSessionState { |
| 3758 | tabId: string; |
| 3759 | scope: string; |
| 3760 | workspaceRoot: string; |
| 3761 | topicId: string; |
| 3762 | sessionId?: string; |
| 3763 | sessionPath: string; |
| 3764 | sessionGeneration: number; |
| 3765 | open: boolean; |
| 3766 | remote: boolean; |
| 3767 | hostId?: string; |
| 3768 | freshness: string; |
| 3769 | state: RuntimeStateSnapshot; |
| 3770 | } |
| 3771 | |
| 3772 | export interface RuntimeStateProjection { |
| 3773 | epoch: string; |
| 3774 | revision: number; |
| 3775 | sessions: RuntimeSessionState[]; |
| 3776 | topics: ProjectRuntimeTopic[]; |
| 3777 | } |
| 3778 | |
| 3779 | export interface SandboxView { |
| 3780 | bash: string; |
| 3781 | network: boolean; |
| 3782 | workspaceRoot: string; |
| 3783 | allowWrite: string[]; |
| 3784 | effectiveWorkspaceRoot: string; |
| 3785 | effectiveWriteRoots: string[]; |
| 3786 | shell: string; |
| 3787 | effectiveShell?: string; |
| 3788 | resolvedShell?: string; |
| 3789 | shellReloadRequired: boolean; |
| 3790 | shellCapabilities: ShellCapabilityView[]; |
| 3791 | gitCapability?: ShellCapabilityView | null; |
| 3792 | shellInstallAction?: ShellInstallActionView | null; |
| 3793 | shellRepairGuidance?: RepairGuidanceView | null; |
| 3794 | gitRepairGuidance?: RepairGuidanceView | null; |
| 3795 | } |
| 3796 | |
| 3797 | export interface ServerView { |
| 3798 | name: string; |
| 3799 | transport: string; |
| 3800 | status: string; |
| 3801 | hostProfile?: string; |
| 3802 | elicitationNegotiated?: boolean; |
| 3803 | appsNegotiated?: boolean; |
| 3804 | startIntent?: string; |
| 3805 | runtimeState?: string; |
| 3806 | protocolVersion?: string; |
| 3807 | sessionState?: string; |
| 3808 | reconnectAttempts?: number; |
| 3809 | errorKind?: string; |
| 3810 | availability?: string; |
| 3811 | enabled: boolean; |
| 3812 | installed: boolean; |
| 3813 | action?: string; |
| 3814 | source?: string; |
| 3815 | configSource?: string; |
| 3816 | builtIn?: boolean; |
| 3817 | configured?: boolean; |
| 3818 | autoStart: boolean; |
| 3819 | tier?: string; |
| 3820 | command?: string; |
| 3821 | args?: string[]; |
| 3822 | url?: string; |
| 3823 | envKeys?: string[]; |
| 3824 | headerKeys?: string[]; |
| 3825 | tools: number; |
| 3826 | toolCount: number; |
| 3827 | prompts: number; |
| 3828 | resources: number; |
| 3829 | hasTools?: boolean; |
| 3830 | error?: string; |
| 3831 | toolList: ToolView[]; |
| 3832 | callTimeoutSeconds?: number; |
| 3833 | toolTimeoutSeconds?: Record<string, number>; |
| 3834 | requiresLaunchApproval?: boolean; |
| 3835 | authStatus?: string; |
| 3836 | authUrl?: string; |
| 3837 | authConfigured?: boolean; |
| 3838 | managedByPlugin?: string; |
| 3839 | } |
| 3840 | |
| 3841 | export interface SessionActivityBaseline { |
| 3842 | ref: SessionRef; |
| 3843 | resultSequence: number; |
| 3844 | eventVersion: string; |
| 3845 | lifecycleGeneration: number; |
| 3846 | complete: boolean; |
| 3847 | } |
| 3848 | |
| 3849 | export interface SessionArchitectureDiagnostics { |
| 3850 | pending_operations: number; |
| 3851 | missing_members: number; |
| 3852 | identity_mismatches: number; |
| 3853 | source_conflicts: number; |
| 3854 | recovery_entries: number; |
| 3855 | session_headers_total: number; |
| 3856 | workspace_members_total: number; |
| 3857 | unassigned_sessions: number; |
| 3858 | migration_pending: number; |
| 3859 | migration_failed: number; |
| 3860 | migration_completed: number; |
| 3861 | projection_pending: number; |
| 3862 | projection_failed: number; |
| 3863 | pending_create_recovered: number; |
| 3864 | prune_blocked_persistence: number; |
| 3865 | } |
| 3866 | |
| 3867 | export interface SessionCatalogStatus { |
| 3868 | state: string; |
| 3869 | mode: string; |
| 3870 | revision: number; |
| 3871 | indexed: number; |
| 3872 | total: number; |
| 3873 | repairPending: number; |
| 3874 | repairActive: number; |
| 3875 | repairDeferred: number; |
| 3876 | repairBlocked: number; |
| 3877 | nextRepairAt?: number; |
| 3878 | canRebuild: boolean; |
| 3879 | lastError?: string; |
| 3880 | quarantinedPath?: string; |
| 3881 | } |
| 3882 | |
| 3883 | export interface SessionClearResult { |
| 3884 | sessionPath: string; |
| 3885 | sessionId?: string; |
| 3886 | session?: SessionRef | null; |
| 3887 | sessionRevision?: number; |
| 3888 | sessionDigest?: string; |
| 3889 | sessionGeneration: number; |
| 3890 | } |
| 3891 | |
| 3892 | export interface SessionCreationResult { |
| 3893 | ref: SessionRef; |
| 3894 | operationId: string; |
| 3895 | committed: boolean; |
| 3896 | projectionPending?: boolean; |
| 3897 | } |
| 3898 | |
| 3899 | export interface SessionDraftContextView { |
| 3900 | operation?: SessionDraftSubmissionView | null; |
| 3901 | draft: SessionDraftView; |
| 3902 | commands: CommandInfo[]; |
| 3903 | servers: ServerView[]; |
| 3904 | models?: ModelInfo[]; |
| 3905 | } |
| 3906 | |
| 3907 | export interface SessionDraftSaveRequest { |
| 3908 | draftId: string; |
| 3909 | revision: number; |
| 3910 | contentJson: string; |
| 3911 | settings: SessionDraftSettings; |
| 3912 | force?: boolean; |
| 3913 | } |
| 3914 | |
| 3915 | export interface SessionDraftSaveResult { |
| 3916 | draft: SessionDraftView; |
| 3917 | conflict: boolean; |
| 3918 | outcome: string; |
| 3919 | } |
| 3920 | |
| 3921 | export interface SessionDraftSettings { |
| 3922 | model: string; |
| 3923 | modelSource?: string; |
| 3924 | effort?: string; |
| 3925 | qualityFloor?: string; |
| 3926 | mode: string; |
| 3927 | collaborationMode?: string; |
| 3928 | toolApprovalMode: string; |
| 3929 | goal?: string; |
| 3930 | disabledMcp: Record<string, ServerView>; |
| 3931 | mcpOrder: string[]; |
| 3932 | } |
| 3933 | |
| 3934 | export interface SessionDraftState { |
| 3935 | draft: SessionDraftView; |
| 3936 | operation?: SessionDraftSubmissionView | null; |
| 3937 | } |
| 3938 | |
| 3939 | export interface SessionDraftSubmissionRequest { |
| 3940 | sourceContentJson?: string; |
| 3941 | requestId?: string; |
| 3942 | sourceDigest?: string; |
| 3943 | snapshotVersion?: number; |
| 3944 | draftId: string; |
| 3945 | revision: number; |
| 3946 | kind?: string; |
| 3947 | display: string; |
| 3948 | input: string; |
| 3949 | invocations: main_InvocationRequest[]; |
| 3950 | goal?: string; |
| 3951 | collaborationMode?: string; |
| 3952 | toolApprovalMode?: string; |
| 3953 | workspaceRefs: DraftWorkspaceRef[]; |
| 3954 | settings: SessionDraftSettings; |
| 3955 | } |
| 3956 | |
| 3957 | export interface SessionDraftSubmissionView { |
| 3958 | requestId?: string; |
| 3959 | revision: number; |
| 3960 | canResume: boolean; |
| 3961 | canEdit: boolean; |
| 3962 | canCancel: boolean; |
| 3963 | canDiscard: boolean; |
| 3964 | operationId: string; |
| 3965 | draftId: string; |
| 3966 | phase: string; |
| 3967 | error?: string; |
| 3968 | session?: SessionRef | null; |
| 3969 | submissionId: string; |
| 3970 | tab?: TabMeta | null; |
| 3971 | updatedAt: number; |
| 3972 | } |
| 3973 | |
| 3974 | export interface SessionDraftSummary { |
| 3975 | id: string; |
| 3976 | workspaceId: string; |
| 3977 | scope: string; |
| 3978 | workspaceRoot: string; |
| 3979 | revision: number; |
| 3980 | hasContent: boolean; |
| 3981 | state?: string; |
| 3982 | updatedAt: number; |
| 3983 | } |
| 3984 | |
| 3985 | export interface SessionDraftView { |
| 3986 | snapshotDigest?: string; |
| 3987 | id: string; |
| 3988 | workspaceId: string; |
| 3989 | scope: string; |
| 3990 | workspaceRoot: string; |
| 3991 | revision: number; |
| 3992 | contentJson: string; |
| 3993 | settings: SessionDraftSettings; |
| 3994 | status: string; |
| 3995 | updatedAt: number; |
| 3996 | } |
| 3997 | |
| 3998 | export interface SessionExportChunk { |
| 3999 | data: string; |
| 4000 | nextOffset: number; |
| 4001 | done: boolean; |
| 4002 | } |
| 4003 | |
| 4004 | export interface SessionExportHandle { |
| 4005 | exportId: string; |
| 4006 | snapshot: ExportSnapshot; |
| 4007 | format: string; |
| 4008 | } |
| 4009 | |
| 4010 | export interface SessionExportPage { |
| 4011 | index: number; |
| 4012 | offset: number; |
| 4013 | data: string; |
| 4014 | done: boolean; |
| 4015 | width: number; |
| 4016 | height: number; |
| 4017 | } |
| 4018 | |
| 4019 | export interface SessionExportResult { |
| 4020 | paths: string[]; |
| 4021 | records: number; |
| 4022 | pages: number; |
| 4023 | } |
| 4024 | |
| 4025 | export interface SessionHistoryContentChunk { |
| 4026 | data: string; |
| 4027 | nextOffset: number; |
| 4028 | done: boolean; |
| 4029 | } |
| 4030 | |
| 4031 | export interface SessionLifecycleItem { |
| 4032 | target: SessionLifecycleTarget; |
| 4033 | ref?: SessionRef | null; |
| 4034 | workspaceId: string; |
| 4035 | committed: boolean; |
| 4036 | errorCode?: string; |
| 4037 | retryable: boolean; |
| 4038 | } |
| 4039 | |
| 4040 | export interface SessionLifecycleRequest { |
| 4041 | operationId: string; |
| 4042 | action: string; |
| 4043 | targets: SessionLifecycleTarget[]; |
| 4044 | expectedGeneration: number; |
| 4045 | } |
| 4046 | |
| 4047 | export interface SessionLifecycleResult { |
| 4048 | operationId: string; |
| 4049 | generation: number; |
| 4050 | committed: boolean; |
| 4051 | items: SessionLifecycleItem[]; |
| 4052 | } |
| 4053 | |
| 4054 | export interface SessionLifecycleTarget { |
| 4055 | workspaceId?: string; |
| 4056 | ref?: SessionRef | null; |
| 4057 | recoveryEntryId?: string; |
| 4058 | } |
| 4059 | |
| 4060 | export interface SessionMeta { |
| 4061 | source?: SessionSourceRef | null; |
| 4062 | historical?: boolean; |
| 4063 | historicalBranch?: boolean; |
| 4064 | preparationStatus?: string; |
| 4065 | path: string; |
| 4066 | sessionId?: string; |
| 4067 | hostId?: string; |
| 4068 | codec?: string; |
| 4069 | error?: string; |
| 4070 | preview: string; |
| 4071 | title?: string; |
| 4072 | turns: number; |
| 4073 | turnsState: string; |
| 4074 | createdAt: number; |
| 4075 | lastActivityAt: number; |
| 4076 | modTime: number; |
| 4077 | deletedAt?: number; |
| 4078 | current: boolean; |
| 4079 | open: boolean; |
| 4080 | scope?: string; |
| 4081 | workspaceRoot?: string; |
| 4082 | topicId?: string; |
| 4083 | topicTitle?: string; |
| 4084 | kind?: string; |
| 4085 | channel?: string; |
| 4086 | channelLabel?: string; |
| 4087 | remoteId?: string; |
| 4088 | chatType?: string; |
| 4089 | userId?: string; |
| 4090 | threadId?: string; |
| 4091 | sessionSource?: string; |
| 4092 | recovered?: boolean; |
| 4093 | recoveryCopy?: boolean; |
| 4094 | recoveryGroupId?: string; |
| 4095 | recoveryRole?: string; |
| 4096 | recoveryCanonical?: boolean; |
| 4097 | } |
| 4098 | |
| 4099 | export interface SessionMutationResult { |
| 4100 | targetKey: string; |
| 4101 | operationId: string; |
| 4102 | committed: boolean; |
| 4103 | title?: string; |
| 4104 | titleVersion?: string; |
| 4105 | lifecycleGeneration: number; |
| 4106 | projectionPending?: boolean; |
| 4107 | identityAliases?: string[]; |
| 4108 | } |
| 4109 | |
| 4110 | export interface SessionOrganizationMutation { |
| 4111 | kind: string; |
| 4112 | target?: SessionSelector | null; |
| 4113 | anchor?: SessionSelector | null; |
| 4114 | position?: string; |
| 4115 | groupId?: string; |
| 4116 | title?: string; |
| 4117 | } |
| 4118 | |
| 4119 | export interface SessionOrganizationSnapshot { |
| 4120 | revision: number; |
| 4121 | applied: boolean; |
| 4122 | manualOrderEnabled: boolean; |
| 4123 | order: string[]; |
| 4124 | groups: desktopGroup[]; |
| 4125 | } |
| 4126 | |
| 4127 | export interface SessionOrganizationWorkspace { |
| 4128 | scope: string; |
| 4129 | workspaceRoot?: string; |
| 4130 | hostId?: string; |
| 4131 | } |
| 4132 | |
| 4133 | export interface SessionPreparationView { |
| 4134 | operationId: string; |
| 4135 | sourceKey: string; |
| 4136 | status: string; |
| 4137 | revision: number; |
| 4138 | target?: SessionRef | null; |
| 4139 | errorCode?: string; |
| 4140 | retryable: boolean; |
| 4141 | } |
| 4142 | |
| 4143 | export interface SessionRestoreResult { |
| 4144 | session: SessionRef; |
| 4145 | workspaceId: string; |
| 4146 | generation: number; |
| 4147 | } |
| 4148 | |
| 4149 | export interface SessionRuntimeIssue { |
| 4150 | code: string; |
| 4151 | message: string; |
| 4152 | retryable: boolean; |
| 4153 | holderPid?: number; |
| 4154 | holderHost?: string; |
| 4155 | acquiredAt?: string; |
| 4156 | } |
| 4157 | |
| 4158 | export interface SessionRuntimeView { |
| 4159 | phase: string; |
| 4160 | epoch: string; |
| 4161 | issue?: SessionRuntimeIssue | null; |
| 4162 | } |
| 4163 | |
| 4164 | export interface SessionSelector { |
| 4165 | source?: SessionSourceRef | null; |
| 4166 | ref?: SessionRef | null; |
| 4167 | sessionPath?: string; |
| 4168 | topicId?: string; |
| 4169 | } |
| 4170 | |
| 4171 | export interface SessionSourceRef { |
| 4172 | hostId: string; |
| 4173 | sourceKey?: string; |
| 4174 | path: string; |
| 4175 | headId?: string; |
| 4176 | } |
| 4177 | |
| 4178 | export interface SessionTakeoverView { |
| 4179 | available: boolean; |
| 4180 | reason?: string; |
| 4181 | sessionPath?: string; |
| 4182 | holder?: string; |
| 4183 | remoteAttached: boolean; |
| 4184 | running: boolean; |
| 4185 | mirrored: boolean; |
| 4186 | holderPid?: number; |
| 4187 | holderHost?: string; |
| 4188 | } |
| 4189 | |
| 4190 | export interface SessionUpgradeStatus { |
| 4191 | sources: number; |
| 4192 | sessions: number; |
| 4193 | operations: number; |
| 4194 | discovered: number; |
| 4195 | migrated: number; |
| 4196 | pending: number; |
| 4197 | failed: number; |
| 4198 | conflicts: number; |
| 4199 | pendingOperations: number; |
| 4200 | } |
| 4201 | |
| 4202 | export interface SessionVersionStateView { |
| 4203 | conversationId?: string; |
| 4204 | activeVersionId?: string; |
| 4205 | activePath?: string; |
| 4206 | recoveryVersionId?: string; |
| 4207 | canContinue: boolean; |
| 4208 | requiresChoice: boolean; |
| 4209 | lineage: RecoveryLineageView; |
| 4210 | } |
| 4211 | |
| 4212 | export interface SettingsView { |
| 4213 | modelSettingsFingerprint: string; |
| 4214 | defaultModel: string; |
| 4215 | plannerModel: string; |
| 4216 | visionModel: string; |
| 4217 | webSearchModel: string; |
| 4218 | webSearchModels: string[]; |
| 4219 | webSearchModelStatus: string; |
| 4220 | webSearchModelReason: string; |
| 4221 | effectiveWebSearchModel: string; |
| 4222 | webSearchModelOverridden: boolean; |
| 4223 | subagentModel: string; |
| 4224 | subagentEffort: string; |
| 4225 | autoPlan: string; |
| 4226 | providers: ProviderView[]; |
| 4227 | officialProviders: ProviderView[]; |
| 4228 | providerPresets: ProviderPresetView[]; |
| 4229 | permissions: PermissionsView; |
| 4230 | sandbox: SandboxView; |
| 4231 | network: NetworkView; |
| 4232 | agent: AgentView; |
| 4233 | bot: BotSettingsView; |
| 4234 | desktopLanguage: string; |
| 4235 | desktopCurrency: string; |
| 4236 | desktopLayoutStyle: string; |
| 4237 | desktopTheme: string; |
| 4238 | desktopThemeStyle: string; |
| 4239 | desktopTerminalTheme?: string; |
| 4240 | closeBehavior: string; |
| 4241 | sessionExperience: string; |
| 4242 | displayMode: string; |
| 4243 | reasoningDisplayMode: string; |
| 4244 | reasoningDisplayModeExplicit: boolean; |
| 4245 | statusBarStyle: string; |
| 4246 | statusBarItems: string[]; |
| 4247 | defaultToolApprovalMode: string; |
| 4248 | checkUpdates: boolean; |
| 4249 | updaterEnabled: boolean; |
| 4250 | updateChannel: string; |
| 4251 | telemetry: boolean; |
| 4252 | metrics: boolean; |
| 4253 | expandThinking: boolean; |
| 4254 | conversationWidth?: string; |
| 4255 | configPath: string; |
| 4256 | shadowedByPath?: string; |
| 4257 | providerKinds: string[]; |
| 4258 | autoApproveTools: boolean; |
| 4259 | bypass: boolean; |
| 4260 | } |
| 4261 | |
| 4262 | export interface ShellCapabilityView { |
| 4263 | id: string; |
| 4264 | variant?: string; |
| 4265 | available: boolean; |
| 4266 | path?: string; |
| 4267 | source?: string; |
| 4268 | reason?: string; |
| 4269 | } |
| 4270 | |
| 4271 | export interface ShellInstallActionView { |
| 4272 | id: string; |
| 4273 | mode: string; |
| 4274 | available: boolean; |
| 4275 | manualUrl?: string; |
| 4276 | } |
| 4277 | |
| 4278 | export interface ShellInstallResult { |
| 4279 | status: string; |
| 4280 | path?: string; |
| 4281 | reason?: string; |
| 4282 | manualUrl?: string; |
| 4283 | } |
| 4284 | |
| 4285 | export interface SkillRootSkillView { |
| 4286 | name: string; |
| 4287 | description: string; |
| 4288 | scope: string; |
| 4289 | runAs: string; |
| 4290 | plugin?: string; |
| 4291 | model?: string; |
| 4292 | effort?: string; |
| 4293 | allowedTools?: string[]; |
| 4294 | color?: string; |
| 4295 | invocation?: string; |
| 4296 | } |
| 4297 | |
| 4298 | export interface SkillRootView { |
| 4299 | dir: string; |
| 4300 | scope: string; |
| 4301 | priority: number; |
| 4302 | status: string; |
| 4303 | enabled: boolean; |
| 4304 | configured: boolean; |
| 4305 | removable: boolean; |
| 4306 | skills: number; |
| 4307 | skillItems?: SkillRootSkillView[]; |
| 4308 | warning?: string; |
| 4309 | } |
| 4310 | |
| 4311 | export interface SkillSuggestion { |
| 4312 | id: string; |
| 4313 | name: string; |
| 4314 | description: string; |
| 4315 | scope: string; |
| 4316 | body: string; |
| 4317 | reason: string; |
| 4318 | evidence: string[]; |
| 4319 | } |
| 4320 | |
| 4321 | export interface SkillView { |
| 4322 | name: string; |
| 4323 | description: string; |
| 4324 | scope: string; |
| 4325 | sourceDir?: string; |
| 4326 | runAs: string; |
| 4327 | enabled: boolean; |
| 4328 | plugin?: string; |
| 4329 | model?: string; |
| 4330 | effort?: string; |
| 4331 | allowedTools?: string[]; |
| 4332 | readOnly?: boolean; |
| 4333 | color?: string; |
| 4334 | invocation?: string; |
| 4335 | invocationMode?: string; |
| 4336 | body?: string; |
| 4337 | configuredModel?: string; |
| 4338 | configuredEffort?: string; |
| 4339 | } |
| 4340 | |
| 4341 | export interface SkillsSettingsView { |
| 4342 | skills: SkillView[]; |
| 4343 | skillRoots: SkillRootView[]; |
| 4344 | allowImplicitInvocation: boolean; |
| 4345 | } |
| 4346 | |
| 4347 | export interface SlashArgItem { |
| 4348 | label: string; |
| 4349 | insert: string; |
| 4350 | hint: string; |
| 4351 | descend: boolean; |
| 4352 | } |
| 4353 | |
| 4354 | export interface SlashArgsResult { |
| 4355 | items: SlashArgItem[]; |
| 4356 | from: number; |
| 4357 | } |
| 4358 | |
| 4359 | export interface StorageSettingsView { |
| 4360 | defaultWorkspace: string; |
| 4361 | statePath: string; |
| 4362 | cachePath: string; |
| 4363 | extensionsPath: string; |
| 4364 | } |
| 4365 | |
| 4366 | export interface SubagentProfileInput { |
| 4367 | name: string; |
| 4368 | description: string; |
| 4369 | systemPrompt: string; |
| 4370 | color: string; |
| 4371 | model: string; |
| 4372 | effort: string; |
| 4373 | allowedTools: string[]; |
| 4374 | readOnly: boolean; |
| 4375 | scope: string; |
| 4376 | } |
| 4377 | |
| 4378 | export interface TabMeta { |
| 4379 | id: string; |
| 4380 | scope: string; |
| 4381 | workspaceRoot: string; |
| 4382 | workspaceId?: string; |
| 4383 | workspaceName: string; |
| 4384 | workspacePath?: string; |
| 4385 | gitBranch?: string; |
| 4386 | isolatedWorktree?: boolean; |
| 4387 | remote?: RemoteTabRef | null; |
| 4388 | remoteState?: string; |
| 4389 | forkTargetsSupported: boolean; |
| 4390 | interactionTargetSupported: boolean; |
| 4391 | extensionFormInstanceSupported: boolean; |
| 4392 | topicId: string; |
| 4393 | topicTitle: string; |
| 4394 | sessionPath?: string; |
| 4395 | sessionId?: string; |
| 4396 | session?: SessionRef | null; |
| 4397 | sessionRevision?: number; |
| 4398 | sessionDigest?: string; |
| 4399 | sessionGeneration?: number; |
| 4400 | readOnly?: boolean; |
| 4401 | takenOver?: boolean; |
| 4402 | projectColor?: string; |
| 4403 | label: string; |
| 4404 | ready: boolean; |
| 4405 | runtime: SessionRuntimeView; |
| 4406 | running: boolean; |
| 4407 | turnStartedAt?: number; |
| 4408 | pendingPrompt?: boolean; |
| 4409 | remoteControlled?: boolean; |
| 4410 | backgroundJobs?: number; |
| 4411 | cancelRequested?: boolean; |
| 4412 | cancellable: boolean; |
| 4413 | turnId?: string; |
| 4414 | turnStatus?: string; |
| 4415 | turnEventSeq?: number; |
| 4416 | turnReplayAfterSeq?: number; |
| 4417 | mode: string; |
| 4418 | collaborationMode: string; |
| 4419 | toolApprovalMode: string; |
| 4420 | tokenMode: string; |
| 4421 | agentPreset?: string; |
| 4422 | qualityFloor?: string; |
| 4423 | floorInferred?: boolean; |
| 4424 | goal?: string; |
| 4425 | goalStatus?: string; |
| 4426 | goalView?: View | null; |
| 4427 | recovered?: boolean; |
| 4428 | recoveryReason?: string; |
| 4429 | recoveryDigest?: string; |
| 4430 | recoveryParentId?: string; |
| 4431 | versionKind?: string; |
| 4432 | versionState?: string; |
| 4433 | parentVersionId?: string; |
| 4434 | startupErr?: string; |
| 4435 | historicalSource?: SessionSourceRef | null; |
| 4436 | authentication?: AuthenticationState | null; |
| 4437 | modelSettingsPending?: boolean; |
| 4438 | active: boolean; |
| 4439 | cwd: string; |
| 4440 | } |
| 4441 | |
| 4442 | export interface TaskActionRequest { |
| 4443 | projectKey: string; |
| 4444 | taskId: string; |
| 4445 | expectedVersion: number; |
| 4446 | reason: string; |
| 4447 | idempotencyKey: string; |
| 4448 | } |
| 4449 | |
| 4450 | export interface TaskEventPageRequest { |
| 4451 | projectKey: string; |
| 4452 | taskId: string; |
| 4453 | after: number; |
| 4454 | limit: number; |
| 4455 | } |
| 4456 | |
| 4457 | export interface TaskOpenRequest { |
| 4458 | projectKey: string; |
| 4459 | taskId: string; |
| 4460 | } |
| 4461 | |
| 4462 | export interface TaskPage { |
| 4463 | items: Item[]; |
| 4464 | nextCursor: string; |
| 4465 | revision: number; |
| 4466 | partial: boolean; |
| 4467 | staleCursor: boolean; |
| 4468 | status: taskcatalog_Status; |
| 4469 | } |
| 4470 | |
| 4471 | export interface TaskPageRequest { |
| 4472 | scope: string; |
| 4473 | tabId: string; |
| 4474 | projectKey: string; |
| 4475 | states: string[]; |
| 4476 | query: string; |
| 4477 | cursor: string; |
| 4478 | limit: number; |
| 4479 | } |
| 4480 | |
| 4481 | export interface TerminalSessionView { |
| 4482 | id: string; |
| 4483 | title: string; |
| 4484 | shell: string; |
| 4485 | cwd: string; |
| 4486 | createdAt: number; |
| 4487 | exitCode?: number | null; |
| 4488 | running: boolean; |
| 4489 | } |
| 4490 | |
| 4491 | export interface TerminalShellView { |
| 4492 | id: string; |
| 4493 | label: string; |
| 4494 | } |
| 4495 | |
| 4496 | export interface TerminalWorkspaceView { |
| 4497 | available: boolean; |
| 4498 | readOnly: boolean; |
| 4499 | reason?: string; |
| 4500 | sessions: TerminalSessionView[]; |
| 4501 | shells: TerminalShellView[]; |
| 4502 | } |
| 4503 | |
| 4504 | export interface ThemeActiveView { |
| 4505 | activeThemeId?: string; |
| 4506 | pack?: ThemePackView | null; |
| 4507 | } |
| 4508 | |
| 4509 | export interface ThemeContrastWarning { |
| 4510 | mode: string; |
| 4511 | pair: string; |
| 4512 | ratio: number; |
| 4513 | minimum: number; |
| 4514 | suggest?: string; |
| 4515 | } |
| 4516 | |
| 4517 | export interface ThemeExperienceView { |
| 4518 | themeMode: string; |
| 4519 | baseStyle: string; |
| 4520 | effectiveStyle: string; |
| 4521 | activeThemeId?: string; |
| 4522 | activePack?: ThemePackView | null; |
| 4523 | warnings?: string[]; |
| 4524 | } |
| 4525 | |
| 4526 | export interface ThemeImportResult { |
| 4527 | pack: ThemePackView; |
| 4528 | replaced: boolean; |
| 4529 | needsReplace?: boolean; |
| 4530 | pendingId?: string; |
| 4531 | } |
| 4532 | |
| 4533 | export interface ThemePackBackground { |
| 4534 | image?: string; |
| 4535 | focusX: number; |
| 4536 | focusY: number; |
| 4537 | safeArea?: string; |
| 4538 | homeOpacity: number; |
| 4539 | taskOpacity: number; |
| 4540 | overlayStrength: number; |
| 4541 | paneOpacity?: number | null; |
| 4542 | } |
| 4543 | |
| 4544 | export interface ThemePackRecipes { |
| 4545 | density?: string; |
| 4546 | corners?: string; |
| 4547 | } |
| 4548 | |
| 4549 | export interface ThemePackSceneBackground { |
| 4550 | image?: string; |
| 4551 | focusX: number; |
| 4552 | focusY: number; |
| 4553 | safeArea?: string; |
| 4554 | opacity: number; |
| 4555 | overlayStrength: number; |
| 4556 | paneOpacity?: number | null; |
| 4557 | } |
| 4558 | |
| 4559 | export interface ThemePackTokens { |
| 4560 | light?: Record<string, string>; |
| 4561 | dark?: Record<string, string>; |
| 4562 | } |
| 4563 | |
| 4564 | export interface ThemePackView { |
| 4565 | id: string; |
| 4566 | name: string; |
| 4567 | author?: string; |
| 4568 | description?: string; |
| 4569 | license?: string; |
| 4570 | baseStyle: string; |
| 4571 | builtin: boolean; |
| 4572 | kind: string; |
| 4573 | active: boolean; |
| 4574 | hasBackground: boolean; |
| 4575 | backgroundUrl?: string; |
| 4576 | taskBackgroundUrl?: string; |
| 4577 | previewUrl?: string; |
| 4578 | nameKey?: string; |
| 4579 | descriptionKey?: string; |
| 4580 | pluginName?: string; |
| 4581 | warnings?: string[]; |
| 4582 | tokens: ThemePackTokens; |
| 4583 | recipes: ThemePackRecipes; |
| 4584 | background?: ThemePackBackground | null; |
| 4585 | taskBackground?: ThemePackSceneBackground | null; |
| 4586 | contrastWarnings?: ThemeContrastWarning[]; |
| 4587 | } |
| 4588 | |
| 4589 | export interface ThemeSaveInput { |
| 4590 | id: string; |
| 4591 | name: string; |
| 4592 | author?: string; |
| 4593 | description?: string; |
| 4594 | license?: string; |
| 4595 | baseStyle: string; |
| 4596 | tokens: ThemePackTokens; |
| 4597 | recipes: ThemePackRecipes; |
| 4598 | background?: ThemePackBackground | null; |
| 4599 | taskBackground?: ThemePackSceneBackground | null; |
| 4600 | backgroundDataUrl?: string; |
| 4601 | taskBackgroundDataUrl?: string; |
| 4602 | clearBackground?: boolean; |
| 4603 | clearTaskBackground?: boolean; |
| 4604 | replace?: boolean; |
| 4605 | activate?: boolean; |
| 4606 | } |
| 4607 | |
| 4608 | export interface ToolView { |
| 4609 | name: string; |
| 4610 | description: string; |
| 4611 | readOnlyHint?: boolean; |
| 4612 | destructiveHint?: boolean; |
| 4613 | schemaError?: string; |
| 4614 | } |
| 4615 | |
| 4616 | export interface TopicActivationRequest { |
| 4617 | selector?: SessionSelector | null; |
| 4618 | scope: string; |
| 4619 | workspaceRoot: string; |
| 4620 | topicId: string; |
| 4621 | sessionPath: string; |
| 4622 | requestId: string; |
| 4623 | } |
| 4624 | |
| 4625 | export interface TopicActivationTicket { |
| 4626 | requestId: string; |
| 4627 | tabId: string; |
| 4628 | meta: TabMeta; |
| 4629 | } |
| 4630 | |
| 4631 | export interface TopicMeta { |
| 4632 | id: string; |
| 4633 | title: string; |
| 4634 | createdAt: number; |
| 4635 | } |
| 4636 | |
| 4637 | export interface TrashEntry { |
| 4638 | id: string; |
| 4639 | ref?: SessionRef | null; |
| 4640 | recoveryEntryId?: string; |
| 4641 | title: string; |
| 4642 | workspaceId: string; |
| 4643 | workspaceTitle: string; |
| 4644 | archivedAt: number; |
| 4645 | health: string; |
| 4646 | operationPhase?: string; |
| 4647 | canPreview: boolean; |
| 4648 | canRestore: boolean; |
| 4649 | canPurge: boolean; |
| 4650 | cleanupBatchId?: string; |
| 4651 | cleanupKind?: string; |
| 4652 | } |
| 4653 | |
| 4654 | export interface TrashEntryPage { |
| 4655 | items: TrashEntry[]; |
| 4656 | generation: number; |
| 4657 | nextCursor?: string; |
| 4658 | } |
| 4659 | |
| 4660 | export interface TurnCheckLogView { |
| 4661 | output: string; |
| 4662 | truncated: boolean; |
| 4663 | } |
| 4664 | |
| 4665 | export interface TurnEventReplayView { |
| 4666 | events: Envelope[]; |
| 4667 | floorSeq: number; |
| 4668 | latestSeq: number; |
| 4669 | nextAfterSeq: number; |
| 4670 | hasMore: boolean; |
| 4671 | resetRequired: boolean; |
| 4672 | transcriptRevision?: number; |
| 4673 | transcriptDigest?: string; |
| 4674 | headId?: string; |
| 4675 | leafMessageId?: string; |
| 4676 | runtimeEpoch?: string; |
| 4677 | } |
| 4678 | |
| 4679 | export interface TurnStartView { |
| 4680 | turnId: string; |
| 4681 | status: string; |
| 4682 | disposition: string; |
| 4683 | runtimeEpoch?: string; |
| 4684 | submissionId?: string; |
| 4685 | } |
| 4686 | |
| 4687 | export interface UpdateInfo { |
| 4688 | available: boolean; |
| 4689 | current: string; |
| 4690 | latest: string; |
| 4691 | notes: string; |
| 4692 | channel: string; |
| 4693 | canSelfUpdate: boolean; |
| 4694 | manualOnly?: boolean; |
| 4695 | manualReason?: string; |
| 4696 | installMode: string; |
| 4697 | requiresElevation?: boolean; |
| 4698 | downloaded: boolean; |
| 4699 | downloadUrl: string; |
| 4700 | assetSize: number; |
| 4701 | err?: string; |
| 4702 | } |
| 4703 | |
| 4704 | export interface UsageStatsRange { |
| 4705 | from: string; |
| 4706 | to: string; |
| 4707 | tokens: number; |
| 4708 | requests: number; |
| 4709 | turns: number; |
| 4710 | cacheHit: number; |
| 4711 | cacheMiss: number; |
| 4712 | activeDays: number; |
| 4713 | topModel: string; |
| 4714 | topProvider: string; |
| 4715 | daily: DailyTokens[]; |
| 4716 | models: ModelUsage[]; |
| 4717 | providers: ProviderUsage[]; |
| 4718 | } |
| 4719 | |
| 4720 | export interface UsageStatsRequest { |
| 4721 | range: string; |
| 4722 | from?: string; |
| 4723 | to?: string; |
| 4724 | source?: string; |
| 4725 | } |
| 4726 | |
| 4727 | export interface WeixinBotView { |
| 4728 | enabled: boolean; |
| 4729 | accountId: string; |
| 4730 | tokenEnv: string; |
| 4731 | tokenSet: boolean; |
| 4732 | apiBase: string; |
| 4733 | } |
| 4734 | |
| 4735 | export interface WorkspaceChangeDetailView { |
| 4736 | diff?: string | null; |
| 4737 | source?: string; |
| 4738 | added?: number; |
| 4739 | removed?: number; |
| 4740 | binary?: boolean; |
| 4741 | truncated?: boolean; |
| 4742 | } |
| 4743 | |
| 4744 | export interface WorkspaceChangeView { |
| 4745 | path: string; |
| 4746 | oldPath?: string; |
| 4747 | sources: string[]; |
| 4748 | gitStatus?: string; |
| 4749 | turns?: number[]; |
| 4750 | latestPrompt?: string; |
| 4751 | latestTime?: number; |
| 4752 | canSessionRevert?: boolean; |
| 4753 | } |
| 4754 | |
| 4755 | export interface WorkspaceChangesView { |
| 4756 | files: WorkspaceChangeView[]; |
| 4757 | gitAvailable: boolean; |
| 4758 | gitErr?: string; |
| 4759 | gitBranch?: string; |
| 4760 | added?: number; |
| 4761 | removed?: number; |
| 4762 | incomplete?: boolean; |
| 4763 | } |
| 4764 | |
| 4765 | export interface WorkspaceConflictView { |
| 4766 | state: string; |
| 4767 | ownerTabId?: string; |
| 4768 | ownerTitle?: string; |
| 4769 | ownerScope?: string; |
| 4770 | ownerLabel?: string; |
| 4771 | ownerWork: ActiveWorkView; |
| 4772 | canReveal: boolean; |
| 4773 | canCreateWorktree: boolean; |
| 4774 | } |
| 4775 | |
| 4776 | export interface WorkspaceMeta { |
| 4777 | path: string; |
| 4778 | name: string; |
| 4779 | current: boolean; |
| 4780 | } |
| 4781 | |
| 4782 | export interface WorkspacePendingCreate { |
| 4783 | operationId: string; |
| 4784 | workspaceId: string; |
| 4785 | sessionId: string; |
| 4786 | createdAt: number; |
| 4787 | } |
| 4788 | |
| 4789 | export interface WorkspaceRevisionView { |
| 4790 | Revisions: event_WorkspaceRevision; |
| 4791 | WatchState: string; |
| 4792 | } |
| 4793 | |
| 4794 | export interface WorkspaceSessionPage { |
| 4795 | sessions: WorkspaceSessionSummary[]; |
| 4796 | nextCursor?: string; |
| 4797 | registryGeneration: number; |
| 4798 | } |
| 4799 | |
| 4800 | export interface WorkspaceSessionSummary { |
| 4801 | ref: SessionRef; |
| 4802 | workspaceId: string; |
| 4803 | title: string; |
| 4804 | preview: string; |
| 4805 | turns: number; |
| 4806 | createdAt: number; |
| 4807 | updatedAt: number; |
| 4808 | resultSequence?: number; |
| 4809 | modelRef?: string; |
| 4810 | parentSessionId?: string; |
| 4811 | origin?: string; |
| 4812 | blank: boolean; |
| 4813 | archived: boolean; |
| 4814 | running: boolean; |
| 4815 | metadataStatus: string; |
| 4816 | health: string; |
| 4817 | } |
| 4818 | |
| 4819 | export interface WorkspaceSnapshot { |
| 4820 | generation: number; |
| 4821 | workspaces: WorkspaceSummary[]; |
| 4822 | archivedSessionIds: string[]; |
| 4823 | pendingCreates: WorkspacePendingCreate[]; |
| 4824 | } |
| 4825 | |
| 4826 | export interface WorkspaceSummary { |
| 4827 | id: string; |
| 4828 | root: string; |
| 4829 | title: string; |
| 4830 | sessionIds: string[]; |
| 4831 | visible: boolean; |
| 4832 | createdAt: number; |
| 4833 | updatedAt: number; |
| 4834 | } |
| 4835 | |
| 4836 | export interface desktopGroup { |
| 4837 | id: string; |
| 4838 | title: string; |
| 4839 | topicIds?: string[]; |
| 4840 | sessionKeys?: string[]; |
| 4841 | excludedSessionKeys?: string[]; |
| 4842 | } |
| 4843 | |
| 4844 | export interface readFileRecord { |
| 4845 | path: string; |
| 4846 | turn: number; |
| 4847 | time: number; |
| 4848 | offset?: number; |
| 4849 | limit?: number; |
| 4850 | truncated?: boolean; |
| 4851 | } |
| 4852 | |
| 4853 | export interface usageSourceStats { |
| 4854 | promptTokens: number; |
| 4855 | completionTokens: number; |
| 4856 | totalTokens: number; |
| 4857 | reasoningTokens: number; |
| 4858 | cacheHitTokens: number; |
| 4859 | cacheMissTokens: number; |
| 4860 | cacheWriteTokens?: number; |
| 4861 | cacheWriteBilledTokens?: number; |
| 4862 | estimated?: boolean; |
| 4863 | requestCount: number; |
| 4864 | sessionCost?: number; |
| 4865 | sessionCurrency?: string; |
| 4866 | sessionCostUsd?: number; |
| 4867 | } |
| 4868 | |
| 4869 | export interface MCPInstallResult { |
| 4870 | name: string; |
| 4871 | state: string; |
| 4872 | toolCount: number; |
| 4873 | action: string; |
| 4874 | message: string; |
| 4875 | } |
| 4876 | |
| 4877 | export interface CompatibilityIssue { |
| 4878 | capability: string; |
| 4879 | path?: string; |
| 4880 | reason: string; |
| 4881 | } |
| 4882 | |
| 4883 | export interface ActionIdentity { |
| 4884 | session_id?: string; |
| 4885 | turn_id?: string; |
| 4886 | attempt_id?: string; |
| 4887 | call_id?: string; |
| 4888 | canonical_tool?: string; |
| 4889 | argument_digest?: string; |
| 4890 | resource_scope?: string; |
| 4891 | } |
| 4892 | |
| 4893 | export interface CompletedRead { |
| 4894 | read_id: string; |
| 4895 | path: string; |
| 4896 | snapshot?: string; |
| 4897 | intent: string; |
| 4898 | verdict: string; |
| 4899 | covered: number[][]; |
| 4900 | source_end?: number | null; |
| 4901 | } |
| 4902 | |
| 4903 | export interface provider_DecisionReceipt { |
| 4904 | id: string; |
| 4905 | kind: string; |
| 4906 | tool?: string; |
| 4907 | subject?: string; |
| 4908 | outcome: string; |
| 4909 | } |
| 4910 | |
| 4911 | export interface FailureDiagnostic { |
| 4912 | kind: string; |
| 4913 | status?: number; |
| 4914 | traceId?: string; |
| 4915 | providerId?: string; |
| 4916 | providerDisplayName?: string; |
| 4917 | protocol?: string; |
| 4918 | requestPath?: string; |
| 4919 | } |
| 4920 | |
| 4921 | export interface MCPAppPresentation { |
| 4922 | server: string; |
| 4923 | tool: string; |
| 4924 | generation: number; |
| 4925 | resourceUri?: string; |
| 4926 | csp?: Record<string, string[]>; |
| 4927 | rawResult?: unknown; |
| 4928 | structured?: unknown; |
| 4929 | } |
| 4930 | |
| 4931 | export interface provider_MemoryCitation { |
| 4932 | id?: string; |
| 4933 | source: string; |
| 4934 | lineStart?: number; |
| 4935 | lineEnd?: number; |
| 4936 | note?: string; |
| 4937 | kind?: string; |
| 4938 | } |
| 4939 | |
| 4940 | export interface PausedRead { |
| 4941 | snapshot?: string; |
| 4942 | readId: string; |
| 4943 | path: string; |
| 4944 | intent?: string; |
| 4945 | covered?: number[][]; |
| 4946 | missing?: number[][]; |
| 4947 | reason: string; |
| 4948 | } |
| 4949 | |
| 4950 | export interface PresentedFile { |
| 4951 | path: string; |
| 4952 | description?: string; |
| 4953 | } |
| 4954 | |
| 4955 | export interface ProtocolRecoveryAction { |
| 4956 | id: string; |
| 4957 | } |
| 4958 | |
| 4959 | export interface ReadCompletion { |
| 4960 | id: string; |
| 4961 | reads: CompletedRead[]; |
| 4962 | omitted?: number; |
| 4963 | } |
| 4964 | |
| 4965 | export interface ReadPause { |
| 4966 | code?: string; |
| 4967 | id: string; |
| 4968 | reads: PausedRead[]; |
| 4969 | omitted?: number; |
| 4970 | } |
| 4971 | |
| 4972 | export interface ReasoningOption { |
| 4973 | id: string; |
| 4974 | name: string; |
| 4975 | description?: string; |
| 4976 | } |
| 4977 | |
| 4978 | export interface ServerSearchCall { |
| 4979 | sources_status?: string; |
| 4980 | id: string; |
| 4981 | query?: string; |
| 4982 | results?: ServerSearchHit[]; |
| 4983 | raw?: unknown; |
| 4984 | } |
| 4985 | |
| 4986 | export interface ServerSearchHit { |
| 4987 | title?: string; |
| 4988 | url?: string; |
| 4989 | } |
| 4990 | |
| 4991 | export interface ToolCallRecord { |
| 4992 | identity: ActionIdentity; |
| 4993 | arguments?: unknown; |
| 4994 | state: string; |
| 4995 | read_only: boolean; |
| 4996 | idempotency_key?: string; |
| 4997 | started_at?: number; |
| 4998 | finished_at?: number; |
| 4999 | result_digest?: string; |
| 5000 | effect_summary?: string; |
| 5001 | resolution?: string; |
| 5002 | resolved_at?: number; |
| 5003 | resolution_source?: string; |
| 5004 | inspection_id?: string; |
| 5005 | inspection_state?: string; |
| 5006 | superseded_by?: string; |
| 5007 | } |
| 5008 | |
| 5009 | export interface ToolExecution { |
| 5010 | kind?: string; |
| 5011 | shell?: string; |
| 5012 | shellVersion?: string; |
| 5013 | platform?: string; |
| 5014 | supportsAndAnd: boolean; |
| 5015 | state?: string; |
| 5016 | failurePhase?: string; |
| 5017 | exitCode?: number | null; |
| 5018 | outputTail?: string; |
| 5019 | mutationRisk?: string; |
| 5020 | verification?: string; |
| 5021 | durationMs?: number; |
| 5022 | } |
| 5023 | |
| 5024 | export interface ExportSnapshot { |
| 5025 | readIncomplete?: boolean; |
| 5026 | session: SessionRef; |
| 5027 | storageGeneration: string; |
| 5028 | snapshotSequence: number; |
| 5029 | acceptedThrough: number; |
| 5030 | durableThrough: number; |
| 5031 | capturedAt: string; |
| 5032 | title: string; |
| 5033 | } |
| 5034 | |
| 5035 | export interface HistoryWindowPage { |
| 5036 | messages: PersistentMessage[]; |
| 5037 | status: string; |
| 5038 | snapshotSequence: number; |
| 5039 | coverageSequence: number; |
| 5040 | generation?: string; |
| 5041 | totalTurns: number; |
| 5042 | hasOlder: boolean; |
| 5043 | hasNewer: boolean; |
| 5044 | olderCursor?: string; |
| 5045 | newerCursor?: string; |
| 5046 | anchorMessageId?: string; |
| 5047 | anchorTurn?: number; |
| 5048 | } |
| 5049 | |
| 5050 | export interface HistoryWindowRequest { |
| 5051 | generation?: string; |
| 5052 | snapshotSequence?: number | null; |
| 5053 | anchor: string; |
| 5054 | messageId?: string; |
| 5055 | turn?: number; |
| 5056 | cursor?: string; |
| 5057 | direction?: string; |
| 5058 | limit?: number; |
| 5059 | } |
| 5060 | |
| 5061 | export interface MessageFieldPage { |
| 5062 | status: string; |
| 5063 | messageId: string; |
| 5064 | version: number; |
| 5065 | field: string; |
| 5066 | totalBytes: number; |
| 5067 | offset: number; |
| 5068 | data?: string; |
| 5069 | nextOffset?: number; |
| 5070 | encoding: string; |
| 5071 | } |
| 5072 | |
| 5073 | export interface MessageHistoryPage { |
| 5074 | messages: PersistentMessage[]; |
| 5075 | snapshotSequence: number; |
| 5076 | coverageSequence: number; |
| 5077 | status: string; |
| 5078 | totalTurns: number; |
| 5079 | generation: string; |
| 5080 | nextCursor?: string; |
| 5081 | hasMore: boolean; |
| 5082 | } |
| 5083 | |
| 5084 | export interface MessageLocation { |
| 5085 | status: string; |
| 5086 | messageId?: string; |
| 5087 | snapshotSequence: number; |
| 5088 | coverageSequence: number; |
| 5089 | generation?: string; |
| 5090 | position?: number; |
| 5091 | visibleTurn?: number; |
| 5092 | cursor?: string; |
| 5093 | } |
| 5094 | |
| 5095 | export interface PersistentMessage { |
| 5096 | toolObservations?: Record<string, ToolObservation>; |
| 5097 | submissionId?: string; |
| 5098 | samplingCount?: number | null; |
| 5099 | toolCount?: number | null; |
| 5100 | turnFinal?: boolean; |
| 5101 | turnDurationMs?: number; |
| 5102 | messageId: string; |
| 5103 | position: number; |
| 5104 | version: number; |
| 5105 | role: string; |
| 5106 | preview?: string; |
| 5107 | eventSequence: number; |
| 5108 | visibleTurn: number; |
| 5109 | inline?: unknown; |
| 5110 | contentRef?: Ref | null; |
| 5111 | } |
| 5112 | |
| 5113 | export interface RecentSnapshot { |
| 5114 | version: number; |
| 5115 | sessionId: string; |
| 5116 | storageGeneration: string; |
| 5117 | durableSequence: number; |
| 5118 | totalTurns: number; |
| 5119 | entries: PersistentMessage[]; |
| 5120 | title?: string; |
| 5121 | modelRef?: string; |
| 5122 | modelIdentity?: string; |
| 5123 | } |
| 5124 | |
| 5125 | export interface SearchHistoryHit { |
| 5126 | messageId: string; |
| 5127 | position: number; |
| 5128 | role: string; |
| 5129 | preview: string; |
| 5130 | eventSequence: number; |
| 5131 | } |
| 5132 | |
| 5133 | export interface SearchHistoryPage { |
| 5134 | hits: SearchHistoryHit[]; |
| 5135 | snapshotSequence: number; |
| 5136 | coverageSequence: number; |
| 5137 | status: string; |
| 5138 | nextCursor?: string; |
| 5139 | hasMore: boolean; |
| 5140 | } |
| 5141 | |
| 5142 | export interface SessionOpenView { |
| 5143 | session: SessionRef; |
| 5144 | storageGeneration?: string; |
| 5145 | snapshotSequence: number; |
| 5146 | acceptedSequence: number; |
| 5147 | durableSequence: number; |
| 5148 | recent: RecentSnapshot; |
| 5149 | recovery: string; |
| 5150 | history: string; |
| 5151 | search: string; |
| 5152 | canExecute: boolean; |
| 5153 | } |
| 5154 | |
| 5155 | export interface SessionRef { |
| 5156 | hostId: string; |
| 5157 | sessionId: string; |
| 5158 | } |
| 5159 | |
| 5160 | export interface ToolObservation { |
| 5161 | state: string; |
| 5162 | messageId?: string; |
| 5163 | version?: number; |
| 5164 | contentRef?: Ref | null; |
| 5165 | } |
| 5166 | |
| 5167 | export interface Ref { |
| 5168 | digest: string; |
| 5169 | bytes: number; |
| 5170 | mediaType?: string; |
| 5171 | name?: string; |
| 5172 | indexDigest?: string; |
| 5173 | integrityBlockBytes?: number; |
| 5174 | } |
| 5175 | |
| 5176 | export interface Diagnostics { |
| 5177 | physicalWatches: number; |
| 5178 | logicalSubscriptions: number; |
| 5179 | scans: number; |
| 5180 | scannedEntries: number; |
| 5181 | eventsReceived: number; |
| 5182 | notifications: number; |
| 5183 | degradedRoots: number; |
| 5184 | helperRestarts: number; |
| 5185 | } |
| 5186 | |
| 5187 | export interface DailyTokens { |
| 5188 | day: string; |
| 5189 | total: number; |
| 5190 | byModel: Record<string, number>; |
| 5191 | byProvider: Record<string, number>; |
| 5192 | requests: number; |
| 5193 | turns: number; |
| 5194 | cacheHit: number; |
| 5195 | cacheMiss: number; |
| 5196 | } |
| 5197 | |
| 5198 | export interface ModelUsage { |
| 5199 | model: string; |
| 5200 | provider: string; |
| 5201 | tokens: number; |
| 5202 | percent: number; |
| 5203 | } |
| 5204 | |
| 5205 | export interface ProviderUsage { |
| 5206 | provider: string; |
| 5207 | tokens: number; |
| 5208 | percent: number; |
| 5209 | } |
| 5210 | |
| 5211 | export interface EventPage { |
| 5212 | items: TaskEvent[]; |
| 5213 | nextSequence: number; |
| 5214 | partial: boolean; |
| 5215 | } |
| 5216 | |
| 5217 | export interface Item { |
| 5218 | projectKey: string; |
| 5219 | projectLabel: string; |
| 5220 | task: TaskSnapshot; |
| 5221 | } |
| 5222 | |
| 5223 | export interface taskcatalog_Status { |
| 5224 | state: string; |
| 5225 | mode: string; |
| 5226 | path?: string; |
| 5227 | revision: number; |
| 5228 | indexed: number; |
| 5229 | total: number; |
| 5230 | pending: number; |
| 5231 | failed: number; |
| 5232 | lastError?: string; |
| 5233 | } |
| 5234 | |
| 5235 | export interface ControlResult { |
| 5236 | schema_version: number; |
| 5237 | command: string; |
| 5238 | task_id: string; |
| 5239 | session_id: string; |
| 5240 | state: string; |
| 5241 | runtime_state?: string; |
| 5242 | version: number; |
| 5243 | accepted: boolean; |
| 5244 | idempotent: boolean; |
| 5245 | error?: CtrlError | null; |
| 5246 | } |
| 5247 | |
| 5248 | export interface CtrlError { |
| 5249 | code: string; |
| 5250 | message: string; |
| 5251 | } |
| 5252 | |
| 5253 | export interface TaskEvent { |
| 5254 | sequence: number; |
| 5255 | timestamp: string; |
| 5256 | event_type: string; |
| 5257 | task_id: string; |
| 5258 | session_id: string; |
| 5259 | state: string; |
| 5260 | runtime_state?: string; |
| 5261 | error_code?: string; |
| 5262 | error_summary?: string; |
| 5263 | } |
| 5264 | |
| 5265 | export interface TaskSnapshot { |
| 5266 | schema_version: number; |
| 5267 | task_id: string; |
| 5268 | job_id?: string; |
| 5269 | session_id: string; |
| 5270 | state: string; |
| 5271 | runtime_state?: string; |
| 5272 | runtime_lease_until?: string; |
| 5273 | runtime_owner_id?: string; |
| 5274 | version: number; |
| 5275 | created_at: string; |
| 5276 | updated_at: string; |
| 5277 | error_code?: string; |
| 5278 | error_summary?: string; |
| 5279 | } |
| 5280 | |
| 5281 | export interface ActiveAttempt { |
| 5282 | id: string; |
| 5283 | messageId: string; |
| 5284 | turnId: string; |
| 5285 | nextIndex: number; |
| 5286 | } |
| 5287 | |
| 5288 | export interface Attachment { |
| 5289 | kind?: string; |
| 5290 | digest?: string; |
| 5291 | name?: string; |
| 5292 | mime?: string; |
| 5293 | width?: number; |
| 5294 | height?: number; |
| 5295 | bytes?: number; |
| 5296 | } |
| 5297 | |
| 5298 | export interface Change { |
| 5299 | runtime?: Runtime | null; |
| 5300 | attemptId?: string; |
| 5301 | index: number; |
| 5302 | resultSeq?: number; |
| 5303 | resultKind?: string; |
| 5304 | revision: number; |
| 5305 | commitSeq: number; |
| 5306 | durableSeq: number; |
| 5307 | firstSeq?: number; |
| 5308 | records?: Message[]; |
| 5309 | event?: Event | null; |
| 5310 | resetRequired?: boolean; |
| 5311 | } |
| 5312 | |
| 5313 | export interface ContentChunk { |
| 5314 | data: string; |
| 5315 | nextOffset: number; |
| 5316 | done: boolean; |
| 5317 | stale: boolean; |
| 5318 | } |
| 5319 | |
| 5320 | export interface ContentRef { |
| 5321 | snapshotId: string; |
| 5322 | recordId: string; |
| 5323 | path: string[]; |
| 5324 | bytes: number; |
| 5325 | } |
| 5326 | |
| 5327 | export interface ContentRequest { |
| 5328 | snapshotId: string; |
| 5329 | recordId: string; |
| 5330 | path: string[]; |
| 5331 | bytes: number; |
| 5332 | offset: number; |
| 5333 | } |
| 5334 | |
| 5335 | export interface FollowRequest { |
| 5336 | subscription?: string; |
| 5337 | afterRevision?: number; |
| 5338 | close?: boolean; |
| 5339 | } |
| 5340 | |
| 5341 | export interface Identity { |
| 5342 | sessionId: string; |
| 5343 | headId: string; |
| 5344 | rewriteEpoch: number; |
| 5345 | runtimeEpoch: string; |
| 5346 | } |
| 5347 | |
| 5348 | export interface Message { |
| 5349 | recordId?: string; |
| 5350 | attemptId?: string; |
| 5351 | submissionId?: string; |
| 5352 | source?: string; |
| 5353 | messageId?: string; |
| 5354 | completionReceipt?: CompletionReceipt | null; |
| 5355 | completionSummary?: CompletionSummary | null; |
| 5356 | turnId?: string; |
| 5357 | role: string; |
| 5358 | content: string; |
| 5359 | detail?: string; |
| 5360 | code?: string; |
| 5361 | submitText?: string; |
| 5362 | checkpointTurn?: number | null; |
| 5363 | historyTurn?: number; |
| 5364 | createdAt?: number; |
| 5365 | reasoning?: string; |
| 5366 | memoryCitations?: provider_MemoryCitation[]; |
| 5367 | workDurationMs?: number; |
| 5368 | turnDurationMs?: number; |
| 5369 | turnUsage?: TurnUsage | null; |
| 5370 | level?: string; |
| 5371 | toolCalls?: ToolCall[]; |
| 5372 | toolCallId?: string; |
| 5373 | toolName?: string; |
| 5374 | toolResultArchived?: boolean; |
| 5375 | toolResultError?: string; |
| 5376 | execution?: ToolExecution | null; |
| 5377 | presentedFiles?: PresentedFile[]; |
| 5378 | pending?: boolean; |
| 5379 | trigger?: string; |
| 5380 | messages?: number; |
| 5381 | summary?: string; |
| 5382 | archive?: string; |
| 5383 | decisionReceipt?: provider_DecisionReceipt | null; |
| 5384 | readiness?: event_FinalReadiness | null; |
| 5385 | readPause?: ReadPause | null; |
| 5386 | readCompletion?: ReadCompletion | null; |
| 5387 | protocolRecovery?: ProtocolRecoveryAction | null; |
| 5388 | diagnostic?: FailureDiagnostic | null; |
| 5389 | serverSearch?: ServerSearchCall[]; |
| 5390 | attachments?: Attachment[]; |
| 5391 | } |
| 5392 | |
| 5393 | export interface OutlineEntry { |
| 5394 | id: string; |
| 5395 | messageId?: string; |
| 5396 | turn: number; |
| 5397 | order: number; |
| 5398 | prompt: string; |
| 5399 | answer?: string; |
| 5400 | } |
| 5401 | |
| 5402 | export interface OutlinePage { |
| 5403 | protocolVersion: number; |
| 5404 | snapshotId: string; |
| 5405 | identity: Identity; |
| 5406 | projectionRevision: number; |
| 5407 | coveredThroughSeq: number; |
| 5408 | durableSeq: number; |
| 5409 | entries: OutlineEntry[]; |
| 5410 | nextOffset: number; |
| 5411 | done: boolean; |
| 5412 | total: number; |
| 5413 | stale: boolean; |
| 5414 | } |
| 5415 | |
| 5416 | export interface OutlineRequest { |
| 5417 | snapshotId: string; |
| 5418 | offset: number; |
| 5419 | entries: number; |
| 5420 | bytes: number; |
| 5421 | } |
| 5422 | |
| 5423 | export interface PageRequest { |
| 5424 | snapshotId: string; |
| 5425 | before: number; |
| 5426 | records: number; |
| 5427 | bytes: number; |
| 5428 | } |
| 5429 | |
| 5430 | export interface transcript_Record { |
| 5431 | id: string; |
| 5432 | order: number; |
| 5433 | message: Message; |
| 5434 | refs: ContentRef[]; |
| 5435 | } |
| 5436 | |
| 5437 | export interface Runtime { |
| 5438 | finalMessageId?: string; |
| 5439 | durationMs?: number; |
| 5440 | samplingCount: number; |
| 5441 | toolCount: number; |
| 5442 | turnId?: string; |
| 5443 | submissionId?: string; |
| 5444 | status?: string; |
| 5445 | phase?: string; |
| 5446 | startedAt?: number; |
| 5447 | pendingEvents: Event[]; |
| 5448 | completionSummary?: CompletionSummary | null; |
| 5449 | turnUsage?: TurnUsage | null; |
| 5450 | } |
| 5451 | |
| 5452 | export interface Snapshot { |
| 5453 | protocolVersion: number; |
| 5454 | snapshotId: string; |
| 5455 | identity: Identity; |
| 5456 | projectionRevision: number; |
| 5457 | coveredThroughSeq: number; |
| 5458 | durableSeq: number; |
| 5459 | records: transcript_Record[]; |
| 5460 | runtime: Runtime; |
| 5461 | activeAttempts: ActiveAttempt[]; |
| 5462 | activeRecords: transcript_Record[]; |
| 5463 | before: number; |
| 5464 | hasOlder: boolean; |
| 5465 | totalRecords: number; |
| 5466 | totalTurns: number; |
| 5467 | stale: boolean; |
| 5468 | } |
| 5469 | |
| 5470 | export interface ToolCall { |
| 5471 | partial?: boolean; |
| 5472 | argChars?: number; |
| 5473 | pending?: boolean; |
| 5474 | parentId?: string; |
| 5475 | startedAt?: number; |
| 5476 | id: string; |
| 5477 | name: string; |
| 5478 | arguments: string; |
| 5479 | resolvedName?: string; |
| 5480 | capabilityId?: string; |
| 5481 | resolvedReadOnly?: boolean | null; |
| 5482 | subject?: string; |
| 5483 | summary?: string; |
| 5484 | diff?: string; |
| 5485 | added?: number; |
| 5486 | removed?: number; |
| 5487 | argumentsArchived?: boolean; |
| 5488 | } |
| 5489 | |
| 5490 | export interface TurnUsage { |
| 5491 | uncachedInputTokens: number; |
| 5492 | outputTokens: number; |
| 5493 | totalTokens: number; |
| 5494 | cacheReadTokens?: number | null; |
| 5495 | reasoningTokens?: number | null; |
| 5496 | routes?: string[]; |
| 5497 | } |
| 5498 | |
| 5499 | export interface Envelope { |
| 5500 | schemaVersion: number; |
| 5501 | sessionId: string; |
| 5502 | turnId: string; |
| 5503 | seq: number; |
| 5504 | itemId?: string; |
| 5505 | attemptId?: string; |
| 5506 | runtimeEpoch?: string; |
| 5507 | submissionId?: string; |
| 5508 | source?: string; |
| 5509 | kind: string; |
| 5510 | status: string; |
| 5511 | transcriptRevision?: number; |
| 5512 | transcriptDigest?: string; |
| 5513 | headId?: string; |
| 5514 | rewriteEpoch?: number; |
| 5515 | leafMessageId?: string; |
| 5516 | createdAt: number; |
| 5517 | event: Event; |
| 5518 | } |
| 5519 | |
| 5520 | export interface Availability { |
| 5521 | available: boolean; |
| 5522 | reason?: string; |
| 5523 | repoRoot?: string; |
| 5524 | branch?: string; |
| 5525 | sourceDirty?: boolean; |
| 5526 | } |
| 5527 | |
| 5528 | export interface CleanupRequest { |
| 5529 | worktreeRoot: string; |
| 5530 | sourceRoot: string; |
| 5531 | targetBranch: string; |
| 5532 | mergedCommit: string; |
| 5533 | worktreeBranch: string; |
| 5534 | worktreeHead: string; |
| 5535 | } |
| 5536 | |
| 5537 | export interface CleanupResult { |
| 5538 | completed: boolean; |
| 5539 | worktreeRemoved: boolean; |
| 5540 | branchDeleted: boolean; |
| 5541 | recoveryRetained?: boolean; |
| 5542 | recoveryRoot?: string; |
| 5543 | recoveryWorktreeRegistered?: boolean; |
| 5544 | branchRetained?: boolean; |
| 5545 | blockers: MergeBlocker[]; |
| 5546 | error?: string; |
| 5547 | } |
| 5548 | |
| 5549 | export interface MergeBlocker { |
| 5550 | code: string; |
| 5551 | message: string; |
| 5552 | paths: string[]; |
| 5553 | } |
| 5554 | |
| 5555 | export interface MergeInspection { |
| 5556 | available: boolean; |
| 5557 | reason?: string; |
| 5558 | canMerge: boolean; |
| 5559 | alreadyMerged: boolean; |
| 5560 | worktreeRoot?: string; |
| 5561 | sourceRoot?: string; |
| 5562 | worktreeBranch?: string; |
| 5563 | targetBranch?: string; |
| 5564 | createdHead?: string; |
| 5565 | worktreeHead?: string; |
| 5566 | worktreeStateToken?: string; |
| 5567 | targetHead?: string; |
| 5568 | aheadCount: number; |
| 5569 | behindCount: number; |
| 5570 | filesChanged: number; |
| 5571 | insertions: number; |
| 5572 | deletions: number; |
| 5573 | changedFiles: string[]; |
| 5574 | hasConflicts: boolean; |
| 5575 | conflictFiles: string[]; |
| 5576 | worktreeDirty: boolean; |
| 5577 | sourceDirty: boolean; |
| 5578 | blockers: MergeBlocker[]; |
| 5579 | cleanupBlockers: MergeBlocker[]; |
| 5580 | } |
| 5581 | |
| 5582 | export interface MergeResult { |
| 5583 | merged: boolean; |
| 5584 | alreadyMerged: boolean; |
| 5585 | recoveryRequired: boolean; |
| 5586 | sourceRoot?: string; |
| 5587 | targetBranch?: string; |
| 5588 | targetHead?: string; |
| 5589 | mergedCommit?: string; |
| 5590 | worktreeRoot?: string; |
| 5591 | worktreeBranch?: string; |
| 5592 | worktreeHead?: string; |
| 5593 | error?: string; |
| 5594 | } |
| 5595 | |
| 5596 | export interface GeneratedDesktopCommands { |
| 5597 | AIRenameSession(arg0: string): Promise<string>; |
| 5598 | AIRenameSessionTarget(arg0: SessionSelector): Promise<SessionMutationResult>; |
| 5599 | AbandonPendingUpdate(): Promise<void>; |
| 5600 | AcceptDelivery(): Promise<void>; |
| 5601 | AcceptDeliveryToTab(arg0: string): Promise<void>; |
| 5602 | AcceptMemorySuggestion(arg0: MemorySuggestion): Promise<string>; |
| 5603 | AcceptMemorySuggestionForTab(arg0: string, arg1: MemorySuggestion): Promise<string>; |
| 5604 | AcceptSkillSuggestion(arg0: SkillSuggestion): Promise<string>; |
| 5605 | AcceptSkillSuggestionForTab(arg0: string, arg1: SkillSuggestion): Promise<string>; |
| 5606 | AcknowledgeForkOperation(arg0: string, arg1: string): Promise<void>; |
| 5607 | ActivateBaseStyle(arg0: string): Promise<void>; |
| 5608 | ActivateThemePack(arg0: string): Promise<void>; |
| 5609 | ActivateTopic(arg0: string, arg1: string, arg2: string, arg3: string): Promise<TabMeta>; |
| 5610 | ActiveWorkForTab(arg0: string): Promise<ActiveWorkView>; |
| 5611 | AddMCPServer(arg0: MCPServerInput): Promise<number>; |
| 5612 | AddOfficialProviderAccess(arg0: string, arg1: string): Promise<string>; |
| 5613 | AddPermissionRule(arg0: string, arg1: string): Promise<void>; |
| 5614 | AddProviderConnection(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 5615 | AddProviderConnectionWithOptions(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<string>; |
| 5616 | AddProviderConnectionWithURL(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string>; |
| 5617 | AddProviderPresetAccess(arg0: string, arg1: string): Promise<string>; |
| 5618 | AddRemoteForward(arg0: string, arg1: RemoteForwardInput): Promise<RemoteForwardView>; |
| 5619 | AddRemoteHost(arg0: RemoteHostInput): Promise<RemoteHostView>; |
| 5620 | AddRemoteProject(arg0: string, arg1: string): Promise<RemoteProjectView>; |
| 5621 | AddSkillPath(arg0: string): Promise<void>; |
| 5622 | AnswerMCPInteractionForTab(arg0: string, arg1: string, arg2: string, arg3: Record<string, unknown>): Promise<void>; |
| 5623 | AnswerMCPInteractionForTurn(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string, arg5: Record<string, unknown>): Promise<void>; |
| 5624 | AnswerPromptForTab(arg0: string, arg1: string, arg2: string, arg3: QuestionAnswer[]): Promise<void>; |
| 5625 | AnswerQuestion(arg0: string, arg1: QuestionAnswer[]): Promise<void>; |
| 5626 | AnswerQuestionForTab(arg0: string, arg1: string, arg2: QuestionAnswer[]): Promise<void>; |
| 5627 | AnswerRemoteTab(arg0: string, arg1: string, arg2: RemoteAskAnswer[]): Promise<void>; |
| 5628 | AppendSessionExportPage(arg0: string, arg1: SessionExportPage): Promise<void>; |
| 5629 | ApplyModelSettings(arg0: ModelSettingsChange): Promise<ModelSettingsResult>; |
| 5630 | ApplySessionLifecycle(arg0: SessionLifecycleRequest): Promise<SessionLifecycleResult>; |
| 5631 | ApplyUpdateRequest(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5632 | Approve(arg0: string, arg1: boolean, arg2: boolean, arg3: boolean): Promise<void>; |
| 5633 | ApproveRemoteTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5634 | ApproveTab(arg0: string, arg1: string, arg2: boolean, arg3: boolean, arg4: boolean): Promise<void>; |
| 5635 | ApproveTabForTurn(arg0: string, arg1: string, arg2: string, arg3: string, arg4: boolean, arg5: boolean, arg6: boolean): Promise<void>; |
| 5636 | ArchiveCanonicalSession(arg0: SessionRef): Promise<void>; |
| 5637 | ArchiveSessionTarget(arg0: SessionSelector): Promise<SessionMutationResult>; |
| 5638 | AttachDropped(arg0: string): Promise<DroppedItem>; |
| 5639 | AttachDroppedForComposerTarget(arg0: ComposerTarget, arg1: string): Promise<DroppedItem>; |
| 5640 | AttachDroppedForTab(arg0: string, arg1: string): Promise<DroppedItem>; |
| 5641 | AttachDroppedForTarget(arg0: string, arg1: string): Promise<DroppedItem>; |
| 5642 | AttachmentDataURL(arg0: string): Promise<string>; |
| 5643 | AttachmentDataURLForComposerTarget(arg0: ComposerTarget, arg1: string): Promise<string>; |
| 5644 | AttachmentDataURLForTab(arg0: string, arg1: string): Promise<string>; |
| 5645 | AttachmentDataURLForTarget(arg0: string, arg1: string): Promise<string>; |
| 5646 | AuthenticateMCPServer(arg0: string): Promise<void>; |
| 5647 | AuthorizeAndConnectMCPServer(arg0: string): Promise<void>; |
| 5648 | AvailableSubagentTools(): Promise<ToolView[]>; |
| 5649 | BackgroundRuntimes(): Promise<BackgroundRuntimeView[]>; |
| 5650 | Balance(): Promise<BalanceInfo>; |
| 5651 | BalanceForTab(arg0: string): Promise<BalanceInfo>; |
| 5652 | BeginDraftSubmission(arg0: SessionDraftSubmissionRequest): Promise<SessionDraftSubmissionView>; |
| 5653 | BeginSessionExportForTarget(arg0: SessionSelector, arg1: string, arg2: string, arg3: string, arg4: string): Promise<SessionExportHandle>; |
| 5654 | BotRuntimeStatus(): Promise<BotRuntimeStatusView>; |
| 5655 | Cancel(): Promise<void>; |
| 5656 | CancelDraftSubmission(arg0: string): Promise<SessionDraftSubmissionView>; |
| 5657 | CancelJob(arg0: string): Promise<boolean>; |
| 5658 | CancelJobForTab(arg0: string, arg1: string): Promise<boolean>; |
| 5659 | CancelJobsForTab(arg0: string, arg1: string[]): Promise<JobCancelBatchView>; |
| 5660 | CancelRemoteTab(arg0: string): Promise<void>; |
| 5661 | CancelRemoteTabJobs(arg0: string, arg1: string[]): Promise<void>; |
| 5662 | CancelSessionExport(arg0: string): Promise<void>; |
| 5663 | CancelSessionForTab(arg0: string): Promise<CancelReceipt>; |
| 5664 | CancelSessionPreparation(arg0: string): Promise<SessionPreparationView>; |
| 5665 | CancelShellInstall(): Promise<void>; |
| 5666 | CancelTab(arg0: string): Promise<void>; |
| 5667 | CancelTabWithInboxItems(arg0: string, arg1: string[]): Promise<void>; |
| 5668 | CancelTabWithInboxItemsResult(arg0: string, arg1: string[]): Promise<InboxCancelResultView>; |
| 5669 | CancelTask(arg0: string, arg1: number, arg2: string, arg3: string): Promise<ControlResult>; |
| 5670 | CancelTaskByKey(arg0: TaskActionRequest): Promise<ControlResult>; |
| 5671 | CancelTaskForTab(arg0: string, arg1: string, arg2: number, arg3: string, arg4: string): Promise<ControlResult>; |
| 5672 | CancelTrySubagentProfile(): Promise<void>; |
| 5673 | Capabilities(): Promise<CapabilitiesView>; |
| 5674 | CapabilityDiagnostics(arg0: boolean): Promise<Report>; |
| 5675 | CaptureAttachmentTarget(arg0: ComposerTarget): Promise<AttachmentTargetView>; |
| 5676 | CaptureInboxTarget(arg0: string, arg1: string): Promise<InboxTargetView>; |
| 5677 | CheckHistoricalSourceUpdate(arg0: SessionSelector): Promise<HistoricalSourceUpdateView>; |
| 5678 | CheckRemotePlatform(arg0: string): Promise<void>; |
| 5679 | CheckUpdate(arg0: string): Promise<UpdateInfo | null>; |
| 5680 | Checkpoints(): Promise<CheckpointMeta[]>; |
| 5681 | CheckpointsForTab(arg0: string): Promise<CheckpointMeta[]>; |
| 5682 | ChooseRecoveryBranch(arg0: RecoveryPreferenceRequest): Promise<void>; |
| 5683 | CleanRecoveryLineage(arg0: RecoveryCleanupRequest): Promise<RecoveryCleanupResult>; |
| 5684 | CleanRemoteLegacyWorkbenchData(arg0: string): Promise<void>; |
| 5685 | ClearBotSecret(arg0: string): Promise<void>; |
| 5686 | ClearGoalForTab(arg0: string): Promise<void>; |
| 5687 | ClearMCPServerAuthentication(arg0: string): Promise<void>; |
| 5688 | ClearProviderKey(arg0: string): Promise<void>; |
| 5689 | ClearRemoteTabSession(arg0: string): Promise<void>; |
| 5690 | ClearSession(): Promise<SessionClearResult>; |
| 5691 | ClearSessionForTab(arg0: string): Promise<SessionClearResult>; |
| 5692 | CloseMainWindow(): Promise<void>; |
| 5693 | CloseMergedWorktreeTab(arg0: CloseMergedWorktreeTabRequest): Promise<CloseMergedWorktreeTabResult>; |
| 5694 | CloseRemoteTab(arg0: string): Promise<void>; |
| 5695 | CloseTab(arg0: string): Promise<void>; |
| 5696 | CloseTabWithPolicy(arg0: string, arg1: string): Promise<void>; |
| 5697 | CloseTerminalForTab(arg0: string, arg1: string): Promise<void>; |
| 5698 | Commands(): Promise<CommandInfo[]>; |
| 5699 | CommitRewindForTab(arg0: string, arg1: string, arg2: number, arg3: string): Promise<RewindResultView>; |
| 5700 | CommitWorkspaceFileRevertForTab(arg0: string, arg1: string, arg2: string): Promise<RewindResultView>; |
| 5701 | Compact(): Promise<void>; |
| 5702 | CompactForTab(arg0: string): Promise<void>; |
| 5703 | CompactRemoteTab(arg0: string, arg1: string): Promise<void>; |
| 5704 | ConfirmAction(arg0: NativeConfirmRequest): Promise<boolean>; |
| 5705 | ConfirmRemoteHostKey(arg0: string, arg1: boolean): Promise<void>; |
| 5706 | ConfirmRemoteSecret(arg0: string, arg1: string, arg2: string, arg3: boolean): Promise<void>; |
| 5707 | ConnectKey(arg0: string): Promise<string>; |
| 5708 | ConnectRemoteHost(arg0: string): Promise<void>; |
| 5709 | ContextPanel(arg0: string): Promise<ContextPanelInfo>; |
| 5710 | ContextUsageForTab(arg0: string): Promise<ContextInfo>; |
| 5711 | ControlHistoricalImport(arg0: string): Promise<HistoricalImportStatus>; |
| 5712 | CopySessionTarget(arg0: SessionSelector, arg1: string): Promise<SessionCreationResult>; |
| 5713 | CopyThemePack(arg0: string, arg1: string, arg2: string): Promise<ThemePackView>; |
| 5714 | CreateBlankProject(arg0: string, arg1: string): Promise<string>; |
| 5715 | CreateDeliveryWorktree(arg0: string): Promise<IsolatedWorktreeOpenResult>; |
| 5716 | CreateForkForTab(arg0: string, arg1: ForkAnchorView): Promise<ForkCreationView>; |
| 5717 | CreateForkRemoteTab(arg0: string, arg1: ForkAnchorView): Promise<ForkCreationView>; |
| 5718 | CreateIsolatedWorktree(arg0: string): Promise<IsolatedWorktreeOpenResult>; |
| 5719 | CreatePresentedBrowserPreviewForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 5720 | CreateSession(arg0: string): Promise<SessionRef>; |
| 5721 | CreateSubagentProfile(arg0: SubagentProfileInput): Promise<string>; |
| 5722 | CreateTerminalForTab(arg0: string, arg1: string, arg2: string): Promise<TerminalSessionView>; |
| 5723 | CreateTopic(arg0: string, arg1: string, arg2: string): Promise<TopicMeta>; |
| 5724 | CreateWorkspaceBrowserPreviewForTab(arg0: string, arg1: string): Promise<string>; |
| 5725 | CredentialDiagnostics(arg0: boolean): Promise<CredentialDiagnosticReport>; |
| 5726 | CurrentTaskSessionID(): Promise<string>; |
| 5727 | DeleteInboxItem(arg0: string, arg1: string): Promise<void>; |
| 5728 | DeleteProvider(arg0: string): Promise<void>; |
| 5729 | DeleteRecoveryCopy(arg0: string): Promise<void>; |
| 5730 | DeleteRemotePath(arg0: string, arg1: string, arg2: boolean): Promise<void>; |
| 5731 | DeleteRemoteProjectSession(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5732 | DeleteSession(arg0: string): Promise<void>; |
| 5733 | DeleteSessionTarget(arg0: SessionSelector): Promise<SessionMutationResult>; |
| 5734 | DeleteSubagentProfile(arg0: string, arg1: string): Promise<void>; |
| 5735 | DeleteThemePack(arg0: string): Promise<void>; |
| 5736 | DeleteTopic(arg0: string): Promise<void>; |
| 5737 | DeliveryWorktreeAvailability(arg0: string): Promise<Availability>; |
| 5738 | DesktopStartupSettings(): Promise<DesktopStartupSettingsView>; |
| 5739 | DiagnoseBotConnection(arg0: string): Promise<BotConnectionDiagnostic>; |
| 5740 | DisableThemePack(): Promise<void>; |
| 5741 | DiscardSessionDraft(arg0: string, arg1: number): Promise<void>; |
| 5742 | DisconnectRemoteHost(arg0: string): Promise<void>; |
| 5743 | DismissSessionDraft(arg0: string): Promise<void>; |
| 5744 | EditGoalForTab(arg0: string, arg1: string, arg2: number | null): Promise<void>; |
| 5745 | EditRemoteTabGoal(arg0: string, arg1: string, arg2: number | null): Promise<void>; |
| 5746 | Effort(): Promise<EffortInfo>; |
| 5747 | EffortForTab(arg0: string): Promise<EffortInfo>; |
| 5748 | EnqueueForAttachmentTarget(arg0: string, arg1: string, arg2: string, arg3: string, arg4: control_InvocationRequest[], arg5: SubmissionAttachment[]): Promise<InboxReceiptView>; |
| 5749 | EnqueueInboxFollowup(arg0: string, arg1: string, arg2: string, arg3: string): Promise<InboxReceiptView>; |
| 5750 | EnqueueInboxFollowupForTarget(arg0: InboxTargetView, arg1: string, arg2: string, arg3: main_InvocationRequest[], arg4: string): Promise<InboxReceiptView>; |
| 5751 | EnqueueInboxFollowupWithInvocations(arg0: string, arg1: string, arg2: string, arg3: main_InvocationRequest[], arg4: string): Promise<InboxReceiptView>; |
| 5752 | EnqueueInboxSteer(arg0: string, arg1: string, arg2: string, arg3: string): Promise<InboxReceiptView>; |
| 5753 | EnqueueInboxSteerForTurn(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<InboxReceiptView>; |
| 5754 | EnsureBlankSurface(arg0: string, arg1: string): Promise<TabMeta>; |
| 5755 | EnsureBlankTab(arg0: string, arg1: string): Promise<TabMeta>; |
| 5756 | EnsureRemoteProjectSessions(arg0: string, arg1: string): Promise<RemoteSessionView[]>; |
| 5757 | ExportGoalDiagnostics(): Promise<string>; |
| 5758 | ExportScrollDiagnostics(arg0: string): Promise<string>; |
| 5759 | ExportThemePack(arg0: string, arg1: string): Promise<string>; |
| 5760 | ExtensionActions(arg0: string): Promise<ExtensionActionView[]>; |
| 5761 | ExternalOpeners(): Promise<ExternalOpenersView>; |
| 5762 | ExternalOpenersForTab(arg0: string): Promise<ExternalOpenersView>; |
| 5763 | FetchAllProviderModelCatalogs(arg0: ProviderView[]): Promise<Record<string, ProviderModelCapabilityView[]>>; |
| 5764 | FetchAllProviderModels(arg0: ProviderView[]): Promise<Record<string, string[]>>; |
| 5765 | FetchProviderModelCatalog(arg0: ProviderView): Promise<ProviderModelCapabilityView[]>; |
| 5766 | FetchProviderModelCatalogDraft(arg0: ProviderView, arg1: string): Promise<ProviderModelCapabilityView[]>; |
| 5767 | FetchProviderModels(arg0: ProviderView): Promise<string[]>; |
| 5768 | FinalizeWorktreeMerge(arg0: CleanupRequest): Promise<CleanupResult>; |
| 5769 | FinishSessionExport(arg0: string): Promise<SessionExportResult>; |
| 5770 | Forget(arg0: string): Promise<void>; |
| 5771 | ForgetForTab(arg0: string, arg1: string): Promise<void>; |
| 5772 | ForgetRemoteTab(arg0: string, arg1: string): Promise<void>; |
| 5773 | Fork(arg0: number): Promise<TabMeta>; |
| 5774 | ForkForTab(arg0: string, arg1: number): Promise<TabMeta>; |
| 5775 | ForkRemoteTab(arg0: string, arg1: number, arg2: string): Promise<void>; |
| 5776 | ForkSession(arg0: SessionRef, arg1: string): Promise<SessionRef>; |
| 5777 | ForkSessionTarget(arg0: SessionSelector, arg1: string): Promise<SessionRef>; |
| 5778 | ForkTargetsForTab(arg0: string): Promise<ForkTargetSetView>; |
| 5779 | ForkTargetsRemoteTab(arg0: string): Promise<ForkTargetSetView>; |
| 5780 | ForkWorktreeForTab(arg0: string, arg1: number): Promise<ForkWorktreeResultView>; |
| 5781 | GetActiveThemePack(): Promise<ThemeActiveView>; |
| 5782 | GetDesktopShellStatus(): Promise<DesktopShellStatusView>; |
| 5783 | GetDesktopZoomFactor(): Promise<number>; |
| 5784 | GetDraftContext(arg0: string): Promise<SessionDraftContextView>; |
| 5785 | GetDraftSubmission(arg0: string): Promise<SessionDraftSubmissionView>; |
| 5786 | GetHistoricalImportStatus(): Promise<HistoricalImportStatus>; |
| 5787 | GetHistoryIndexStatus(): Promise<historycatalog_Status>; |
| 5788 | GetHistorySearchContext(arg0: HistorySearchContextRequest): Promise<HistorySearchContextLine[]>; |
| 5789 | GetLegacyEmptySessionCleanupStatus(): Promise<LegacyEmptySessionCleanupStatus>; |
| 5790 | GetModelSettingsApplication(): Promise<ModelSettingsResult>; |
| 5791 | GetModelSettingsRequest(arg0: string): Promise<ModelSettingsResult>; |
| 5792 | GetPinnedFilesForTab(arg0: string): Promise<PinnedFileInfo[]>; |
| 5793 | GetProjectGroups(arg0: string, arg1: string): Promise<ProjectGroupsSnapshot>; |
| 5794 | GetProjectTreeRuntimeSnapshot(): Promise<ProjectTreeRuntimeSnapshot>; |
| 5795 | GetProjectTreeSnapshot(): Promise<ProjectTreeSnapshot>; |
| 5796 | GetRecoveryLineage(arg0: ProjectTopicKey): Promise<RecoveryLineageView>; |
| 5797 | GetRuntimeStateSnapshot(): Promise<RuntimeStateProjection>; |
| 5798 | GetSessionActivityBaseline(arg0: SessionSelector): Promise<SessionActivityBaseline>; |
| 5799 | GetSessionArchitectureDiagnostics(): Promise<SessionArchitectureDiagnostics>; |
| 5800 | GetSessionCatalogStatus(): Promise<SessionCatalogStatus>; |
| 5801 | GetSessionDraft(arg0: string): Promise<SessionDraftView>; |
| 5802 | GetSessionDraftState(arg0: string): Promise<SessionDraftState>; |
| 5803 | GetSessionOrganization(arg0: SessionOrganizationWorkspace): Promise<SessionOrganizationSnapshot>; |
| 5804 | GetSessionPreparation(arg0: string): Promise<SessionPreparationView>; |
| 5805 | GetSessionUpgradeStatus(): Promise<SessionUpgradeStatus>; |
| 5806 | GetSessionVersionState(arg0: ProjectTopicKey): Promise<SessionVersionStateView>; |
| 5807 | GetTask(arg0: string): Promise<TaskSnapshot | null>; |
| 5808 | GetTaskCatalogStatus(): Promise<taskcatalog_Status>; |
| 5809 | GetThemeExperience(): Promise<ThemeExperienceView>; |
| 5810 | GetToolRecoveryForTab(arg0: string): Promise<ToolRecoverySnapshot>; |
| 5811 | GetTopicSummary(arg0: ProjectTopicKey): Promise<ProjectNode>; |
| 5812 | GetWorkspaceSnapshot(): Promise<WorkspaceSnapshot>; |
| 5813 | GetWorktreeStatus(arg0: string): Promise<MergeInspection>; |
| 5814 | GitBranches(): Promise<string[]>; |
| 5815 | GitBranchesForTab(arg0: string, arg1: string): Promise<string[]>; |
| 5816 | GitCheckout(arg0: string): Promise<void>; |
| 5817 | GitCheckoutForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5818 | GitCreateBranch(arg0: string): Promise<void>; |
| 5819 | GitCreateBranchForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5820 | HeartbeatGenerateID(): Promise<string>; |
| 5821 | HeartbeatListTasks(): Promise<HeartbeatTask[]>; |
| 5822 | HeartbeatReloadConfig(): Promise<HeartbeatConfigView>; |
| 5823 | HeartbeatReloadTasks(): Promise<HeartbeatTask[]>; |
| 5824 | HeartbeatSaveConfig(arg0: HeartbeatConfigUpdate): Promise<HeartbeatConfigView>; |
| 5825 | HeartbeatSaveTasks(arg0: HeartbeatTask[]): Promise<void>; |
| 5826 | HeartbeatTriggerNow(arg0: string): Promise<void>; |
| 5827 | History(): Promise<Message[]>; |
| 5828 | HistoryCheckpointTurnsForTab(arg0: string): Promise<number[]>; |
| 5829 | HistoryContentForTab(arg0: string, arg1: HistoryContentRef, arg2: number): Promise<HistoryContentChunk>; |
| 5830 | HistoryContentForTarget(arg0: SessionSelector, arg1: HistoryContentRef, arg2: number): Promise<HistoryContentChunk>; |
| 5831 | HistoryForTab(arg0: string): Promise<Message[]>; |
| 5832 | HistoryPage(arg0: number, arg1: number): Promise<HistoryPage>; |
| 5833 | HistoryPageForTab(arg0: string, arg1: number, arg2: number): Promise<HistoryPage>; |
| 5834 | HistorySliceForTab(arg0: string, arg1: HistorySliceRequest): Promise<HistorySlice>; |
| 5835 | HistorySliceForTarget(arg0: SessionSelector, arg1: HistorySliceRequest): Promise<HistorySlice>; |
| 5836 | HooksSettings(arg0: string): Promise<HooksSettingsView>; |
| 5837 | ImportHistoricalSession(arg0: string): Promise<SessionRestoreResult>; |
| 5838 | ImportThemePack(arg0: string, arg1: boolean): Promise<ThemeImportResult>; |
| 5839 | InboxHasItems(arg0: string): Promise<boolean>; |
| 5840 | InboxSnapshot(arg0: string): Promise<InboxSnapshotView>; |
| 5841 | InspectWorktreeMerge(arg0: string): Promise<MergeInspection>; |
| 5842 | InstallMCPServer(arg0: MCPServerInput): Promise<MCPInstallResult>; |
| 5843 | InstallPlugin(arg0: string, arg1: PluginInstallOptions): Promise<string>; |
| 5844 | InstallShellSupport(arg0: string): Promise<ShellInstallResult>; |
| 5845 | InterruptTurnForTab(arg0: string, arg1: string): Promise<void>; |
| 5846 | InterruptTurnWithInboxItemsForTab(arg0: string, arg1: string, arg2: string[]): Promise<InboxCancelResultView>; |
| 5847 | InvokeExtensionAction(arg0: string, arg1: string, arg2: Record<string, string>): Promise<string>; |
| 5848 | IsMainWindowMaximised(): Promise<boolean>; |
| 5849 | IsolatedWorktreeAvailability(arg0: string): Promise<Availability>; |
| 5850 | Jobs(): Promise<JobView[]>; |
| 5851 | JobsForTab(arg0: string): Promise<JobView[]>; |
| 5852 | ListDir(arg0: string): Promise<DirEntry[]>; |
| 5853 | ListDirForTab(arg0: string, arg1: string): Promise<DirEntry[]>; |
| 5854 | ListDirForTarget(arg0: ComposerTarget, arg1: string): Promise<DirEntry[]>; |
| 5855 | ListHistoricalSessions(): Promise<HistoricalImportStatus>; |
| 5856 | ListHistorySessions(arg0: HistorySessionPageRequest): Promise<HistorySessionPage>; |
| 5857 | ListProjectGroups(arg0: string, arg1: string): Promise<desktopGroup[]>; |
| 5858 | ListProjectTopics(arg0: ProjectTopicPageRequest): Promise<ProjectTopicPage>; |
| 5859 | ListProjectTree(): Promise<ProjectNode[]>; |
| 5860 | ListRecoveryEntries(arg0: string, arg1: string, arg2: number): Promise<RecoveryEntryPage>; |
| 5861 | ListRemoteDir(arg0: string, arg1: string): Promise<RemoteDirEntry[]>; |
| 5862 | ListRemoteProjects(): Promise<RemoteProjectView[]>; |
| 5863 | ListSessionDraftSummaries(): Promise<SessionDraftSummary[]>; |
| 5864 | ListSessions(): Promise<SessionMeta[]>; |
| 5865 | ListSessionsForTab(arg0: string): Promise<SessionMeta[]>; |
| 5866 | ListTabs(): Promise<TabMeta[]>; |
| 5867 | ListTaskEventPage(arg0: TaskEventPageRequest): Promise<EventPage>; |
| 5868 | ListTaskEventsForTab(arg0: string, arg1: string, arg2: number): Promise<TaskEvent[]>; |
| 5869 | ListTaskPage(arg0: TaskPageRequest): Promise<TaskPage>; |
| 5870 | ListTasks(): Promise<TaskSnapshot[]>; |
| 5871 | ListTasksForSession(arg0: string): Promise<TaskSnapshot[]>; |
| 5872 | ListTasksForTab(arg0: string): Promise<TaskSnapshot[]>; |
| 5873 | ListThemePacks(): Promise<ThemePackView[]>; |
| 5874 | ListTrashEntries(arg0: string, arg1: string, arg2: number): Promise<TrashEntryPage>; |
| 5875 | ListTrashedSessions(): Promise<SessionMeta[]>; |
| 5876 | ListWorkspaceSessions(arg0: string, arg1: string, arg2: string, arg3: number, arg4: boolean): Promise<WorkspaceSessionPage>; |
| 5877 | ListWorkspaces(): Promise<WorkspaceMeta[]>; |
| 5878 | LocateSessionMessageForTab(arg0: string, arg1: string, arg2: number): Promise<MessageLocation>; |
| 5879 | LocateSessionMessageForTarget(arg0: SessionSelector, arg1: string, arg2: number): Promise<MessageLocation>; |
| 5880 | LookupInboxFollowupForTarget(arg0: InboxTargetView, arg1: string): Promise<InboxReceiptView>; |
| 5881 | MCPAppCallToolForTab(arg0: string, arg1: string, arg2: string, arg3: unknown): Promise<string>; |
| 5882 | MCPAppResourceDigest(arg0: string): Promise<string>; |
| 5883 | MCPAppResourceDigestForTab(arg0: string, arg1: string): Promise<string>; |
| 5884 | MCPCapabilityMatrix(): Promise<MCPCapabilityMatrixView>; |
| 5885 | MCPCloseAppInstanceForTab(arg0: string, arg1: string): Promise<void>; |
| 5886 | MCPMarketplace(arg0: string): Promise<MCPMarketplaceView>; |
| 5887 | MCPMarketplaceResolve(arg0: string): Promise<MCPMarketplaceEntryView>; |
| 5888 | MCPOpenAppInstanceForTab(arg0: string, arg1: string, arg2: string, arg3: number, arg4: string, arg5: string): Promise<MCPAppInstanceView | null>; |
| 5889 | MCPOpenAppLinkForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5890 | MCPServers(): Promise<ServerView[]>; |
| 5891 | Memory(): Promise<MemoryView>; |
| 5892 | MemoryForTab(arg0: string): Promise<MemoryView>; |
| 5893 | MemoryRevisions(arg0: string): Promise<MemoryFact[]>; |
| 5894 | MemoryRevisionsForTab(arg0: string, arg1: string): Promise<MemoryFact[]>; |
| 5895 | MemorySuggestions(): Promise<MemorySuggestionsView>; |
| 5896 | MemorySuggestionsForTab(arg0: string): Promise<MemorySuggestionsView>; |
| 5897 | MergeWorktreeBack(arg0: MergeWorktreeBackRequest): Promise<MergeResult>; |
| 5898 | Meta(): Promise<Meta>; |
| 5899 | MetaForTab(arg0: string): Promise<Meta>; |
| 5900 | MigrateDesktopPreferences(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5901 | MinimiseMainWindow(): Promise<void>; |
| 5902 | MkdirRemote(arg0: string, arg1: string): Promise<void>; |
| 5903 | Models(): Promise<ModelInfo[]>; |
| 5904 | ModelsForDraft(arg0: string): Promise<ModelInfo[]>; |
| 5905 | ModelsForTab(arg0: string): Promise<ModelInfo[]>; |
| 5906 | MoveInboxItem(arg0: string, arg1: string, arg2: number): Promise<void>; |
| 5907 | MoveSessionTarget(arg0: SessionSelector, arg1: string, arg2: string): Promise<SessionMutationResult>; |
| 5908 | MoveWorkspace(arg0: string, arg1: string): Promise<void>; |
| 5909 | MoveWorkspaceSession(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5910 | NeedsOnboarding(): Promise<boolean>; |
| 5911 | NewSession(): Promise<void>; |
| 5912 | NewSessionForTab(arg0: string): Promise<void>; |
| 5913 | OpenChannelSessionForTab(arg0: string, arg1: string): Promise<Message[]>; |
| 5914 | OpenChannelSessionPageForTab(arg0: string, arg1: string, arg2: number): Promise<HistoryPage>; |
| 5915 | OpenChannelTranscriptSessionForTab(arg0: string, arg1: string): Promise<HistorySwitchPhases>; |
| 5916 | OpenDownloadPage(): Promise<void>; |
| 5917 | OpenGlobalTab(arg0: string): Promise<TabMeta>; |
| 5918 | OpenLocalPath(arg0: string): Promise<void>; |
| 5919 | OpenLocalPathInExternalOpener(arg0: string, arg1: string): Promise<void>; |
| 5920 | OpenPresentedPathForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 5921 | OpenProjectTab(arg0: string, arg1: string): Promise<TabMeta>; |
| 5922 | OpenReferencePathForTab(arg0: string, arg1: string): Promise<void>; |
| 5923 | OpenRemoteProjectTab(arg0: string, arg1: string, arg2: RemoteTabOpenOptions): Promise<TabMeta>; |
| 5924 | OpenRemoteWorkspace(arg0: string, arg1: string): Promise<void>; |
| 5925 | OpenSession(arg0: SessionRef): Promise<HistoryPage>; |
| 5926 | OpenSessionDraft(arg0: string): Promise<SessionDraftView>; |
| 5927 | OpenSessionDraftForTarget(arg0: string, arg1: string): Promise<SessionDraftView>; |
| 5928 | OpenTaskSessionByKey(arg0: TaskOpenRequest): Promise<ControlResult>; |
| 5929 | OpenTaskSessionForTab(arg0: string, arg1: string): Promise<ControlResult>; |
| 5930 | OpenTopicSession(arg0: string, arg1: string, arg2: string, arg3: string): Promise<TabMeta>; |
| 5931 | OpenUserConfigPath(): Promise<void>; |
| 5932 | OpenWorkspaceInExternalOpenerForTab(arg0: string, arg1: string): Promise<void>; |
| 5933 | OpenWorkspacePathForTab(arg0: string, arg1: string): Promise<void>; |
| 5934 | PauseGoalForTab(arg0: string): Promise<boolean>; |
| 5935 | PauseRemoteTabGoal(arg0: string): Promise<void>; |
| 5936 | PendingPromptIdentitiesForTab(arg0: string): Promise<PromptIdentityView[]>; |
| 5937 | PermissionSnapshotForTab(arg0: string): Promise<PermissionSnapshot>; |
| 5938 | PickBlankProjectParent(): Promise<string>; |
| 5939 | PickExportFile(arg0: string, arg1: string): Promise<string>; |
| 5940 | PickPluginFolder(): Promise<string>; |
| 5941 | PickRemoteIdentityFile(): Promise<string>; |
| 5942 | PickSkillFolder(): Promise<string>; |
| 5943 | PickThemeBackground(): Promise<string>; |
| 5944 | PickWorkspace(): Promise<string>; |
| 5945 | PinFileForTab(arg0: string, arg1: string): Promise<PinnedFileInfo>; |
| 5946 | PlanPluginInstall(arg0: string, arg1: PluginInstallOptions): Promise<string>; |
| 5947 | Platform(): Promise<string>; |
| 5948 | PluginDoctor(arg0: string): Promise<PluginView>; |
| 5949 | Plugins(): Promise<PluginView[]>; |
| 5950 | PollBotConnectionInstall(arg0: string): Promise<BotInstallPollResult>; |
| 5951 | PrepareHistoricalSourceVersion(arg0: SessionSourceRef, arg1: string): Promise<SessionPreparationView>; |
| 5952 | PrepareSession(arg0: SessionSelector): Promise<SessionPreparationView>; |
| 5953 | PrepareWorktreeMerge(arg0: string): Promise<MergeInspection>; |
| 5954 | PreviewRecoveryEntry(arg0: string): Promise<HistoryPage>; |
| 5955 | PreviewRewindForTab(arg0: string, arg1: number, arg2: string): Promise<RewindPlanView>; |
| 5956 | PreviewSession(arg0: string): Promise<Message[]>; |
| 5957 | PreviewWorkspaceFileRevertForTab(arg0: string, arg1: string): Promise<RewindPlanView>; |
| 5958 | PurgeCanonicalSession(arg0: SessionRef): Promise<void>; |
| 5959 | PurgeRecoveryCopy(arg0: string): Promise<void>; |
| 5960 | PurgeTrashedSession(arg0: string): Promise<void>; |
| 5961 | QuerySessionTakeover(arg0: string): Promise<SessionTakeoverView | null>; |
| 5962 | ReadDraftImageForTab(arg0: string, arg1: string): Promise<string>; |
| 5963 | ReadDraftImageForTarget(arg0: string, arg1: string): Promise<string>; |
| 5964 | ReadFile(arg0: string): Promise<FilePreview>; |
| 5965 | ReadFileForTab(arg0: string, arg1: string): Promise<FilePreview>; |
| 5966 | ReadInboxItem(arg0: string, arg1: string): Promise<InboxEnvelopeView>; |
| 5967 | ReadPresentedFileForTab(arg0: string, arg1: string, arg2: string): Promise<FilePreview>; |
| 5968 | ReadPresentedFileSourceForTab(arg0: string, arg1: string, arg2: string): Promise<FilePreview>; |
| 5969 | ReadPresentedTextPageForTab(arg0: string, arg1: string, arg2: string, arg3: number, arg4: string): Promise<PresentedTextPage>; |
| 5970 | ReadReferenceFileForTab(arg0: string, arg1: string): Promise<FilePreview>; |
| 5971 | ReadReferenceFileSourceForTab(arg0: string, arg1: string): Promise<FilePreview>; |
| 5972 | ReadRemoteFile(arg0: string, arg1: string): Promise<RemoteFilePreview>; |
| 5973 | ReadSessionAttachmentForTab(arg0: string, arg1: string, arg2: number): Promise<SessionHistoryContentChunk>; |
| 5974 | ReadSessionExportChunk(arg0: string, arg1: number): Promise<SessionExportChunk>; |
| 5975 | ReadSessionHistory(arg0: SessionRef, arg1: string, arg2: number): Promise<HistoryPage>; |
| 5976 | RebindDraftImageForTarget(arg0: string, arg1: string): Promise<DraftImageView>; |
| 5977 | RebuildHistoryIndex(): Promise<void>; |
| 5978 | RebuildSessionCatalog(): Promise<void>; |
| 5979 | RebuildTaskCatalog(): Promise<void>; |
| 5980 | ReclaimRemoteTabSession(arg0: string): Promise<void>; |
| 5981 | ReconcileRecoveryVersions(arg0: ProjectTopicKey): Promise<void>; |
| 5982 | ReconnectMCPServer(arg0: string): Promise<void>; |
| 5983 | RecordUIPerf(arg0: Record<string, string>): Promise<void>; |
| 5984 | RecoveryCheckpointEnabled(): Promise<boolean>; |
| 5985 | RecoveryCheckpointEnabledTab(arg0: string): Promise<boolean>; |
| 5986 | RefreshInboxItem(arg0: string, arg1: string): Promise<void>; |
| 5987 | RefreshSkills(): Promise<void>; |
| 5988 | RegisterNavigationIntent(arg0: string): Promise<void>; |
| 5989 | ReleaseAttachmentTarget(arg0: string): Promise<void>; |
| 5990 | ReleaseDraftImageForTab(arg0: string, arg1: string): Promise<void>; |
| 5991 | ReleaseDraftImageForTarget(arg0: string, arg1: string): Promise<void>; |
| 5992 | ReloadCommands(): Promise<void>; |
| 5993 | ReloadRuntime(arg0: string): Promise<void>; |
| 5994 | ReloadSettings(): Promise<void>; |
| 5995 | ReloadUserConfig(): Promise<DesktopStartupSettingsView>; |
| 5996 | Remember(arg0: string, arg1: string): Promise<string>; |
| 5997 | RememberForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 5998 | RemoteConnectionStatuses(): Promise<RemoteConnectionStatusView[]>; |
| 5999 | RemoteForwards(arg0: string): Promise<RemoteForwardView[]>; |
| 6000 | RemoteHosts(): Promise<RemoteHostView[]>; |
| 6001 | RemoteLastWorkspace(arg0: string): Promise<string>; |
| 6002 | RemoteLocateSessionMessageForTab(arg0: string, arg1: string, arg2: number): Promise<MessageLocation>; |
| 6003 | RemoteProjectSessions(arg0: string, arg1: string): Promise<RemoteSessionView[]>; |
| 6004 | RemoteSearchSessionHistoryForTab(arg0: string, arg1: string, arg2: string, arg3: number): Promise<SearchHistoryPage>; |
| 6005 | RemoteServerLogs(arg0: string, arg1: string, arg2: number): Promise<string>; |
| 6006 | RemoteServerStatus(arg0: string, arg1: string): Promise<RemoteServerView>; |
| 6007 | RemoteSessionHistoryContentForTab(arg0: string, arg1: Ref, arg2: number): Promise<SessionHistoryContentChunk>; |
| 6008 | RemoteSessionHistoryPageForTab(arg0: string, arg1: string, arg2: number): Promise<MessageHistoryPage>; |
| 6009 | RemoteSessionHistoryWindowForTab(arg0: string, arg1: HistoryWindowRequest): Promise<HistoryWindowPage>; |
| 6010 | RemoteSessionMessageFieldForTab(arg0: string, arg1: string, arg2: number, arg3: string, arg4: number, arg5: number): Promise<MessageFieldPage>; |
| 6011 | RemoteSessionOpenForTab(arg0: string): Promise<SessionOpenView>; |
| 6012 | RemoteTabBranches(arg0: string): Promise<unknown>; |
| 6013 | RemoteTabMetadata(arg0: string): Promise<RemoteTabSnapshot>; |
| 6014 | RemoteTabSkills(arg0: string): Promise<unknown>; |
| 6015 | RemoteTabSnapshot(arg0: string): Promise<RemoteTabSnapshot>; |
| 6016 | RemoteTabStatus(arg0: string): Promise<unknown>; |
| 6017 | RemoteTranscriptContentForTab(arg0: string, arg1: ContentRequest): Promise<ContentChunk>; |
| 6018 | RemoteTranscriptFollowForTab(arg0: string, arg1: FollowRequest): Promise<TranscriptFollowResponse>; |
| 6019 | RemoteTranscriptOutlineForTab(arg0: string, arg1: OutlineRequest): Promise<OutlinePage>; |
| 6020 | RemoteTranscriptPageForTab(arg0: string, arg1: PageRequest): Promise<Snapshot>; |
| 6021 | RemoteTranscriptReplayForTab(arg0: string, arg1: TranscriptReplayRequest): Promise<TranscriptReplay>; |
| 6022 | RemoteTranscriptSnapshotForTab(arg0: string, arg1: PageRequest): Promise<RemoteTranscriptSnapshot>; |
| 6023 | RemoveMCPServer(arg0: string): Promise<void>; |
| 6024 | RemovePermissionRule(arg0: string, arg1: string): Promise<void>; |
| 6025 | RemovePlugin(arg0: string): Promise<void>; |
| 6026 | RemoveProviderAccess(arg0: string): Promise<void>; |
| 6027 | RemoveProviderAccesses(arg0: string[]): Promise<void>; |
| 6028 | RemoveRemoteForward(arg0: string, arg1: string): Promise<void>; |
| 6029 | RemoveRemoteHost(arg0: string): Promise<void>; |
| 6030 | RemoveRemoteProject(arg0: string, arg1: string): Promise<void>; |
| 6031 | RemoveSkillPath(arg0: string): Promise<void>; |
| 6032 | RemoveWorkspace(arg0: string): Promise<void>; |
| 6033 | RenameCanonicalSession(arg0: SessionRef, arg1: string): Promise<void>; |
| 6034 | RenameProject(arg0: string, arg1: string): Promise<void>; |
| 6035 | RenameProviderConnections(arg0: string[], arg1: string): Promise<void>; |
| 6036 | RenameRemotePath(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6037 | RenameRemoteProjectSession(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6038 | RenameSession(arg0: string, arg1: string): Promise<void>; |
| 6039 | RenameSessionHead(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6040 | RenameSessionTarget(arg0: SessionSelector, arg1: string): Promise<SessionMutationResult>; |
| 6041 | RenameTerminalForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6042 | RenameTopic(arg0: string, arg1: string): Promise<void>; |
| 6043 | RenameWorkspace(arg0: string, arg1: string): Promise<void>; |
| 6044 | ReorderProjects(arg0: string[]): Promise<void>; |
| 6045 | ReorderSessions(arg0: string, arg1: string, arg2: string[]): Promise<void>; |
| 6046 | ReorderTabs(arg0: string[]): Promise<void>; |
| 6047 | ReorderTopics(arg0: string, arg1: string, arg2: string[]): Promise<void>; |
| 6048 | RepairCredentials(arg0: boolean): Promise<CredentialDiagnosticReport>; |
| 6049 | ReplayPendingPromptIdentitiesForTab(arg0: string): Promise<PromptIdentityView[]>; |
| 6050 | ReplayPendingPrompts(): Promise<void>; |
| 6051 | ReplayPendingPromptsForTab(arg0: string): Promise<void>; |
| 6052 | ReplayRemoteTabPrompts(arg0: string): Promise<unknown>; |
| 6053 | ReportCrash(arg0: string, arg1: string): Promise<void>; |
| 6054 | ReportDesktopWebViewReady(): Promise<void>; |
| 6055 | RequeueTaskByKey(arg0: TaskActionRequest): Promise<ControlResult>; |
| 6056 | RequeueTaskForTab(arg0: string, arg1: string, arg2: number, arg3: string): Promise<ControlResult>; |
| 6057 | ResetProviderPresetAccess(arg0: string): Promise<void>; |
| 6058 | ResetThemePack(): Promise<void>; |
| 6059 | ResizeTerminalForTab(arg0: string, arg1: string, arg2: number, arg3: number): Promise<void>; |
| 6060 | ResolveChatFileReferencesForTab(arg0: string, arg1: string, arg2: ChatFileReferenceRequest[]): Promise<ChatFileReferenceResult>; |
| 6061 | ResolveMarkdownImageForTab(arg0: string, arg1: string): Promise<MarkdownImageView>; |
| 6062 | ResolvePlanDecision(arg0: string, arg1: string): Promise<void>; |
| 6063 | ResolvePlanDecisionTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6064 | ResolvePlanDecisionTabForTurn(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<void>; |
| 6065 | ResolvePresentedPathForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 6066 | ResolvePromptForSession(arg0: InteractionTargetView, arg1: PromptAnswerView): Promise<void>; |
| 6067 | ResolvePromptForTab(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string, arg5: PromptAnswerView): Promise<void>; |
| 6068 | ResolveRecovery(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6069 | ResolveRecoveryTab(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6070 | ResolveRecoveryTabForTurn(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string, arg5: string): Promise<void>; |
| 6071 | ResolveReferencePathForTab(arg0: string, arg1: string): Promise<string>; |
| 6072 | ResolveRemotePresentedPathForTab(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string>; |
| 6073 | ResolveRemoteTabPlanDecision(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6074 | ResolveRemoteTabPromptExact(arg0: InteractionTargetView, arg1: PromptAnswerView): Promise<void>; |
| 6075 | ResolveRemoteWorkspacePathForTab(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string>; |
| 6076 | ResolveToolRecoveryForTab(arg0: string, arg1: ToolRecoveryRequest): Promise<ToolRecoverySnapshot>; |
| 6077 | ResolveWorkspacePathForTab(arg0: string, arg1: string): Promise<string>; |
| 6078 | RestartApplication(): Promise<void>; |
| 6079 | RestoreArchivedMemory(arg0: string): Promise<MemoryFact>; |
| 6080 | RestoreArchivedMemoryForTab(arg0: string, arg1: string): Promise<MemoryFact>; |
| 6081 | RestoreCanonicalSession(arg0: SessionRef): Promise<void>; |
| 6082 | RestoreGraphiteAppearance(): Promise<void>; |
| 6083 | RestoreMemoryRevision(arg0: string, arg1: number): Promise<MemoryFact>; |
| 6084 | RestoreMemoryRevisionForTab(arg0: string, arg1: string, arg2: number): Promise<MemoryFact>; |
| 6085 | RestoreRecoveryEntry(arg0: string, arg1: string): Promise<SessionRestoreResult>; |
| 6086 | RestoreSession(arg0: string): Promise<void>; |
| 6087 | RestoreSessionDraft(): Promise<SessionDraftView | null>; |
| 6088 | RestoreSessionTarget(arg0: SessionSelector): Promise<SessionMutationResult>; |
| 6089 | ResumeDraftSubmission(arg0: string, arg1: number): Promise<SessionDraftSubmissionView>; |
| 6090 | ResumeGoalForTab(arg0: string): Promise<boolean>; |
| 6091 | ResumeRemoteTabGoal(arg0: string): Promise<void>; |
| 6092 | ResumeSession(arg0: string): Promise<Message[]>; |
| 6093 | ResumeSessionForTab(arg0: string, arg1: string): Promise<Message[]>; |
| 6094 | ResumeSessionPage(arg0: string, arg1: number): Promise<HistoryPage>; |
| 6095 | ResumeSessionPageForTab(arg0: string, arg1: string, arg2: number): Promise<HistoryPage>; |
| 6096 | ResumeTranscriptSessionForTab(arg0: string, arg1: string): Promise<HistorySwitchPhases>; |
| 6097 | RetryAuthenticationForTab(arg0: string): Promise<AuthenticationState>; |
| 6098 | RetryInboxItem(arg0: string, arg1: string): Promise<void>; |
| 6099 | RetryLegacyEmptySessionCleanup(): Promise<LegacyEmptySessionCleanupStatus>; |
| 6100 | RetryModelSettingsApplication(arg0: string): Promise<ModelSettingsResult>; |
| 6101 | RetrySessionRecovery(arg0: RecoveryPreferenceRequest): Promise<void>; |
| 6102 | RevealBackgroundRuntime(arg0: string): Promise<TabMeta>; |
| 6103 | RevealPath(arg0: string): Promise<void>; |
| 6104 | RevealPresentedPathForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6105 | RevealReferencePathForTab(arg0: string, arg1: string): Promise<void>; |
| 6106 | RevealWorkspacePathForTab(arg0: string, arg1: string): Promise<void>; |
| 6107 | RevealWorkspaceWriterForTab(arg0: string): Promise<TabMeta>; |
| 6108 | RevokePermissionGrantForTab(arg0: string, arg1: string, arg2: string, arg3: number): Promise<PermissionSnapshot>; |
| 6109 | RevokeWorkspaceBrowserPreview(arg0: string): Promise<void>; |
| 6110 | RevokeWorkspaceMediaPreview(arg0: string): Promise<void>; |
| 6111 | Rewind(arg0: number, arg1: string): Promise<void>; |
| 6112 | RewindForTab(arg0: string, arg1: number, arg2: string): Promise<void>; |
| 6113 | RewindRemoteTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6114 | RunShellForTab(arg0: string, arg1: string): Promise<void>; |
| 6115 | RuntimeDoctor(): Promise<RuntimeDoctorReport>; |
| 6116 | SanitizeMarkdownSVG(arg0: string): Promise<MarkdownSVGView>; |
| 6117 | SaveClipboardImage(): Promise<string>; |
| 6118 | SaveClipboardImageForComposerTarget(arg0: ComposerTarget): Promise<string>; |
| 6119 | SaveClipboardImageForTab(arg0: string): Promise<string>; |
| 6120 | SaveClipboardImageForTarget(arg0: string): Promise<string>; |
| 6121 | SaveDoc(arg0: string, arg1: string): Promise<string>; |
| 6122 | SaveDocForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 6123 | SaveExportFile(arg0: string, arg1: string, arg2: boolean): Promise<void>; |
| 6124 | SaveExportImageFiles(arg0: string, arg1: string[]): Promise<void>; |
| 6125 | SaveHooksSettings(arg0: string, arg1: HookConfigView[]): Promise<void>; |
| 6126 | SaveHooksSettingsForRoot(arg0: string, arg1: string, arg2: HookConfigView[]): Promise<void>; |
| 6127 | SaveLocalPathAs(arg0: string): Promise<string>; |
| 6128 | SavePastedFile(arg0: string, arg1: string): Promise<string>; |
| 6129 | SavePastedFileForComposerTarget(arg0: ComposerTarget, arg1: string, arg2: string): Promise<string>; |
| 6130 | SavePastedFileForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 6131 | SavePastedFileForTarget(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 6132 | SavePastedImage(arg0: string): Promise<string>; |
| 6133 | SavePastedImageForComposerTarget(arg0: ComposerTarget, arg1: string): Promise<string>; |
| 6134 | SavePastedImageForTab(arg0: string, arg1: string): Promise<string>; |
| 6135 | SavePresentedPathAsForTab(arg0: string, arg1: string, arg2: string): Promise<string>; |
| 6136 | SaveProvider(arg0: ProviderView): Promise<void>; |
| 6137 | SaveProviderKey(arg0: string, arg1: string): Promise<string>; |
| 6138 | SaveProviderModelCatalogs(arg0: ProviderModelCatalogUpdate[]): Promise<string[]>; |
| 6139 | SaveProviderWithKey(arg0: ProviderView, arg1: string): Promise<string>; |
| 6140 | SaveReferencePathAsForTab(arg0: string, arg1: string): Promise<string>; |
| 6141 | SaveRemoteFileAs(arg0: string, arg1: string): Promise<string>; |
| 6142 | SaveRemotePresentedFileAs(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string>; |
| 6143 | SaveSessionDraft(arg0: SessionDraftSaveRequest): Promise<SessionDraftSaveResult>; |
| 6144 | SaveSessionGroups(arg0: string, arg1: string, arg2: desktopGroup[]): Promise<void>; |
| 6145 | SaveSessionGroupsVersioned(arg0: string, arg1: string, arg2: number, arg3: desktopGroup[]): Promise<ProjectGroupsSnapshot>; |
| 6146 | SaveSessionMarkdownForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6147 | SaveThemePack(arg0: ThemeSaveInput): Promise<ThemePackView>; |
| 6148 | SaveWindowState(arg0: DesktopWindowState): Promise<void>; |
| 6149 | SaveWorkspacePathAsForTab(arg0: string, arg1: string): Promise<string>; |
| 6150 | ScanPromptHistory(arg0: string): Promise<PromptHistoryResult>; |
| 6151 | ScanRemoteLegacyWorkbenchData(): Promise<LegacyWorkbenchDataView>; |
| 6152 | ScanSSHConfig(): Promise<RemoteHostInput[]>; |
| 6153 | SearchFileRefs(arg0: string): Promise<DirEntry[]>; |
| 6154 | SearchFileRefsForTab(arg0: string, arg1: string): Promise<DirEntry[]>; |
| 6155 | SearchFileRefsForTarget(arg0: ComposerTarget, arg1: string): Promise<DirEntry[]>; |
| 6156 | SearchHistoryContent(arg0: HistorySearchRequest): Promise<HistorySearchPage>; |
| 6157 | SearchHistoryContentForTarget(arg0: SessionSelector, arg1: string, arg2: string, arg3: number): Promise<HistorySearchPage>; |
| 6158 | SearchSessionHistoryForTab(arg0: string, arg1: string, arg2: string, arg3: number): Promise<SearchHistoryPage>; |
| 6159 | SearchSessionHistoryForTarget(arg0: SessionSelector, arg1: string, arg2: string, arg3: number): Promise<SearchHistoryPage>; |
| 6160 | SessionHistoryContentForTab(arg0: string, arg1: Ref, arg2: number): Promise<SessionHistoryContentChunk>; |
| 6161 | SessionHistoryContentForTarget(arg0: SessionSelector, arg1: Ref, arg2: number): Promise<SessionHistoryContentChunk>; |
| 6162 | SessionHistoryPageForTab(arg0: string, arg1: string, arg2: number): Promise<MessageHistoryPage>; |
| 6163 | SessionHistoryPageForTarget(arg0: SessionSelector, arg1: string, arg2: number): Promise<MessageHistoryPage>; |
| 6164 | SessionHistoryWindowForTab(arg0: string, arg1: HistoryWindowRequest): Promise<HistoryWindowPage>; |
| 6165 | SessionHistoryWindowForTarget(arg0: SessionSelector, arg1: HistoryWindowRequest): Promise<HistoryWindowPage>; |
| 6166 | SessionMessageFieldForTab(arg0: string, arg1: string, arg2: number, arg3: string, arg4: number, arg5: number): Promise<MessageFieldPage>; |
| 6167 | SessionMessageFieldForTarget(arg0: SessionSelector, arg1: string, arg2: number, arg3: string, arg4: number, arg5: number): Promise<MessageFieldPage>; |
| 6168 | SessionOpenForTab(arg0: string): Promise<SessionOpenView>; |
| 6169 | SetActiveSessionVersion(arg0: RecoveryPreferenceRequest): Promise<void>; |
| 6170 | SetActiveTab(arg0: string): Promise<void>; |
| 6171 | SetAgentParams(arg0: number, arg1: number, arg2: number, arg3: string): Promise<void>; |
| 6172 | SetAgentPreset(arg0: string): Promise<void>; |
| 6173 | SetAgentPresetForTab(arg0: string, arg1: string): Promise<void>; |
| 6174 | SetAutoApproveTools(arg0: boolean): Promise<void>; |
| 6175 | SetAutoPlan(arg0: string): Promise<void>; |
| 6176 | SetBotConnectionToolApprovalMode(arg0: string, arg1: string): Promise<void>; |
| 6177 | SetBotDingtalkToolApprovalMode(arg0: string): Promise<void>; |
| 6178 | SetBotSecret(arg0: string, arg1: string): Promise<void>; |
| 6179 | SetBotSettings(arg0: BotSettingsView): Promise<void>; |
| 6180 | SetBypass(arg0: boolean): Promise<void>; |
| 6181 | SetCloseBehavior(arg0: string): Promise<void>; |
| 6182 | SetCollaborationModeForTab(arg0: string, arg1: string): Promise<void>; |
| 6183 | SetCompactRatio(arg0: number): Promise<void>; |
| 6184 | SetComposerProfileForTab(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string[]>; |
| 6185 | SetConnectionKey(arg0: string, arg1: string): Promise<string>; |
| 6186 | SetDefaultAutoRecoveryCheckpoint(arg0: boolean): Promise<void>; |
| 6187 | SetDefaultModel(arg0: string): Promise<void>; |
| 6188 | SetDefaultToolApprovalMode(arg0: string): Promise<void>; |
| 6189 | SetDesktopAppearance(arg0: string, arg1: string): Promise<void>; |
| 6190 | SetDesktopCheckUpdates(arg0: boolean): Promise<void>; |
| 6191 | SetDesktopConversationWidth(arg0: string): Promise<void>; |
| 6192 | SetDesktopCurrency(arg0: string): Promise<void>; |
| 6193 | SetDesktopLanguage(arg0: string): Promise<void>; |
| 6194 | SetDesktopLayoutStyle(arg0: string): Promise<void>; |
| 6195 | SetDesktopMetrics(arg0: boolean): Promise<void>; |
| 6196 | SetDesktopTelemetry(arg0: boolean): Promise<void>; |
| 6197 | SetDesktopTerminalTheme(arg0: string): Promise<void>; |
| 6198 | SetDesktopUpdateChannel(arg0: string): Promise<void>; |
| 6199 | SetDesktopZoomFactor(arg0: number): Promise<void>; |
| 6200 | SetDisplayMode(arg0: string): Promise<void>; |
| 6201 | SetEffort(arg0: string): Promise<void>; |
| 6202 | SetEffortForTab(arg0: string, arg1: string): Promise<void>; |
| 6203 | SetExpandThinking(arg0: boolean): Promise<void>; |
| 6204 | SetGoal(arg0: string): Promise<void>; |
| 6205 | SetGoalForTab(arg0: string, arg1: string): Promise<void>; |
| 6206 | SetInboxPaused(arg0: string, arg1: boolean): Promise<void>; |
| 6207 | SetMCPServerEnabled(arg0: string, arg1: boolean): Promise<void>; |
| 6208 | SetMCPServerTier(arg0: string, arg1: string): Promise<void>; |
| 6209 | SetMaxParallelWriters(arg0: number): Promise<void>; |
| 6210 | SetMaxSubagentConcurrency(arg0: number): Promise<void>; |
| 6211 | SetMaxSubagentDepth(arg0: number): Promise<void>; |
| 6212 | SetMode(arg0: string): Promise<void>; |
| 6213 | SetModeForTab(arg0: string, arg1: string): Promise<string[]>; |
| 6214 | SetModel(arg0: string): Promise<void>; |
| 6215 | SetModelForTab(arg0: string, arg1: string): Promise<void>; |
| 6216 | SetNetwork(arg0: NetworkView): Promise<void>; |
| 6217 | SetPermissionMode(arg0: string): Promise<void>; |
| 6218 | SetPermissionPresetForTab(arg0: string, arg1: string, arg2: number): Promise<PermissionSnapshot>; |
| 6219 | SetPlanMode(arg0: boolean): Promise<void>; |
| 6220 | SetPlannerModel(arg0: string): Promise<void>; |
| 6221 | SetPluginEnabled(arg0: string, arg1: boolean): Promise<void>; |
| 6222 | SetPreferredExternalOpener(arg0: string): Promise<void>; |
| 6223 | SetProjectColor(arg0: string, arg1: string): Promise<void>; |
| 6224 | SetProjectPinned(arg0: string, arg1: boolean): Promise<void>; |
| 6225 | SetProviderKey(arg0: string, arg1: string): Promise<string>; |
| 6226 | SetProviderWebSearch(arg0: string[], arg1: boolean): Promise<void>; |
| 6227 | SetQualityFloor(arg0: string): Promise<void>; |
| 6228 | SetQualityFloorForTab(arg0: string, arg1: string): Promise<void>; |
| 6229 | SetReasoningDisplayMode(arg0: string): Promise<void>; |
| 6230 | SetReasoningLanguage(arg0: string): Promise<void>; |
| 6231 | SetRecoveryCheckpointEnabled(arg0: boolean): Promise<void>; |
| 6232 | SetRecoveryCheckpointEnabledTab(arg0: string, arg1: boolean): Promise<void>; |
| 6233 | SetRemoteProjectTitle(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6234 | SetRemoteSessionPinned(arg0: string, arg1: string, arg2: string, arg3: boolean): Promise<void>; |
| 6235 | SetRemoteTabComposerProfile(arg0: string, arg1: string, arg2: string, arg3: string): Promise<string[]>; |
| 6236 | SetRemoteTabEffort(arg0: string, arg1: string): Promise<void>; |
| 6237 | SetRemoteTabGoal(arg0: string, arg1: string): Promise<void>; |
| 6238 | SetRemoteTabModel(arg0: string, arg1: string): Promise<void>; |
| 6239 | SetRemoteTabPlanMode(arg0: string, arg1: boolean): Promise<void>; |
| 6240 | SetRemoteTabQualityFloor(arg0: string, arg1: string): Promise<void>; |
| 6241 | SetRemoteTabToolApprovalMode(arg0: string, arg1: string): Promise<void>; |
| 6242 | SetSandbox(arg0: string, arg1: boolean, arg2: string, arg3: string[], arg4: string): Promise<void>; |
| 6243 | SetSessionDraftRestoreTarget(arg0: string): Promise<void>; |
| 6244 | SetSessionExperience(arg0: string): Promise<void>; |
| 6245 | SetSessionPinned(arg0: SessionSelector, arg1: boolean): Promise<void>; |
| 6246 | SetShellPreference(arg0: string): Promise<void>; |
| 6247 | SetSkillEnabled(arg0: string, arg1: boolean): Promise<void>; |
| 6248 | SetSkillImplicitInvocation(arg0: boolean): Promise<void>; |
| 6249 | SetSkillPathEnabled(arg0: string, arg1: boolean): Promise<void>; |
| 6250 | SetStatusBarItems(arg0: string[]): Promise<void>; |
| 6251 | SetStatusBarStyle(arg0: string): Promise<void>; |
| 6252 | SetSubagentEffort(arg0: string): Promise<void>; |
| 6253 | SetSubagentModel(arg0: string): Promise<void>; |
| 6254 | SetSubagentProfileEffort(arg0: string, arg1: string): Promise<void>; |
| 6255 | SetSubagentProfileModel(arg0: string, arg1: string): Promise<void>; |
| 6256 | SetTokenMode(arg0: string): Promise<void>; |
| 6257 | SetTokenModeForTab(arg0: string, arg1: string): Promise<void>; |
| 6258 | SetToolApprovalMode(arg0: string): Promise<void>; |
| 6259 | SetToolApprovalModeForTab(arg0: string, arg1: string): Promise<string[]>; |
| 6260 | SetTopicPinned(arg0: string, arg1: boolean): Promise<void>; |
| 6261 | SetTrayLocale(arg0: string): Promise<void>; |
| 6262 | SetVisionModel(arg0: string): Promise<void>; |
| 6263 | SetWebSearchModel(arg0: string): Promise<void>; |
| 6264 | SetWorkspaceVisible(arg0: string, arg1: boolean): Promise<void>; |
| 6265 | Settings(): Promise<SettingsView>; |
| 6266 | SkillsSettings(): Promise<SkillsSettingsView>; |
| 6267 | SlashArgs(arg0: string): Promise<SlashArgsResult>; |
| 6268 | StageImageForTab(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<DraftImageView>; |
| 6269 | StageImageForTarget(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<DraftImageView>; |
| 6270 | StartBotConnectionInstall(arg0: string, arg1: string): Promise<BotInstallStartResult>; |
| 6271 | StartHistoricalImport(arg0: string[]): Promise<HistoricalImportStatus>; |
| 6272 | StartTopicActivation(arg0: TopicActivationRequest): Promise<TopicActivationTicket>; |
| 6273 | StartTurnForAttachmentTarget(arg0: string, arg1: string, arg2: SubmissionRequest): Promise<TurnStartView>; |
| 6274 | StartTurnForTab(arg0: string, arg1: string, arg2: string): Promise<TurnStartView>; |
| 6275 | StartTurnForTabWithDrafts(arg0: string, arg1: string, arg2: string, arg3: string[]): Promise<TurnStartView>; |
| 6276 | Steer(arg0: string): Promise<void>; |
| 6277 | SteerForTab(arg0: string, arg1: string): Promise<void>; |
| 6278 | SteerInboxItem(arg0: string, arg1: string): Promise<InboxReceiptView>; |
| 6279 | SteerInboxItemForTurn(arg0: string, arg1: string, arg2: string): Promise<InboxReceiptView>; |
| 6280 | SteerRemoteTab(arg0: string, arg1: string): Promise<void>; |
| 6281 | StopRemoteServer(arg0: string, arg1: string): Promise<void>; |
| 6282 | StopTask(arg0: string, arg1: number, arg2: string, arg3: string): Promise<ControlResult>; |
| 6283 | StopTaskByKey(arg0: TaskActionRequest): Promise<ControlResult>; |
| 6284 | StopTaskForTab(arg0: string, arg1: string, arg2: number, arg3: string, arg4: string): Promise<ControlResult>; |
| 6285 | StorageSettings(): Promise<StorageSettingsView>; |
| 6286 | Submit(arg0: string): Promise<void>; |
| 6287 | SubmitDeliveryRecoveryToTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6288 | SubmitDeliveryRecoveryToTabWithID(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6289 | SubmitDisplay(arg0: string, arg1: string): Promise<void>; |
| 6290 | SubmitDisplayToTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6291 | SubmitDisplayToTabWithID(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6292 | SubmitEditedDisplayToTab(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6293 | SubmitEditedDisplayToTabWithID(arg0: string, arg1: string, arg2: string, arg3: string, arg4: string): Promise<void>; |
| 6294 | SubmitExtensionForm(arg0: string, arg1: string, arg2: string, arg3: Record<string, unknown>): Promise<void>; |
| 6295 | SubmitExtensionFormExact(arg0: ExtensionFormTarget, arg1: Record<string, unknown>): Promise<void>; |
| 6296 | SubmitInitialGoalToTab(arg0: string, arg1: string, arg2: string, arg3: string, arg4: main_InvocationRequest[], arg5: string, arg6: string): Promise<string[]>; |
| 6297 | SubmitInitialGoalToTabWithID(arg0: string, arg1: string, arg2: string, arg3: string, arg4: main_InvocationRequest[], arg5: string, arg6: string, arg7: string): Promise<string[]>; |
| 6298 | SubmitInvocationsToTab(arg0: string, arg1: string, arg2: string, arg3: main_InvocationRequest[]): Promise<void>; |
| 6299 | SubmitInvocationsToTabWithID(arg0: string, arg1: string, arg2: string, arg3: main_InvocationRequest[], arg4: string): Promise<void>; |
| 6300 | SubmitRemoteTab(arg0: string, arg1: string): Promise<void>; |
| 6301 | SubmitRemoteTabExtensionForm(arg0: string, arg1: string, arg2: string, arg3: Record<string, unknown>): Promise<void>; |
| 6302 | SubmitRemoteTabExtensionFormExact(arg0: ExtensionFormTarget, arg1: Record<string, unknown>): Promise<void>; |
| 6303 | SubmitRemoteTabWithSubmission(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6304 | SubmitToTab(arg0: string, arg1: string): Promise<void>; |
| 6305 | SubmitToTabWithID(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6306 | SummarizeFrom(arg0: number): Promise<void>; |
| 6307 | SummarizeFromForTab(arg0: string, arg1: number): Promise<void>; |
| 6308 | SummarizeRemoteTab(arg0: string, arg1: number, arg2: string): Promise<void>; |
| 6309 | SummarizeUpTo(arg0: number): Promise<void>; |
| 6310 | SummarizeUpToForTab(arg0: string, arg1: number): Promise<void>; |
| 6311 | SwitchWorkspace(arg0: string): Promise<string>; |
| 6312 | SyncRuntimeState(): Promise<RuntimeStateProjection>; |
| 6313 | TakeoverSession(arg0: string, arg1: string): Promise<void>; |
| 6314 | TerminalOutputForTab(arg0: string, arg1: string): Promise<string>; |
| 6315 | TerminalWorkspaceForTab(arg0: string): Promise<TerminalWorkspaceView>; |
| 6316 | TestBotConnection(arg0: string, arg1: string): Promise<BotConnectionDiagnostic>; |
| 6317 | TestDingtalkBot(): Promise<BotConnectionDiagnostic>; |
| 6318 | TestProviderModel(arg0: ProviderView, arg1: string, arg2: string): Promise<void>; |
| 6319 | ToggleMaximiseMainWindow(): Promise<void>; |
| 6320 | ToolResultForTab(arg0: string, arg1: string): Promise<ToolResultData | null>; |
| 6321 | TranscriptContentForTab(arg0: string, arg1: ContentRequest): Promise<ContentChunk>; |
| 6322 | TranscriptFollowForTab(arg0: string, arg1: FollowRequest): Promise<TranscriptFollowResponse>; |
| 6323 | TranscriptOutlineForTab(arg0: string, arg1: OutlineRequest): Promise<OutlinePage>; |
| 6324 | TranscriptPageForTab(arg0: string, arg1: PageRequest): Promise<Snapshot>; |
| 6325 | TranscriptReplayForTab(arg0: string, arg1: TranscriptReplayRequest): Promise<TranscriptReplay>; |
| 6326 | TranscriptSnapshotForTab(arg0: string, arg1: PageRequest): Promise<Snapshot>; |
| 6327 | TrashTopic(arg0: string): Promise<void>; |
| 6328 | TrustProjectHooks(): Promise<void>; |
| 6329 | TrustProjectHooksForRoot(arg0: string): Promise<void>; |
| 6330 | TrySubagentProfile(arg0: SubagentProfileInput, arg1: string): Promise<string>; |
| 6331 | TurnCheckLog(arg0: string, arg1: string, arg2: string, arg3: string): Promise<TurnCheckLogView | null>; |
| 6332 | TurnEventsForTab(arg0: string, arg1: number): Promise<TurnEventReplayView>; |
| 6333 | UndoRewindForTab(arg0: string, arg1: string): Promise<RewindResultView>; |
| 6334 | UnpinFileForTab(arg0: string, arg1: string): Promise<void>; |
| 6335 | UpdateInboxItem(arg0: string, arg1: string, arg2: string, arg3: string): Promise<void>; |
| 6336 | UpdateMCPServer(arg0: string, arg1: MCPServerInput): Promise<void>; |
| 6337 | UpdatePlugin(arg0: string): Promise<string>; |
| 6338 | UpdateRemoteHost(arg0: string, arg1: RemoteHostInput): Promise<RemoteHostView>; |
| 6339 | UpdateSessionOrganization(arg0: SessionOrganizationWorkspace, arg1: number, arg2: SessionOrganizationMutation): Promise<SessionOrganizationSnapshot>; |
| 6340 | UpdateSubagentProfile(arg0: string, arg1: string, arg2: SubagentProfileInput): Promise<void>; |
| 6341 | UpgradeDeepSeekProviderAccess(arg0: string): Promise<string>; |
| 6342 | UsageStats(arg0: UsageStatsRequest): Promise<UsageStatsRange>; |
| 6343 | Version(): Promise<string>; |
| 6344 | WorkspaceChangeDetail(arg0: string, arg1: string): Promise<WorkspaceChangeDetailView>; |
| 6345 | WorkspaceChanges(arg0: string): Promise<WorkspaceChangesView>; |
| 6346 | WorkspaceConflictForTab(arg0: string): Promise<WorkspaceConflictView>; |
| 6347 | WorkspaceGitCommitDetail(arg0: string, arg1: string, arg2: string): Promise<GitCommitDetailView>; |
| 6348 | WorkspaceGitHistory(arg0: string, arg1: string): Promise<GitCommitView[]>; |
| 6349 | WorkspaceGitStatsForTab(arg0: string, arg1: string): Promise<WorkspaceChangesView>; |
| 6350 | WorkspaceRevisionForTab(arg0: string): Promise<WorkspaceRevisionView>; |
| 6351 | WorkspaceTurnChangeDetail(arg0: string, arg1: string, arg2: number, arg3: string, arg4: string): Promise<TurnFile | null>; |
| 6352 | WorkspaceTurnChanges(arg0: string, arg1: string, arg2: number, arg3: string): Promise<TurnChanges | null>; |
| 6353 | WriteRemoteFile(arg0: string, arg1: string, arg2: string, arg3: number): Promise<RemoteWriteResult>; |
| 6354 | WriteTerminalForTab(arg0: string, arg1: string, arg2: string): Promise<void>; |
| 6355 | } |
| 6356 |