@iaforged/context-code 1.3.5 → 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 (1913) 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/plugin/BrowseMarketplace.js +6 -0
  14. package/dist/src/commands/security-review.js +190 -190
  15. package/dist/src/commands/swarm-auto/swarmAuto.js +2 -2
  16. package/dist/src/commands/terminalSetup/terminalSetup.js +24 -24
  17. package/dist/src/commands.js +2 -0
  18. package/dist/src/components/PromptInput/PromptInput.js +16 -0
  19. package/dist/src/components/PromptInput/PromptInputFooter.js +17 -2
  20. package/dist/src/components/PromptInput/PromptInputQueuedCommands.js +3 -3
  21. package/dist/src/components/Spinner.js +3 -0
  22. package/dist/src/components/agents/agentFileUtils.js +6 -6
  23. package/dist/src/components/agents/generateAgent.js +92 -92
  24. package/dist/src/components/design-system/FuzzyPicker.js +3 -0
  25. package/dist/src/components/grove/Grove.js +10 -10
  26. package/dist/src/components/messages/CollapsedReadSearchContent.js +3 -0
  27. package/dist/src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.js +8 -8
  28. package/dist/src/components/permissions/hooks.js +5 -5
  29. package/dist/src/constants/outputStyles.js +83 -83
  30. package/dist/src/constants/prompts.js +123 -123
  31. package/dist/src/coordinator/coordinatorMode.js +252 -252
  32. package/dist/src/core/agents/legacy/cliAdapter.impl.js +62 -0
  33. package/dist/src/core/agents/legacy/deps.js +12 -0
  34. package/dist/src/core/agents/legacy/orchestrateCliAdapter.impl.js +2 -0
  35. package/dist/src/core/agents/legacy/services/mcp/config.js +1 -0
  36. package/dist/src/core/agents/legacy/services/orchestration/index.js +1 -0
  37. package/dist/src/core/agents/legacy/services/sessionMemory/sessionMemory.js +1 -0
  38. package/dist/src/core/agents/legacy/storeCliAdapter.impl.js +2 -0
  39. package/dist/src/core/agents/legacy/utils/activityManager.js +1 -0
  40. package/dist/src/core/agents/legacy/utils/debug.js +1 -0
  41. package/dist/src/core/agents/legacy/utils/messages.js +1 -0
  42. package/dist/src/core/agents/legacy/utils/model/providerCatalog.js +1 -0
  43. package/dist/src/core/agents/legacy/utils/model/providerProfiles.js +1 -0
  44. package/dist/src/core/agents/legacy/utils/model/providerWorkspaces.js +1 -0
  45. package/dist/src/core/agents/legacy/utils/orchestration/store/index.js +1 -0
  46. package/dist/src/core/agents/legacy/utils/orchestration/store/types.js +1 -0
  47. package/dist/src/core/agents/legacy/utils/secureStorage/index.js +1 -0
  48. package/dist/src/core/agents/orchestrateCliAdapter.js +1 -0
  49. package/dist/src/core/agents/storeCliAdapter.js +1 -0
  50. package/dist/src/core/assistant/legacy/debugCliAdapter.js +1 -0
  51. package/dist/src/core/assistant/legacy/teleportApiCliAdapter.js +1 -0
  52. package/dist/src/core/auth/legacy/bootstrap/state.js +1 -0
  53. package/dist/src/core/auth/legacy/deps.js +25 -0
  54. package/dist/src/core/auth/legacy/hooks/useMainLoopModel.js +1 -0
  55. package/dist/src/core/auth/legacy/loginCliAdapter.impl.js +16 -0
  56. package/dist/src/core/auth/legacy/loginCommandCliAdapter.impl.js +7 -0
  57. package/dist/src/core/auth/legacy/logoutCliAdapter.impl.js +21 -0
  58. package/dist/src/core/auth/legacy/logoutCommandCliAdapter.impl.js +2 -0
  59. package/dist/src/core/auth/legacy/openaiLoginCliAdapter.impl.js +9 -0
  60. package/dist/src/core/auth/legacy/privacySettingsCliAdapter.impl.js +7 -0
  61. package/dist/src/core/auth/legacy/services/analytics/growthbook.js +1 -0
  62. package/dist/src/core/auth/legacy/services/analytics/index.js +1 -0
  63. package/dist/src/core/auth/legacy/services/api/grove.js +1 -0
  64. package/dist/src/core/auth/legacy/services/policyLimits/index.js +1 -0
  65. package/dist/src/core/auth/legacy/services/remoteManagedSettings/index.js +1 -0
  66. package/dist/src/core/auth/legacy/subscriberCliAdapter.impl.js +2 -0
  67. package/dist/src/core/auth/legacy/utils/auth.js +1 -0
  68. package/dist/src/core/auth/legacy/utils/betas.js +1 -0
  69. package/dist/src/core/auth/legacy/utils/config.js +1 -0
  70. package/dist/src/core/auth/legacy/utils/envUtils.js +1 -0
  71. package/dist/src/core/auth/legacy/utils/gracefulShutdown.js +1 -0
  72. package/dist/src/core/auth/legacy/utils/messages.js +1 -0
  73. package/dist/src/core/auth/legacy/utils/model/providerSwitch.js +1 -0
  74. package/dist/src/core/auth/legacy/utils/model/providers.js +1 -0
  75. package/dist/src/core/auth/legacy/utils/permissions/bypassPermissionsKillswitch.js +1 -0
  76. package/dist/src/core/auth/legacy/utils/secureStorage/index.js +1 -0
  77. package/dist/src/core/auth/legacy/utils/telemetry/instrumentation.js +1 -0
  78. package/dist/src/core/auth/legacy/utils/toolSchemaCache.js +1 -0
  79. package/dist/src/core/auth/legacy/utils/user.js +1 -0
  80. package/dist/src/core/auth/loginCommandCliAdapter.js +1 -0
  81. package/dist/src/core/auth/logoutCommandCliAdapter.js +1 -0
  82. package/dist/src/core/auth/openaiLoginCliAdapter.js +1 -0
  83. package/dist/src/core/auth/openaiLoginCore.js +21 -0
  84. package/dist/src/core/auth/privacySettingsCliAdapter.js +1 -0
  85. package/dist/src/core/auth/privacySettingsCore.js +10 -0
  86. package/dist/src/core/auth/subscriberCliAdapter.js +1 -0
  87. package/dist/src/core/bridge/cliAdapter.js +3 -0
  88. package/dist/src/core/bridge/legacy/bootstrap/state.js +1 -0
  89. package/dist/src/core/bridge/legacy/cliAdapter.impl.js +11 -0
  90. package/dist/src/core/bridge/legacy/context/overlayContext.js +1 -0
  91. package/dist/src/core/bridge/legacy/services/analytics/datadog.js +1 -0
  92. package/dist/src/core/bridge/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  93. package/dist/src/core/bridge/legacy/services/analytics/growthbook.js +1 -0
  94. package/dist/src/core/bridge/legacy/services/analytics/index.js +1 -0
  95. package/dist/src/core/bridge/legacy/services/api/emptyUsage.js +1 -0
  96. package/dist/src/core/bridge/legacy/services/oauth/client.js +1 -0
  97. package/dist/src/core/bridge/legacy/services/policyLimits/index.js +1 -0
  98. package/dist/src/core/bridge/legacy/sharedCliAdapter.impl.js +16 -0
  99. package/dist/src/core/bridge/legacy/state/AppState.js +1 -0
  100. package/dist/src/core/bridge/legacy/utils/auth.js +1 -0
  101. package/dist/src/core/bridge/legacy/utils/bundledMode.js +1 -0
  102. package/dist/src/core/bridge/legacy/utils/cleanupRegistry.js +1 -0
  103. package/dist/src/core/bridge/legacy/utils/concurrentSessions.js +1 -0
  104. package/dist/src/core/bridge/legacy/utils/config.js +1 -0
  105. package/dist/src/core/bridge/legacy/utils/controlMessageCompat.js +1 -0
  106. package/dist/src/core/bridge/legacy/utils/debug.js +1 -0
  107. package/dist/src/core/bridge/legacy/utils/detectRepository.js +1 -0
  108. package/dist/src/core/bridge/legacy/utils/diagLogs.js +1 -0
  109. package/dist/src/core/bridge/legacy/utils/displayTags.js +1 -0
  110. package/dist/src/core/bridge/legacy/utils/envUtils.js +1 -0
  111. package/dist/src/core/bridge/legacy/utils/errors.js +1 -0
  112. package/dist/src/core/bridge/legacy/utils/format.js +1 -0
  113. package/dist/src/core/bridge/legacy/utils/getWorktreePathsPortable.js +1 -0
  114. package/dist/src/core/bridge/legacy/utils/git.js +1 -0
  115. package/dist/src/core/bridge/legacy/utils/hooks.js +1 -0
  116. package/dist/src/core/bridge/legacy/utils/imageResizer.js +1 -0
  117. package/dist/src/core/bridge/legacy/utils/intl.js +1 -0
  118. package/dist/src/core/bridge/legacy/utils/lazySchema.js +1 -0
  119. package/dist/src/core/bridge/legacy/utils/log.js +1 -0
  120. package/dist/src/core/bridge/legacy/utils/messages/mappers.js +1 -0
  121. package/dist/src/core/bridge/legacy/utils/messages.js +1 -0
  122. package/dist/src/core/bridge/legacy/utils/model/model.js +1 -0
  123. package/dist/src/core/bridge/legacy/utils/permissions/PermissionMode.js +1 -0
  124. package/dist/src/core/bridge/legacy/utils/permissions/PermissionUpdateSchema.js +1 -0
  125. package/dist/src/core/bridge/legacy/utils/privacyLevel.js +1 -0
  126. package/dist/src/core/bridge/legacy/utils/secureStorage/index.js +1 -0
  127. package/dist/src/core/bridge/legacy/utils/semver.js +1 -0
  128. package/dist/src/core/bridge/legacy/utils/sessionIngressAuth.js +1 -0
  129. package/dist/src/core/bridge/legacy/utils/sessionState.js +1 -0
  130. package/dist/src/core/bridge/legacy/utils/sessionStorage.js +1 -0
  131. package/dist/src/core/bridge/legacy/utils/sessionStoragePortable.js +1 -0
  132. package/dist/src/core/bridge/legacy/utils/sessionTitle.js +1 -0
  133. package/dist/src/core/bridge/legacy/utils/sinks.js +1 -0
  134. package/dist/src/core/bridge/legacy/utils/sleep.js +1 -0
  135. package/dist/src/core/bridge/legacy/utils/slowOperations.js +1 -0
  136. package/dist/src/core/bridge/legacy/utils/teleport/api.js +1 -0
  137. package/dist/src/core/bridge/legacy/utils/words.js +1 -0
  138. package/dist/src/core/bridge/legacy/utils/worktree.js +1 -0
  139. package/dist/src/core/bridge/runtime.js +34 -0
  140. package/dist/src/core/bridge/sharedCliAdapter.js +1 -0
  141. package/dist/src/core/buddy/legacy/appStateCliAdapter.js +1 -0
  142. package/dist/src/core/buddy/legacy/appStateStoreCliAdapter.js +1 -0
  143. package/dist/src/core/buddy/legacy/attachmentsCliAdapter.js +1 -0
  144. package/dist/src/core/buddy/legacy/configCliAdapter.js +1 -0
  145. package/dist/src/core/buddy/legacy/fullscreenCliAdapter.js +1 -0
  146. package/dist/src/core/buddy/legacy/notificationsCliAdapter.js +1 -0
  147. package/dist/src/core/buddy/legacy/themeCliAdapter.js +1 -0
  148. package/dist/src/core/buddy/legacy/thinkingCliAdapter.js +1 -0
  149. package/dist/src/core/buddy/legacy/useTerminalSizeCliAdapter.js +1 -0
  150. package/dist/src/core/cli/autoModeCliAdapter.js +1 -0
  151. package/dist/src/core/cli/commandPromptCliAdapter.js +6 -0
  152. package/dist/src/core/cli/legacy/autoModeCliAdapter.impl.js +7 -0
  153. package/dist/src/core/cli/legacy/bootstrap/state.js +1 -0
  154. package/dist/src/core/cli/legacy/claudeDesktopCliAdapter.js +1 -0
  155. package/dist/src/core/cli/legacy/cronJitterConfigCliAdapter.js +1 -0
  156. package/dist/src/core/cli/legacy/cronSchedulerCliAdapter.js +1 -0
  157. package/dist/src/core/cli/legacy/extractMemoriesCliAdapter.js +1 -0
  158. package/dist/src/core/cli/legacy/hooks/useManagePlugins.js +1 -0
  159. package/dist/src/core/cli/legacy/loadPluginHooksCliAdapter.js +1 -0
  160. package/dist/src/core/cli/legacy/modelListCliAdapter.impl.js +4 -0
  161. package/dist/src/core/cli/legacy/ndjsonCliAdapter.js +1 -0
  162. package/dist/src/core/cli/legacy/pluginStartupCheckCliAdapter.js +1 -0
  163. package/dist/src/core/cli/legacy/printCliAdapter.js +17 -0
  164. package/dist/src/core/cli/legacy/projectsBridgeCliAdapter.impl.js +31 -0
  165. package/dist/src/core/cli/legacy/providerCliAdapter.impl.js +4 -0
  166. package/dist/src/core/cli/legacy/remoteIOCliAdapter.js +13 -0
  167. package/dist/src/core/cli/legacy/services/analytics/index.js +1 -0
  168. package/dist/src/core/cli/legacy/services/api/errorUtils.js +1 -0
  169. package/dist/src/core/cli/legacy/services/api/firstTokenDate.js +1 -0
  170. package/dist/src/core/cli/legacy/services/mcp/MCPConnectionManager.js +1 -0
  171. package/dist/src/core/cli/legacy/services/mcp/auth.js +1 -0
  172. package/dist/src/core/cli/legacy/services/mcp/client.js +1 -0
  173. package/dist/src/core/cli/legacy/services/mcp/config.js +1 -0
  174. package/dist/src/core/cli/legacy/services/mcp/types.js +1 -0
  175. package/dist/src/core/cli/legacy/services/mcp/utils.js +1 -0
  176. package/dist/src/core/cli/legacy/services/oauth/client.js +1 -0
  177. package/dist/src/core/cli/legacy/services/oauth/geminiCli.js +1 -0
  178. package/dist/src/core/cli/legacy/services/oauth/getOauthProfile.js +1 -0
  179. package/dist/src/core/cli/legacy/services/oauth/index.js +1 -0
  180. package/dist/src/core/cli/legacy/services/oauth/types.js +1 -0
  181. package/dist/src/core/cli/legacy/services/plugins/pluginCliCommands.js +1 -0
  182. package/dist/src/core/cli/legacy/state/AppState.js +1 -0
  183. package/dist/src/core/cli/legacy/state/onChangeAppState.js +1 -0
  184. package/dist/src/core/cli/legacy/structuredIOCliAdapter.js +11 -0
  185. package/dist/src/core/cli/legacy/telemetryCliAdapter.js +1 -0
  186. package/dist/src/core/cli/legacy/udsMessagingCliAdapter.js +1 -0
  187. package/dist/src/core/cli/legacy/utils/CircularBuffer.js +1 -0
  188. package/dist/src/core/cli/legacy/utils/auth.js +1 -0
  189. package/dist/src/core/cli/legacy/utils/config.js +1 -0
  190. package/dist/src/core/cli/legacy/utils/cwd.js +1 -0
  191. package/dist/src/core/cli/legacy/utils/debug.js +1 -0
  192. package/dist/src/core/cli/legacy/utils/diagLogs.js +1 -0
  193. package/dist/src/core/cli/legacy/utils/envUtils.js +1 -0
  194. package/dist/src/core/cli/legacy/utils/errors.js +1 -0
  195. package/dist/src/core/cli/legacy/utils/gracefulShutdown.js +1 -0
  196. package/dist/src/core/cli/legacy/utils/json.js +1 -0
  197. package/dist/src/core/cli/legacy/utils/log.js +1 -0
  198. package/dist/src/core/cli/legacy/utils/model/providerBaseUrls.js +1 -0
  199. package/dist/src/core/cli/legacy/utils/model/providerProfiles.js +1 -0
  200. package/dist/src/core/cli/legacy/utils/model/providerProfilesDb.js +1 -0
  201. package/dist/src/core/cli/legacy/utils/model/providers.js +1 -0
  202. package/dist/src/core/cli/legacy/utils/mtls.js +1 -0
  203. package/dist/src/core/cli/legacy/utils/platform.js +1 -0
  204. package/dist/src/core/cli/legacy/utils/plugins/cacheUtils.js +1 -0
  205. package/dist/src/core/cli/legacy/utils/plugins/installCounts.js +1 -0
  206. package/dist/src/core/cli/legacy/utils/plugins/installedPluginsManager.js +1 -0
  207. package/dist/src/core/cli/legacy/utils/plugins/marketplaceHelpers.js +1 -0
  208. package/dist/src/core/cli/legacy/utils/plugins/marketplaceManager.js +1 -0
  209. package/dist/src/core/cli/legacy/utils/plugins/mcpPluginIntegration.js +1 -0
  210. package/dist/src/core/cli/legacy/utils/plugins/parseMarketplaceInput.js +1 -0
  211. package/dist/src/core/cli/legacy/utils/plugins/pluginIdentifier.js +1 -0
  212. package/dist/src/core/cli/legacy/utils/plugins/pluginLoader.js +1 -0
  213. package/dist/src/core/cli/legacy/utils/plugins/schemas.js +1 -0
  214. package/dist/src/core/cli/legacy/utils/plugins/validatePlugin.js +1 -0
  215. package/dist/src/core/cli/legacy/utils/proxy.js +1 -0
  216. package/dist/src/core/cli/legacy/utils/secureStorage/index.js +1 -0
  217. package/dist/src/core/cli/legacy/utils/sessionActivity.js +1 -0
  218. package/dist/src/core/cli/legacy/utils/sessionIngressAuth.js +1 -0
  219. package/dist/src/core/cli/legacy/utils/sessionState.js +1 -0
  220. package/dist/src/core/cli/legacy/utils/settings/settings.js +1 -0
  221. package/dist/src/core/cli/legacy/utils/sleep.js +1 -0
  222. package/dist/src/core/cli/legacy/utils/slowOperations.js +1 -0
  223. package/dist/src/core/cli/legacy/utils/status.js +1 -0
  224. package/dist/src/core/cli/legacy/utils/stringUtils.js +1 -0
  225. package/dist/src/core/cli/legacy/utils/userAgent.js +1 -0
  226. package/dist/src/core/cli/modelListCliAdapter.js +1 -0
  227. package/dist/src/core/cli/projectsBridgeCliAdapter.js +1 -0
  228. package/dist/src/core/cli/providerCliAdapter.js +1 -0
  229. package/dist/src/core/cli/runtime/headlessPrelude.js +116 -0
  230. package/dist/src/core/cli/runtime/mcpControlFlow.js +263 -0
  231. package/dist/src/core/cli/runtime/mcpLifecycle.js +106 -0
  232. package/dist/src/core/cli/runtime/permissionFlow.js +58 -0
  233. package/dist/src/core/cli/runtime/printDependencies.js +81 -0
  234. package/dist/src/core/cli/runtime/sessionLifecycle.js +199 -0
  235. package/dist/src/core/cli/runtime/sessionStateEmitters.js +10 -0
  236. package/dist/src/core/cli/runtime/structuredIORuntime.js +175 -0
  237. package/dist/src/core/cli/runtime/updateRuntime.js +292 -0
  238. package/dist/src/core/commands/commitCore.js +53 -0
  239. package/dist/src/core/commands/commitPushPrCore.js +105 -0
  240. package/dist/src/core/commands/promptExecution.js +20 -0
  241. package/dist/src/core/commands/securityReviewCore.js +199 -0
  242. package/dist/src/core/components/legacy/bootstrap/state.js +1 -0
  243. package/dist/src/core/components/legacy/bootstrap/state.js.js +2 -0
  244. package/dist/src/core/components/legacy/context/QueuedMessageContext.js +1 -0
  245. package/dist/src/core/components/legacy/context/QueuedMessageContext.js.js +2 -0
  246. package/dist/src/core/components/legacy/context/fpsMetrics.js +1 -0
  247. package/dist/src/core/components/legacy/context/fpsMetrics.js.js +2 -0
  248. package/dist/src/core/components/legacy/context/modalContext.js +1 -0
  249. package/dist/src/core/components/legacy/context/modalContext.js.js +2 -0
  250. package/dist/src/core/components/legacy/context/notifications.js +1 -0
  251. package/dist/src/core/components/legacy/context/notifications.js.js +2 -0
  252. package/dist/src/core/components/legacy/context/overlayContext.js +1 -0
  253. package/dist/src/core/components/legacy/context/overlayContext.js.js +2 -0
  254. package/dist/src/core/components/legacy/context/promptOverlayContext.js +1 -0
  255. package/dist/src/core/components/legacy/context/promptOverlayContext.js.js +2 -0
  256. package/dist/src/core/components/legacy/context/stats.js +1 -0
  257. package/dist/src/core/components/legacy/context/stats.js.js +2 -0
  258. package/dist/src/core/components/legacy/context/voice.js +1 -0
  259. package/dist/src/core/components/legacy/context/voice.js.js +2 -0
  260. package/dist/src/core/components/legacy/hooks/fileSuggestions.js +1 -0
  261. package/dist/src/core/components/legacy/hooks/fileSuggestions.js.js +2 -0
  262. package/dist/src/core/components/legacy/hooks/permissionLogging.js +1 -0
  263. package/dist/src/core/components/legacy/hooks/renderPlaceholder.js +1 -0
  264. package/dist/src/core/components/legacy/hooks/renderPlaceholder.js.js +2 -0
  265. package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js +1 -0
  266. package/dist/src/core/components/legacy/hooks/useApiKeyVerification.js.js +2 -0
  267. package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js +1 -0
  268. package/dist/src/core/components/legacy/hooks/useArrowKeyHistory.js.js +2 -0
  269. package/dist/src/core/components/legacy/hooks/useCanUseTool.js +1 -0
  270. package/dist/src/core/components/legacy/hooks/useCommandQueue.js +1 -0
  271. package/dist/src/core/components/legacy/hooks/useCommandQueue.js.js +2 -0
  272. package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js +1 -0
  273. package/dist/src/core/components/legacy/hooks/useCopyOnSelect.js.js +2 -0
  274. package/dist/src/core/components/legacy/hooks/useDoublePress.js +1 -0
  275. package/dist/src/core/components/legacy/hooks/useDoublePress.js.js +2 -0
  276. package/dist/src/core/components/legacy/hooks/useElapsedTime.js +1 -0
  277. package/dist/src/core/components/legacy/hooks/useElapsedTime.js.js +2 -0
  278. package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js +1 -0
  279. package/dist/src/core/components/legacy/hooks/useExitOnCtrlCDWithKeybindings.js.js +2 -0
  280. package/dist/src/core/components/legacy/hooks/useHistorySearch.js +1 -0
  281. package/dist/src/core/components/legacy/hooks/useHistorySearch.js.js +2 -0
  282. package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js +1 -0
  283. package/dist/src/core/components/legacy/hooks/useIdeConnectionStatus.js.js +2 -0
  284. package/dist/src/core/components/legacy/hooks/useIdeSelection.js +1 -0
  285. package/dist/src/core/components/legacy/hooks/useIdeSelection.js.js +2 -0
  286. package/dist/src/core/components/legacy/hooks/useInputBuffer.js +1 -0
  287. package/dist/src/core/components/legacy/hooks/useInputBuffer.js.js +2 -0
  288. package/dist/src/core/components/legacy/hooks/useMainLoopModel.js +1 -0
  289. package/dist/src/core/components/legacy/hooks/useMainLoopModel.js.js +2 -0
  290. package/dist/src/core/components/legacy/hooks/useManagePlugins.js +1 -0
  291. package/dist/src/core/components/legacy/hooks/useMemoryUsage.js +1 -0
  292. package/dist/src/core/components/legacy/hooks/useMemoryUsage.js.js +2 -0
  293. package/dist/src/core/components/legacy/hooks/usePasteHandler.js +1 -0
  294. package/dist/src/core/components/legacy/hooks/usePasteHandler.js.js +2 -0
  295. package/dist/src/core/components/legacy/hooks/usePrStatus.js +1 -0
  296. package/dist/src/core/components/legacy/hooks/usePrStatus.js.js +2 -0
  297. package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js +1 -0
  298. package/dist/src/core/components/legacy/hooks/usePromptSuggestion.js.js +2 -0
  299. package/dist/src/core/components/legacy/hooks/useSearchInput.js +1 -0
  300. package/dist/src/core/components/legacy/hooks/useSearchInput.js.js +2 -0
  301. package/dist/src/core/components/legacy/hooks/useSettings.js +1 -0
  302. package/dist/src/core/components/legacy/hooks/useSettings.js.js +2 -0
  303. package/dist/src/core/components/legacy/hooks/useSettingsChange.js +1 -0
  304. package/dist/src/core/components/legacy/hooks/useSwarmPermissionPoller.js +1 -0
  305. package/dist/src/core/components/legacy/hooks/useTasksV2.js +1 -0
  306. package/dist/src/core/components/legacy/hooks/useTasksV2.js.js +2 -0
  307. package/dist/src/core/components/legacy/hooks/useTerminalSize.js +1 -0
  308. package/dist/src/core/components/legacy/hooks/useTerminalSize.js.js +2 -0
  309. package/dist/src/core/components/legacy/hooks/useTimeout.js +1 -0
  310. package/dist/src/core/components/legacy/hooks/useTypeahead.js +1 -0
  311. package/dist/src/core/components/legacy/hooks/useTypeahead.js.js +2 -0
  312. package/dist/src/core/components/legacy/hooks/useUpdateNotification.js +1 -0
  313. package/dist/src/core/components/legacy/hooks/useUpdateNotification.js.js +2 -0
  314. package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js +1 -0
  315. package/dist/src/core/components/legacy/hooks/useVoiceEnabled.js.js +2 -0
  316. package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
  317. package/dist/src/core/components/legacy/services/PromptSuggestion/promptSuggestion.js.js +2 -0
  318. package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js +1 -0
  319. package/dist/src/core/components/legacy/services/PromptSuggestion/speculation.js.js +2 -0
  320. package/dist/src/core/components/legacy/services/analytics/growthbook.js +1 -0
  321. package/dist/src/core/components/legacy/services/analytics/growthbook.js.js +2 -0
  322. package/dist/src/core/components/legacy/services/analytics/index.js +1 -0
  323. package/dist/src/core/components/legacy/services/analytics/index.js.js +2 -0
  324. package/dist/src/core/components/legacy/services/api/claude.js +1 -0
  325. package/dist/src/core/components/legacy/services/api/claude.js.js +2 -0
  326. package/dist/src/core/components/legacy/services/api/errorUtils.js +1 -0
  327. package/dist/src/core/components/legacy/services/api/errorUtils.js.js +2 -0
  328. package/dist/src/core/components/legacy/services/api/errors.js +1 -0
  329. package/dist/src/core/components/legacy/services/api/errors.js.js +2 -0
  330. package/dist/src/core/components/legacy/services/api/overageCreditGrant.js +1 -0
  331. package/dist/src/core/components/legacy/services/api/overageCreditGrant.js.js +2 -0
  332. package/dist/src/core/components/legacy/services/api/referral.js +1 -0
  333. package/dist/src/core/components/legacy/services/api/referral.js.js +2 -0
  334. package/dist/src/core/components/legacy/services/api/usage.js +1 -0
  335. package/dist/src/core/components/legacy/services/api/usage.js.js +2 -0
  336. package/dist/src/core/components/legacy/services/claudeAiLimits.js +1 -0
  337. package/dist/src/core/components/legacy/services/claudeAiLimits.js.js +2 -0
  338. package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js +1 -0
  339. package/dist/src/core/components/legacy/services/claudeAiLimitsHook.js.js +2 -0
  340. package/dist/src/core/components/legacy/services/compact/autoCompact.js +1 -0
  341. package/dist/src/core/components/legacy/services/compact/autoCompact.js.js +2 -0
  342. package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js +1 -0
  343. package/dist/src/core/components/legacy/services/compact/sessionMemoryCompact.js.js +2 -0
  344. package/dist/src/core/components/legacy/services/compact/snipCompact.js +1 -0
  345. package/dist/src/core/components/legacy/services/compact/snipCompact.js.js +2 -0
  346. package/dist/src/core/components/legacy/services/compact/snipProjection.js +1 -0
  347. package/dist/src/core/components/legacy/services/compact/snipProjection.js.js +2 -0
  348. package/dist/src/core/components/legacy/services/contextCollapse/index.js +1 -0
  349. package/dist/src/core/components/legacy/services/contextCollapse/index.js.js +2 -0
  350. package/dist/src/core/components/legacy/services/diagnosticTracking.js +1 -0
  351. package/dist/src/core/components/legacy/services/diagnosticTracking.js.js +2 -0
  352. package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js +1 -0
  353. package/dist/src/core/components/legacy/services/mcp/channelAllowlist.js.js +2 -0
  354. package/dist/src/core/components/legacy/services/mcp/channelNotification.js +1 -0
  355. package/dist/src/core/components/legacy/services/mcp/channelNotification.js.js +2 -0
  356. package/dist/src/core/components/legacy/services/mcp/config.js +1 -0
  357. package/dist/src/core/components/legacy/services/mcp/config.js.js +2 -0
  358. package/dist/src/core/components/legacy/services/mcp/types.js +1 -0
  359. package/dist/src/core/components/legacy/services/mcp/types.js.js +2 -0
  360. package/dist/src/core/components/legacy/services/notifier.js +1 -0
  361. package/dist/src/core/components/legacy/services/notifier.js.js +2 -0
  362. package/dist/src/core/components/legacy/services/oauth/client.js +1 -0
  363. package/dist/src/core/components/legacy/services/oauth/client.js.js +2 -0
  364. package/dist/src/core/components/legacy/services/oauth/geminiCli.js +1 -0
  365. package/dist/src/core/components/legacy/services/oauth/geminiCli.js.js +2 -0
  366. package/dist/src/core/components/legacy/services/oauth/index.js +1 -0
  367. package/dist/src/core/components/legacy/services/oauth/index.js.js +2 -0
  368. package/dist/src/core/components/legacy/services/oauth/types.js +1 -0
  369. package/dist/src/core/components/legacy/services/oauth/types.js.js +2 -0
  370. package/dist/src/core/components/legacy/services/policyLimits/index.js +1 -0
  371. package/dist/src/core/components/legacy/services/policyLimits/index.js.js +2 -0
  372. package/dist/src/core/components/legacy/state/AppState.js +1 -0
  373. package/dist/src/core/components/legacy/state/AppState.js.js +2 -0
  374. package/dist/src/core/components/legacy/state/onChangeAppState.js +1 -0
  375. package/dist/src/core/components/legacy/state/onChangeAppState.js.js +2 -0
  376. package/dist/src/core/components/legacy/state/selectors.js +1 -0
  377. package/dist/src/core/components/legacy/state/selectors.js.js +2 -0
  378. package/dist/src/core/components/legacy/state/teammateViewHelpers.js +1 -0
  379. package/dist/src/core/components/legacy/state/teammateViewHelpers.js.js +2 -0
  380. package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js +1 -0
  381. package/dist/src/core/components/legacy/tasks/BackgroundTaskStatus.js.js +2 -0
  382. package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js +1 -0
  383. package/dist/src/core/components/legacy/tasks/BackgroundTasksDialog.js.js +2 -0
  384. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +1 -0
  385. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +2 -0
  386. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  387. package/dist/src/core/components/legacy/tasks/InProcessTeammateTask/types.js.js +2 -0
  388. package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  389. package/dist/src/core/components/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +2 -0
  390. package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  391. package/dist/src/core/components/legacy/tasks/LocalShellTask/LocalShellTask.js.js +2 -0
  392. package/dist/src/core/components/legacy/tasks/taskStatusUtils.js +1 -0
  393. package/dist/src/core/components/legacy/tasks/taskStatusUtils.js.js +2 -0
  394. package/dist/src/core/components/legacy/tasks/types.js +1 -0
  395. package/dist/src/core/components/legacy/tasks/types.js.js +2 -0
  396. package/dist/src/core/components/legacy/utils/Cursor.js +1 -0
  397. package/dist/src/core/components/legacy/utils/Cursor.js.js +2 -0
  398. package/dist/src/core/components/legacy/utils/activityManager.js +1 -0
  399. package/dist/src/core/components/legacy/utils/activityManager.js.js +2 -0
  400. package/dist/src/core/components/legacy/utils/advisor.js +1 -0
  401. package/dist/src/core/components/legacy/utils/advisor.js.js +2 -0
  402. package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js +1 -0
  403. package/dist/src/core/components/legacy/utils/agentSwarmsEnabled.js.js +2 -0
  404. package/dist/src/core/components/legacy/utils/analyzeContext.js +1 -0
  405. package/dist/src/core/components/legacy/utils/analyzeContext.js.js +2 -0
  406. package/dist/src/core/components/legacy/utils/array.js +1 -0
  407. package/dist/src/core/components/legacy/utils/array.js.js +2 -0
  408. package/dist/src/core/components/legacy/utils/attachments.js +1 -0
  409. package/dist/src/core/components/legacy/utils/attachments.js.js +2 -0
  410. package/dist/src/core/components/legacy/utils/auth.js +1 -0
  411. package/dist/src/core/components/legacy/utils/auth.js.js +2 -0
  412. package/dist/src/core/components/legacy/utils/authPortable.js +1 -0
  413. package/dist/src/core/components/legacy/utils/authPortable.js.js +2 -0
  414. package/dist/src/core/components/legacy/utils/autoUpdater.js +1 -0
  415. package/dist/src/core/components/legacy/utils/autoUpdater.js.js +2 -0
  416. package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js +1 -0
  417. package/dist/src/core/components/legacy/utils/awsAuthStatusManager.js.js +2 -0
  418. package/dist/src/core/components/legacy/utils/browser.js +1 -0
  419. package/dist/src/core/components/legacy/utils/browser.js.js +2 -0
  420. package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js +1 -0
  421. package/dist/src/core/components/legacy/utils/claudeInChrome/setup.js.js +2 -0
  422. package/dist/src/core/components/legacy/utils/claudemd.js +1 -0
  423. package/dist/src/core/components/legacy/utils/claudemd.js.js +2 -0
  424. package/dist/src/core/components/legacy/utils/cliHighlight.js +1 -0
  425. package/dist/src/core/components/legacy/utils/cliHighlight.js.js +2 -0
  426. package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js +1 -0
  427. package/dist/src/core/components/legacy/utils/collapseBackgroundBashNotifications.js.js +2 -0
  428. package/dist/src/core/components/legacy/utils/collapseHookSummaries.js +1 -0
  429. package/dist/src/core/components/legacy/utils/collapseHookSummaries.js.js +2 -0
  430. package/dist/src/core/components/legacy/utils/collapseReadSearch.js +1 -0
  431. package/dist/src/core/components/legacy/utils/collapseReadSearch.js.js +2 -0
  432. package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js +1 -0
  433. package/dist/src/core/components/legacy/utils/collapseTeammateShutdowns.js.js +2 -0
  434. package/dist/src/core/components/legacy/utils/config.js +1 -0
  435. package/dist/src/core/components/legacy/utils/config.js.js +2 -0
  436. package/dist/src/core/components/legacy/utils/context.js +1 -0
  437. package/dist/src/core/components/legacy/utils/context.js.js +2 -0
  438. package/dist/src/core/components/legacy/utils/contextSuggestions.js +1 -0
  439. package/dist/src/core/components/legacy/utils/contextSuggestions.js.js +2 -0
  440. package/dist/src/core/components/legacy/utils/cwd.js +1 -0
  441. package/dist/src/core/components/legacy/utils/cwd.js.js +2 -0
  442. package/dist/src/core/components/legacy/utils/debug.js +1 -0
  443. package/dist/src/core/components/legacy/utils/debug.js.js +2 -0
  444. package/dist/src/core/components/legacy/utils/desktopDeepLink.js +1 -0
  445. package/dist/src/core/components/legacy/utils/desktopDeepLink.js.js +2 -0
  446. package/dist/src/core/components/legacy/utils/detectRepository.js +1 -0
  447. package/dist/src/core/components/legacy/utils/detectRepository.js.js +2 -0
  448. package/dist/src/core/components/legacy/utils/diff.js +1 -0
  449. package/dist/src/core/components/legacy/utils/diff.js.js +2 -0
  450. package/dist/src/core/components/legacy/utils/directMemberMessage.js +1 -0
  451. package/dist/src/core/components/legacy/utils/directMemberMessage.js.js +2 -0
  452. package/dist/src/core/components/legacy/utils/displayTags.js +1 -0
  453. package/dist/src/core/components/legacy/utils/displayTags.js.js +2 -0
  454. package/dist/src/core/components/legacy/utils/doctorDiagnostic.js +1 -0
  455. package/dist/src/core/components/legacy/utils/doctorDiagnostic.js.js +2 -0
  456. package/dist/src/core/components/legacy/utils/editor.js +1 -0
  457. package/dist/src/core/components/legacy/utils/editor.js.js +2 -0
  458. package/dist/src/core/components/legacy/utils/effort.js +1 -0
  459. package/dist/src/core/components/legacy/utils/effort.js.js +2 -0
  460. package/dist/src/core/components/legacy/utils/env.js +1 -0
  461. package/dist/src/core/components/legacy/utils/env.js.js +2 -0
  462. package/dist/src/core/components/legacy/utils/envUtils.js +1 -0
  463. package/dist/src/core/components/legacy/utils/envUtils.js.js +2 -0
  464. package/dist/src/core/components/legacy/utils/errors.js +1 -0
  465. package/dist/src/core/components/legacy/utils/errors.js.js +2 -0
  466. package/dist/src/core/components/legacy/utils/extraUsage.js +1 -0
  467. package/dist/src/core/components/legacy/utils/extraUsage.js.js +2 -0
  468. package/dist/src/core/components/legacy/utils/fastMode.js +1 -0
  469. package/dist/src/core/components/legacy/utils/fastMode.js.js +2 -0
  470. package/dist/src/core/components/legacy/utils/file.js +1 -0
  471. package/dist/src/core/components/legacy/utils/file.js.js +2 -0
  472. package/dist/src/core/components/legacy/utils/format.js +1 -0
  473. package/dist/src/core/components/legacy/utils/format.js.js +2 -0
  474. package/dist/src/core/components/legacy/utils/fpsTracker.js +1 -0
  475. package/dist/src/core/components/legacy/utils/fpsTracker.js.js +2 -0
  476. package/dist/src/core/components/legacy/utils/fullscreen.js +1 -0
  477. package/dist/src/core/components/legacy/utils/fullscreen.js.js +2 -0
  478. package/dist/src/core/components/legacy/utils/getWorktreePaths.js +1 -0
  479. package/dist/src/core/components/legacy/utils/getWorktreePaths.js.js +2 -0
  480. package/dist/src/core/components/legacy/utils/ghPrStatus.js +1 -0
  481. package/dist/src/core/components/legacy/utils/ghPrStatus.js.js +2 -0
  482. package/dist/src/core/components/legacy/utils/git.js +1 -0
  483. package/dist/src/core/components/legacy/utils/git.js.js +2 -0
  484. package/dist/src/core/components/legacy/utils/gracefulShutdown.js +1 -0
  485. package/dist/src/core/components/legacy/utils/gracefulShutdown.js.js +2 -0
  486. package/dist/src/core/components/legacy/utils/groupToolUses.js +1 -0
  487. package/dist/src/core/components/legacy/utils/groupToolUses.js.js +2 -0
  488. package/dist/src/core/components/legacy/utils/handlePromptSubmit.js +1 -0
  489. package/dist/src/core/components/legacy/utils/handlePromptSubmit.js.js +2 -0
  490. package/dist/src/core/components/legacy/utils/hash.js +1 -0
  491. package/dist/src/core/components/legacy/utils/hash.js.js +2 -0
  492. package/dist/src/core/components/legacy/utils/heatmap.js +1 -0
  493. package/dist/src/core/components/legacy/utils/heatmap.js.js +2 -0
  494. package/dist/src/core/components/legacy/utils/highlightMatch.js +1 -0
  495. package/dist/src/core/components/legacy/utils/highlightMatch.js.js +2 -0
  496. package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js +1 -0
  497. package/dist/src/core/components/legacy/utils/hooks/fileChangedWatcher.js.js +2 -0
  498. package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js +1 -0
  499. package/dist/src/core/components/legacy/utils/hooks/skillImprovement.js.js +2 -0
  500. package/dist/src/core/components/legacy/utils/hooks.js +1 -0
  501. package/dist/src/core/components/legacy/utils/hooks.js.js +2 -0
  502. package/dist/src/core/components/legacy/utils/http.js +1 -0
  503. package/dist/src/core/components/legacy/utils/http.js.js +2 -0
  504. package/dist/src/core/components/legacy/utils/ide.js +1 -0
  505. package/dist/src/core/components/legacy/utils/ide.js.js +2 -0
  506. package/dist/src/core/components/legacy/utils/imagePaste.js +1 -0
  507. package/dist/src/core/components/legacy/utils/imagePaste.js.js +2 -0
  508. package/dist/src/core/components/legacy/utils/imageResizer.js +1 -0
  509. package/dist/src/core/components/legacy/utils/imageResizer.js.js +2 -0
  510. package/dist/src/core/components/legacy/utils/imageStore.js +1 -0
  511. package/dist/src/core/components/legacy/utils/imageStore.js.js +2 -0
  512. package/dist/src/core/components/legacy/utils/ink.js +1 -0
  513. package/dist/src/core/components/legacy/utils/ink.js.js +2 -0
  514. package/dist/src/core/components/legacy/utils/intl.js +1 -0
  515. package/dist/src/core/components/legacy/utils/intl.js.js +2 -0
  516. package/dist/src/core/components/legacy/utils/keyboardShortcuts.js +1 -0
  517. package/dist/src/core/components/legacy/utils/keyboardShortcuts.js.js +2 -0
  518. package/dist/src/core/components/legacy/utils/localInstaller.js +1 -0
  519. package/dist/src/core/components/legacy/utils/localInstaller.js.js +2 -0
  520. package/dist/src/core/components/legacy/utils/log.js +1 -0
  521. package/dist/src/core/components/legacy/utils/log.js.js +2 -0
  522. package/dist/src/core/components/legacy/utils/logoV2Utils.js +1 -0
  523. package/dist/src/core/components/legacy/utils/logoV2Utils.js.js +2 -0
  524. package/dist/src/core/components/legacy/utils/managedEnvConstants.js +1 -0
  525. package/dist/src/core/components/legacy/utils/managedEnvConstants.js.js +2 -0
  526. package/dist/src/core/components/legacy/utils/markdown.js +1 -0
  527. package/dist/src/core/components/legacy/utils/markdown.js.js +2 -0
  528. package/dist/src/core/components/legacy/utils/memoryFileDetection.js +1 -0
  529. package/dist/src/core/components/legacy/utils/memoryFileDetection.js.js +2 -0
  530. package/dist/src/core/components/legacy/utils/messageQueueManager.js +1 -0
  531. package/dist/src/core/components/legacy/utils/messageQueueManager.js.js +2 -0
  532. package/dist/src/core/components/legacy/utils/messages.js +1 -0
  533. package/dist/src/core/components/legacy/utils/messages.js.js +2 -0
  534. package/dist/src/core/components/legacy/utils/model/model.js +1 -0
  535. package/dist/src/core/components/legacy/utils/model/model.js.js +2 -0
  536. package/dist/src/core/components/legacy/utils/model/modelOptions.js +1 -0
  537. package/dist/src/core/components/legacy/utils/model/modelOptions.js.js +2 -0
  538. package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js +1 -0
  539. package/dist/src/core/components/legacy/utils/model/providerBaseUrls.js.js +2 -0
  540. package/dist/src/core/components/legacy/utils/model/providerCatalog.js +1 -0
  541. package/dist/src/core/components/legacy/utils/model/providerCatalog.js.js +2 -0
  542. package/dist/src/core/components/legacy/utils/model/providerModels.js +1 -0
  543. package/dist/src/core/components/legacy/utils/model/providerModels.js.js +2 -0
  544. package/dist/src/core/components/legacy/utils/model/providerProfiles.js +1 -0
  545. package/dist/src/core/components/legacy/utils/model/providerProfiles.js.js +2 -0
  546. package/dist/src/core/components/legacy/utils/model/providers.js +1 -0
  547. package/dist/src/core/components/legacy/utils/model/providers.js.js +2 -0
  548. package/dist/src/core/components/legacy/utils/nativeInstaller/index.js +1 -0
  549. package/dist/src/core/components/legacy/utils/nativeInstaller/index.js.js +2 -0
  550. package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js +1 -0
  551. package/dist/src/core/components/legacy/utils/nativeInstaller/packageManagers.js.js +2 -0
  552. package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js +1 -0
  553. package/dist/src/core/components/legacy/utils/permissions/PermissionMode.js.js +2 -0
  554. package/dist/src/core/components/legacy/utils/permissions/autoModeState.js +1 -0
  555. package/dist/src/core/components/legacy/utils/permissions/autoModeState.js.js +2 -0
  556. package/dist/src/core/components/legacy/utils/permissions/filesystem.js +1 -0
  557. package/dist/src/core/components/legacy/utils/permissions/filesystem.js.js +2 -0
  558. package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js +1 -0
  559. package/dist/src/core/components/legacy/utils/permissions/getNextPermissionMode.js.js +2 -0
  560. package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js +1 -0
  561. package/dist/src/core/components/legacy/utils/permissions/permissionSetup.js.js +2 -0
  562. package/dist/src/core/components/legacy/utils/platform.js +1 -0
  563. package/dist/src/core/components/legacy/utils/platform.js.js +2 -0
  564. package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js +1 -0
  565. package/dist/src/core/components/legacy/utils/plugins/installedPluginsManager.js.js +2 -0
  566. package/dist/src/core/components/legacy/utils/preflightChecks.js +1 -0
  567. package/dist/src/core/components/legacy/utils/preflightChecks.js.js +2 -0
  568. package/dist/src/core/components/legacy/utils/privacyLevel.js +1 -0
  569. package/dist/src/core/components/legacy/utils/privacyLevel.js.js +2 -0
  570. package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js +1 -0
  571. package/dist/src/core/components/legacy/utils/processUserInput/processUserInput.js.js +2 -0
  572. package/dist/src/core/components/legacy/utils/promptEditor.js +1 -0
  573. package/dist/src/core/components/legacy/utils/promptEditor.js.js +2 -0
  574. package/dist/src/core/components/legacy/utils/readEditContext.js +1 -0
  575. package/dist/src/core/components/legacy/utils/readEditContext.js.js +2 -0
  576. package/dist/src/core/components/legacy/utils/readFileInRange.js +1 -0
  577. package/dist/src/core/components/legacy/utils/readFileInRange.js.js +2 -0
  578. package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js +1 -0
  579. package/dist/src/core/components/legacy/utils/releaseNoteTranslations.js.js +2 -0
  580. package/dist/src/core/components/legacy/utils/releaseNotes.js +1 -0
  581. package/dist/src/core/components/legacy/utils/releaseNotes.js.js +2 -0
  582. package/dist/src/core/components/legacy/utils/renderOptions.js +1 -0
  583. package/dist/src/core/components/legacy/utils/renderOptions.js.js +2 -0
  584. package/dist/src/core/components/legacy/utils/ripgrep.js +1 -0
  585. package/dist/src/core/components/legacy/utils/ripgrep.js.js +2 -0
  586. package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  587. package/dist/src/core/components/legacy/utils/sandbox/sandbox-adapter.js.js +2 -0
  588. package/dist/src/core/components/legacy/utils/screenshotClipboard.js +1 -0
  589. package/dist/src/core/components/legacy/utils/screenshotClipboard.js.js +2 -0
  590. package/dist/src/core/components/legacy/utils/semver.js +1 -0
  591. package/dist/src/core/components/legacy/utils/semver.js.js +2 -0
  592. package/dist/src/core/components/legacy/utils/sessionStorage.js +1 -0
  593. package/dist/src/core/components/legacy/utils/sessionStorage.js.js +2 -0
  594. package/dist/src/core/components/legacy/utils/settings/constants.js +1 -0
  595. package/dist/src/core/components/legacy/utils/settings/constants.js.js +2 -0
  596. package/dist/src/core/components/legacy/utils/settings/settings.js +1 -0
  597. package/dist/src/core/components/legacy/utils/settings/settings.js.js +2 -0
  598. package/dist/src/core/components/legacy/utils/settings/types.js +1 -0
  599. package/dist/src/core/components/legacy/utils/settings/types.js.js +2 -0
  600. package/dist/src/core/components/legacy/utils/settings/validation.js +1 -0
  601. package/dist/src/core/components/legacy/utils/settings/validation.js.js +2 -0
  602. package/dist/src/core/components/legacy/utils/sideQuestion.js +1 -0
  603. package/dist/src/core/components/legacy/utils/sideQuestion.js.js +2 -0
  604. package/dist/src/core/components/legacy/utils/sliceAnsi.js +1 -0
  605. package/dist/src/core/components/legacy/utils/sliceAnsi.js.js +2 -0
  606. package/dist/src/core/components/legacy/utils/slowOperations.js +1 -0
  607. package/dist/src/core/components/legacy/utils/slowOperations.js.js +2 -0
  608. package/dist/src/core/components/legacy/utils/standaloneAgent.js +1 -0
  609. package/dist/src/core/components/legacy/utils/standaloneAgent.js.js +2 -0
  610. package/dist/src/core/components/legacy/utils/stats.js +1 -0
  611. package/dist/src/core/components/legacy/utils/stats.js.js +2 -0
  612. package/dist/src/core/components/legacy/utils/status.js +1 -0
  613. package/dist/src/core/components/legacy/utils/status.js.js +2 -0
  614. package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js +1 -0
  615. package/dist/src/core/components/legacy/utils/statusNoticeDefinitions.js.js +2 -0
  616. package/dist/src/core/components/legacy/utils/stringUtils.js +1 -0
  617. package/dist/src/core/components/legacy/utils/stringUtils.js.js +2 -0
  618. package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js +1 -0
  619. package/dist/src/core/components/legacy/utils/suggestions/commandSuggestions.js.js +2 -0
  620. package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js +1 -0
  621. package/dist/src/core/components/legacy/utils/suggestions/slackChannelSuggestions.js.js +2 -0
  622. package/dist/src/core/components/legacy/utils/swarm/backends/detection.js +1 -0
  623. package/dist/src/core/components/legacy/utils/swarm/backends/detection.js.js +2 -0
  624. package/dist/src/core/components/legacy/utils/swarm/backends/registry.js +1 -0
  625. package/dist/src/core/components/legacy/utils/swarm/backends/registry.js.js +2 -0
  626. package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js +1 -0
  627. package/dist/src/core/components/legacy/utils/swarm/backends/teammateModeSnapshot.js.js +2 -0
  628. package/dist/src/core/components/legacy/utils/swarm/constants.js +1 -0
  629. package/dist/src/core/components/legacy/utils/swarm/constants.js.js +2 -0
  630. package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js +1 -0
  631. package/dist/src/core/components/legacy/utils/swarm/teamHelpers.js.js +2 -0
  632. package/dist/src/core/components/legacy/utils/swarm/teammateModel.js +1 -0
  633. package/dist/src/core/components/legacy/utils/swarm/teammateModel.js.js +2 -0
  634. package/dist/src/core/components/legacy/utils/systemPromptType.js +1 -0
  635. package/dist/src/core/components/legacy/utils/systemPromptType.js.js +2 -0
  636. package/dist/src/core/components/legacy/utils/systemTheme.js +1 -0
  637. package/dist/src/core/components/legacy/utils/systemTheme.js.js +2 -0
  638. package/dist/src/core/components/legacy/utils/task/framework.js +1 -0
  639. package/dist/src/core/components/legacy/utils/task/framework.js.js +2 -0
  640. package/dist/src/core/components/legacy/utils/tasks.js +1 -0
  641. package/dist/src/core/components/legacy/utils/tasks.js.js +2 -0
  642. package/dist/src/core/components/legacy/utils/teamDiscovery.js +1 -0
  643. package/dist/src/core/components/legacy/utils/teamDiscovery.js.js +2 -0
  644. package/dist/src/core/components/legacy/utils/teammate.js +1 -0
  645. package/dist/src/core/components/legacy/utils/teammate.js.js +2 -0
  646. package/dist/src/core/components/legacy/utils/teammateContext.js +1 -0
  647. package/dist/src/core/components/legacy/utils/teammateContext.js.js +2 -0
  648. package/dist/src/core/components/legacy/utils/teammateMailbox.js +1 -0
  649. package/dist/src/core/components/legacy/utils/teammateMailbox.js.js +2 -0
  650. package/dist/src/core/components/legacy/utils/telemetry/events.js +1 -0
  651. package/dist/src/core/components/legacy/utils/telemetry/events.js.js +2 -0
  652. package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js +1 -0
  653. package/dist/src/core/components/legacy/utils/teleport/environmentSelection.js.js +2 -0
  654. package/dist/src/core/components/legacy/utils/teleport/environments.js +1 -0
  655. package/dist/src/core/components/legacy/utils/teleport/environments.js.js +2 -0
  656. package/dist/src/core/components/legacy/utils/textHighlighting.js +1 -0
  657. package/dist/src/core/components/legacy/utils/textHighlighting.js.js +2 -0
  658. package/dist/src/core/components/legacy/utils/theme.js +1 -0
  659. package/dist/src/core/components/legacy/utils/theme.js.js +2 -0
  660. package/dist/src/core/components/legacy/utils/thinking.js +1 -0
  661. package/dist/src/core/components/legacy/utils/thinking.js.js +2 -0
  662. package/dist/src/core/components/legacy/utils/tokenBudget.js +1 -0
  663. package/dist/src/core/components/legacy/utils/tokenBudget.js.js +2 -0
  664. package/dist/src/core/components/legacy/utils/tokens.js +1 -0
  665. package/dist/src/core/components/legacy/utils/tokens.js.js +2 -0
  666. package/dist/src/core/components/legacy/utils/transcriptSearch.js +1 -0
  667. package/dist/src/core/components/legacy/utils/transcriptSearch.js.js +2 -0
  668. package/dist/src/core/components/legacy/utils/ultraplan/keyword.js +1 -0
  669. package/dist/src/core/components/legacy/utils/ultraplan/keyword.js.js +2 -0
  670. package/dist/src/core/components/legacy/utils/undercover.js +1 -0
  671. package/dist/src/core/components/legacy/utils/undercover.js.js +2 -0
  672. package/dist/src/core/components/legacy/utils/worktree.js +1 -0
  673. package/dist/src/core/components/legacy/utils/worktree.js.js +2 -0
  674. package/dist/src/core/context/legacy/state/AppState.js +1 -0
  675. package/dist/src/core/context/legacy/state/AppState.js.js +1 -0
  676. package/dist/src/core/context/legacy/state/store.js +1 -0
  677. package/dist/src/core/context/legacy/state/store.js.js +1 -0
  678. package/dist/src/core/context/legacy/utils/config.js +1 -0
  679. package/dist/src/core/context/legacy/utils/config.js.js +1 -0
  680. package/dist/src/core/context/legacy/utils/fpsTracker.js +1 -0
  681. package/dist/src/core/context/legacy/utils/fpsTracker.js.js +1 -0
  682. package/dist/src/core/context/legacy/utils/mailbox.js +1 -0
  683. package/dist/src/core/context/legacy/utils/mailbox.js.js +1 -0
  684. package/dist/src/core/context/legacy/utils/theme.js +1 -0
  685. package/dist/src/core/context/legacy/utils/theme.js.js +1 -0
  686. package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js +1 -0
  687. package/dist/src/core/coordinator/legacy/services/analytics/growthbook.js.js +1 -0
  688. package/dist/src/core/coordinator/legacy/services/analytics/index.js +1 -0
  689. package/dist/src/core/coordinator/legacy/services/analytics/index.js.js +1 -0
  690. package/dist/src/core/coordinator/legacy/utils/envUtils.js +1 -0
  691. package/dist/src/core/coordinator/legacy/utils/envUtils.js.js +1 -0
  692. package/dist/src/core/fast/cliAdapter.js +1 -0
  693. package/dist/src/core/fast/legacy/cliAdapter.impl.js +17 -0
  694. package/dist/src/core/fast/runtime.js +17 -0
  695. package/dist/src/core/fast/runtime.smoke.js +36 -0
  696. package/dist/src/core/feedback/cliAdapter.js +1 -0
  697. package/dist/src/core/feedback/legacy/cliAdapter.impl.js +4 -0
  698. package/dist/src/core/feedback/runtime.js +11 -0
  699. package/dist/src/core/hooks/legacy/bootstrap/state.js +3 -0
  700. package/dist/src/core/hooks/legacy/context/mailbox.js +3 -0
  701. package/dist/src/core/hooks/legacy/context/notifications.js +3 -0
  702. package/dist/src/core/hooks/legacy/context/overlayContext.js +3 -0
  703. package/dist/src/core/hooks/legacy/context/voice.js +3 -0
  704. package/dist/src/core/hooks/legacy/services/PromptSuggestion/speculation.js +3 -0
  705. package/dist/src/core/hooks/legacy/services/analytics/growthbook.js +3 -0
  706. package/dist/src/core/hooks/legacy/services/analytics/index.js +3 -0
  707. package/dist/src/core/hooks/legacy/services/api/claude.js +3 -0
  708. package/dist/src/core/hooks/legacy/services/awaySummary.js +3 -0
  709. package/dist/src/core/hooks/legacy/services/localDictation.js +3 -0
  710. package/dist/src/core/hooks/legacy/services/lsp/manager.js +3 -0
  711. package/dist/src/core/hooks/legacy/services/mcp/channelNotification.js +3 -0
  712. package/dist/src/core/hooks/legacy/services/mcp/channelPermissions.js +3 -0
  713. package/dist/src/core/hooks/legacy/services/mcp/claudeai.js +3 -0
  714. package/dist/src/core/hooks/legacy/services/mcp/client.js +3 -0
  715. package/dist/src/core/hooks/legacy/services/mcp/types.js +3 -0
  716. package/dist/src/core/hooks/legacy/services/notifier.js +3 -0
  717. package/dist/src/core/hooks/legacy/services/voice.js +1 -0
  718. package/dist/src/core/hooks/legacy/services/voice.js.js +1 -0
  719. package/dist/src/core/hooks/legacy/state/AppState.js +3 -0
  720. package/dist/src/core/hooks/legacy/state/AppStateStore.js +3 -0
  721. package/dist/src/core/hooks/legacy/state/teammateViewHelpers.js +3 -0
  722. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js +3 -0
  723. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/InProcessTeammateTask.js.js +1 -0
  724. package/dist/src/core/hooks/legacy/tasks/InProcessTeammateTask/types.js +3 -0
  725. package/dist/src/core/hooks/legacy/tasks/LocalAgentTask/LocalAgentTask.js +3 -0
  726. package/dist/src/core/hooks/legacy/tasks/types.js +3 -0
  727. package/dist/src/core/hooks/legacy/utils/Cursor.js +3 -0
  728. package/dist/src/core/hooks/legacy/utils/QueryGuard.js +3 -0
  729. package/dist/src/core/hooks/legacy/utils/agentSwarmsEnabled.js +3 -0
  730. package/dist/src/core/hooks/legacy/utils/argumentSubstitution.js +3 -0
  731. package/dist/src/core/hooks/legacy/utils/array.js +3 -0
  732. package/dist/src/core/hooks/legacy/utils/auth.js +3 -0
  733. package/dist/src/core/hooks/legacy/utils/autoModeDenials.js +3 -0
  734. package/dist/src/core/hooks/legacy/utils/bash/shellCompletion.js +3 -0
  735. package/dist/src/core/hooks/legacy/utils/classifierApprovals.js +3 -0
  736. package/dist/src/core/hooks/legacy/utils/claudeCodeHints.js +3 -0
  737. package/dist/src/core/hooks/legacy/utils/claudeInChrome/common.js +3 -0
  738. package/dist/src/core/hooks/legacy/utils/claudeInChrome/setup.js +3 -0
  739. package/dist/src/core/hooks/legacy/utils/cliHighlight.js +3 -0
  740. package/dist/src/core/hooks/legacy/utils/config.js +3 -0
  741. package/dist/src/core/hooks/legacy/utils/cronJitterConfig.js +3 -0
  742. package/dist/src/core/hooks/legacy/utils/cronScheduler.js +3 -0
  743. package/dist/src/core/hooks/legacy/utils/cronTasks.js +3 -0
  744. package/dist/src/core/hooks/legacy/utils/cwd.js +3 -0
  745. package/dist/src/core/hooks/legacy/utils/debug.js +3 -0
  746. package/dist/src/core/hooks/legacy/utils/diagLogs.js +3 -0
  747. package/dist/src/core/hooks/legacy/utils/diff.js +3 -0
  748. package/dist/src/core/hooks/legacy/utils/env.js +3 -0
  749. package/dist/src/core/hooks/legacy/utils/envUtils.js +3 -0
  750. package/dist/src/core/hooks/legacy/utils/errors.js +3 -0
  751. package/dist/src/core/hooks/legacy/utils/execFileNoThrow.js +3 -0
  752. package/dist/src/core/hooks/legacy/utils/fileHistory.js +3 -0
  753. package/dist/src/core/hooks/legacy/utils/format.js +3 -0
  754. package/dist/src/core/hooks/legacy/utils/fsOperations.js +3 -0
  755. package/dist/src/core/hooks/legacy/utils/fullscreen.js +3 -0
  756. package/dist/src/core/hooks/legacy/utils/ghPrStatus.js +3 -0
  757. package/dist/src/core/hooks/legacy/utils/git.js +3 -0
  758. package/dist/src/core/hooks/legacy/utils/gitDiff.js +3 -0
  759. package/dist/src/core/hooks/legacy/utils/gracefulShutdown.js +3 -0
  760. package/dist/src/core/hooks/legacy/utils/handlePromptSubmit.js +3 -0
  761. package/dist/src/core/hooks/legacy/utils/hooks/skillImprovement.js +3 -0
  762. package/dist/src/core/hooks/legacy/utils/hooks.js +3 -0
  763. package/dist/src/core/hooks/legacy/utils/ide.js +3 -0
  764. package/dist/src/core/hooks/legacy/utils/idePathConversion.js +3 -0
  765. package/dist/src/core/hooks/legacy/utils/imagePaste.js +3 -0
  766. package/dist/src/core/hooks/legacy/utils/imageResizer.js +3 -0
  767. package/dist/src/core/hooks/legacy/utils/inProcessTeammateHelpers.js +3 -0
  768. package/dist/src/core/hooks/legacy/utils/intl.js +3 -0
  769. package/dist/src/core/hooks/legacy/utils/lazySchema.js +3 -0
  770. package/dist/src/core/hooks/legacy/utils/log.js +3 -0
  771. package/dist/src/core/hooks/legacy/utils/messageQueueManager.js +3 -0
  772. package/dist/src/core/hooks/legacy/utils/messages/systemInit.js +3 -0
  773. package/dist/src/core/hooks/legacy/utils/messages.js +3 -0
  774. package/dist/src/core/hooks/legacy/utils/model/model.js +3 -0
  775. package/dist/src/core/hooks/legacy/utils/model/providerProfiles.js +3 -0
  776. package/dist/src/core/hooks/legacy/utils/modifiers.js +3 -0
  777. package/dist/src/core/hooks/legacy/utils/path.js +3 -0
  778. package/dist/src/core/hooks/legacy/utils/permissions/PermissionMode.js +3 -0
  779. package/dist/src/core/hooks/legacy/utils/permissions/PermissionResult.js +3 -0
  780. package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdate.js +3 -0
  781. package/dist/src/core/hooks/legacy/utils/permissions/PermissionUpdateSchema.js +3 -0
  782. package/dist/src/core/hooks/legacy/utils/permissions/permissionSetup.js +3 -0
  783. package/dist/src/core/hooks/legacy/utils/permissions/permissions.js +3 -0
  784. package/dist/src/core/hooks/legacy/utils/platform.js +3 -0
  785. package/dist/src/core/hooks/legacy/utils/plugins/hintRecommendation.js +3 -0
  786. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginAgents.js +3 -0
  787. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginCommands.js +3 -0
  788. package/dist/src/core/hooks/legacy/utils/plugins/loadPluginHooks.js +3 -0
  789. package/dist/src/core/hooks/legacy/utils/plugins/lspPluginIntegration.js +3 -0
  790. package/dist/src/core/hooks/legacy/utils/plugins/lspRecommendation.js +3 -0
  791. package/dist/src/core/hooks/legacy/utils/plugins/marketplaceManager.js +3 -0
  792. package/dist/src/core/hooks/legacy/utils/plugins/mcpPluginIntegration.js +3 -0
  793. package/dist/src/core/hooks/legacy/utils/plugins/officialMarketplaceStartupCheck.js +3 -0
  794. package/dist/src/core/hooks/legacy/utils/plugins/pluginAutoupdate.js +3 -0
  795. package/dist/src/core/hooks/legacy/utils/plugins/pluginBlocklist.js +3 -0
  796. package/dist/src/core/hooks/legacy/utils/plugins/pluginFlagging.js +3 -0
  797. package/dist/src/core/hooks/legacy/utils/plugins/pluginInstallationHelpers.js +3 -0
  798. package/dist/src/core/hooks/legacy/utils/plugins/pluginLoader.js +3 -0
  799. package/dist/src/core/hooks/legacy/utils/queueProcessor.js +3 -0
  800. package/dist/src/core/hooks/legacy/utils/ripgrep.js +3 -0
  801. package/dist/src/core/hooks/legacy/utils/sandbox/sandbox-adapter.js +3 -0
  802. package/dist/src/core/hooks/legacy/utils/sdkEventQueue.js +3 -0
  803. package/dist/src/core/hooks/legacy/utils/sessionStorage.js +3 -0
  804. package/dist/src/core/hooks/legacy/utils/sessionTitle.js +3 -0
  805. package/dist/src/core/hooks/legacy/utils/settings/allErrors.js +3 -0
  806. package/dist/src/core/hooks/legacy/utils/settings/changeDetector.js +3 -0
  807. package/dist/src/core/hooks/legacy/utils/settings/constants.js +3 -0
  808. package/dist/src/core/hooks/legacy/utils/settings/settings.js +3 -0
  809. package/dist/src/core/hooks/legacy/utils/settings/types.js +3 -0
  810. package/dist/src/core/hooks/legacy/utils/settings/validation.js +3 -0
  811. package/dist/src/core/hooks/legacy/utils/signal.js +3 -0
  812. package/dist/src/core/hooks/legacy/utils/skills/skillChangeDetector.js +3 -0
  813. package/dist/src/core/hooks/legacy/utils/slowOperations.js +3 -0
  814. package/dist/src/core/hooks/legacy/utils/stringUtils.js +3 -0
  815. package/dist/src/core/hooks/legacy/utils/suggestions/commandSuggestions.js +3 -0
  816. package/dist/src/core/hooks/legacy/utils/suggestions/directoryCompletion.js +3 -0
  817. package/dist/src/core/hooks/legacy/utils/suggestions/shellHistoryCompletion.js +3 -0
  818. package/dist/src/core/hooks/legacy/utils/suggestions/slackChannelSuggestions.js +3 -0
  819. package/dist/src/core/hooks/legacy/utils/swarm/backends/detection.js +3 -0
  820. package/dist/src/core/hooks/legacy/utils/swarm/backends/registry.js +3 -0
  821. package/dist/src/core/hooks/legacy/utils/swarm/backends/types.js +3 -0
  822. package/dist/src/core/hooks/legacy/utils/swarm/constants.js +3 -0
  823. package/dist/src/core/hooks/legacy/utils/swarm/leaderPermissionBridge.js +3 -0
  824. package/dist/src/core/hooks/legacy/utils/swarm/permissionSync.js +3 -0
  825. package/dist/src/core/hooks/legacy/utils/swarm/reconnection.js +3 -0
  826. package/dist/src/core/hooks/legacy/utils/swarm/teamHelpers.js +3 -0
  827. package/dist/src/core/hooks/legacy/utils/swarm/teammateInit.js +3 -0
  828. package/dist/src/core/hooks/legacy/utils/tasks.js +3 -0
  829. package/dist/src/core/hooks/legacy/utils/teammate.js +3 -0
  830. package/dist/src/core/hooks/legacy/utils/teammateContext.js +3 -0
  831. package/dist/src/core/hooks/legacy/utils/teammateMailbox.js +3 -0
  832. package/dist/src/core/hooks/legacy/utils/telemetry/events.js +3 -0
  833. package/dist/src/core/hooks/legacy/utils/teleport/api.js +3 -0
  834. package/dist/src/core/hooks/legacy/utils/teleport.js +3 -0
  835. package/dist/src/core/hooks/legacy/utils/terminalPanel.js +3 -0
  836. package/dist/src/core/hooks/legacy/utils/theme.js +3 -0
  837. package/dist/src/core/hooks/legacy/utils/toolPool.js +3 -0
  838. package/dist/src/core/hooks/legacy/utils/workloadContext.js +3 -0
  839. package/dist/src/core/ink/legacy/bootstrap/state.js +1 -0
  840. package/dist/src/core/ink/legacy/hooks/use-terminal-focus.js +1 -0
  841. package/dist/src/core/ink/legacy/utils/debug.js +1 -0
  842. package/dist/src/core/ink/legacy/utils/earlyInput.js +1 -0
  843. package/dist/src/core/ink/legacy/utils/env.js +1 -0
  844. package/dist/src/core/ink/legacy/utils/envUtils.js +1 -0
  845. package/dist/src/core/ink/legacy/utils/execFileNoThrow.js +1 -0
  846. package/dist/src/core/ink/legacy/utils/fullscreen.js +1 -0
  847. package/dist/src/core/ink/legacy/utils/intl.js +1 -0
  848. package/dist/src/core/ink/legacy/utils/log.js +1 -0
  849. package/dist/src/core/insights/insightsCommand.js +2555 -0
  850. package/dist/src/core/integration/chromeCliAdapter.js +1 -0
  851. package/dist/src/core/integration/chromeCore.js +24 -0
  852. package/dist/src/core/integration/commitPushPrCommand.js +16 -0
  853. package/dist/src/core/integration/ideCliAdapter.js +1 -0
  854. package/dist/src/core/integration/ideCore.js +13 -0
  855. package/dist/src/core/integration/ideCore.smoke.js +15 -0
  856. package/dist/src/core/integration/installCliAdapter.js +3 -0
  857. package/dist/src/core/integration/installGithubAppCliAdapter.js +1 -0
  858. package/dist/src/core/integration/installSlackAppCliAdapter.js +1 -0
  859. package/dist/src/core/integration/installSlackAppCore.js +7 -0
  860. package/dist/src/core/integration/legacy/chromeCliAdapter.impl.js +13 -0
  861. package/dist/src/core/integration/legacy/ideCliAdapter.impl.js +8 -0
  862. package/dist/src/core/integration/legacy/installGithubAppCliAdapter.impl.js +18 -0
  863. package/dist/src/core/integration/legacy/installSlackAppCliAdapter.impl.js +4 -0
  864. package/dist/src/core/integration/legacy/oauthFlowCliAdapter.impl.js +12 -0
  865. package/dist/src/core/integration/legacy/services/mcp/types.js +1 -0
  866. package/dist/src/core/integration/legacy/setupGithubActionsCliAdapter.impl.js +10 -0
  867. package/dist/src/core/integration/legacy/stickersCliAdapter.impl.js +2 -0
  868. package/dist/src/core/integration/legacy/upgradeCliAdapter.impl.js +11 -0
  869. package/dist/src/core/integration/legacy/upgradeIndexCliAdapter.impl.js +6 -0
  870. package/dist/src/core/integration/legacy/utils/ide.js +1 -0
  871. package/dist/src/core/integration/legacy/whatsappCliAdapter.impl.js +2 -0
  872. package/dist/src/core/integration/oauthFlowCliAdapter.js +1 -0
  873. package/dist/src/core/integration/runtime.smoke.js +20 -0
  874. package/dist/src/core/integration/setupGithubActionsCliAdapter.js +1 -0
  875. package/dist/src/core/integration/stickersCliAdapter.js +1 -0
  876. package/dist/src/core/integration/upgradeCliAdapter.js +1 -0
  877. package/dist/src/core/integration/upgradeCore.js +18 -0
  878. package/dist/src/core/integration/upgradeIndexCliAdapter.js +1 -0
  879. package/dist/src/core/integration/upgradeIndexCore.js +3 -0
  880. package/dist/src/core/integration/whatsappCliAdapter.js +1 -0
  881. package/dist/src/core/mcp/addCliAdapter.js +1 -0
  882. package/dist/src/core/mcp/addCore.js +85 -0
  883. package/dist/src/core/mcp/addCore.smoke.js +18 -0
  884. package/dist/src/core/mcp/cliAdapter.js +1 -0
  885. package/dist/src/core/mcp/legacy/addCliAdapter.impl.js +7 -0
  886. package/dist/src/core/mcp/legacy/cliAdapter.impl.js +3 -0
  887. package/dist/src/core/mcp/legacy/services/analytics/index.js +1 -0
  888. package/dist/src/core/mcp/legacy/services/mcp/MCPConnectionManager.js +1 -0
  889. package/dist/src/core/mcp/legacy/services/mcp/auth.js +1 -0
  890. package/dist/src/core/mcp/legacy/services/mcp/config.js +1 -0
  891. package/dist/src/core/mcp/legacy/services/mcp/mcpStringUtils.js +1 -0
  892. package/dist/src/core/mcp/legacy/services/mcp/types.js +1 -0
  893. package/dist/src/core/mcp/legacy/services/mcp/utils.js +1 -0
  894. package/dist/src/core/mcp/legacy/services/mcp/xaaIdpLogin.js +1 -0
  895. package/dist/src/core/mcp/legacy/state/AppState.js +1 -0
  896. package/dist/src/core/mcp/legacy/utils/envUtils.js +1 -0
  897. package/dist/src/core/mcp/legacy/utils/errors.js +1 -0
  898. package/dist/src/core/mcp/legacy/utils/settings/settings.js +1 -0
  899. package/dist/src/core/mcp/legacy/xaaIdpCliAdapter.impl.js +4 -0
  900. package/dist/src/core/mcp/xaaIdpCliAdapter.js +1 -0
  901. package/dist/src/core/mcp/xaaIdpCore.js +30 -0
  902. package/dist/src/core/migrations/legacy/bootstrap/state.js +1 -0
  903. package/dist/src/core/migrations/legacy/services/analytics/index.js +1 -0
  904. package/dist/src/core/migrations/legacy/utils/auth.js +1 -0
  905. package/dist/src/core/migrations/legacy/utils/config.js +1 -0
  906. package/dist/src/core/migrations/legacy/utils/log.js +1 -0
  907. package/dist/src/core/migrations/legacy/utils/model/model.js +1 -0
  908. package/dist/src/core/migrations/legacy/utils/model/providers.js +1 -0
  909. package/dist/src/core/migrations/legacy/utils/permissions/permissionSetup.js +1 -0
  910. package/dist/src/core/migrations/legacy/utils/settings/settings.js +1 -0
  911. package/dist/src/core/native-ts/legacy/utils/log.js +1 -0
  912. package/dist/src/core/native-ts/legacy/utils/log.js.js +1 -0
  913. package/dist/src/core/outputStyles/legacy/utils/debug.js +1 -0
  914. package/dist/src/core/outputStyles/legacy/utils/debug.js.js +1 -0
  915. package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js +1 -0
  916. package/dist/src/core/outputStyles/legacy/utils/frontmatterParser.js.js +1 -0
  917. package/dist/src/core/outputStyles/legacy/utils/log.js +1 -0
  918. package/dist/src/core/outputStyles/legacy/utils/log.js.js +1 -0
  919. package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js +1 -0
  920. package/dist/src/core/outputStyles/legacy/utils/markdownConfigLoader.js.js +1 -0
  921. package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js +1 -0
  922. package/dist/src/core/outputStyles/legacy/utils/plugins/loadPluginOutputStyles.js.js +1 -0
  923. package/dist/src/core/passes/cliAdapter.js +1 -0
  924. package/dist/src/core/passes/indexCliAdapter.js +1 -0
  925. package/dist/src/core/passes/indexCore.js +9 -0
  926. package/dist/src/core/passes/legacy/cliAdapter.impl.js +2 -0
  927. package/dist/src/core/passes/legacy/deps.js +4 -0
  928. package/dist/src/core/passes/legacy/indexCliAdapter.impl.js +2 -0
  929. package/dist/src/core/passes/legacy/services/analytics/index.js +1 -0
  930. package/dist/src/core/passes/legacy/services/api/referral.js +1 -0
  931. package/dist/src/core/passes/legacy/utils/config.js +1 -0
  932. package/dist/src/core/passes/runtime.js +10 -0
  933. package/dist/src/core/permissions/legacy/messagesCliAdapter.impl.js +2 -0
  934. package/dist/src/core/permissions/legacy/sandboxToggleCliAdapter.impl.js +12 -0
  935. package/dist/src/core/permissions/messagesCliAdapter.js +1 -0
  936. package/dist/src/core/permissions/sandboxToggleCliAdapter.js +3 -0
  937. package/dist/src/core/plugins/addMarketplaceCore.js +30 -0
  938. package/dist/src/core/plugins/analyticsCliAdapter.js +1 -0
  939. package/dist/src/core/plugins/browseCore.js +38 -0
  940. package/dist/src/core/plugins/cliAdapter.js +3 -0
  941. package/dist/src/core/plugins/commandParser.js +65 -0
  942. package/dist/src/core/plugins/discoverCore.js +50 -0
  943. package/dist/src/core/plugins/legacy/cliAdapter.impl.js +2 -0
  944. package/dist/src/core/plugins/legacy/discoverCliAdapter.js +1 -0
  945. package/dist/src/core/plugins/legacy/reloadCliAdapter.impl.js +2 -0
  946. package/dist/src/core/plugins/legacy/thinkbackIndexCliAdapter.impl.js +2 -0
  947. package/dist/src/core/plugins/legacy/thinkbackPlayCliAdapter.impl.js +3 -0
  948. package/dist/src/core/plugins/legacy/utils/marketplaceHelpers.js +1 -0
  949. package/dist/src/core/plugins/legacy/utils/settings/settings.js +1 -0
  950. package/dist/src/core/plugins/legacy/utils/settings/settings.js.js +1 -0
  951. package/dist/src/core/plugins/managementCore.js +102 -0
  952. package/dist/src/core/plugins/marketplacesCore.js +76 -0
  953. package/dist/src/core/plugins/optionsCore.js +30 -0
  954. package/dist/src/core/plugins/reloadCliAdapter.js +1 -0
  955. package/dist/src/core/plugins/reloadCore.js +20 -0
  956. package/dist/src/core/plugins/reloadCore.smoke.js +27 -0
  957. package/dist/src/core/plugins/runtime.smoke.js +118 -0
  958. package/dist/src/core/plugins/settingsCore.js +43 -0
  959. package/dist/src/core/plugins/thinkbackCore.js +65 -0
  960. package/dist/src/core/plugins/thinkbackIndexCliAdapter.js +1 -0
  961. package/dist/src/core/plugins/thinkbackIndexCore.js +3 -0
  962. package/dist/src/core/plugins/thinkbackPlayCliAdapter.js +1 -0
  963. package/dist/src/core/plugins/thinkbackPlayCore.js +21 -0
  964. package/dist/src/core/plugins/validateCore.js +38 -0
  965. package/dist/src/core/providers/advisorCliAdapter.js +4 -0
  966. package/dist/src/core/providers/costCliAdapter.js +3 -0
  967. package/dist/src/core/providers/effortCliAdapter.js +1 -0
  968. package/dist/src/core/providers/effortIndexCliAdapter.js +1 -0
  969. package/dist/src/core/providers/legacy/cliAdapter.impl.js +72 -0
  970. package/dist/src/core/providers/legacy/costCliAdapter.impl.js +3 -0
  971. package/dist/src/core/providers/legacy/effortCliAdapter.impl.js +17 -0
  972. package/dist/src/core/providers/legacy/effortIndexCliAdapter.impl.js +2 -0
  973. package/dist/src/core/providers/legacy/hooks/useMainLoopModel.js +1 -0
  974. package/dist/src/core/providers/legacy/limitsCliAdapter.impl.js +2 -0
  975. package/dist/src/core/providers/legacy/modelCliAdapter.impl.js +26 -0
  976. package/dist/src/core/providers/legacy/modelCommandCliAdapter.impl.js +18 -0
  977. package/dist/src/core/providers/legacy/modelIndexCliAdapter.impl.js +7 -0
  978. package/dist/src/core/providers/legacy/policyCliAdapter.impl.js +3 -0
  979. package/dist/src/core/providers/legacy/profileCliAdapter.impl.js +210 -0
  980. package/dist/src/core/providers/legacy/rateLimitOptionsCliAdapter.impl.js +14 -0
  981. package/dist/src/core/providers/legacy/state/AppState.js +1 -0
  982. package/dist/src/core/providers/legacy/utils/auth.js +1 -0
  983. package/dist/src/core/providers/legacy/utils/config.js +1 -0
  984. package/dist/src/core/providers/legacy/utils/model/providerBaseUrls.js +1 -0
  985. package/dist/src/core/providers/legacy/utils/model/providerCatalog.js +1 -0
  986. package/dist/src/core/providers/legacy/utils/model/providerProfiles.js +1 -0
  987. package/dist/src/core/providers/legacy/utils/model/providerProfilesDb.js +1 -0
  988. package/dist/src/core/providers/legacy/utils/model/providerSwitch.js +1 -0
  989. package/dist/src/core/providers/legacy/utils/model/providers.js +1 -0
  990. package/dist/src/core/providers/legacy/utils/secureStorage/index.js +1 -0
  991. package/dist/src/core/providers/legacy/utils/secureStorage/sqliteStorage.js +1 -0
  992. package/dist/src/core/providers/limitsCliAdapter.js +1 -0
  993. package/dist/src/core/providers/modelCliAdapter.js +1 -0
  994. package/dist/src/core/providers/modelCommandCliAdapter.js +1 -0
  995. package/dist/src/core/providers/modelCore.js +69 -0
  996. package/dist/src/core/providers/modelCore.smoke.js +40 -0
  997. package/dist/src/core/providers/modelIndexCliAdapter.js +1 -0
  998. package/dist/src/core/providers/modelIndexCore.js +3 -0
  999. package/dist/src/core/providers/policyCliAdapter.js +1 -0
  1000. package/dist/src/core/providers/policyCore.js +62 -0
  1001. package/dist/src/core/providers/profileCliAdapter.js +1 -0
  1002. package/dist/src/core/providers/profileCore.js +169 -0
  1003. package/dist/src/core/providers/profileCore.smoke.js +53 -0
  1004. package/dist/src/core/providers/providerCommandAdapter.js +10 -0
  1005. package/dist/src/core/providers/providerCommandCore.js +129 -0
  1006. package/dist/src/core/providers/providerCommandCore.smoke.js +6 -0
  1007. package/dist/src/core/providers/rateLimitOptionsCliAdapter.js +1 -0
  1008. package/dist/src/core/query/btwCliAdapter.js +1 -0
  1009. package/dist/src/core/query/btwCore.js +43 -0
  1010. package/dist/src/core/query/cliAdapter.js +1 -0
  1011. package/dist/src/core/query/legacy/btwCliAdapter.impl.js +37 -0
  1012. package/dist/src/core/query/legacy/cliAdapter.impl.js +30 -0
  1013. package/dist/src/core/query/legacy/context/modalContext.js +1 -0
  1014. package/dist/src/core/query/legacy/hooks/useTerminalSize.js +1 -0
  1015. package/dist/src/core/query/legacy/utils/abortController.js +1 -0
  1016. package/dist/src/core/query/legacy/utils/config.js +1 -0
  1017. package/dist/src/core/query/legacy/utils/errors.js +1 -0
  1018. package/dist/src/core/query/legacy/utils/forkedAgent.js +1 -0
  1019. package/dist/src/core/query/legacy/utils/messages.js +1 -0
  1020. package/dist/src/core/query/legacy/utils/processUserInput/processUserInput.js +1 -0
  1021. package/dist/src/core/query/legacy/utils/sideQuestion.js +1 -0
  1022. package/dist/src/core/query/legacy/utils/systemPromptType.js +1 -0
  1023. package/dist/src/core/query/runCommandCore.js +109 -0
  1024. package/dist/src/core/remoteEnv/indexCliAdapter.js +1 -0
  1025. package/dist/src/core/remoteEnv/indexCore.js +7 -0
  1026. package/dist/src/core/remoteEnv/legacy/indexCliAdapter.impl.js +6 -0
  1027. package/dist/src/core/remoteSetup/apiCore.js +115 -0
  1028. package/dist/src/core/remoteSetup/cliAdapter.js +1 -0
  1029. package/dist/src/core/remoteSetup/indexCliAdapter.js +1 -0
  1030. package/dist/src/core/remoteSetup/indexCore.js +9 -0
  1031. package/dist/src/core/remoteSetup/legacy/cliAdapter.impl.js +9 -0
  1032. package/dist/src/core/remoteSetup/legacy/indexCliAdapter.impl.js +6 -0
  1033. package/dist/src/core/remoteSetup/runtime.js +71 -0
  1034. package/dist/src/core/review/cliAdapter.js +1 -0
  1035. package/dist/src/core/review/legacy/cliAdapter.impl.js +11 -0
  1036. package/dist/src/core/review/runtime.js +66 -0
  1037. package/dist/src/core/review/runtime.smoke.js +31 -0
  1038. package/dist/src/core/run/cliAdapter.js +1 -0
  1039. package/dist/src/core/run/contracts.js +1 -0
  1040. package/dist/src/core/run/legacy/cliAdapter.impl.js +55 -0
  1041. package/dist/src/core/run/legacy/services/orchestration/policy/index.js +1 -0
  1042. package/dist/src/core/run/legacy/utils/model/providerCatalog.js +1 -0
  1043. package/dist/src/core/run/legacy/utils/orchestration/store/types.js +1 -0
  1044. package/dist/src/core/run/runtime.js +310 -0
  1045. package/dist/src/core/run/runtime.smoke.js +147 -0
  1046. package/dist/src/core/schemas/legacy/utils/lazySchema.js +1 -0
  1047. package/dist/src/core/schemas/legacy/utils/lazySchema.js.js +1 -0
  1048. package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js +1 -0
  1049. package/dist/src/core/schemas/legacy/utils/shell/shellProvider.js.js +1 -0
  1050. package/dist/src/core/screens/legacy/bootstrap/state.js +1 -0
  1051. package/dist/src/core/screens/legacy/context/fpsMetrics.js +1 -0
  1052. package/dist/src/core/screens/legacy/context/modalStackContext.js +1 -0
  1053. package/dist/src/core/screens/legacy/context/notifications.js +1 -0
  1054. package/dist/src/core/screens/legacy/hooks/notifs/useSettingsErrors.js +1 -0
  1055. package/dist/src/core/screens/legacy/hooks/useAfterFirstRender.js +1 -0
  1056. package/dist/src/core/screens/legacy/hooks/useApiKeyVerification.js +1 -0
  1057. package/dist/src/core/screens/legacy/hooks/useAssistantHistory.js +1 -0
  1058. package/dist/src/core/screens/legacy/hooks/useBackgroundTaskNavigation.js +1 -0
  1059. package/dist/src/core/screens/legacy/hooks/useCanUseTool.js +2 -0
  1060. package/dist/src/core/screens/legacy/hooks/useCancelRequest.js +1 -0
  1061. package/dist/src/core/screens/legacy/hooks/useCommandKeybindings.js +1 -0
  1062. package/dist/src/core/screens/legacy/hooks/useCommandQueue.js +1 -0
  1063. package/dist/src/core/screens/legacy/hooks/useDeferredHookMessages.js +1 -0
  1064. package/dist/src/core/screens/legacy/hooks/useDirectConnect.js +1 -0
  1065. package/dist/src/core/screens/legacy/hooks/useGlobalKeybindings.js +1 -0
  1066. package/dist/src/core/screens/legacy/hooks/useIDEIntegration.js +1 -0
  1067. package/dist/src/core/screens/legacy/hooks/useIdeLogging.js +1 -0
  1068. package/dist/src/core/screens/legacy/hooks/useIdeSelection.js +1 -0
  1069. package/dist/src/core/screens/legacy/hooks/useInboxPoller.js +1 -0
  1070. package/dist/src/core/screens/legacy/hooks/useIssueFlagBanner.js +1 -0
  1071. package/dist/src/core/screens/legacy/hooks/useLogMessages.js +1 -0
  1072. package/dist/src/core/screens/legacy/hooks/useMailboxBridge.js +1 -0
  1073. package/dist/src/core/screens/legacy/hooks/useMainLoopModel.js +1 -0
  1074. package/dist/src/core/screens/legacy/hooks/useManagePlugins.js +1 -0
  1075. package/dist/src/core/screens/legacy/hooks/useMergedClients.js +1 -0
  1076. package/dist/src/core/screens/legacy/hooks/useMergedCommands.js +1 -0
  1077. package/dist/src/core/screens/legacy/hooks/useMergedTools.js +1 -0
  1078. package/dist/src/core/screens/legacy/hooks/useQueueProcessor.js +1 -0
  1079. package/dist/src/core/screens/legacy/hooks/useRemoteSession.js +1 -0
  1080. package/dist/src/core/screens/legacy/hooks/useReplBridge.js +1 -0
  1081. package/dist/src/core/screens/legacy/hooks/useSSHSession.js +1 -0
  1082. package/dist/src/core/screens/legacy/hooks/useScheduledTasks.js +1 -0
  1083. package/dist/src/core/screens/legacy/hooks/useSearchInput.js +1 -0
  1084. package/dist/src/core/screens/legacy/hooks/useSessionBackgrounding.js +1 -0
  1085. package/dist/src/core/screens/legacy/hooks/useSkillImprovementSurvey.js +1 -0
  1086. package/dist/src/core/screens/legacy/hooks/useSkillsChange.js +1 -0
  1087. package/dist/src/core/screens/legacy/hooks/useSwarmInitialization.js +1 -0
  1088. package/dist/src/core/screens/legacy/hooks/useTaskListWatcher.js +1 -0
  1089. package/dist/src/core/screens/legacy/hooks/useTasksV2.js +1 -0
  1090. package/dist/src/core/screens/legacy/hooks/useTeammateViewAutoExit.js +1 -0
  1091. package/dist/src/core/screens/legacy/hooks/useTelegramMirror.js +1 -0
  1092. package/dist/src/core/screens/legacy/hooks/useTerminalSize.js +1 -0
  1093. package/dist/src/core/screens/legacy/hooks/useVoiceIntegration.js +1 -0
  1094. package/dist/src/core/screens/legacy/hooks/useWhatsAppMirror.js +1 -0
  1095. package/dist/src/core/screens/legacy/services/PromptSuggestion/speculation.js +1 -0
  1096. package/dist/src/core/screens/legacy/services/analytics/index.js +1 -0
  1097. package/dist/src/core/screens/legacy/services/diagnosticTracking.js +1 -0
  1098. package/dist/src/core/screens/legacy/services/mcp/types.js +1 -0
  1099. package/dist/src/core/screens/legacy/services/notifier.js +1 -0
  1100. package/dist/src/core/screens/legacy/services/preventSleep.js +1 -0
  1101. package/dist/src/core/screens/legacy/state/AppState.js +1 -0
  1102. package/dist/src/core/screens/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1103. package/dist/src/core/screens/legacy/tasks/LocalMainSessionTask.js +1 -0
  1104. package/dist/src/core/screens/legacy/utils/QueryGuard.js +1 -0
  1105. package/dist/src/core/screens/legacy/utils/abortController.js +1 -0
  1106. package/dist/src/core/screens/legacy/utils/activityManager.js +1 -0
  1107. package/dist/src/core/screens/legacy/utils/agentSwarmsEnabled.js +1 -0
  1108. package/dist/src/core/screens/legacy/utils/agenticSessionSearch.js +1 -0
  1109. package/dist/src/core/screens/legacy/utils/array.js +1 -0
  1110. package/dist/src/core/screens/legacy/utils/asciicast.js +1 -0
  1111. package/dist/src/core/screens/legacy/utils/attachments.js +1 -0
  1112. package/dist/src/core/screens/legacy/utils/autoRunIssue.js +1 -0
  1113. package/dist/src/core/screens/legacy/utils/autoUpdater.js +1 -0
  1114. package/dist/src/core/screens/legacy/utils/backgroundHousekeeping.js +1 -0
  1115. package/dist/src/core/screens/legacy/utils/billing.js +1 -0
  1116. package/dist/src/core/screens/legacy/utils/claudemd.js +1 -0
  1117. package/dist/src/core/screens/legacy/utils/commitAttribution.js +1 -0
  1118. package/dist/src/core/screens/legacy/utils/concurrentSessions.js +1 -0
  1119. package/dist/src/core/screens/legacy/utils/config.js +1 -0
  1120. package/dist/src/core/screens/legacy/utils/conversationRecovery.js +1 -0
  1121. package/dist/src/core/screens/legacy/utils/crossProjectResume.js +1 -0
  1122. package/dist/src/core/screens/legacy/utils/debug.js +1 -0
  1123. package/dist/src/core/screens/legacy/utils/doctorContextWarnings.js +1 -0
  1124. package/dist/src/core/screens/legacy/utils/doctorDiagnostic.js +1 -0
  1125. package/dist/src/core/screens/legacy/utils/earlyInput.js +1 -0
  1126. package/dist/src/core/screens/legacy/utils/editor.js +1 -0
  1127. package/dist/src/core/screens/legacy/utils/effort.js +1 -0
  1128. package/dist/src/core/screens/legacy/utils/envUtils.js +1 -0
  1129. package/dist/src/core/screens/legacy/utils/envValidation.js +1 -0
  1130. package/dist/src/core/screens/legacy/utils/errors.js +1 -0
  1131. package/dist/src/core/screens/legacy/utils/exportRenderer.js +1 -0
  1132. package/dist/src/core/screens/legacy/utils/file.js +1 -0
  1133. package/dist/src/core/screens/legacy/utils/fileHistory.js +1 -0
  1134. package/dist/src/core/screens/legacy/utils/fileStateCache.js +1 -0
  1135. package/dist/src/core/screens/legacy/utils/format.js +1 -0
  1136. package/dist/src/core/screens/legacy/utils/fullscreen.js +1 -0
  1137. package/dist/src/core/screens/legacy/utils/gracefulShutdown.js +1 -0
  1138. package/dist/src/core/screens/legacy/utils/handlePromptSubmit.js +1 -0
  1139. package/dist/src/core/screens/legacy/utils/hooks.js +1 -0
  1140. package/dist/src/core/screens/legacy/utils/ide.js +1 -0
  1141. package/dist/src/core/screens/legacy/utils/log.js +1 -0
  1142. package/dist/src/core/screens/legacy/utils/messagePredicates.js +1 -0
  1143. package/dist/src/core/screens/legacy/utils/messageQueueManager.js +1 -0
  1144. package/dist/src/core/screens/legacy/utils/messages.js +1 -0
  1145. package/dist/src/core/screens/legacy/utils/nativeInstaller/pidLock.js +1 -0
  1146. package/dist/src/core/screens/legacy/utils/permissions/PermissionUpdate.js +1 -0
  1147. package/dist/src/core/screens/legacy/utils/permissions/filesystem.js +1 -0
  1148. package/dist/src/core/screens/legacy/utils/permissions/permissionSetup.js +1 -0
  1149. package/dist/src/core/screens/legacy/utils/plans.js +1 -0
  1150. package/dist/src/core/screens/legacy/utils/processUserInput/processUserInput.js +1 -0
  1151. package/dist/src/core/screens/legacy/utils/promptCategory.js +1 -0
  1152. package/dist/src/core/screens/legacy/utils/queryHelpers.js +1 -0
  1153. package/dist/src/core/screens/legacy/utils/queryProfiler.js +1 -0
  1154. package/dist/src/core/screens/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  1155. package/dist/src/core/screens/legacy/utils/sessionRestore.js +1 -0
  1156. package/dist/src/core/screens/legacy/utils/sessionStart.js +1 -0
  1157. package/dist/src/core/screens/legacy/utils/sessionStorage.js +1 -0
  1158. package/dist/src/core/screens/legacy/utils/sessionTitle.js +1 -0
  1159. package/dist/src/core/screens/legacy/utils/settings/settings.js +1 -0
  1160. package/dist/src/core/screens/legacy/utils/shell/outputLimits.js +1 -0
  1161. package/dist/src/core/screens/legacy/utils/suggestions/shellHistoryCompletion.js +1 -0
  1162. package/dist/src/core/screens/legacy/utils/swarm/leaderPermissionBridge.js +1 -0
  1163. package/dist/src/core/screens/legacy/utils/swarm/permissionSync.js +1 -0
  1164. package/dist/src/core/screens/legacy/utils/swarm/teamHelpers.js +1 -0
  1165. package/dist/src/core/screens/legacy/utils/systemPrompt.js +1 -0
  1166. package/dist/src/core/screens/legacy/utils/task/outputFormatting.js +1 -0
  1167. package/dist/src/core/screens/legacy/utils/teammate.js +1 -0
  1168. package/dist/src/core/screens/legacy/utils/telemetry/sessionTracing.js +1 -0
  1169. package/dist/src/core/screens/legacy/utils/teleport/api.js +1 -0
  1170. package/dist/src/core/screens/legacy/utils/thinking.js +1 -0
  1171. package/dist/src/core/screens/legacy/utils/toolPool.js +1 -0
  1172. package/dist/src/core/screens/legacy/utils/toolResultStorage.js +1 -0
  1173. package/dist/src/core/screens/legacy/utils/undercover.js +1 -0
  1174. package/dist/src/core/screens/legacy/utils/worktree.js +1 -0
  1175. package/dist/src/core/screens/legacy/utils/xdg.js +1 -0
  1176. package/dist/src/core/screens/legacy/utils/xml.js +1 -0
  1177. package/dist/src/core/services/legacy/bootstrap/state.js +1 -0
  1178. package/dist/src/core/services/legacy/context/notifications.js +1 -0
  1179. package/dist/src/core/services/legacy/hooks/toolPermission/permissionLogging.js +1 -0
  1180. package/dist/src/core/services/legacy/hooks/useCanUseTool.js +1 -0
  1181. package/dist/src/core/services/legacy/hooks/useDiffData.js +1 -0
  1182. package/dist/src/core/services/legacy/hooks/useDiffInIDE.js +1 -0
  1183. package/dist/src/core/services/legacy/hooks/useElapsedTime.js +1 -0
  1184. package/dist/src/core/services/legacy/hooks/useMainLoopModel.js +1 -0
  1185. package/dist/src/core/services/legacy/hooks/useMergedTools.js +1 -0
  1186. package/dist/src/core/services/legacy/hooks/useNotifyAfterTimeout.js +1 -0
  1187. package/dist/src/core/services/legacy/hooks/useSearchInput.js +1 -0
  1188. package/dist/src/core/services/legacy/hooks/useSettingsChange.js +1 -0
  1189. package/dist/src/core/services/legacy/hooks/useTeleportResume.js +1 -0
  1190. package/dist/src/core/services/legacy/hooks/useTurnDiffs.js +1 -0
  1191. package/dist/src/core/services/legacy/hooks/useVimInput.js +1 -0
  1192. package/dist/src/core/services/legacy/hooks/useVirtualScroll.js +1 -0
  1193. package/dist/src/core/services/legacy/mcpCliAdapter.impl.js +36 -0
  1194. package/dist/src/core/services/legacy/oauth/client.js +1 -0
  1195. package/dist/src/core/services/legacy/oauth/types.js +1 -0
  1196. package/dist/src/core/services/legacy/pluginsCliAdapter.impl.js +23 -0
  1197. package/dist/src/core/services/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  1198. package/dist/src/core/services/legacy/services/analytics/growthbook.js +1 -0
  1199. package/dist/src/core/services/legacy/services/analytics.js +1 -0
  1200. package/dist/src/core/services/legacy/services/api/grove.js +1 -0
  1201. package/dist/src/core/services/legacy/services/autoDream/config.js +1 -0
  1202. package/dist/src/core/services/legacy/services/autoDream/consolidationLock.js +1 -0
  1203. package/dist/src/core/services/legacy/services/localDictation.js +1 -0
  1204. package/dist/src/core/services/legacy/services/lsp/manager.js +1 -0
  1205. package/dist/src/core/services/legacy/services/mcp/MCPConnectionManager.js +1 -0
  1206. package/dist/src/core/services/legacy/services/mcp/auth.js +1 -0
  1207. package/dist/src/core/services/legacy/services/mcp/client.js +1 -0
  1208. package/dist/src/core/services/legacy/services/mcp/config.js +1 -0
  1209. package/dist/src/core/services/legacy/services/mcp/elicitationHandler.js +1 -0
  1210. package/dist/src/core/services/legacy/services/mcp/mcpStringUtils.js +1 -0
  1211. package/dist/src/core/services/legacy/services/mcp/types.js +1 -0
  1212. package/dist/src/core/services/legacy/services/mcp/utils.js +1 -0
  1213. package/dist/src/core/services/legacy/services/policyLimits/index.js +1 -0
  1214. package/dist/src/core/services/legacy/services/remoteManagedSettings/index.js +1 -0
  1215. package/dist/src/core/services/legacy/services/voice.js +1 -0
  1216. package/dist/src/core/services/legacy/state/AppState.js +1 -0
  1217. package/dist/src/core/services/legacy/state/AppStateStore.js +1 -0
  1218. package/dist/src/core/services/legacy/state/selectors.js +1 -0
  1219. package/dist/src/core/services/legacy/state/store.js +1 -0
  1220. package/dist/src/core/services/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1221. package/dist/src/core/services/legacy/tasks/LocalShellTask/guards.js +1 -0
  1222. package/dist/src/core/services/legacy/utils/Shell.js +1 -0
  1223. package/dist/src/core/services/legacy/utils/abortController.js +1 -0
  1224. package/dist/src/core/services/legacy/utils/advisor.js +1 -0
  1225. package/dist/src/core/services/legacy/utils/agentContext.js +1 -0
  1226. package/dist/src/core/services/legacy/utils/agentSwarmsEnabled.js +1 -0
  1227. package/dist/src/core/services/legacy/utils/api.js +1 -0
  1228. package/dist/src/core/services/legacy/utils/apiPreconnect.js +1 -0
  1229. package/dist/src/core/services/legacy/utils/array.js +1 -0
  1230. package/dist/src/core/services/legacy/utils/attachments.js +1 -0
  1231. package/dist/src/core/services/legacy/utils/attributionHooks.js +1 -0
  1232. package/dist/src/core/services/legacy/utils/auth.js +1 -0
  1233. package/dist/src/core/services/legacy/utils/aws.js +1 -0
  1234. package/dist/src/core/services/legacy/utils/betas.js +1 -0
  1235. package/dist/src/core/services/legacy/utils/billing.js +1 -0
  1236. package/dist/src/core/services/legacy/utils/browser.js +1 -0
  1237. package/dist/src/core/services/legacy/utils/caCertsConfig.js +1 -0
  1238. package/dist/src/core/services/legacy/utils/classifierApprovals.js +1 -0
  1239. package/dist/src/core/services/legacy/utils/claudeInChrome/chromeNativeHost.js +1 -0
  1240. package/dist/src/core/services/legacy/utils/claudeInChrome/common.js +1 -0
  1241. package/dist/src/core/services/legacy/utils/claudeInChrome/mcpServer.js +1 -0
  1242. package/dist/src/core/services/legacy/utils/claudeInChrome/prompt.js +1 -0
  1243. package/dist/src/core/services/legacy/utils/claudeInChrome/toolRendering.js +1 -0
  1244. package/dist/src/core/services/legacy/utils/claudemd.js +1 -0
  1245. package/dist/src/core/services/legacy/utils/cleanupRegistry.js +1 -0
  1246. package/dist/src/core/services/legacy/utils/computerControlMcp/common.js +1 -0
  1247. package/dist/src/core/services/legacy/utils/computerUse/common.js +1 -0
  1248. package/dist/src/core/services/legacy/utils/computerUse/mcpServer.js +1 -0
  1249. package/dist/src/core/services/legacy/utils/computerUse/wrapper.js +1 -0
  1250. package/dist/src/core/services/legacy/utils/concurrentSessions.js +1 -0
  1251. package/dist/src/core/services/legacy/utils/config.js +1 -0
  1252. package/dist/src/core/services/legacy/utils/contentArray.js +1 -0
  1253. package/dist/src/core/services/legacy/utils/context.js +1 -0
  1254. package/dist/src/core/services/legacy/utils/contextAnalysis.js +1 -0
  1255. package/dist/src/core/services/legacy/utils/cwd.js +1 -0
  1256. package/dist/src/core/services/legacy/utils/databaseMcp/common.js +1 -0
  1257. package/dist/src/core/services/legacy/utils/databaseMcp/mcpServer.js +1 -0
  1258. package/dist/src/core/services/legacy/utils/debug.js +1 -0
  1259. package/dist/src/core/services/legacy/utils/detectRepository.js +1 -0
  1260. package/dist/src/core/services/legacy/utils/diagLogs.js +1 -0
  1261. package/dist/src/core/services/legacy/utils/earlyInput.js +1 -0
  1262. package/dist/src/core/services/legacy/utils/effort.js +1 -0
  1263. package/dist/src/core/services/legacy/utils/env.js +1 -0
  1264. package/dist/src/core/services/legacy/utils/envDynamic.js +1 -0
  1265. package/dist/src/core/services/legacy/utils/envUtils.js +1 -0
  1266. package/dist/src/core/services/legacy/utils/envValidation.js +1 -0
  1267. package/dist/src/core/services/legacy/utils/errors.js +1 -0
  1268. package/dist/src/core/services/legacy/utils/execFileNoThrow.js +1 -0
  1269. package/dist/src/core/services/legacy/utils/fastMode.js +1 -0
  1270. package/dist/src/core/services/legacy/utils/file.js +1 -0
  1271. package/dist/src/core/services/legacy/utils/fileRead.js +1 -0
  1272. package/dist/src/core/services/legacy/utils/fileStateCache.js +1 -0
  1273. package/dist/src/core/services/legacy/utils/fingerprint.js +1 -0
  1274. package/dist/src/core/services/legacy/utils/forkedAgent.js +1 -0
  1275. package/dist/src/core/services/legacy/utils/format.js +1 -0
  1276. package/dist/src/core/services/legacy/utils/fsOperations.js +1 -0
  1277. package/dist/src/core/services/legacy/utils/generators.js +1 -0
  1278. package/dist/src/core/services/legacy/utils/genericProcessUtils.js +1 -0
  1279. package/dist/src/core/services/legacy/utils/git.js +1 -0
  1280. package/dist/src/core/services/legacy/utils/gracefulShutdown.js +1 -0
  1281. package/dist/src/core/services/legacy/utils/hash.js +1 -0
  1282. package/dist/src/core/services/legacy/utils/headlessProfiler.js +1 -0
  1283. package/dist/src/core/services/legacy/utils/hooks/postSamplingHooks.js +1 -0
  1284. package/dist/src/core/services/legacy/utils/hooks.js +1 -0
  1285. package/dist/src/core/services/legacy/utils/http.js +1 -0
  1286. package/dist/src/core/services/legacy/utils/ide.js +1 -0
  1287. package/dist/src/core/services/legacy/utils/imageResizer.js +1 -0
  1288. package/dist/src/core/services/legacy/utils/imageValidation.js +1 -0
  1289. package/dist/src/core/services/legacy/utils/json.js +1 -0
  1290. package/dist/src/core/services/legacy/utils/jsonRead.js +1 -0
  1291. package/dist/src/core/services/legacy/utils/lazySchema.js +1 -0
  1292. package/dist/src/core/services/legacy/utils/listSessionsImpl.js +1 -0
  1293. package/dist/src/core/services/legacy/utils/log.js +1 -0
  1294. package/dist/src/core/services/legacy/utils/managedEnv.js +1 -0
  1295. package/dist/src/core/services/legacy/utils/mcpInstructionsDelta.js +1 -0
  1296. package/dist/src/core/services/legacy/utils/memoize.js +1 -0
  1297. package/dist/src/core/services/legacy/utils/memory/types.js +1 -0
  1298. package/dist/src/core/services/legacy/utils/messageQueueManager.js +1 -0
  1299. package/dist/src/core/services/legacy/utils/messages.js +1 -0
  1300. package/dist/src/core/services/legacy/utils/model/bedrock.js +1 -0
  1301. package/dist/src/core/services/legacy/utils/model/model.js +1 -0
  1302. package/dist/src/core/services/legacy/utils/model/modelStrings.js +1 -0
  1303. package/dist/src/core/services/legacy/utils/model/providerBaseUrls.js +1 -0
  1304. package/dist/src/core/services/legacy/utils/model/providerCatalog.js +1 -0
  1305. package/dist/src/core/services/legacy/utils/model/providerProfiles.js +1 -0
  1306. package/dist/src/core/services/legacy/utils/model/providers.js +1 -0
  1307. package/dist/src/core/services/legacy/utils/modelCost.js +1 -0
  1308. package/dist/src/core/services/legacy/utils/mtls.js +1 -0
  1309. package/dist/src/core/services/legacy/utils/orchestration/store/index.js +1 -0
  1310. package/dist/src/core/services/legacy/utils/orchestration/store/orchestrationDb.js +1 -0
  1311. package/dist/src/core/services/legacy/utils/orchestration/store/providerAgentStore.js +1 -0
  1312. package/dist/src/core/services/legacy/utils/orchestration/store/providerWorkspaceStore.js +1 -0
  1313. package/dist/src/core/services/legacy/utils/orchestration/store/runStore.js +1 -0
  1314. package/dist/src/core/services/legacy/utils/orchestration/store/teamStore.js +1 -0
  1315. package/dist/src/core/services/legacy/utils/orchestration/store/types.js +1 -0
  1316. package/dist/src/core/services/legacy/utils/path.js +1 -0
  1317. package/dist/src/core/services/legacy/utils/permissions/PermissionMode.js +1 -0
  1318. package/dist/src/core/services/legacy/utils/permissions/PermissionResult.js +1 -0
  1319. package/dist/src/core/services/legacy/utils/permissions/autoModeState.js +1 -0
  1320. package/dist/src/core/services/legacy/utils/permissions/filesystem.js +1 -0
  1321. package/dist/src/core/services/legacy/utils/permissions/permissions.js +1 -0
  1322. package/dist/src/core/services/legacy/utils/plans.js +1 -0
  1323. package/dist/src/core/services/legacy/utils/platform.js +1 -0
  1324. package/dist/src/core/services/legacy/utils/plugins/installedPluginsManager.js +1 -0
  1325. package/dist/src/core/services/legacy/utils/plugins/lspPluginIntegration.js +1 -0
  1326. package/dist/src/core/services/legacy/utils/plugins/marketplaceManager.js +1 -0
  1327. package/dist/src/core/services/legacy/utils/plugins/officialMarketplace.js +1 -0
  1328. package/dist/src/core/services/legacy/utils/plugins/pluginLoader.js +1 -0
  1329. package/dist/src/core/services/legacy/utils/privacyLevel.js +1 -0
  1330. package/dist/src/core/services/legacy/utils/process.js +1 -0
  1331. package/dist/src/core/services/legacy/utils/proxy.js +1 -0
  1332. package/dist/src/core/services/legacy/utils/queryHelpers.js +1 -0
  1333. package/dist/src/core/services/legacy/utils/queryProfiler.js +1 -0
  1334. package/dist/src/core/services/legacy/utils/renderOptions.js +1 -0
  1335. package/dist/src/core/services/legacy/utils/secureStorage/index.js +1 -0
  1336. package/dist/src/core/services/legacy/utils/sequential.js +1 -0
  1337. package/dist/src/core/services/legacy/utils/sessionActivity.js +1 -0
  1338. package/dist/src/core/services/legacy/utils/sessionIngressAuth.js +1 -0
  1339. package/dist/src/core/services/legacy/utils/sessionStart.js +1 -0
  1340. package/dist/src/core/services/legacy/utils/sessionStorage.js +1 -0
  1341. package/dist/src/core/services/legacy/utils/settings/changeDetector.js +1 -0
  1342. package/dist/src/core/services/legacy/utils/settings/internalWrites.js +1 -0
  1343. package/dist/src/core/services/legacy/utils/settings/settings.js +1 -0
  1344. package/dist/src/core/services/legacy/utils/settings/settingsCache.js +1 -0
  1345. package/dist/src/core/services/legacy/utils/settings/types.js +1 -0
  1346. package/dist/src/core/services/legacy/utils/shell/shellToolUtils.js +1 -0
  1347. package/dist/src/core/services/legacy/utils/signal.js +1 -0
  1348. package/dist/src/core/services/legacy/utils/sinks.js +1 -0
  1349. package/dist/src/core/services/legacy/utils/sleep.js +1 -0
  1350. package/dist/src/core/services/legacy/utils/slowOperations.js +1 -0
  1351. package/dist/src/core/services/legacy/utils/startupProfiler.js +1 -0
  1352. package/dist/src/core/services/legacy/utils/stream.js +1 -0
  1353. package/dist/src/core/services/legacy/utils/stringUtils.js +1 -0
  1354. package/dist/src/core/services/legacy/utils/subprocessEnv.js +1 -0
  1355. package/dist/src/core/services/legacy/utils/swarm/teamHelpers.js +1 -0
  1356. package/dist/src/core/services/legacy/utils/systemPromptType.js +1 -0
  1357. package/dist/src/core/services/legacy/utils/task/diskOutput.js +1 -0
  1358. package/dist/src/core/services/legacy/utils/teammate.js +1 -0
  1359. package/dist/src/core/services/legacy/utils/telemetry/betaSessionTracing.js +1 -0
  1360. package/dist/src/core/services/legacy/utils/telemetry/events.js +1 -0
  1361. package/dist/src/core/services/legacy/utils/telemetry/instrumentation.js +1 -0
  1362. package/dist/src/core/services/legacy/utils/telemetry/sessionTracing.js +1 -0
  1363. package/dist/src/core/services/legacy/utils/telemetryAttributes.js +1 -0
  1364. package/dist/src/core/services/legacy/utils/teleport/api.js +1 -0
  1365. package/dist/src/core/services/legacy/utils/thinking.js +1 -0
  1366. package/dist/src/core/services/legacy/utils/tokens.js +1 -0
  1367. package/dist/src/core/services/legacy/utils/toolErrors.js +1 -0
  1368. package/dist/src/core/services/legacy/utils/toolResultStorage.js +1 -0
  1369. package/dist/src/core/services/legacy/utils/toolSearch.js +1 -0
  1370. package/dist/src/core/services/legacy/utils/user.js +1 -0
  1371. package/dist/src/core/services/legacy/utils/userAgent.js +1 -0
  1372. package/dist/src/core/services/legacy/utils/windowsPaths.js +1 -0
  1373. package/dist/src/core/services/legacy/utils/worktree.js +1 -0
  1374. package/dist/src/core/services/legacy/utils/worktreeModeEnabled.js +1 -0
  1375. package/dist/src/core/services/legacy/utils/zodToJsonSchema.js +1 -0
  1376. package/dist/src/core/services/mcpCliAdapter.js +36 -0
  1377. package/dist/src/core/services/pluginsCliAdapter.js +23 -0
  1378. package/dist/src/core/session/addDirCliAdapter.js +1 -0
  1379. package/dist/src/core/session/addDirValidationCliAdapter.js +1 -0
  1380. package/dist/src/core/session/branchCliAdapter.js +1 -0
  1381. package/dist/src/core/session/branchCore.js +103 -0
  1382. package/dist/src/core/session/branchCore.smoke.js +20 -0
  1383. package/dist/src/core/session/briefCliAdapter.js +4 -0
  1384. package/dist/src/core/session/clearCachesCore.js +33 -0
  1385. package/dist/src/core/session/clearConversationCore.js +37 -0
  1386. package/dist/src/core/session/cliAdapter.js +2 -0
  1387. package/dist/src/core/session/colorCliAdapter.js +1 -0
  1388. package/dist/src/core/session/colorCore.js +7 -0
  1389. package/dist/src/core/session/compactCliAdapter.js +1 -0
  1390. package/dist/src/core/session/compactCore.js +112 -0
  1391. package/dist/src/core/session/contextCore.js +160 -0
  1392. package/dist/src/core/session/contextRenderCliAdapter.js +1 -0
  1393. package/dist/src/core/session/contracts.js +1 -0
  1394. package/dist/src/core/session/copyCliAdapter.js +1 -0
  1395. package/dist/src/core/session/exitCliAdapter.js +1 -0
  1396. package/dist/src/core/session/exportCliAdapter.js +1 -0
  1397. package/dist/src/core/session/exportCore.js +59 -0
  1398. package/dist/src/core/session/filesCliAdapter.js +1 -0
  1399. package/dist/src/core/session/generateSessionNameCliAdapter.js +1 -0
  1400. package/dist/src/core/session/generateSessionNameCore.js +46 -0
  1401. package/dist/src/core/session/generateSessionNameCore.smoke.js +23 -0
  1402. package/dist/src/core/session/heapdumpCliAdapter.js +1 -0
  1403. package/dist/src/core/session/initCliAdapter.js +1 -0
  1404. package/dist/src/core/session/keybindingsCliAdapter.js +1 -0
  1405. package/dist/src/core/session/legacy/addDirCliAdapter.impl.js +4 -0
  1406. package/dist/src/core/session/legacy/addDirValidationCliAdapter.impl.js +5 -0
  1407. package/dist/src/core/session/legacy/branchCliAdapter.impl.js +37 -0
  1408. package/dist/src/core/session/legacy/cliAdapter.impl.js +244 -0
  1409. package/dist/src/core/session/legacy/colorCliAdapter.impl.js +5 -0
  1410. package/dist/src/core/session/legacy/compactCliAdapter.impl.js +11 -0
  1411. package/dist/src/core/session/legacy/compactCliAdapter.js +9 -0
  1412. package/dist/src/core/session/legacy/contextCliAdapter.js +6 -0
  1413. package/dist/src/core/session/legacy/contextCollapseIndex.js +1 -0
  1414. package/dist/src/core/session/legacy/contextCollapseOperations.js +1 -0
  1415. package/dist/src/core/session/legacy/contextRenderCliAdapter.impl.js +2 -0
  1416. package/dist/src/core/session/legacy/copyCliAdapter.impl.js +5 -0
  1417. package/dist/src/core/session/legacy/exitCliAdapter.impl.js +4 -0
  1418. package/dist/src/core/session/legacy/exportCliAdapter.impl.js +4 -0
  1419. package/dist/src/core/session/legacy/filesCliAdapter.impl.js +3 -0
  1420. package/dist/src/core/session/legacy/generateSessionNameCliAdapter.impl.js +19 -0
  1421. package/dist/src/core/session/legacy/heapdumpCliAdapter.impl.js +2 -0
  1422. package/dist/src/core/session/legacy/keybindingsCliAdapter.impl.js +3 -0
  1423. package/dist/src/core/session/legacy/memoryCliAdapter.impl.js +26 -0
  1424. package/dist/src/core/session/legacy/planCliAdapter.impl.js +32 -0
  1425. package/dist/src/core/session/legacy/releaseNotesCliAdapter.impl.js +3 -0
  1426. package/dist/src/core/session/legacy/renameCliAdapter.impl.js +51 -0
  1427. package/dist/src/core/session/legacy/resumeCliAdapter.impl.js +96 -0
  1428. package/dist/src/core/session/legacy/resumeCommandCliAdapter.impl.js +7 -0
  1429. package/dist/src/core/session/legacy/resumeCoreCliAdapter.js +2 -0
  1430. package/dist/src/core/session/legacy/resumenCliAdapter.impl.js +3 -0
  1431. package/dist/src/core/session/legacy/sessionCliAdapter.impl.js +3 -0
  1432. package/dist/src/core/session/legacy/tagCliAdapter.impl.js +12 -0
  1433. package/dist/src/core/session/legacy/timelineCliAdapter.impl.js +4 -0
  1434. package/dist/src/core/session/legacy/vimCliAdapter.impl.js +3 -0
  1435. package/dist/src/core/session/memoryCliAdapter.js +1 -0
  1436. package/dist/src/core/session/memoryCore.js +44 -0
  1437. package/dist/src/core/session/planCliAdapter.js +1 -0
  1438. package/dist/src/core/session/planCore.js +11 -0
  1439. package/dist/src/core/session/preflight.smoke.js +153 -0
  1440. package/dist/src/core/session/releaseNotesCliAdapter.js +1 -0
  1441. package/dist/src/core/session/releaseNotesCore.js +17 -0
  1442. package/dist/src/core/session/renameCliAdapter.js +1 -0
  1443. package/dist/src/core/session/renameCore.js +26 -0
  1444. package/dist/src/core/session/resumeCliAdapter.js +1 -0
  1445. package/dist/src/core/session/resumeCommandCliAdapter.js +1 -0
  1446. package/dist/src/core/session/resumeCore.js +24 -0
  1447. package/dist/src/core/session/resumenCliAdapter.js +1 -0
  1448. package/dist/src/core/session/resumenCore.js +15 -0
  1449. package/dist/src/core/session/sessionCliAdapter.js +1 -0
  1450. package/dist/src/core/session/sessionCore.js +9 -0
  1451. package/dist/src/core/session/tagCliAdapter.js +1 -0
  1452. package/dist/src/core/session/tagCore.js +16 -0
  1453. package/dist/src/core/session/timelineCliAdapter.js +1 -0
  1454. package/dist/src/core/session/vimCliAdapter.js +1 -0
  1455. package/dist/src/core/session/vimCore.js +14 -0
  1456. package/dist/src/core/sharedLegacyDeps/pluginsCliAdapterDeps.js +45 -0
  1457. package/dist/src/core/sharedLegacyDeps/pluginsReloadDeps.js +8 -0
  1458. package/dist/src/core/sharedLegacyDeps/skillsCliAdapterDeps.js +8 -0
  1459. package/dist/src/core/skills/importCore.js +66 -0
  1460. package/dist/src/core/skills/importCore.smoke.js +49 -0
  1461. package/dist/src/core/skills/legacy/bootstrap/state.js +1 -0
  1462. package/dist/src/core/skills/legacy/cliAdapter.impl.js +32 -0
  1463. package/dist/src/core/skills/legacy/services/SessionMemory/sessionMemoryUtils.js +1 -0
  1464. package/dist/src/core/skills/legacy/services/analytics/growthbook.js +1 -0
  1465. package/dist/src/core/skills/legacy/services/analytics/index.js +1 -0
  1466. package/dist/src/core/skills/legacy/services/mcp/types.js +1 -0
  1467. package/dist/src/core/skills/legacy/services/policyLimits/index.js +1 -0
  1468. package/dist/src/core/skills/legacy/services/tokenEstimation.js +1 -0
  1469. package/dist/src/core/skills/legacy/utils/argumentSubstitution.js +1 -0
  1470. package/dist/src/core/skills/legacy/utils/auth.js +1 -0
  1471. package/dist/src/core/skills/legacy/utils/background/remote/preconditions.js +1 -0
  1472. package/dist/src/core/skills/legacy/utils/claudeInChrome/prompt.js +1 -0
  1473. package/dist/src/core/skills/legacy/utils/claudeInChrome/setup.js +1 -0
  1474. package/dist/src/core/skills/legacy/utils/cwd.js +1 -0
  1475. package/dist/src/core/skills/legacy/utils/debug.js +1 -0
  1476. package/dist/src/core/skills/legacy/utils/detectRepository.js +1 -0
  1477. package/dist/src/core/skills/legacy/utils/effort.js +1 -0
  1478. package/dist/src/core/skills/legacy/utils/envUtils.js +1 -0
  1479. package/dist/src/core/skills/legacy/utils/errors.js +1 -0
  1480. package/dist/src/core/skills/legacy/utils/format.js +1 -0
  1481. package/dist/src/core/skills/legacy/utils/frontmatterParser.js +1 -0
  1482. package/dist/src/core/skills/legacy/utils/fsOperations.js +1 -0
  1483. package/dist/src/core/skills/legacy/utils/git/gitignore.js +1 -0
  1484. package/dist/src/core/skills/legacy/utils/git.js +1 -0
  1485. package/dist/src/core/skills/legacy/utils/log.js +1 -0
  1486. package/dist/src/core/skills/legacy/utils/markdownConfigLoader.js +1 -0
  1487. package/dist/src/core/skills/legacy/utils/messages.js +1 -0
  1488. package/dist/src/core/skills/legacy/utils/model/model.js +1 -0
  1489. package/dist/src/core/skills/legacy/utils/permissions/filesystem.js +1 -0
  1490. package/dist/src/core/skills/legacy/utils/promptShellExecution.js +1 -0
  1491. package/dist/src/core/skills/legacy/utils/settings/constants.js +1 -0
  1492. package/dist/src/core/skills/legacy/utils/settings/managedPath.js +1 -0
  1493. package/dist/src/core/skills/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
  1494. package/dist/src/core/skills/legacy/utils/settings/types.js +1 -0
  1495. package/dist/src/core/skills/legacy/utils/signal.js +1 -0
  1496. package/dist/src/core/skills/legacy/utils/slowOperations.js +1 -0
  1497. package/dist/src/core/skills/legacy/utils/teleport/environments.js +1 -0
  1498. package/dist/src/core/state/legacy/bootstrap/state.js +1 -0
  1499. package/dist/src/core/state/legacy/context/mailbox.js +1 -0
  1500. package/dist/src/core/state/legacy/context/voice.js +1 -0
  1501. package/dist/src/core/state/legacy/hooks/useSettingsChange.js +1 -0
  1502. package/dist/src/core/state/legacy/services/PromptSuggestion/promptSuggestion.js +1 -0
  1503. package/dist/src/core/state/legacy/services/analytics/index.js +1 -0
  1504. package/dist/src/core/state/legacy/services/mcp/channelPermissions.js +1 -0
  1505. package/dist/src/core/state/legacy/services/mcp/elicitationHandler.js +1 -0
  1506. package/dist/src/core/state/legacy/services/mcp/types.js +1 -0
  1507. package/dist/src/core/state/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  1508. package/dist/src/core/state/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1509. package/dist/src/core/state/legacy/tasks/types.js +1 -0
  1510. package/dist/src/core/state/legacy/utils/auth.js +1 -0
  1511. package/dist/src/core/state/legacy/utils/commitAttribution.js +1 -0
  1512. package/dist/src/core/state/legacy/utils/config.js +1 -0
  1513. package/dist/src/core/state/legacy/utils/debug.js +1 -0
  1514. package/dist/src/core/state/legacy/utils/effort.js +1 -0
  1515. package/dist/src/core/state/legacy/utils/errors.js +1 -0
  1516. package/dist/src/core/state/legacy/utils/fileHistory.js +1 -0
  1517. package/dist/src/core/state/legacy/utils/hooks/postSamplingHooks.js +1 -0
  1518. package/dist/src/core/state/legacy/utils/hooks/sessionHooks.js +1 -0
  1519. package/dist/src/core/state/legacy/utils/log.js +1 -0
  1520. package/dist/src/core/state/legacy/utils/managedEnv.js +1 -0
  1521. package/dist/src/core/state/legacy/utils/model/model.js +1 -0
  1522. package/dist/src/core/state/legacy/utils/permissions/PermissionMode.js +1 -0
  1523. package/dist/src/core/state/legacy/utils/permissions/denialTracking.js +1 -0
  1524. package/dist/src/core/state/legacy/utils/permissions/permissionSetup.js +1 -0
  1525. package/dist/src/core/state/legacy/utils/sessionState.js +1 -0
  1526. package/dist/src/core/state/legacy/utils/settings/applySettingsChange.js +1 -0
  1527. package/dist/src/core/state/legacy/utils/settings/constants.js +1 -0
  1528. package/dist/src/core/state/legacy/utils/settings/settings.js +1 -0
  1529. package/dist/src/core/state/legacy/utils/settings/types.js +1 -0
  1530. package/dist/src/core/state/legacy/utils/teammate.js +1 -0
  1531. package/dist/src/core/state/legacy/utils/thinking.js +1 -0
  1532. package/dist/src/core/tasks/legacy/bootstrap/state.js +1 -0
  1533. package/dist/src/core/tasks/legacy/services/PromptSuggestion/speculation.js +1 -0
  1534. package/dist/src/core/tasks/legacy/services/autoDream/consolidationLock.js +1 -0
  1535. package/dist/src/core/tasks/legacy/services/tokenEstimation.js +1 -0
  1536. package/dist/src/core/tasks/legacy/state/AppState.js +1 -0
  1537. package/dist/src/core/tasks/legacy/utils/ShellCommand.js +1 -0
  1538. package/dist/src/core/tasks/legacy/utils/abortController.js +1 -0
  1539. package/dist/src/core/tasks/legacy/utils/agentContext.js +1 -0
  1540. package/dist/src/core/tasks/legacy/utils/array.js +1 -0
  1541. package/dist/src/core/tasks/legacy/utils/background/remote/remoteSession.js +1 -0
  1542. package/dist/src/core/tasks/legacy/utils/cleanupRegistry.js +1 -0
  1543. package/dist/src/core/tasks/legacy/utils/collapseReadSearch.js +1 -0
  1544. package/dist/src/core/tasks/legacy/utils/debug.js +1 -0
  1545. package/dist/src/core/tasks/legacy/utils/fsOperations.js +1 -0
  1546. package/dist/src/core/tasks/legacy/utils/log.js +1 -0
  1547. package/dist/src/core/tasks/legacy/utils/messageQueueManager.js +1 -0
  1548. package/dist/src/core/tasks/legacy/utils/messages.js +1 -0
  1549. package/dist/src/core/tasks/legacy/utils/permissions/PermissionMode.js +1 -0
  1550. package/dist/src/core/tasks/legacy/utils/sdkEventQueue.js +1 -0
  1551. package/dist/src/core/tasks/legacy/utils/sessionStorage.js +1 -0
  1552. package/dist/src/core/tasks/legacy/utils/slowOperations.js +1 -0
  1553. package/dist/src/core/tasks/legacy/utils/swarm/spawnInProcess.js +1 -0
  1554. package/dist/src/core/tasks/legacy/utils/task/diskOutput.js +1 -0
  1555. package/dist/src/core/tasks/legacy/utils/task/framework.js +1 -0
  1556. package/dist/src/core/tasks/legacy/utils/task/sdkProgress.js +1 -0
  1557. package/dist/src/core/tasks/legacy/utils/teleport/api.js +1 -0
  1558. package/dist/src/core/tasks/legacy/utils/teleport.js +1 -0
  1559. package/dist/src/core/tasks/legacy/utils/todo/types.js +1 -0
  1560. package/dist/src/core/tasks/legacy/utils/ultraplan/ccrSession.js +1 -0
  1561. package/dist/src/core/tasks/legacy/utils/xml.js +1 -0
  1562. package/dist/src/core/tasks/ultraplanCliAdapter.js +11 -0
  1563. package/dist/src/core/tasks/ultraplanPrompt.js +18 -0
  1564. package/dist/src/core/terminal/cliAdapter.js +1 -0
  1565. package/dist/src/core/terminal/legacy/cliAdapter.impl.js +1 -0
  1566. package/dist/src/core/terminal/runtime.js +40 -0
  1567. package/dist/src/core/terminal/runtime.smoke.js +18 -0
  1568. package/dist/src/core/terminal/setupRuntime.js +468 -0
  1569. package/dist/src/core/tools/bashCliAdapter.js +1 -0
  1570. package/dist/src/core/tools/fileToolsCliAdapter.js +46 -0
  1571. package/dist/src/core/tools/legacy/bashCliAdapter.impl.js +1 -0
  1572. package/dist/src/core/tools/legacy/bootstrap/state.js +1 -0
  1573. package/dist/src/core/tools/legacy/bootstrap/state.js.js +1 -0
  1574. package/dist/src/core/tools/legacy/fileToolsCliAdapter.impl.js +1 -0
  1575. package/dist/src/core/tools/legacy/hooks/useCanUseTool.js +1 -0
  1576. package/dist/src/core/tools/legacy/powerShellCliAdapter.impl.js +1 -0
  1577. package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js +1 -0
  1578. package/dist/src/core/tools/legacy/services/AgentSummary/agentSummary.js.js +1 -0
  1579. package/dist/src/core/tools/legacy/services/analytics/growthbook.js +1 -0
  1580. package/dist/src/core/tools/legacy/services/analytics/growthbook.js.js +1 -0
  1581. package/dist/src/core/tools/legacy/services/analytics/index.js +1 -0
  1582. package/dist/src/core/tools/legacy/services/analytics/index.js.js +1 -0
  1583. package/dist/src/core/tools/legacy/services/analytics/metadata.js +1 -0
  1584. package/dist/src/core/tools/legacy/services/api/dumpPrompts.js +1 -0
  1585. package/dist/src/core/tools/legacy/services/api/dumpPrompts.js.js +1 -0
  1586. package/dist/src/core/tools/legacy/services/api/promptCacheBreakDetection.js +1 -0
  1587. package/dist/src/core/tools/legacy/services/mcp/client.js +1 -0
  1588. package/dist/src/core/tools/legacy/services/mcp/config.js +1 -0
  1589. package/dist/src/core/tools/legacy/services/mcp/types.js +1 -0
  1590. package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js +1 -0
  1591. package/dist/src/core/tools/legacy/services/skillSearch/featureCheck.js.js +1 -0
  1592. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js +1 -0
  1593. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillLoader.js.js +1 -0
  1594. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js +1 -0
  1595. package/dist/src/core/tools/legacy/services/skillSearch/remoteSkillState.js.js +1 -0
  1596. package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js +1 -0
  1597. package/dist/src/core/tools/legacy/services/skillSearch/telemetry.js.js +1 -0
  1598. package/dist/src/core/tools/legacy/state/AppState.js +1 -0
  1599. package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1600. package/dist/src/core/tools/legacy/tasks/LocalAgentTask/LocalAgentTask.js.js +1 -0
  1601. package/dist/src/core/tools/legacy/tasks/LocalMainSessionTask.js +1 -0
  1602. package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  1603. package/dist/src/core/tools/legacy/tasks/LocalShellTask/LocalShellTask.js.js +1 -0
  1604. package/dist/src/core/tools/legacy/tasks/LocalShellTask/guards.js +1 -0
  1605. package/dist/src/core/tools/legacy/tasks/LocalShellTask/killShellTasks.js +1 -0
  1606. package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js +1 -0
  1607. package/dist/src/core/tools/legacy/tasks/RemoteAgentTask/RemoteAgentTask.js.js +1 -0
  1608. package/dist/src/core/tools/legacy/tasks/types.js +1 -0
  1609. package/dist/src/core/tools/legacy/utils/Shell.js +1 -0
  1610. package/dist/src/core/tools/legacy/utils/Shell.js.js +1 -0
  1611. package/dist/src/core/tools/legacy/utils/agentContext.js +1 -0
  1612. package/dist/src/core/tools/legacy/utils/agentContext.js.js +1 -0
  1613. package/dist/src/core/tools/legacy/utils/agentId.js +1 -0
  1614. package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js +1 -0
  1615. package/dist/src/core/tools/legacy/utils/agentSwarmsEnabled.js.js +1 -0
  1616. package/dist/src/core/tools/legacy/utils/array.js +1 -0
  1617. package/dist/src/core/tools/legacy/utils/array.js.js +1 -0
  1618. package/dist/src/core/tools/legacy/utils/attachments.js +1 -0
  1619. package/dist/src/core/tools/legacy/utils/auth.js +1 -0
  1620. package/dist/src/core/tools/legacy/utils/claudeCodeHints.js +1 -0
  1621. package/dist/src/core/tools/legacy/utils/claudeCodeHints.js.js +1 -0
  1622. package/dist/src/core/tools/legacy/utils/collapseReadSearch.js +1 -0
  1623. package/dist/src/core/tools/legacy/utils/collapseReadSearch.js.js +1 -0
  1624. package/dist/src/core/tools/legacy/utils/cwd.js +1 -0
  1625. package/dist/src/core/tools/legacy/utils/cwd.js.js +1 -0
  1626. package/dist/src/core/tools/legacy/utils/debug.js +1 -0
  1627. package/dist/src/core/tools/legacy/utils/debug.js.js +1 -0
  1628. package/dist/src/core/tools/legacy/utils/effort.js +1 -0
  1629. package/dist/src/core/tools/legacy/utils/embeddedTools.js +1 -0
  1630. package/dist/src/core/tools/legacy/utils/envUtils.js +1 -0
  1631. package/dist/src/core/tools/legacy/utils/envUtils.js.js +1 -0
  1632. package/dist/src/core/tools/legacy/utils/errors.js +1 -0
  1633. package/dist/src/core/tools/legacy/utils/errors.js.js +1 -0
  1634. package/dist/src/core/tools/legacy/utils/file.js +1 -0
  1635. package/dist/src/core/tools/legacy/utils/file.js.js +1 -0
  1636. package/dist/src/core/tools/legacy/utils/fileStateCache.js +1 -0
  1637. package/dist/src/core/tools/legacy/utils/forkedAgent.js +1 -0
  1638. package/dist/src/core/tools/legacy/utils/format.js +1 -0
  1639. package/dist/src/core/tools/legacy/utils/format.js.js +1 -0
  1640. package/dist/src/core/tools/legacy/utils/frontmatterParser.js +1 -0
  1641. package/dist/src/core/tools/legacy/utils/git.js +1 -0
  1642. package/dist/src/core/tools/legacy/utils/hooks/registerFrontmatterHooks.js +1 -0
  1643. package/dist/src/core/tools/legacy/utils/hooks/sessionHooks.js +1 -0
  1644. package/dist/src/core/tools/legacy/utils/hooks.js +1 -0
  1645. package/dist/src/core/tools/legacy/utils/hyperlink.js +1 -0
  1646. package/dist/src/core/tools/legacy/utils/hyperlink.js.js +1 -0
  1647. package/dist/src/core/tools/legacy/utils/lazySchema.js +1 -0
  1648. package/dist/src/core/tools/legacy/utils/lazySchema.js.js +1 -0
  1649. package/dist/src/core/tools/legacy/utils/log.js +1 -0
  1650. package/dist/src/core/tools/legacy/utils/log.js.js +1 -0
  1651. package/dist/src/core/tools/legacy/utils/markdownConfigLoader.js +1 -0
  1652. package/dist/src/core/tools/legacy/utils/mcpValidation.js +1 -0
  1653. package/dist/src/core/tools/legacy/utils/mcpValidation.js.js +1 -0
  1654. package/dist/src/core/tools/legacy/utils/messages.js +1 -0
  1655. package/dist/src/core/tools/legacy/utils/messages.js.js +1 -0
  1656. package/dist/src/core/tools/legacy/utils/model/agent.js +1 -0
  1657. package/dist/src/core/tools/legacy/utils/model/agent.js.js +1 -0
  1658. package/dist/src/core/tools/legacy/utils/model/aliases.js +1 -0
  1659. package/dist/src/core/tools/legacy/utils/model/model.js +1 -0
  1660. package/dist/src/core/tools/legacy/utils/model/model.js.js +1 -0
  1661. package/dist/src/core/tools/legacy/utils/model/providerCatalog.js +1 -0
  1662. package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js +1 -0
  1663. package/dist/src/core/tools/legacy/utils/model/providerOverrideContext.js.js +1 -0
  1664. package/dist/src/core/tools/legacy/utils/model/providerProfiles.js +1 -0
  1665. package/dist/src/core/tools/legacy/utils/model/providers.js +1 -0
  1666. package/dist/src/core/tools/legacy/utils/model/providers.js.js +1 -0
  1667. package/dist/src/core/tools/legacy/utils/orchestration/store/index.js +1 -0
  1668. package/dist/src/core/tools/legacy/utils/path.js +1 -0
  1669. package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js +1 -0
  1670. package/dist/src/core/tools/legacy/utils/permissions/PermissionMode.js.js +1 -0
  1671. package/dist/src/core/tools/legacy/utils/permissions/PermissionResult.js +1 -0
  1672. package/dist/src/core/tools/legacy/utils/permissions/autoModeState.js +1 -0
  1673. package/dist/src/core/tools/legacy/utils/permissions/permissionRuleParser.js +1 -0
  1674. package/dist/src/core/tools/legacy/utils/permissions/permissionSetup.js +1 -0
  1675. package/dist/src/core/tools/legacy/utils/permissions/permissions.js +1 -0
  1676. package/dist/src/core/tools/legacy/utils/permissions/permissions.js.js +1 -0
  1677. package/dist/src/core/tools/legacy/utils/permissions/yoloClassifier.js +1 -0
  1678. package/dist/src/core/tools/legacy/utils/platform.js +1 -0
  1679. package/dist/src/core/tools/legacy/utils/platform.js.js +1 -0
  1680. package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js +1 -0
  1681. package/dist/src/core/tools/legacy/utils/plugins/hintRecommendation.js.js +1 -0
  1682. package/dist/src/core/tools/legacy/utils/plugins/loadPluginAgents.js +1 -0
  1683. package/dist/src/core/tools/legacy/utils/promptCategory.js +1 -0
  1684. package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js +1 -0
  1685. package/dist/src/core/tools/legacy/utils/sandbox/sandbox-adapter.js.js +1 -0
  1686. package/dist/src/core/tools/legacy/utils/sdkEventQueue.js +1 -0
  1687. package/dist/src/core/tools/legacy/utils/sdkEventQueue.js.js +1 -0
  1688. package/dist/src/core/tools/legacy/utils/semanticBoolean.js +1 -0
  1689. package/dist/src/core/tools/legacy/utils/semanticBoolean.js.js +1 -0
  1690. package/dist/src/core/tools/legacy/utils/semanticNumber.js +1 -0
  1691. package/dist/src/core/tools/legacy/utils/semanticNumber.js.js +1 -0
  1692. package/dist/src/core/tools/legacy/utils/sessionStorage.js +1 -0
  1693. package/dist/src/core/tools/legacy/utils/sessionStorage.js.js +1 -0
  1694. package/dist/src/core/tools/legacy/utils/settings/constants.js +1 -0
  1695. package/dist/src/core/tools/legacy/utils/settings/pluginOnlyPolicy.js +1 -0
  1696. package/dist/src/core/tools/legacy/utils/settings/types.js +1 -0
  1697. package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js +1 -0
  1698. package/dist/src/core/tools/legacy/utils/shell/powershellDetection.js.js +1 -0
  1699. package/dist/src/core/tools/legacy/utils/sleep.js +1 -0
  1700. package/dist/src/core/tools/legacy/utils/sleep.js.js +1 -0
  1701. package/dist/src/core/tools/legacy/utils/slowOperations.js +1 -0
  1702. package/dist/src/core/tools/legacy/utils/slowOperations.js.js +1 -0
  1703. package/dist/src/core/tools/legacy/utils/stringUtils.js +1 -0
  1704. package/dist/src/core/tools/legacy/utils/stringUtils.js.js +1 -0
  1705. package/dist/src/core/tools/legacy/utils/swarm/backends/registry.js +1 -0
  1706. package/dist/src/core/tools/legacy/utils/swarm/constants.js +1 -0
  1707. package/dist/src/core/tools/legacy/utils/swarm/teamHelpers.js +1 -0
  1708. package/dist/src/core/tools/legacy/utils/swarm/teammateLayoutManager.js +1 -0
  1709. package/dist/src/core/tools/legacy/utils/systemPrompt.js +1 -0
  1710. package/dist/src/core/tools/legacy/utils/systemPrompt.js.js +1 -0
  1711. package/dist/src/core/tools/legacy/utils/systemPromptType.js +1 -0
  1712. package/dist/src/core/tools/legacy/utils/systemPromptType.js.js +1 -0
  1713. package/dist/src/core/tools/legacy/utils/task/TaskOutput.js +1 -0
  1714. package/dist/src/core/tools/legacy/utils/task/TaskOutput.js.js +1 -0
  1715. package/dist/src/core/tools/legacy/utils/task/diskOutput.js +1 -0
  1716. package/dist/src/core/tools/legacy/utils/task/diskOutput.js.js +1 -0
  1717. package/dist/src/core/tools/legacy/utils/task/framework.js +1 -0
  1718. package/dist/src/core/tools/legacy/utils/task/framework.js.js +1 -0
  1719. package/dist/src/core/tools/legacy/utils/task/outputFormatting.js +1 -0
  1720. package/dist/src/core/tools/legacy/utils/task/outputFormatting.js.js +1 -0
  1721. package/dist/src/core/tools/legacy/utils/task/sdkProgress.js +1 -0
  1722. package/dist/src/core/tools/legacy/utils/tasks.js +1 -0
  1723. package/dist/src/core/tools/legacy/utils/teammate.js +1 -0
  1724. package/dist/src/core/tools/legacy/utils/teammate.js.js +1 -0
  1725. package/dist/src/core/tools/legacy/utils/teammateContext.js +1 -0
  1726. package/dist/src/core/tools/legacy/utils/teammateContext.js.js +1 -0
  1727. package/dist/src/core/tools/legacy/utils/telemetry/perfettoTracing.js +1 -0
  1728. package/dist/src/core/tools/legacy/utils/teleport.js +1 -0
  1729. package/dist/src/core/tools/legacy/utils/teleport.js.js +1 -0
  1730. package/dist/src/core/tools/legacy/utils/terminal.js +1 -0
  1731. package/dist/src/core/tools/legacy/utils/terminal.js.js +1 -0
  1732. package/dist/src/core/tools/legacy/utils/theme.js +1 -0
  1733. package/dist/src/core/tools/legacy/utils/tokens.js +1 -0
  1734. package/dist/src/core/tools/legacy/utils/tokens.js.js +1 -0
  1735. package/dist/src/core/tools/legacy/utils/toolResultStorage.js +1 -0
  1736. package/dist/src/core/tools/legacy/utils/toolResultStorage.js.js +1 -0
  1737. package/dist/src/core/tools/legacy/utils/udsClient.js +1 -0
  1738. package/dist/src/core/tools/legacy/utils/udsClient.js.js +1 -0
  1739. package/dist/src/core/tools/legacy/utils/uuid.js +1 -0
  1740. package/dist/src/core/tools/legacy/utils/uuid.js.js +1 -0
  1741. package/dist/src/core/tools/legacy/utils/words.js +1 -0
  1742. package/dist/src/core/tools/legacy/utils/worktree.js +1 -0
  1743. package/dist/src/core/tools/legacy/utils/worktree.js.js +1 -0
  1744. package/dist/src/core/tools/powerShellCliAdapter.js +3 -0
  1745. package/dist/src/core/usage/extraUsageCliAdapter.js +1 -0
  1746. package/dist/src/core/usage/extraUsageCore.js +82 -0
  1747. package/dist/src/core/usage/extraUsageCore.smoke.js +27 -0
  1748. package/dist/src/core/usage/indexCliAdapter.js +4 -0
  1749. package/dist/src/core/usage/indexCore.js +12 -0
  1750. package/dist/src/core/usage/legacy/bootstrap/state.js +1 -0
  1751. package/dist/src/core/usage/legacy/deps.js +11 -0
  1752. package/dist/src/core/usage/legacy/extraUsageCliAdapter.impl.js +16 -0
  1753. package/dist/src/core/usage/legacy/indexCliAdapter.impl.js +6 -0
  1754. package/dist/src/core/usage/legacy/services/api/adminRequests.js +1 -0
  1755. package/dist/src/core/usage/legacy/services/api/overageCreditGrant.js +1 -0
  1756. package/dist/src/core/usage/legacy/services/api/usage.js +1 -0
  1757. package/dist/src/core/usage/legacy/utils/auth.js +1 -0
  1758. package/dist/src/core/usage/legacy/utils/billing.js +1 -0
  1759. package/dist/src/core/usage/legacy/utils/browser.js +1 -0
  1760. package/dist/src/core/usage/legacy/utils/config.js +1 -0
  1761. package/dist/src/core/usage/legacy/utils/envUtils.js +1 -0
  1762. package/dist/src/core/usage/legacy/utils/log.js +1 -0
  1763. package/dist/src/core/utils/legacy/bootstrap/state.js +1 -0
  1764. package/dist/src/core/utils/legacy/hooks/useCanUseTool.js +1 -0
  1765. package/dist/src/core/utils/legacy/hooks/useIdeSelection.js +1 -0
  1766. package/dist/src/core/utils/legacy/hooks/useTimeout.js +1 -0
  1767. package/dist/src/core/utils/legacy/services/MagicDocs/magicDocs.js +1 -0
  1768. package/dist/src/core/utils/legacy/services/analytics/datadog.js +1 -0
  1769. package/dist/src/core/utils/legacy/services/analytics/firstPartyEventLogger.js +1 -0
  1770. package/dist/src/core/utils/legacy/services/analytics/growthbook.js +1 -0
  1771. package/dist/src/core/utils/legacy/services/analytics/index.js +1 -0
  1772. package/dist/src/core/utils/legacy/services/analytics/metadata.js +1 -0
  1773. package/dist/src/core/utils/legacy/services/analytics/sink.js +1 -0
  1774. package/dist/src/core/utils/legacy/services/api/claude.js +1 -0
  1775. package/dist/src/core/utils/legacy/services/api/client.js +1 -0
  1776. package/dist/src/core/utils/legacy/services/api/dumpPrompts.js +1 -0
  1777. package/dist/src/core/utils/legacy/services/api/errorUtils.js +1 -0
  1778. package/dist/src/core/utils/legacy/services/api/errors.js +1 -0
  1779. package/dist/src/core/utils/legacy/services/api/logging.js +1 -0
  1780. package/dist/src/core/utils/legacy/services/api/openai.js +1 -0
  1781. package/dist/src/core/utils/legacy/services/api/withRetry.js +1 -0
  1782. package/dist/src/core/utils/legacy/services/autoDream/autoDream.js +1 -0
  1783. package/dist/src/core/utils/legacy/services/compact/autoCompact.js +1 -0
  1784. package/dist/src/core/utils/legacy/services/compact/snipCompact.js +1 -0
  1785. package/dist/src/core/utils/legacy/services/compact/snipProjection.js +1 -0
  1786. package/dist/src/core/utils/legacy/services/contextCollapse/persist.js +1 -0
  1787. package/dist/src/core/utils/legacy/services/diagnosticTracking.js +1 -0
  1788. package/dist/src/core/utils/legacy/services/extractMemories/extractMemories.js +1 -0
  1789. package/dist/src/core/utils/legacy/services/lsp/LSPDiagnosticRegistry.js +1 -0
  1790. package/dist/src/core/utils/legacy/services/lsp/manager.js +1 -0
  1791. package/dist/src/core/utils/legacy/services/lsp/types.js +1 -0
  1792. package/dist/src/core/utils/legacy/services/mcp/client.js +1 -0
  1793. package/dist/src/core/utils/legacy/services/mcp/envExpansion.js +1 -0
  1794. package/dist/src/core/utils/legacy/services/mcp/mcpStringUtils.js +1 -0
  1795. package/dist/src/core/utils/legacy/services/mcp/normalization.js +1 -0
  1796. package/dist/src/core/utils/legacy/services/mcp/types.js +1 -0
  1797. package/dist/src/core/utils/legacy/services/mcp/utils.js +1 -0
  1798. package/dist/src/core/utils/legacy/services/oauth/types.js +1 -0
  1799. package/dist/src/core/utils/legacy/services/plugins/PluginInstallationManager.js +1 -0
  1800. package/dist/src/core/utils/legacy/services/plugins/pluginOperations.js +1 -0
  1801. package/dist/src/core/utils/legacy/services/remoteManagedSettings/syncCache.js +1 -0
  1802. package/dist/src/core/utils/legacy/services/sessionTranscript/sessionTranscript.js +1 -0
  1803. package/dist/src/core/utils/legacy/services/skillSearch/featureCheck.js +1 -0
  1804. package/dist/src/core/utils/legacy/services/skillSearch/prefetch.js +1 -0
  1805. package/dist/src/core/utils/legacy/services/skillSearch/signals.js +1 -0
  1806. package/dist/src/core/utils/legacy/services/teamMemorySync/watcher.js +1 -0
  1807. package/dist/src/core/utils/legacy/services/tokenEstimation.js +1 -0
  1808. package/dist/src/core/utils/legacy/services/tools/toolOrchestration.js +1 -0
  1809. package/dist/src/core/utils/legacy/state/AppState.js +1 -0
  1810. package/dist/src/core/utils/legacy/state/AppStateStore.js +1 -0
  1811. package/dist/src/core/utils/legacy/state/selectors.js +1 -0
  1812. package/dist/src/core/utils/legacy/tasks/InProcessTeammateTask/types.js +1 -0
  1813. package/dist/src/core/utils/legacy/tasks/LocalAgentTask/LocalAgentTask.js +1 -0
  1814. package/dist/src/core/utils/legacy/tasks/LocalShellTask/LocalShellTask.js +1 -0
  1815. package/dist/src/core/utils/legacy/utils/format.js +1 -0
  1816. package/dist/src/core/voice/cliAdapter.js +1 -0
  1817. package/dist/src/core/voice/legacy/cliAdapter.impl.js +41 -0
  1818. package/dist/src/core/voice/legacy/services/analytics/growthbook.js +1 -0
  1819. package/dist/src/core/voice/legacy/services/analytics/growthbook.js.js +1 -0
  1820. package/dist/src/core/voice/runtime.js +151 -0
  1821. package/dist/src/core/voice/runtime.smoke.js +19 -0
  1822. package/dist/src/core/wavecore3/bashCliAdapterDeps.js +59 -0
  1823. package/dist/src/core/wavecore3/fileToolsCliAdapterDeps.js +47 -0
  1824. package/dist/src/core/wavecore3/powerShellCliAdapterDeps.js +19 -0
  1825. package/dist/src/core/wavecore3/terminalCliAdapterDeps.js +11 -0
  1826. package/dist/src/core/whatsapp/legacy/utils/config.js +1 -0
  1827. package/dist/src/core/whatsapp/legacy/utils/config.js.js +1 -0
  1828. package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js +1 -0
  1829. package/dist/src/core/whatsapp/legacy/utils/secureStorage/index.js.js +1 -0
  1830. package/dist/src/core/workspace/cliAdapter.js +1 -0
  1831. package/dist/src/core/workspace/legacy/cliAdapter.impl.js +6 -0
  1832. package/dist/src/core/workspace/runtime.js +25 -0
  1833. package/dist/src/core/workspace/runtime.smoke.js +13 -0
  1834. package/dist/src/hooks/core/hooks/legacy/context/notifications.js +1 -0
  1835. package/dist/src/hooks/core/hooks/legacy/services/analytics/index.js +1 -0
  1836. package/dist/src/hooks/core/hooks/legacy/services/lsp/manager.js +1 -0
  1837. package/dist/src/hooks/core/hooks/legacy/services/mcp/claudeai.js +1 -0
  1838. package/dist/src/hooks/core/hooks/legacy/services/mcp/types.js +1 -0
  1839. package/dist/src/hooks/usePasteHandler.js +5 -62
  1840. package/dist/src/ink/reconciler.js +7 -7
  1841. package/dist/src/main.js +5 -5
  1842. package/dist/src/memdir/findRelevantMemories.js +6 -6
  1843. package/dist/src/query.js +78 -0
  1844. package/dist/src/screens/REPL.js +9 -0
  1845. package/dist/src/services/AgentSummary/agentSummary.js +10 -10
  1846. package/dist/src/services/MagicDocs/prompts.js +56 -56
  1847. package/dist/src/services/PromptSuggestion/promptSuggestion.js +29 -29
  1848. package/dist/src/services/SessionMemory/prompts.js +66 -66
  1849. package/dist/src/services/autoDream/autoDream.js +5 -5
  1850. package/dist/src/services/limits/sessionCounter.js +17 -17
  1851. package/dist/src/services/objetivo/evaluator.js +129 -0
  1852. package/dist/src/services/objetivo/prompts.js +21 -0
  1853. package/dist/src/services/objetivo/types.js +25 -0
  1854. package/dist/src/services/orchestration/execution/OrchestrationExecutionRuntime.js +58 -58
  1855. package/dist/src/services/toolUseSummary/toolUseSummaryGenerator.js +9 -9
  1856. package/dist/src/skills/bundled/batch.js +78 -78
  1857. package/dist/src/skills/bundled/claudeApi.js +34 -34
  1858. package/dist/src/skills/bundled/claudeInChrome.js +4 -4
  1859. package/dist/src/skills/bundled/debug.js +36 -36
  1860. package/dist/src/skills/bundled/scheduleRemoteAgents.js +151 -151
  1861. package/dist/src/skills/bundled/skillify.js +134 -134
  1862. package/dist/src/skills/bundled/updateConfig.js +418 -418
  1863. package/dist/src/tasks/LocalAgentTask/LocalAgentTask.js +5 -5
  1864. package/dist/src/tasks/LocalMainSessionTask.js +5 -5
  1865. package/dist/src/tasks/LocalShellTask/LocalShellTask.js +13 -13
  1866. package/dist/src/tasks/RemoteAgentTask/RemoteAgentTask.js +26 -26
  1867. package/dist/src/tools/AgentTool/AgentTool.js +7 -7
  1868. package/dist/src/tools/AgentTool/built-in/claudeCodeGuideAgent.js +67 -67
  1869. package/dist/src/tools/AgentTool/forkSubagent.js +25 -25
  1870. package/dist/src/tools/AgentTool/prompt.js +131 -131
  1871. package/dist/src/tools/AgentTool/runAgent.js +9 -9
  1872. package/dist/src/tools/BashTool/BashTool.js +10 -10
  1873. package/dist/src/tools/BashTool/prompt.js +94 -94
  1874. package/dist/src/tools/ConfigTool/prompt.js +29 -29
  1875. package/dist/src/tools/EnterPlanModeTool/EnterPlanModeTool.js +12 -12
  1876. package/dist/src/tools/EnterPlanModeTool/prompt.js +140 -140
  1877. package/dist/src/tools/ExitPlanModeTool/ExitPlanModeV2Tool.js +18 -18
  1878. package/dist/src/tools/FileEditTool/prompt.js +7 -7
  1879. package/dist/src/tools/FileReadTool/prompt.js +12 -12
  1880. package/dist/src/tools/PowerShellTool/prompt.js +82 -82
  1881. package/dist/src/tools/ScheduleCronTool/prompt.js +37 -37
  1882. package/dist/src/tools/SkillTool/prompt.js +21 -21
  1883. package/dist/src/tools/TaskCreateTool/prompt.js +41 -41
  1884. package/dist/src/tools/TaskListTool/prompt.js +30 -30
  1885. package/dist/src/tools/TaskOutputTool/TaskOutputTool.js +8 -8
  1886. package/dist/src/tools/ToolSearchTool/prompt.js +9 -9
  1887. package/dist/src/tools/WebFetchTool/WebFetchTool.js +9 -9
  1888. package/dist/src/utils/advisor.js +15 -15
  1889. package/dist/src/utils/api.js +2 -2
  1890. package/dist/src/utils/claudeInChrome/setup.js +8 -8
  1891. package/dist/src/utils/computerControlMcp/common.js +24 -0
  1892. package/dist/src/utils/computerControlMcp/mcpServer.js +22 -0
  1893. package/dist/src/utils/computerControlMcp/setup.js +26 -0
  1894. package/dist/src/utils/heapDumpService.js +4 -4
  1895. package/dist/src/utils/hooks/execAgentHook.js +7 -7
  1896. package/dist/src/utils/hooks/execPromptHook.js +4 -4
  1897. package/dist/src/utils/hooks/skillImprovement.js +36 -36
  1898. package/dist/src/utils/mcp/dateTimeParser.js +9 -9
  1899. package/dist/src/utils/mcpValidation.js +2 -2
  1900. package/dist/src/utils/messages.js +191 -191
  1901. package/dist/src/utils/model/providerProfilesDb.js +489 -489
  1902. package/dist/src/utils/ndjsonSafeStringify.js +10 -0
  1903. package/dist/src/utils/permissions/permissionExplainer.js +6 -6
  1904. package/dist/src/utils/secureStorage/sqliteStorage.js +12 -12
  1905. package/dist/src/utils/sessionTitle.js +12 -12
  1906. package/dist/src/utils/sideQuestion.js +17 -17
  1907. package/dist/src/utils/swarm/backends/registry.js +9 -9
  1908. package/dist/src/utils/task/framework.js +6 -6
  1909. package/dist/src/utils/teleport.js +15 -15
  1910. package/docs/Contex.md +20 -20
  1911. package/docs/PHASE_3_VALIDATION.md +2 -2
  1912. package/docs/PUBLISH.md +199 -0
  1913. package/package.json +3 -5
