claude-code-best 2.6.11 → 2.6.12

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 (484) hide show
  1. package/dist/chunks/{AddWorkspaceDirectory-CGKtPsTK.js → AddWorkspaceDirectory-LhW1QZFL.js} +1 -1
  2. package/dist/chunks/{App-DF28Bpg9.js → App-DYMNbl0d.js} +1 -1
  3. package/dist/chunks/ApproveApiKey-B1XCQNW6.js +1 -0
  4. package/dist/chunks/{ApproveApiKey-D21kbmQj.js → ApproveApiKey-Bi2Iq_gN.js} +1 -1
  5. package/dist/chunks/{AssistantSessionChooser-CDfwNVi5.js → AssistantSessionChooser-Dv6yYR3s.js} +1 -1
  6. package/dist/chunks/BackgroundTasksDialog-qS15If6H.js +2 -0
  7. package/dist/chunks/{BypassPermissionsModeDialog-BDWFw61G.js → BypassPermissionsModeDialog-Bhjd2F2o.js} +1 -1
  8. package/dist/chunks/{ClaudeInChromeOnboarding-CpN0yIU_.js → ClaudeInChromeOnboarding-CxBS5xZY.js} +1 -1
  9. package/dist/chunks/{ClaudeMdExternalIncludesDialog-CWRHpy22.js → ClaudeMdExternalIncludesDialog-CiANFiNV.js} +1 -1
  10. package/dist/chunks/ClaudeMdExternalIncludesDialog-nuKXhM2t.js +1 -0
  11. package/dist/chunks/ConsoleOAuthFlow-C8FzG3uF.js +1 -0
  12. package/dist/chunks/{DesktopHandoff-CKHLXiwc.js → DesktopHandoff-BSpzQF0U.js} +1 -1
  13. package/dist/chunks/{DevChannelsDialog-BwMFW7Wt.js → DevChannelsDialog-B2xqlZtS.js} +1 -1
  14. package/dist/chunks/{DiffDialog-oA1v0BMo.js → DiffDialog-XmOsaUeN.js} +2 -2
  15. package/dist/chunks/Doctor-C6FXh99k.js +1 -0
  16. package/dist/chunks/Doctor-DLx7Z_sA.js +3 -0
  17. package/dist/chunks/{ExitFlow-DJLYN-Bd.js → ExitFlow-CHDj7fv7.js} +2 -2
  18. package/dist/chunks/{Feedback-CpfhqIEv.js → Feedback-CUjTJbIh.js} +2 -2
  19. package/dist/chunks/Grove-B8ZQOflC.js +1 -0
  20. package/dist/chunks/{Grove-BugC6ssx.js → Grove-fenDMHVw.js} +1 -1
  21. package/dist/chunks/{HybridTransport-PeXWuYfl.js → HybridTransport-CP63usH9.js} +1 -1
  22. package/dist/chunks/{ITermBackend-dcs68DGS.js → ITermBackend-Bp_3qpix.js} +1 -1
  23. package/dist/chunks/{InvalidConfigDialog-DdB9_Ve0.js → InvalidConfigDialog-CgD7HSg0.js} +1 -1
  24. package/dist/chunks/{InvalidSettingsDialog-BL8nxwWQ.js → InvalidSettingsDialog-pYMa5Fp4.js} +1 -1
  25. package/dist/chunks/MCPConnectionManager-ip1xShU_.js +1 -0
  26. package/dist/chunks/{McpParsingWarnings-BYPXpmte.js → McpParsingWarnings-DhobExFM.js} +1 -1
  27. package/dist/chunks/MessageSelector-B2X6zrsb.js +3 -0
  28. package/dist/chunks/Messages-CmsZIA66.js +11 -0
  29. package/dist/chunks/{Onboarding-ByLnHSnW.js → Onboarding-BaoLhLiT.js} +1 -1
  30. package/dist/chunks/{OverageCreditUpsell-CVNfTSKG.js → OverageCreditUpsell-DnLMobAh.js} +1 -1
  31. package/dist/chunks/{PluginSettings-h9Lj0vW6.js → PluginSettings-BetzicTb.js} +3 -3
  32. package/dist/chunks/{PromptInputFooterSuggestions-CYWSLCgA.js → PromptInputFooterSuggestions-D-1hRFAD.js} +1 -1
  33. package/dist/chunks/{PromptInputHelpMenu-BsYNhZCw.js → PromptInputHelpMenu-DnQj3Hpq.js} +1 -1
  34. package/dist/chunks/QueryEngine-BwvqdZVN.js +1 -0
  35. package/dist/chunks/REPL-CCgaPc2g.js +1 -0
  36. package/dist/chunks/{REPL-CV12-ns7.js → REPL-zS2s1JnV.js} +34 -34
  37. package/dist/chunks/{RemoteCallout-WWO84za-.js → RemoteCallout-B9hClSYj.js} +1 -1
  38. package/dist/chunks/{RemoteSessionManager-Dx2skKnM.js → RemoteSessionManager-BgLIvi8Z.js} +2 -2
  39. package/dist/chunks/ResumeConversation-DAMMGHGc.js +1 -0
  40. package/dist/chunks/{SSETransport-BHdzk1HO.js → SSETransport-CD7R7FfS.js} +1 -1
  41. package/dist/chunks/SearchExtraToolsTool-CP6G9xhL.js +1 -0
  42. package/dist/chunks/{SentryErrorBoundary-CmewX8Dv.js → SentryErrorBoundary-6dQQW6kh.js} +1 -1
  43. package/dist/chunks/SentryErrorBoundary-B2e3QmqR.js +1 -0
  44. package/dist/chunks/Settings-DgW58gbY.js +2 -0
  45. package/dist/chunks/{TeleportProgress-BmbhZlOg.js → TeleportProgress-D_USKi0I.js} +1 -1
  46. package/dist/chunks/TeleportRepoMismatchDialog-C1-iWmRP.js +1 -0
  47. package/dist/chunks/{TeleportResumeWrapper-BlkvOdYn.js → TeleportResumeWrapper-BX9nUVsC.js} +1 -1
  48. package/dist/chunks/{ThemePicker-v_3lh136.js → ThemePicker-C0JghXSS.js} +1 -1
  49. package/dist/chunks/{TmuxBackend-B7Nabc5t.js → TmuxBackend-BxPiis2l.js} +1 -1
  50. package/dist/chunks/{TrustDialog-CHu5eoeR.js → TrustDialog-BZD-KGrA.js} +1 -1
  51. package/dist/chunks/{ValidationErrorsList-BSMetgqr.js → ValidationErrorsList-CTFdkGiH.js} +1 -1
  52. package/dist/chunks/{WelcomeV2-DZfBSTu5.js → WelcomeV2-C7F1y8zh.js} +1 -1
  53. package/dist/chunks/{WindowsTerminalBackend-CeSoQ_Nk.js → WindowsTerminalBackend-DLxmmXo4.js} +2 -2
  54. package/dist/chunks/{add-dir-7UeFZkdv.js → add-dir-Dhv9aEca.js} +1 -1
  55. package/dist/chunks/{agentDisplay-DJgsfIlm.js → agentDisplay-BoBFMmGh.js} +1 -1
  56. package/dist/chunks/{agents-DD7gQVZD.js → agents-Bt9kYpgi.js} +1 -1
  57. package/dist/chunks/{agents-DK0y9jId.js → agents-CdsfzK3E.js} +7 -7
  58. package/dist/chunks/{ant-PhgMZT08.js → ant-Bo6XJuE9.js} +1 -1
  59. package/dist/chunks/api-CRPzfBL5.js +1 -0
  60. package/dist/chunks/{api-nHsRf03G.js → api-CslgFoHj.js} +1 -1
  61. package/dist/chunks/{assistant-DO7RAhd3.js → assistant--L1Ll62G.js} +1 -1
  62. package/dist/chunks/assistant-DypEudjI.js +1 -0
  63. package/dist/chunks/{assistant-BJbeizyH.js → assistant-od6Nf6EJ.js} +1 -1
  64. package/dist/chunks/auth-BaaTtn3M.js +1 -0
  65. package/dist/chunks/{auth-DxRiJwZ-.js → auth-yKNn60lZ.js} +1 -1
  66. package/dist/chunks/{autoMode-BswSpjo5.js → autoMode-C4b9u7WQ.js} +6 -6
  67. package/dist/chunks/{autonomy-Lc78acHX.js → autonomy-7nZpCyNC.js} +12 -12
  68. package/dist/chunks/{autonomy-CNJQwoAQ.js → autonomy-rMsykUYN.js} +1 -1
  69. package/dist/chunks/{autonomyPanel-DxcumRp-.js → autonomyPanel-j0q1dMDj.js} +1 -1
  70. package/dist/chunks/backgroundHousekeeping-DGAYPsK9.js +1 -0
  71. package/dist/chunks/backgroundHousekeeping-KCpR7i2h.js +17 -0
  72. package/dist/chunks/{branch-BPsUW1dk.js → branch-GL4WvvLa.js} +2 -2
  73. package/dist/chunks/{bridge-DcOGvDbb.js → bridge-BVzpVEsr.js} +2 -2
  74. package/dist/chunks/bridgeConfig-B1OTOi0O.js +1 -0
  75. package/dist/chunks/{bridgeConfig-CvKdNJOg.js → bridgeConfig-C110hgnb.js} +1 -1
  76. package/dist/chunks/{bridgeEnabled-D01faWms.js → bridgeEnabled-DrW-kkAr.js} +1 -1
  77. package/dist/chunks/bridgeEnabled-Zk2slA-p.js +1 -0
  78. package/dist/chunks/bridgeMain-C-MUVlCX.js +68 -0
  79. package/dist/chunks/bridgeMain-L1ScqrgM.js +1 -0
  80. package/dist/chunks/{bridgeMessaging-BZMDSZAN.js → bridgeMessaging-DobCpZGY.js} +1 -1
  81. package/dist/chunks/{btw-B8s-X_cm.js → btw-CSDRs-n8.js} +1 -1
  82. package/dist/chunks/{buddy-DkB1xU1o.js → buddy-D3Owb2U5.js} +1 -1
  83. package/dist/chunks/{bypassPermissionsKillswitch-B9Qz9zKO.js → bypassPermissionsKillswitch-B_5qku-e.js} +1 -1
  84. package/dist/chunks/caches-CpgRh__l.js +1 -0
  85. package/dist/chunks/{caches-BuSzLvN9.js → caches-Di_WVMtD.js} +2 -2
  86. package/dist/chunks/{ccrClient-CMZXfu9P.js → ccrClient-CWH1f8Nk.js} +1 -1
  87. package/dist/chunks/changeDetector-DEStinxa.js +1 -0
  88. package/dist/chunks/channelNotification-DxAS15nL.js +1 -0
  89. package/dist/chunks/{channelNotification-t6Kgu-vX.js → channelNotification-Y5fNpq-B.js} +1 -1
  90. package/dist/chunks/{chrome-Cvkozg2F.js → chrome-Cgl-Sq1y.js} +1 -1
  91. package/dist/chunks/clear-Dja0RB_p.js +1 -0
  92. package/dist/chunks/client-DuWXRBa0.js +1 -0
  93. package/dist/chunks/color-tvVGbuuv.js +1 -0
  94. package/dist/chunks/commands-ElmJnxRE.js +1 -0
  95. package/dist/chunks/{commitAttribution-CUqUEjsh.js → commitAttribution-CedoNRL0.js} +1 -1
  96. package/dist/chunks/commitAttribution-D6vYpAMS.js +1 -0
  97. package/dist/chunks/compact-BwsLImWZ.js +3 -0
  98. package/dist/chunks/{companion-Cf_kYtOD.js → companion-C3hWMSgF.js} +1 -1
  99. package/dist/chunks/{config-45GLd-lt.js → config-BHCIawwx.js} +1 -1
  100. package/dist/chunks/{config-JGm0O-ZQ.js → config-Dh0QGc4B.js} +1 -1
  101. package/dist/chunks/{context-Bl5VUX5M.js → context-CSHiU4LG.js} +1 -1
  102. package/dist/chunks/{context-noninteractive-DdPFYYO9.js → context-noninteractive-CKFY_j1P.js} +2 -2
  103. package/dist/chunks/context-noninteractive-DirFwn0d.js +1 -0
  104. package/dist/chunks/conversation-DfIv8Jzc.js +1 -0
  105. package/dist/chunks/conversation-Dyb5kfil.js +1 -0
  106. package/dist/chunks/{copy-CbhxPqw4.js → copy-BSyDpOx5.js} +2 -2
  107. package/dist/chunks/{createSSHSession-Dq2nMChz.js → createSSHSession-PfzB7zZR.js} +1 -1
  108. package/dist/chunks/{createSession-DTHPUie-.js → createSession-Bk6r39b1.js} +1 -1
  109. package/dist/chunks/createSession-DdsaDZoq.js +1 -0
  110. package/dist/chunks/{cronJitterConfig-IGWCRDrv.js → cronJitterConfig-BFVNIkjD.js} +3 -3
  111. package/dist/chunks/crossProjectResume-CdoH1cwH.js +40 -0
  112. package/dist/chunks/{daemon-VYRit6Aq.js → daemon-CCtZ9wY3.js} +1 -1
  113. package/dist/chunks/{datadog-FKvRNyFi.js → datadog-By0GhDXI.js} +1 -1
  114. package/dist/chunks/datadog-CTRRIaBJ.js +1 -0
  115. package/dist/chunks/{desktop-ZASE3YWy.js → desktop-BV6CI329.js} +1 -1
  116. package/dist/chunks/{diff-QP-TbxuD.js → diff-qDuBFv-P.js} +1 -1
  117. package/dist/chunks/{doctor-DVkgmkRb.js → doctor-BtTsew-G.js} +1 -1
  118. package/dist/chunks/earlyInput-RoVleNEN.js +1 -0
  119. package/dist/chunks/{effort-DbryQCua.js → effort-DSpAOBeU.js} +2 -2
  120. package/dist/chunks/{entry-D8y42iuM.js → entry-CYCQJU7M.js} +8 -8
  121. package/dist/chunks/envLessBridgeConfig-B3o52JMX.js +1 -0
  122. package/dist/chunks/{envLessBridgeConfig-D4bSwf7w.js → envLessBridgeConfig-BKs6Mk4e.js} +1 -1
  123. package/dist/chunks/exit-BgaIlRuS.js +1 -0
  124. package/dist/chunks/{export-C9A9nOA1.js → export-BOQCWSMm.js} +1 -1
  125. package/dist/chunks/{exportRenderer-CyTuZFFF.js → exportRenderer-B-2J3ocI.js} +1 -1
  126. package/dist/chunks/extra-usage-BLVbAE1O.js +1 -0
  127. package/dist/chunks/{extra-usage-C6s5mXW0.js → extra-usage-S4WYpDn5.js} +1 -1
  128. package/dist/chunks/{extra-usage-core-BFCwz3XM.js → extra-usage-core-Sq4JALS7.js} +1 -1
  129. package/dist/chunks/{extra-usage-noninteractive-IHq7s6wm.js → extra-usage-noninteractive-BlJVTTwe.js} +1 -1
  130. package/dist/chunks/{extraUsage-CIrG_Lbw.js → extraUsage-CMJ1LEPS.js} +1 -1
  131. package/dist/chunks/extractMemories-BpN0fQF-.js +1 -0
  132. package/dist/chunks/fast-B8a-zz4X.js +1 -0
  133. package/dist/chunks/{fast-NEKXVZqQ.js → fast-OzVowRYW.js} +1 -1
  134. package/dist/chunks/{feedback-D5iWO16P.js → feedback-BZet1Qu_.js} +1 -1
  135. package/dist/chunks/{firstPartyEventLogger-Dr3TK3IU.js → firstPartyEventLogger-DeytNcUC.js} +1 -1
  136. package/dist/chunks/{flushGate-DygHyqmB.js → flushGate-CeFJrqgK.js} +1 -1
  137. package/dist/chunks/{gates-Dyz_t5zJ.js → gates-Be4ovdxj.js} +1 -1
  138. package/dist/chunks/gates-WmmZ-8JT.js +1 -0
  139. package/dist/chunks/gemini-DExthrur.js +1 -0
  140. package/dist/chunks/{generateRecap-DZiXeYWn.js → generateRecap-BIFrnTIe.js} +1 -1
  141. package/dist/chunks/{generateSessionName-EbB2vl9t.js → generateSessionName-DlC0lhSv.js} +1 -1
  142. package/dist/chunks/{githubRepoPathMapping-dky2fPeU.js → githubRepoPathMapping-BKB2G52c.js} +1 -1
  143. package/dist/chunks/grok-BNxCseLh.js +1 -0
  144. package/dist/chunks/{growthbook-JD-WW3yV.js → growthbook-B3_MJJ45.js} +1 -1
  145. package/dist/chunks/{heapdump-8vyFTWly.js → heapdump-sPWpCjXq.js} +1 -1
  146. package/dist/chunks/{help-C2DM0p8U.js → help-BuUi6cM0.js} +1 -1
  147. package/dist/chunks/{hooks-CMh0a2pT.js → hooks-5vDlGpNp.js} +2 -2
  148. package/dist/chunks/hooks-CVJA4uQu.js +1 -0
  149. package/dist/chunks/{hostAdapter-CmbGfgNV.js → hostAdapter-BfBHV5nj.js} +1 -1
  150. package/dist/chunks/{ide-Bn8R7397.js → ide-DvUftvRn.js} +2 -2
  151. package/dist/chunks/inboundAttachments-CQyeysIk.js +1 -0
  152. package/dist/chunks/{inboundAttachments-BweY9sYo.js → inboundAttachments-CiF42Eku.js} +1 -1
  153. package/dist/chunks/initReplBridge-Bzg5Gx97.js +1 -0
  154. package/dist/chunks/{insights-NOl_PxhN.js → insights-CvwFcRQt.js} +64 -64
  155. package/dist/chunks/{install-github-app-SD4PvrTR.js → install-github-app-DxxG2VlZ.js} +2 -2
  156. package/dist/chunks/{install-slack-app-DLQXpOCt.js → install-slack-app-Bc5m1UFG.js} +1 -1
  157. package/dist/chunks/{install-BoT2GIcz.js → install-tclc0QHM.js} +1 -1
  158. package/dist/chunks/{instrumentation-BXJk0mxI.js → instrumentation-Dn_FDn6G.js} +3 -3
  159. package/dist/chunks/{job-CnlMlm3t.js → job-ssZ2ESAX.js} +1 -1
  160. package/dist/chunks/{keybindings-BjaRqcbD.js → keybindings-DVZlobLM.js} +2 -2
  161. package/dist/chunks/{lang-BI8CzjL6.js → lang-BQ--zwb1.js} +1 -1
  162. package/dist/chunks/language-BM5numKK.js +1 -0
  163. package/dist/chunks/{language-CRIdgj2F.js → language-CcxtaVJA.js} +1 -1
  164. package/dist/chunks/{launchAgentsPlatform-Bg9guiqy.js → launchAgentsPlatform-CLwlpK5C.js} +1 -1
  165. package/dist/chunks/{launchAutofixPr-BMfXGXwN.js → launchAutofixPr-vGLlC4Jm.js} +3 -3
  166. package/dist/chunks/{launchLocalMemory-lgnXOi6U.js → launchLocalMemory-DJ4pR8a2.js} +2 -2
  167. package/dist/chunks/{launchLocalVault-C0Oz-lto.js → launchLocalVault-Cl7Dds3W.js} +3 -3
  168. package/dist/chunks/{launchMemoryStores-Bw11ruRi.js → launchMemoryStores-Czk-a1P6.js} +1 -1
  169. package/dist/chunks/{launchOnboarding-WEW34cnl.js → launchOnboarding-66gN_781.js} +1 -1
  170. package/dist/chunks/{launchSchedule-X0rcM_kM.js → launchSchedule-Tx5efcfv.js} +1 -1
  171. package/dist/chunks/{launchSkillStore-DpxSlMCU.js → launchSkillStore-BGPd1KCD.js} +1 -1
  172. package/dist/chunks/{launchTeleport-uOtMsYcI.js → launchTeleport-DzXrNn2h.js} +2 -2
  173. package/dist/chunks/{launchVault-CJyJaPqH.js → launchVault-C5djf6XO.js} +1 -1
  174. package/dist/chunks/{loadAgentsDir-D-xcJ22-.js → loadAgentsDir-DaApSWNv.js} +807 -764
  175. package/dist/chunks/loadAgentsDir-_BePoo3r.js +1 -0
  176. package/dist/chunks/loadPluginHooks-GENkKqO8.js +1 -0
  177. package/dist/chunks/{localSearch-B6Ho7Vfj.js → localSearch-BQuH38SB.js} +1 -1
  178. package/dist/chunks/localSearch-BSR9byCr.js +1 -0
  179. package/dist/chunks/{login-uOvq1xN_.js → login-C64M5OdJ.js} +1 -1
  180. package/dist/chunks/login-dkrrvdEl.js +1 -0
  181. package/dist/chunks/{logoV2Utils-C2cdcgtp.js → logoV2Utils-D6ceZmK0.js} +1 -1
  182. package/dist/chunks/logout-BITK5qkB.js +1 -0
  183. package/dist/chunks/{magicDocs-BBjAhGN1.js → magicDocs-KPodA4bi.js} +2 -2
  184. package/dist/chunks/{main-DGsAUuG_.js → main-wb2H0Xbt.js} +48 -48
  185. package/dist/chunks/{mappers-CO6koWDa.js → mappers-D54WYYhL.js} +1 -1
  186. package/dist/chunks/mcp-Bgeq8jbd.js +6 -0
  187. package/dist/chunks/mcp-CJvRg7ft.js +2 -0
  188. package/dist/chunks/mcp-Ddvz5we7.js +1 -0
  189. package/dist/chunks/{mcpServer-C-0K3Azg.js → mcpServer-VYXTzAFl.js} +1 -1
  190. package/dist/chunks/{mcpServer-C_aDoLMg.js → mcpServer-d0863d94.js} +1 -1
  191. package/dist/chunks/memory-BNyVCuw9.js +1 -0
  192. package/dist/chunks/mode-D_L3DNsz.js +2 -0
  193. package/dist/chunks/model-DevOJk2A.js +1 -0
  194. package/dist/chunks/{model-CrAPXYZA.js → model-Dy_oUo2C.js} +1 -1
  195. package/dist/chunks/{onChangeAppState-C6ZIU1SD.js → onChangeAppState-GPs10FBm.js} +1 -1
  196. package/dist/chunks/{openai-Cm4gozk8.js → openai-C0CrRENO.js} +3 -3
  197. package/dist/chunks/{overageCreditGrant-Pe7C_4Qi.js → overageCreditGrant-DCiIf_SF.js} +1 -1
  198. package/dist/chunks/{panel-Bz_8td5D.js → panel-s9fbCKfl.js} +1 -1
  199. package/dist/chunks/{passes-BpI6azLG.js → passes-C9oR06Fa.js} +1 -1
  200. package/dist/chunks/{paths-D9CVAtXU.js → paths-BZbIj1Z1.js} +3 -3
  201. package/dist/chunks/permissions-DNb8DG22.js +3 -0
  202. package/dist/chunks/{pipeTransport-wjeyTgon.js → pipeTransport-Cx55TUNu.js} +1 -1
  203. package/dist/chunks/{plan-DA8IRpHQ.js → plan-D-RJTUxb.js} +1 -1
  204. package/dist/chunks/{plugin-N2pTkzOz.js → plugin-BV-DabiK.js} +1 -1
  205. package/dist/chunks/{pluginAutoupdate-DCc5qDvo.js → pluginAutoupdate-DPciQRLz.js} +1 -1
  206. package/dist/chunks/pluginBlocklist-CtSUf3sp.js +1 -0
  207. package/dist/chunks/{pluginCliCommands-BN7loc5T.js → pluginCliCommands-Cbcc-AQq.js} +1 -1
  208. package/dist/chunks/{pluginFlagging-Dpu1cvMo.js → pluginFlagging-D2d7jd4v.js} +1 -1
  209. package/dist/chunks/pluginOperations-rU56uptC.js +2 -0
  210. package/dist/chunks/{pluginStartupCheck-DvWHwNnD.js → pluginStartupCheck-DuhCLRbp.js} +1 -1
  211. package/dist/chunks/pluginStartupCheck-DwY7j_Cg.js +1 -0
  212. package/dist/chunks/plugins-LbLpZOhz.js +4 -0
  213. package/dist/chunks/policyLimits-Dl863Z85.js +1 -0
  214. package/dist/chunks/{pollConfig-xYxAmuXi.js → pollConfig-orFqIbGd.js} +1 -1
  215. package/dist/chunks/{poor-C0KwfFF0.js → poor-2u_yWIRG.js} +1 -1
  216. package/dist/chunks/poorMode-BBr7GGQ3.js +1 -0
  217. package/dist/chunks/{poorMode-D7WXWZtJ.js → poorMode-DtQVZvON.js} +1 -1
  218. package/dist/chunks/print-BgLbepaC.js +39 -0
  219. package/dist/chunks/{privacy-settings-DT3LGgsH.js → privacy-settings-CC_FyvjV.js} +1 -1
  220. package/dist/chunks/processBashCommand-DnekNzlT.js +1 -0
  221. package/dist/chunks/processSlashCommand-sLL0pyIW.js +6 -0
  222. package/dist/chunks/{projectContext-0fpRKUeH.js → projectContext-D5FgyE-d.js} +1 -1
  223. package/dist/chunks/{prompt-C69iv9cI.js → prompt-DHHypkUR.js} +1 -1
  224. package/dist/chunks/prompt-Dexwn9YP.js +1 -0
  225. package/dist/chunks/prompt-DhaPVt1T.js +1 -0
  226. package/dist/chunks/{promptEditor-BZqpLrcZ.js → promptEditor-I8ZpszKv.js} +2 -2
  227. package/dist/chunks/{protocolHandler-CfmBTg36.js → protocolHandler-CEsrhel_.js} +1 -1
  228. package/dist/chunks/rate-limit-options-B0Iyzr4x.js +1 -0
  229. package/dist/chunks/{rcDebugLog-CTOZ2K3E.js → rcDebugLog-CF73Wofq.js} +1 -1
  230. package/dist/chunks/{referral-D26orIXE.js → referral-Nz20w4pB.js} +1 -1
  231. package/dist/chunks/refresh-DecpoOX1.js +1 -0
  232. package/dist/chunks/{registerProtocol-DSQh-I21.js → registerProtocol-CAoaYyt8.js} +1 -1
  233. package/dist/chunks/registry-BQdQRu-K.js +1 -0
  234. package/dist/chunks/{release-notes-Cg85UVo8.js → release-notes-C0HeOmQY.js} +1 -1
  235. package/dist/chunks/{releaseNotes-Dps4SeVh.js → releaseNotes-BDzfbUAu.js} +2 -2
  236. package/dist/chunks/{reload-plugins-Bo-R1CF3.js → reload-plugins-BZ4LTYY3.js} +1 -1
  237. package/dist/chunks/{remote-env-ChQuV3rO.js → remote-env-CPalv-BL.js} +1 -1
  238. package/dist/chunks/{remoteBridgeCore-BXtygJA-.js → remoteBridgeCore-B2yFfG6S.js} +1 -1
  239. package/dist/chunks/{remoteControlServer-sqW_JLwC.js → remoteControlServer-CsnLedUv.js} +2 -2
  240. package/dist/chunks/rename-CQPtjj_Q.js +1 -0
  241. package/dist/chunks/{resume-CtOI2pOJ.js → resume-Ycuezjv2.js} +2 -2
  242. package/dist/chunks/{runtimeObserver-DojpbVgU.js → runtimeObserver-CW0_wm1t.js} +1 -1
  243. package/dist/chunks/{runtimeObserver-CJ955XSo.js → runtimeObserver-DnhLm9O1.js} +3 -3
  244. package/dist/chunks/sandbox-adapter-BOsa-en7.js +1 -0
  245. package/dist/chunks/{sandbox-toggle-B9dn09gt.js → sandbox-toggle-Bl5Drxeo.js} +1 -1
  246. package/dist/chunks/searchExtraTools-CgdrY8XO.js +1 -0
  247. package/dist/chunks/{sentry-B6tWUNGj.js → sentry-BN3GTgYM.js} +1 -1
  248. package/dist/chunks/{session-C5yIf_zV.js → session-ULekTZVn.js} +2 -2
  249. package/dist/chunks/{sessionDiscovery-CQ3iMN4s.js → sessionDiscovery-DAmbR6o-.js} +1 -1
  250. package/dist/chunks/sessionFileAccessHooks-C-o5001P.js +1 -0
  251. package/dist/chunks/sessionMemory-Bg458voj.js +1 -0
  252. package/dist/chunks/sessionMemory-DR-esdhZ.js +1 -0
  253. package/dist/chunks/sessionMemoryUtils-DgVGiwjB.js +1 -0
  254. package/dist/chunks/sessionObserver-C5cujEe6.js +1 -0
  255. package/dist/chunks/{sessionObserver-MQA9_wZw.js → sessionObserver-CQ3PQWgU.js} +1 -1
  256. package/dist/chunks/sessionStorage-BIDUQ8wo.js +1 -0
  257. package/dist/chunks/{sessionTitle-BafqFHLc.js → sessionTitle-DyexSH43.js} +1 -1
  258. package/dist/chunks/{sessionTracing-_obALZbi.js → sessionTracing-gKle2qzF.js} +1 -1
  259. package/dist/chunks/{settingsSync-DBWi-NXU.js → settingsSync-BWW4FOMm.js} +1 -1
  260. package/dist/chunks/{setup-DIxsjw17.js → setup-DX6984LY.js} +1 -1
  261. package/dist/chunks/setup-OvlOCIFL.js +2 -0
  262. package/dist/chunks/{setup-C_GrS0Rd.js → setup-n91rSYO2.js} +1 -1
  263. package/dist/chunks/{shadowedRuleDetection-CwMwv9uM.js → shadowedRuleDetection-uYIZBoii.js} +1 -1
  264. package/dist/chunks/{sideQuestion-CI5pyoQF.js → sideQuestion-DIMsNoEc.js} +2 -2
  265. package/dist/chunks/sink-BBn0HwoH.js +1 -0
  266. package/dist/chunks/{sink-BSTUubjl.js → sink-DLRpC2qX.js} +1 -1
  267. package/dist/chunks/{sinks-B9EsWFeb.js → sinks-BI1hGD9c.js} +2 -2
  268. package/dist/chunks/sinks-DKGE2sSC.js +1 -0
  269. package/dist/chunks/{skill-learning-DThetLpo.js → skill-learning-Dz-Zq-xT.js} +1 -1
  270. package/dist/chunks/skillChangeDetector-C2Te20cK.js +1 -0
  271. package/dist/chunks/{skillGapStore-BmjCK9ZR.js → skillGapStore-BFpryJIe.js} +2 -2
  272. package/dist/chunks/{skillGapStore-ax0GuSmd.js → skillGapStore-CxPjoWci.js} +1 -1
  273. package/dist/chunks/{skillGenerator-Dj3xInwG.js → skillGenerator-BGOIb5p-.js} +2 -2
  274. package/dist/chunks/skillLearning-BRvWwB8E.js +1 -0
  275. package/dist/chunks/skillLearning-DTo7lCKd.js +1 -0
  276. package/dist/chunks/{skillPanel-CJ4tvX7A.js → skillPanel-DzYZLnuH.js} +3 -3
  277. package/dist/chunks/{skillSearchPanel-hwZvXKZ4.js → skillSearchPanel-DrysL5R-.js} +3 -3
  278. package/dist/chunks/{skills-BVWDDcD9.js → skills-CTfNqisc.js} +1 -1
  279. package/dist/chunks/{sprites-B-V9otkt.js → sprites-CHzZCAGE.js} +1 -1
  280. package/dist/chunks/{stats-DcS6ZnsX.js → stats-D2s-hIY8.js} +1 -1
  281. package/dist/chunks/{status-DZKjK9CE.js → status-XxrX2kHw.js} +1 -1
  282. package/dist/chunks/statusNoticeHelpers-CUm1pflC.js +1 -0
  283. package/dist/chunks/{tag-B5b-waIf.js → tag-FV031rKW.js} +2 -2
  284. package/dist/chunks/{tasks-vXM-vULI.js → tasks-aK2rp8CW.js} +1 -1
  285. package/dist/chunks/{teamHelpers-CbFFdvPw.js → teamHelpers-2m66Mr8w.js} +1 -1
  286. package/dist/chunks/teamHelpers-Bg3nHlWr.js +1 -0
  287. package/dist/chunks/{teammateModeSnapshot-DkkMv2-b.js → teammateModeSnapshot-BtdUJBKp.js} +1 -1
  288. package/dist/chunks/teammateModeSnapshot-VojvAMbR.js +1 -0
  289. package/dist/chunks/teleport-4x9eIl8c.js +1 -0
  290. package/dist/chunks/{templateJobs-BLQqrGjb.js → templateJobs-fEz4DGWh.js} +1 -1
  291. package/dist/chunks/{terminalSetup-BLU99dau.js → terminalSetup-Cjdlcznm.js} +1 -1
  292. package/dist/chunks/{terminalSetup-BKfVYk3w.js → terminalSetup-EirH-l0a.js} +1 -1
  293. package/dist/chunks/{theme-BM2CXWYE.js → theme-BjdEyakL.js} +1 -1
  294. package/dist/chunks/thinkback-CrW3VlCR.js +1 -0
  295. package/dist/chunks/thinkback-DHyz-lmU.js +1 -0
  296. package/dist/chunks/thinkback-play-B46ystVF.js +1 -0
  297. package/dist/chunks/{toolEventObserver-nxcfjaur.js → toolEventObserver-CJ68x4wM.js} +1 -1
  298. package/dist/chunks/{toolEventObserver-71WYUega.js → toolEventObserver-Dak6ETA6.js} +1 -1
  299. package/dist/chunks/toolPool-3CMCh3QU.js +1 -0
  300. package/dist/chunks/toolPool-BHdCDihh.js +1 -0
  301. package/dist/chunks/{trustedDevice-C0KJ0qiK.js → trustedDevice-QhApqKq4.js} +1 -1
  302. package/dist/chunks/{trustedDevice-Brc9B8cZ.js → trustedDevice-oDn6E85N.js} +1 -1
  303. package/dist/chunks/{tui-BVc2q4Xv.js → tui-geoc3zxu.js} +1 -1
  304. package/dist/chunks/{ultrareviewCommand-BY0T8Pzl.js → ultrareviewCommand-Ar9zzqz4.js} +2 -2
  305. package/dist/chunks/undercover-D1ieJ54D.js +1 -0
  306. package/dist/chunks/{undercover-j27F8p49.js → undercover-DZq2Tf-o.js} +1 -1
  307. package/dist/chunks/{updateCCB-Dgb2ed9v.js → updateCCB-Db3CfFcn.js} +1 -1
  308. package/dist/chunks/upgrade-B28O0zeQ.js +1 -0
  309. package/dist/chunks/{upgrade-zs7K9UkG.js → upgrade-BZvNOhEJ.js} +1 -1
  310. package/dist/chunks/{upload-Df84yCBz.js → upload-DAmbsBq4.js} +1 -1
  311. package/dist/chunks/{usage-DKENFl_k.js → usage-COv9UCxX.js} +1 -1
  312. package/dist/chunks/{usage-lTILrQJV.js → usage-Dtv3YQf8.js} +1 -1
  313. package/dist/chunks/useMainLoopModel-BpM3dlzJ.js +1 -0
  314. package/dist/chunks/{useManagePlugins-DDKeDfIv.js → useManagePlugins-DZ-_Ll9E.js} +1 -1
  315. package/dist/chunks/useMergedTools-INKnp2ij.js +1 -0
  316. package/dist/chunks/{useSearchInput-DNpNG36H.js → useSearchInput-DobM3JKI.js} +1 -1
  317. package/dist/chunks/useSettingsErrors-DjvaCC5-.js +1 -0
  318. package/dist/chunks/{useVoice-DmObXoAh.js → useVoice-exDfbv1t.js} +1 -1
  319. package/dist/chunks/{util-9vJ9WIeZ.js → util-CDzNDmax.js} +1 -1
  320. package/dist/chunks/utils-B0iiiW_p.js +1 -0
  321. package/dist/chunks/validatePlugin-DaLnfLSC.js +1 -0
  322. package/dist/chunks/{vim-CK7lReJi.js → vim-CPKu15l_.js} +1 -1
  323. package/dist/chunks/{voice-BLVF7E3Q.js → voice-gNxUce-I.js} +2 -2
  324. package/dist/chunks/voiceModeEnabled-CwPbMJ9C.js +1 -0
  325. package/dist/chunks/{voiceModeEnabled-BpLBjY2-.js → voiceModeEnabled-DEwGjUP6.js} +1 -1
  326. package/dist/chunks/voiceStreamSTT-6b3Oslnl.js +1 -0
  327. package/dist/chunks/{voiceStreamSTT-i4tUq3Hu.js → voiceStreamSTT-BjX-mTB_.js} +1 -1
  328. package/dist/chunks/{workerRegistry-Bg7dWLHf.js → workerRegistry-Bc6t6VlK.js} +1 -1
  329. package/dist/chunks/worktree-NnuvJmoP.js +1 -0
  330. package/dist/chunks/{xml-K_hNNh2b.js → xml-Dg8-vY8G.js} +1 -1
  331. package/dist/cli.js +1 -1
  332. package/package.json +1 -1
  333. package/dist/chunks/ApproveApiKey-BtiWOryM.js +0 -1
  334. package/dist/chunks/BackgroundTasksDialog-5RpkAbJz.js +0 -2
  335. package/dist/chunks/ClaudeMdExternalIncludesDialog-Dje7A0F2.js +0 -1
  336. package/dist/chunks/ConsoleOAuthFlow-DQf3dmj6.js +0 -1
  337. package/dist/chunks/Doctor-ButdpAkf.js +0 -1
  338. package/dist/chunks/Doctor-QVMo0fIh.js +0 -3
  339. package/dist/chunks/Grove-CmdRVv9F.js +0 -1
  340. package/dist/chunks/MCPConnectionManager-D2eAGUME.js +0 -1
  341. package/dist/chunks/MessageSelector-Bzq8CYAH.js +0 -3
  342. package/dist/chunks/Messages-uRxxAMW-.js +0 -11
  343. package/dist/chunks/QueryEngine-CxP2S3qi.js +0 -1
  344. package/dist/chunks/REPL-h1bwm8ee.js +0 -1
  345. package/dist/chunks/ResumeConversation-CagiCg7-.js +0 -1
  346. package/dist/chunks/SearchExtraToolsTool-BJ2d8mtx.js +0 -1
  347. package/dist/chunks/SentryErrorBoundary-CYiFofRZ.js +0 -1
  348. package/dist/chunks/Settings-BcgtW60l.js +0 -2
  349. package/dist/chunks/TeleportRepoMismatchDialog-BAwtgUhR.js +0 -1
  350. package/dist/chunks/api-D4aCzJS-.js +0 -1
  351. package/dist/chunks/assistant-Dvx-UrTi.js +0 -1
  352. package/dist/chunks/auth-Cp7Nt0ik.js +0 -1
  353. package/dist/chunks/backgroundHousekeeping-BkfWgzIP.js +0 -17
  354. package/dist/chunks/backgroundHousekeeping-BxBI2KkX.js +0 -1
  355. package/dist/chunks/bridgeConfig-Dkn5GGec.js +0 -1
  356. package/dist/chunks/bridgeEnabled-CjaYKTo5.js +0 -1
  357. package/dist/chunks/bridgeMain-Bu2oOX31.js +0 -68
  358. package/dist/chunks/bridgeMain-CEpOBx8Z.js +0 -1
  359. package/dist/chunks/caches-Bvl2jdxF.js +0 -1
  360. package/dist/chunks/changeDetector-DTXMv7gH.js +0 -1
  361. package/dist/chunks/channelNotification-B7s1OoRK.js +0 -1
  362. package/dist/chunks/clear-C9pufI6F.js +0 -1
  363. package/dist/chunks/client-CqJ5gRGj.js +0 -1
  364. package/dist/chunks/color-AYeAYKyq.js +0 -1
  365. package/dist/chunks/commands-LcLR5Vgx.js +0 -1
  366. package/dist/chunks/commitAttribution-BZupnGMc.js +0 -1
  367. package/dist/chunks/compact-BF0-0_qh.js +0 -3
  368. package/dist/chunks/context-noninteractive-BtzPsJ8k.js +0 -1
  369. package/dist/chunks/conversation-C3NWyOB3.js +0 -1
  370. package/dist/chunks/conversation-oX932vBQ.js +0 -1
  371. package/dist/chunks/createSession-1ewHG3eq.js +0 -1
  372. package/dist/chunks/crossProjectResume-WmabPBTO.js +0 -40
  373. package/dist/chunks/datadog-Da7KYZNF.js +0 -1
  374. package/dist/chunks/earlyInput-JGJo1zcC.js +0 -1
  375. package/dist/chunks/envLessBridgeConfig-CpW0G4Eh.js +0 -1
  376. package/dist/chunks/exit-BsNW67F9.js +0 -1
  377. package/dist/chunks/extra-usage-DL2C0_BM.js +0 -1
  378. package/dist/chunks/extractMemories-CA2eJwHy.js +0 -1
  379. package/dist/chunks/fast-B01NO2uA.js +0 -1
  380. package/dist/chunks/gates-BSpXbh9s.js +0 -1
  381. package/dist/chunks/gemini-BEmbnRQR.js +0 -1
  382. package/dist/chunks/grok-BM6ZJ4w2.js +0 -1
  383. package/dist/chunks/hooks-QXGwOfWj.js +0 -1
  384. package/dist/chunks/inboundAttachments-N5DKbZSl.js +0 -1
  385. package/dist/chunks/initReplBridge-3CfmzjJL.js +0 -1
  386. package/dist/chunks/language-DmbRGIs8.js +0 -1
  387. package/dist/chunks/loadAgentsDir-ILQxk_4G.js +0 -1
  388. package/dist/chunks/loadPluginHooks-BC1Ea7_D.js +0 -1
  389. package/dist/chunks/localSearch-COyJeP9E.js +0 -1
  390. package/dist/chunks/login-Cf89biEK.js +0 -1
  391. package/dist/chunks/logout-CEXwTlEX.js +0 -1
  392. package/dist/chunks/mcp-BrN_Tbq5.js +0 -6
  393. package/dist/chunks/mcp-CZltNml5.js +0 -1
  394. package/dist/chunks/mcp-D6JOqdT8.js +0 -2
  395. package/dist/chunks/memory-BYYOgo4e.js +0 -1
  396. package/dist/chunks/model-CHgqwg6N.js +0 -1
  397. package/dist/chunks/permissions-C7wcAYOc.js +0 -3
  398. package/dist/chunks/pluginBlocklist-C_Veew3p.js +0 -1
  399. package/dist/chunks/pluginOperations-CP6NFNog.js +0 -2
  400. package/dist/chunks/pluginStartupCheck-BF0xUEJG.js +0 -1
  401. package/dist/chunks/plugins-BHoniP5f.js +0 -4
  402. package/dist/chunks/policyLimits-sh7ywop0.js +0 -1
  403. package/dist/chunks/poorMode-DZQXZ_zu.js +0 -1
  404. package/dist/chunks/print-BcRG8gkQ.js +0 -39
  405. package/dist/chunks/processBashCommand-DPfJ9lrj.js +0 -1
  406. package/dist/chunks/processSlashCommand-DyPCeZux.js +0 -6
  407. package/dist/chunks/prompt-DaIJzI1P.js +0 -1
  408. package/dist/chunks/prompt-DnLsyywj.js +0 -1
  409. package/dist/chunks/rate-limit-options-P7oQuwrl.js +0 -1
  410. package/dist/chunks/refresh-BeSXaVya.js +0 -1
  411. package/dist/chunks/registry-Dp5W2V8B.js +0 -1
  412. package/dist/chunks/rename-Bigaipiq.js +0 -1
  413. package/dist/chunks/sandbox-adapter-BbrJOJNZ.js +0 -1
  414. package/dist/chunks/searchExtraTools-Denn1c1E.js +0 -1
  415. package/dist/chunks/sessionFileAccessHooks-1IAwziOQ.js +0 -1
  416. package/dist/chunks/sessionMemory-3TAJyNuJ.js +0 -1
  417. package/dist/chunks/sessionMemory-HZNzEOLd.js +0 -1
  418. package/dist/chunks/sessionMemoryUtils-BAkA4sGG.js +0 -1
  419. package/dist/chunks/sessionObserver-DqLMFMLM.js +0 -1
  420. package/dist/chunks/sessionStorage-CFfMypMQ.js +0 -1
  421. package/dist/chunks/setup-D1sQnli9.js +0 -2
  422. package/dist/chunks/sink-fGBOXJab.js +0 -1
  423. package/dist/chunks/sinks-BCl9slVM.js +0 -1
  424. package/dist/chunks/skillChangeDetector-BOH-fyEn.js +0 -1
  425. package/dist/chunks/skillLearning-BDsjN-u-.js +0 -1
  426. package/dist/chunks/skillLearning-CXUsWxdi.js +0 -1
  427. package/dist/chunks/statusNoticeHelpers-reCcymMR.js +0 -1
  428. package/dist/chunks/teamHelpers-BBhol4dD.js +0 -1
  429. package/dist/chunks/teammateModeSnapshot-W5G22rwQ.js +0 -1
  430. package/dist/chunks/teleport-Da0rKwCo.js +0 -1
  431. package/dist/chunks/thinkback-Cd1g_2A9.js +0 -1
  432. package/dist/chunks/thinkback-ChP6pvCS.js +0 -1
  433. package/dist/chunks/thinkback-play-Cg8Ys2dq.js +0 -1
  434. package/dist/chunks/toolPool-CN1cPGQz.js +0 -1
  435. package/dist/chunks/toolPool-CygNb5cr.js +0 -1
  436. package/dist/chunks/undercover-bx8TwG9W.js +0 -1
  437. package/dist/chunks/upgrade-BkHztwGA.js +0 -1
  438. package/dist/chunks/useMainLoopModel-X1PW9z5A.js +0 -1
  439. package/dist/chunks/useMergedTools-CC3XwtOR.js +0 -1
  440. package/dist/chunks/useSettingsErrors-vGzCYpIA.js +0 -1
  441. package/dist/chunks/utils-Dg0S2Vfn.js +0 -1
  442. package/dist/chunks/validatePlugin-_Z4zhjSx.js +0 -1
  443. package/dist/chunks/voiceModeEnabled-BqFYzoXw.js +0 -1
  444. package/dist/chunks/voiceStreamSTT-C0pkuXGm.js +0 -1
  445. package/dist/chunks/worktree-Cg4p1J__.js +0 -1
  446. /package/dist/chunks/{InProcessTransport-DB52dh4f.js → InProcessTransport-gJLr5CIx.js} +0 -0
  447. /package/dist/chunks/{attributionHooks-PygdohOh.js → attributionHooks-Br5LZ6bk.js} +0 -0
  448. /package/dist/chunks/{attributionTrailer-BpvhXgRP.js → attributionTrailer-BMTuK4Ax.js} +0 -0
  449. /package/dist/chunks/{autoModeDenials-Cp6VFdsm.js → autoModeDenials-D8eQ1CoM.js} +0 -0
  450. /package/dist/chunks/{banner-CVXH2xts.js → banner-32EBTKI7.js} +0 -0
  451. /package/dist/chunks/{bedrockClient-qi1-JCOK.js → bedrockClient-Ci523Btx.js} +0 -0
  452. /package/dist/chunks/{ccshareResume-DWLjTF22.js → ccshareResume-CqNm2k-J.js} +0 -0
  453. /package/dist/chunks/{chromeNativeHost-4U39yLtd.js → chromeNativeHost-DX8f9Y2L.js} +0 -0
  454. /package/dist/chunks/{claudeDesktop-D0S1eq1F.js → claudeDesktop-C1qQs6os.js} +0 -0
  455. /package/dist/chunks/{cleanup-Bg_gFgcj.js → cleanup-Pv6U3HiI.js} +0 -0
  456. /package/dist/chunks/{connectHeadless-CwsFt-Mh.js → connectHeadless-DFCrE6O4.js} +0 -0
  457. /package/dist/chunks/{dangerousBackend-BU_PHGR2.js → dangerousBackend-Du0K4q5Z.js} +0 -0
  458. /package/dist/chunks/{earlyInput-tRkbxFv2.js → earlyInput-feVuZGzR.js} +0 -0
  459. /package/dist/chunks/{eventLoopStallDetector-Dnh1fc31.js → eventLoopStallDetector-XfubcyMN.js} +0 -0
  460. /package/dist/chunks/{fpsMetrics-DeezdcwV.js → fpsMetrics-CEQt6Tk1.js} +0 -0
  461. /package/dist/chunks/{fuse-Ch_OAlm3.js → fuse-TM-TeOo_.js} +0 -0
  462. /package/dist/chunks/{instinctParser-DHMa8xa0.js → instinctParser-CJPM8VjX.js} +0 -0
  463. /package/dist/chunks/{lockfile-DBwdlC3K.js → lockfile-Y1hwdHrQ.js} +0 -0
  464. /package/dist/chunks/{main-C6be1KFk.js → main-D9fUXJiD.js} +0 -0
  465. /package/dist/chunks/{observationStore-tvkldXUo.js → observationStore-gFvWXJmc.js} +0 -0
  466. /package/dist/chunks/{openaiShared-Bjrci9n8.js → openaiShared-Dy78YERG.js} +0 -0
  467. /package/dist/chunks/{output-style-XDb9-2Kk.js → output-style-BmEQscMd.js} +0 -0
  468. /package/dist/chunks/{parseConnectUrl-BS6i9JPo.js → parseConnectUrl-C6cvMkkH.js} +0 -0
  469. /package/dist/chunks/{poller-Ds0Y6Cir.js → poller-Dbo07OEA.js} +0 -0
  470. /package/dist/chunks/{postCommitAttribution-Ehmwzzuq.js → postCommitAttribution-DhFkZMxJ.js} +0 -0
  471. /package/dist/chunks/{projectContext-eXMSfgdZ.js → projectContext-iWPqcl0Z.js} +0 -0
  472. /package/dist/chunks/{renderOptions-BiyC2rj1.js → renderOptions-rmj4Mkls.js} +0 -0
  473. /package/dist/chunks/{rewind-CXplHgh_.js → rewind-DAn-nNs-.js} +0 -0
  474. /package/dist/chunks/{sanitization-CYp-9DbE.js → sanitization-JYRkZFrK.js} +0 -0
  475. /package/dist/chunks/{sdkHeapDumpMonitor--fevrC5z.js → sdkHeapDumpMonitor-DKtfJW5o.js} +0 -0
  476. /package/dist/chunks/{server-C5XZSlto.js → server-CswFAYwN.js} +0 -0
  477. /package/dist/chunks/{serverBanner-WlSYP-f8.js → serverBanner-CImTYGhY.js} +0 -0
  478. /package/dist/chunks/{serverLog-DtsUvDiY.js → serverLog-Bwt7XEmk.js} +0 -0
  479. /package/dist/chunks/{sessionDataUploader-Ctjo1bgR.js → sessionDataUploader-CKRXCBxI.js} +0 -0
  480. /package/dist/chunks/{sessionManager-Dw72ZUTg.js → sessionManager-Ca2O821f.js} +0 -0
  481. /package/dist/chunks/{stickers-2K05wjSp.js → stickers-BMh2qjgF.js} +0 -0
  482. /package/dist/chunks/{udsClient-BvG_Jip0.js → udsClient-BdPOrL1H.js} +0 -0
  483. /package/dist/chunks/{upstreamproxy-DcLeL2XX.js → upstreamproxy-Ci5T_JCo.js} +0 -0
  484. /package/dist/chunks/{voice-DXiiy8HX.js → voice-BcA5h8ya.js} +0 -0
