@iaforged/context-code 1.2.12 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1918) hide show
  1. package/README.md +38 -0
  2. package/dist/src/bridge/bridgeMain.js +40 -40
  3. package/dist/src/bridge/bridgeUI.js +1 -1
  4. package/dist/src/buddy/prompt.js +4 -4
  5. package/dist/src/cli/print.js +12 -12
  6. package/dist/src/commands/commit-push-pr.js +55 -55
  7. package/dist/src/commands/commit.js +34 -34
  8. package/dist/src/commands/init.js +88 -88
  9. package/dist/src/commands/insights.js +787 -787
  10. package/dist/src/commands/install.js +21 -21
  11. package/dist/src/commands/objetivo/index.js +9 -0
  12. package/dist/src/commands/objetivo/objetivo.js +137 -0
  13. package/dist/src/commands/orchestrate/orchestrate.js +1 -0
  14. package/dist/src/commands/plugin/BrowseMarketplace.js +6 -0
  15. package/dist/src/commands/security-review.js +190 -190
  16. package/dist/src/commands/swarm-auto/swarmAuto.js +2 -2
  17. package/dist/src/commands/terminalSetup/terminalSetup.js +24 -24
  18. package/dist/src/commands.js +2 -0
  19. package/dist/src/components/PromptInput/PromptInput.js +16 -0
  20. package/dist/src/components/PromptInput/PromptInputFooter.js +17 -2
  21. package/dist/src/components/PromptInput/PromptInputQueuedCommands.js +3 -3
  22. package/dist/src/components/Spinner.js +3 -0
  23. package/dist/src/components/agents/agentFileUtils.js +6 -6
  24. package/dist/src/components/agents/generateAgent.js +92 -92
  25. package/dist/src/components/design-system/FuzzyPicker.js +3 -0
  26. package/dist/src/components/grove/Grove.js +10 -10
  27. package/dist/src/components/messages/CollapsedReadSearchContent.js +3 -0
  28. package/dist/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.js +8 -8
  29. package/dist/src/components/permissions/hooks.js +5 -5
  30. package/dist/src/constants/outputStyles.js +83 -83
  31. package/dist/src/constants/prompts.js +123 -123
  32. package/dist/src/coordinator/coordinatorMode.js +252 -252
  33. package/dist/src/core/agents/legacy/cliAdapter.impl.js +62 -0
  34. package/dist/src/core/agents/legacy/deps.js +12 -0
  35. package/dist/src/core/agents/legacy/orchestrateCliAdapter.impl.js +2 -0
  36. package/dist/src/core/agents/legacy/services/mcp/config.js +1 -0
  37. package/dist/src/core/agents/legacy/services/orchestration/index.js +1 -0
  38. package/dist/src/core/agents/legacy/services/sessionMemory/sessionMemory.js +1 -0
  39. package/dist/src/core/agents/legacy/storeCliAdapter.impl.js +2 -0
  40. package/dist/src/core/agents/legacy/utils/activityManager.js +1 -0
  41. package/dist/src/core/agents/legacy/utils/debug.js +1 -0
  42. package/dist/src/core/agents/legacy/utils/messages.js +1 -0
  43. package/dist/src/core/agents/legacy/utils/model/providerCatalog.js +1 -0
  44. package/dist/src/core/agents/legacy/utils/model/providerProfiles.js +1 -0
  45. package/dist/src/core/agents/legacy/utils/model/providerWorkspaces.js +1 -0
  46. package/dist/src/core/agents/legacy/utils/orchestration/store/index.js +1 -0
  47. package/dist/src/core/agents/legacy/utils/orchestration/store/types.js +1 -0
  48. package/dist/src/core/agents/legacy/utils/secureStorage/index.js +1 -0
  49. package/dist/src/core/agents/orchestrateCliAdapter.js +1 -0
  50. package/dist/src/core/agents/storeCliAdapter.js +1 -0
  51. package/dist/src/core/assistant/legacy/debugCliAdapter.js +1 -0
  52. package/dist/src/core/assistant/legacy/teleportApiCliAdapter.js +1 -0
  53. package/dist/src/core/auth/legacy/bootstrap/state.js +1 -0
  54. package/dist/src/core/auth/legacy/deps.js +25 -0
  55. package/dist/src/core/auth/legacy/hooks/useMainLoopModel.js +1 -0
  56. package/dist/src/core/auth/legacy/loginCliAdapter.impl.js +16 -0
  57. package/dist/src/core/auth/legacy/loginCommandCliAdapter.impl.js +7 -0
  58. package/dist/src/core/auth/legacy/logoutCliAdapter.impl.js +21 -0
  59. package/dist/src/core/auth/legacy/logoutCommandCliAdapter.impl.js +2 -0
  60. package/dist/src/core/auth/legacy/openaiLoginCliAdapter.impl.js +9 -0
  61. package/dist/src/core/auth/legacy/privacySettingsCliAdapter.impl.js +7 -0
  62. package/dist/src/core/auth/legacy/services/analytics/growthbook.js +1 -0
  63. package/dist/src/core/auth/legacy/services/analytics/index.js +1 -0
  64. package/dist/src/core/auth/legacy/services/api/grove.js +1 -0
  65. package/dist/src/core/auth/legacy/services/policyLimits/index.js +1 -0
  66. package/dist/src/core/auth/legacy/services/remoteManagedSettings/index.js +1 -0
  67. package/dist/src/core/auth/legacy/subscriberCliAdapter.impl.js +2 -0
  68. package/dist/src/core/auth/legacy/utils/auth.js +1 -0
  69. package/dist/src/core/auth/legacy/utils/betas.js +1 -0
  70. package/dist/src/core/auth/legacy/utils/config.js +1 -0
  71. package/dist/src/core/auth/legacy/utils/envUtils.js +1 -0
  72. package/dist/src/core/auth/legacy/utils/gracefulShutdown.js +1 -0
  73. package/dist/src/core/auth/legacy/utils/messages.js +1 -0
  74. package/dist/src/core/auth/legacy/utils/model/providerSwitch.js +1 -0
  75. package/dist/src/core/auth/legacy/utils/model/providers.js +1 -0
  76. package/dist/src/core/auth/legacy/utils/permissions/bypassPermissionsKillswitch.js +1 -0
  77. package/dist/src/core/auth/legacy/utils/secureStorage/index.js +1 -0
  78. package/dist/src/core/auth/legacy/utils/telemetry/instrumentation.js +1 -0
  79. package/dist/src/core/auth/legacy/utils/toolSchemaCache.js +1 -0
  80. package/dist/src/core/auth/legacy/utils/user.js +1 -0
  81. package/dist/src/core/auth/loginCommandCliAdapter.js +1 -0
  82. package/dist/src/core/auth/logoutCommandCliAdapter.js +1 -0
  83. package/dist/src/core/auth/openaiLoginCliAdapter.js +1 -0
  84. package/dist/src/core/auth/openaiLoginCore.js +21 -0
  85. package/dist/src/core/auth/privacySettingsCliAdapter.js +1 -0
  86. package/dist/src/core/auth/privacySettingsCore.js +10 -0
  87. package/dist/src/core/auth/subscriberCliAdapter.js +1 -0
  88. package/dist/src/core/bridge/cliAdapter.js +3 -0
  89. package/dist/src/core/bridge/legacy/bootstrap/state.js +1 -0
  90. package/dist/src/core/bridge/legacy/cliAdapter.impl.js +11 -0
  91. package/dist/src/core/bridge/legacy/context/overlayContext.js +1 -0
  92. package/dist/src/core/bridge/legacy/services/analytics/datadog.js +1 -0
  93. package/dist/src/core/bridge/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  94. package/dist/src/core/bridge/legacy/services/analytics/growthbook.js +1 -0
  95. package/dist/src/core/bridge/legacy/services/analytics/index.js +1 -0
  96. package/dist/src/core/bridge/legacy/services/api/emptyUsage.js +1 -0
  97. package/dist/src/core/bridge/legacy/services/oauth/client.js +1 -0
  98. package/dist/src/core/bridge/legacy/services/policyLimits/index.js +1 -0
  99. package/dist/src/core/bridge/legacy/sharedCliAdapter.impl.js +16 -0
  100. package/dist/src/core/bridge/legacy/state/AppState.js +1 -0
  101. package/dist/src/core/bridge/legacy/utils/auth.js +1 -0
  102. package/dist/src/core/bridge/legacy/utils/bundledMode.js +1 -0
  103. package/dist/src/core/bridge/legacy/utils/cleanupRegistry.js +1 -0
  104. package/dist/src/core/bridge/legacy/utils/concurrentSessions.js +1 -0
  105. package/dist/src/core/bridge/legacy/utils/config.js +1 -0
  106. package/dist/src/core/bridge/legacy/utils/controlMessageCompat.js +1 -0
  107. package/dist/src/core/bridge/legacy/utils/debug.js +1 -0
  108. package/dist/src/core/bridge/legacy/utils/detectRepository.js +1 -0
  109. package/dist/src/core/bridge/legacy/utils/diagLogs.js +1 -0
  110. package/dist/src/core/bridge/legacy/utils/displayTags.js +1 -0
  111. package/dist/src/core/bridge/legacy/utils/envUtils.js +1 -0
  112. package/dist/src/core/bridge/legacy/utils/errors.js +1 -0
  113. package/dist/src/core/bridge/legacy/utils/format.js +1 -0
  114. package/dist/src/core/bridge/legacy/utils/getWorktreePathsPortable.js +1 -0
  115. package/dist/src/core/bridge/legacy/utils/git.js +1 -0
  116. package/dist/src/core/bridge/legacy/utils/hooks.js +1 -0
  117. package/dist/src/core/bridge/legacy/utils/imageResizer.js +1 -0
  118. package/dist/src/core/bridge/legacy/utils/intl.js +1 -0
  119. package/dist/src/core/bridge/legacy/utils/lazySchema.js +1 -0
  120. package/dist/src/core/bridge/legacy/utils/log.js +1 -0
  121. package/dist/src/core/bridge/legacy/utils/messages/mappers.js +1 -0
  122. package/dist/src/core/bridge/legacy/utils/messages.js +1 -0
  123. package/dist/src/core/bridge/legacy/utils/model/model.js +1 -0
  124. package/dist/src/core/bridge/legacy/utils/permissions/PermissionMode.js +1 -0
  125. package/dist/src/core/bridge/legacy/utils/permissions/PermissionUpdateSchema.js +1 -0
  126. package/dist/src/core/bridge/legacy/utils/privacyLevel.js +1 -0
  127. package/dist/src/core/bridge/legacy/utils/secureStorage/index.js +1 -0
  128. package/dist/src/core/bridge/legacy/utils/semver.js +1 -0
  129. package/dist/src/core/bridge/legacy/utils/sessionIngressAuth.js +1 -0
  130. package/dist/src/core/bridge/legacy/utils/sessionState.js +1 -0
  131. package/dist/src/core/bridge/legacy/utils/sessionStorage.js +1 -0
  132. package/dist/src/core/bridge/legacy/utils/sessionStoragePortable.js +1 -0
  133. package/dist/src/core/bridge/legacy/utils/sessionTitle.js +1 -0
  134. package/dist/src/core/bridge/legacy/utils/sinks.js +1 -0
  135. package/dist/src/core/bridge/legacy/utils/sleep.js +1 -0
  136. package/dist/src/core/bridge/legacy/utils/slowOperations.js +1 -0
  137. package/dist/src/core/bridge/legacy/utils/teleport/api.js +1 -0
  138. package/dist/src/core/bridge/legacy/utils/words.js +1 -0
  139. package/dist/src/core/bridge/legacy/utils/worktree.js +1 -0
  140. package/dist/src/core/bridge/runtime.js +34 -0
  141. package/dist/src/core/bridge/sharedCliAdapter.js +1 -0
  142. package/dist/src/core/buddy/legacy/appStateCliAdapter.js +1 -0
  143. package/dist/src/core/buddy/legacy/appStateStoreCliAdapter.js +1 -0
  144. package/dist/src/core/buddy/legacy/attachmentsCliAdapter.js +1 -0
  145. package/dist/src/core/buddy/legacy/configCliAdapter.js +1 -0
  146. package/dist/src/core/buddy/legacy/fullscreenCliAdapter.js +1 -0
  147. package/dist/src/core/buddy/legacy/notificationsCliAdapter.js +1 -0
  148. package/dist/src/core/buddy/legacy/themeCliAdapter.js +1 -0
  149. package/dist/src/core/buddy/legacy/thinkingCliAdapter.js +1 -0
  150. package/dist/src/core/buddy/legacy/useTerminalSizeCliAdapter.js +1 -0
  151. package/dist/src/core/cli/autoModeCliAdapter.js +1 -0
  152. package/dist/src/core/cli/commandPromptCliAdapter.js +6 -0
  153. package/dist/src/core/cli/legacy/autoModeCliAdapter.impl.js +7 -0
  154. package/dist/src/core/cli/legacy/bootstrap/state.js +1 -0
  155. package/dist/src/core/cli/legacy/claudeDesktopCliAdapter.js +1 -0
  156. package/dist/src/core/cli/legacy/cronJitterConfigCliAdapter.js +1 -0
  157. package/dist/src/core/cli/legacy/cronSchedulerCliAdapter.js +1 -0
  158. package/dist/src/core/cli/legacy/extractMemoriesCliAdapter.js +1 -0
  159. package/dist/src/core/cli/legacy/hooks/useManagePlugins.js +1 -0
  160. package/dist/src/core/cli/legacy/loadPluginHooksCliAdapter.js +1 -0
  161. package/dist/src/core/cli/legacy/modelListCliAdapter.impl.js +4 -0
  162. package/dist/src/core/cli/legacy/ndjsonCliAdapter.js +1 -0
  163. package/dist/src/core/cli/legacy/pluginStartupCheckCliAdapter.js +1 -0
  164. package/dist/src/core/cli/legacy/printCliAdapter.js +17 -0
  165. package/dist/src/core/cli/legacy/projectsBridgeCliAdapter.impl.js +31 -0
  166. package/dist/src/core/cli/legacy/providerCliAdapter.impl.js +4 -0
  167. package/dist/src/core/cli/legacy/remoteIOCliAdapter.js +13 -0
  168. package/dist/src/core/cli/legacy/services/analytics/index.js +1 -0
  169. package/dist/src/core/cli/legacy/services/api/errorUtils.js +1 -0
  170. package/dist/src/core/cli/legacy/services/api/firstTokenDate.js +1 -0
  171. package/dist/src/core/cli/legacy/services/mcp/MCPConnectionManager.js +1 -0
  172. package/dist/src/core/cli/legacy/services/mcp/auth.js +1 -0
  173. package/dist/src/core/cli/legacy/services/mcp/client.js +1 -0
  174. package/dist/src/core/cli/legacy/services/mcp/config.js +1 -0
  175. package/dist/src/core/cli/legacy/services/mcp/types.js +1 -0
  176. package/dist/src/core/cli/legacy/services/mcp/utils.js +1 -0
  177. package/dist/src/core/cli/legacy/services/oauth/client.js +1 -0
  178. package/dist/src/core/cli/legacy/services/oauth/geminiCli.js +1 -0
  179. package/dist/src/core/cli/legacy/services/oauth/getOauthProfile.js +1 -0
  180. package/dist/src/core/cli/legacy/services/oauth/index.js +1 -0
  181. package/dist/src/core/cli/legacy/services/oauth/types.js +1 -0
  182. package/dist/src/core/cli/legacy/services/plugins/pluginCliCommands.js +1 -0
  183. package/dist/src/core/cli/legacy/state/AppState.js +1 -0
  184. package/dist/src/core/cli/legacy/state/onChangeAppState.js +1 -0
  185. package/dist/src/core/cli/legacy/structuredIOCliAdapter.js +11 -0
  186. package/dist/src/core/cli/legacy/telemetryCliAdapter.js +1 -0
  187. package/dist/src/core/cli/legacy/udsMessagingCliAdapter.js +1 -0
  188. package/dist/src/core/cli/legacy/utils/CircularBuffer.js +1 -0
  189. package/dist/src/core/cli/legacy/utils/auth.js +1 -0
  190. package/dist/src/core/cli/legacy/utils/config.js +1 -0
  191. package/dist/src/core/cli/legacy/utils/cwd.js +1 -0
  192. package/dist/src/core/cli/legacy/utils/debug.js +1 -0
  193. package/dist/src/core/cli/legacy/utils/diagLogs.js +1 -0
  194. package/dist/src/core/cli/legacy/utils/envUtils.js +1 -0
  195. package/dist/src/core/cli/legacy/utils/errors.js +1 -0
  196. package/dist/src/core/cli/legacy/utils/gracefulShutdown.js +1 -0
  197. package/dist/src/core/cli/legacy/utils/json.js +1 -0
  198. package/dist/src/core/cli/legacy/utils/log.js +1 -0
  199. package/dist/src/core/cli/legacy/utils/model/providerBaseUrls.js +1 -0
  200. package/dist/src/core/cli/legacy/utils/model/providerProfiles.js +1 -0
  201. package/dist/src/core/cli/legacy/utils/model/providerProfilesDb.js +1 -0
  202. package/dist/src/core/cli/legacy/utils/model/providers.js +1 -0
  203. package/dist/src/core/cli/legacy/utils/mtls.js +1 -0
  204. package/dist/src/core/cli/legacy/utils/platform.js +1 -0
  205. package/dist/src/core/cli/legacy/utils/plugins/cacheUtils.js +1 -0
  206. package/dist/src/core/cli/legacy/utils/plugins/installCounts.js +1 -0
  207. package/dist/src/core/cli/legacy/utils/plugins/installedPluginsManager.js +1 -0
  208. package/dist/src/core/cli/legacy/utils/plugins/marketplaceHelpers.js +1 -0
  209. package/dist/src/core/cli/legacy/utils/plugins/marketplaceManager.js +1 -0
  210. package/dist/src/core/cli/legacy/utils/plugins/mcpPluginIntegration.js +1 -0
  211. package/dist/src/core/cli/legacy/utils/plugins/parseMarketplaceInput.js +1 -0
  212. package/dist/src/core/cli/legacy/utils/plugins/pluginIdentifier.js +1 -0
  213. package/dist/src/core/cli/legacy/utils/plugins/pluginLoader.js +1 -0
  214. package/dist/src/core/cli/legacy/utils/plugins/schemas.js +1 -0
  215. package/dist/src/core/cli/legacy/utils/plugins/validatePlugin.js +1 -0
  216. package/dist/src/core/cli/legacy/utils/proxy.js +1 -0
  217. package/dist/src/core/cli/legacy/utils/secureStorage/index.js +1 -0
  218. package/dist/src/core/cli/legacy/utils/sessionActivity.js +1 -0
  219. package/dist/src/core/cli/legacy/utils/sessionIngressAuth.js +1 -0
  220. package/dist/src/core/cli/legacy/utils/sessionState.js +1 -0
  221. package/dist/src/core/cli/legacy/utils/settings/settings.js +1 -0
  222. package/dist/src/core/cli/legacy/utils/sleep.js +1 -0
  223. package/dist/src/core/cli/legacy/utils/slowOperations.js +1 -0
  224. package/dist/src/core/cli/legacy/utils/status.js +1 -0
  225. package/dist/src/core/cli/legacy/utils/stringUtils.js +1 -0
  226. package/dist/src/core/cli/legacy/utils/userAgent.js +1 -0
  227. package/dist/src/core/cli/modelListCliAdapter.js +1 -0
  228. package/dist/src/core/cli/projectsBridgeCliAdapter.js +1 -0
  229. package/dist/src/core/cli/providerCliAdapter.js +1 -0
  230. package/dist/src/core/cli/runtime/headlessPrelude.js +116 -0
  231. package/dist/src/core/cli/runtime/mcpControlFlow.js +263 -0
  232. package/dist/src/core/cli/runtime/mcpLifecycle.js +106 -0
  233. package/dist/src/core/cli/runtime/permissionFlow.js +58 -0
  234. package/dist/src/core/cli/runtime/printDependencies.js +81 -0
  235. package/dist/src/core/cli/runtime/sessionLifecycle.js +199 -0
  236. package/dist/src/core/cli/runtime/sessionStateEmitters.js +10 -0
  237. package/dist/src/core/cli/runtime/structuredIORuntime.js +175 -0
  238. package/dist/src/core/cli/runtime/updateRuntime.js +292 -0
  239. package/dist/src/core/commands/commitCore.js +53 -0
  240. package/dist/src/core/commands/commitPushPrCore.js +105 -0
  241. package/dist/src/core/commands/promptExecution.js +20 -0
  242. package/dist/src/core/commands/securityReviewCore.js +199 -0
  243. package/dist/src/core/components/legacy/bootstrap/state.js +1 -0
  244. package/dist/src/core/components/legacy/bootstrap/state.js.js +2 -0
  245. package/dist/src/core/components/legacy/context/QueuedMessageContext.js +1 -0
  246. package/dist/src/core/components/legacy/context/QueuedMessageContext.js.js +2 -0
  247. package/dist/src/core/components/legacy/context/fpsMetrics.js +1 -0
  248. package/dist/src/core/components/legacy/context/fpsMetrics.js.js +2 -0
  249. package/dist/src/core/components/legacy/context/modalContext.js +1 -0
  250. package/dist/src/core/components/legacy/context/modalContext.js.js +2 -0
  251. package/dist/src/core/components/legacy/context/notifications.js +1 -0
  252. package/dist/src/core/components/legacy/context/notifications.js.js +2 -0
  253. package/dist/src/core/components/legacy/context/overlayContext.js +1 -0
  254. package/dist/src/core/components/legacy/context/overlayContext.js.js +2 -0
  255. package/dist/src/core/components/legacy/context/promptOverlayContext.js +1 -0
  256. package/dist/src/core/components/legacy/context/promptOverlayContext.js.js +2 -0
  257. package/dist/src/core/components/legacy/context/stats.js +1 -0
  258. package/dist/src/core/components/legacy/context/stats.js.js +2 -0
  259. package/dist/src/core/components/legacy/context/voice.js +1 -0
  260. package/dist/src/core/components/legacy/context/voice.js.js +2 -0
  261. package/dist/src/core/components/legacy/hooks/fileSuggestions.js +1 -0
  262. package/dist/src/core/components/legacy/hooks/fileSuggestions.js.js +2 -0
  263. package/dist/src/core/components/legacy/hooks/permissionLogging.js +1 -0
  264. package/dist/src/core/components/legacy/hooks/renderPlaceholder.js +1 -0
  265. package/dist/src/core/components/legacy/hooks/renderPlaceholder.js.js +2 -0
  266. package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js +1 -0
  267. package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js.js +2 -0
  268. package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js +1 -0
  269. package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js.js +2 -0
  270. package/dist/src/core/components/legacy/hooks/useCanUseTool.js +1 -0
  271. package/dist/src/core/components/legacy/hooks/useCommandQueue.js +1 -0
  272. package/dist/src/core/components/legacy/hooks/useCommandQueue.js.js +2 -0
  273. package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js +1 -0
  274. package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js.js +2 -0
  275. package/dist/src/core/components/legacy/hooks/useDoublePress.js +1 -0
  276. package/dist/src/core/components/legacy/hooks/useDoublePress.js.js +2 -0
  277. package/dist/src/core/components/legacy/hooks/useElapsedTime.js +1 -0
  278. package/dist/src/core/components/legacy/hooks/useElapsedTime.js.js +2 -0
  279. package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js +1 -0
  280. package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js.js +2 -0
  281. package/dist/src/core/components/legacy/hooks/useHistorySearch.js +1 -0
  282. package/dist/src/core/components/legacy/hooks/useHistorySearch.js.js +2 -0
  283. package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js +1 -0
  284. package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js.js +2 -0
  285. package/dist/src/core/components/legacy/hooks/useIdeSelection.js +1 -0
  286. package/dist/src/core/components/legacy/hooks/useIdeSelection.js.js +2 -0
  287. package/dist/src/core/components/legacy/hooks/useInputBuffer.js +1 -0
  288. package/dist/src/core/components/legacy/hooks/useInputBuffer.js.js +2 -0
  289. package/dist/src/core/components/legacy/hooks/useMainLoopModel.js +1 -0
  290. package/dist/src/core/components/legacy/hooks/useMainLoopModel.js.js +2 -0
  291. package/dist/src/core/components/legacy/hooks/useManagePlugins.js +1 -0
  292. package/dist/src/core/components/legacy/hooks/useMemoryUsage.js +1 -0
  293. package/dist/src/core/components/legacy/hooks/useMemoryUsage.js.js +2 -0
  294. package/dist/src/core/components/legacy/hooks/usePasteHandler.js +1 -0
  295. package/dist/src/core/components/legacy/hooks/usePasteHandler.js.js +2 -0
  296. package/dist/src/core/components/legacy/hooks/usePrStatus.js +1 -0
  297. package/dist/src/core/components/legacy/hooks/usePrStatus.js.js +2 -0
  298. package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js +1 -0
  299. package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js.js +2 -0
  300. package/dist/src/core/components/legacy/hooks/useSearchInput.js +1 -0
  301. package/dist/src/core/components/legacy/hooks/useSearchInput.js.js +2 -0
  302. package/dist/src/core/components/legacy/hooks/useSettings.js +1 -0
  303. package/dist/src/core/components/legacy/hooks/useSettings.js.js +2 -0
  304. package/dist/src/core/components/legacy/hooks/useSettingsChange.js +1 -0
  305. package/dist/src/core/components/legacy/hooks/useSwarmPermissionPoller.js +1 -0
  306. package/dist/src/core/components/legacy/hooks/useTasksV2.js +1 -0
  307. package/dist/src/core/components/legacy/hooks/useTasksV2.js.js +2 -0
  308. package/dist/src/core/components/legacy/hooks/useTerminalSize.js +1 -0
  309. package/dist/src/core/components/legacy/hooks/useTerminalSize.js.js +2 -0
  310. package/dist/src/core/components/legacy/hooks/useTimeout.js +1 -0
  311. package/dist/src/core/components/legacy/hooks/useTypeahead.js +1 -0
  312. package/dist/src/core/components/legacy/hooks/useTypeahead.js.js +2 -0
  313. package/dist/src/core/components/legacy/hooks/useUpdateNotification.js +1 -0
  314. package/dist/src/core/components/legacy/hooks/useUpdateNotification.js.js +2 -0
  315. package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js +1 -0
  316. package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js.js +2 -0
  317. package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
  318. package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js.js +2 -0
  319. package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js +1 -0
  320. package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js.js +2 -0
  321. package/dist/src/core/components/legacy/services/analytics/growthbook.js +1 -0
  322. package/dist/src/core/components/legacy/services/analytics/growthbook.js.js +2 -0
  323. package/dist/src/core/components/legacy/services/analytics/index.js +1 -0
  324. package/dist/src/core/components/legacy/services/analytics/index.js.js +2 -0
  325. package/dist/src/core/components/legacy/services/api/claude.js +1 -0
  326. package/dist/src/core/components/legacy/services/api/claude.js.js +2 -0
  327. package/dist/src/core/components/legacy/services/api/errorUtils.js +1 -0
  328. package/dist/src/core/components/legacy/services/api/errorUtils.js.js +2 -0
  329. package/dist/src/core/components/legacy/services/api/errors.js +1 -0
  330. package/dist/src/core/components/legacy/services/api/errors.js.js +2 -0
  331. package/dist/src/core/components/legacy/services/api/overageCreditGrant.js +1 -0
  332. package/dist/src/core/components/legacy/services/api/overageCreditGrant.js.js +2 -0
  333. package/dist/src/core/components/legacy/services/api/referral.js +1 -0
  334. package/dist/src/core/components/legacy/services/api/referral.js.js +2 -0
  335. package/dist/src/core/components/legacy/services/api/usage.js +1 -0
  336. package/dist/src/core/components/legacy/services/api/usage.js.js +2 -0
  337. package/dist/src/core/components/legacy/services/claudeAiLimits.js +1 -0
  338. package/dist/src/core/components/legacy/services/claudeAiLimits.js.js +2 -0
  339. package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js +1 -0
  340. package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js.js +2 -0
  341. package/dist/src/core/components/legacy/services/compact/autoCompact.js +1 -0
  342. package/dist/src/core/components/legacy/services/compact/autoCompact.js.js +2 -0
  343. package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js +1 -0
  344. package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js.js +2 -0
  345. package/dist/src/core/components/legacy/services/compact/snipCompact.js +1 -0
  346. package/dist/src/core/components/legacy/services/compact/snipCompact.js.js +2 -0
  347. package/dist/src/core/components/legacy/services/compact/snipProjection.js +1 -0
  348. package/dist/src/core/components/legacy/services/compact/snipProjection.js.js +2 -0
  349. package/dist/src/core/components/legacy/services/contextCollapse/index.js +1 -0
  350. package/dist/src/core/components/legacy/services/contextCollapse/index.js.js +2 -0
  351. package/dist/src/core/components/legacy/services/diagnosticTracking.js +1 -0
  352. package/dist/src/core/components/legacy/services/diagnosticTracking.js.js +2 -0
  353. package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js +1 -0
  354. package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js.js +2 -0
  355. package/dist/src/core/components/legacy/services/mcp/channelNotification.js +1 -0
  356. package/dist/src/core/components/legacy/services/mcp/channelNotification.js.js +2 -0
  357. package/dist/src/core/components/legacy/services/mcp/config.js +1 -0
  358. package/dist/src/core/components/legacy/services/mcp/config.js.js +2 -0
  359. package/dist/src/core/components/legacy/services/mcp/types.js +1 -0
  360. package/dist/src/core/components/legacy/services/mcp/types.js.js +2 -0
  361. package/dist/src/core/components/legacy/services/notifier.js +1 -0
  362. package/dist/src/core/components/legacy/services/notifier.js.js +2 -0
  363. package/dist/src/core/components/legacy/services/oauth/client.js +1 -0
  364. package/dist/src/core/components/legacy/services/oauth/client.js.js +2 -0
  365. package/dist/src/core/components/legacy/services/oauth/geminiCli.js +1 -0
  366. package/dist/src/core/components/legacy/services/oauth/geminiCli.js.js +2 -0
  367. package/dist/src/core/components/legacy/services/oauth/index.js +1 -0
  368. package/dist/src/core/components/legacy/services/oauth/index.js.js +2 -0
  369. package/dist/src/core/components/legacy/services/oauth/types.js +1 -0
  370. package/dist/src/core/components/legacy/services/oauth/types.js.js +2 -0
  371. package/dist/src/core/components/legacy/services/policyLimits/index.js +1 -0
  372. package/dist/src/core/components/legacy/services/policyLimits/index.js.js +2 -0
  373. package/dist/src/core/components/legacy/state/AppState.js +1 -0
  374. package/dist/src/core/components/legacy/state/AppState.js.js +2 -0
  375. package/dist/src/core/components/legacy/state/onChangeAppState.js +1 -0
  376. package/dist/src/core/components/legacy/state/onChangeAppState.js.js +2 -0
  377. package/dist/src/core/components/legacy/state/selectors.js +1 -0
  378. package/dist/src/core/components/legacy/state/selectors.js.js +2 -0
  379. package/dist/src/core/components/legacy/state/teammateViewHelpers.js +1 -0
  380. package/dist/src/core/components/legacy/state/teammateViewHelpers.js.js +2 -0
  381. package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js +1 -0
  382. package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js.js +2 -0
  383. package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js +1 -0
  384. package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js.js +2 -0
  385. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +1 -0
  386. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +2 -0
  387. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  388. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js.js +2 -0
  389. package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  390. package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +2 -0
  391. package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  392. package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js.js +2 -0
  393. package/dist/src/core/components/legacy/tasks/taskStatusUtils.js +1 -0
  394. package/dist/src/core/components/legacy/tasks/taskStatusUtils.js.js +2 -0
  395. package/dist/src/core/components/legacy/tasks/types.js +1 -0
  396. package/dist/src/core/components/legacy/tasks/types.js.js +2 -0
  397. package/dist/src/core/components/legacy/utils/Cursor.js +1 -0
  398. package/dist/src/core/components/legacy/utils/Cursor.js.js +2 -0
  399. package/dist/src/core/components/legacy/utils/activityManager.js +1 -0
  400. package/dist/src/core/components/legacy/utils/activityManager.js.js +2 -0
  401. package/dist/src/core/components/legacy/utils/advisor.js +1 -0
  402. package/dist/src/core/components/legacy/utils/advisor.js.js +2 -0
  403. package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js +1 -0
  404. package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js.js +2 -0
  405. package/dist/src/core/components/legacy/utils/analyzeContext.js +1 -0
  406. package/dist/src/core/components/legacy/utils/analyzeContext.js.js +2 -0
  407. package/dist/src/core/components/legacy/utils/array.js +1 -0
  408. package/dist/src/core/components/legacy/utils/array.js.js +2 -0
  409. package/dist/src/core/components/legacy/utils/attachments.js +1 -0
  410. package/dist/src/core/components/legacy/utils/attachments.js.js +2 -0
  411. package/dist/src/core/components/legacy/utils/auth.js +1 -0
  412. package/dist/src/core/components/legacy/utils/auth.js.js +2 -0
  413. package/dist/src/core/components/legacy/utils/authPortable.js +1 -0
  414. package/dist/src/core/components/legacy/utils/authPortable.js.js +2 -0
  415. package/dist/src/core/components/legacy/utils/autoUpdater.js +1 -0
  416. package/dist/src/core/components/legacy/utils/autoUpdater.js.js +2 -0
  417. package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js +1 -0
  418. package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js.js +2 -0
  419. package/dist/src/core/components/legacy/utils/browser.js +1 -0
  420. package/dist/src/core/components/legacy/utils/browser.js.js +2 -0
  421. package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js +1 -0
  422. package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js.js +2 -0
  423. package/dist/src/core/components/legacy/utils/claudemd.js +1 -0
  424. package/dist/src/core/components/legacy/utils/claudemd.js.js +2 -0
  425. package/dist/src/core/components/legacy/utils/cliHighlight.js +1 -0
  426. package/dist/src/core/components/legacy/utils/cliHighlight.js.js +2 -0
  427. package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js +1 -0
  428. package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js.js +2 -0
  429. package/dist/src/core/components/legacy/utils/collapseHookSummaries.js +1 -0
  430. package/dist/src/core/components/legacy/utils/collapseHookSummaries.js.js +2 -0
  431. package/dist/src/core/components/legacy/utils/collapseReadSearch.js +1 -0
  432. package/dist/src/core/components/legacy/utils/collapseReadSearch.js.js +2 -0
  433. package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js +1 -0
  434. package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js.js +2 -0
  435. package/dist/src/core/components/legacy/utils/config.js +1 -0
  436. package/dist/src/core/components/legacy/utils/config.js.js +2 -0
  437. package/dist/src/core/components/legacy/utils/context.js +1 -0
  438. package/dist/src/core/components/legacy/utils/context.js.js +2 -0
  439. package/dist/src/core/components/legacy/utils/contextSuggestions.js +1 -0
  440. package/dist/src/core/components/legacy/utils/contextSuggestions.js.js +2 -0
  441. package/dist/src/core/components/legacy/utils/cwd.js +1 -0
  442. package/dist/src/core/components/legacy/utils/cwd.js.js +2 -0
  443. package/dist/src/core/components/legacy/utils/debug.js +1 -0
  444. package/dist/src/core/components/legacy/utils/debug.js.js +2 -0
  445. package/dist/src/core/components/legacy/utils/desktopDeepLink.js +1 -0
  446. package/dist/src/core/components/legacy/utils/desktopDeepLink.js.js +2 -0
  447. package/dist/src/core/components/legacy/utils/detectRepository.js +1 -0
  448. package/dist/src/core/components/legacy/utils/detectRepository.js.js +2 -0
  449. package/dist/src/core/components/legacy/utils/diff.js +1 -0
  450. package/dist/src/core/components/legacy/utils/diff.js.js +2 -0
  451. package/dist/src/core/components/legacy/utils/directMemberMessage.js +1 -0
  452. package/dist/src/core/components/legacy/utils/directMemberMessage.js.js +2 -0
  453. package/dist/src/core/components/legacy/utils/displayTags.js +1 -0
  454. package/dist/src/core/components/legacy/utils/displayTags.js.js +2 -0
  455. package/dist/src/core/components/legacy/utils/doctorDiagnostic.js +1 -0
  456. package/dist/src/core/components/legacy/utils/doctorDiagnostic.js.js +2 -0
  457. package/dist/src/core/components/legacy/utils/editor.js +1 -0
  458. package/dist/src/core/components/legacy/utils/editor.js.js +2 -0
  459. package/dist/src/core/components/legacy/utils/effort.js +1 -0
  460. package/dist/src/core/components/legacy/utils/effort.js.js +2 -0
  461. package/dist/src/core/components/legacy/utils/env.js +1 -0
  462. package/dist/src/core/components/legacy/utils/env.js.js +2 -0
  463. package/dist/src/core/components/legacy/utils/envUtils.js +1 -0
  464. package/dist/src/core/components/legacy/utils/envUtils.js.js +2 -0
  465. package/dist/src/core/components/legacy/utils/errors.js +1 -0
  466. package/dist/src/core/components/legacy/utils/errors.js.js +2 -0
  467. package/dist/src/core/components/legacy/utils/extraUsage.js +1 -0
  468. package/dist/src/core/components/legacy/utils/extraUsage.js.js +2 -0
  469. package/dist/src/core/components/legacy/utils/fastMode.js +1 -0
  470. package/dist/src/core/components/legacy/utils/fastMode.js.js +2 -0
  471. package/dist/src/core/components/legacy/utils/file.js +1 -0
  472. package/dist/src/core/components/legacy/utils/file.js.js +2 -0
  473. package/dist/src/core/components/legacy/utils/format.js +1 -0
  474. package/dist/src/core/components/legacy/utils/format.js.js +2 -0
  475. package/dist/src/core/components/legacy/utils/fpsTracker.js +1 -0
  476. package/dist/src/core/components/legacy/utils/fpsTracker.js.js +2 -0
  477. package/dist/src/core/components/legacy/utils/fullscreen.js +1 -0
  478. package/dist/src/core/components/legacy/utils/fullscreen.js.js +2 -0
  479. package/dist/src/core/components/legacy/utils/getWorktreePaths.js +1 -0
  480. package/dist/src/core/components/legacy/utils/getWorktreePaths.js.js +2 -0
  481. package/dist/src/core/components/legacy/utils/ghPrStatus.js +1 -0
  482. package/dist/src/core/components/legacy/utils/ghPrStatus.js.js +2 -0
  483. package/dist/src/core/components/legacy/utils/git.js +1 -0
  484. package/dist/src/core/components/legacy/utils/git.js.js +2 -0
  485. package/dist/src/core/components/legacy/utils/gracefulShutdown.js +1 -0
  486. package/dist/src/core/components/legacy/utils/gracefulShutdown.js.js +2 -0
  487. package/dist/src/core/components/legacy/utils/groupToolUses.js +1 -0
  488. package/dist/src/core/components/legacy/utils/groupToolUses.js.js +2 -0
  489. package/dist/src/core/components/legacy/utils/handlePromptSubmit.js +1 -0
  490. package/dist/src/core/components/legacy/utils/handlePromptSubmit.js.js +2 -0
  491. package/dist/src/core/components/legacy/utils/hash.js +1 -0
  492. package/dist/src/core/components/legacy/utils/hash.js.js +2 -0
  493. package/dist/src/core/components/legacy/utils/heatmap.js +1 -0
  494. package/dist/src/core/components/legacy/utils/heatmap.js.js +2 -0
  495. package/dist/src/core/components/legacy/utils/highlightMatch.js +1 -0
  496. package/dist/src/core/components/legacy/utils/highlightMatch.js.js +2 -0
  497. package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js +1 -0
  498. package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js.js +2 -0
  499. package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js +1 -0
  500. package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js.js +2 -0
  501. package/dist/src/core/components/legacy/utils/hooks.js +1 -0
  502. package/dist/src/core/components/legacy/utils/hooks.js.js +2 -0
  503. package/dist/src/core/components/legacy/utils/http.js +1 -0
  504. package/dist/src/core/components/legacy/utils/http.js.js +2 -0
  505. package/dist/src/core/components/legacy/utils/ide.js +1 -0
  506. package/dist/src/core/components/legacy/utils/ide.js.js +2 -0
  507. package/dist/src/core/components/legacy/utils/imagePaste.js +1 -0
  508. package/dist/src/core/components/legacy/utils/imagePaste.js.js +2 -0
  509. package/dist/src/core/components/legacy/utils/imageResizer.js +1 -0
  510. package/dist/src/core/components/legacy/utils/imageResizer.js.js +2 -0
  511. package/dist/src/core/components/legacy/utils/imageStore.js +1 -0
  512. package/dist/src/core/components/legacy/utils/imageStore.js.js +2 -0
  513. package/dist/src/core/components/legacy/utils/ink.js +1 -0
  514. package/dist/src/core/components/legacy/utils/ink.js.js +2 -0
  515. package/dist/src/core/components/legacy/utils/intl.js +1 -0
  516. package/dist/src/core/components/legacy/utils/intl.js.js +2 -0
  517. package/dist/src/core/components/legacy/utils/keyboardShortcuts.js +1 -0
  518. package/dist/src/core/components/legacy/utils/keyboardShortcuts.js.js +2 -0
  519. package/dist/src/core/components/legacy/utils/localInstaller.js +1 -0
  520. package/dist/src/core/components/legacy/utils/localInstaller.js.js +2 -0
  521. package/dist/src/core/components/legacy/utils/log.js +1 -0
  522. package/dist/src/core/components/legacy/utils/log.js.js +2 -0
  523. package/dist/src/core/components/legacy/utils/logoV2Utils.js +1 -0
  524. package/dist/src/core/components/legacy/utils/logoV2Utils.js.js +2 -0
  525. package/dist/src/core/components/legacy/utils/managedEnvConstants.js +1 -0
  526. package/dist/src/core/components/legacy/utils/managedEnvConstants.js.js +2 -0
  527. package/dist/src/core/components/legacy/utils/markdown.js +1 -0
  528. package/dist/src/core/components/legacy/utils/markdown.js.js +2 -0
  529. package/dist/src/core/components/legacy/utils/memoryFileDetection.js +1 -0
  530. package/dist/src/core/components/legacy/utils/memoryFileDetection.js.js +2 -0
  531. package/dist/src/core/components/legacy/utils/messageQueueManager.js +1 -0
  532. package/dist/src/core/components/legacy/utils/messageQueueManager.js.js +2 -0
  533. package/dist/src/core/components/legacy/utils/messages.js +1 -0
  534. package/dist/src/core/components/legacy/utils/messages.js.js +2 -0
  535. package/dist/src/core/components/legacy/utils/model/model.js +1 -0
  536. package/dist/src/core/components/legacy/utils/model/model.js.js +2 -0
  537. package/dist/src/core/components/legacy/utils/model/modelOptions.js +1 -0
  538. package/dist/src/core/components/legacy/utils/model/modelOptions.js.js +2 -0
  539. package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js +1 -0
  540. package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js.js +2 -0
  541. package/dist/src/core/components/legacy/utils/model/providerCatalog.js +1 -0
  542. package/dist/src/core/components/legacy/utils/model/providerCatalog.js.js +2 -0
  543. package/dist/src/core/components/legacy/utils/model/providerModels.js +1 -0
  544. package/dist/src/core/components/legacy/utils/model/providerModels.js.js +2 -0
  545. package/dist/src/core/components/legacy/utils/model/providerProfiles.js +1 -0
  546. package/dist/src/core/components/legacy/utils/model/providerProfiles.js.js +2 -0
  547. package/dist/src/core/components/legacy/utils/model/providers.js +1 -0
  548. package/dist/src/core/components/legacy/utils/model/providers.js.js +2 -0
  549. package/dist/src/core/components/legacy/utils/nativeInstaller/index.js +1 -0
  550. package/dist/src/core/components/legacy/utils/nativeInstaller/index.js.js +2 -0
  551. package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js +1 -0
  552. package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js.js +2 -0
  553. package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js +1 -0
  554. package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js.js +2 -0
  555. package/dist/src/core/components/legacy/utils/permissions/autoModeState.js +1 -0
  556. package/dist/src/core/components/legacy/utils/permissions/autoModeState.js.js +2 -0
  557. package/dist/src/core/components/legacy/utils/permissions/filesystem.js +1 -0
  558. package/dist/src/core/components/legacy/utils/permissions/filesystem.js.js +2 -0
  559. package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js +1 -0
  560. package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js.js +2 -0
  561. package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js +1 -0
  562. package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js.js +2 -0
  563. package/dist/src/core/components/legacy/utils/platform.js +1 -0
  564. package/dist/src/core/components/legacy/utils/platform.js.js +2 -0
  565. package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js +1 -0
  566. package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js.js +2 -0
  567. package/dist/src/core/components/legacy/utils/preflightChecks.js +1 -0
  568. package/dist/src/core/components/legacy/utils/preflightChecks.js.js +2 -0
  569. package/dist/src/core/components/legacy/utils/privacyLevel.js +1 -0
  570. package/dist/src/core/components/legacy/utils/privacyLevel.js.js +2 -0
  571. package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js +1 -0
  572. package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js.js +2 -0
  573. package/dist/src/core/components/legacy/utils/promptEditor.js +1 -0
  574. package/dist/src/core/components/legacy/utils/promptEditor.js.js +2 -0
  575. package/dist/src/core/components/legacy/utils/readEditContext.js +1 -0
  576. package/dist/src/core/components/legacy/utils/readEditContext.js.js +2 -0
  577. package/dist/src/core/components/legacy/utils/readFileInRange.js +1 -0
  578. package/dist/src/core/components/legacy/utils/readFileInRange.js.js +2 -0
  579. package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js +1 -0
  580. package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js.js +2 -0
  581. package/dist/src/core/components/legacy/utils/releaseNotes.js +1 -0
  582. package/dist/src/core/components/legacy/utils/releaseNotes.js.js +2 -0
  583. package/dist/src/core/components/legacy/utils/renderOptions.js +1 -0
  584. package/dist/src/core/components/legacy/utils/renderOptions.js.js +2 -0
  585. package/dist/src/core/components/legacy/utils/ripgrep.js +1 -0
  586. package/dist/src/core/components/legacy/utils/ripgrep.js.js +2 -0
  587. package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  588. package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js.js +2 -0
  589. package/dist/src/core/components/legacy/utils/screenshotClipboard.js +1 -0
  590. package/dist/src/core/components/legacy/utils/screenshotClipboard.js.js +2 -0
  591. package/dist/src/core/components/legacy/utils/semver.js +1 -0
  592. package/dist/src/core/components/legacy/utils/semver.js.js +2 -0
  593. package/dist/src/core/components/legacy/utils/sessionStorage.js +1 -0
  594. package/dist/src/core/components/legacy/utils/sessionStorage.js.js +2 -0
  595. package/dist/src/core/components/legacy/utils/settings/constants.js +1 -0
  596. package/dist/src/core/components/legacy/utils/settings/constants.js.js +2 -0
  597. package/dist/src/core/components/legacy/utils/settings/settings.js +1 -0
  598. package/dist/src/core/components/legacy/utils/settings/settings.js.js +2 -0
  599. package/dist/src/core/components/legacy/utils/settings/types.js +1 -0
  600. package/dist/src/core/components/legacy/utils/settings/types.js.js +2 -0
  601. package/dist/src/core/components/legacy/utils/settings/validation.js +1 -0
  602. package/dist/src/core/components/legacy/utils/settings/validation.js.js +2 -0
  603. package/dist/src/core/components/legacy/utils/sideQuestion.js +1 -0
  604. package/dist/src/core/components/legacy/utils/sideQuestion.js.js +2 -0
  605. package/dist/src/core/components/legacy/utils/sliceAnsi.js +1 -0
  606. package/dist/src/core/components/legacy/utils/sliceAnsi.js.js +2 -0
  607. package/dist/src/core/components/legacy/utils/slowOperations.js +1 -0
  608. package/dist/src/core/components/legacy/utils/slowOperations.js.js +2 -0
  609. package/dist/src/core/components/legacy/utils/standaloneAgent.js +1 -0
  610. package/dist/src/core/components/legacy/utils/standaloneAgent.js.js +2 -0
  611. package/dist/src/core/components/legacy/utils/stats.js +1 -0
  612. package/dist/src/core/components/legacy/utils/stats.js.js +2 -0
  613. package/dist/src/core/components/legacy/utils/status.js +1 -0
  614. package/dist/src/core/components/legacy/utils/status.js.js +2 -0
  615. package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js +1 -0
  616. package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js.js +2 -0
  617. package/dist/src/core/components/legacy/utils/stringUtils.js +1 -0
  618. package/dist/src/core/components/legacy/utils/stringUtils.js.js +2 -0
  619. package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js +1 -0
  620. package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js.js +2 -0
  621. package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js +1 -0
  622. package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js.js +2 -0
  623. package/dist/src/core/components/legacy/utils/swarm/backends/detection.js +1 -0
  624. package/dist/src/core/components/legacy/utils/swarm/backends/detection.js.js +2 -0
  625. package/dist/src/core/components/legacy/utils/swarm/backends/registry.js +1 -0
  626. package/dist/src/core/components/legacy/utils/swarm/backends/registry.js.js +2 -0
  627. package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js +1 -0
  628. package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js.js +2 -0
  629. package/dist/src/core/components/legacy/utils/swarm/constants.js +1 -0
  630. package/dist/src/core/components/legacy/utils/swarm/constants.js.js +2 -0
  631. package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js +1 -0
  632. package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js.js +2 -0
  633. package/dist/src/core/components/legacy/utils/swarm/teammateModel.js +1 -0
  634. package/dist/src/core/components/legacy/utils/swarm/teammateModel.js.js +2 -0
  635. package/dist/src/core/components/legacy/utils/systemPromptType.js +1 -0
  636. package/dist/src/core/components/legacy/utils/systemPromptType.js.js +2 -0
  637. package/dist/src/core/components/legacy/utils/systemTheme.js +1 -0
  638. package/dist/src/core/components/legacy/utils/systemTheme.js.js +2 -0
  639. package/dist/src/core/components/legacy/utils/task/framework.js +1 -0
  640. package/dist/src/core/components/legacy/utils/task/framework.js.js +2 -0
  641. package/dist/src/core/components/legacy/utils/tasks.js +1 -0
  642. package/dist/src/core/components/legacy/utils/tasks.js.js +2 -0
  643. package/dist/src/core/components/legacy/utils/teamDiscovery.js +1 -0
  644. package/dist/src/core/components/legacy/utils/teamDiscovery.js.js +2 -0
  645. package/dist/src/core/components/legacy/utils/teammate.js +1 -0
  646. package/dist/src/core/components/legacy/utils/teammate.js.js +2 -0
  647. package/dist/src/core/components/legacy/utils/teammateContext.js +1 -0
  648. package/dist/src/core/components/legacy/utils/teammateContext.js.js +2 -0
  649. package/dist/src/core/components/legacy/utils/teammateMailbox.js +1 -0
  650. package/dist/src/core/components/legacy/utils/teammateMailbox.js.js +2 -0
  651. package/dist/src/core/components/legacy/utils/telemetry/events.js +1 -0
  652. package/dist/src/core/components/legacy/utils/telemetry/events.js.js +2 -0
  653. package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js +1 -0
  654. package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js.js +2 -0
  655. package/dist/src/core/components/legacy/utils/teleport/environments.js +1 -0
  656. package/dist/src/core/components/legacy/utils/teleport/environments.js.js +2 -0
  657. package/dist/src/core/components/legacy/utils/textHighlighting.js +1 -0
  658. package/dist/src/core/components/legacy/utils/textHighlighting.js.js +2 -0
  659. package/dist/src/core/components/legacy/utils/theme.js +1 -0
  660. package/dist/src/core/components/legacy/utils/theme.js.js +2 -0
  661. package/dist/src/core/components/legacy/utils/thinking.js +1 -0
  662. package/dist/src/core/components/legacy/utils/thinking.js.js +2 -0
  663. package/dist/src/core/components/legacy/utils/tokenBudget.js +1 -0
  664. package/dist/src/core/components/legacy/utils/tokenBudget.js.js +2 -0
  665. package/dist/src/core/components/legacy/utils/tokens.js +1 -0
  666. package/dist/src/core/components/legacy/utils/tokens.js.js +2 -0
  667. package/dist/src/core/components/legacy/utils/transcriptSearch.js +1 -0
  668. package/dist/src/core/components/legacy/utils/transcriptSearch.js.js +2 -0
  669. package/dist/src/core/components/legacy/utils/ultraplan/keyword.js +1 -0
  670. package/dist/src/core/components/legacy/utils/ultraplan/keyword.js.js +2 -0
  671. package/dist/src/core/components/legacy/utils/undercover.js +1 -0
  672. package/dist/src/core/components/legacy/utils/undercover.js.js +2 -0
  673. package/dist/src/core/components/legacy/utils/worktree.js +1 -0
  674. package/dist/src/core/components/legacy/utils/worktree.js.js +2 -0
  675. package/dist/src/core/context/legacy/state/AppState.js +1 -0
  676. package/dist/src/core/context/legacy/state/AppState.js.js +1 -0
  677. package/dist/src/core/context/legacy/state/store.js +1 -0
  678. package/dist/src/core/context/legacy/state/store.js.js +1 -0
  679. package/dist/src/core/context/legacy/utils/config.js +1 -0
  680. package/dist/src/core/context/legacy/utils/config.js.js +1 -0
  681. package/dist/src/core/context/legacy/utils/fpsTracker.js +1 -0
  682. package/dist/src/core/context/legacy/utils/fpsTracker.js.js +1 -0
  683. package/dist/src/core/context/legacy/utils/mailbox.js +1 -0
  684. package/dist/src/core/context/legacy/utils/mailbox.js.js +1 -0
  685. package/dist/src/core/context/legacy/utils/theme.js +1 -0
  686. package/dist/src/core/context/legacy/utils/theme.js.js +1 -0
  687. package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js +1 -0
  688. package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js.js +1 -0
  689. package/dist/src/core/coordinator/legacy/services/analytics/index.js +1 -0
  690. package/dist/src/core/coordinator/legacy/services/analytics/index.js.js +1 -0
  691. package/dist/src/core/coordinator/legacy/utils/envUtils.js +1 -0
  692. package/dist/src/core/coordinator/legacy/utils/envUtils.js.js +1 -0
  693. package/dist/src/core/fast/cliAdapter.js +1 -0
  694. package/dist/src/core/fast/legacy/cliAdapter.impl.js +17 -0
  695. package/dist/src/core/fast/runtime.js +17 -0
  696. package/dist/src/core/fast/runtime.smoke.js +36 -0
  697. package/dist/src/core/feedback/cliAdapter.js +1 -0
  698. package/dist/src/core/feedback/legacy/cliAdapter.impl.js +4 -0
  699. package/dist/src/core/feedback/runtime.js +11 -0
  700. package/dist/src/core/hooks/legacy/bootstrap/state.js +3 -0
  701. package/dist/src/core/hooks/legacy/context/mailbox.js +3 -0
  702. package/dist/src/core/hooks/legacy/context/notifications.js +3 -0
  703. package/dist/src/core/hooks/legacy/context/overlayContext.js +3 -0
  704. package/dist/src/core/hooks/legacy/context/voice.js +3 -0
  705. package/dist/src/core/hooks/legacy/services/PromptSuggestion/speculation.js +3 -0
  706. package/dist/src/core/hooks/legacy/services/analytics/growthbook.js +3 -0
  707. package/dist/src/core/hooks/legacy/services/analytics/index.js +3 -0
  708. package/dist/src/core/hooks/legacy/services/api/claude.js +3 -0
  709. package/dist/src/core/hooks/legacy/services/awaySummary.js +3 -0
  710. package/dist/src/core/hooks/legacy/services/localDictation.js +3 -0
  711. package/dist/src/core/hooks/legacy/services/lsp/manager.js +3 -0
  712. package/dist/src/core/hooks/legacy/services/mcp/channelNotification.js +3 -0
  713. package/dist/src/core/hooks/legacy/services/mcp/channelPermissions.js +3 -0
  714. package/dist/src/core/hooks/legacy/services/mcp/claudeai.js +3 -0
  715. package/dist/src/core/hooks/legacy/services/mcp/client.js +3 -0
  716. package/dist/src/core/hooks/legacy/services/mcp/types.js +3 -0
  717. package/dist/src/core/hooks/legacy/services/notifier.js +3 -0
  718. package/dist/src/core/hooks/legacy/services/voice.js +1 -0
  719. package/dist/src/core/hooks/legacy/services/voice.js.js +1 -0
  720. package/dist/src/core/hooks/legacy/state/AppState.js +3 -0
  721. package/dist/src/core/hooks/legacy/state/AppStateStore.js +3 -0
  722. package/dist/src/core/hooks/legacy/state/teammateViewHelpers.js +3 -0
  723. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +3 -0
  724. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +1 -0
  725. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/types.js +3 -0
  726. package/dist/src/core/hooks/legacy/tasks/LocalAgentTask/LocalAgentTask.js +3 -0
  727. package/dist/src/core/hooks/legacy/tasks/types.js +3 -0
  728. package/dist/src/core/hooks/legacy/utils/Cursor.js +3 -0
  729. package/dist/src/core/hooks/legacy/utils/QueryGuard.js +3 -0
  730. package/dist/src/core/hooks/legacy/utils/agentSwarmsEnabled.js +3 -0
  731. package/dist/src/core/hooks/legacy/utils/argumentSubstitution.js +3 -0
  732. package/dist/src/core/hooks/legacy/utils/array.js +3 -0
  733. package/dist/src/core/hooks/legacy/utils/auth.js +3 -0
  734. package/dist/src/core/hooks/legacy/utils/autoModeDenials.js +3 -0
  735. package/dist/src/core/hooks/legacy/utils/bash/shellCompletion.js +3 -0
  736. package/dist/src/core/hooks/legacy/utils/classifierApprovals.js +3 -0
  737. package/dist/src/core/hooks/legacy/utils/claudeCodeHints.js +3 -0
  738. package/dist/src/core/hooks/legacy/utils/claudeInChrome/common.js +3 -0
  739. package/dist/src/core/hooks/legacy/utils/claudeInChrome/setup.js +3 -0
  740. package/dist/src/core/hooks/legacy/utils/cliHighlight.js +3 -0
  741. package/dist/src/core/hooks/legacy/utils/config.js +3 -0
  742. package/dist/src/core/hooks/legacy/utils/cronJitterConfig.js +3 -0
  743. package/dist/src/core/hooks/legacy/utils/cronScheduler.js +3 -0
  744. package/dist/src/core/hooks/legacy/utils/cronTasks.js +3 -0
  745. package/dist/src/core/hooks/legacy/utils/cwd.js +3 -0
  746. package/dist/src/core/hooks/legacy/utils/debug.js +3 -0
  747. package/dist/src/core/hooks/legacy/utils/diagLogs.js +3 -0
  748. package/dist/src/core/hooks/legacy/utils/diff.js +3 -0
  749. package/dist/src/core/hooks/legacy/utils/env.js +3 -0
  750. package/dist/src/core/hooks/legacy/utils/envUtils.js +3 -0
  751. package/dist/src/core/hooks/legacy/utils/errors.js +3 -0
  752. package/dist/src/core/hooks/legacy/utils/execFileNoThrow.js +3 -0
  753. package/dist/src/core/hooks/legacy/utils/fileHistory.js +3 -0
  754. package/dist/src/core/hooks/legacy/utils/format.js +3 -0
  755. package/dist/src/core/hooks/legacy/utils/fsOperations.js +3 -0
  756. package/dist/src/core/hooks/legacy/utils/fullscreen.js +3 -0
  757. package/dist/src/core/hooks/legacy/utils/ghPrStatus.js +3 -0
  758. package/dist/src/core/hooks/legacy/utils/git.js +3 -0
  759. package/dist/src/core/hooks/legacy/utils/gitDiff.js +3 -0
  760. package/dist/src/core/hooks/legacy/utils/gracefulShutdown.js +3 -0
  761. package/dist/src/core/hooks/legacy/utils/handlePromptSubmit.js +3 -0
  762. package/dist/src/core/hooks/legacy/utils/hooks/skillImprovement.js +3 -0
  763. package/dist/src/core/hooks/legacy/utils/hooks.js +3 -0
  764. package/dist/src/core/hooks/legacy/utils/ide.js +3 -0
  765. package/dist/src/core/hooks/legacy/utils/idePathConversion.js +3 -0
  766. package/dist/src/core/hooks/legacy/utils/imagePaste.js +3 -0
  767. package/dist/src/core/hooks/legacy/utils/imageResizer.js +3 -0
  768. package/dist/src/core/hooks/legacy/utils/inProcessTeammateHelpers.js +3 -0
  769. package/dist/src/core/hooks/legacy/utils/intl.js +3 -0
  770. package/dist/src/core/hooks/legacy/utils/lazySchema.js +3 -0
  771. package/dist/src/core/hooks/legacy/utils/log.js +3 -0
  772. package/dist/src/core/hooks/legacy/utils/messageQueueManager.js +3 -0
  773. package/dist/src/core/hooks/legacy/utils/messages/systemInit.js +3 -0
  774. package/dist/src/core/hooks/legacy/utils/messages.js +3 -0
  775. package/dist/src/core/hooks/legacy/utils/model/model.js +3 -0
  776. package/dist/src/core/hooks/legacy/utils/model/providerProfiles.js +3 -0
  777. package/dist/src/core/hooks/legacy/utils/modifiers.js +3 -0
  778. package/dist/src/core/hooks/legacy/utils/path.js +3 -0
  779. package/dist/src/core/hooks/legacy/utils/permissions/PermissionMode.js +3 -0
  780. package/dist/src/core/hooks/legacy/utils/permissions/PermissionResult.js +3 -0
  781. package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdate.js +3 -0
  782. package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdateSchema.js +3 -0
  783. package/dist/src/core/hooks/legacy/utils/permissions/permissionSetup.js +3 -0
  784. package/dist/src/core/hooks/legacy/utils/permissions/permissions.js +3 -0
  785. package/dist/src/core/hooks/legacy/utils/platform.js +3 -0
  786. package/dist/src/core/hooks/legacy/utils/plugins/hintRecommendation.js +3 -0
  787. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginAgents.js +3 -0
  788. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginCommands.js +3 -0
  789. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginHooks.js +3 -0
  790. package/dist/src/core/hooks/legacy/utils/plugins/lspPluginIntegration.js +3 -0
  791. package/dist/src/core/hooks/legacy/utils/plugins/lspRecommendation.js +3 -0
  792. package/dist/src/core/hooks/legacy/utils/plugins/marketplaceManager.js +3 -0
  793. package/dist/src/core/hooks/legacy/utils/plugins/mcpPluginIntegration.js +3 -0
  794. package/dist/src/core/hooks/legacy/utils/plugins/officialMarketplaceStartupCheck.js +3 -0
  795. package/dist/src/core/hooks/legacy/utils/plugins/pluginAutoupdate.js +3 -0
  796. package/dist/src/core/hooks/legacy/utils/plugins/pluginBlocklist.js +3 -0
  797. package/dist/src/core/hooks/legacy/utils/plugins/pluginFlagging.js +3 -0
  798. package/dist/src/core/hooks/legacy/utils/plugins/pluginInstallationHelpers.js +3 -0
  799. package/dist/src/core/hooks/legacy/utils/plugins/pluginLoader.js +3 -0
  800. package/dist/src/core/hooks/legacy/utils/queueProcessor.js +3 -0
  801. package/dist/src/core/hooks/legacy/utils/ripgrep.js +3 -0
  802. package/dist/src/core/hooks/legacy/utils/sandbox/sandbox-adapter.js +3 -0
  803. package/dist/src/core/hooks/legacy/utils/sdkEventQueue.js +3 -0
  804. package/dist/src/core/hooks/legacy/utils/sessionStorage.js +3 -0
  805. package/dist/src/core/hooks/legacy/utils/sessionTitle.js +3 -0
  806. package/dist/src/core/hooks/legacy/utils/settings/allErrors.js +3 -0
  807. package/dist/src/core/hooks/legacy/utils/settings/changeDetector.js +3 -0
  808. package/dist/src/core/hooks/legacy/utils/settings/constants.js +3 -0
  809. package/dist/src/core/hooks/legacy/utils/settings/settings.js +3 -0
  810. package/dist/src/core/hooks/legacy/utils/settings/types.js +3 -0
  811. package/dist/src/core/hooks/legacy/utils/settings/validation.js +3 -0
  812. package/dist/src/core/hooks/legacy/utils/signal.js +3 -0
  813. package/dist/src/core/hooks/legacy/utils/skills/skillChangeDetector.js +3 -0
  814. package/dist/src/core/hooks/legacy/utils/slowOperations.js +3 -0
  815. package/dist/src/core/hooks/legacy/utils/stringUtils.js +3 -0
  816. package/dist/src/core/hooks/legacy/utils/suggestions/commandSuggestions.js +3 -0
  817. package/dist/src/core/hooks/legacy/utils/suggestions/directoryCompletion.js +3 -0
  818. package/dist/src/core/hooks/legacy/utils/suggestions/shellHistoryCompletion.js +3 -0
  819. package/dist/src/core/hooks/legacy/utils/suggestions/slackChannelSuggestions.js +3 -0
  820. package/dist/src/core/hooks/legacy/utils/swarm/backends/detection.js +3 -0
  821. package/dist/src/core/hooks/legacy/utils/swarm/backends/registry.js +3 -0
  822. package/dist/src/core/hooks/legacy/utils/swarm/backends/types.js +3 -0
  823. package/dist/src/core/hooks/legacy/utils/swarm/constants.js +3 -0
  824. package/dist/src/core/hooks/legacy/utils/swarm/leaderPermissionBridge.js +3 -0
  825. package/dist/src/core/hooks/legacy/utils/swarm/permissionSync.js +3 -0
  826. package/dist/src/core/hooks/legacy/utils/swarm/reconnection.js +3 -0
  827. package/dist/src/core/hooks/legacy/utils/swarm/teamHelpers.js +3 -0
  828. package/dist/src/core/hooks/legacy/utils/swarm/teammateInit.js +3 -0
  829. package/dist/src/core/hooks/legacy/utils/tasks.js +3 -0
  830. package/dist/src/core/hooks/legacy/utils/teammate.js +3 -0
  831. package/dist/src/core/hooks/legacy/utils/teammateContext.js +3 -0
  832. package/dist/src/core/hooks/legacy/utils/teammateMailbox.js +3 -0
  833. package/dist/src/core/hooks/legacy/utils/telemetry/events.js +3 -0
  834. package/dist/src/core/hooks/legacy/utils/teleport/api.js +3 -0
  835. package/dist/src/core/hooks/legacy/utils/teleport.js +3 -0
  836. package/dist/src/core/hooks/legacy/utils/terminalPanel.js +3 -0
  837. package/dist/src/core/hooks/legacy/utils/theme.js +3 -0
  838. package/dist/src/core/hooks/legacy/utils/toolPool.js +3 -0
  839. package/dist/src/core/hooks/legacy/utils/workloadContext.js +3 -0
  840. package/dist/src/core/ink/legacy/bootstrap/state.js +1 -0
  841. package/dist/src/core/ink/legacy/hooks/use-terminal-focus.js +1 -0
  842. package/dist/src/core/ink/legacy/utils/debug.js +1 -0
  843. package/dist/src/core/ink/legacy/utils/earlyInput.js +1 -0
  844. package/dist/src/core/ink/legacy/utils/env.js +1 -0
  845. package/dist/src/core/ink/legacy/utils/envUtils.js +1 -0
  846. package/dist/src/core/ink/legacy/utils/execFileNoThrow.js +1 -0
  847. package/dist/src/core/ink/legacy/utils/fullscreen.js +1 -0
  848. package/dist/src/core/ink/legacy/utils/intl.js +1 -0
  849. package/dist/src/core/ink/legacy/utils/log.js +1 -0
  850. package/dist/src/core/insights/insightsCommand.js +2555 -0
  851. package/dist/src/core/integration/chromeCliAdapter.js +1 -0
  852. package/dist/src/core/integration/chromeCore.js +24 -0
  853. package/dist/src/core/integration/commitPushPrCommand.js +16 -0
  854. package/dist/src/core/integration/ideCliAdapter.js +1 -0
  855. package/dist/src/core/integration/ideCore.js +13 -0
  856. package/dist/src/core/integration/ideCore.smoke.js +15 -0
  857. package/dist/src/core/integration/installCliAdapter.js +3 -0
  858. package/dist/src/core/integration/installGithubAppCliAdapter.js +1 -0
  859. package/dist/src/core/integration/installSlackAppCliAdapter.js +1 -0
  860. package/dist/src/core/integration/installSlackAppCore.js +7 -0
  861. package/dist/src/core/integration/legacy/chromeCliAdapter.impl.js +13 -0
  862. package/dist/src/core/integration/legacy/ideCliAdapter.impl.js +8 -0
  863. package/dist/src/core/integration/legacy/installGithubAppCliAdapter.impl.js +18 -0
  864. package/dist/src/core/integration/legacy/installSlackAppCliAdapter.impl.js +4 -0
  865. package/dist/src/core/integration/legacy/oauthFlowCliAdapter.impl.js +12 -0
  866. package/dist/src/core/integration/legacy/services/mcp/types.js +1 -0
  867. package/dist/src/core/integration/legacy/setupGithubActionsCliAdapter.impl.js +10 -0
  868. package/dist/src/core/integration/legacy/stickersCliAdapter.impl.js +2 -0
  869. package/dist/src/core/integration/legacy/upgradeCliAdapter.impl.js +11 -0
  870. package/dist/src/core/integration/legacy/upgradeIndexCliAdapter.impl.js +6 -0
  871. package/dist/src/core/integration/legacy/utils/ide.js +1 -0
  872. package/dist/src/core/integration/legacy/whatsappCliAdapter.impl.js +2 -0
  873. package/dist/src/core/integration/oauthFlowCliAdapter.js +1 -0
  874. package/dist/src/core/integration/runtime.smoke.js +20 -0
  875. package/dist/src/core/integration/setupGithubActionsCliAdapter.js +1 -0
  876. package/dist/src/core/integration/stickersCliAdapter.js +1 -0
  877. package/dist/src/core/integration/upgradeCliAdapter.js +1 -0
  878. package/dist/src/core/integration/upgradeCore.js +18 -0
  879. package/dist/src/core/integration/upgradeIndexCliAdapter.js +1 -0
  880. package/dist/src/core/integration/upgradeIndexCore.js +3 -0
  881. package/dist/src/core/integration/whatsappCliAdapter.js +1 -0
  882. package/dist/src/core/mcp/addCliAdapter.js +1 -0
  883. package/dist/src/core/mcp/addCore.js +85 -0
  884. package/dist/src/core/mcp/addCore.smoke.js +18 -0
  885. package/dist/src/core/mcp/cliAdapter.js +1 -0
  886. package/dist/src/core/mcp/legacy/addCliAdapter.impl.js +7 -0
  887. package/dist/src/core/mcp/legacy/cliAdapter.impl.js +3 -0
  888. package/dist/src/core/mcp/legacy/services/analytics/index.js +1 -0
  889. package/dist/src/core/mcp/legacy/services/mcp/MCPConnectionManager.js +1 -0
  890. package/dist/src/core/mcp/legacy/services/mcp/auth.js +1 -0
  891. package/dist/src/core/mcp/legacy/services/mcp/config.js +1 -0
  892. package/dist/src/core/mcp/legacy/services/mcp/mcpStringUtils.js +1 -0
  893. package/dist/src/core/mcp/legacy/services/mcp/types.js +1 -0
  894. package/dist/src/core/mcp/legacy/services/mcp/utils.js +1 -0
  895. package/dist/src/core/mcp/legacy/services/mcp/xaaIdpLogin.js +1 -0
  896. package/dist/src/core/mcp/legacy/state/AppState.js +1 -0
  897. package/dist/src/core/mcp/legacy/utils/envUtils.js +1 -0
  898. package/dist/src/core/mcp/legacy/utils/errors.js +1 -0
  899. package/dist/src/core/mcp/legacy/utils/settings/settings.js +1 -0
  900. package/dist/src/core/mcp/legacy/xaaIdpCliAdapter.impl.js +4 -0
  901. package/dist/src/core/mcp/xaaIdpCliAdapter.js +1 -0
  902. package/dist/src/core/mcp/xaaIdpCore.js +30 -0
  903. package/dist/src/core/migrations/legacy/bootstrap/state.js +1 -0
  904. package/dist/src/core/migrations/legacy/services/analytics/index.js +1 -0
  905. package/dist/src/core/migrations/legacy/utils/auth.js +1 -0
  906. package/dist/src/core/migrations/legacy/utils/config.js +1 -0
  907. package/dist/src/core/migrations/legacy/utils/log.js +1 -0
  908. package/dist/src/core/migrations/legacy/utils/model/model.js +1 -0
  909. package/dist/src/core/migrations/legacy/utils/model/providers.js +1 -0
  910. package/dist/src/core/migrations/legacy/utils/permissions/permissionSetup.js +1 -0
  911. package/dist/src/core/migrations/legacy/utils/settings/settings.js +1 -0
  912. package/dist/src/core/native-ts/legacy/utils/log.js +1 -0
  913. package/dist/src/core/native-ts/legacy/utils/log.js.js +1 -0
  914. package/dist/src/core/outputStyles/legacy/utils/debug.js +1 -0
  915. package/dist/src/core/outputStyles/legacy/utils/debug.js.js +1 -0
  916. package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js +1 -0
  917. package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js.js +1 -0
  918. package/dist/src/core/outputStyles/legacy/utils/log.js +1 -0
  919. package/dist/src/core/outputStyles/legacy/utils/log.js.js +1 -0
  920. package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js +1 -0
  921. package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js.js +1 -0
  922. package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js +1 -0
  923. package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js.js +1 -0
  924. package/dist/src/core/passes/cliAdapter.js +1 -0
  925. package/dist/src/core/passes/indexCliAdapter.js +1 -0
  926. package/dist/src/core/passes/indexCore.js +9 -0
  927. package/dist/src/core/passes/legacy/cliAdapter.impl.js +2 -0
  928. package/dist/src/core/passes/legacy/deps.js +4 -0
  929. package/dist/src/core/passes/legacy/indexCliAdapter.impl.js +2 -0
  930. package/dist/src/core/passes/legacy/services/analytics/index.js +1 -0
  931. package/dist/src/core/passes/legacy/services/api/referral.js +1 -0
  932. package/dist/src/core/passes/legacy/utils/config.js +1 -0
  933. package/dist/src/core/passes/runtime.js +10 -0
  934. package/dist/src/core/permissions/legacy/messagesCliAdapter.impl.js +2 -0
  935. package/dist/src/core/permissions/legacy/sandboxToggleCliAdapter.impl.js +12 -0
  936. package/dist/src/core/permissions/messagesCliAdapter.js +1 -0
  937. package/dist/src/core/permissions/sandboxToggleCliAdapter.js +3 -0
  938. package/dist/src/core/plugins/addMarketplaceCore.js +30 -0
  939. package/dist/src/core/plugins/analyticsCliAdapter.js +1 -0
  940. package/dist/src/core/plugins/browseCore.js +38 -0
  941. package/dist/src/core/plugins/cliAdapter.js +3 -0
  942. package/dist/src/core/plugins/commandParser.js +65 -0
  943. package/dist/src/core/plugins/discoverCore.js +50 -0
  944. package/dist/src/core/plugins/legacy/cliAdapter.impl.js +2 -0
  945. package/dist/src/core/plugins/legacy/discoverCliAdapter.js +1 -0
  946. package/dist/src/core/plugins/legacy/reloadCliAdapter.impl.js +2 -0
  947. package/dist/src/core/plugins/legacy/thinkbackIndexCliAdapter.impl.js +2 -0
  948. package/dist/src/core/plugins/legacy/thinkbackPlayCliAdapter.impl.js +3 -0
  949. package/dist/src/core/plugins/legacy/utils/marketplaceHelpers.js +1 -0
  950. package/dist/src/core/plugins/legacy/utils/settings/settings.js +1 -0
  951. package/dist/src/core/plugins/legacy/utils/settings/settings.js.js +1 -0
  952. package/dist/src/core/plugins/managementCore.js +102 -0
  953. package/dist/src/core/plugins/marketplacesCore.js +76 -0
  954. package/dist/src/core/plugins/optionsCore.js +30 -0
  955. package/dist/src/core/plugins/reloadCliAdapter.js +1 -0
  956. package/dist/src/core/plugins/reloadCore.js +20 -0
  957. package/dist/src/core/plugins/reloadCore.smoke.js +27 -0
  958. package/dist/src/core/plugins/runtime.smoke.js +118 -0
  959. package/dist/src/core/plugins/settingsCore.js +43 -0
  960. package/dist/src/core/plugins/thinkbackCore.js +65 -0
  961. package/dist/src/core/plugins/thinkbackIndexCliAdapter.js +1 -0
  962. package/dist/src/core/plugins/thinkbackIndexCore.js +3 -0
  963. package/dist/src/core/plugins/thinkbackPlayCliAdapter.js +1 -0
  964. package/dist/src/core/plugins/thinkbackPlayCore.js +21 -0
  965. package/dist/src/core/plugins/validateCore.js +38 -0
  966. package/dist/src/core/providers/advisorCliAdapter.js +4 -0
  967. package/dist/src/core/providers/costCliAdapter.js +3 -0
  968. package/dist/src/core/providers/effortCliAdapter.js +1 -0
  969. package/dist/src/core/providers/effortIndexCliAdapter.js +1 -0
  970. package/dist/src/core/providers/legacy/cliAdapter.impl.js +72 -0
  971. package/dist/src/core/providers/legacy/costCliAdapter.impl.js +3 -0
  972. package/dist/src/core/providers/legacy/effortCliAdapter.impl.js +17 -0
  973. package/dist/src/core/providers/legacy/effortIndexCliAdapter.impl.js +2 -0
  974. package/dist/src/core/providers/legacy/hooks/useMainLoopModel.js +1 -0
  975. package/dist/src/core/providers/legacy/limitsCliAdapter.impl.js +2 -0
  976. package/dist/src/core/providers/legacy/modelCliAdapter.impl.js +26 -0
  977. package/dist/src/core/providers/legacy/modelCommandCliAdapter.impl.js +18 -0
  978. package/dist/src/core/providers/legacy/modelIndexCliAdapter.impl.js +7 -0
  979. package/dist/src/core/providers/legacy/policyCliAdapter.impl.js +3 -0
  980. package/dist/src/core/providers/legacy/profileCliAdapter.impl.js +210 -0
  981. package/dist/src/core/providers/legacy/rateLimitOptionsCliAdapter.impl.js +14 -0
  982. package/dist/src/core/providers/legacy/state/AppState.js +1 -0
  983. package/dist/src/core/providers/legacy/utils/auth.js +1 -0
  984. package/dist/src/core/providers/legacy/utils/config.js +1 -0
  985. package/dist/src/core/providers/legacy/utils/model/providerBaseUrls.js +1 -0
  986. package/dist/src/core/providers/legacy/utils/model/providerCatalog.js +1 -0
  987. package/dist/src/core/providers/legacy/utils/model/providerProfiles.js +1 -0
  988. package/dist/src/core/providers/legacy/utils/model/providerProfilesDb.js +1 -0
  989. package/dist/src/core/providers/legacy/utils/model/providerSwitch.js +1 -0
  990. package/dist/src/core/providers/legacy/utils/model/providers.js +1 -0
  991. package/dist/src/core/providers/legacy/utils/secureStorage/index.js +1 -0
  992. package/dist/src/core/providers/legacy/utils/secureStorage/sqliteStorage.js +1 -0
  993. package/dist/src/core/providers/limitsCliAdapter.js +1 -0
  994. package/dist/src/core/providers/modelCliAdapter.js +1 -0
  995. package/dist/src/core/providers/modelCommandCliAdapter.js +1 -0
  996. package/dist/src/core/providers/modelCore.js +69 -0
  997. package/dist/src/core/providers/modelCore.smoke.js +40 -0
  998. package/dist/src/core/providers/modelIndexCliAdapter.js +1 -0
  999. package/dist/src/core/providers/modelIndexCore.js +3 -0
  1000. package/dist/src/core/providers/policyCliAdapter.js +1 -0
  1001. package/dist/src/core/providers/policyCore.js +62 -0
  1002. package/dist/src/core/providers/profileCliAdapter.js +1 -0
  1003. package/dist/src/core/providers/profileCore.js +169 -0
  1004. package/dist/src/core/providers/profileCore.smoke.js +53 -0
  1005. package/dist/src/core/providers/providerCommandAdapter.js +10 -0
  1006. package/dist/src/core/providers/providerCommandCore.js +129 -0
  1007. package/dist/src/core/providers/providerCommandCore.smoke.js +6 -0
  1008. package/dist/src/core/providers/rateLimitOptionsCliAdapter.js +1 -0
  1009. package/dist/src/core/query/btwCliAdapter.js +1 -0
  1010. package/dist/src/core/query/btwCore.js +43 -0
  1011. package/dist/src/core/query/cliAdapter.js +1 -0
  1012. package/dist/src/core/query/legacy/btwCliAdapter.impl.js +37 -0
  1013. package/dist/src/core/query/legacy/cliAdapter.impl.js +30 -0
  1014. package/dist/src/core/query/legacy/context/modalContext.js +1 -0
  1015. package/dist/src/core/query/legacy/hooks/useTerminalSize.js +1 -0
  1016. package/dist/src/core/query/legacy/utils/abortController.js +1 -0
  1017. package/dist/src/core/query/legacy/utils/config.js +1 -0
  1018. package/dist/src/core/query/legacy/utils/errors.js +1 -0
  1019. package/dist/src/core/query/legacy/utils/forkedAgent.js +1 -0
  1020. package/dist/src/core/query/legacy/utils/messages.js +1 -0
  1021. package/dist/src/core/query/legacy/utils/processUserInput/processUserInput.js +1 -0
  1022. package/dist/src/core/query/legacy/utils/sideQuestion.js +1 -0
  1023. package/dist/src/core/query/legacy/utils/systemPromptType.js +1 -0
  1024. package/dist/src/core/query/runCommandCore.js +109 -0
  1025. package/dist/src/core/remoteEnv/indexCliAdapter.js +1 -0
  1026. package/dist/src/core/remoteEnv/indexCore.js +7 -0
  1027. package/dist/src/core/remoteEnv/legacy/indexCliAdapter.impl.js +6 -0
  1028. package/dist/src/core/remoteSetup/apiCore.js +115 -0
  1029. package/dist/src/core/remoteSetup/cliAdapter.js +1 -0
  1030. package/dist/src/core/remoteSetup/indexCliAdapter.js +1 -0
  1031. package/dist/src/core/remoteSetup/indexCore.js +9 -0
  1032. package/dist/src/core/remoteSetup/legacy/cliAdapter.impl.js +9 -0
  1033. package/dist/src/core/remoteSetup/legacy/indexCliAdapter.impl.js +6 -0
  1034. package/dist/src/core/remoteSetup/runtime.js +71 -0
  1035. package/dist/src/core/review/cliAdapter.js +1 -0
  1036. package/dist/src/core/review/legacy/cliAdapter.impl.js +11 -0
  1037. package/dist/src/core/review/runtime.js +66 -0
  1038. package/dist/src/core/review/runtime.smoke.js +31 -0
  1039. package/dist/src/core/run/cliAdapter.js +1 -0
  1040. package/dist/src/core/run/contracts.js +1 -0
  1041. package/dist/src/core/run/legacy/cliAdapter.impl.js +55 -0
  1042. package/dist/src/core/run/legacy/services/orchestration/policy/index.js +1 -0
  1043. package/dist/src/core/run/legacy/utils/model/providerCatalog.js +1 -0
  1044. package/dist/src/core/run/legacy/utils/orchestration/store/types.js +1 -0
  1045. package/dist/src/core/run/runtime.js +310 -0
  1046. package/dist/src/core/run/runtime.smoke.js +147 -0
  1047. package/dist/src/core/schemas/legacy/utils/lazySchema.js +1 -0
  1048. package/dist/src/core/schemas/legacy/utils/lazySchema.js.js +1 -0
  1049. package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js +1 -0
  1050. package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js.js +1 -0
  1051. package/dist/src/core/screens/legacy/bootstrap/state.js +1 -0
  1052. package/dist/src/core/screens/legacy/context/fpsMetrics.js +1 -0
  1053. package/dist/src/core/screens/legacy/context/modalStackContext.js +1 -0
  1054. package/dist/src/core/screens/legacy/context/notifications.js +1 -0
  1055. package/dist/src/core/screens/legacy/hooks/notifs/useSettingsErrors.js +1 -0
  1056. package/dist/src/core/screens/legacy/hooks/useAfterFirstRender.js +1 -0
  1057. package/dist/src/core/screens/legacy/hooks/useApiKeyVerification.js +1 -0
  1058. package/dist/src/core/screens/legacy/hooks/useAssistantHistory.js +1 -0
  1059. package/dist/src/core/screens/legacy/hooks/useBackgroundTaskNavigation.js +1 -0
  1060. package/dist/src/core/screens/legacy/hooks/useCanUseTool.js +2 -0
  1061. package/dist/src/core/screens/legacy/hooks/useCancelRequest.js +1 -0
  1062. package/dist/src/core/screens/legacy/hooks/useCommandKeybindings.js +1 -0
  1063. package/dist/src/core/screens/legacy/hooks/useCommandQueue.js +1 -0
  1064. package/dist/src/core/screens/legacy/hooks/useDeferredHookMessages.js +1 -0
  1065. package/dist/src/core/screens/legacy/hooks/useDirectConnect.js +1 -0
  1066. package/dist/src/core/screens/legacy/hooks/useGlobalKeybindings.js +1 -0
  1067. package/dist/src/core/screens/legacy/hooks/useIDEIntegration.js +1 -0
  1068. package/dist/src/core/screens/legacy/hooks/useIdeLogging.js +1 -0
  1069. package/dist/src/core/screens/legacy/hooks/useIdeSelection.js +1 -0
  1070. package/dist/src/core/screens/legacy/hooks/useInboxPoller.js +1 -0
  1071. package/dist/src/core/screens/legacy/hooks/useIssueFlagBanner.js +1 -0
  1072. package/dist/src/core/screens/legacy/hooks/useLogMessages.js +1 -0
  1073. package/dist/src/core/screens/legacy/hooks/useMailboxBridge.js +1 -0
  1074. package/dist/src/core/screens/legacy/hooks/useMainLoopModel.js +1 -0
  1075. package/dist/src/core/screens/legacy/hooks/useManagePlugins.js +1 -0
  1076. package/dist/src/core/screens/legacy/hooks/useMergedClients.js +1 -0
  1077. package/dist/src/core/screens/legacy/hooks/useMergedCommands.js +1 -0
  1078. package/dist/src/core/screens/legacy/hooks/useMergedTools.js +1 -0
  1079. package/dist/src/core/screens/legacy/hooks/useQueueProcessor.js +1 -0
  1080. package/dist/src/core/screens/legacy/hooks/useRemoteSession.js +1 -0
  1081. package/dist/src/core/screens/legacy/hooks/useReplBridge.js +1 -0
  1082. package/dist/src/core/screens/legacy/hooks/useSSHSession.js +1 -0
  1083. package/dist/src/core/screens/legacy/hooks/useScheduledTasks.js +1 -0
  1084. package/dist/src/core/screens/legacy/hooks/useSearchInput.js +1 -0
  1085. package/dist/src/core/screens/legacy/hooks/useSessionBackgrounding.js +1 -0
  1086. package/dist/src/core/screens/legacy/hooks/useSkillImprovementSurvey.js +1 -0
  1087. package/dist/src/core/screens/legacy/hooks/useSkillsChange.js +1 -0
  1088. package/dist/src/core/screens/legacy/hooks/useSwarmInitialization.js +1 -0
  1089. package/dist/src/core/screens/legacy/hooks/useTaskListWatcher.js +1 -0
  1090. package/dist/src/core/screens/legacy/hooks/useTasksV2.js +1 -0
  1091. package/dist/src/core/screens/legacy/hooks/useTeammateViewAutoExit.js +1 -0
  1092. package/dist/src/core/screens/legacy/hooks/useTelegramMirror.js +1 -0
  1093. package/dist/src/core/screens/legacy/hooks/useTerminalSize.js +1 -0
  1094. package/dist/src/core/screens/legacy/hooks/useVoiceIntegration.js +1 -0
  1095. package/dist/src/core/screens/legacy/hooks/useWhatsAppMirror.js +1 -0
  1096. package/dist/src/core/screens/legacy/services/PromptSuggestion/speculation.js +1 -0
  1097. package/dist/src/core/screens/legacy/services/analytics/index.js +1 -0
  1098. package/dist/src/core/screens/legacy/services/diagnosticTracking.js +1 -0
  1099. package/dist/src/core/screens/legacy/services/mcp/types.js +1 -0
  1100. package/dist/src/core/screens/legacy/services/notifier.js +1 -0
  1101. package/dist/src/core/screens/legacy/services/preventSleep.js +1 -0
  1102. package/dist/src/core/screens/legacy/state/AppState.js +1 -0
  1103. package/dist/src/core/screens/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1104. package/dist/src/core/screens/legacy/tasks/LocalMainSessionTask.js +1 -0
  1105. package/dist/src/core/screens/legacy/utils/QueryGuard.js +1 -0
  1106. package/dist/src/core/screens/legacy/utils/abortController.js +1 -0
  1107. package/dist/src/core/screens/legacy/utils/activityManager.js +1 -0
  1108. package/dist/src/core/screens/legacy/utils/agentSwarmsEnabled.js +1 -0
  1109. package/dist/src/core/screens/legacy/utils/agenticSessionSearch.js +1 -0
  1110. package/dist/src/core/screens/legacy/utils/array.js +1 -0
  1111. package/dist/src/core/screens/legacy/utils/asciicast.js +1 -0
  1112. package/dist/src/core/screens/legacy/utils/attachments.js +1 -0
  1113. package/dist/src/core/screens/legacy/utils/autoRunIssue.js +1 -0
  1114. package/dist/src/core/screens/legacy/utils/autoUpdater.js +1 -0
  1115. package/dist/src/core/screens/legacy/utils/backgroundHousekeeping.js +1 -0
  1116. package/dist/src/core/screens/legacy/utils/billing.js +1 -0
  1117. package/dist/src/core/screens/legacy/utils/claudemd.js +1 -0
  1118. package/dist/src/core/screens/legacy/utils/commitAttribution.js +1 -0
  1119. package/dist/src/core/screens/legacy/utils/concurrentSessions.js +1 -0
  1120. package/dist/src/core/screens/legacy/utils/config.js +1 -0
  1121. package/dist/src/core/screens/legacy/utils/conversationRecovery.js +1 -0
  1122. package/dist/src/core/screens/legacy/utils/crossProjectResume.js +1 -0
  1123. package/dist/src/core/screens/legacy/utils/debug.js +1 -0
  1124. package/dist/src/core/screens/legacy/utils/doctorContextWarnings.js +1 -0
  1125. package/dist/src/core/screens/legacy/utils/doctorDiagnostic.js +1 -0
  1126. package/dist/src/core/screens/legacy/utils/earlyInput.js +1 -0
  1127. package/dist/src/core/screens/legacy/utils/editor.js +1 -0
  1128. package/dist/src/core/screens/legacy/utils/effort.js +1 -0
  1129. package/dist/src/core/screens/legacy/utils/envUtils.js +1 -0
  1130. package/dist/src/core/screens/legacy/utils/envValidation.js +1 -0
  1131. package/dist/src/core/screens/legacy/utils/errors.js +1 -0
  1132. package/dist/src/core/screens/legacy/utils/exportRenderer.js +1 -0
  1133. package/dist/src/core/screens/legacy/utils/file.js +1 -0
  1134. package/dist/src/core/screens/legacy/utils/fileHistory.js +1 -0
  1135. package/dist/src/core/screens/legacy/utils/fileStateCache.js +1 -0
  1136. package/dist/src/core/screens/legacy/utils/format.js +1 -0
  1137. package/dist/src/core/screens/legacy/utils/fullscreen.js +1 -0
  1138. package/dist/src/core/screens/legacy/utils/gracefulShutdown.js +1 -0
  1139. package/dist/src/core/screens/legacy/utils/handlePromptSubmit.js +1 -0
  1140. package/dist/src/core/screens/legacy/utils/hooks.js +1 -0
  1141. package/dist/src/core/screens/legacy/utils/ide.js +1 -0
  1142. package/dist/src/core/screens/legacy/utils/log.js +1 -0
  1143. package/dist/src/core/screens/legacy/utils/messagePredicates.js +1 -0
  1144. package/dist/src/core/screens/legacy/utils/messageQueueManager.js +1 -0
  1145. package/dist/src/core/screens/legacy/utils/messages.js +1 -0
  1146. package/dist/src/core/screens/legacy/utils/nativeInstaller/pidLock.js +1 -0
  1147. package/dist/src/core/screens/legacy/utils/permissions/PermissionUpdate.js +1 -0
  1148. package/dist/src/core/screens/legacy/utils/permissions/filesystem.js +1 -0
  1149. package/dist/src/core/screens/legacy/utils/permissions/permissionSetup.js +1 -0
  1150. package/dist/src/core/screens/legacy/utils/plans.js +1 -0
  1151. package/dist/src/core/screens/legacy/utils/processUserInput/processUserInput.js +1 -0
  1152. package/dist/src/core/screens/legacy/utils/promptCategory.js +1 -0
  1153. package/dist/src/core/screens/legacy/utils/queryHelpers.js +1 -0
  1154. package/dist/src/core/screens/legacy/utils/queryProfiler.js +1 -0
  1155. package/dist/src/core/screens/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  1156. package/dist/src/core/screens/legacy/utils/sessionRestore.js +1 -0
  1157. package/dist/src/core/screens/legacy/utils/sessionStart.js +1 -0
  1158. package/dist/src/core/screens/legacy/utils/sessionStorage.js +1 -0
  1159. package/dist/src/core/screens/legacy/utils/sessionTitle.js +1 -0
  1160. package/dist/src/core/screens/legacy/utils/settings/settings.js +1 -0
  1161. package/dist/src/core/screens/legacy/utils/shell/outputLimits.js +1 -0
  1162. package/dist/src/core/screens/legacy/utils/suggestions/shellHistoryCompletion.js +1 -0
  1163. package/dist/src/core/screens/legacy/utils/swarm/leaderPermissionBridge.js +1 -0
  1164. package/dist/src/core/screens/legacy/utils/swarm/permissionSync.js +1 -0
  1165. package/dist/src/core/screens/legacy/utils/swarm/teamHelpers.js +1 -0
  1166. package/dist/src/core/screens/legacy/utils/systemPrompt.js +1 -0
  1167. package/dist/src/core/screens/legacy/utils/task/outputFormatting.js +1 -0
  1168. package/dist/src/core/screens/legacy/utils/teammate.js +1 -0
  1169. package/dist/src/core/screens/legacy/utils/telemetry/sessionTracing.js +1 -0
  1170. package/dist/src/core/screens/legacy/utils/teleport/api.js +1 -0
  1171. package/dist/src/core/screens/legacy/utils/thinking.js +1 -0
  1172. package/dist/src/core/screens/legacy/utils/toolPool.js +1 -0
  1173. package/dist/src/core/screens/legacy/utils/toolResultStorage.js +1 -0
  1174. package/dist/src/core/screens/legacy/utils/undercover.js +1 -0
  1175. package/dist/src/core/screens/legacy/utils/worktree.js +1 -0
  1176. package/dist/src/core/screens/legacy/utils/xdg.js +1 -0
  1177. package/dist/src/core/screens/legacy/utils/xml.js +1 -0
  1178. package/dist/src/core/services/legacy/bootstrap/state.js +1 -0
  1179. package/dist/src/core/services/legacy/context/notifications.js +1 -0
  1180. package/dist/src/core/services/legacy/hooks/toolPermission/permissionLogging.js +1 -0
  1181. package/dist/src/core/services/legacy/hooks/useCanUseTool.js +1 -0
  1182. package/dist/src/core/services/legacy/hooks/useDiffData.js +1 -0
  1183. package/dist/src/core/services/legacy/hooks/useDiffInIDE.js +1 -0
  1184. package/dist/src/core/services/legacy/hooks/useElapsedTime.js +1 -0
  1185. package/dist/src/core/services/legacy/hooks/useMainLoopModel.js +1 -0
  1186. package/dist/src/core/services/legacy/hooks/useMergedTools.js +1 -0
  1187. package/dist/src/core/services/legacy/hooks/useNotifyAfterTimeout.js +1 -0
  1188. package/dist/src/core/services/legacy/hooks/useSearchInput.js +1 -0
  1189. package/dist/src/core/services/legacy/hooks/useSettingsChange.js +1 -0
  1190. package/dist/src/core/services/legacy/hooks/useTeleportResume.js +1 -0
  1191. package/dist/src/core/services/legacy/hooks/useTurnDiffs.js +1 -0
  1192. package/dist/src/core/services/legacy/hooks/useVimInput.js +1 -0
  1193. package/dist/src/core/services/legacy/hooks/useVirtualScroll.js +1 -0
  1194. package/dist/src/core/services/legacy/mcpCliAdapter.impl.js +36 -0
  1195. package/dist/src/core/services/legacy/oauth/client.js +1 -0
  1196. package/dist/src/core/services/legacy/oauth/types.js +1 -0
  1197. package/dist/src/core/services/legacy/pluginsCliAdapter.impl.js +23 -0
  1198. package/dist/src/core/services/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  1199. package/dist/src/core/services/legacy/services/analytics/growthbook.js +1 -0
  1200. package/dist/src/core/services/legacy/services/analytics.js +1 -0
  1201. package/dist/src/core/services/legacy/services/api/grove.js +1 -0
  1202. package/dist/src/core/services/legacy/services/autoDream/config.js +1 -0
  1203. package/dist/src/core/services/legacy/services/autoDream/consolidationLock.js +1 -0
  1204. package/dist/src/core/services/legacy/services/localDictation.js +1 -0
  1205. package/dist/src/core/services/legacy/services/lsp/manager.js +1 -0
  1206. package/dist/src/core/services/legacy/services/mcp/MCPConnectionManager.js +1 -0
  1207. package/dist/src/core/services/legacy/services/mcp/auth.js +1 -0
  1208. package/dist/src/core/services/legacy/services/mcp/client.js +1 -0
  1209. package/dist/src/core/services/legacy/services/mcp/config.js +1 -0
  1210. package/dist/src/core/services/legacy/services/mcp/elicitationHandler.js +1 -0
  1211. package/dist/src/core/services/legacy/services/mcp/mcpStringUtils.js +1 -0
  1212. package/dist/src/core/services/legacy/services/mcp/types.js +1 -0
  1213. package/dist/src/core/services/legacy/services/mcp/utils.js +1 -0
  1214. package/dist/src/core/services/legacy/services/policyLimits/index.js +1 -0
  1215. package/dist/src/core/services/legacy/services/remoteManagedSettings/index.js +1 -0
  1216. package/dist/src/core/services/legacy/services/voice.js +1 -0
  1217. package/dist/src/core/services/legacy/state/AppState.js +1 -0
  1218. package/dist/src/core/services/legacy/state/AppStateStore.js +1 -0
  1219. package/dist/src/core/services/legacy/state/selectors.js +1 -0
  1220. package/dist/src/core/services/legacy/state/store.js +1 -0
  1221. package/dist/src/core/services/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1222. package/dist/src/core/services/legacy/tasks/LocalShellTask/guards.js +1 -0
  1223. package/dist/src/core/services/legacy/utils/Shell.js +1 -0
  1224. package/dist/src/core/services/legacy/utils/abortController.js +1 -0
  1225. package/dist/src/core/services/legacy/utils/advisor.js +1 -0
  1226. package/dist/src/core/services/legacy/utils/agentContext.js +1 -0
  1227. package/dist/src/core/services/legacy/utils/agentSwarmsEnabled.js +1 -0
  1228. package/dist/src/core/services/legacy/utils/api.js +1 -0
  1229. package/dist/src/core/services/legacy/utils/apiPreconnect.js +1 -0
  1230. package/dist/src/core/services/legacy/utils/array.js +1 -0
  1231. package/dist/src/core/services/legacy/utils/attachments.js +1 -0
  1232. package/dist/src/core/services/legacy/utils/attributionHooks.js +1 -0
  1233. package/dist/src/core/services/legacy/utils/auth.js +1 -0
  1234. package/dist/src/core/services/legacy/utils/aws.js +1 -0
  1235. package/dist/src/core/services/legacy/utils/betas.js +1 -0
  1236. package/dist/src/core/services/legacy/utils/billing.js +1 -0
  1237. package/dist/src/core/services/legacy/utils/browser.js +1 -0
  1238. package/dist/src/core/services/legacy/utils/caCertsConfig.js +1 -0
  1239. package/dist/src/core/services/legacy/utils/classifierApprovals.js +1 -0
  1240. package/dist/src/core/services/legacy/utils/claudeInChrome/chromeNativeHost.js +1 -0
  1241. package/dist/src/core/services/legacy/utils/claudeInChrome/common.js +1 -0
  1242. package/dist/src/core/services/legacy/utils/claudeInChrome/mcpServer.js +1 -0
  1243. package/dist/src/core/services/legacy/utils/claudeInChrome/prompt.js +1 -0
  1244. package/dist/src/core/services/legacy/utils/claudeInChrome/toolRendering.js +1 -0
  1245. package/dist/src/core/services/legacy/utils/claudemd.js +1 -0
  1246. package/dist/src/core/services/legacy/utils/cleanupRegistry.js +1 -0
  1247. package/dist/src/core/services/legacy/utils/computerControlMcp/common.js +1 -0
  1248. package/dist/src/core/services/legacy/utils/computerUse/common.js +1 -0
  1249. package/dist/src/core/services/legacy/utils/computerUse/mcpServer.js +1 -0
  1250. package/dist/src/core/services/legacy/utils/computerUse/wrapper.js +1 -0
  1251. package/dist/src/core/services/legacy/utils/concurrentSessions.js +1 -0
  1252. package/dist/src/core/services/legacy/utils/config.js +1 -0
  1253. package/dist/src/core/services/legacy/utils/contentArray.js +1 -0
  1254. package/dist/src/core/services/legacy/utils/context.js +1 -0
  1255. package/dist/src/core/services/legacy/utils/contextAnalysis.js +1 -0
  1256. package/dist/src/core/services/legacy/utils/cwd.js +1 -0
  1257. package/dist/src/core/services/legacy/utils/databaseMcp/common.js +1 -0
  1258. package/dist/src/core/services/legacy/utils/databaseMcp/mcpServer.js +1 -0
  1259. package/dist/src/core/services/legacy/utils/debug.js +1 -0
  1260. package/dist/src/core/services/legacy/utils/detectRepository.js +1 -0
  1261. package/dist/src/core/services/legacy/utils/diagLogs.js +1 -0
  1262. package/dist/src/core/services/legacy/utils/earlyInput.js +1 -0
  1263. package/dist/src/core/services/legacy/utils/effort.js +1 -0
  1264. package/dist/src/core/services/legacy/utils/env.js +1 -0
  1265. package/dist/src/core/services/legacy/utils/envDynamic.js +1 -0
  1266. package/dist/src/core/services/legacy/utils/envUtils.js +1 -0
  1267. package/dist/src/core/services/legacy/utils/envValidation.js +1 -0
  1268. package/dist/src/core/services/legacy/utils/errors.js +1 -0
  1269. package/dist/src/core/services/legacy/utils/execFileNoThrow.js +1 -0
  1270. package/dist/src/core/services/legacy/utils/fastMode.js +1 -0
  1271. package/dist/src/core/services/legacy/utils/file.js +1 -0
  1272. package/dist/src/core/services/legacy/utils/fileRead.js +1 -0
  1273. package/dist/src/core/services/legacy/utils/fileStateCache.js +1 -0
  1274. package/dist/src/core/services/legacy/utils/fingerprint.js +1 -0
  1275. package/dist/src/core/services/legacy/utils/forkedAgent.js +1 -0
  1276. package/dist/src/core/services/legacy/utils/format.js +1 -0
  1277. package/dist/src/core/services/legacy/utils/fsOperations.js +1 -0
  1278. package/dist/src/core/services/legacy/utils/generators.js +1 -0
  1279. package/dist/src/core/services/legacy/utils/genericProcessUtils.js +1 -0
  1280. package/dist/src/core/services/legacy/utils/git.js +1 -0
  1281. package/dist/src/core/services/legacy/utils/gracefulShutdown.js +1 -0
  1282. package/dist/src/core/services/legacy/utils/hash.js +1 -0
  1283. package/dist/src/core/services/legacy/utils/headlessProfiler.js +1 -0
  1284. package/dist/src/core/services/legacy/utils/hooks/postSamplingHooks.js +1 -0
  1285. package/dist/src/core/services/legacy/utils/hooks.js +1 -0
  1286. package/dist/src/core/services/legacy/utils/http.js +1 -0
  1287. package/dist/src/core/services/legacy/utils/ide.js +1 -0
  1288. package/dist/src/core/services/legacy/utils/imageResizer.js +1 -0
  1289. package/dist/src/core/services/legacy/utils/imageValidation.js +1 -0
  1290. package/dist/src/core/services/legacy/utils/json.js +1 -0
  1291. package/dist/src/core/services/legacy/utils/jsonRead.js +1 -0
  1292. package/dist/src/core/services/legacy/utils/lazySchema.js +1 -0
  1293. package/dist/src/core/services/legacy/utils/listSessionsImpl.js +1 -0
  1294. package/dist/src/core/services/legacy/utils/log.js +1 -0
  1295. package/dist/src/core/services/legacy/utils/managedEnv.js +1 -0
  1296. package/dist/src/core/services/legacy/utils/mcpInstructionsDelta.js +1 -0
  1297. package/dist/src/core/services/legacy/utils/memoize.js +1 -0
  1298. package/dist/src/core/services/legacy/utils/memory/types.js +1 -0
  1299. package/dist/src/core/services/legacy/utils/messageQueueManager.js +1 -0
  1300. package/dist/src/core/services/legacy/utils/messages.js +1 -0
  1301. package/dist/src/core/services/legacy/utils/model/bedrock.js +1 -0
  1302. package/dist/src/core/services/legacy/utils/model/model.js +1 -0
  1303. package/dist/src/core/services/legacy/utils/model/modelStrings.js +1 -0
  1304. package/dist/src/core/services/legacy/utils/model/providerBaseUrls.js +1 -0
  1305. package/dist/src/core/services/legacy/utils/model/providerCatalog.js +1 -0
  1306. package/dist/src/core/services/legacy/utils/model/providerProfiles.js +1 -0
  1307. package/dist/src/core/services/legacy/utils/model/providers.js +1 -0
  1308. package/dist/src/core/services/legacy/utils/modelCost.js +1 -0
  1309. package/dist/src/core/services/legacy/utils/mtls.js +1 -0
  1310. package/dist/src/core/services/legacy/utils/orchestration/store/index.js +1 -0
  1311. package/dist/src/core/services/legacy/utils/orchestration/store/orchestrationDb.js +1 -0
  1312. package/dist/src/core/services/legacy/utils/orchestration/store/providerAgentStore.js +1 -0
  1313. package/dist/src/core/services/legacy/utils/orchestration/store/providerWorkspaceStore.js +1 -0
  1314. package/dist/src/core/services/legacy/utils/orchestration/store/runStore.js +1 -0
  1315. package/dist/src/core/services/legacy/utils/orchestration/store/teamStore.js +1 -0
  1316. package/dist/src/core/services/legacy/utils/orchestration/store/types.js +1 -0
  1317. package/dist/src/core/services/legacy/utils/path.js +1 -0
  1318. package/dist/src/core/services/legacy/utils/permissions/PermissionMode.js +1 -0
  1319. package/dist/src/core/services/legacy/utils/permissions/PermissionResult.js +1 -0
  1320. package/dist/src/core/services/legacy/utils/permissions/autoModeState.js +1 -0
  1321. package/dist/src/core/services/legacy/utils/permissions/filesystem.js +1 -0
  1322. package/dist/src/core/services/legacy/utils/permissions/permissions.js +1 -0
  1323. package/dist/src/core/services/legacy/utils/plans.js +1 -0
  1324. package/dist/src/core/services/legacy/utils/platform.js +1 -0
  1325. package/dist/src/core/services/legacy/utils/plugins/installedPluginsManager.js +1 -0
  1326. package/dist/src/core/services/legacy/utils/plugins/lspPluginIntegration.js +1 -0
  1327. package/dist/src/core/services/legacy/utils/plugins/marketplaceManager.js +1 -0
  1328. package/dist/src/core/services/legacy/utils/plugins/officialMarketplace.js +1 -0
  1329. package/dist/src/core/services/legacy/utils/plugins/pluginLoader.js +1 -0
  1330. package/dist/src/core/services/legacy/utils/privacyLevel.js +1 -0
  1331. package/dist/src/core/services/legacy/utils/process.js +1 -0
  1332. package/dist/src/core/services/legacy/utils/proxy.js +1 -0
  1333. package/dist/src/core/services/legacy/utils/queryHelpers.js +1 -0
  1334. package/dist/src/core/services/legacy/utils/queryProfiler.js +1 -0
  1335. package/dist/src/core/services/legacy/utils/renderOptions.js +1 -0
  1336. package/dist/src/core/services/legacy/utils/secureStorage/index.js +1 -0
  1337. package/dist/src/core/services/legacy/utils/sequential.js +1 -0
  1338. package/dist/src/core/services/legacy/utils/sessionActivity.js +1 -0
  1339. package/dist/src/core/services/legacy/utils/sessionIngressAuth.js +1 -0
  1340. package/dist/src/core/services/legacy/utils/sessionStart.js +1 -0
  1341. package/dist/src/core/services/legacy/utils/sessionStorage.js +1 -0
  1342. package/dist/src/core/services/legacy/utils/settings/changeDetector.js +1 -0
  1343. package/dist/src/core/services/legacy/utils/settings/internalWrites.js +1 -0
  1344. package/dist/src/core/services/legacy/utils/settings/settings.js +1 -0
  1345. package/dist/src/core/services/legacy/utils/settings/settingsCache.js +1 -0
  1346. package/dist/src/core/services/legacy/utils/settings/types.js +1 -0
  1347. package/dist/src/core/services/legacy/utils/shell/shellToolUtils.js +1 -0
  1348. package/dist/src/core/services/legacy/utils/signal.js +1 -0
  1349. package/dist/src/core/services/legacy/utils/sinks.js +1 -0
  1350. package/dist/src/core/services/legacy/utils/sleep.js +1 -0
  1351. package/dist/src/core/services/legacy/utils/slowOperations.js +1 -0
  1352. package/dist/src/core/services/legacy/utils/startupProfiler.js +1 -0
  1353. package/dist/src/core/services/legacy/utils/stream.js +1 -0
  1354. package/dist/src/core/services/legacy/utils/stringUtils.js +1 -0
  1355. package/dist/src/core/services/legacy/utils/subprocessEnv.js +1 -0
  1356. package/dist/src/core/services/legacy/utils/swarm/teamHelpers.js +1 -0
  1357. package/dist/src/core/services/legacy/utils/systemPromptType.js +1 -0
  1358. package/dist/src/core/services/legacy/utils/task/diskOutput.js +1 -0
  1359. package/dist/src/core/services/legacy/utils/teammate.js +1 -0
  1360. package/dist/src/core/services/legacy/utils/telemetry/betaSessionTracing.js +1 -0
  1361. package/dist/src/core/services/legacy/utils/telemetry/events.js +1 -0
  1362. package/dist/src/core/services/legacy/utils/telemetry/instrumentation.js +1 -0
  1363. package/dist/src/core/services/legacy/utils/telemetry/sessionTracing.js +1 -0
  1364. package/dist/src/core/services/legacy/utils/telemetryAttributes.js +1 -0
  1365. package/dist/src/core/services/legacy/utils/teleport/api.js +1 -0
  1366. package/dist/src/core/services/legacy/utils/thinking.js +1 -0
  1367. package/dist/src/core/services/legacy/utils/tokens.js +1 -0
  1368. package/dist/src/core/services/legacy/utils/toolErrors.js +1 -0
  1369. package/dist/src/core/services/legacy/utils/toolResultStorage.js +1 -0
  1370. package/dist/src/core/services/legacy/utils/toolSearch.js +1 -0
  1371. package/dist/src/core/services/legacy/utils/user.js +1 -0
  1372. package/dist/src/core/services/legacy/utils/userAgent.js +1 -0
  1373. package/dist/src/core/services/legacy/utils/windowsPaths.js +1 -0
  1374. package/dist/src/core/services/legacy/utils/worktree.js +1 -0
  1375. package/dist/src/core/services/legacy/utils/worktreeModeEnabled.js +1 -0
  1376. package/dist/src/core/services/legacy/utils/zodToJsonSchema.js +1 -0
  1377. package/dist/src/core/services/mcpCliAdapter.js +36 -0
  1378. package/dist/src/core/services/pluginsCliAdapter.js +23 -0
  1379. package/dist/src/core/session/addDirCliAdapter.js +1 -0
  1380. package/dist/src/core/session/addDirValidationCliAdapter.js +1 -0
  1381. package/dist/src/core/session/branchCliAdapter.js +1 -0
  1382. package/dist/src/core/session/branchCore.js +103 -0
  1383. package/dist/src/core/session/branchCore.smoke.js +20 -0
  1384. package/dist/src/core/session/briefCliAdapter.js +4 -0
  1385. package/dist/src/core/session/clearCachesCore.js +33 -0
  1386. package/dist/src/core/session/clearConversationCore.js +37 -0
  1387. package/dist/src/core/session/cliAdapter.js +2 -0
  1388. package/dist/src/core/session/colorCliAdapter.js +1 -0
  1389. package/dist/src/core/session/colorCore.js +7 -0
  1390. package/dist/src/core/session/compactCliAdapter.js +1 -0
  1391. package/dist/src/core/session/compactCore.js +112 -0
  1392. package/dist/src/core/session/contextCore.js +160 -0
  1393. package/dist/src/core/session/contextRenderCliAdapter.js +1 -0
  1394. package/dist/src/core/session/contracts.js +1 -0
  1395. package/dist/src/core/session/copyCliAdapter.js +1 -0
  1396. package/dist/src/core/session/exitCliAdapter.js +1 -0
  1397. package/dist/src/core/session/exportCliAdapter.js +1 -0
  1398. package/dist/src/core/session/exportCore.js +59 -0
  1399. package/dist/src/core/session/filesCliAdapter.js +1 -0
  1400. package/dist/src/core/session/generateSessionNameCliAdapter.js +1 -0
  1401. package/dist/src/core/session/generateSessionNameCore.js +46 -0
  1402. package/dist/src/core/session/generateSessionNameCore.smoke.js +23 -0
  1403. package/dist/src/core/session/heapdumpCliAdapter.js +1 -0
  1404. package/dist/src/core/session/initCliAdapter.js +1 -0
  1405. package/dist/src/core/session/keybindingsCliAdapter.js +1 -0
  1406. package/dist/src/core/session/legacy/addDirCliAdapter.impl.js +4 -0
  1407. package/dist/src/core/session/legacy/addDirValidationCliAdapter.impl.js +5 -0
  1408. package/dist/src/core/session/legacy/branchCliAdapter.impl.js +37 -0
  1409. package/dist/src/core/session/legacy/cliAdapter.impl.js +244 -0
  1410. package/dist/src/core/session/legacy/colorCliAdapter.impl.js +5 -0
  1411. package/dist/src/core/session/legacy/compactCliAdapter.impl.js +11 -0
  1412. package/dist/src/core/session/legacy/compactCliAdapter.js +9 -0
  1413. package/dist/src/core/session/legacy/contextCliAdapter.js +6 -0
  1414. package/dist/src/core/session/legacy/contextCollapseIndex.js +1 -0
  1415. package/dist/src/core/session/legacy/contextCollapseOperations.js +1 -0
  1416. package/dist/src/core/session/legacy/contextRenderCliAdapter.impl.js +2 -0
  1417. package/dist/src/core/session/legacy/copyCliAdapter.impl.js +5 -0
  1418. package/dist/src/core/session/legacy/exitCliAdapter.impl.js +4 -0
  1419. package/dist/src/core/session/legacy/exportCliAdapter.impl.js +4 -0
  1420. package/dist/src/core/session/legacy/filesCliAdapter.impl.js +3 -0
  1421. package/dist/src/core/session/legacy/generateSessionNameCliAdapter.impl.js +19 -0
  1422. package/dist/src/core/session/legacy/heapdumpCliAdapter.impl.js +2 -0
  1423. package/dist/src/core/session/legacy/keybindingsCliAdapter.impl.js +3 -0
  1424. package/dist/src/core/session/legacy/memoryCliAdapter.impl.js +26 -0
  1425. package/dist/src/core/session/legacy/planCliAdapter.impl.js +32 -0
  1426. package/dist/src/core/session/legacy/releaseNotesCliAdapter.impl.js +3 -0
  1427. package/dist/src/core/session/legacy/renameCliAdapter.impl.js +51 -0
  1428. package/dist/src/core/session/legacy/resumeCliAdapter.impl.js +96 -0
  1429. package/dist/src/core/session/legacy/resumeCommandCliAdapter.impl.js +7 -0
  1430. package/dist/src/core/session/legacy/resumeCoreCliAdapter.js +2 -0
  1431. package/dist/src/core/session/legacy/resumenCliAdapter.impl.js +3 -0
  1432. package/dist/src/core/session/legacy/sessionCliAdapter.impl.js +3 -0
  1433. package/dist/src/core/session/legacy/tagCliAdapter.impl.js +12 -0
  1434. package/dist/src/core/session/legacy/timelineCliAdapter.impl.js +4 -0
  1435. package/dist/src/core/session/legacy/vimCliAdapter.impl.js +3 -0
  1436. package/dist/src/core/session/memoryCliAdapter.js +1 -0
  1437. package/dist/src/core/session/memoryCore.js +44 -0
  1438. package/dist/src/core/session/planCliAdapter.js +1 -0
  1439. package/dist/src/core/session/planCore.js +11 -0
  1440. package/dist/src/core/session/preflight.smoke.js +153 -0
  1441. package/dist/src/core/session/releaseNotesCliAdapter.js +1 -0
  1442. package/dist/src/core/session/releaseNotesCore.js +17 -0
  1443. package/dist/src/core/session/renameCliAdapter.js +1 -0
  1444. package/dist/src/core/session/renameCore.js +26 -0
  1445. package/dist/src/core/session/resumeCliAdapter.js +1 -0
  1446. package/dist/src/core/session/resumeCommandCliAdapter.js +1 -0
  1447. package/dist/src/core/session/resumeCore.js +24 -0
  1448. package/dist/src/core/session/resumenCliAdapter.js +1 -0
  1449. package/dist/src/core/session/resumenCore.js +15 -0
  1450. package/dist/src/core/session/sessionCliAdapter.js +1 -0
  1451. package/dist/src/core/session/sessionCore.js +9 -0
  1452. package/dist/src/core/session/tagCliAdapter.js +1 -0
  1453. package/dist/src/core/session/tagCore.js +16 -0
  1454. package/dist/src/core/session/timelineCliAdapter.js +1 -0
  1455. package/dist/src/core/session/vimCliAdapter.js +1 -0
  1456. package/dist/src/core/session/vimCore.js +14 -0
  1457. package/dist/src/core/sharedLegacyDeps/pluginsCliAdapterDeps.js +45 -0
  1458. package/dist/src/core/sharedLegacyDeps/pluginsReloadDeps.js +8 -0
  1459. package/dist/src/core/sharedLegacyDeps/skillsCliAdapterDeps.js +8 -0
  1460. package/dist/src/core/skills/importCore.js +66 -0
  1461. package/dist/src/core/skills/importCore.smoke.js +49 -0
  1462. package/dist/src/core/skills/legacy/bootstrap/state.js +1 -0
  1463. package/dist/src/core/skills/legacy/cliAdapter.impl.js +32 -0
  1464. package/dist/src/core/skills/legacy/services/SessionMemory/sessionMemoryUtils.js +1 -0
  1465. package/dist/src/core/skills/legacy/services/analytics/growthbook.js +1 -0
  1466. package/dist/src/core/skills/legacy/services/analytics/index.js +1 -0
  1467. package/dist/src/core/skills/legacy/services/mcp/types.js +1 -0
  1468. package/dist/src/core/skills/legacy/services/policyLimits/index.js +1 -0
  1469. package/dist/src/core/skills/legacy/services/tokenEstimation.js +1 -0
  1470. package/dist/src/core/skills/legacy/utils/argumentSubstitution.js +1 -0
  1471. package/dist/src/core/skills/legacy/utils/auth.js +1 -0
  1472. package/dist/src/core/skills/legacy/utils/background/remote/preconditions.js +1 -0
  1473. package/dist/src/core/skills/legacy/utils/claudeInChrome/prompt.js +1 -0
  1474. package/dist/src/core/skills/legacy/utils/claudeInChrome/setup.js +1 -0
  1475. package/dist/src/core/skills/legacy/utils/cwd.js +1 -0
  1476. package/dist/src/core/skills/legacy/utils/debug.js +1 -0
  1477. package/dist/src/core/skills/legacy/utils/detectRepository.js +1 -0
  1478. package/dist/src/core/skills/legacy/utils/effort.js +1 -0
  1479. package/dist/src/core/skills/legacy/utils/envUtils.js +1 -0
  1480. package/dist/src/core/skills/legacy/utils/errors.js +1 -0
  1481. package/dist/src/core/skills/legacy/utils/format.js +1 -0
  1482. package/dist/src/core/skills/legacy/utils/frontmatterParser.js +1 -0
  1483. package/dist/src/core/skills/legacy/utils/fsOperations.js +1 -0
  1484. package/dist/src/core/skills/legacy/utils/git/gitignore.js +1 -0
  1485. package/dist/src/core/skills/legacy/utils/git.js +1 -0
  1486. package/dist/src/core/skills/legacy/utils/log.js +1 -0
  1487. package/dist/src/core/skills/legacy/utils/markdownConfigLoader.js +1 -0
  1488. package/dist/src/core/skills/legacy/utils/messages.js +1 -0
  1489. package/dist/src/core/skills/legacy/utils/model/model.js +1 -0
  1490. package/dist/src/core/skills/legacy/utils/permissions/filesystem.js +1 -0
  1491. package/dist/src/core/skills/legacy/utils/promptShellExecution.js +1 -0
  1492. package/dist/src/core/skills/legacy/utils/settings/constants.js +1 -0
  1493. package/dist/src/core/skills/legacy/utils/settings/managedPath.js +1 -0
  1494. package/dist/src/core/skills/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
  1495. package/dist/src/core/skills/legacy/utils/settings/types.js +1 -0
  1496. package/dist/src/core/skills/legacy/utils/signal.js +1 -0
  1497. package/dist/src/core/skills/legacy/utils/slowOperations.js +1 -0
  1498. package/dist/src/core/skills/legacy/utils/teleport/environments.js +1 -0
  1499. package/dist/src/core/state/legacy/bootstrap/state.js +1 -0
  1500. package/dist/src/core/state/legacy/context/mailbox.js +1 -0
  1501. package/dist/src/core/state/legacy/context/voice.js +1 -0
  1502. package/dist/src/core/state/legacy/hooks/useSettingsChange.js +1 -0
  1503. package/dist/src/core/state/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
  1504. package/dist/src/core/state/legacy/services/analytics/index.js +1 -0
  1505. package/dist/src/core/state/legacy/services/mcp/channelPermissions.js +1 -0
  1506. package/dist/src/core/state/legacy/services/mcp/elicitationHandler.js +1 -0
  1507. package/dist/src/core/state/legacy/services/mcp/types.js +1 -0
  1508. package/dist/src/core/state/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  1509. package/dist/src/core/state/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1510. package/dist/src/core/state/legacy/tasks/types.js +1 -0
  1511. package/dist/src/core/state/legacy/utils/auth.js +1 -0
  1512. package/dist/src/core/state/legacy/utils/commitAttribution.js +1 -0
  1513. package/dist/src/core/state/legacy/utils/config.js +1 -0
  1514. package/dist/src/core/state/legacy/utils/debug.js +1 -0
  1515. package/dist/src/core/state/legacy/utils/effort.js +1 -0
  1516. package/dist/src/core/state/legacy/utils/errors.js +1 -0
  1517. package/dist/src/core/state/legacy/utils/fileHistory.js +1 -0
  1518. package/dist/src/core/state/legacy/utils/hooks/postSamplingHooks.js +1 -0
  1519. package/dist/src/core/state/legacy/utils/hooks/sessionHooks.js +1 -0
  1520. package/dist/src/core/state/legacy/utils/log.js +1 -0
  1521. package/dist/src/core/state/legacy/utils/managedEnv.js +1 -0
  1522. package/dist/src/core/state/legacy/utils/model/model.js +1 -0
  1523. package/dist/src/core/state/legacy/utils/permissions/PermissionMode.js +1 -0
  1524. package/dist/src/core/state/legacy/utils/permissions/denialTracking.js +1 -0
  1525. package/dist/src/core/state/legacy/utils/permissions/permissionSetup.js +1 -0
  1526. package/dist/src/core/state/legacy/utils/sessionState.js +1 -0
  1527. package/dist/src/core/state/legacy/utils/settings/applySettingsChange.js +1 -0
  1528. package/dist/src/core/state/legacy/utils/settings/constants.js +1 -0
  1529. package/dist/src/core/state/legacy/utils/settings/settings.js +1 -0
  1530. package/dist/src/core/state/legacy/utils/settings/types.js +1 -0
  1531. package/dist/src/core/state/legacy/utils/teammate.js +1 -0
  1532. package/dist/src/core/state/legacy/utils/thinking.js +1 -0
  1533. package/dist/src/core/tasks/legacy/bootstrap/state.js +1 -0
  1534. package/dist/src/core/tasks/legacy/services/PromptSuggestion/speculation.js +1 -0
  1535. package/dist/src/core/tasks/legacy/services/autoDream/consolidationLock.js +1 -0
  1536. package/dist/src/core/tasks/legacy/services/tokenEstimation.js +1 -0
  1537. package/dist/src/core/tasks/legacy/state/AppState.js +1 -0
  1538. package/dist/src/core/tasks/legacy/utils/ShellCommand.js +1 -0
  1539. package/dist/src/core/tasks/legacy/utils/abortController.js +1 -0
  1540. package/dist/src/core/tasks/legacy/utils/agentContext.js +1 -0
  1541. package/dist/src/core/tasks/legacy/utils/array.js +1 -0
  1542. package/dist/src/core/tasks/legacy/utils/background/remote/remoteSession.js +1 -0
  1543. package/dist/src/core/tasks/legacy/utils/cleanupRegistry.js +1 -0
  1544. package/dist/src/core/tasks/legacy/utils/collapseReadSearch.js +1 -0
  1545. package/dist/src/core/tasks/legacy/utils/debug.js +1 -0
  1546. package/dist/src/core/tasks/legacy/utils/fsOperations.js +1 -0
  1547. package/dist/src/core/tasks/legacy/utils/log.js +1 -0
  1548. package/dist/src/core/tasks/legacy/utils/messageQueueManager.js +1 -0
  1549. package/dist/src/core/tasks/legacy/utils/messages.js +1 -0
  1550. package/dist/src/core/tasks/legacy/utils/permissions/PermissionMode.js +1 -0
  1551. package/dist/src/core/tasks/legacy/utils/sdkEventQueue.js +1 -0
  1552. package/dist/src/core/tasks/legacy/utils/sessionStorage.js +1 -0
  1553. package/dist/src/core/tasks/legacy/utils/slowOperations.js +1 -0
  1554. package/dist/src/core/tasks/legacy/utils/swarm/spawnInProcess.js +1 -0
  1555. package/dist/src/core/tasks/legacy/utils/task/diskOutput.js +1 -0
  1556. package/dist/src/core/tasks/legacy/utils/task/framework.js +1 -0
  1557. package/dist/src/core/tasks/legacy/utils/task/sdkProgress.js +1 -0
  1558. package/dist/src/core/tasks/legacy/utils/teleport/api.js +1 -0
  1559. package/dist/src/core/tasks/legacy/utils/teleport.js +1 -0
  1560. package/dist/src/core/tasks/legacy/utils/todo/types.js +1 -0
  1561. package/dist/src/core/tasks/legacy/utils/ultraplan/ccrSession.js +1 -0
  1562. package/dist/src/core/tasks/legacy/utils/xml.js +1 -0
  1563. package/dist/src/core/tasks/ultraplanCliAdapter.js +11 -0
  1564. package/dist/src/core/tasks/ultraplanPrompt.js +18 -0
  1565. package/dist/src/core/terminal/cliAdapter.js +1 -0
  1566. package/dist/src/core/terminal/legacy/cliAdapter.impl.js +1 -0
  1567. package/dist/src/core/terminal/runtime.js +40 -0
  1568. package/dist/src/core/terminal/runtime.smoke.js +18 -0
  1569. package/dist/src/core/terminal/setupRuntime.js +468 -0
  1570. package/dist/src/core/tools/bashCliAdapter.js +1 -0
  1571. package/dist/src/core/tools/fileToolsCliAdapter.js +46 -0
  1572. package/dist/src/core/tools/legacy/bashCliAdapter.impl.js +1 -0
  1573. package/dist/src/core/tools/legacy/bootstrap/state.js +1 -0
  1574. package/dist/src/core/tools/legacy/bootstrap/state.js.js +1 -0
  1575. package/dist/src/core/tools/legacy/fileToolsCliAdapter.impl.js +1 -0
  1576. package/dist/src/core/tools/legacy/hooks/useCanUseTool.js +1 -0
  1577. package/dist/src/core/tools/legacy/powerShellCliAdapter.impl.js +1 -0
  1578. package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js +1 -0
  1579. package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js.js +1 -0
  1580. package/dist/src/core/tools/legacy/services/analytics/growthbook.js +1 -0
  1581. package/dist/src/core/tools/legacy/services/analytics/growthbook.js.js +1 -0
  1582. package/dist/src/core/tools/legacy/services/analytics/index.js +1 -0
  1583. package/dist/src/core/tools/legacy/services/analytics/index.js.js +1 -0
  1584. package/dist/src/core/tools/legacy/services/analytics/metadata.js +1 -0
  1585. package/dist/src/core/tools/legacy/services/api/dumpPrompts.js +1 -0
  1586. package/dist/src/core/tools/legacy/services/api/dumpPrompts.js.js +1 -0
  1587. package/dist/src/core/tools/legacy/services/api/promptCacheBreakDetection.js +1 -0
  1588. package/dist/src/core/tools/legacy/services/mcp/client.js +1 -0
  1589. package/dist/src/core/tools/legacy/services/mcp/config.js +1 -0
  1590. package/dist/src/core/tools/legacy/services/mcp/types.js +1 -0
  1591. package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js +1 -0
  1592. package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js.js +1 -0
  1593. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js +1 -0
  1594. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js.js +1 -0
  1595. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js +1 -0
  1596. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js.js +1 -0
  1597. package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js +1 -0
  1598. package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js.js +1 -0
  1599. package/dist/src/core/tools/legacy/state/AppState.js +1 -0
  1600. package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1601. package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +1 -0
  1602. package/dist/src/core/tools/legacy/tasks/LocalMainSessionTask.js +1 -0
  1603. package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  1604. package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js.js +1 -0
  1605. package/dist/src/core/tools/legacy/tasks/LocalShellTask/guards.js +1 -0
  1606. package/dist/src/core/tools/legacy/tasks/LocalShellTask/killShellTasks.js +1 -0
  1607. package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js +1 -0
  1608. package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js.js +1 -0
  1609. package/dist/src/core/tools/legacy/tasks/types.js +1 -0
  1610. package/dist/src/core/tools/legacy/utils/Shell.js +1 -0
  1611. package/dist/src/core/tools/legacy/utils/Shell.js.js +1 -0
  1612. package/dist/src/core/tools/legacy/utils/agentContext.js +1 -0
  1613. package/dist/src/core/tools/legacy/utils/agentContext.js.js +1 -0
  1614. package/dist/src/core/tools/legacy/utils/agentId.js +1 -0
  1615. package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js +1 -0
  1616. package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js.js +1 -0
  1617. package/dist/src/core/tools/legacy/utils/array.js +1 -0
  1618. package/dist/src/core/tools/legacy/utils/array.js.js +1 -0
  1619. package/dist/src/core/tools/legacy/utils/attachments.js +1 -0
  1620. package/dist/src/core/tools/legacy/utils/auth.js +1 -0
  1621. package/dist/src/core/tools/legacy/utils/claudeCodeHints.js +1 -0
  1622. package/dist/src/core/tools/legacy/utils/claudeCodeHints.js.js +1 -0
  1623. package/dist/src/core/tools/legacy/utils/collapseReadSearch.js +1 -0
  1624. package/dist/src/core/tools/legacy/utils/collapseReadSearch.js.js +1 -0
  1625. package/dist/src/core/tools/legacy/utils/cwd.js +1 -0
  1626. package/dist/src/core/tools/legacy/utils/cwd.js.js +1 -0
  1627. package/dist/src/core/tools/legacy/utils/debug.js +1 -0
  1628. package/dist/src/core/tools/legacy/utils/debug.js.js +1 -0
  1629. package/dist/src/core/tools/legacy/utils/effort.js +1 -0
  1630. package/dist/src/core/tools/legacy/utils/embeddedTools.js +1 -0
  1631. package/dist/src/core/tools/legacy/utils/envUtils.js +1 -0
  1632. package/dist/src/core/tools/legacy/utils/envUtils.js.js +1 -0
  1633. package/dist/src/core/tools/legacy/utils/errors.js +1 -0
  1634. package/dist/src/core/tools/legacy/utils/errors.js.js +1 -0
  1635. package/dist/src/core/tools/legacy/utils/file.js +1 -0
  1636. package/dist/src/core/tools/legacy/utils/file.js.js +1 -0
  1637. package/dist/src/core/tools/legacy/utils/fileStateCache.js +1 -0
  1638. package/dist/src/core/tools/legacy/utils/forkedAgent.js +1 -0
  1639. package/dist/src/core/tools/legacy/utils/format.js +1 -0
  1640. package/dist/src/core/tools/legacy/utils/format.js.js +1 -0
  1641. package/dist/src/core/tools/legacy/utils/frontmatterParser.js +1 -0
  1642. package/dist/src/core/tools/legacy/utils/git.js +1 -0
  1643. package/dist/src/core/tools/legacy/utils/hooks/registerFrontmatterHooks.js +1 -0
  1644. package/dist/src/core/tools/legacy/utils/hooks/sessionHooks.js +1 -0
  1645. package/dist/src/core/tools/legacy/utils/hooks.js +1 -0
  1646. package/dist/src/core/tools/legacy/utils/hyperlink.js +1 -0
  1647. package/dist/src/core/tools/legacy/utils/hyperlink.js.js +1 -0
  1648. package/dist/src/core/tools/legacy/utils/lazySchema.js +1 -0
  1649. package/dist/src/core/tools/legacy/utils/lazySchema.js.js +1 -0
  1650. package/dist/src/core/tools/legacy/utils/log.js +1 -0
  1651. package/dist/src/core/tools/legacy/utils/log.js.js +1 -0
  1652. package/dist/src/core/tools/legacy/utils/markdownConfigLoader.js +1 -0
  1653. package/dist/src/core/tools/legacy/utils/mcpValidation.js +1 -0
  1654. package/dist/src/core/tools/legacy/utils/mcpValidation.js.js +1 -0
  1655. package/dist/src/core/tools/legacy/utils/messages.js +1 -0
  1656. package/dist/src/core/tools/legacy/utils/messages.js.js +1 -0
  1657. package/dist/src/core/tools/legacy/utils/model/agent.js +1 -0
  1658. package/dist/src/core/tools/legacy/utils/model/agent.js.js +1 -0
  1659. package/dist/src/core/tools/legacy/utils/model/aliases.js +1 -0
  1660. package/dist/src/core/tools/legacy/utils/model/model.js +1 -0
  1661. package/dist/src/core/tools/legacy/utils/model/model.js.js +1 -0
  1662. package/dist/src/core/tools/legacy/utils/model/providerCatalog.js +1 -0
  1663. package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js +1 -0
  1664. package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js.js +1 -0
  1665. package/dist/src/core/tools/legacy/utils/model/providerProfiles.js +1 -0
  1666. package/dist/src/core/tools/legacy/utils/model/providers.js +1 -0
  1667. package/dist/src/core/tools/legacy/utils/model/providers.js.js +1 -0
  1668. package/dist/src/core/tools/legacy/utils/orchestration/store/index.js +1 -0
  1669. package/dist/src/core/tools/legacy/utils/path.js +1 -0
  1670. package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js +1 -0
  1671. package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js.js +1 -0
  1672. package/dist/src/core/tools/legacy/utils/permissions/PermissionResult.js +1 -0
  1673. package/dist/src/core/tools/legacy/utils/permissions/autoModeState.js +1 -0
  1674. package/dist/src/core/tools/legacy/utils/permissions/permissionRuleParser.js +1 -0
  1675. package/dist/src/core/tools/legacy/utils/permissions/permissionSetup.js +1 -0
  1676. package/dist/src/core/tools/legacy/utils/permissions/permissions.js +1 -0
  1677. package/dist/src/core/tools/legacy/utils/permissions/permissions.js.js +1 -0
  1678. package/dist/src/core/tools/legacy/utils/permissions/yoloClassifier.js +1 -0
  1679. package/dist/src/core/tools/legacy/utils/platform.js +1 -0
  1680. package/dist/src/core/tools/legacy/utils/platform.js.js +1 -0
  1681. package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js +1 -0
  1682. package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js.js +1 -0
  1683. package/dist/src/core/tools/legacy/utils/plugins/loadPluginAgents.js +1 -0
  1684. package/dist/src/core/tools/legacy/utils/promptCategory.js +1 -0
  1685. package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  1686. package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js.js +1 -0
  1687. package/dist/src/core/tools/legacy/utils/sdkEventQueue.js +1 -0
  1688. package/dist/src/core/tools/legacy/utils/sdkEventQueue.js.js +1 -0
  1689. package/dist/src/core/tools/legacy/utils/semanticBoolean.js +1 -0
  1690. package/dist/src/core/tools/legacy/utils/semanticBoolean.js.js +1 -0
  1691. package/dist/src/core/tools/legacy/utils/semanticNumber.js +1 -0
  1692. package/dist/src/core/tools/legacy/utils/semanticNumber.js.js +1 -0
  1693. package/dist/src/core/tools/legacy/utils/sessionStorage.js +1 -0
  1694. package/dist/src/core/tools/legacy/utils/sessionStorage.js.js +1 -0
  1695. package/dist/src/core/tools/legacy/utils/settings/constants.js +1 -0
  1696. package/dist/src/core/tools/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
  1697. package/dist/src/core/tools/legacy/utils/settings/types.js +1 -0
  1698. package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js +1 -0
  1699. package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js.js +1 -0
  1700. package/dist/src/core/tools/legacy/utils/sleep.js +1 -0
  1701. package/dist/src/core/tools/legacy/utils/sleep.js.js +1 -0
  1702. package/dist/src/core/tools/legacy/utils/slowOperations.js +1 -0
  1703. package/dist/src/core/tools/legacy/utils/slowOperations.js.js +1 -0
  1704. package/dist/src/core/tools/legacy/utils/stringUtils.js +1 -0
  1705. package/dist/src/core/tools/legacy/utils/stringUtils.js.js +1 -0
  1706. package/dist/src/core/tools/legacy/utils/swarm/backends/registry.js +1 -0
  1707. package/dist/src/core/tools/legacy/utils/swarm/constants.js +1 -0
  1708. package/dist/src/core/tools/legacy/utils/swarm/teamHelpers.js +1 -0
  1709. package/dist/src/core/tools/legacy/utils/swarm/teammateLayoutManager.js +1 -0
  1710. package/dist/src/core/tools/legacy/utils/systemPrompt.js +1 -0
  1711. package/dist/src/core/tools/legacy/utils/systemPrompt.js.js +1 -0
  1712. package/dist/src/core/tools/legacy/utils/systemPromptType.js +1 -0
  1713. package/dist/src/core/tools/legacy/utils/systemPromptType.js.js +1 -0
  1714. package/dist/src/core/tools/legacy/utils/task/TaskOutput.js +1 -0
  1715. package/dist/src/core/tools/legacy/utils/task/TaskOutput.js.js +1 -0
  1716. package/dist/src/core/tools/legacy/utils/task/diskOutput.js +1 -0
  1717. package/dist/src/core/tools/legacy/utils/task/diskOutput.js.js +1 -0
  1718. package/dist/src/core/tools/legacy/utils/task/framework.js +1 -0
  1719. package/dist/src/core/tools/legacy/utils/task/framework.js.js +1 -0
  1720. package/dist/src/core/tools/legacy/utils/task/outputFormatting.js +1 -0
  1721. package/dist/src/core/tools/legacy/utils/task/outputFormatting.js.js +1 -0
  1722. package/dist/src/core/tools/legacy/utils/task/sdkProgress.js +1 -0
  1723. package/dist/src/core/tools/legacy/utils/tasks.js +1 -0
  1724. package/dist/src/core/tools/legacy/utils/teammate.js +1 -0
  1725. package/dist/src/core/tools/legacy/utils/teammate.js.js +1 -0
  1726. package/dist/src/core/tools/legacy/utils/teammateContext.js +1 -0
  1727. package/dist/src/core/tools/legacy/utils/teammateContext.js.js +1 -0
  1728. package/dist/src/core/tools/legacy/utils/telemetry/perfettoTracing.js +1 -0
  1729. package/dist/src/core/tools/legacy/utils/teleport.js +1 -0
  1730. package/dist/src/core/tools/legacy/utils/teleport.js.js +1 -0
  1731. package/dist/src/core/tools/legacy/utils/terminal.js +1 -0
  1732. package/dist/src/core/tools/legacy/utils/terminal.js.js +1 -0
  1733. package/dist/src/core/tools/legacy/utils/theme.js +1 -0
  1734. package/dist/src/core/tools/legacy/utils/tokens.js +1 -0
  1735. package/dist/src/core/tools/legacy/utils/tokens.js.js +1 -0
  1736. package/dist/src/core/tools/legacy/utils/toolResultStorage.js +1 -0
  1737. package/dist/src/core/tools/legacy/utils/toolResultStorage.js.js +1 -0
  1738. package/dist/src/core/tools/legacy/utils/udsClient.js +1 -0
  1739. package/dist/src/core/tools/legacy/utils/udsClient.js.js +1 -0
  1740. package/dist/src/core/tools/legacy/utils/uuid.js +1 -0
  1741. package/dist/src/core/tools/legacy/utils/uuid.js.js +1 -0
  1742. package/dist/src/core/tools/legacy/utils/words.js +1 -0
  1743. package/dist/src/core/tools/legacy/utils/worktree.js +1 -0
  1744. package/dist/src/core/tools/legacy/utils/worktree.js.js +1 -0
  1745. package/dist/src/core/tools/powerShellCliAdapter.js +3 -0
  1746. package/dist/src/core/usage/extraUsageCliAdapter.js +1 -0
  1747. package/dist/src/core/usage/extraUsageCore.js +82 -0
  1748. package/dist/src/core/usage/extraUsageCore.smoke.js +27 -0
  1749. package/dist/src/core/usage/indexCliAdapter.js +4 -0
  1750. package/dist/src/core/usage/indexCore.js +12 -0
  1751. package/dist/src/core/usage/legacy/bootstrap/state.js +1 -0
  1752. package/dist/src/core/usage/legacy/deps.js +11 -0
  1753. package/dist/src/core/usage/legacy/extraUsageCliAdapter.impl.js +16 -0
  1754. package/dist/src/core/usage/legacy/indexCliAdapter.impl.js +6 -0
  1755. package/dist/src/core/usage/legacy/services/api/adminRequests.js +1 -0
  1756. package/dist/src/core/usage/legacy/services/api/overageCreditGrant.js +1 -0
  1757. package/dist/src/core/usage/legacy/services/api/usage.js +1 -0
  1758. package/dist/src/core/usage/legacy/utils/auth.js +1 -0
  1759. package/dist/src/core/usage/legacy/utils/billing.js +1 -0
  1760. package/dist/src/core/usage/legacy/utils/browser.js +1 -0
  1761. package/dist/src/core/usage/legacy/utils/config.js +1 -0
  1762. package/dist/src/core/usage/legacy/utils/envUtils.js +1 -0
  1763. package/dist/src/core/usage/legacy/utils/log.js +1 -0
  1764. package/dist/src/core/utils/legacy/bootstrap/state.js +1 -0
  1765. package/dist/src/core/utils/legacy/hooks/useCanUseTool.js +1 -0
  1766. package/dist/src/core/utils/legacy/hooks/useIdeSelection.js +1 -0
  1767. package/dist/src/core/utils/legacy/hooks/useTimeout.js +1 -0
  1768. package/dist/src/core/utils/legacy/services/MagicDocs/magicDocs.js +1 -0
  1769. package/dist/src/core/utils/legacy/services/analytics/datadog.js +1 -0
  1770. package/dist/src/core/utils/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  1771. package/dist/src/core/utils/legacy/services/analytics/growthbook.js +1 -0
  1772. package/dist/src/core/utils/legacy/services/analytics/index.js +1 -0
  1773. package/dist/src/core/utils/legacy/services/analytics/metadata.js +1 -0
  1774. package/dist/src/core/utils/legacy/services/analytics/sink.js +1 -0
  1775. package/dist/src/core/utils/legacy/services/api/claude.js +1 -0
  1776. package/dist/src/core/utils/legacy/services/api/client.js +1 -0
  1777. package/dist/src/core/utils/legacy/services/api/dumpPrompts.js +1 -0
  1778. package/dist/src/core/utils/legacy/services/api/errorUtils.js +1 -0
  1779. package/dist/src/core/utils/legacy/services/api/errors.js +1 -0
  1780. package/dist/src/core/utils/legacy/services/api/logging.js +1 -0
  1781. package/dist/src/core/utils/legacy/services/api/openai.js +1 -0
  1782. package/dist/src/core/utils/legacy/services/api/withRetry.js +1 -0
  1783. package/dist/src/core/utils/legacy/services/autoDream/autoDream.js +1 -0
  1784. package/dist/src/core/utils/legacy/services/compact/autoCompact.js +1 -0
  1785. package/dist/src/core/utils/legacy/services/compact/snipCompact.js +1 -0
  1786. package/dist/src/core/utils/legacy/services/compact/snipProjection.js +1 -0
  1787. package/dist/src/core/utils/legacy/services/contextCollapse/persist.js +1 -0
  1788. package/dist/src/core/utils/legacy/services/diagnosticTracking.js +1 -0
  1789. package/dist/src/core/utils/legacy/services/extractMemories/extractMemories.js +1 -0
  1790. package/dist/src/core/utils/legacy/services/lsp/LSPDiagnosticRegistry.js +1 -0
  1791. package/dist/src/core/utils/legacy/services/lsp/manager.js +1 -0
  1792. package/dist/src/core/utils/legacy/services/lsp/types.js +1 -0
  1793. package/dist/src/core/utils/legacy/services/mcp/client.js +1 -0
  1794. package/dist/src/core/utils/legacy/services/mcp/envExpansion.js +1 -0
  1795. package/dist/src/core/utils/legacy/services/mcp/mcpStringUtils.js +1 -0
  1796. package/dist/src/core/utils/legacy/services/mcp/normalization.js +1 -0
  1797. package/dist/src/core/utils/legacy/services/mcp/types.js +1 -0
  1798. package/dist/src/core/utils/legacy/services/mcp/utils.js +1 -0
  1799. package/dist/src/core/utils/legacy/services/oauth/types.js +1 -0
  1800. package/dist/src/core/utils/legacy/services/plugins/PluginInstallationManager.js +1 -0
  1801. package/dist/src/core/utils/legacy/services/plugins/pluginOperations.js +1 -0
  1802. package/dist/src/core/utils/legacy/services/remoteManagedSettings/syncCache.js +1 -0
  1803. package/dist/src/core/utils/legacy/services/sessionTranscript/sessionTranscript.js +1 -0
  1804. package/dist/src/core/utils/legacy/services/skillSearch/featureCheck.js +1 -0
  1805. package/dist/src/core/utils/legacy/services/skillSearch/prefetch.js +1 -0
  1806. package/dist/src/core/utils/legacy/services/skillSearch/signals.js +1 -0
  1807. package/dist/src/core/utils/legacy/services/teamMemorySync/watcher.js +1 -0
  1808. package/dist/src/core/utils/legacy/services/tokenEstimation.js +1 -0
  1809. package/dist/src/core/utils/legacy/services/tools/toolOrchestration.js +1 -0
  1810. package/dist/src/core/utils/legacy/state/AppState.js +1 -0
  1811. package/dist/src/core/utils/legacy/state/AppStateStore.js +1 -0
  1812. package/dist/src/core/utils/legacy/state/selectors.js +1 -0
  1813. package/dist/src/core/utils/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  1814. package/dist/src/core/utils/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1815. package/dist/src/core/utils/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  1816. package/dist/src/core/utils/legacy/utils/format.js +1 -0
  1817. package/dist/src/core/voice/cliAdapter.js +1 -0
  1818. package/dist/src/core/voice/legacy/cliAdapter.impl.js +41 -0
  1819. package/dist/src/core/voice/legacy/services/analytics/growthbook.js +1 -0
  1820. package/dist/src/core/voice/legacy/services/analytics/growthbook.js.js +1 -0
  1821. package/dist/src/core/voice/runtime.js +151 -0
  1822. package/dist/src/core/voice/runtime.smoke.js +19 -0
  1823. package/dist/src/core/wavecore3/bashCliAdapterDeps.js +59 -0
  1824. package/dist/src/core/wavecore3/fileToolsCliAdapterDeps.js +47 -0
  1825. package/dist/src/core/wavecore3/powerShellCliAdapterDeps.js +19 -0
  1826. package/dist/src/core/wavecore3/terminalCliAdapterDeps.js +11 -0
  1827. package/dist/src/core/whatsapp/legacy/utils/config.js +1 -0
  1828. package/dist/src/core/whatsapp/legacy/utils/config.js.js +1 -0
  1829. package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js +1 -0
  1830. package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js.js +1 -0
  1831. package/dist/src/core/workspace/cliAdapter.js +1 -0
  1832. package/dist/src/core/workspace/legacy/cliAdapter.impl.js +6 -0
  1833. package/dist/src/core/workspace/runtime.js +25 -0
  1834. package/dist/src/core/workspace/runtime.smoke.js +13 -0
  1835. package/dist/src/hooks/core/hooks/legacy/context/notifications.js +1 -0
  1836. package/dist/src/hooks/core/hooks/legacy/services/analytics/index.js +1 -0
  1837. package/dist/src/hooks/core/hooks/legacy/services/lsp/manager.js +1 -0
  1838. package/dist/src/hooks/core/hooks/legacy/services/mcp/claudeai.js +1 -0
  1839. package/dist/src/hooks/core/hooks/legacy/services/mcp/types.js +1 -0
  1840. package/dist/src/hooks/useAwaySummary.js +2 -0
  1841. package/dist/src/hooks/useDoublePress.js +8 -8
  1842. package/dist/src/hooks/usePasteHandler.js +5 -62
  1843. package/dist/src/hooks/useTextInput.js +95 -73
  1844. package/dist/src/ink/reconciler.js +7 -7
  1845. package/dist/src/main.js +5 -5
  1846. package/dist/src/memdir/findRelevantMemories.js +6 -6
  1847. package/dist/src/query.js +78 -0
  1848. package/dist/src/screens/REPL.js +9 -0
  1849. package/dist/src/services/AgentSummary/agentSummary.js +10 -10
  1850. package/dist/src/services/MagicDocs/prompts.js +56 -56
  1851. package/dist/src/services/PromptSuggestion/promptSuggestion.js +29 -29
  1852. package/dist/src/services/SessionMemory/prompts.js +66 -66
  1853. package/dist/src/services/autoDream/autoDream.js +5 -5
  1854. package/dist/src/services/limits/sessionCounter.js +17 -17
  1855. package/dist/src/services/objetivo/evaluator.js +129 -0
  1856. package/dist/src/services/objetivo/prompts.js +21 -0
  1857. package/dist/src/services/objetivo/types.js +25 -0
  1858. package/dist/src/services/orchestration/execution/OrchestrationExecutionRuntime.js +58 -58
  1859. package/dist/src/services/toolUseSummary/toolUseSummaryGenerator.js +9 -9
  1860. package/dist/src/skills/bundled/batch.js +78 -78
  1861. package/dist/src/skills/bundled/claudeApi.js +34 -34
  1862. package/dist/src/skills/bundled/claudeInChrome.js +4 -4
  1863. package/dist/src/skills/bundled/debug.js +36 -36
  1864. package/dist/src/skills/bundled/scheduleRemoteAgents.js +151 -151
  1865. package/dist/src/skills/bundled/skillify.js +134 -134
  1866. package/dist/src/skills/bundled/updateConfig.js +418 -418
  1867. package/dist/src/tasks/LocalAgentTask/LocalAgentTask.js +5 -5
  1868. package/dist/src/tasks/LocalMainSessionTask.js +5 -5
  1869. package/dist/src/tasks/LocalShellTask/LocalShellTask.js +13 -13
  1870. package/dist/src/tasks/RemoteAgentTask/RemoteAgentTask.js +26 -26
  1871. package/dist/src/tools/AgentTool/AgentTool.js +7 -7
  1872. package/dist/src/tools/AgentTool/built-in/claudeCodeGuideAgent.js +67 -67
  1873. package/dist/src/tools/AgentTool/forkSubagent.js +25 -25
  1874. package/dist/src/tools/AgentTool/prompt.js +131 -131
  1875. package/dist/src/tools/AgentTool/runAgent.js +9 -9
  1876. package/dist/src/tools/BashTool/BashTool.js +10 -10
  1877. package/dist/src/tools/BashTool/prompt.js +94 -94
  1878. package/dist/src/tools/ConfigTool/prompt.js +29 -29
  1879. package/dist/src/tools/EnterPlanModeTool/EnterPlanModeTool.js +12 -12
  1880. package/dist/src/tools/EnterPlanModeTool/prompt.js +140 -140
  1881. package/dist/src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.js +18 -18
  1882. package/dist/src/tools/FileEditTool/prompt.js +7 -7
  1883. package/dist/src/tools/FileReadTool/prompt.js +12 -12
  1884. package/dist/src/tools/PowerShellTool/prompt.js +82 -82
  1885. package/dist/src/tools/ScheduleCronTool/prompt.js +37 -37
  1886. package/dist/src/tools/SkillTool/prompt.js +21 -21
  1887. package/dist/src/tools/TaskCreateTool/prompt.js +41 -41
  1888. package/dist/src/tools/TaskListTool/prompt.js +30 -30
  1889. package/dist/src/tools/TaskOutputTool/TaskOutputTool.js +8 -8
  1890. package/dist/src/tools/ToolSearchTool/prompt.js +9 -9
  1891. package/dist/src/tools/WebFetchTool/WebFetchTool.js +9 -9
  1892. package/dist/src/utils/advisor.js +15 -15
  1893. package/dist/src/utils/api.js +2 -2
  1894. package/dist/src/utils/claudeInChrome/setup.js +8 -8
  1895. package/dist/src/utils/computerControlMcp/common.js +24 -0
  1896. package/dist/src/utils/computerControlMcp/mcpServer.js +22 -0
  1897. package/dist/src/utils/computerControlMcp/setup.js +26 -0
  1898. package/dist/src/utils/heapDumpService.js +4 -4
  1899. package/dist/src/utils/hooks/execAgentHook.js +7 -7
  1900. package/dist/src/utils/hooks/execPromptHook.js +4 -4
  1901. package/dist/src/utils/hooks/skillImprovement.js +36 -36
  1902. package/dist/src/utils/mcp/dateTimeParser.js +9 -9
  1903. package/dist/src/utils/mcpValidation.js +2 -2
  1904. package/dist/src/utils/messages.js +191 -191
  1905. package/dist/src/utils/model/providerProfilesDb.js +489 -489
  1906. package/dist/src/utils/ndjsonSafeStringify.js +10 -0
  1907. package/dist/src/utils/permissions/permissionExplainer.js +6 -6
  1908. package/dist/src/utils/secureStorage/sqliteStorage.js +12 -12
  1909. package/dist/src/utils/sessionTitle.js +12 -12
  1910. package/dist/src/utils/sideQuestion.js +17 -17
  1911. package/dist/src/utils/swarm/backends/registry.js +9 -9
  1912. package/dist/src/utils/task/framework.js +6 -6
  1913. package/dist/src/utils/teleport.js +15 -15
  1914. package/docs/Contex.md +20 -20
  1915. package/docs/PHASE_3_VALIDATION.md +2 -2
  1916. package/docs/PUBLISH.md +199 -0
  1917. package/package.json +3 -5
  1918. package/dist/vendor/audio-capture-src/index.ts +0 -155
