claude-code-best 2.6.12 → 2.7.0

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 (814) hide show
  1. package/dist/chunks/AddWorkspaceDirectory-BqR8LhJq.js +1 -0
  2. package/dist/chunks/App-DkBMWXkK.js +1 -0
  3. package/dist/chunks/ApproveApiKey-5xd0lUV7.js +1 -0
  4. package/dist/chunks/ApproveApiKey-Dmr2VaVA.js +1 -0
  5. package/dist/chunks/AssistantSessionChooser-C7rigDkQ.js +1 -0
  6. package/dist/chunks/BackgroundTasksDialog-RtEwbumC.js +2 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-7s3ULbNF.js +1 -0
  8. package/dist/chunks/ClaudeInChromeOnboarding-Bjv-sERa.js +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-BTysDIlI.js +1 -0
  10. package/dist/chunks/ClaudeMdExternalIncludesDialog-DosNL91g.js +1 -0
  11. package/dist/chunks/ConsoleOAuthFlow-Cc1yaM-M.js +1 -0
  12. package/dist/chunks/DesktopHandoff-Cy89ZB_9.js +1 -0
  13. package/dist/chunks/DevChannelsDialog-ws8prcNK.js +1 -0
  14. package/dist/chunks/DiffDialog-BhqgxA7o.js +3 -0
  15. package/dist/chunks/Doctor-BWouB_9X.js +1 -0
  16. package/dist/chunks/Doctor-Ts5k8hn1.js +3 -0
  17. package/dist/chunks/ExitFlow-BBoImtT_.js +2 -0
  18. package/dist/chunks/Feedback-BVbSMBwY.js +2 -0
  19. package/dist/chunks/Grove-CTQrX7WO.js +1 -0
  20. package/dist/chunks/Grove-ZMHK4CBZ.js +11 -0
  21. package/dist/chunks/HybridTransport-B9g074Y1.js +4 -0
  22. package/dist/chunks/ITermBackend-DaFK8DOH.js +1 -0
  23. package/dist/chunks/InvalidConfigDialog-BkZkVKB4.js +1 -0
  24. package/dist/chunks/InvalidSettingsDialog-Lr60eQWj.js +1 -0
  25. package/dist/chunks/MCPConnectionManager-DmJ6dLOp.js +1 -0
  26. package/dist/chunks/McpParsingWarnings-CE2pQPXV.js +1 -0
  27. package/dist/chunks/MessageSelector-BT1FDbwv.js +3 -0
  28. package/dist/chunks/Messages-DT2gDtrJ.js +11 -0
  29. package/dist/chunks/Onboarding-DsqnXQel.js +1 -0
  30. package/dist/chunks/OverageCreditUpsell-UWtCrOmN.js +1 -0
  31. package/dist/chunks/PluginSettings-OJQz3d5V.js +17 -0
  32. package/dist/chunks/PromptInputFooterSuggestions-BImBB6Yk.js +1 -0
  33. package/dist/chunks/PromptInputHelpMenu-CblAb9vk.js +1 -0
  34. package/dist/chunks/QueryEngine-_re1pGHr.js +1 -0
  35. package/dist/chunks/REPL-eBTeslsR.js +147 -0
  36. package/dist/chunks/REPL-wIg0cBqS.js +1 -0
  37. package/dist/chunks/RemoteCallout-DMQai8_P.js +1 -0
  38. package/dist/chunks/RemoteSessionManager-DQmsHvj_.js +2 -0
  39. package/dist/chunks/ResumeConversation-D81hDeTl.js +1 -0
  40. package/dist/chunks/SSETransport-BbeM6bi9.js +4 -0
  41. package/dist/chunks/SearchExtraToolsTool-QbJQCWXd.js +1 -0
  42. package/dist/chunks/SentryErrorBoundary-BQJXHbWh.js +2 -0
  43. package/dist/chunks/SentryErrorBoundary-Cnw74oVG.js +1 -0
  44. package/dist/chunks/Settings-DiXc-_IG.js +2 -0
  45. package/dist/chunks/TeleportProgress-B3oRJlWH.js +1 -0
  46. package/dist/chunks/TeleportRepoMismatchDialog-GPuEipFy.js +1 -0
  47. package/dist/chunks/TeleportResumeWrapper-CcDuR6o9.js +1 -0
  48. package/dist/chunks/ThemePicker-BjSRjA_L.js +1 -0
  49. package/dist/chunks/TmuxBackend-BE3zsPKE.js +9 -0
  50. package/dist/chunks/TrustDialog-B6Qg0xUr.js +1 -0
  51. package/dist/chunks/ValidationErrorsList-C5BoLiye.js +2 -0
  52. package/dist/chunks/WelcomeV2-BJAKZYz1.js +1 -0
  53. package/dist/chunks/WindowsTerminalBackend-BcwpxU2Q.js +2 -0
  54. package/dist/chunks/add-dir-OR7-VVcq.js +1 -0
  55. package/dist/chunks/agentDisplay-CMqTUh0A.js +1 -0
  56. package/dist/chunks/agents-DRtgUZ6t.js +103 -0
  57. package/dist/chunks/agents-EolUGDZB.js +2 -0
  58. package/dist/chunks/ant-Bgl31h7a.js +1 -0
  59. package/dist/chunks/api-BpQPVgif.js +1 -0
  60. package/dist/chunks/api-xFvB7WoB.js +1 -0
  61. package/dist/chunks/asciicast-CJObpRg9.js +1 -0
  62. package/dist/chunks/asciicast-Dr_Div_R.js +4 -0
  63. package/dist/chunks/assistant-CENsWvTb.js +1 -0
  64. package/dist/chunks/assistant-CHawoD04.js +1 -0
  65. package/dist/chunks/assistant-s7XNIA76.js +1 -0
  66. package/dist/chunks/auth-DX12yVM8.js +1 -0
  67. package/dist/chunks/auth-h6VL9BbC.js +1 -0
  68. package/dist/chunks/autoMode-BDzVqEPm.js +45 -0
  69. package/dist/chunks/autonomy-CeqOXzJl.js +19 -0
  70. package/dist/chunks/autonomy-D2YudQnH.js +1 -0
  71. package/dist/chunks/autonomyPanel-B0OQV4lv.js +1 -0
  72. package/dist/chunks/backgroundHousekeeping-CvHD981l.js +17 -0
  73. package/dist/chunks/backgroundHousekeeping-DMkk-QoZ.js +1 -0
  74. package/dist/chunks/banner-DNLUJFS_.js +2 -0
  75. package/dist/chunks/bg-D_H-uZDS.js +9 -0
  76. package/dist/chunks/bg-FtpmvQuT.js +1 -0
  77. package/dist/chunks/branch-D44HjlJp.js +3 -0
  78. package/dist/chunks/bridge-4sldfa8u.js +2 -0
  79. package/dist/chunks/bridgeConfig-BM7iHryd.js +1 -0
  80. package/dist/chunks/bridgeConfig-CcCNsSBX.js +1 -0
  81. package/dist/chunks/bridgeEnabled-CYddgTU1.js +1 -0
  82. package/dist/chunks/bridgeEnabled-DoT2l1Oj.js +1 -0
  83. package/dist/chunks/bridgeMain-DaO51duk.js +68 -0
  84. package/dist/chunks/bridgeMain-Dc4-ZK69.js +1 -0
  85. package/dist/chunks/bridgeMessaging-IlSWKGmC.js +1 -0
  86. package/dist/chunks/bridgePointer-fFD_tbSk.js +1 -0
  87. package/dist/chunks/browser-DwnUS505.js +1 -0
  88. package/dist/chunks/btw-CrdUyRUP.js +1 -0
  89. package/dist/chunks/buddy-Ci0hdCf9.js +3 -0
  90. package/dist/chunks/bypassPermissionsKillswitch-BWOlc_sK.js +1 -0
  91. package/dist/chunks/caches-BHRJHGlc.js +1 -0
  92. package/dist/chunks/caches-CitduRKp.js +3 -0
  93. package/dist/chunks/ccrClient-yNKhQYnf.js +1 -0
  94. package/dist/chunks/changeDetector-B1tCH9Pa.js +1 -0
  95. package/dist/chunks/channelNotification-D8NPg8I8.js +1 -0
  96. package/dist/chunks/channelNotification-oE3eipDZ.js +1 -0
  97. package/dist/chunks/chrome-CwAwCY0V.js +1 -0
  98. package/dist/chunks/chromeNativeHost-63xqELw-.js +1 -0
  99. package/dist/chunks/claudeDesktop-CX1AsJie.js +1 -0
  100. package/dist/chunks/cleanup-C0gyKaOb.js +1 -0
  101. package/dist/chunks/clear-B5D08sZ0.js +1 -0
  102. package/dist/chunks/cliLaunch-8aeIk2ts.js +1 -0
  103. package/dist/chunks/client-un1k_6md.js +1 -0
  104. package/dist/chunks/color-BtVvrSvq.js +1 -0
  105. package/dist/chunks/commands--qEK1j9j.js +1 -0
  106. package/dist/chunks/commitAttribution-AEb-sE-t.js +1 -0
  107. package/dist/chunks/commitAttribution-HP_CWP0X.js +2 -0
  108. package/dist/chunks/common-BBRP_KzA.js +1 -0
  109. package/dist/chunks/common-BD4Q7osK.js +1 -0
  110. package/dist/chunks/common-C56I-_O3.js +1 -0
  111. package/dist/chunks/compact-BNhxD2UA.js +3 -0
  112. package/dist/chunks/companion-BlhNrZiL.js +1 -0
  113. package/dist/chunks/completionCache-BHSsdkBs.js +1 -0
  114. package/dist/chunks/completionCache-Daqaxlf3.js +4 -0
  115. package/dist/chunks/computerUseLock-BoEK9xYv.js +1 -0
  116. package/dist/chunks/config-9z8716kz.js +1 -0
  117. package/dist/chunks/config-f8Cx16Z6.js +1 -0
  118. package/dist/chunks/context-BdOjhAmM.js +1 -0
  119. package/dist/chunks/context-noninteractive-CnaDbgvf.js +54 -0
  120. package/dist/chunks/context-noninteractive-DRM7gbFk.js +1 -0
  121. package/dist/chunks/conversation-B9pq-m4L.js +1 -0
  122. package/dist/chunks/conversation-DUxXVrGj.js +1 -0
  123. package/dist/chunks/copy-Cjl0-hg1.js +7 -0
  124. package/dist/chunks/createSSHSession-CYaHalxc.js +6 -0
  125. package/dist/chunks/createSession-DoR2K7ay.js +1 -0
  126. package/dist/chunks/createSession-VlSLvi7J.js +1 -0
  127. package/dist/chunks/cronJitterConfig-DjSd7nvj.js +6 -0
  128. package/dist/chunks/crossProjectResume-CDWr5DFl.js +40 -0
  129. package/dist/chunks/daemon-FAp0WyY6.js +2 -0
  130. package/dist/chunks/datadog-CahWdK03.js +1 -0
  131. package/dist/chunks/datadog-DPkKCR8M.js +1 -0
  132. package/dist/chunks/debug-DIYxb3SF.js +1 -0
  133. package/dist/chunks/debug-otxXY3j-.js +5 -0
  134. package/dist/chunks/debugUtils-CiEnbhiz.js +1 -0
  135. package/dist/chunks/desktop-y3mzgaWo.js +1 -0
  136. package/dist/chunks/detached-Brq3-vHi.js +5 -0
  137. package/dist/chunks/detectRepository-CSN3yxkq.js +1 -0
  138. package/dist/chunks/detectRepository-CbR0WgtE.js +1 -0
  139. package/dist/chunks/detection-BPPZCanO.js +1 -0
  140. package/dist/chunks/detection-DrdKrqbQ.js +1 -0
  141. package/dist/chunks/diff-hpp0dp6U.js +1 -0
  142. package/dist/chunks/directoryCompletion-DAc3u1K2.js +1 -0
  143. package/dist/chunks/doctor-B230p0R_.js +1 -0
  144. package/dist/chunks/earlyInput-vv9abU2L.js +1 -0
  145. package/dist/chunks/effort-D7i2v6vd.js +9 -0
  146. package/dist/chunks/entry-Du3gtq9o.js +14 -0
  147. package/dist/chunks/env-BH-OBzcA.js +1 -0
  148. package/dist/chunks/envLessBridgeConfig-CKD4eOEe.js +1 -0
  149. package/dist/chunks/envLessBridgeConfig-DI0ouryy.js +1 -0
  150. package/dist/chunks/escHotkey-DfdC44i7.js +259 -0
  151. package/dist/chunks/execFileNoThrow-B_aZH_GP.js +1 -0
  152. package/dist/chunks/execSyncWrapper-Bn7EJqtD.js +1 -0
  153. package/dist/chunks/executor-BJb5d6mo.js +1 -0
  154. package/dist/chunks/executor-Dmn3RTuI.js +1561 -0
  155. package/dist/chunks/exit-fntBGxEC.js +1 -0
  156. package/dist/chunks/export-Dy9M7FnZ.js +2 -0
  157. package/dist/chunks/exportRenderer-Ckv4v0ye.js +1 -0
  158. package/dist/chunks/extra-usage-DLEvlKzs.js +1 -0
  159. package/dist/chunks/extra-usage-core-3KkeQSve.js +1 -0
  160. package/dist/chunks/extra-usage-noninteractive-DUezD54f.js +1 -0
  161. package/dist/chunks/extra-usage-pU11YXHS.js +1 -0
  162. package/dist/chunks/extraUsage-B-l-oe-7.js +1 -0
  163. package/dist/chunks/extractMemories-CXarlmZp.js +1 -0
  164. package/dist/chunks/fast-BzfzSH7K.js +1 -0
  165. package/dist/chunks/fast-CbLu_WYL.js +1 -0
  166. package/dist/chunks/feedback-DiyZIbov.js +1 -0
  167. package/dist/chunks/firstPartyEventLogger-Dig8Mv7_.js +1 -0
  168. package/dist/chunks/flushGate-Ci3NHOV4.js +1 -0
  169. package/dist/chunks/gates-CtkQH6jy.js +1 -0
  170. package/dist/chunks/gates-xscCu8-N.js +1 -0
  171. package/dist/chunks/gemini-BCuY2aYj.js +1 -0
  172. package/dist/chunks/generateRecap-DA0SNyFR.js +1 -0
  173. package/dist/chunks/generateSessionName-BtQ4NGXP.js +1 -0
  174. package/dist/chunks/genericProcessUtils-D-78JZxz.js +23 -0
  175. package/dist/chunks/git-BZEgupMC.js +1 -0
  176. package/dist/chunks/git-DayFjsvj.js +6 -0
  177. package/dist/chunks/githubRepoPathMapping-C5RkiJWj.js +1 -0
  178. package/dist/chunks/goal-B6GHfd9J.js +3 -0
  179. package/dist/chunks/grok-DDM6xYuy.js +1 -0
  180. package/dist/chunks/growthbook-D-Po5Uxl.js +1 -0
  181. package/dist/chunks/heapdump-DHlUfpVV.js +5 -0
  182. package/dist/chunks/help-BulgC9m7.js +1 -0
  183. package/dist/chunks/hooks-D5AcFnD1.js +1 -0
  184. package/dist/chunks/hooks-jxIrev-X.js +79 -0
  185. package/dist/chunks/hostAdapter-BvraKy0o.js +1 -0
  186. package/dist/chunks/hostGuard-CWijeIyE.js +1 -0
  187. package/dist/chunks/ide-tx4qMFln.js +2 -0
  188. package/dist/chunks/inboundAttachments-C93Q7Dvt.js +1 -0
  189. package/dist/chunks/inboundAttachments-DxcFiX4f.js +1 -0
  190. package/dist/chunks/initReplBridge-BEldrf6f.js +1 -0
  191. package/dist/chunks/insights-HEsEDeCQ.js +822 -0
  192. package/dist/chunks/install-DRsM0bJO.js +1 -0
  193. package/dist/chunks/install-github-app-BVK5Z95c.js +147 -0
  194. package/dist/chunks/install-slack-app-DCw3O2J_.js +1 -0
  195. package/dist/chunks/instrumentation-DJ-R1s8C.js +12 -0
  196. package/dist/chunks/job-CUz_OGIq.js +2 -0
  197. package/dist/chunks/jwtUtils-DVyv2jab.js +1 -0
  198. package/dist/chunks/keybindings-Chr5nGBu.js +2 -0
  199. package/dist/chunks/lang-C7kJlPIh.js +1 -0
  200. package/dist/chunks/language-CQXwoDkI.js +1 -0
  201. package/dist/chunks/language-Lx3WlBN6.js +1 -0
  202. package/dist/chunks/launchAgentsPlatform-Fsslu42L.js +1 -0
  203. package/dist/chunks/launchAutofixPr-Cww8uS_5.js +18 -0
  204. package/dist/chunks/launchLocalMemory-BywmyvSJ.js +3 -0
  205. package/dist/chunks/launchLocalVault-BU3a5NV7.js +3 -0
  206. package/dist/chunks/launchMemoryStores-QUCODCJS.js +1 -0
  207. package/dist/chunks/launchOnboarding-BriZ0oIA.js +8 -0
  208. package/dist/chunks/launchSchedule-uLm7zt_B.js +1 -0
  209. package/dist/chunks/launchSkillStore-DMo2bV8X.js +1 -0
  210. package/dist/chunks/launchTeleport-DgQWSfXM.js +3 -0
  211. package/dist/chunks/launchVault-DfnBBFne.js +1 -0
  212. package/dist/chunks/loadAgentsDir-Br5fGLLI.js +4697 -0
  213. package/dist/chunks/loadAgentsDir-DDYPdQKP.js +1 -0
  214. package/dist/chunks/loadPluginHooks-C4soqr6g.js +1 -0
  215. package/dist/chunks/localSearch-CELyiWF6.js +1 -0
  216. package/dist/chunks/localSearch-DhZMcy5t.js +1 -0
  217. package/dist/chunks/log-DS97_rIr.js +1 -0
  218. package/dist/chunks/login-CvvIpkpq.js +1 -0
  219. package/dist/chunks/login-DjgITOAw.js +1 -0
  220. package/dist/chunks/logoV2Utils-BN_HrHSc.js +1 -0
  221. package/dist/chunks/logout-DOFJpZEJ.js +1 -0
  222. package/dist/chunks/magicDocs-2Zr7bYY_.js +57 -0
  223. package/dist/chunks/main-BafHJuKH.js +31 -0
  224. package/dist/chunks/main-D61CvHRy.js +1312 -0
  225. package/dist/chunks/mappers-BCiceNt3.js +1 -0
  226. package/dist/chunks/mcp-BV4m1Gbl.js +2 -0
  227. package/dist/chunks/mcp-CrAgAK9u.js +1 -0
  228. package/dist/chunks/mcp-DK4m73gO.js +6 -0
  229. package/dist/chunks/mcpServer-7zyXl9Wg.js +1 -0
  230. package/dist/chunks/mcpServer-sa9Z183j.js +1 -0
  231. package/dist/chunks/memoize-CPexXTP7.js +1 -0
  232. package/dist/chunks/memory-BrJPVgxn.js +1 -0
  233. package/dist/chunks/mode-Cr-NTlRa.js +2 -0
  234. package/dist/chunks/model-CCjuMV6k.js +1 -0
  235. package/dist/chunks/model-aJS_plgM.js +1 -0
  236. package/dist/chunks/onChangeAppState-C9EvI3EH.js +1 -0
  237. package/dist/chunks/openai-Cvb_-1A-.js +10 -0
  238. package/dist/chunks/overageCreditGrant-cGQilawd.js +1 -0
  239. package/dist/chunks/panel-DO_faHV-.js +1 -0
  240. package/dist/chunks/panelCall-DqZuxAf0.js +1 -0
  241. package/dist/chunks/parser-BXWr_mLL.js +1 -0
  242. package/dist/chunks/parser-DbKSpFRq.js +1 -0
  243. package/dist/chunks/passes-DsrceO14.js +1 -0
  244. package/dist/chunks/path-nCzt96pE.js +1 -0
  245. package/dist/chunks/paths-DfGsIjPm.js +39 -0
  246. package/dist/chunks/permissions-CjPIu4IE.js +3 -0
  247. package/dist/chunks/pipeTransport-C5u1K0wu.js +1 -0
  248. package/dist/chunks/plan-YjMAcn6g.js +1 -0
  249. package/dist/chunks/platform-DYZVoA9J.js +2 -0
  250. package/dist/chunks/plugin-Oux5bBQj.js +1 -0
  251. package/dist/chunks/pluginAutoupdate-Dl9U-fbk.js +1 -0
  252. package/dist/chunks/pluginBlocklist-BzI5DNeN.js +1 -0
  253. package/dist/chunks/pluginCliCommands-CExAcsaR.js +1 -0
  254. package/dist/chunks/pluginFlagging-BeqrbhgG.js +1 -0
  255. package/dist/chunks/pluginOperations-s0FQGOBm.js +2 -0
  256. package/dist/chunks/pluginStartupCheck-BVag9B-T.js +1 -0
  257. package/dist/chunks/pluginStartupCheck-BuorUEEf.js +1 -0
  258. package/dist/chunks/plugins-DTQHVJtY.js +4 -0
  259. package/dist/chunks/policyLimits-zoyF_6O4.js +1 -0
  260. package/dist/chunks/pollConfig-C19GiX7i.js +1 -0
  261. package/dist/chunks/poor-Bx5vvamq.js +1 -0
  262. package/dist/chunks/poorMode-BCoeB5zB.js +1 -0
  263. package/dist/chunks/poorMode-CTd_csCl.js +1 -0
  264. package/dist/chunks/print-UXl3rG8y.js +39 -0
  265. package/dist/chunks/privacy-settings-e43D9a4o.js +1 -0
  266. package/dist/chunks/processBashCommand-CvR9-gf8.js +1 -0
  267. package/dist/chunks/processSlashCommand-CB3wyAX7.js +6 -0
  268. package/dist/chunks/projectContext-D3_u80TY.js +1 -0
  269. package/dist/chunks/prompt-53lRY98R.js +1 -0
  270. package/dist/chunks/prompt-B8M-HLIS.js +227 -0
  271. package/dist/chunks/prompt-CooZNM1u.js +1 -0
  272. package/dist/chunks/promptEditor-CHiopfD7.js +4 -0
  273. package/dist/chunks/protocolHandler-DjivYn8H.js +13 -0
  274. package/dist/chunks/proxy-nPT6a6QY.js +99 -0
  275. package/dist/chunks/rate-limit-options-B-vndk5W.js +1 -0
  276. package/dist/chunks/rcDebugLog-BoroyfjB.js +11 -0
  277. package/dist/chunks/referral-DOqhciQu.js +1 -0
  278. package/dist/chunks/refresh-C8uLznwm.js +1 -0
  279. package/dist/chunks/registerProtocol-4lQ7O4Cc.js +36 -0
  280. package/dist/chunks/registry-q6v98JYd.js +1 -0
  281. package/dist/chunks/release-notes-C7JHshX3.js +4 -0
  282. package/dist/chunks/releaseNotes-CXY-xAja.js +2 -0
  283. package/dist/chunks/reload-plugins-DLS5lQcc.js +1 -0
  284. package/dist/chunks/remote-env-DhHea8yK.js +1 -0
  285. package/dist/chunks/remoteBridgeCore-BhOLhQIA.js +1 -0
  286. package/dist/chunks/remoteControlServer-CI0F83pg.js +3 -0
  287. package/dist/chunks/rename-DiKWWCzB.js +1 -0
  288. package/dist/chunks/renderOptions-DKe32LfM.js +1 -0
  289. package/dist/chunks/resume-DA4ToJFW.js +2 -0
  290. package/dist/chunks/runtimeObserver-BfVC8KK9.js +1 -0
  291. package/dist/chunks/runtimeObserver-DetZ5Tek.js +10 -0
  292. package/dist/chunks/sandbox-adapter-wh4cKN45.js +1 -0
  293. package/dist/chunks/sandbox-toggle-D8MgV0DT.js +1 -0
  294. package/dist/chunks/searchExtraTools-DbPpcAPw.js +1 -0
  295. package/dist/chunks/sentry-C3sL9nhF.js +13 -0
  296. package/dist/chunks/session-Bd-4QCqc.js +2 -0
  297. package/dist/chunks/sessionDiscovery-D_KPF86E.js +1 -0
  298. package/dist/chunks/sessionFileAccessHooks-COne5L2E.js +1 -0
  299. package/dist/chunks/sessionMemory-0Jqo1_MV.js +1 -0
  300. package/dist/chunks/sessionMemory-BDt_8bNB.js +1 -0
  301. package/dist/chunks/sessionMemoryUtils-BFIJ1nqF.js +1 -0
  302. package/dist/chunks/sessionObserver-CEky1SLb.js +1 -0
  303. package/dist/chunks/sessionObserver-CQxIKV8D.js +20 -0
  304. package/dist/chunks/sessionStorage-D1XhqZyW.js +1 -0
  305. package/dist/chunks/sessionTitle-CB0ZEkS_.js +14 -0
  306. package/dist/chunks/sessionTracing-BIKXLTJZ.js +11 -0
  307. package/dist/chunks/settingsSync-pI3L3CeR.js +1 -0
  308. package/dist/chunks/setup-BSi50fkU.js +1 -0
  309. package/dist/chunks/setup-DjsmjRKQ.js +2 -0
  310. package/dist/chunks/setup-Dq0_SRA1.js +9 -0
  311. package/dist/chunks/shadowedRuleDetection-DvAjOOPL.js +1 -0
  312. package/dist/chunks/shellQuote-D8XPeqkc.js +1 -0
  313. package/dist/chunks/sideQuestion-BrTA8ooG.js +20 -0
  314. package/dist/chunks/sink-CqWxcRl9.js +1 -0
  315. package/dist/chunks/sink-Dkat5kH9.js +1 -0
  316. package/dist/chunks/sinks--frMI4-5.js +2 -0
  317. package/dist/chunks/sinks-CvPAVcMY.js +1 -0
  318. package/dist/chunks/skill-learning-2LV0yuwF.js +5 -0
  319. package/dist/chunks/skillChangeDetector-B5CGPl7e.js +1 -0
  320. package/dist/chunks/skillGapStore-Dc29T-OG.js +1 -0
  321. package/dist/chunks/skillGapStore-KzRf6Ezr.js +5 -0
  322. package/dist/chunks/skillGenerator-BdOHsgc4.js +8 -0
  323. package/dist/chunks/skillLearning-CdcVIG14.js +1 -0
  324. package/dist/chunks/skillLearning-DXWMxSA2.js +1 -0
  325. package/dist/chunks/skillPanel-zMY8o-86.js +28 -0
  326. package/dist/chunks/skillSearchPanel-l8aolUP8.js +21 -0
  327. package/dist/chunks/skills-BeMWJPup.js +1 -0
  328. package/dist/chunks/sprites-qel_EgTP.js +1 -0
  329. package/dist/chunks/startupProfiler-CnDpob1v.js +3 -0
  330. package/dist/chunks/startupProfiler-TrMfE6Q4.js +1 -0
  331. package/dist/chunks/stats-CEBfahqM.js +1 -0
  332. package/dist/chunks/status-C9KXyfDk.js +1 -0
  333. package/dist/chunks/statusNoticeHelpers-CxoN9oDh.js +1 -0
  334. package/dist/chunks/stickers-eHrGA1W5.js +1 -0
  335. package/dist/chunks/tag-Dvl7Us9y.js +11 -0
  336. package/dist/chunks/tasks-BhiwUF0n.js +1 -0
  337. package/dist/chunks/teamHelpers-COQazluD.js +1 -0
  338. package/dist/chunks/teamHelpers-Mgfrv-Jf.js +1 -0
  339. package/dist/chunks/teammateModeSnapshot-8EWjlA-s.js +1 -0
  340. package/dist/chunks/teammateModeSnapshot-BV-P8s5r.js +1 -0
  341. package/dist/chunks/teleport-U5Zgqw3H.js +1 -0
  342. package/dist/chunks/templateJobs-C3idypN_.js +12 -0
  343. package/dist/chunks/terminalSetup-CmAEgt-5.js +33 -0
  344. package/dist/chunks/terminalSetup-mvAN4no7.js +1 -0
  345. package/dist/chunks/theme-BD2H4vJi.js +1 -0
  346. package/dist/chunks/thinkback-BOByXYp2.js +1 -0
  347. package/dist/chunks/thinkback-Dzu2mnNF.js +1 -0
  348. package/dist/chunks/thinkback-play-BX1K2UMY.js +1 -0
  349. package/dist/chunks/tmux-DruHFjDy.js +1 -0
  350. package/dist/chunks/toolEventObserver-B6cLV_dK.js +1 -0
  351. package/dist/chunks/toolEventObserver-i6it3p2_.js +1 -0
  352. package/dist/chunks/toolPool--2gNFbrz.js +1 -0
  353. package/dist/chunks/toolPool-dNV2JxUI.js +1 -0
  354. package/dist/chunks/trustedDevice-DY8OosTr.js +1 -0
  355. package/dist/chunks/trustedDevice-zya_Ml1N.js +1 -0
  356. package/dist/chunks/tui-KoYD82tT.js +6 -0
  357. package/dist/chunks/types-D5R26wwH.js +17 -0
  358. package/dist/chunks/udsClient-RkYuzeZC.js +1 -0
  359. package/dist/chunks/ultrareviewCommand-CCkKby4J.js +3 -0
  360. package/dist/chunks/undercover-CIutVLEO.js +1 -0
  361. package/dist/chunks/undercover-D9O2McNG.js +31 -0
  362. package/dist/chunks/up-BPM85EYl.js +12 -0
  363. package/dist/chunks/updateCCB-Bmn3Y63Y.js +11 -0
  364. package/dist/chunks/upgrade-D3rVOeHO.js +1 -0
  365. package/dist/chunks/upgrade-Dq3l14ZY.js +1 -0
  366. package/dist/chunks/upload-1PmElPfW.js +1 -0
  367. package/dist/chunks/upstreamproxy-BBTSJnad.js +11 -0
  368. package/dist/chunks/usage-B5G8FOZ3.js +1 -0
  369. package/dist/chunks/usage-VtTu7beE.js +1 -0
  370. package/dist/chunks/useMainLoopModel-CaQLIr1V.js +1 -0
  371. package/dist/chunks/useManagePlugins-BvoeOnqq.js +1 -0
  372. package/dist/chunks/useMergedTools-C133BfRp.js +1 -0
  373. package/dist/chunks/useSearchInput-CROB7AbC.js +1 -0
  374. package/dist/chunks/useSettingsErrors-DRxtFXoe.js +1 -0
  375. package/dist/chunks/useVoice-BQ9aSFJe.js +1 -0
  376. package/dist/chunks/util-BZnJgF79.js +1 -0
  377. package/dist/chunks/utils-4gsxQpga.js +1 -0
  378. package/dist/chunks/validatePlugin-DlrnBhPA.js +1 -0
  379. package/dist/chunks/vim-BXQCLoFJ.js +1 -0
  380. package/dist/chunks/voice-CeRmLRHT.js +2 -0
  381. package/dist/chunks/voice-QHyDff3f.js +8 -0
  382. package/dist/chunks/voiceModeEnabled-Bq_rttkL.js +1 -0
  383. package/dist/chunks/voiceModeEnabled-CLAVCVLW.js +1 -0
  384. package/dist/chunks/voiceStreamSTT-BDKenO5F.js +1 -0
  385. package/dist/chunks/voiceStreamSTT-CL52x8wZ.js +1 -0
  386. package/dist/chunks/which-BnEnzWhs.js +1 -0
  387. package/dist/chunks/windowsPaths-43st5EQF.js +1 -0
  388. package/dist/chunks/windowsPaths-DerzGPcz.js +2 -0
  389. package/dist/chunks/workSecret-qRMNrQy2.js +1 -0
  390. package/dist/chunks/workerRegistry-BUD3lBk_.js +1 -0
  391. package/dist/chunks/worktree-C0f9Ke-R.js +1 -0
  392. package/dist/chunks/xml-DvVQHZ1N.js +1 -0
  393. package/dist/cli.js +1 -1
  394. package/package.json +1 -1
  395. package/dist/chunks/AddWorkspaceDirectory-LhW1QZFL.js +0 -1
  396. package/dist/chunks/App-DYMNbl0d.js +0 -1
  397. package/dist/chunks/ApproveApiKey-B1XCQNW6.js +0 -1
  398. package/dist/chunks/ApproveApiKey-Bi2Iq_gN.js +0 -1
  399. package/dist/chunks/AssistantSessionChooser-Dv6yYR3s.js +0 -1
  400. package/dist/chunks/BackgroundTasksDialog-qS15If6H.js +0 -2
  401. package/dist/chunks/BypassPermissionsModeDialog-Bhjd2F2o.js +0 -1
  402. package/dist/chunks/ClaudeInChromeOnboarding-CxBS5xZY.js +0 -1
  403. package/dist/chunks/ClaudeMdExternalIncludesDialog-CiANFiNV.js +0 -1
  404. package/dist/chunks/ClaudeMdExternalIncludesDialog-nuKXhM2t.js +0 -1
  405. package/dist/chunks/ConsoleOAuthFlow-C8FzG3uF.js +0 -1
  406. package/dist/chunks/DesktopHandoff-BSpzQF0U.js +0 -1
  407. package/dist/chunks/DevChannelsDialog-B2xqlZtS.js +0 -1
  408. package/dist/chunks/DiffDialog-XmOsaUeN.js +0 -3
  409. package/dist/chunks/Doctor-C6FXh99k.js +0 -1
  410. package/dist/chunks/Doctor-DLx7Z_sA.js +0 -3
  411. package/dist/chunks/ExitFlow-CHDj7fv7.js +0 -2
  412. package/dist/chunks/Feedback-CUjTJbIh.js +0 -2
  413. package/dist/chunks/Grove-B8ZQOflC.js +0 -1
  414. package/dist/chunks/Grove-fenDMHVw.js +0 -11
  415. package/dist/chunks/HybridTransport-CP63usH9.js +0 -4
  416. package/dist/chunks/ITermBackend-Bp_3qpix.js +0 -1
  417. package/dist/chunks/InvalidConfigDialog-CgD7HSg0.js +0 -1
  418. package/dist/chunks/InvalidSettingsDialog-pYMa5Fp4.js +0 -1
  419. package/dist/chunks/MCPConnectionManager-ip1xShU_.js +0 -1
  420. package/dist/chunks/McpParsingWarnings-DhobExFM.js +0 -1
  421. package/dist/chunks/MessageSelector-B2X6zrsb.js +0 -3
  422. package/dist/chunks/Messages-CmsZIA66.js +0 -11
  423. package/dist/chunks/Onboarding-BaoLhLiT.js +0 -1
  424. package/dist/chunks/OverageCreditUpsell-DnLMobAh.js +0 -1
  425. package/dist/chunks/PluginSettings-BetzicTb.js +0 -17
  426. package/dist/chunks/PromptInputFooterSuggestions-D-1hRFAD.js +0 -1
  427. package/dist/chunks/PromptInputHelpMenu-DnQj3Hpq.js +0 -1
  428. package/dist/chunks/QueryEngine-BwvqdZVN.js +0 -1
  429. package/dist/chunks/REPL-CCgaPc2g.js +0 -1
  430. package/dist/chunks/REPL-zS2s1JnV.js +0 -97
  431. package/dist/chunks/RemoteCallout-B9hClSYj.js +0 -1
  432. package/dist/chunks/RemoteSessionManager-BgLIvi8Z.js +0 -2
  433. package/dist/chunks/ResumeConversation-DAMMGHGc.js +0 -1
  434. package/dist/chunks/SSETransport-CD7R7FfS.js +0 -4
  435. package/dist/chunks/SearchExtraToolsTool-CP6G9xhL.js +0 -1
  436. package/dist/chunks/SentryErrorBoundary-6dQQW6kh.js +0 -2
  437. package/dist/chunks/SentryErrorBoundary-B2e3QmqR.js +0 -1
  438. package/dist/chunks/Settings-DgW58gbY.js +0 -2
  439. package/dist/chunks/TeleportProgress-D_USKi0I.js +0 -1
  440. package/dist/chunks/TeleportRepoMismatchDialog-C1-iWmRP.js +0 -1
  441. package/dist/chunks/TeleportResumeWrapper-BX9nUVsC.js +0 -1
  442. package/dist/chunks/ThemePicker-C0JghXSS.js +0 -1
  443. package/dist/chunks/TmuxBackend-BxPiis2l.js +0 -9
  444. package/dist/chunks/TrustDialog-BZD-KGrA.js +0 -1
  445. package/dist/chunks/ValidationErrorsList-CTFdkGiH.js +0 -2
  446. package/dist/chunks/WelcomeV2-C7F1y8zh.js +0 -1
  447. package/dist/chunks/WindowsTerminalBackend-DLxmmXo4.js +0 -2
  448. package/dist/chunks/add-dir-Dhv9aEca.js +0 -1
  449. package/dist/chunks/agentDisplay-BoBFMmGh.js +0 -1
  450. package/dist/chunks/agents-Bt9kYpgi.js +0 -2
  451. package/dist/chunks/agents-CdsfzK3E.js +0 -103
  452. package/dist/chunks/ant-Bo6XJuE9.js +0 -1
  453. package/dist/chunks/api-CRPzfBL5.js +0 -1
  454. package/dist/chunks/api-CslgFoHj.js +0 -1
  455. package/dist/chunks/asciicast-C3nf97NR.js +0 -1
  456. package/dist/chunks/asciicast-DIsaWcsJ.js +0 -4
  457. package/dist/chunks/assistant--L1Ll62G.js +0 -1
  458. package/dist/chunks/assistant-DypEudjI.js +0 -1
  459. package/dist/chunks/assistant-od6Nf6EJ.js +0 -1
  460. package/dist/chunks/auth-BaaTtn3M.js +0 -1
  461. package/dist/chunks/auth-yKNn60lZ.js +0 -1
  462. package/dist/chunks/autoMode-C4b9u7WQ.js +0 -45
  463. package/dist/chunks/autonomy-7nZpCyNC.js +0 -19
  464. package/dist/chunks/autonomy-rMsykUYN.js +0 -1
  465. package/dist/chunks/autonomyPanel-j0q1dMDj.js +0 -1
  466. package/dist/chunks/backgroundHousekeeping-DGAYPsK9.js +0 -1
  467. package/dist/chunks/backgroundHousekeeping-KCpR7i2h.js +0 -17
  468. package/dist/chunks/banner-32EBTKI7.js +0 -2
  469. package/dist/chunks/bg-DK0E4ZtW.js +0 -9
  470. package/dist/chunks/bg-Dbh5z3Y8.js +0 -1
  471. package/dist/chunks/branch-GL4WvvLa.js +0 -3
  472. package/dist/chunks/bridge-BVzpVEsr.js +0 -2
  473. package/dist/chunks/bridgeConfig-B1OTOi0O.js +0 -1
  474. package/dist/chunks/bridgeConfig-C110hgnb.js +0 -1
  475. package/dist/chunks/bridgeEnabled-DrW-kkAr.js +0 -1
  476. package/dist/chunks/bridgeEnabled-Zk2slA-p.js +0 -1
  477. package/dist/chunks/bridgeMain-C-MUVlCX.js +0 -68
  478. package/dist/chunks/bridgeMain-L1ScqrgM.js +0 -1
  479. package/dist/chunks/bridgeMessaging-DobCpZGY.js +0 -1
  480. package/dist/chunks/bridgePointer-B2FPGDWR.js +0 -1
  481. package/dist/chunks/browser-fLRXxIsQ.js +0 -1
  482. package/dist/chunks/btw-CSDRs-n8.js +0 -1
  483. package/dist/chunks/buddy-D3Owb2U5.js +0 -3
  484. package/dist/chunks/bypassPermissionsKillswitch-B_5qku-e.js +0 -1
  485. package/dist/chunks/caches-CpgRh__l.js +0 -1
  486. package/dist/chunks/caches-Di_WVMtD.js +0 -3
  487. package/dist/chunks/ccrClient-CWH1f8Nk.js +0 -1
  488. package/dist/chunks/changeDetector-DEStinxa.js +0 -1
  489. package/dist/chunks/channelNotification-DxAS15nL.js +0 -1
  490. package/dist/chunks/channelNotification-Y5fNpq-B.js +0 -1
  491. package/dist/chunks/chrome-Cgl-Sq1y.js +0 -1
  492. package/dist/chunks/chromeNativeHost-DX8f9Y2L.js +0 -1
  493. package/dist/chunks/claudeDesktop-C1qQs6os.js +0 -1
  494. package/dist/chunks/cleanup-Pv6U3HiI.js +0 -1
  495. package/dist/chunks/clear-Dja0RB_p.js +0 -1
  496. package/dist/chunks/cliLaunch-BQa48gsr.js +0 -1
  497. package/dist/chunks/client-DuWXRBa0.js +0 -1
  498. package/dist/chunks/color-tvVGbuuv.js +0 -1
  499. package/dist/chunks/commands-ElmJnxRE.js +0 -1
  500. package/dist/chunks/commitAttribution-CedoNRL0.js +0 -2
  501. package/dist/chunks/commitAttribution-D6vYpAMS.js +0 -1
  502. package/dist/chunks/common-B379wT22.js +0 -1
  503. package/dist/chunks/common-B_BC3eMY.js +0 -1
  504. package/dist/chunks/common-CMCv4N_v.js +0 -1
  505. package/dist/chunks/compact-BwsLImWZ.js +0 -3
  506. package/dist/chunks/companion-C3hWMSgF.js +0 -1
  507. package/dist/chunks/completionCache-DHfUBBMH.js +0 -1
  508. package/dist/chunks/completionCache-DORrtxkS.js +0 -4
  509. package/dist/chunks/computerUseLock-BjoDJH2h.js +0 -1
  510. package/dist/chunks/config-BHCIawwx.js +0 -1
  511. package/dist/chunks/config-Dh0QGc4B.js +0 -1
  512. package/dist/chunks/context-CSHiU4LG.js +0 -1
  513. package/dist/chunks/context-noninteractive-CKFY_j1P.js +0 -54
  514. package/dist/chunks/context-noninteractive-DirFwn0d.js +0 -1
  515. package/dist/chunks/conversation-DfIv8Jzc.js +0 -1
  516. package/dist/chunks/conversation-Dyb5kfil.js +0 -1
  517. package/dist/chunks/copy-BSyDpOx5.js +0 -7
  518. package/dist/chunks/createSSHSession-PfzB7zZR.js +0 -6
  519. package/dist/chunks/createSession-Bk6r39b1.js +0 -1
  520. package/dist/chunks/createSession-DdsaDZoq.js +0 -1
  521. package/dist/chunks/cronJitterConfig-BFVNIkjD.js +0 -6
  522. package/dist/chunks/crossProjectResume-CdoH1cwH.js +0 -40
  523. package/dist/chunks/daemon-CCtZ9wY3.js +0 -2
  524. package/dist/chunks/datadog-By0GhDXI.js +0 -1
  525. package/dist/chunks/datadog-CTRRIaBJ.js +0 -1
  526. package/dist/chunks/debug-DM5ezCBS.js +0 -1
  527. package/dist/chunks/debug-UI3T040K.js +0 -5
  528. package/dist/chunks/debugUtils-BBMFODKH.js +0 -1
  529. package/dist/chunks/desktop-BV6CI329.js +0 -1
  530. package/dist/chunks/detached-D300jlhj.js +0 -5
  531. package/dist/chunks/detectRepository-CBk3S2zv.js +0 -1
  532. package/dist/chunks/detectRepository-DCTvg4p0.js +0 -1
  533. package/dist/chunks/detection-CQsNad64.js +0 -1
  534. package/dist/chunks/detection-DJ-vTbBf.js +0 -1
  535. package/dist/chunks/diff-qDuBFv-P.js +0 -1
  536. package/dist/chunks/directoryCompletion-D7EGwonO.js +0 -1
  537. package/dist/chunks/doctor-BtTsew-G.js +0 -1
  538. package/dist/chunks/earlyInput-RoVleNEN.js +0 -1
  539. package/dist/chunks/effort-DSpAOBeU.js +0 -9
  540. package/dist/chunks/entry-CYCQJU7M.js +0 -14
  541. package/dist/chunks/env-chR0gV31.js +0 -1
  542. package/dist/chunks/envLessBridgeConfig-B3o52JMX.js +0 -1
  543. package/dist/chunks/envLessBridgeConfig-BKs6Mk4e.js +0 -1
  544. package/dist/chunks/escHotkey-Cyz0yyh1.js +0 -259
  545. package/dist/chunks/execFileNoThrow-CuQN1sz8.js +0 -1
  546. package/dist/chunks/execSyncWrapper-C2XQnFVo.js +0 -1
  547. package/dist/chunks/executor-4EeD8GNm.js +0 -1561
  548. package/dist/chunks/executor-BHEuNh5F.js +0 -1
  549. package/dist/chunks/exit-BgaIlRuS.js +0 -1
  550. package/dist/chunks/export-BOQCWSMm.js +0 -2
  551. package/dist/chunks/exportRenderer-B-2J3ocI.js +0 -1
  552. package/dist/chunks/extra-usage-BLVbAE1O.js +0 -1
  553. package/dist/chunks/extra-usage-S4WYpDn5.js +0 -1
  554. package/dist/chunks/extra-usage-core-Sq4JALS7.js +0 -1
  555. package/dist/chunks/extra-usage-noninteractive-BlJVTTwe.js +0 -1
  556. package/dist/chunks/extraUsage-CMJ1LEPS.js +0 -1
  557. package/dist/chunks/extractMemories-BpN0fQF-.js +0 -1
  558. package/dist/chunks/fast-B8a-zz4X.js +0 -1
  559. package/dist/chunks/fast-OzVowRYW.js +0 -1
  560. package/dist/chunks/feedback-BZet1Qu_.js +0 -1
  561. package/dist/chunks/firstPartyEventLogger-DeytNcUC.js +0 -1
  562. package/dist/chunks/flushGate-CeFJrqgK.js +0 -1
  563. package/dist/chunks/gates-Be4ovdxj.js +0 -1
  564. package/dist/chunks/gates-WmmZ-8JT.js +0 -1
  565. package/dist/chunks/gemini-DExthrur.js +0 -1
  566. package/dist/chunks/generateRecap-BIFrnTIe.js +0 -1
  567. package/dist/chunks/generateSessionName-DlC0lhSv.js +0 -1
  568. package/dist/chunks/genericProcessUtils-BGvcwuPt.js +0 -23
  569. package/dist/chunks/git-CN3qtTb_.js +0 -6
  570. package/dist/chunks/git-D23Mzu_K.js +0 -1
  571. package/dist/chunks/githubRepoPathMapping-BKB2G52c.js +0 -1
  572. package/dist/chunks/grok-BNxCseLh.js +0 -1
  573. package/dist/chunks/growthbook-B3_MJJ45.js +0 -1
  574. package/dist/chunks/heapdump-sPWpCjXq.js +0 -5
  575. package/dist/chunks/help-BuUi6cM0.js +0 -1
  576. package/dist/chunks/hooks-5vDlGpNp.js +0 -79
  577. package/dist/chunks/hooks-CVJA4uQu.js +0 -1
  578. package/dist/chunks/hostAdapter-BfBHV5nj.js +0 -1
  579. package/dist/chunks/hostGuard-zim_4F9V.js +0 -1
  580. package/dist/chunks/ide-DvUftvRn.js +0 -2
  581. package/dist/chunks/inboundAttachments-CQyeysIk.js +0 -1
  582. package/dist/chunks/inboundAttachments-CiF42Eku.js +0 -1
  583. package/dist/chunks/initReplBridge-Bzg5Gx97.js +0 -1
  584. package/dist/chunks/insights-CvwFcRQt.js +0 -822
  585. package/dist/chunks/install-github-app-DxxG2VlZ.js +0 -147
  586. package/dist/chunks/install-slack-app-Bc5m1UFG.js +0 -1
  587. package/dist/chunks/install-tclc0QHM.js +0 -1
  588. package/dist/chunks/instrumentation-Dn_FDn6G.js +0 -12
  589. package/dist/chunks/job-ssZ2ESAX.js +0 -2
  590. package/dist/chunks/jwtUtils-CpXwh_du.js +0 -1
  591. package/dist/chunks/keybindings-DVZlobLM.js +0 -2
  592. package/dist/chunks/lang-BQ--zwb1.js +0 -1
  593. package/dist/chunks/language-BM5numKK.js +0 -1
  594. package/dist/chunks/language-CcxtaVJA.js +0 -1
  595. package/dist/chunks/launchAgentsPlatform-CLwlpK5C.js +0 -1
  596. package/dist/chunks/launchAutofixPr-vGLlC4Jm.js +0 -18
  597. package/dist/chunks/launchLocalMemory-DJ4pR8a2.js +0 -3
  598. package/dist/chunks/launchLocalVault-Cl7Dds3W.js +0 -3
  599. package/dist/chunks/launchMemoryStores-Czk-a1P6.js +0 -1
  600. package/dist/chunks/launchOnboarding-66gN_781.js +0 -8
  601. package/dist/chunks/launchSchedule-Tx5efcfv.js +0 -1
  602. package/dist/chunks/launchSkillStore-BGPd1KCD.js +0 -1
  603. package/dist/chunks/launchTeleport-DzXrNn2h.js +0 -3
  604. package/dist/chunks/launchVault-C5djf6XO.js +0 -1
  605. package/dist/chunks/loadAgentsDir-DaApSWNv.js +0 -4671
  606. package/dist/chunks/loadAgentsDir-_BePoo3r.js +0 -1
  607. package/dist/chunks/loadPluginHooks-GENkKqO8.js +0 -1
  608. package/dist/chunks/localSearch-BQuH38SB.js +0 -1
  609. package/dist/chunks/localSearch-BSR9byCr.js +0 -1
  610. package/dist/chunks/log-CzsijfHZ.js +0 -1
  611. package/dist/chunks/login-C64M5OdJ.js +0 -1
  612. package/dist/chunks/login-dkrrvdEl.js +0 -1
  613. package/dist/chunks/logoV2Utils-D6ceZmK0.js +0 -1
  614. package/dist/chunks/logout-BITK5qkB.js +0 -1
  615. package/dist/chunks/magicDocs-KPodA4bi.js +0 -57
  616. package/dist/chunks/main-D9fUXJiD.js +0 -31
  617. package/dist/chunks/main-wb2H0Xbt.js +0 -1108
  618. package/dist/chunks/mappers-D54WYYhL.js +0 -1
  619. package/dist/chunks/mcp-Bgeq8jbd.js +0 -6
  620. package/dist/chunks/mcp-CJvRg7ft.js +0 -2
  621. package/dist/chunks/mcp-Ddvz5we7.js +0 -1
  622. package/dist/chunks/mcpServer-VYXTzAFl.js +0 -1
  623. package/dist/chunks/mcpServer-d0863d94.js +0 -1
  624. package/dist/chunks/memoize-DxwLawI2.js +0 -1
  625. package/dist/chunks/memory-BNyVCuw9.js +0 -1
  626. package/dist/chunks/mode-D_L3DNsz.js +0 -2
  627. package/dist/chunks/model-DevOJk2A.js +0 -1
  628. package/dist/chunks/model-Dy_oUo2C.js +0 -1
  629. package/dist/chunks/onChangeAppState-GPs10FBm.js +0 -1
  630. package/dist/chunks/openai-C0CrRENO.js +0 -10
  631. package/dist/chunks/overageCreditGrant-DCiIf_SF.js +0 -1
  632. package/dist/chunks/panel-s9fbCKfl.js +0 -1
  633. package/dist/chunks/parser-CmngCwjB.js +0 -1
  634. package/dist/chunks/parser-SWIZo39J.js +0 -1
  635. package/dist/chunks/passes-C9oR06Fa.js +0 -1
  636. package/dist/chunks/path-B3lx7yHn.js +0 -1
  637. package/dist/chunks/paths-BZbIj1Z1.js +0 -39
  638. package/dist/chunks/permissions-DNb8DG22.js +0 -3
  639. package/dist/chunks/pipeTransport-Cx55TUNu.js +0 -1
  640. package/dist/chunks/plan-D-RJTUxb.js +0 -1
  641. package/dist/chunks/platform-CuyedWpe.js +0 -2
  642. package/dist/chunks/plugin-BV-DabiK.js +0 -1
  643. package/dist/chunks/pluginAutoupdate-DPciQRLz.js +0 -1
  644. package/dist/chunks/pluginBlocklist-CtSUf3sp.js +0 -1
  645. package/dist/chunks/pluginCliCommands-Cbcc-AQq.js +0 -1
  646. package/dist/chunks/pluginFlagging-D2d7jd4v.js +0 -1
  647. package/dist/chunks/pluginOperations-rU56uptC.js +0 -2
  648. package/dist/chunks/pluginStartupCheck-DuhCLRbp.js +0 -1
  649. package/dist/chunks/pluginStartupCheck-DwY7j_Cg.js +0 -1
  650. package/dist/chunks/plugins-LbLpZOhz.js +0 -4
  651. package/dist/chunks/policyLimits-Dl863Z85.js +0 -1
  652. package/dist/chunks/pollConfig-orFqIbGd.js +0 -1
  653. package/dist/chunks/poor-2u_yWIRG.js +0 -1
  654. package/dist/chunks/poorMode-BBr7GGQ3.js +0 -1
  655. package/dist/chunks/poorMode-DtQVZvON.js +0 -1
  656. package/dist/chunks/print-BgLbepaC.js +0 -39
  657. package/dist/chunks/privacy-settings-CC_FyvjV.js +0 -1
  658. package/dist/chunks/processBashCommand-DnekNzlT.js +0 -1
  659. package/dist/chunks/processSlashCommand-sLL0pyIW.js +0 -6
  660. package/dist/chunks/projectContext-D5FgyE-d.js +0 -1
  661. package/dist/chunks/prompt-DHHypkUR.js +0 -222
  662. package/dist/chunks/prompt-Dexwn9YP.js +0 -1
  663. package/dist/chunks/prompt-DhaPVt1T.js +0 -1
  664. package/dist/chunks/promptEditor-I8ZpszKv.js +0 -4
  665. package/dist/chunks/protocolHandler-CEsrhel_.js +0 -13
  666. package/dist/chunks/proxy-CfZp-wce.js +0 -99
  667. package/dist/chunks/rate-limit-options-B0Iyzr4x.js +0 -1
  668. package/dist/chunks/rcDebugLog-CF73Wofq.js +0 -11
  669. package/dist/chunks/referral-Nz20w4pB.js +0 -1
  670. package/dist/chunks/refresh-DecpoOX1.js +0 -1
  671. package/dist/chunks/registerProtocol-CAoaYyt8.js +0 -36
  672. package/dist/chunks/registry-BQdQRu-K.js +0 -1
  673. package/dist/chunks/release-notes-C0HeOmQY.js +0 -4
  674. package/dist/chunks/releaseNotes-BDzfbUAu.js +0 -2
  675. package/dist/chunks/reload-plugins-BZ4LTYY3.js +0 -1
  676. package/dist/chunks/remote-env-CPalv-BL.js +0 -1
  677. package/dist/chunks/remoteBridgeCore-B2yFfG6S.js +0 -1
  678. package/dist/chunks/remoteControlServer-CsnLedUv.js +0 -3
  679. package/dist/chunks/rename-CQPtjj_Q.js +0 -1
  680. package/dist/chunks/renderOptions-rmj4Mkls.js +0 -1
  681. package/dist/chunks/resume-Ycuezjv2.js +0 -2
  682. package/dist/chunks/runtimeObserver-CW0_wm1t.js +0 -1
  683. package/dist/chunks/runtimeObserver-DnhLm9O1.js +0 -10
  684. package/dist/chunks/sandbox-adapter-BOsa-en7.js +0 -1
  685. package/dist/chunks/sandbox-toggle-Bl5Drxeo.js +0 -1
  686. package/dist/chunks/searchExtraTools-CgdrY8XO.js +0 -1
  687. package/dist/chunks/sentry-BN3GTgYM.js +0 -13
  688. package/dist/chunks/session-ULekTZVn.js +0 -2
  689. package/dist/chunks/sessionDiscovery-DAmbR6o-.js +0 -1
  690. package/dist/chunks/sessionFileAccessHooks-C-o5001P.js +0 -1
  691. package/dist/chunks/sessionMemory-Bg458voj.js +0 -1
  692. package/dist/chunks/sessionMemory-DR-esdhZ.js +0 -1
  693. package/dist/chunks/sessionMemoryUtils-DgVGiwjB.js +0 -1
  694. package/dist/chunks/sessionObserver-C5cujEe6.js +0 -1
  695. package/dist/chunks/sessionObserver-CQ3PQWgU.js +0 -20
  696. package/dist/chunks/sessionStorage-BIDUQ8wo.js +0 -1
  697. package/dist/chunks/sessionTitle-DyexSH43.js +0 -14
  698. package/dist/chunks/sessionTracing-gKle2qzF.js +0 -11
  699. package/dist/chunks/settingsSync-BWW4FOMm.js +0 -1
  700. package/dist/chunks/setup-DX6984LY.js +0 -1
  701. package/dist/chunks/setup-OvlOCIFL.js +0 -2
  702. package/dist/chunks/setup-n91rSYO2.js +0 -9
  703. package/dist/chunks/shadowedRuleDetection-uYIZBoii.js +0 -1
  704. package/dist/chunks/shellQuote-DgjT8KBA.js +0 -1
  705. package/dist/chunks/sideQuestion-DIMsNoEc.js +0 -20
  706. package/dist/chunks/sink-BBn0HwoH.js +0 -1
  707. package/dist/chunks/sink-DLRpC2qX.js +0 -1
  708. package/dist/chunks/sinks-BI1hGD9c.js +0 -2
  709. package/dist/chunks/sinks-DKGE2sSC.js +0 -1
  710. package/dist/chunks/skill-learning-Dz-Zq-xT.js +0 -5
  711. package/dist/chunks/skillChangeDetector-C2Te20cK.js +0 -1
  712. package/dist/chunks/skillGapStore-BFpryJIe.js +0 -5
  713. package/dist/chunks/skillGapStore-CxPjoWci.js +0 -1
  714. package/dist/chunks/skillGenerator-BGOIb5p-.js +0 -8
  715. package/dist/chunks/skillLearning-BRvWwB8E.js +0 -1
  716. package/dist/chunks/skillLearning-DTo7lCKd.js +0 -1
  717. package/dist/chunks/skillPanel-DzYZLnuH.js +0 -28
  718. package/dist/chunks/skillSearchPanel-DrysL5R-.js +0 -21
  719. package/dist/chunks/skills-CTfNqisc.js +0 -1
  720. package/dist/chunks/sprites-CHzZCAGE.js +0 -1
  721. package/dist/chunks/startupProfiler-DnXZaX4A.js +0 -3
  722. package/dist/chunks/startupProfiler-SOE--nM9.js +0 -1
  723. package/dist/chunks/stats-D2s-hIY8.js +0 -1
  724. package/dist/chunks/status-XxrX2kHw.js +0 -1
  725. package/dist/chunks/statusNoticeHelpers-CUm1pflC.js +0 -1
  726. package/dist/chunks/stickers-BMh2qjgF.js +0 -1
  727. package/dist/chunks/tag-FV031rKW.js +0 -11
  728. package/dist/chunks/tasks-aK2rp8CW.js +0 -1
  729. package/dist/chunks/teamHelpers-2m66Mr8w.js +0 -1
  730. package/dist/chunks/teamHelpers-Bg3nHlWr.js +0 -1
  731. package/dist/chunks/teammateModeSnapshot-BtdUJBKp.js +0 -1
  732. package/dist/chunks/teammateModeSnapshot-VojvAMbR.js +0 -1
  733. package/dist/chunks/teleport-4x9eIl8c.js +0 -1
  734. package/dist/chunks/templateJobs-fEz4DGWh.js +0 -12
  735. package/dist/chunks/terminalSetup-Cjdlcznm.js +0 -33
  736. package/dist/chunks/terminalSetup-EirH-l0a.js +0 -1
  737. package/dist/chunks/theme-BjdEyakL.js +0 -1
  738. package/dist/chunks/thinkback-CrW3VlCR.js +0 -1
  739. package/dist/chunks/thinkback-DHyz-lmU.js +0 -1
  740. package/dist/chunks/thinkback-play-B46ystVF.js +0 -1
  741. package/dist/chunks/tmux-CvbhsfwG.js +0 -1
  742. package/dist/chunks/toolEventObserver-CJ68x4wM.js +0 -1
  743. package/dist/chunks/toolEventObserver-Dak6ETA6.js +0 -1
  744. package/dist/chunks/toolPool-3CMCh3QU.js +0 -1
  745. package/dist/chunks/toolPool-BHdCDihh.js +0 -1
  746. package/dist/chunks/trustedDevice-QhApqKq4.js +0 -1
  747. package/dist/chunks/trustedDevice-oDn6E85N.js +0 -1
  748. package/dist/chunks/tui-geoc3zxu.js +0 -6
  749. package/dist/chunks/types-Csi32ZXh.js +0 -17
  750. package/dist/chunks/udsClient-BdPOrL1H.js +0 -1
  751. package/dist/chunks/ultrareviewCommand-Ar9zzqz4.js +0 -3
  752. package/dist/chunks/undercover-D1ieJ54D.js +0 -1
  753. package/dist/chunks/undercover-DZq2Tf-o.js +0 -31
  754. package/dist/chunks/up-D-U4wUCe.js +0 -12
  755. package/dist/chunks/updateCCB-Db3CfFcn.js +0 -11
  756. package/dist/chunks/upgrade-B28O0zeQ.js +0 -1
  757. package/dist/chunks/upgrade-BZvNOhEJ.js +0 -1
  758. package/dist/chunks/upload-DAmbsBq4.js +0 -1
  759. package/dist/chunks/upstreamproxy-Ci5T_JCo.js +0 -11
  760. package/dist/chunks/usage-COv9UCxX.js +0 -1
  761. package/dist/chunks/usage-Dtv3YQf8.js +0 -1
  762. package/dist/chunks/useMainLoopModel-BpM3dlzJ.js +0 -1
  763. package/dist/chunks/useManagePlugins-DZ-_Ll9E.js +0 -1
  764. package/dist/chunks/useMergedTools-INKnp2ij.js +0 -1
  765. package/dist/chunks/useSearchInput-DobM3JKI.js +0 -1
  766. package/dist/chunks/useSettingsErrors-DjvaCC5-.js +0 -1
  767. package/dist/chunks/useVoice-exDfbv1t.js +0 -1
  768. package/dist/chunks/util-CDzNDmax.js +0 -1
  769. package/dist/chunks/utils-B0iiiW_p.js +0 -1
  770. package/dist/chunks/validatePlugin-DaLnfLSC.js +0 -1
  771. package/dist/chunks/vim-CPKu15l_.js +0 -1
  772. package/dist/chunks/voice-BcA5h8ya.js +0 -8
  773. package/dist/chunks/voice-gNxUce-I.js +0 -2
  774. package/dist/chunks/voiceModeEnabled-CwPbMJ9C.js +0 -1
  775. package/dist/chunks/voiceModeEnabled-DEwGjUP6.js +0 -1
  776. package/dist/chunks/voiceStreamSTT-6b3Oslnl.js +0 -1
  777. package/dist/chunks/voiceStreamSTT-BjX-mTB_.js +0 -1
  778. package/dist/chunks/which-DqSAIvp2.js +0 -1
  779. package/dist/chunks/windowsPaths-C9CigqoF.js +0 -1
  780. package/dist/chunks/windowsPaths-swxCp7bX.js +0 -2
  781. package/dist/chunks/workSecret-mS2OrpxF.js +0 -1
  782. package/dist/chunks/workerRegistry-Bc6t6VlK.js +0 -1
  783. package/dist/chunks/worktree-NnuvJmoP.js +0 -1
  784. package/dist/chunks/xml-Dg8-vY8G.js +0 -1
  785. /package/dist/chunks/{InProcessTransport-gJLr5CIx.js → InProcessTransport-B0mmAoxw.js} +0 -0
  786. /package/dist/chunks/{attributionHooks-Br5LZ6bk.js → attributionHooks-DZJjA8p9.js} +0 -0
  787. /package/dist/chunks/{attributionTrailer-BMTuK4Ax.js → attributionTrailer-CZY9XTcr.js} +0 -0
  788. /package/dist/chunks/{autoModeDenials-D8eQ1CoM.js → autoModeDenials-CGAtAGGf.js} +0 -0
  789. /package/dist/chunks/{bedrockClient-Ci523Btx.js → bedrockClient-DZgaJTHp.js} +0 -0
  790. /package/dist/chunks/{ccshareResume-CqNm2k-J.js → ccshareResume-CZggHNOf.js} +0 -0
  791. /package/dist/chunks/{connectHeadless-DFCrE6O4.js → connectHeadless-KNT0Sg7Z.js} +0 -0
  792. /package/dist/chunks/{dangerousBackend-Du0K4q5Z.js → dangerousBackend-ByOAEFld.js} +0 -0
  793. /package/dist/chunks/{earlyInput-feVuZGzR.js → earlyInput-BFcdUMaX.js} +0 -0
  794. /package/dist/chunks/{eventLoopStallDetector-XfubcyMN.js → eventLoopStallDetector-l83_98VR.js} +0 -0
  795. /package/dist/chunks/{fpsMetrics-CEQt6Tk1.js → fpsMetrics-DOI_SIeY.js} +0 -0
  796. /package/dist/chunks/{fuse-TM-TeOo_.js → fuse-Bp7rmZ5x.js} +0 -0
  797. /package/dist/chunks/{instinctParser-CJPM8VjX.js → instinctParser-Bxhe2LOF.js} +0 -0
  798. /package/dist/chunks/{lockfile-Y1hwdHrQ.js → lockfile-CeCEBLtN.js} +0 -0
  799. /package/dist/chunks/{mobile-umu5P0cM.js → mobile-Cydobb55.js} +0 -0
  800. /package/dist/chunks/{observationStore-gFvWXJmc.js → observationStore-BaPq7CKI.js} +0 -0
  801. /package/dist/chunks/{openaiShared-Dy78YERG.js → openaiShared-Crt0cZLO.js} +0 -0
  802. /package/dist/chunks/{output-style-BmEQscMd.js → output-style-BkOnFmfe.js} +0 -0
  803. /package/dist/chunks/{parseConnectUrl-C6cvMkkH.js → parseConnectUrl-BFNiff4c.js} +0 -0
  804. /package/dist/chunks/{poller-Dbo07OEA.js → poller-DADqVTWi.js} +0 -0
  805. /package/dist/chunks/{postCommitAttribution-DhFkZMxJ.js → postCommitAttribution-CA9Z2sqn.js} +0 -0
  806. /package/dist/chunks/{projectContext-iWPqcl0Z.js → projectContext-CwJlxP2Y.js} +0 -0
  807. /package/dist/chunks/{rewind-DAn-nNs-.js → rewind-DTk4TFYB.js} +0 -0
  808. /package/dist/chunks/{sanitization-JYRkZFrK.js → sanitization-DD414_3t.js} +0 -0
  809. /package/dist/chunks/{sdkHeapDumpMonitor-DKtfJW5o.js → sdkHeapDumpMonitor-fNRF2fbK.js} +0 -0
  810. /package/dist/chunks/{server-CswFAYwN.js → server-DTd90dmm.js} +0 -0
  811. /package/dist/chunks/{serverBanner-CImTYGhY.js → serverBanner-B7UaaCCl.js} +0 -0
  812. /package/dist/chunks/{serverLog-Bwt7XEmk.js → serverLog-DRvGpDtt.js} +0 -0
  813. /package/dist/chunks/{sessionDataUploader-CKRXCBxI.js → sessionDataUploader-BDsz_1Uy.js} +0 -0
  814. /package/dist/chunks/{sessionManager-Ca2O821f.js → sessionManager-Bh-Z-YXy.js} +0 -0