@@ -0,0 +1 @@
1
+ import{o as e,t}from"./loadAgentsDir-DaApSWNv.js";e();export{t as clearAgentDefinitionsCache};
@@ -0,0 +1 @@
1
+ import{Rv as e,Vv as t,zv as n}from"./loadAgentsDir-DaApSWNv.js";e();export{n as loadPluginHooks,t as setupPluginHookHotReload};
@@ -1 +1 @@
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-LcLR5Vgx.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
+ 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};
@@ -0,0 +1 @@
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 +1 @@
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-D9CVAtXU.js";import{a as ie,r as ae}from"./env-chR0gV31.js";import{o as oe,s as v}from"./log-CzsijfHZ.js";import{LT as se,Lo as ce,Ra as le,Ua as y,VT as ue,Zo as b,_y as x,eC as de,tC as fe,vy as pe}from"./loadAgentsDir-D-xcJ22-.js";import{a as me,r as he,t as S}from"./trustedDevice-Brc9B8cZ.js";import{n as C,t as w}from"./useMainLoopModel-X1PW9z5A.js";import{n as T,r as E,t as D}from"./bypassPermissionsKillswitch-B9Qz9zKO.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(b),n){f(),ue(),y(),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)(de,{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)(x,{onDone:()=>t.onDone(!0,n),startingMessage:t.startingMessage})]})]})})}var Q,$,we=t((()=>{Q=n(i(),1),d(),me(),fe(),pe(),s(),w(),g(),le(),se(),ce(),T(),ne(),P(),z(),Se(),G(),$=u()}));export{Ce as n,we as r,Z as t};
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};
@@ -0,0 +1 @@
1
+ import{n as e,r as t,t as n}from"./login-C64M5OdJ.js";t();export{n as Login,e as call};
@@ -1 +1 @@
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-D9CVAtXU.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{Ar as y,Wr as b}from"./loadAgentsDir-D-xcJ22-.js";import{r as x,t as S}from"./semver-Tw0AFar5.js";import{c as C,s as w,u as T}from"./releaseNotes-Dps4SeVh.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=b(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.11`,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(),y(),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
+ 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};
@@ -0,0 +1 @@
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,4 +1,4 @@
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-D9CVAtXU.js";import{V as s,W as c,h as l,p as u}from"./debug-UI3T040K.js";import{Bc as d,Fo as f,Hc as p,Lo as m,ND as h,PD as g,Vc as _,ZA as v,bo as y,n_ as b,r_ as x,rj as S}from"./loadAgentsDir-D-xcJ22-.js";import{On as C,jn as w}from"./prompt-C69iv9cI.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.
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
2
 
3
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
4
 
@@ -54,4 +54,4 @@ The document author has provided specific instructions for how this file should
54
54
 
55
55
  "${i}"
56
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:v(s,void 0),CLAUDE_MODEL:s,CLAUDE_CWD:process.cwd()})}var M=e((()=>{n(),l(),S(),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 d.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 f=P(u);if(!f){V.delete(e.path);return}let p=await j(u,e.path,f.title,f.instructions),m=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 x({agentDefinition:I(),promptMessages:[y({content:p})],toolUseContext:l,canUseTool:m,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`&&(p((e,t)=>{P(t)&&F(e)}),g(H))}var z,B,V,H,U=e((()=>{b(),w(),_(),s(),E(),h(),m(),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`&&!f(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};
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};