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