@@ -1 +0,0 @@
1
- import{o as e,t}from"./loadAgentsDir-DaApSWNv.js";e();export{t as clearAgentDefinitionsCache};
@@ -1 +0,0 @@
1
- import{Rv as e,Vv as t,zv as n}from"./loadAgentsDir-DaApSWNv.js";e();export{n as loadPluginHooks,t as setupPluginHookHotReload};
@@ -1 +0,0 @@
1
- import{n as e,r as t}from"./chunk-DR8-3Aex.js";import{d as n,s as r}from"./debug-UI3T040K.js";var i=t({clearSkillIndexCache:()=>m,computeIdf:()=>u,computeWeightedTf:()=>l,cosineSimilarity:()=>d,getSkillIndex:()=>h,searchSkills:()=>g,tokenize:()=>o,tokenizeAndStem:()=>c});function a(e){return v.test(e)}function o(e){let t=[],n=e.toLowerCase(),r=0;for(;r<n.length;)if(a(n[r])){let e=``;for(;r<n.length&&a(n[r]);)e+=n[r],r++;for(let n=0;n<e.length-1;n++)t.push(e.slice(n,n+2))}else if(/[a-z0-9]/.test(n[r])){let e=``;for(;r<n.length&&/[a-z0-9\-_]/.test(n[r]);)e+=n[r],r++;let i=e.replace(/^[-_]+|[-_]+$/g,``);i&&!_.has(i)&&t.push(i)}else r++;return t}function s(e){if(a(e[0]??``))return e;let t=e;return t.endsWith(`ing`)&&t.length>5?t=t.slice(0,-3):t.endsWith(`tion`)&&t.length>5||t.endsWith(`ness`)&&t.length>5||t.endsWith(`ment`)&&t.length>5?t=t.slice(0,-4):t.endsWith(`ers`)&&t.length>4?t=t.slice(0,-1):t.endsWith(`er`)&&t.length>4||t.endsWith(`es`)&&t.length>4?t=t.slice(0,-2):t.endsWith(`s`)&&t.length>3&&!t.endsWith(`ss`)?t=t.slice(0,-1):(t.endsWith(`ed`)&&t.length>4||t.endsWith(`ly`)&&t.length>4)&&(t=t.slice(0,-2)),t}function c(e){return o(e).map(s)}function l(e){let t=new Map;for(let n of e){let e=new Map;for(let t of n.tokens)e.set(t,(e.get(t)??0)+1);let r=1;for(let t of e.values())t>r&&(r=t);for(let[i,a]of e){let e=a/r*n.weight;e>(t.get(i)??0)&&t.set(i,e)}}return t}function u(e){let t=new Map;for(let n of e){let e=new Set;for(let r of n.tokens)e.has(r)||(t.set(r,(t.get(r)??0)+1),e.add(r))}let n=e.length,r=new Map;for(let[e,i]of t)r.set(e,Math.log(n/i));return r}function d(e,t){let n=0,r=0,i=0;for(let[i,a]of e){let e=t.get(i)??0;n+=a*e,r+=a*a}for(let e of t.values())i+=e*e;let a=Math.sqrt(r)*Math.sqrt(i);return a===0?0:n/a}function f(e){return e.toLowerCase().replace(/[-_]/g,` `)}function p(e){return e.toLowerCase().split(/[-_]/).filter(e=>e.length>=3)}function m(){C=null,w=null,T=null,n(`[skill-search] index cache cleared`)}async function h(e){if(C&&T===e)return C;let{getCommands:t}=await import(`./commands-ElmJnxRE.js`),r=await t(e),i=[];for(let e of r){if(e.type!==`prompt`||e.disableModelInvocation)continue;let t=e.name,n=e.description??``,r=e.whenToUse,a=e.allowedTools?.join(` `)??``,o=c(t),u=p(t),d=[...o,...u.map(s).filter(e=>!_.has(e))],m=c(n),h=c(r??``),g=c(a),v=[...new Set([...d,...m,...h,...g])],b=l([{tokens:d,weight:y.name},{tokens:h,weight:y.whenToUse},{tokens:m,weight:y.description},{tokens:g,weight:y.allowedTools}]);i.push({name:t,normalizedName:f(t),description:n,whenToUse:r,source:e.source??`unknown`,loadedFrom:e.loadedFrom,skillRoot:e.skillRoot,contentLength:e.contentLength,tokens:v,tfVector:b})}let a=u(i);for(let e of i)for(let[t,n]of e.tfVector)e.tfVector.set(t,n*(a.get(t)??0));return C=i,w=a,T=e,n(`[skill-search] indexed ${i.length} skills from ${r.length} commands`),i}function g(e,t,n=5){if(t.length===0||!e?.trim())return[];let r=c(e);if(r.length===0)return[];let i=new Map,o=new Map;for(let e of r)o.set(e,(o.get(e)??0)+1);let s=1;for(let e of o.values())e>s&&(s=e);for(let[e,t]of o)i.set(e,t/s);let l=C===t&&w?w:u(t),f=new Map;for(let[e,t]of i)f.set(e,t*(l.get(e)??0));let p=r.filter(e=>a(e[0]??``)),m=r.filter(e=>!a(e[0]??``)),h=e.toLowerCase().replace(/[-_]/g,` `),g=[];for(let e of t){let t=d(f,e.tfVector);p.length>0&&t>0&&p.filter(t=>e.tfVector.has(t)).length<S&&(m.some(t=>e.tfVector.has(t))||(t=0)),e.name.length>=x&&h.includes(e.normalizedName)&&(t=Math.max(t,.75)),t>=b&&g.push({name:e.name,description:e.description,score:t,source:e.source,loadedFrom:e.loadedFrom,skillRoot:e.skillRoot,contentLength:e.contentLength})}return g.sort((e,t)=>t.score-e.score),g.slice(0,n)}var _,v,y,b,x,S,C,w,T,E=e((()=>{r(),_=new Set(`a.an.the.is.are.was.were.be.been.being.have.has.had.do.does.did.will.would.could.should.may.might.shall.can.need.dare.ought.used.to.of.in.for.on.with.at.by.from.as.into.through.during.before.after.above.below.between.out.off.over.under.again.further.then.once.here.there.when.where.why.how.all.each.every.both.few.more.most.other.some.such.no.nor.not.only.own.same.so.than.too.very.just.because.but.and.or.if.while.this.that.these.those.it.its.i.me.my.we.our.you.your.he.him.his.she.her.they.them.their.what.which.who.whom.use.using.used`.split(`.`)),v=/[\u4e00-\u9fff\u3400-\u4dbf]/,y={name:3,whenToUse:2,description:1,allowedTools:.3},b=Number(process.env.SKILL_SEARCH_DISPLAY_MIN_SCORE??`0.10`),x=4,S=2,C=null,w=null,T=null}));export{h as a,g as c,d as i,o as l,u as n,E as o,l as r,i as s,m as t,c as u};
@@ -1 +0,0 @@
1
- import{a as e,c as t,o as n,t as r}from"./localSearch-BQuH38SB.js";n();export{r as clearSkillIndexCache,e as getSkillIndex,t as searchSkills};
@@ -1 +0,0 @@
1
- import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,t as n}from"./memoize-DNnuA2aU.js";import{s as r,u as i}from"./envUtils-BWeoiL4Y.js";import{Jn as ee,cn as te,qn as ne}from"./state-sIHsFpDu.js";import{G as re,K as ie,V as ae,h as oe,p as a,w as se}from"./debug-UI3T040K.js";import{i as ce,t as le}from"./hash-BRmOQc3c.js";import{join as o}from"path";import s from"node:process";import c from"node:path";import l from"node:os";import"fs/promises";var ue,de,fe,u,d,f,p,m,h,g,_,pe,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R=e((()=>{ue=`command-name`,de=`command-message`,fe=`command-args`,u=`bash-input`,d=`bash-stdout`,f=`bash-stderr`,p=`local-command-stdout`,m=`local-command-stderr`,h=`local-command-caveat`,g=[u,d,f,p,m,h],_=`tick`,pe=`task-notification`,v=`task-id`,y=`tool-use-id`,b=`task-type`,x=`output-file`,S=`status`,C=`summary`,w=`worktree`,T=`worktreePath`,E=`worktreeBranch`,D=`ultraplan`,O=`remote-review`,k=`remote-review-progress`,A=`teammate-message`,j=`channel-message`,M=`channel`,N=`cross-session-message`,P=`fork-boilerplate`,F=`Your directive: `,I=[`help`,`-h`,`--help`],L=[`list`,`show`,`display`,`current`,`view`,`get`,`check`,`describe`,`print`,`version`,`about`,`status`,`?`]}));function me(e){return e.sort((e,t)=>{let n=t.modified.getTime()-e.modified.getTime();return n===0?t.created.getTime()-e.created.getTime():n})}var he=e((()=>{}));function ge(e){if(typeof e!=`string`)return!1;let t=e.trim();return t!==``&&t!==`.`&&t!==`..`&&!e.includes(`/`)&&!e.includes(`\\`)&&!e.includes(`\0`)}function z(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(!ge(e))throw Error(`Unsafe filename: ${JSON.stringify(e)}`)}var _e=e((()=>{Object.freeze([``,` `,`.`,`..`,` .`,`. `,` ..`,`.. `,`../`,`../foo`,`foo/../bar`,`foo/bar`,`foo\\bar`,`foo\0bar`])}));function ve(e,{suffix:t=`nodejs`}={}){return z(e),t&&(e+=`-${t}`),z(e),s.platform===`darwin`?U(e):s.platform===`win32`?W(e):G(e)}var B,V,H,U,W,G,ye=e((()=>{_e(),B=l.homedir(),V=l.tmpdir(),{env:H}=s,U=e=>{let t=c.join(B,`Library`);return{data:c.join(t,`Application Support`,e),config:c.join(t,`Preferences`,e),cache:c.join(t,`Caches`,e),log:c.join(t,`Logs`,e),temp:c.join(V,e)}},W=e=>{let t=H.APPDATA||c.join(B,`AppData`,`Roaming`),n=H.LOCALAPPDATA||c.join(B,`AppData`,`Local`);return{data:c.join(n,e,`Data`),config:c.join(t,e,`Config`),cache:c.join(n,e,`Cache`),log:c.join(n,e,`Log`),temp:c.join(V,e)}},G=e=>{let t=c.basename(B);return{data:c.join(H.XDG_DATA_HOME||c.join(B,`.local`,`share`),e),config:c.join(H.XDG_CONFIG_HOME||c.join(B,`.config`),e),cache:c.join(H.XDG_CACHE_HOME||c.join(B,`.cache`),e),log:c.join(H.XDG_STATE_HOME||c.join(B,`.local`,`state`),e),temp:c.join(V,t,e)}}}));function be(e){let t=e.replace(/[^a-zA-Z0-9]/g,`-`);return t.length<=J?t:`${t.slice(0,J)}-${Math.abs(le(e)).toString(36)}`}function K(e){return be(e)}var q,J,xe,Se=e((()=>{ye(),oe(),ce(),q=ve(`claude-cli`),J=200,xe={baseLogs:()=>o(q.cache,K(a().cwd())),errors:()=>o(q.cache,K(a().cwd()),`errors`),messages:()=>o(q.cache,K(a().cwd()),`messages`),mcpLogs:e=>o(q.cache,K(a().cwd()),`mcp-logs-${be(e)}`)}}));function Ce(e){return e.replace(Y,``).trim()||e}function we(e){return e.replace(Y,``).trim()}function Te(e){return e.replace(Ee,``).trim()}var Y,Ee,De=e((()=>{Y=/<([a-z][\w-]*)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g,Ee=/<(ide_opened_file|ide_selection)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g}));function Oe(){return process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC?`essential-traffic`:process.env.DISABLE_TELEMETRY?`no-telemetry`:`default`}function ke(){return Oe()===`essential-traffic`}function Ae(){return Oe()!==`default`}function je(){return process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC?`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`:null}var Me=e((()=>{}));function Ne(e,t){let n=e.firstPrompt?.startsWith(`<${_}>`),r=e.firstPrompt?we(e.firstPrompt):``,i=r&&!n;return Ce(e.agentName||e.customTitle||e.summary||(i?r:void 0)||t||(n?`Autonomous session`:void 0)||(e.sessionId?e.sessionId.slice(0,8):``)||``).trim()}function Pe(e){return e.toISOString().replace(/[:.]/g,`-`)}function Fe(e){Z.length>=X&&Z.shift(),Z.push(e)}function Ie(e){if($===null&&($=e,Q.length>0)){let e=[...Q];Q.length=0;for(let t of e)switch(t.type){case`error`:$.logError(t.error);break;case`mcpError`:$.logMCPError(t.serverName,t.error);break;case`mcpDebug`:$.logMCPDebug(t.serverName,t.message);break}}}function Le(e){let t=ie(e);try{if(i(process.env.CLAUDE_CODE_USE_BEDROCK)||i(process.env.CLAUDE_CODE_USE_VERTEX)||i(process.env.CLAUDE_CODE_USE_FOUNDRY)||process.env.DISABLE_ERROR_REPORTING||ke())return;if(Fe({error:re(t),timestamp:new Date().toISOString()}),$===null){Q.push({type:`error`,error:t});return}$.logError(t)}catch{}}function Re(){return[...Z]}function ze(e,t){try{if($===null){Q.push({type:`mcpError`,serverName:e,error:t});return}$.logMCPError(e,t)}catch{}}function Be(e,t){try{if($===null){Q.push({type:`mcpDebug`,serverName:e,message:t});return}$.logMCPDebug(e,t)}catch{}}function Ve(e,t){if(!t||!t.startsWith(`repl_main_thread`))return;let{messages:n,...r}=e;ne(r),ee(process.env.USER_TYPE===`ant`?n:null)}var X,Z,Q,$,He=e((()=>{n(),te(),R(),Se(),De(),r(),ae(),Me(),se(),X=100,Z=[],Q=[],$=null,t(()=>process.argv.includes(`--hard-fail`))}));export{w as $,I as A,O as B,f as C,fe as D,M as E,h as F,b as G,C as H,m as I,_ as J,A as K,p as L,N as M,P as N,de as O,F as P,T as Q,x as R,u as S,j as T,v as U,S as V,pe as W,D as X,y as Y,E as Z,Te as _,Ne as a,he as b,Be as c,Me as d,R as et,ke as f,we as g,Ce as h,Re as i,L as j,ue as k,ze as l,De as m,Ve as n,He as o,Ae as p,g as q,Pe as r,Le as s,Ie as t,je as u,xe as v,d as w,me as x,Se as y,k as z};
@@ -1 +0,0 @@
1
- import{a as e,n as t,o as n,r}from"./chunk-DR8-3Aex.js";import{Rn as i,b as a,f as o,t as s,x as c,xt as l}from"./src-Di342QoJ.js";import{t as u}from"./jsx-runtime-D-D469L8.js";import{cn as d,yn as f}from"./state-sIHsFpDu.js";import{Ac as p,Jt as m,Pc as h,S as g,Sc as _,T as ee,on as te,vt as ne,yt as re}from"./paths-BZbIj1Z1.js";import{a as ie,r as ae}from"./env-chR0gV31.js";import{o as oe,s as v}from"./log-CzsijfHZ.js";import{GT as se,Ha as ce,Sy as le,VT as y,Vo as ue,aC as b,iC as x,qa as de,ts as fe,xy as pe}from"./loadAgentsDir-DaApSWNv.js";import{a as me,r as he,t as S}from"./trustedDevice-oDn6E85N.js";import{n as C,t as w}from"./useMainLoopModel-BpM3dlzJ.js";import{n as T,r as E,t as D}from"./bypassPermissionsKillswitch-B_5qku-e.js";import{promises as O}from"fs";function k({subscription:e}){let t=e.active?`☑`:`☐`,n=e.active&&e.plan?` ${e.plan} plan`:``,r=e.active?`logged in${n}`:`not logged in`;return(0,N.jsxs)(c,{children:[(0,N.jsxs)(a,{color:e.active?`success`:void 0,children:[t,` Subscription (claude.ai)`,` `]}),(0,N.jsx)(a,{dimColor:!e.active,children:r})]})}function A({workspaceKey:e}){if(!e.set)return(0,N.jsxs)(c,{children:[(0,N.jsx)(a,{children:`☐ Workspace API key `}),(0,N.jsx)(a,{dimColor:!0,children:`not set`})]});if(!e.prefixValid)return(0,N.jsxs)(c,{children:[(0,N.jsx)(a,{color:`warning`,children:`⚠ Workspace API key `}),(0,N.jsx)(a,{children:e.keyPreview}),(0,N.jsx)(a,{color:`warning`,children:` (sk-ant-api03-* required)`})]});let t=e.source===`settings`?` (saved to settings)`:e.source===`env`?` (from ANTHROPIC_API_KEY env)`:``;return(0,N.jsxs)(c,{children:[(0,N.jsx)(a,{color:`success`,children:`☑ Workspace API key `}),(0,N.jsx)(a,{children:e.keyPreview}),t?(0,N.jsx)(a,{dimColor:!0,children:t}):null]})}function j({subscription:e,workspaceKey:t}){return!t.set&&e.active?(0,N.jsxs)(c,{flexDirection:`column`,marginLeft:5,marginTop:0,children:[(0,N.jsx)(a,{dimColor:!0,children:`To enable /vault /agents-platform /memory-stores:`}),(0,N.jsx)(a,{dimColor:!0,children:`Press W to set now (saves to settings.json, no restart needed)`}),(0,N.jsx)(a,{dimColor:!0,children:` — or —`}),(0,N.jsx)(a,{dimColor:!0,children:`1. Open https://console.anthropic.com/settings/keys`}),(0,N.jsx)(a,{dimColor:!0,children:`2. Create a key (sk-ant-api03-*)`}),(0,N.jsx)(a,{dimColor:!0,children:`3. Set ANTHROPIC_API_KEY=<key> and restart`})]}):null}function M({status:e}){return(0,N.jsxs)(c,{flexDirection:`column`,marginBottom:1,children:[(0,N.jsx)(c,{marginBottom:0,children:(0,N.jsx)(a,{bold:!0,children:`Anthropic auth status:`})}),(0,N.jsxs)(c,{marginLeft:2,flexDirection:`column`,children:[(0,N.jsx)(k,{subscription:e.subscription}),(0,N.jsx)(A,{workspaceKey:e.workspaceKey}),(0,N.jsx)(j,{subscription:e.subscription,workspaceKey:e.workspaceKey})]})]})}var N,P=t((()=>{i(),s(),N=u()})),F=r({getAuthStatus:()=>L});function I(e){let t=e.length;return t<20?`[redacted] (${t} chars)`:`${e.slice(0,4)}...${e.slice(-2)} (${t} chars)`}function L(){let e=m(),t=e!==null&&!!e.accessToken,n=null;if(t&&e){let t=e.subscriptionType;n=t===`free`||t===`pro`||t===`max`||t===`team`||t===`enterprise`?t:t==null?null:`unknown`}let r=(process.env.ANTHROPIC_API_KEY??``).trim(),i=_().workspaceApiKey?.trim()??``,a,o;r.length>0?(a=r,o=`env`):i.length>0?(a=i,o=`settings`):(a=``,o=null);let s=a.length>0,c=a.startsWith(R),l=s?I(a):null;return{subscription:{active:t,plan:n,accountEmail:null},workspaceKey:{set:s,prefixValid:c,keyPreview:l,source:o}}}var R,z=t((()=>{te(),p(),R=`sk-ant-api03-`}));async function B(e){if(!e||e.trim().length===0)throw Error(`Workspace API key must not be empty.`);let t=e.trim();if(t.length<U)throw Error(`Workspace API key is too short (${t.length} chars). Expected at least ${U} chars starting with "${H}".`);if(t.length>W)throw Error(`Workspace API key is too long (${t.length} chars). Maximum allowed length is ${W} chars.`);if(!t.startsWith(H)){let e=t.slice(0,4);throw Error(`Workspace API key must start with "${H}" (workspace key). Got prefix "${e}...". Obtain a workspace API key from https://console.anthropic.com/settings/keys.`)}try{h(e=>({...e,workspaceApiKey:t}))}catch(e){throw Error(`Failed to save workspace API key to config: ${V(e)}`)}await _e()}async function ge(){try{h(e=>{let t={...e};return delete t.workspaceApiKey,t})}catch(e){throw Error(`Failed to remove workspace API key: ${V(e)}`)}}function V(e){return e instanceof Error?e.message.replace(/sk-ant-api03-\S*/g,`[REDACTED]`):`unknown error`}async function _e(){let e=ae();if(process.platform===`win32`){v(Error(`[saveWorkspaceKey] Windows: chmod 600 is not supported. To protect your API key, restrict access to ${e} via icacls or Windows ACL settings.`));return}try{await O.chmod(e,384)}catch(t){v(Error(`[saveWorkspaceKey] Could not set chmod 600 on ${e}: ${V(t)}`))}}var H,U,W,G=t((()=>{ie(),p(),oe(),H=`sk-ant-api03-`,U=20,W=256}));function ve(e){if(e.length===0)return``;if(!e.startsWith(J))return e.slice(0,4)+(e.length>4?`...`:``);let t=e.slice(13);return t.length===0?J:`${J}****...${t.slice(-Math.min(4,t.length)).replace(/./g,`*`)}`}function ye(e){return e.length===0?null:e.startsWith(J)?e.length<Y?`Key too short (${e.length}/${Y} chars minimum)`:e.length>X?`Key too long (${e.length}/${X} chars maximum)`:null:`Key must start with "${J}"`}function be({onSave:e,onCancel:t,saving:n=!1,saveError:r=null}){let[i,o]=K.useState(``),[s,u]=K.useState(null),d=ye(i),f=!n&&i.length>=Y&&d===null;l((n,r)=>{if(r.escape){t();return}if(r.return){if(!f)return;u(null),e(i);return}if(r.backspace||r.delete){o(e=>e.slice(0,-1));return}if(n&&n.length>0){let e=n;e.charCodeAt(0)>=32&&e.charCodeAt(0)<=126&&o(t=>{let n=t+e;return n.length<=X?n:t})}},{isActive:!n});let p=ve(i),m=s??r??d;return(0,q.jsxs)(c,{flexDirection:`column`,marginTop:1,children:[(0,q.jsx)(c,{marginBottom:0,children:(0,q.jsx)(a,{bold:!0,children:`Enter workspace API key (sk-ant-api03-*):`})}),(0,q.jsx)(c,{marginTop:0,marginBottom:0,children:(0,q.jsx)(a,{dimColor:!0,children:` Obtain from: https://console.anthropic.com/settings/keys`})}),(0,q.jsxs)(c,{marginTop:1,marginBottom:0,children:[(0,q.jsx)(a,{children:` > `}),i.length>0?(0,q.jsx)(a,{children:p}):(0,q.jsx)(a,{dimColor:!0,children:`[paste key here]`})]}),m!==null&&(0,q.jsx)(c,{marginTop:0,children:(0,q.jsxs)(a,{color:`warning`,children:[` ✗ `,m]})}),n&&(0,q.jsx)(c,{marginTop:0,children:(0,q.jsx)(a,{dimColor:!0,children:` Saving...`})}),(0,q.jsx)(c,{marginTop:1,children:(0,q.jsx)(a,{dimColor:!0,children:f?`Press Enter to save · Esc to cancel`:`Esc to cancel`+(i.length===0?` · start typing your key`:``)})})]})}function xe({onSaved:e,onCancel:t}){let[n,r]=K.useState(!1),[i,a]=K.useState(null),o=K.useCallback(async t=>{r(!0),a(null);try{await B(t),e()}catch(e){a(e instanceof Error?e.message:`Failed to save key — unknown error`),r(!1)}},[e]);return(0,q.jsx)(be,{onSave:e=>{o(e)},onCancel:t,saving:n,saveError:i})}var K,q,J,Y,X,Se=t((()=>{K=n(i(),1),s(),G(),q=u(),J=`sk-ant-api03-`,Y=20,X=256}));async function Ce(e,t){return(0,$.jsx)(Z,{authStatus:L(),onDone:async n=>{if(t.onChangeAPIKey(),t.setMessages(fe),n){f(),se(),de(),re(),ee(),S(),he(),E();let e=t.getAppState();D(e.toolPermissionContext,t.setAppState,e.fastMode),t.setAppState(e=>({...e,authVersion:e.authVersion+1}))}e(n?`Login successful`:`Login interrupted`)}})}function Z(t){let n=C(),[r,i]=Q.useState(!1),[s,u]=Q.useState({phase:`idle`}),[d,f]=Q.useState(t.authStatus),p=d!==void 0&&d.workspaceKey.set,m=p&&d.workspaceKey.source===`settings`,h=Q.useCallback(()=>{let{getAuthStatus:t}=(z(),e(F));f(t())},[]);l(e=>{if(!r){if(s.phase===`confirm-remove`){if(e===`y`||e===`Y`){u({phase:`removing`}),(async()=>{try{await ge(),h(),u({phase:`idle`})}catch(e){u({phase:`error`,message:e instanceof Error?e.message:`Failed to remove workspace API key`})}})();return}if(e===`n`||e===`N`){u({phase:`idle`});return}return}if(e===`w`||e===`W`){i(!0);return}(e===`d`||e===`D`)&&m&&u({phase:`confirm-remove`})}},{isActive:!r});let g=Q.useCallback(()=>{h(),i(!1)},[h]),_=Q.useCallback(()=>{i(!1)},[]);return(0,$.jsx)(o,{title:`Login`,onCancel:()=>t.onDone(!1,n),color:`permission`,inputGuide:e=>e.pending?(0,$.jsxs)(a,{children:[`Press `,e.keyName,` again to exit`]}):(0,$.jsx)(x,{action:`confirm:no`,context:`Confirmation`,fallback:`Esc`,description:`cancel`}),children:(0,$.jsxs)(c,{flexDirection:`column`,children:[d!==void 0&&(0,$.jsx)(c,{marginBottom:1,children:(0,$.jsx)(M,{status:d})}),r?(0,$.jsx)(xe,{onSaved:g,onCancel:_}):s.phase===`confirm-remove`||s.phase===`removing`?(0,$.jsxs)(c,{flexDirection:`column`,marginBottom:1,children:[(0,$.jsxs)(a,{children:[`Remove the saved workspace API key? `,(0,$.jsx)(a,{dimColor:!0,children:`(settings.json only — env var is unaffected)`})]}),(0,$.jsx)(a,{dimColor:!0,children:s.phase===`removing`?`Removing…`:`Press Y to confirm, N to cancel`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(c,{flexDirection:`column`,marginBottom:1,children:[p?m?(0,$.jsx)(a,{dimColor:!0,children:`Press W to replace workspace API key · Press D to remove it`}):(0,$.jsx)(a,{dimColor:!0,children:`Workspace API key from ANTHROPIC_API_KEY env. Press W to override with a settings-saved key.`}):(0,$.jsx)(a,{dimColor:!0,children:`Press W to enter workspace API key (saves to settings, no restart needed)`}),s.phase===`error`&&(0,$.jsx)(a,{color:`error`,children:s.message})]}),(0,$.jsx)(pe,{onDone:()=>t.onDone(!0,n),startingMessage:t.startingMessage})]})]})})}var Q,$,we=t((()=>{Q=n(i(),1),d(),me(),b(),le(),s(),w(),g(),ce(),y(),ue(),T(),ne(),P(),z(),Se(),G(),$=u()}));export{Ce as n,we as r,Z as t};
@@ -1 +0,0 @@
1
- import{n as e,r as t,t as n}from"./login-C64M5OdJ.js";t();export{n as Login,e as call};
@@ -1 +0,0 @@
1
- import{n as e}from"./chunk-DR8-3Aex.js";import{Cn as t,t as n}from"./src-Di342QoJ.js";import{Ct as r,M as i,cn as a}from"./state-sIHsFpDu.js";import{Ka as o,Zc as s,dn as c,el as l,en as u,on as d,oo as f}from"./paths-BZbIj1Z1.js";import{n as p,t as m}from"./cwd--iizewsn.js";import{C as h,D as g,E as _,x as v}from"./startupProfiler-DnXZaX4A.js";import{Jr as y,Pr as b}from"./loadAgentsDir-DaApSWNv.js";import{r as x,t as S}from"./semver-Tw0AFar5.js";import{c as C,s as w,u as T}from"./releaseNotes-BDzfbUAu.js";function E(e){return e>=70?`horizontal`:`compact`}function D(e,t,n){if(t===`horizontal`){let t=n,r=e-(R+B+z+t),i=Math.max(30,r),a=Math.min(t+i+z+B,e-R);return a<t+i+z+B&&(i=a-t-z-B),{leftWidth:t,rightWidth:i,totalWidth:a}}let r=Math.min(e-R,I+20);return{leftWidth:r,rightWidth:r,totalWidth:r}}function O(e,n,r){let i=Math.max(t(e),t(n),t(r),20);return Math.min(i+4,I)}function k(e){return!e||e.length>L?`Welcome back!`:`Welcome back ${e}!`}function A(e,n){if(t(e)<=n)return e;let r=e.split(`/`),i=r[0]||``,a=r[r.length-1]||``,o=t(i),s=t(a);if(r.length===1)return _(e,n);if(i===``&&2+s>=n)return`/${_(a,Math.max(1,n-1))}`;if(i!==``&&3+s>=n)return`…/${_(a,Math.max(1,n-1-1))}`;if(r.length===2)return`${g(i,n-1-1-s)}…/${a}`;let c=n-o-s-1-2;if(c<=0)return`${g(i,Math.max(0,n-s-1-2))}/…/${a}`;let l=[];for(let e=r.length-2;e>0;e--){let n=r[e];if(n&&t(n)+1<=c)l.unshift(n),c-=t(n)+1;else break}return l.length===0?`${i}/…/${a}`:`${i}/…/${l.join(`/`)}/${a}`}async function j(){if(H)return H;let e=r();return H=y(10).then(t=>(V=t.filter(t=>{if(t.isSidechain||t.sessionId===e||t.summary?.includes(`I apologize`))return!1;let n=t.summary&&t.summary!==`No prompt`,r=t.firstPrompt&&t.firstPrompt!==`No prompt`;return n||r}).slice(0,3),V)).catch(()=>(V=[],V)),H}function M(){return V}function N(){let e=process.env.DEMO_VERSION??`2.6.12`,t=i(),n=process.env.DEMO_VERSION?`/code/claude`:s(m());return{version:e,cwd:t?`${n} in ${t.replace(/^https?:\/\//,``)}`:n,billingType:c()?u():`API Usage Billing`,agentName:o().agent}}function P(e,n,r){return t(e)+3+t(n)>r?{shouldSplit:!0,truncatedModel:h(e,r),truncatedBilling:h(n,r)}:{shouldSplit:!1,truncatedModel:h(e,Math.max(r-t(n)-3,10)),truncatedBilling:n}}function F(e){if(process.env.USER_TYPE===`ant`)return[];let t=w();if(!t)return[];let n;try{n=T(t)}catch{return[]}let r=[],i=Object.keys(n).sort((e,t)=>S(e,t)?-1:1).slice(0,3);for(let e of i){let t=n[e];t&&r.push(...t)}return r.slice(0,e)}var I,L,R,z,B,V,H,U=e((()=>{a(),n(),d(),p(),l(),v(),C(),x(),b(),f(),I=50,L=20,R=4,z=1,B=2,V=[],H=null}));export{E as a,M as c,A as d,k as i,F as l,O as n,N as o,P as r,j as s,D as t,U as u};
@@ -1 +0,0 @@
1
- import{FT as e,IT as t,LT as n,PT as r}from"./loadAgentsDir-DaApSWNv.js";t();export{r as call,e as clearAuthRelatedCaches,n as performLogout};
@@ -1,57 +0,0 @@
1
- import{n as e}from"./chunk-DR8-3Aex.js";import{n as t,s as n}from"./envUtils-BWeoiL4Y.js";import{Dr as r,Pr as i,mc as a,pc as o}from"./paths-BZbIj1Z1.js";import{V as s,W as c,h as l,p as u}from"./debug-UI3T040K.js";import{Gc as d,Kc as f,LD as p,RD as m,Vo as h,Wc as g,o_ as _,s_ as v,sj as y,tj as b,wo as x,zo as S}from"./loadAgentsDir-DaApSWNv.js";import{On as C,jn as w}from"./prompt-DHHypkUR.js";import{i as T,o as E}from"./fileStateCache-C7-TxF8G.js";import{join as D}from"path";function O(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
-
3
- Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
-
5
- The file {{docPath}} has already been read for you. Here are its current contents:
6
- <current_doc_content>
7
- {{docContents}}
8
- </current_doc_content>
9
-
10
- Document title: {{docTitle}}
11
- {{customInstructions}}
12
-
13
- Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
-
15
- CRITICAL RULES FOR EDITING:
16
- - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
- - If there's an italicized line immediately after the header, preserve it exactly as-is
18
- - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
- - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
- - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
- - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
- - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
- - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
-
25
- DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
- - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
- - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
- - Do NOT duplicate information that's already obvious from reading the source code
29
- - Do NOT document every function, parameter, or line number reference
30
- - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
- - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
-
33
- What TO document:
34
- - High-level architecture and system design
35
- - Non-obvious patterns, conventions, or gotchas
36
- - Key entry points and where to start reading code
37
- - Important design decisions and their rationale
38
- - Critical dependencies or integration points
39
- - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
-
41
- What NOT to document:
42
- - Anything obvious from reading the code itself
43
- - Exhaustive lists of files, functions, or parameters
44
- - Step-by-step implementation details
45
- - Low-level code mechanics
46
- - Information already in CLAUDE.md or other project docs
47
-
48
- Use the Edit tool with file_path: {{docPath}}
49
-
50
- REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function k(){let e=u(),n=D(t(),`magic-docs`,`prompt.md`);try{return await e.readFile(n,{encoding:`utf-8`})}catch{return O()}}function A(e,t){return e.replace(/\{\{(\w+)\}\}/g,(e,n)=>Object.hasOwn(t,n)?t[n]:e)}async function j(e,t,n,i){let a=await k(),o=i?`
51
-
52
- DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
- The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
-
55
- "${i}"
56
-
57
- These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:``,s=r();return A(a,{docContents:e,docPath:t,docTitle:n,customInstructions:o,CLAUDE_EFFORT:b(s,void 0),CLAUDE_MODEL:s,CLAUDE_CWD:process.cwd()})}var M=e((()=>{n(),l(),y(),i()}));function N(){V.clear()}function P(e){let t=e.match(z);if(!t||!t[1])return null;let n=t[1].trim(),r=t.index+t[0].length,i=e.slice(r).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(i&&i[1]){let e=i[1].match(B);if(e&&e[1])return{title:n,instructions:e[1].trim()}}return{title:n}}function F(e){V.has(e)||V.set(e,{path:e})}function I(){return{agentType:`magic-docs`,whenToUse:`Update Magic Docs`,tools:[C],model:`sonnet`,source:`built-in`,baseDir:`built-in`,getSystemPrompt:()=>``}}async function L(e,t){let{messages:n,systemPrompt:r,userContext:i,systemContext:a,toolUseContext:o}=t,s=T(o.readFileState);s.delete(e.path);let l={...o,readFileState:s},u=``;try{let t=(await g.call({file_path:e.path},l)).data;t.type===`text`&&(u=t.file.content)}catch(t){if(c(t)||t instanceof Error&&t.message.startsWith(`File does not exist`)){V.delete(e.path);return}throw t}let d=P(u);if(!d){V.delete(e.path);return}let f=await j(u,e.path,d.title,d.instructions),p=async(t,n)=>{if(t.name===`Edit`&&typeof n==`object`&&n&&`file_path`in n){let t=n.file_path;if(typeof t==`string`&&t===e.path)return{behavior:`allow`,updatedInput:n}}return{behavior:`deny`,message:`only ${C} is allowed for ${e.path}`,decisionReason:{type:`other`,reason:`only ${C} is allowed`}}};for await(let e of v({agentDefinition:I(),promptMessages:[x({content:f})],toolUseContext:l,canUseTool:p,isAsync:!0,forkContextMessages:n,querySource:`magic_docs`,override:{systemPrompt:r,userContext:i,systemContext:a},availableTools:l.options.tools}));}async function R(){process.env.USER_TYPE===`ant`&&(f((e,t)=>{P(t)&&F(e)}),m(H))}var z,B,V,H,U=e((()=>{_(),w(),d(),s(),E(),p(),h(),o(),M(),z=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,B=/^[_*](.+?)[_*]\s*$/m,V=new Map,H=a(async function(e){let{messages:t,querySource:n}=e;if(n===`repl_main_thread`&&!S(t)&&V.size!==0)for(let t of Array.from(V.values()))await L(t,e)})}));export{R as n,U as r,N as t};
@@ -1,31 +0,0 @@
1
- import{n as e}from"./chunk-DR8-3Aex.js";import{i as t,o as n,t as r}from"./cliLaunch-BQa48gsr.js";import{a as i,i as a,n as o,r as s,t as c}from"./state-Ce1HlR-H.js";import{resolve as l}from"path";async function u(e){let t=e[0]||`status`;switch(t){case`start`:await h(e.slice(1));break;case`stop`:await p();break;case`status`:case`ps`:await f();break;case`bg`:await(await import(`./bg-Dbh5z3Y8.js`)).handleBgStart(e.slice(1));break;case`attach`:await(await import(`./bg-Dbh5z3Y8.js`)).attachHandler(e[1]);break;case`logs`:await(await import(`./bg-Dbh5z3Y8.js`)).logsHandler(e[1]);break;case`kill`:await(await import(`./bg-Dbh5z3Y8.js`)).killHandler(e[1]);break;case`--help`:case`-h`:case`help`:d();break;default:console.error(`Unknown daemon subcommand: ${t}`),d(),process.exitCode=1}}function d(){console.log(`
2
- Claude Code Daemon — background process management
3
-
4
- USAGE
5
- claude daemon [subcommand]
6
-
7
- SUBCOMMANDS
8
- status Show daemon and session status (default)
9
- start Start the daemon supervisor
10
- stop Stop the daemon
11
- bg Start a background session
12
- attach Attach to a background session
13
- logs Show session logs
14
- kill Kill a session
15
- help Show this help
16
-
17
- REPL
18
- /daemon [subcommand] Same commands available in interactive mode
19
-
20
- OPTIONS (for start)
21
- --dir <path> Working directory (default: current)
22
- --spawn-mode <mode> Worker spawn mode: same-dir | worktree (default: same-dir)
23
- --capacity <N> Max concurrent sessions per worker (default: 4)
24
- --permission-mode <mode> Permission mode for spawned sessions
25
- --sandbox Enable sandbox mode
26
- --name <name> Session name
27
- -h, --help Show this help
28
- `)}async function f(){let e=o();switch(console.log(`=== Daemon Supervisor ===`),e.status){case`running`:{let t=e.state;console.log(` Status: running`),console.log(` PID: ${t.pid}`),console.log(` CWD: ${t.cwd}`),console.log(` Started: ${t.startedAt}`),console.log(` Workers: ${t.workerKinds.join(`, `)}`);break}case`stopped`:console.log(` Status: stopped`);break;case`stale`:console.log(` Status: stale (cleaned up)`);break}console.log(`
29
- === Background Sessions ===`),await(await import(`./bg-Dbh5z3Y8.js`)).psHandler([])}async function p(){let e=o();if(e.status===`stopped`){console.log(`daemon is not running`);return}if(e.status===`stale`){console.log(`daemon was stale (cleaned up)`);return}console.log(`stopping daemon (PID: ${e.state.pid})...`),await a()?console.log(`daemon stopped`):console.log(`daemon could not be stopped (may have already exited)`)}function m(e){let t={};for(let n=0;n<e.length;n++){let r=e[n];r===`--dir`&&n+1<e.length?t.dir=l(e[++n]):r.startsWith(`--dir=`)?t.dir=l(r.slice(6)):r===`--spawn-mode`&&n+1<e.length?t.spawnMode=e[++n]:r.startsWith(`--spawn-mode=`)?t.spawnMode=r.slice(13):r===`--capacity`&&n+1<e.length?t.capacity=e[++n]:r.startsWith(`--capacity=`)?t.capacity=r.slice(11):r===`--permission-mode`&&n+1<e.length?t.permissionMode=e[++n]:r.startsWith(`--permission-mode=`)?t.permissionMode=r.slice(18):r===`--sandbox`?t.sandbox=`1`:r===`--name`&&n+1<e.length?t.name=e[++n]:r.startsWith(`--name=`)&&(t.name=r.slice(7))}return t}async function h(e){let t=m(e),n=t.dir||l(`.`);console.log(`[daemon] supervisor starting in ${n}`);let r=[{kind:`remoteControl`,process:null,backoffMs:v,failureCount:0,parked:!1,lastStartTime:0,restartTimer:null}];i({pid:process.pid,cwd:n,startedAt:new Date().toISOString(),workerKinds:r.map(e=>e.kind),lastStatus:`running`});let a=new AbortController,o=()=>{console.log(`[daemon] supervisor shutting down...`),a.abort(),s();for(let e of r)e.restartTimer&&(clearTimeout(e.restartTimer),e.restartTimer=null),e.process&&!e.process.killed&&e.process.kill(`SIGTERM`)};process.on(`SIGTERM`,o),process.on(`SIGINT`,o);for(let e of r)a.signal.aborted||g(e,n,t,a.signal);await new Promise(e=>{if(a.signal.aborted){e();return}a.signal.addEventListener(`abort`,()=>e(),{once:!0})}),await Promise.all(r.filter(e=>e.process&&e.process.exitCode===null).map(e=>new Promise(t=>{if(!e.process||e.process.exitCode!==null){t();return}let n=null;e.process.on(`exit`,()=>{n&&(clearTimeout(n),n=null),t()}),n=setTimeout(()=>{e.process&&e.process.exitCode===null&&e.process.kill(`SIGKILL`),t()},3e4),n.unref?.()}))),console.log(`[daemon] supervisor stopped`)}function g(e,t,i,a){if(a.aborted||e.parked)return;e.lastStartTime=Date.now();let o={...process.env,DAEMON_WORKER_DIR:t,DAEMON_WORKER_NAME:i.name,DAEMON_WORKER_SPAWN_MODE:i.spawnMode||`same-dir`,DAEMON_WORKER_CAPACITY:i.capacity||`4`,DAEMON_WORKER_PERMISSION:i.permissionMode,DAEMON_WORKER_SANDBOX:i.sandbox||`0`,DAEMON_WORKER_CREATE_SESSION:`1`,CLAUDE_CODE_SESSION_KIND:`daemon-worker`};console.log(`[daemon] spawning worker '${e.kind}'`);let s=n(r([`--daemon-worker=${e.kind}`],{env:o}),{cwd:t,stdio:[`ignore`,`pipe`,`pipe`]});e.process=s,s.stdout?.on(`data`,e=>{let t=e.toString().trimEnd().split(`
30
- `);for(let e of t)console.log(` ${e}`)}),s.stderr?.on(`data`,e=>{let t=e.toString().trimEnd().split(`
31
- `);for(let e of t)console.error(` ${e}`)}),s.on(`exit`,(n,r)=>{if(e.process=null,!a.aborted){if(n===_){console.error(`[daemon] worker '${e.kind}' exited with permanent error — parking`),e.parked=!0;return}if(Date.now()-e.lastStartTime<1e4){if(e.failureCount++,e.failureCount>=x){console.error(`[daemon] worker '${e.kind}' failed ${e.failureCount} times rapidly — parking`),e.parked=!0;return}}else e.failureCount=0,e.backoffMs=v;console.log(`[daemon] worker '${e.kind}' exited (code=${n}, signal=${r}), restarting in ${e.backoffMs}ms`),e.restartTimer=setTimeout(()=>{e.restartTimer=null,!a.aborted&&!e.parked&&g(e,t,i,a)},e.backoffMs),e.restartTimer.unref?.(),e.backoffMs=Math.min(e.backoffMs*b,y)}})}var _,v,y,b,x;e((()=>{t(),c(),_=78,v=2e3,y=12e4,b=2,x=5}))();export{u as daemonMain};