@@ -317,8 +317,8 @@ export function createSyntheticUserCaveatMessage() {
317
317
  * Formats the command-input breadcrumb the model sees when a slash command runs.
318
318
  */
319
319
  export function formatCommandInputTags(commandName, args) {
320
- return `<${COMMAND_NAME_TAG}>/${commandName}</${COMMAND_NAME_TAG}>
321
- <${COMMAND_MESSAGE_TAG}>${commandName}</${COMMAND_MESSAGE_TAG}>
320
+ return `<${COMMAND_NAME_TAG}>/${commandName}</${COMMAND_NAME_TAG}>
321
+ <${COMMAND_MESSAGE_TAG}>${commandName}</${COMMAND_MESSAGE_TAG}>
322
322
  <${COMMAND_ARGS_TAG}>${args}</${COMMAND_ARGS_TAG}>`;
323
323
  }
324
324
  /**
@@ -2365,35 +2365,35 @@ function getPlanModeInstructions(attachment) {
2365
2365
  // Plan file structure experiment arms.
2366
2366
  // Each arm returns the full Phase 4 section so the surrounding template
2367
2367
  // stays a flat string interpolation with no conditionals inline.
2368
- export const PLAN_PHASE4_CONTROL = `### Phase 4: Final Plan
2369
- Goal: Write your final plan to the plan file (the only file you can edit).
2370
- - Begin with a **Context** section: explain why this change is being made — the problem or need it addresses, what prompted it, and the intended outcome
2371
- - Include only your recommended approach, not all alternatives
2372
- - Ensure that the plan file is concise enough to scan quickly, but detailed enough to execute effectively
2373
- - Include the paths of critical files to be modified
2374
- - Reference existing functions and utilities you found that should be reused, with their file paths
2368
+ export const PLAN_PHASE4_CONTROL = `### Phase 4: Final Plan
2369
+ Goal: Write your final plan to the plan file (the only file you can edit).
2370
+ - Begin with a **Context** section: explain why this change is being made — the problem or need it addresses, what prompted it, and the intended outcome
2371
+ - Include only your recommended approach, not all alternatives
2372
+ - Ensure that the plan file is concise enough to scan quickly, but detailed enough to execute effectively
2373
+ - Include the paths of critical files to be modified
2374
+ - Reference existing functions and utilities you found that should be reused, with their file paths
2375
2375
  - Include a verification section describing how to test the changes end-to-end (run the code, use MCP tools, run tests)`;
2376
- const PLAN_PHASE4_TRIM = `### Phase 4: Final Plan
2377
- Goal: Write your final plan to the plan file (the only file you can edit).
2378
- - One-line **Context**: what is being changed and why
2379
- - Include only your recommended approach, not all alternatives
2380
- - List the paths of files to be modified
2381
- - Reference existing functions and utilities to reuse, with their file paths
2376
+ const PLAN_PHASE4_TRIM = `### Phase 4: Final Plan
2377
+ Goal: Write your final plan to the plan file (the only file you can edit).
2378
+ - One-line **Context**: what is being changed and why
2379
+ - Include only your recommended approach, not all alternatives
2380
+ - List the paths of files to be modified
2381
+ - Reference existing functions and utilities to reuse, with their file paths
2382
2382
  - End with **Verification**: the single command to run to confirm the change works (no numbered test procedures)`;
2383
- const PLAN_PHASE4_CUT = `### Phase 4: Final Plan
2384
- Goal: Write your final plan to the plan file (the only file you can edit).
2385
- - Do NOT write a Context or Background section. The user just told you what they want.
2386
- - List the paths of files to be modified and what changes in each (one line per file)
2387
- - Reference existing functions and utilities to reuse, with their file paths
2388
- - End with **Verification**: the single command that confirms the change works
2383
+ const PLAN_PHASE4_CUT = `### Phase 4: Final Plan
2384
+ Goal: Write your final plan to the plan file (the only file you can edit).
2385
+ - Do NOT write a Context or Background section. The user just told you what they want.
2386
+ - List the paths of files to be modified and what changes in each (one line per file)
2387
+ - Reference existing functions and utilities to reuse, with their file paths
2388
+ - End with **Verification**: the single command that confirms the change works
2389
2389
  - Most good plans are under 40 lines. Prose is a sign you are padding.`;
2390
- const PLAN_PHASE4_CAP = `### Phase 4: Final Plan
2391
- Goal: Write your final plan to the plan file (the only file you can edit).
2392
- - Do NOT write a Context, Background, or Overview section. The user just told you what they want.
2393
- - Do NOT restate the user's request. Do NOT write prose paragraphs.
2394
- - List the paths of files to be modified and what changes in each (one bullet per file)
2395
- - Reference existing functions to reuse, with file:line
2396
- - End with the single verification command
2390
+ const PLAN_PHASE4_CAP = `### Phase 4: Final Plan
2391
+ Goal: Write your final plan to the plan file (the only file you can edit).
2392
+ - Do NOT write a Context, Background, or Overview section. The user just told you what they want.
2393
+ - Do NOT restate the user's request. Do NOT write prose paragraphs.
2394
+ - List the paths of files to be modified and what changes in each (one bullet per file)
2395
+ - Reference existing functions to reuse, with file:line
2396
+ - End with the single verification command
2397
2397
  - **Hard limit: 40 lines.** If the plan is longer, delete prose — not file paths.`;
2398
2398
  function getPlanPhase4Section() {
2399
2399
  const variant = getPewterLedgerVariant();
@@ -2424,69 +2424,69 @@ function getPlanModeV2Instructions(attachment) {
2424
2424
  const planFileInfo = attachment.planExists
2425
2425
  ? `A plan file already exists at ${attachment.planFilePath}. You can read it and make incremental edits using the ${FileEditTool.name} tool.`
2426
2426
  : `No plan file exists yet. You should create your plan at ${attachment.planFilePath} using the ${FileWriteTool.name} tool.`;
2427
- const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received.
2428
-
2429
- ## Plan File Info:
2430
- ${planFileInfo}
2431
- You should build your plan incrementally by writing to or editing this file. NOTE that this is the only file you are allowed to edit - other than this you are only allowed to take READ-ONLY actions.
2432
-
2433
- ## Plan Workflow
2434
-
2435
- ### Phase 1: Initial Understanding
2436
- Goal: Gain a comprehensive understanding of the user's request by reading through code and asking them questions. Critical: In this phase you should only use the ${EXPLORE_AGENT.agentType} subagent type.
2437
-
2438
- 1. Focus on understanding the user's request and the code associated with their request. Actively search for existing functions, utilities, and patterns that can be reused — avoid proposing new code when suitable implementations already exist.
2439
-
2440
- 2. **Launch up to ${exploreAgentCount} ${EXPLORE_AGENT.agentType} agents IN PARALLEL** (single message, multiple tool calls) to efficiently explore the codebase.
2441
- - Use 1 agent when the task is isolated to known files, the user provided specific file paths, or you're making a small targeted change.
2442
- - Use multiple agents when: the scope is uncertain, multiple areas of the codebase are involved, or you need to understand existing patterns before planning.
2443
- - Quality over quantity - ${exploreAgentCount} agents maximum, but you should try to use the minimum number of agents necessary (usually just 1)
2444
- - If using multiple agents: Provide each agent with a specific search focus or area to explore. Example: One agent searches for existing implementations, another explores related components, a third investigating testing patterns
2445
-
2446
- ### Phase 2: Design
2447
- Goal: Design an implementation approach.
2448
-
2449
- Launch ${PLAN_AGENT.agentType} agent(s) to design the implementation based on the user's intent and your exploration results from Phase 1.
2450
-
2451
- You can launch up to ${agentCount} agent(s) in parallel.
2452
-
2453
- **Guidelines:**
2454
- - **Default**: Launch at least 1 Plan agent for most tasks - it helps validate your understanding and consider alternatives
2455
- - **Skip agents**: Only for truly trivial tasks (typo fixes, single-line changes, simple renames)
2427
+ const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received.
2428
+
2429
+ ## Plan File Info:
2430
+ ${planFileInfo}
2431
+ You should build your plan incrementally by writing to or editing this file. NOTE that this is the only file you are allowed to edit - other than this you are only allowed to take READ-ONLY actions.
2432
+
2433
+ ## Plan Workflow
2434
+
2435
+ ### Phase 1: Initial Understanding
2436
+ Goal: Gain a comprehensive understanding of the user's request by reading through code and asking them questions. Critical: In this phase you should only use the ${EXPLORE_AGENT.agentType} subagent type.
2437
+
2438
+ 1. Focus on understanding the user's request and the code associated with their request. Actively search for existing functions, utilities, and patterns that can be reused — avoid proposing new code when suitable implementations already exist.
2439
+
2440
+ 2. **Launch up to ${exploreAgentCount} ${EXPLORE_AGENT.agentType} agents IN PARALLEL** (single message, multiple tool calls) to efficiently explore the codebase.
2441
+ - Use 1 agent when the task is isolated to known files, the user provided specific file paths, or you're making a small targeted change.
2442
+ - Use multiple agents when: the scope is uncertain, multiple areas of the codebase are involved, or you need to understand existing patterns before planning.
2443
+ - Quality over quantity - ${exploreAgentCount} agents maximum, but you should try to use the minimum number of agents necessary (usually just 1)
2444
+ - If using multiple agents: Provide each agent with a specific search focus or area to explore. Example: One agent searches for existing implementations, another explores related components, a third investigating testing patterns
2445
+
2446
+ ### Phase 2: Design
2447
+ Goal: Design an implementation approach.
2448
+
2449
+ Launch ${PLAN_AGENT.agentType} agent(s) to design the implementation based on the user's intent and your exploration results from Phase 1.
2450
+
2451
+ You can launch up to ${agentCount} agent(s) in parallel.
2452
+
2453
+ **Guidelines:**
2454
+ - **Default**: Launch at least 1 Plan agent for most tasks - it helps validate your understanding and consider alternatives
2455
+ - **Skip agents**: Only for truly trivial tasks (typo fixes, single-line changes, simple renames)
2456
2456
  ${agentCount > 1
2457
- ? `- **Multiple agents**: Use up to ${agentCount} agents for complex tasks that benefit from different perspectives
2458
-
2459
- Examples of when to use multiple agents:
2460
- - The task touches multiple parts of the codebase
2461
- - It's a large refactor or architectural change
2462
- - There are many edge cases to consider
2463
- - You'd benefit from exploring different approaches
2464
-
2465
- Example perspectives by task type:
2466
- - New feature: simplicity vs performance vs maintainability
2467
- - Bug fix: root cause vs workaround vs prevention
2468
- - Refactoring: minimal change vs clean architecture
2457
+ ? `- **Multiple agents**: Use up to ${agentCount} agents for complex tasks that benefit from different perspectives
2458
+
2459
+ Examples of when to use multiple agents:
2460
+ - The task touches multiple parts of the codebase
2461
+ - It's a large refactor or architectural change
2462
+ - There are many edge cases to consider
2463
+ - You'd benefit from exploring different approaches
2464
+
2465
+ Example perspectives by task type:
2466
+ - New feature: simplicity vs performance vs maintainability
2467
+ - Bug fix: root cause vs workaround vs prevention
2468
+ - Refactoring: minimal change vs clean architecture
2469
2469
  `
2470
- : ''}
2471
- In the agent prompt:
2472
- - Provide comprehensive background context from Phase 1 exploration including filenames and code path traces
2473
- - Describe requirements and constraints
2474
- - Request a detailed implementation plan
2475
-
2476
- ### Phase 3: Review
2477
- Goal: Review the plan(s) from Phase 2 and ensure alignment with the user's intentions.
2478
- 1. Read the critical files identified by agents to deepen your understanding
2479
- 2. Ensure that the plans align with the user's original request
2480
- 3. Use ${ASK_USER_QUESTION_TOOL_NAME} to clarify any remaining questions with the user
2481
-
2482
- ${getPlanPhase4Section()}
2483
-
2484
- ### Phase 5: Call ${ExitPlanModeV2Tool.name}
2485
- At the very end of your turn, once you have asked the user questions and are happy with your final plan file - you should always call ${ExitPlanModeV2Tool.name} to indicate to the user that you are done planning.
2486
- This is critical - your turn should only end with either using the ${ASK_USER_QUESTION_TOOL_NAME} tool OR calling ${ExitPlanModeV2Tool.name}. Do not stop unless it's for these 2 reasons
2487
-
2488
- **Important:** Use ${ASK_USER_QUESTION_TOOL_NAME} ONLY to clarify requirements or choose between approaches. Use ${ExitPlanModeV2Tool.name} to request plan approval. Do NOT ask about plan approval in any other way - no text questions, no AskUserQuestion. Phrases like "Is this plan okay?", "Should I proceed?", "How does this plan look?", "Any changes before we start?", or similar MUST use ${ExitPlanModeV2Tool.name}.
2489
-
2470
+ : ''}
2471
+ In the agent prompt:
2472
+ - Provide comprehensive background context from Phase 1 exploration including filenames and code path traces
2473
+ - Describe requirements and constraints
2474
+ - Request a detailed implementation plan
2475
+
2476
+ ### Phase 3: Review
2477
+ Goal: Review the plan(s) from Phase 2 and ensure alignment with the user's intentions.
2478
+ 1. Read the critical files identified by agents to deepen your understanding
2479
+ 2. Ensure that the plans align with the user's original request
2480
+ 3. Use ${ASK_USER_QUESTION_TOOL_NAME} to clarify any remaining questions with the user
2481
+
2482
+ ${getPlanPhase4Section()}
2483
+
2484
+ ### Phase 5: Call ${ExitPlanModeV2Tool.name}
2485
+ At the very end of your turn, once you have asked the user questions and are happy with your final plan file - you should always call ${ExitPlanModeV2Tool.name} to indicate to the user that you are done planning.
2486
+ This is critical - your turn should only end with either using the ${ASK_USER_QUESTION_TOOL_NAME} tool OR calling ${ExitPlanModeV2Tool.name}. Do not stop unless it's for these 2 reasons
2487
+
2488
+ **Important:** Use ${ASK_USER_QUESTION_TOOL_NAME} ONLY to clarify requirements or choose between approaches. Use ${ExitPlanModeV2Tool.name} to request plan approval. Do NOT ask about plan approval in any other way - no text questions, no AskUserQuestion. Phrases like "Is this plan okay?", "Should I proceed?", "How does this plan look?", "Any changes before we start?", or similar MUST use ${ExitPlanModeV2Tool.name}.
2489
+
2490
2490
  NOTE: At any point in time through this workflow you should feel free to ask the user questions or clarifications using the ${ASK_USER_QUESTION_TOOL_NAME} tool. Don't make large assumptions about user intent. The goal is to present a well researched plan to the user, and tie any loose ends before implementation begins.`;