@@ -115,158 +115,158 @@ function buildPrompt(opts) {
115
115
  : BASE_QUESTION;
116
116
  const firstStep = userArgs
117
117
  ? `The user has already told you what they want (see User Request at the bottom). Skip the initial question and go directly to the matching workflow.`
118
- : `Your FIRST action must be a single ${ASK_USER_QUESTION_TOOL_NAME} tool call (no preamble). Use this EXACT string for the \`question\` field — do not paraphrase or shorten it:
119
-
120
- ${jsonStringify(initialQuestion)}
121
-
118
+ : `Your FIRST action must be a single ${ASK_USER_QUESTION_TOOL_NAME} tool call (no preamble). Use this EXACT string for the \`question\` field — do not paraphrase or shorten it:
119
+
120
+ ${jsonStringify(initialQuestion)}
121
+
122
122
  Set \`header: "Action"\` and offer the four actions (create/list/update/run) as options. After the user picks, follow the matching workflow below.`;
123
- return `# Schedule Remote Agents
124
-
125
- You are helping the user schedule, update, list, or run **remote** Context Code agents. These are NOT local cron jobs — each trigger spawns a fully isolated remote session (CCR) in Anthropic's cloud infrastructure on a cron schedule. The agent runs in a sandboxed environment with its own git checkout, tools, and optional MCP connections.
126
-
127
- ## First Step
128
-
129
- ${firstStep}
130
- ${setupNotesSection}
131
-
132
- ## What You Can Do
133
-
134
- Use the \`${REMOTE_TRIGGER_TOOL_NAME}\` tool (load it first with \`ToolSearch select:${REMOTE_TRIGGER_TOOL_NAME}\`; auth is handled in-process — do not use curl):
135
-
136
- - \`{action: "list"}\` — list all triggers
137
- - \`{action: "get", trigger_id: "..."}\` — fetch one trigger
138
- - \`{action: "create", body: {...}}\` — create a trigger
139
- - \`{action: "update", trigger_id: "...", body: {...}}\` — partial update
140
- - \`{action: "run", trigger_id: "..."}\` — run a trigger now
141
-
142
- You CANNOT delete triggers. If the user asks to delete, direct them to: https://claude.ai/code/scheduled
143
-
144
- ## Create body shape
145
-
146
- \`\`\`json
147
- {
148
- "name": "AGENT_NAME",
149
- "cron_expression": "CRON_EXPR",
150
- "enabled": true,
151
- "job_config": {
152
- "ccr": {
153
- "environment_id": "ENVIRONMENT_ID",
154
- "session_context": {
155
- "model": "claude-sonnet-4-6",
156
- "sources": [
157
- {"git_repository": {"url": "${gitRepoUrl || 'https://github.com/ORG/REPO'}"}}
158
- ],
159
- "allowed_tools": ["Bash", "Read", "Write", "Edit", "Glob", "Grep"]
160
- },
161
- "events": [
162
- {"data": {
163
- "uuid": "<lowercase v4 uuid>",
164
- "session_id": "",
165
- "type": "user",
166
- "parent_tool_use_id": null,
167
- "message": {"content": "PROMPT_HERE", "role": "user"}
168
- }}
169
- ]
170
- }
171
- }
172
- }
173
- \`\`\`
174
-
175
- Generate a fresh lowercase UUID for \`events[].data.uuid\` yourself.
176
-
177
- ## Available MCP Connectors
178
-
179
- These are the user's currently connected claude.ai MCP connectors:
180
-
181
- ${connectorsInfo}
182
-
183
- When attaching connectors to a trigger, use the \`connector_uuid\` and \`name\` shown above (the name is already sanitized to only contain letters, numbers, hyphens, and underscores), and the connector's URL. The \`name\` field in \`mcp_connections\` must only contain \`[a-zA-Z0-9_-]\` — dots and spaces are NOT allowed.
184
-
185
- **Important:** Infer what services the agent needs from the user's description. For example, if they say "check Datadog and Slack me errors," the agent needs both Datadog and Slack connectors. Cross-reference against the list above and warn if any required service isn't connected. If a needed connector is missing, direct the user to https://claude.ai/settings/connectors to connect it first.
186
-
187
- ## Environments
188
-
189
- Every trigger requires an \`environment_id\` in the job config. This determines where the remote agent runs. Ask the user which environment to use.
190
-
191
- ${environmentsInfo}
192
-
193
- Use the \`id\` value as the \`environment_id\` in \`job_config.ccr.environment_id\`.
194
- ${createdEnvironment ? `\n**Note:** A new environment \`${createdEnvironment.name}\` (id: \`${createdEnvironment.environment_id}\`) was just created for the user because they had none. Use this id for \`job_config.ccr.environment_id\` and mention the creation when you confirm the trigger config.\n` : ''}
195
-
196
- ## API Field Reference
197
-
198
- ### Create Trigger — Required Fields
199
- - \`name\` (string) — A descriptive name
200
- - \`cron_expression\` (string) — 5-field cron. **Minimum interval is 1 hour.**
201
- - \`job_config\` (object) — Session configuration (see structure above)
202
-
203
- ### Create Trigger — Optional Fields
204
- - \`enabled\` (boolean, default: true)
205
- - \`mcp_connections\` (array) — MCP servers to attach:
206
- \`\`\`json
207
- [{"connector_uuid": "uuid", "name": "server-name", "url": "https://..."}]
208
- \`\`\`
209
-
210
- ### Update Trigger — Optional Fields
211
- All fields optional (partial update):
212
- - \`name\`, \`cron_expression\`, \`enabled\`, \`job_config\`
213
- - \`mcp_connections\` — Replace MCP connections
214
- - \`clear_mcp_connections\` (boolean) — Remove all MCP connections
215
-
216
- ### Cron Expression Examples
217
-
218
- The user's local timezone is **${userTimezone}**. Cron expressions are always in UTC. When the user says a local time, convert it to UTC for the cron expression but confirm with them: "9am ${userTimezone} = Xam UTC, so the cron would be \`0 X * * 1-5\`."
219
-
220
- - \`0 9 * * 1-5\` — Every weekday at 9am **UTC**
221
- - \`0 */2 * * *\` — Every 2 hours
222
- - \`0 0 * * *\` — Daily at midnight **UTC**
223
- - \`30 14 * * 1\` — Every Monday at 2:30pm **UTC**
224
- - \`0 8 1 * *\` — First of every month at 8am **UTC**
225
-
226
- Minimum interval is 1 hour. \`*/30 * * * *\` will be rejected.
227
-
228
- ## Workflow
229
-
230
- ### CREATE a new trigger:
231
-
232
- 1. **Understand the goal** — Ask what they want the remote agent to do. What repo(s)? What task? Remind them that the agent runs remotely — it won't have access to their local machine, local files, or local environment variables.
233
- 2. **Craft the prompt** — Help them write an effective agent prompt. Good prompts are:
234
- - Specific about what to do and what success looks like
235
- - Clear about which files/areas to focus on
236
- - Explicit about what actions to take (open PRs, commit, just analyze, etc.)
237
- 3. **Set the schedule** — Ask when and how often. The user's timezone is ${userTimezone}. When they say a time (e.g., "every morning at 9am"), assume they mean their local time and convert to UTC for the cron expression. Always confirm the conversion: "9am ${userTimezone} = Xam UTC."
238
- 4. **Choose the model** — Default to \`claude-sonnet-4-6\`. Tell the user which model you're defaulting to and ask if they want a different one.
239
- 5. **Validate connections** — Infer what services the agent will need from the user's description. For example, if they say "check Datadog and Slack me errors," the agent needs both Datadog and Slack MCP connectors. Cross-reference with the connectors list above. If any are missing, warn the user and link them to https://claude.ai/settings/connectors to connect first.${gitRepoUrl ? ` The default git repo is already set to \`${gitRepoUrl}\`. Ask the user if this is the right repo or if they need a different one.` : ' Ask which git repos the remote agent needs cloned into its environment.'}
240
- 6. **Review and confirm** — Show the full configuration before creating. Let them adjust.
241
- 7. **Create it** \u2014 Call \`${REMOTE_TRIGGER_TOOL_NAME}\` with \`action: "create"\` and show the result. The response includes the trigger ID. Always output a link at the end: \`https://claude.ai/code/scheduled/{TRIGGER_ID}\`
242
-
243
- ### UPDATE a trigger:
244
-
245
- 1. List triggers first so they can pick one
246
- 2. Ask what they want to change
247
- 3. Show current vs proposed value
248
- 4. Confirm and update
249
-
250
- ### LIST triggers:
251
-
252
- 1. Fetch and display in a readable format
253
- 2. Show: name, schedule (human-readable), enabled/disabled, next run, repo(s)
254
-
255
- ### RUN NOW:
256
-
257
- 1. List triggers if they haven't specified which one
258
- 2. Confirm which trigger
259
- 3. Execute and confirm
260
-
261
- ## Important Notes
262
-
263
- - These are REMOTE agents — they run in Anthropic's cloud, not on the user's machine. They cannot access local files, local services, or local environment variables.
264
- - Always convert cron to human-readable when displaying
265
- - Default to \`enabled: true\` unless user says otherwise
266
- - Accept GitHub URLs in any format (https://github.com/org/repo, org/repo, etc.) and normalize to the full HTTPS URL (without .git suffix)
267
- - The prompt is the most important part — spend time getting it right. The remote agent starts with zero context, so the prompt must be self-contained.
268
- - To delete a trigger, direct users to https://claude.ai/code/scheduled
269
- ${needsGitHubAccessReminder ? `- If the user's request seems to require GitHub repo access (e.g. cloning a repo, opening PRs, reading code), remind them that ${getFeatureValue_CACHED_MAY_BE_STALE('tengu_cobalt_lantern', false) ? "they should run /web-setup to connect their GitHub account (or install the Claude GitHub App on the repo as an alternative) — otherwise the remote agent won't be able to access it" : "they need the Claude GitHub App installed on the repo — otherwise the remote agent won't be able to access it"}.` : ''}
123
+ return `# Schedule Remote Agents
124
+
125
+ You are helping the user schedule, update, list, or run **remote** Context Code agents. These are NOT local cron jobs — each trigger spawns a fully isolated remote session (CCR) in Anthropic's cloud infrastructure on a cron schedule. The agent runs in a sandboxed environment with its own git checkout, tools, and optional MCP connections.
126
+
127
+ ## First Step
128
+
129
+ ${firstStep}
130
+ ${setupNotesSection}
131
+
132
+ ## What You Can Do
133
+
134
+ Use the \`${REMOTE_TRIGGER_TOOL_NAME}\` tool (load it first with \`ToolSearch select:${REMOTE_TRIGGER_TOOL_NAME}\`; auth is handled in-process — do not use curl):
135
+
136
+ - \`{action: "list"}\` — list all triggers
137
+ - \`{action: "get", trigger_id: "..."}\` — fetch one trigger
138
+ - \`{action: "create", body: {...}}\` — create a trigger
139
+ - \`{action: "update", trigger_id: "...", body: {...}}\` — partial update
140
+ - \`{action: "run", trigger_id: "..."}\` — run a trigger now
141
+
142
+ You CANNOT delete triggers. If the user asks to delete, direct them to: https://claude.ai/code/scheduled
143
+
144
+ ## Create body shape
145
+
146
+ \`\`\`json
147
+ {
148
+ "name": "AGENT_NAME",
149
+ "cron_expression": "CRON_EXPR",
150
+ "enabled": true,
151
+ "job_config": {
152
+ "ccr": {
153
+ "environment_id": "ENVIRONMENT_ID",
154
+ "session_context": {
155
+ "model": "claude-sonnet-4-6",
156
+ "sources": [
157
+ {"git_repository": {"url": "${gitRepoUrl || 'https://github.com/ORG/REPO'}"}}
158
+ ],
159
+ "allowed_tools": ["Bash", "Read", "Write", "Edit", "Glob", "Grep"]
160
+ },
161
+ "events": [
162
+ {"data": {
163
+ "uuid": "<lowercase v4 uuid>",
164
+ "session_id": "",
165
+ "type": "user",
166
+ "parent_tool_use_id": null,
167
+ "message": {"content": "PROMPT_HERE", "role": "user"}
168
+ }}
169
+ ]
170
+ }
171
+ }
172
+ }
173
+ \`\`\`
174
+
175
+ Generate a fresh lowercase UUID for \`events[].data.uuid\` yourself.
176
+
177
+ ## Available MCP Connectors
178
+
179
+ These are the user's currently connected claude.ai MCP connectors:
180
+
181
+ ${connectorsInfo}
182
+
183
+ When attaching connectors to a trigger, use the \`connector_uuid\` and \`name\` shown above (the name is already sanitized to only contain letters, numbers, hyphens, and underscores), and the connector's URL. The \`name\` field in \`mcp_connections\` must only contain \`[a-zA-Z0-9_-]\` — dots and spaces are NOT allowed.
184
+
185
+ **Important:** Infer what services the agent needs from the user's description. For example, if they say "check Datadog and Slack me errors," the agent needs both Datadog and Slack connectors. Cross-reference against the list above and warn if any required service isn't connected. If a needed connector is missing, direct the user to https://claude.ai/settings/connectors to connect it first.
186
+
187
+ ## Environments
188
+
189
+ Every trigger requires an \`environment_id\` in the job config. This determines where the remote agent runs. Ask the user which environment to use.
190
+
191
+ ${environmentsInfo}
192
+
193
+ Use the \`id\` value as the \`environment_id\` in \`job_config.ccr.environment_id\`.
194
+ ${createdEnvironment ? `\n**Note:** A new environment \`${createdEnvironment.name}\` (id: \`${createdEnvironment.environment_id}\`) was just created for the user because they had none. Use this id for \`job_config.ccr.environment_id\` and mention the creation when you confirm the trigger config.\n` : ''}
195
+
196
+ ## API Field Reference
197
+
198
+ ### Create Trigger — Required Fields
199
+ - \`name\` (string) — A descriptive name
200
+ - \`cron_expression\` (string) — 5-field cron. **Minimum interval is 1 hour.**
201
+ - \`job_config\` (object) — Session configuration (see structure above)
202
+
203
+ ### Create Trigger — Optional Fields
204
+ - \`enabled\` (boolean, default: true)
205
+ - \`mcp_connections\` (array) — MCP servers to attach:
206
+ \`\`\`json
207
+ [{"connector_uuid": "uuid", "name": "server-name", "url": "https://..."}]
208
+ \`\`\`
209
+
210
+ ### Update Trigger — Optional Fields
211
+ All fields optional (partial update):
212
+ - \`name\`, \`cron_expression\`, \`enabled\`, \`job_config\`
213
+ - \`mcp_connections\` — Replace MCP connections
214
+ - \`clear_mcp_connections\` (boolean) — Remove all MCP connections
215
+
216
+ ### Cron Expression Examples
217
+
218
+ The user's local timezone is **${userTimezone}**. Cron expressions are always in UTC. When the user says a local time, convert it to UTC for the cron expression but confirm with them: "9am ${userTimezone} = Xam UTC, so the cron would be \`0 X * * 1-5\`."
219
+
220
+ - \`0 9 * * 1-5\` — Every weekday at 9am **UTC**
221
+ - \`0 */2 * * *\` — Every 2 hours
222
+ - \`0 0 * * *\` — Daily at midnight **UTC**
223
+ - \`30 14 * * 1\` — Every Monday at 2:30pm **UTC**
224
+ - \`0 8 1 * *\` — First of every month at 8am **UTC**
225
+
226
+ Minimum interval is 1 hour. \`*/30 * * * *\` will be rejected.
227
+
228
+ ## Workflow
229
+
230
+ ### CREATE a new trigger:
231
+
232
+ 1. **Understand the goal** — Ask what they want the remote agent to do. What repo(s)? What task? Remind them that the agent runs remotely — it won't have access to their local machine, local files, or local environment variables.
233
+ 2. **Craft the prompt** — Help them write an effective agent prompt. Good prompts are:
234
+ - Specific about what to do and what success looks like
235
+ - Clear about which files/areas to focus on
236
+ - Explicit about what actions to take (open PRs, commit, just analyze, etc.)
237
+ 3. **Set the schedule** — Ask when and how often. The user's timezone is ${userTimezone}. When they say a time (e.g., "every morning at 9am"), assume they mean their local time and convert to UTC for the cron expression. Always confirm the conversion: "9am ${userTimezone} = Xam UTC."
238
+ 4. **Choose the model** — Default to \`claude-sonnet-4-6\`. Tell the user which model you're defaulting to and ask if they want a different one.
239
+ 5. **Validate connections** — Infer what services the agent will need from the user's description. For example, if they say "check Datadog and Slack me errors," the agent needs both Datadog and Slack MCP connectors. Cross-reference with the connectors list above. If any are missing, warn the user and link them to https://claude.ai/settings/connectors to connect first.${gitRepoUrl ? ` The default git repo is already set to \`${gitRepoUrl}\`. Ask the user if this is the right repo or if they need a different one.` : ' Ask which git repos the remote agent needs cloned into its environment.'}
240
+ 6. **Review and confirm** — Show the full configuration before creating. Let them adjust.
241
+ 7. **Create it** \u2014 Call \`${REMOTE_TRIGGER_TOOL_NAME}\` with \`action: "create"\` and show the result. The response includes the trigger ID. Always output a link at the end: \`https://claude.ai/code/scheduled/{TRIGGER_ID}\`
242
+
243
+ ### UPDATE a trigger:
244
+
245
+ 1. List triggers first so they can pick one
246
+ 2. Ask what they want to change
247
+ 3. Show current vs proposed value
248
+ 4. Confirm and update
249
+
250
+ ### LIST triggers:
251
+
252
+ 1. Fetch and display in a readable format
253
+ 2. Show: name, schedule (human-readable), enabled/disabled, next run, repo(s)
254
+
255
+ ### RUN NOW:
256
+
257
+ 1. List triggers if they haven't specified which one
258
+ 2. Confirm which trigger
259
+ 3. Execute and confirm
260
+
261
+ ## Important Notes
262
+
263
+ - These are REMOTE agents — they run in Anthropic's cloud, not on the user's machine. They cannot access local files, local services, or local environment variables.
264
+ - Always convert cron to human-readable when displaying
265
+ - Default to \`enabled: true\` unless user says otherwise
266
+ - Accept GitHub URLs in any format (https://github.com/org/repo, org/repo, etc.) and normalize to the full HTTPS URL (without .git suffix)
267
+ - The prompt is the most important part — spend time getting it right. The remote agent starts with zero context, so the prompt must be self-contained.
268
+ - To delete a trigger, direct users to https://claude.ai/code/scheduled
269
+ ${needsGitHubAccessReminder ? `- If the user's request seems to require GitHub repo access (e.g. cloning a repo, opening PRs, reading code), remind them that ${getFeatureValue_CACHED_MAY_BE_STALE('tengu_cobalt_lantern', false) ? "they should run /web-setup to connect their GitHub account (or install the Claude GitHub App on the repo as an alternative) — otherwise the remote agent won't be able to access it" : "they need the Claude GitHub App installed on the repo — otherwise the remote agent won't be able to access it"}.` : ''}
270
270
  ${userArgs ? `\n## User Request\n\nThe user said: "${userArgs}"\n\nStart by understanding their intent and working through the appropriate workflow above.` : ''}`;
271
271
  }
272
272
  export function registerScheduleRemoteAgentsSkill() {
@@ -15,140 +15,140 @@ function extractUserMessages(messages) {
15
15
  })
16
16
  .filter(text => text.trim().length > 0);
17
17
  }
18
- const SKILLIFY_PROMPT = `# Skillify {{userDescriptionBlock}}
19
-
20
- You are capturing this session's repeatable process as a reusable skill.
21
-
22
- ## Your Session Context
23
-
24
- Here is the session memory summary:
25
- <session_memory>
26
- {{sessionMemory}}
27
- </session_memory>
28
-
29
- Here are the user's messages during this session. Pay attention to how they steered the process, to help capture their detailed preferences in the skill:
30
- <user_messages>
31
- {{userMessages}}
32
- </user_messages>
33
-
34
- ## Your Task
35
-
36
- ### Step 1: Analyze the Session
37
-
38
- Before asking any questions, analyze the session to identify:
39
- - What repeatable process was performed
40
- - What the inputs/parameters were
41
- - The distinct steps (in order)
42
- - The success artifacts/criteria (e.g. not just "writing code," but "an open PR with CI fully passing") for each step
43
- - Where the user corrected or steered you
44
- - What tools and permissions were needed
45
- - What agents were used
46
- - What the goals and success artifacts were
47
-
48
- ### Step 2: Interview the User
49
-
50
- You will use the AskUserQuestion to understand what the user wants to automate. Important notes:
51
- - Use AskUserQuestion for ALL questions! Never ask questions via plain text.
52
- - For each round, iterate as much as needed until the user is happy.
53
- - The user always has a freeform "Other" option to type edits or feedback -- do NOT add your own "Needs tweaking" or "I'll provide edits" option. Just offer the substantive choices.
54
-
55
- **Round 1: High level confirmation**
56
- - Suggest a name and description for the skill based on your analysis. Ask the user to confirm or rename.
57
- - Suggest high-level goal(s) and specific success criteria for the skill.
58
-
59
- **Round 2: More details**
60
- - Present the high-level steps you identified as a numbered list. Tell the user you will dig into the detail in the next round.
61
- - If you think the skill will require arguments, suggest arguments based on what you observed. Make sure you understand what someone would need to provide.
62
- - If it's not clear, ask if this skill should run inline (in the current conversation) or forked (as a sub-agent with its own context). Forked is better for self-contained tasks that don't need mid-process user input; inline is better when the user wants to steer mid-process.
63
- - Ask where the skill should be saved. Suggest a default based on context (repo-specific workflows → repo, cross-repo personal workflows → user). Options:
64
- - **This repo** (\`.context/skills/<name>/SKILL.md\`) — for workflows specific to this project
65
- - **Personal** (\`~/.context/skills/<name>/SKILL.md\`) — follows you across all repos
66
-
67
- **Round 3: Breaking down each step**
68
- For each major step, if it's not glaringly obvious, ask:
69
- - What does this step produce that later steps need? (data, artifacts, IDs)
70
- - What proves that this step succeeded, and that we can move on?
71
- - Should the user be asked to confirm before proceeding? (especially for irreversible actions like merging, sending messages, or destructive operations)
72
- - Are any steps independent and could run in parallel? (e.g., posting to Slack and monitoring CI at the same time)
73
- - How should the skill be executed? (e.g. always use a Task agent to conduct code review, or invoke an agent team for a set of concurrent steps)
74
- - What are the hard constraints or hard preferences? Things that must or must not happen?
75
-
76
- You may do multiple rounds of AskUserQuestion here, one round per step, especially if there are more than 3 steps or many clarification questions. Iterate as much as needed.
77
-
78
- IMPORTANT: Pay special attention to places where the user corrected you during the session, to help inform your design.
79
-
80
- **Round 4: Final questions**
81
- - Confirm when this skill should be invoked, and suggest/confirm trigger phrases too. (e.g. For a cherrypick workflow you could say: Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix.')
82
- - You can also ask for any other gotchas or things to watch out for, if it's still unclear.
83
-
84
- Stop interviewing once you have enough information. IMPORTANT: Don't over-ask for simple processes!
85
-
86
- ### Step 3: Write the SKILL.md
87
-
88
- Create the skill directory and file at the location the user chose in Round 2.
89
-
90
- Use this format:
91
-
92
- \`\`\`markdown
93
- ---
94
- name: {{skill-name}}
95
- description: {{one-line description}}
96
- allowed-tools:
97
- {{list of tool permission patterns observed during session}}
98
- when_to_use: {{detailed description of when Claude should automatically invoke this skill, including trigger phrases and example user messages}}
99
- argument-hint: "{{hint showing argument placeholders}}"
100
- arguments:
101
- {{list of argument names}}
102
- context: {{inline or fork -- omit for inline}}
103
- ---
104
-
105
- # {{Skill Title}}
106
- Description of skill
107
-
108
- ## Inputs
109
- - \`$arg_name\`: Description of this input
110
-
111
- ## Goal
112
- Clearly stated goal for this workflow. Best if you have clearly defined artifacts or criteria for completion.
113
-
114
- ## Steps
115
-
116
- ### 1. Step Name
117
- What to do in this step. Be specific and actionable. Include commands when appropriate.
118
-
119
- **Success criteria**: ALWAYS include this! This shows that the step is done and we can move on. Can be a list.
120
-
121
- IMPORTANT: see the next section below for the per-step annotations you can optionally include for each step.
122
-
123
- ...
124
- \`\`\`
125
-
126
- **Per-step annotations**:
127
- - **Success criteria** is REQUIRED on every step. This helps the model understand what the user expects from their workflow, and when it should have the confidence to move on.
128
- - **Execution**: \`Direct\` (default), \`Task agent\` (straightforward subagents), \`Teammate\` (agent with true parallelism and inter-agent communication), or \`[human]\` (user does it). Only needs specifying if not Direct.
129
- - **Artifacts**: Data this step produces that later steps need (e.g., PR number, commit SHA). Only include if later steps depend on it.
130
- - **Human checkpoint**: When to pause and ask the user before proceeding. Include for irreversible actions (merging, sending messages), error judgment (merge conflicts), or output review.
131
- - **Rules**: Hard rules for the workflow. User corrections during the reference session can be especially useful here.
132
-
133
- **Step structure tips:**
134
- - Steps that can run concurrently use sub-numbers: 3a, 3b
135
- - Steps requiring the user to act get \`[human]\` in the title
136
- - Keep simple skills simple -- a 2-step skill doesn't need annotations on every step
137
-
138
- **Frontmatter rules:**
139
- - \`allowed-tools\`: Minimum permissions needed (use patterns like \`Bash(gh:*)\` not \`Bash\`)
140
- - \`context\`: Only set \`context: fork\` for self-contained skills that don't need mid-process user input.
141
- - \`when_to_use\` is CRITICAL -- tells the model when to auto-invoke. Start with "Use when..." and include trigger phrases. Example: "Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix'."
142
- - \`arguments\` and \`argument-hint\`: Only include if the skill takes parameters. Use \`$name\` in the body for substitution.
143
-
144
- ### Step 4: Confirm and Save
145
-
146
- Before writing the file, output the complete SKILL.md content as a yaml code block in your response so the user can review it with proper syntax highlighting. Then ask for confirmation using AskUserQuestion with a simple question like "Does this SKILL.md look good to save?" — do NOT use the body field, keep the question concise.
147
-
148
- After writing, tell the user:
149
- - Where the skill was saved
150
- - How to invoke it: \`/{{skill-name}} [arguments]\`
151
- - That they can edit the SKILL.md directly to refine it
18
+ const SKILLIFY_PROMPT = `# Skillify {{userDescriptionBlock}}
19
+
20
+ You are capturing this session's repeatable process as a reusable skill.
21
+
22
+ ## Your Session Context
23
+
24
+ Here is the session memory summary:
25
+ <session_memory>
26
+ {{sessionMemory}}
27
+ </session_memory>
28
+
29
+ Here are the user's messages during this session. Pay attention to how they steered the process, to help capture their detailed preferences in the skill:
30
+ <user_messages>
31
+ {{userMessages}}
32
+ </user_messages>
33
+
34
+ ## Your Task
35
+
36
+ ### Step 1: Analyze the Session
37
+
38
+ Before asking any questions, analyze the session to identify:
39
+ - What repeatable process was performed
40
+ - What the inputs/parameters were
41
+ - The distinct steps (in order)
42
+ - The success artifacts/criteria (e.g. not just "writing code," but "an open PR with CI fully passing") for each step
43
+ - Where the user corrected or steered you
44
+ - What tools and permissions were needed
45
+ - What agents were used
46
+ - What the goals and success artifacts were
47
+
48
+ ### Step 2: Interview the User
49
+
50
+ You will use the AskUserQuestion to understand what the user wants to automate. Important notes:
51
+ - Use AskUserQuestion for ALL questions! Never ask questions via plain text.
52
+ - For each round, iterate as much as needed until the user is happy.
53
+ - The user always has a freeform "Other" option to type edits or feedback -- do NOT add your own "Needs tweaking" or "I'll provide edits" option. Just offer the substantive choices.
54
+
55
+ **Round 1: High level confirmation**
56
+ - Suggest a name and description for the skill based on your analysis. Ask the user to confirm or rename.
57
+ - Suggest high-level goal(s) and specific success criteria for the skill.
58
+
59
+ **Round 2: More details**
60
+ - Present the high-level steps you identified as a numbered list. Tell the user you will dig into the detail in the next round.
61
+ - If you think the skill will require arguments, suggest arguments based on what you observed. Make sure you understand what someone would need to provide.
62
+ - If it's not clear, ask if this skill should run inline (in the current conversation) or forked (as a sub-agent with its own context). Forked is better for self-contained tasks that don't need mid-process user input; inline is better when the user wants to steer mid-process.
63
+ - Ask where the skill should be saved. Suggest a default based on context (repo-specific workflows → repo, cross-repo personal workflows → user). Options:
64
+ - **This repo** (\`.context/skills/<name>/SKILL.md\`) — for workflows specific to this project
65
+ - **Personal** (\`~/.context/skills/<name>/SKILL.md\`) — follows you across all repos
66
+
67
+ **Round 3: Breaking down each step**
68
+ For each major step, if it's not glaringly obvious, ask:
69
+ - What does this step produce that later steps need? (data, artifacts, IDs)
70
+ - What proves that this step succeeded, and that we can move on?
71
+ - Should the user be asked to confirm before proceeding? (especially for irreversible actions like merging, sending messages, or destructive operations)
72
+ - Are any steps independent and could run in parallel? (e.g., posting to Slack and monitoring CI at the same time)
73
+ - How should the skill be executed? (e.g. always use a Task agent to conduct code review, or invoke an agent team for a set of concurrent steps)
74
+ - What are the hard constraints or hard preferences? Things that must or must not happen?
75
+
76
+ You may do multiple rounds of AskUserQuestion here, one round per step, especially if there are more than 3 steps or many clarification questions. Iterate as much as needed.
77
+
78
+ IMPORTANT: Pay special attention to places where the user corrected you during the session, to help inform your design.
79
+
80
+ **Round 4: Final questions**
81
+ - Confirm when this skill should be invoked, and suggest/confirm trigger phrases too. (e.g. For a cherrypick workflow you could say: Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix.')
82
+ - You can also ask for any other gotchas or things to watch out for, if it's still unclear.
83
+
84
+ Stop interviewing once you have enough information. IMPORTANT: Don't over-ask for simple processes!
85
+
86
+ ### Step 3: Write the SKILL.md
87
+
88
+ Create the skill directory and file at the location the user chose in Round 2.
89
+
90
+ Use this format:
91
+
92
+ \`\`\`markdown
93
+ ---
94
+ name: {{skill-name}}
95
+ description: {{one-line description}}
96
+ allowed-tools:
97
+ {{list of tool permission patterns observed during session}}
98
+ when_to_use: {{detailed description of when Claude should automatically invoke this skill, including trigger phrases and example user messages}}
99
+ argument-hint: "{{hint showing argument placeholders}}"
100
+ arguments:
101
+ {{list of argument names}}
102
+ context: {{inline or fork -- omit for inline}}
103
+ ---
104
+
105
+ # {{Skill Title}}
106
+ Description of skill
107
+
108
+ ## Inputs
109
+ - \`$arg_name\`: Description of this input
110
+
111
+ ## Goal
112
+ Clearly stated goal for this workflow. Best if you have clearly defined artifacts or criteria for completion.
113
+
114
+ ## Steps
115
+
116
+ ### 1. Step Name
117
+ What to do in this step. Be specific and actionable. Include commands when appropriate.
118
+
119
+ **Success criteria**: ALWAYS include this! This shows that the step is done and we can move on. Can be a list.
120
+
121
+ IMPORTANT: see the next section below for the per-step annotations you can optionally include for each step.
122
+
123
+ ...
124
+ \`\`\`
125
+
126
+ **Per-step annotations**:
127
+ - **Success criteria** is REQUIRED on every step. This helps the model understand what the user expects from their workflow, and when it should have the confidence to move on.
128
+ - **Execution**: \`Direct\` (default), \`Task agent\` (straightforward subagents), \`Teammate\` (agent with true parallelism and inter-agent communication), or \`[human]\` (user does it). Only needs specifying if not Direct.
129
+ - **Artifacts**: Data this step produces that later steps need (e.g., PR number, commit SHA). Only include if later steps depend on it.
130
+ - **Human checkpoint**: When to pause and ask the user before proceeding. Include for irreversible actions (merging, sending messages), error judgment (merge conflicts), or output review.
131
+ - **Rules**: Hard rules for the workflow. User corrections during the reference session can be especially useful here.
132
+
133
+ **Step structure tips:**
134
+ - Steps that can run concurrently use sub-numbers: 3a, 3b
135
+ - Steps requiring the user to act get \`[human]\` in the title
136
+ - Keep simple skills simple -- a 2-step skill doesn't need annotations on every step
137
+
138
+ **Frontmatter rules:**
139
+ - \`allowed-tools\`: Minimum permissions needed (use patterns like \`Bash(gh:*)\` not \`Bash\`)
140
+ - \`context\`: Only set \`context: fork\` for self-contained skills that don't need mid-process user input.
141
+ - \`when_to_use\` is CRITICAL -- tells the model when to auto-invoke. Start with "Use when..." and include trigger phrases. Example: "Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix'."
142
+ - \`arguments\` and \`argument-hint\`: Only include if the skill takes parameters. Use \`$name\` in the body for substitution.
143
+
144
+ ### Step 4: Confirm and Save
145
+
146
+ Before writing the file, output the complete SKILL.md content as a yaml code block in your response so the user can review it with proper syntax highlighting. Then ask for confirmation using AskUserQuestion with a simple question like "Does this SKILL.md look good to save?" — do NOT use the body field, keep the question concise.
147
+
148
+ After writing, tell the user:
149
+ - Where the skill was saved
150
+ - How to invoke it: \`/{{skill-name}} [arguments]\`
151
+ - That they can edit the SKILL.md directly to refine it
152
152
  `;
153
153
  export function registerSkillifySkill() {
154
154
  if (process.env.USER_TYPE !== 'ant') {