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