2491
2491
  return wrapMessagesInSystemReminder([
2492
2492
  createUserMessage({ content, isMeta: true }),
@@ -2518,53 +2518,53 @@ function getPlanModeInterviewInstructions(attachment) {
2518
2518
  const planFileInfo = attachment.planExists
2519
2519
  ? `A plan file already exists at ${attachment.planFilePath}. You can read it and make incremental edits using the ${FileEditTool.name} tool.`
2520
2520
  : `No plan file exists yet. You should create your plan at ${attachment.planFilePath} using the ${FileWriteTool.name} tool.`;
2521
- const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received.
2522
-
2523
- ## Plan File Info:
2524
- ${planFileInfo}
2525
-
2526
- ## Iterative Planning Workflow
2527
-
2528
- You are pair-planning with the user. Explore the code to build context, ask the user questions when you hit decisions you can't make alone, and write your findings into the plan file as you go. The plan file (above) is the ONLY file you may edit — it starts as a rough skeleton and gradually becomes the final plan.
2529
-
2530
- ### The Loop
2531
-
2532
- Repeat this cycle until the plan is complete:
2533
-
2534
- 1. **Explore** — Use ${getReadOnlyToolNames()} to read code. Look for existing functions, utilities, and patterns to reuse.${areExplorePlanAgentsEnabled() ? ` You can use the ${EXPLORE_AGENT.agentType} agent type to parallelize complex searches without filling your context, though for straightforward queries direct tools are simpler.` : ''}
2535
- 2. **Update the plan file** — After each discovery, immediately capture what you learned. Don't wait until the end.
2536
- 3. **Ask the user** — When you hit an ambiguity or decision you can't resolve from code alone, use ${ASK_USER_QUESTION_TOOL_NAME}. Then go back to step 1.
2537
-
2538
- ### First Turn
2539
-
2540
- Start by quickly scanning a few key files to form an initial understanding of the task scope. Then write a skeleton plan (headers and rough notes) and ask the user your first round of questions. Don't explore exhaustively before engaging the user.
2541
-
2542
- ### Asking Good Questions
2543
-
2544
- - Never ask what you could find out by reading the code
2545
- - Batch related questions together (use multi-question ${ASK_USER_QUESTION_TOOL_NAME} calls)
2546
- - Focus on things only the user can answer: requirements, preferences, tradeoffs, edge case priorities
2547
- - Scale depth to the task — a vague feature request needs many rounds; a focused bug fix may need one or none
2548
-
2549
- ### Plan File Structure
2550
- Your plan file should be divided into clear sections using markdown headers, based on the request. Fill out these sections as you go.
2551
- - Begin with a **Context** section: explain why this change is being made — the problem or need it addresses, what prompted it, and the intended outcome
2552
- - Include only your recommended approach, not all alternatives
2553
- - Ensure that the plan file is concise enough to scan quickly, but detailed enough to execute effectively
2554
- - Include the paths of critical files to be modified
2555
- - Reference existing functions and utilities you found that should be reused, with their file paths
2556
- - Include a verification section describing how to test the changes end-to-end (run the code, use MCP tools, run tests)
2557
-
2558
- ### When to Converge
2559
-
2560
- Your plan is ready when you've addressed all ambiguities and it covers: what to change, which files to modify, what existing code to reuse (with file paths), and how to verify the changes. Call ${ExitPlanModeV2Tool.name} when the plan is ready for approval.
2561
-
2562
- ### Ending Your Turn
2563
-
2564
- Your turn should only end by either:
2565
- - Using ${ASK_USER_QUESTION_TOOL_NAME} to gather more information
2566
- - Calling ${ExitPlanModeV2Tool.name} when the plan is ready for approval
2567
-
2521
+ const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received.
2522
+
2523
+ ## Plan File Info:
2524
+ ${planFileInfo}
2525
+
2526
+ ## Iterative Planning Workflow
2527
+
2528
+ You are pair-planning with the user. Explore the code to build context, ask the user questions when you hit decisions you can't make alone, and write your findings into the plan file as you go. The plan file (above) is the ONLY file you may edit — it starts as a rough skeleton and gradually becomes the final plan.
2529
+
2530
+ ### The Loop
2531
+
2532
+ Repeat this cycle until the plan is complete:
2533
+
2534
+ 1. **Explore** — Use ${getReadOnlyToolNames()} to read code. Look for existing functions, utilities, and patterns to reuse.${areExplorePlanAgentsEnabled() ? ` You can use the ${EXPLORE_AGENT.agentType} agent type to parallelize complex searches without filling your context, though for straightforward queries direct tools are simpler.` : ''}
2535
+ 2. **Update the plan file** — After each discovery, immediately capture what you learned. Don't wait until the end.
2536
+ 3. **Ask the user** — When you hit an ambiguity or decision you can't resolve from code alone, use ${ASK_USER_QUESTION_TOOL_NAME}. Then go back to step 1.
2537
+
2538
+ ### First Turn
2539
+
2540
+ Start by quickly scanning a few key files to form an initial understanding of the task scope. Then write a skeleton plan (headers and rough notes) and ask the user your first round of questions. Don't explore exhaustively before engaging the user.
2541
+
2542
+ ### Asking Good Questions
2543
+
2544
+ - Never ask what you could find out by reading the code
2545
+ - Batch related questions together (use multi-question ${ASK_USER_QUESTION_TOOL_NAME} calls)
2546
+ - Focus on things only the user can answer: requirements, preferences, tradeoffs, edge case priorities
2547
+ - Scale depth to the task — a vague feature request needs many rounds; a focused bug fix may need one or none
2548
+
2549
+ ### Plan File Structure
2550
+ Your plan file should be divided into clear sections using markdown headers, based on the request. Fill out these sections as you go.
2551
+ - Begin with a **Context** section: explain why this change is being made — the problem or need it addresses, what prompted it, and the intended outcome
2552
+ - Include only your recommended approach, not all alternatives
2553
+ - Ensure that the plan file is concise enough to scan quickly, but detailed enough to execute effectively
2554
+ - Include the paths of critical files to be modified
2555
+ - Reference existing functions and utilities you found that should be reused, with their file paths
2556
+ - Include a verification section describing how to test the changes end-to-end (run the code, use MCP tools, run tests)
2557
+
2558
+ ### When to Converge
2559
+
2560
+ Your plan is ready when you've addressed all ambiguities and it covers: what to change, which files to modify, what existing code to reuse (with file paths), and how to verify the changes. Call ${ExitPlanModeV2Tool.name} when the plan is ready for approval.
2561
+
2562
+ ### Ending Your Turn
2563
+
2564
+ Your turn should only end by either:
2565
+ - Using ${ASK_USER_QUESTION_TOOL_NAME} to gather more information
2566
+ - Calling ${ExitPlanModeV2Tool.name} when the plan is ready for approval
2567
+
2568
2568
  **Important:** Use ${ExitPlanModeV2Tool.name} to request plan approval. Do NOT ask about plan approval via text or AskUserQuestion.`;
2569
2569
  return wrapMessagesInSystemReminder([
2570
2570
  createUserMessage({ content, isMeta: true }),
@@ -2583,11 +2583,11 @@ function getPlanModeV2SubAgentInstructions(attachment) {
2583
2583
  const planFileInfo = attachment.planExists
2584
2584
  ? `A plan file already exists at ${attachment.planFilePath}. You can read it and make incremental edits using the ${FileEditTool.name} tool if you need to.`
2585
2585
  : `No plan file exists yet. You should create your plan at ${attachment.planFilePath} using the ${FileWriteTool.name} tool if you need to.`;
2586
- const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received (for example, to make edits). Instead, you should:
2587
-
2588
- ## Plan File Info:
2589
- ${planFileInfo}
2590
- You should build your plan incrementally by writing to or editing this file. NOTE that this is the only file you are allowed to edit - other than this you are only allowed to take READ-ONLY actions.
2586
+ const content = `Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits, run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received (for example, to make edits). Instead, you should:
2587
+
2588
+ ## Plan File Info:
2589
+ ${planFileInfo}
2590
+ You should build your plan incrementally by writing to or editing this file. NOTE that this is the only file you are allowed to edit - other than this you are only allowed to take READ-ONLY actions.
2591
2591
  Answer the user's query comprehensively, using the ${ASK_USER_QUESTION_TOOL_NAME} tool if you need to ask the user clarifying questions. If you do use the ${ASK_USER_QUESTION_TOOL_NAME}, make sure to ask all clarifying questions you need to fully understand the user's intent before proceeding.`;
2592
2592
  return wrapMessagesInSystemReminder([
2593
2593
  createUserMessage({ content, isMeta: true }),
@@ -2600,15 +2600,15 @@ function getAutoModeInstructions(attachment) {
2600
2600
  return getAutoModeFullInstructions();
2601
2601
  }
2602
2602
  function getAutoModeFullInstructions() {
2603
- const content = `## Auto Mode Active
2604
-
2605
- Auto mode is active. The user chose continuous, autonomous execution. You should:
2606
-
2607
- 1. **Execute immediately** — Start implementing right away. Make reasonable assumptions and proceed on low-risk work.
2608
- 2. **Minimize interruptions** — Prefer making reasonable assumptions over asking questions for routine decisions.
2609
- 3. **Prefer action over planning** — Do not enter plan mode unless the user explicitly asks. When in doubt, start coding.
2610
- 4. **Expect course corrections** — The user may provide suggestions or course corrections at any point; treat those as normal input.
2611
- 5. **Do not take overly destructive actions** — Auto mode is not a license to destroy. Anything that deletes data or modifies shared or production systems still needs explicit user confirmation. If you reach such a decision point, ask and wait, or course correct to a safer method instead.
2603
+ const content = `## Auto Mode Active
2604
+
2605
+ Auto mode is active. The user chose continuous, autonomous execution. You should:
2606
+
2607
+ 1. **Execute immediately** — Start implementing right away. Make reasonable assumptions and proceed on low-risk work.
2608
+ 2. **Minimize interruptions** — Prefer making reasonable assumptions over asking questions for routine decisions.
2609
+ 3. **Prefer action over planning** — Do not enter plan mode unless the user explicitly asks. When in doubt, start coding.
2610
+ 4. **Expect course corrections** — The user may provide suggestions or course corrections at any point; treat those as normal input.
2611
+ 5. **Do not take overly destructive actions** — Auto mode is not a license to destroy. Anything that deletes data or modifies shared or production systems still needs explicit user confirmation. If you reach such a decision point, ask and wait, or course correct to a safer method instead.
2612
2612
  6. **Avoid data exfiltration** — Post even routine messages to chat platforms or work tickets only if the user has directed you to. You must not share secrets (e.g. credentials, internal documentation) unless the user has explicitly authorized both that specific secret and its destination.`;
2613
2613
  return wrapMessagesInSystemReminder([
2614
2614
  createUserMessage({ content, isMeta: true }),
@@ -2633,31 +2633,31 @@ export function normalizeAttachmentForAPI(attachment) {
2633
2633
  if (attachment.type === 'team_context') {
2634
2634
  return [
2635
2635
  createUserMessage({
2636
- content: `<system-reminder>
2637
- # Team Coordination
2638
-
2639
- You are a teammate in team "${attachment.teamName}".
2640
-
2641
- **Your Identity:**
2642
- - Name: ${attachment.agentName}
2643
-
2644
- **Team Resources:**
2645
- - Team config: ${attachment.teamConfigPath}
2646
- - Task list: ${attachment.taskListPath}
2647
-
2648
- **Team Leader:** The team lead's name is "team-lead". Send updates and completion notifications to them.
2649
-
2650
- Read the team config to discover your teammates' names. Check the task list periodically. Create new tasks when work should be divided. Mark tasks resolved when complete.
2651
-
2652
- **IMPORTANT:** Always refer to teammates by their NAME (e.g., "team-lead", "analyzer", "researcher"), never by UUID. When messaging, use the name directly:
2653
-
2654
- \`\`\`json
2655
- {
2656
- "to": "team-lead",
2657
- "message": "Your message here",
2658
- "summary": "Brief 5-10 word preview"
2659
- }
2660
- \`\`\`
2636
+ content: `<system-reminder>
2637
+ # Team Coordination
2638
+
2639
+ You are a teammate in team "${attachment.teamName}".
2640
+
2641
+ **Your Identity:**
2642
+ - Name: ${attachment.agentName}
2643
+
2644
+ **Team Resources:**
2645
+ - Team config: ${attachment.teamConfigPath}
2646
+ - Task list: ${attachment.taskListPath}
2647
+
2648
+ **Team Leader:** The team lead's name is "team-lead". Send updates and completion notifications to them.
2649
+
2650
+ Read the team config to discover your teammates' names. Check the task list periodically. Create new tasks when work should be divided. Mark tasks resolved when complete.
2651
+
2652
+ **IMPORTANT:** Always refer to teammates by their NAME (e.g., "team-lead", "analyzer", "researcher"), never by UUID. When messaging, use the name directly:
2653
+
2654
+ \`\`\`json
2655
+ {
2656
+ "to": "team-lead",
2657
+ "message": "Your message here",
2658
+ "summary": "Brief 5-10 word preview"
2659
+ }
2660
+ \`\`\`
2661
2661
  </system-reminder>`,
2662
2662
  isMeta: true,
2663
2663
  }),
@@ -2961,18 +2961,18 @@ Read the team config to discover your teammates' names. Check the task list peri
2961
2961
  return getPlanModeInstructions(attachment);
2962
2962
  }
2963
2963
  case 'plan_mode_reentry': {
2964
- const content = `## Re-entering Plan Mode
2965
-
2966
- You are returning to plan mode after having previously exited it. A plan file exists at ${attachment.planFilePath} from your previous planning session.
2967
-
2968
- **Before proceeding with any new planning, you should:**
2969
- 1. Read the existing plan file to understand what was previously planned
2970
- 2. Evaluate the user's current request against that plan
2971
- 3. Decide how to proceed:
2972
- - **Different task**: If the user's request is for a different task—even if it's similar or related—start fresh by overwriting the existing plan
2973
- - **Same task, continuing**: If this is explicitly a continuation or refinement of the exact same task, modify the existing plan while cleaning up outdated or irrelevant sections
2974
- 4. Continue on with the plan process and most importantly you should always edit the plan file one way or the other before calling ${ExitPlanModeV2Tool.name}
2975
-
2964
+ const content = `## Re-entering Plan Mode
2965
+
2966
+ You are returning to plan mode after having previously exited it. A plan file exists at ${attachment.planFilePath} from your previous planning session.
2967
+
2968
+ **Before proceeding with any new planning, you should:**
2969
+ 1. Read the existing plan file to understand what was previously planned
2970
+ 2. Evaluate the user's current request against that plan
2971
+ 3. Decide how to proceed:
2972
+ - **Different task**: If the user's request is for a different task—even if it's similar or related—start fresh by overwriting the existing plan
2973
+ - **Same task, continuing**: If this is explicitly a continuation or refinement of the exact same task, modify the existing plan while cleaning up outdated or irrelevant sections
2974
+ 4. Continue on with the plan process and most importantly you should always edit the plan file one way or the other before calling ${ExitPlanModeV2Tool.name}
2975
+
2976
2976
  Treat this as a fresh planning session. Do not assume the existing plan is relevant without evaluating it first.`;
2977
2977
  return wrapMessagesInSystemReminder([
2978
2978
  createUserMessage({ content, isMeta: true }),
@@ -2982,8 +2982,8 @@ Treat this as a fresh planning session. Do not assume the existing plan is relev
2982
2982
  const planReference = attachment.planExists
2983
2983
  ? ` The plan file is located at ${attachment.planFilePath} if you need to reference it.`
2984
2984
  : '';
2985
- const content = `## Exited Plan Mode
2986
-
2985
+ const content = `## Exited Plan Mode
2986
+
2987
2987
  You have exited plan mode. You can now make edits, run tools, and take actions.${planReference}`;
2988
2988
  return wrapMessagesInSystemReminder([
2989
2989
  createUserMessage({ content, isMeta: true }),
@@ -2993,8 +2993,8 @@ You have exited plan mode. You can now make edits, run tools, and take actions.$
2993
2993
  return getAutoModeInstructions(attachment);
2994
2994
  }
2995
2995
  case 'auto_mode_exit': {
2996
- const content = `## Exited Auto Mode
2997
-
2996
+ const content = `## Exited Auto Mode
2997
+
2998
2998
  You have exited auto mode. The user may now want to interact more directly. You should ask clarifying questions when the approach is ambiguous rather than making assumptions.`;
2999
2999
  return wrapMessagesInSystemReminder([
3000
3000
  createUserMessage({ content, isMeta: true }),