@readmagic/workmate 0.0.29 → 0.0.31

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 (268) hide show
  1. package/dist/chunks/{AddWorkspaceDirectory-C0lrhffT.js → AddWorkspaceDirectory-C07tZJZN.js} +1 -1
  2. package/dist/chunks/{AgentsMdExternalIncludesDialog-Dmjjx4ql.js → AgentsMdExternalIncludesDialog-6_bT7l-8.js} +1 -1
  3. package/dist/chunks/AgentsMdExternalIncludesDialog-BbSA-E68.js +1 -0
  4. package/dist/chunks/{App-COz7knHS.js → App--Nvun0sE.js} +1 -1
  5. package/dist/chunks/{BackgroundTasksDialog-5IkCQ8lN.js → BackgroundTasksDialog-DTWNv4Gc.js} +1 -1
  6. package/dist/chunks/{BypassPermissionsModeDialog-g1FMGfQF.js → BypassPermissionsModeDialog-CJ6U9Vb2.js} +1 -1
  7. package/dist/chunks/{CustomSelect-BsEd2To5.js → CustomSelect-uOjgHk8D.js} +1 -1
  8. package/dist/chunks/{DiffDialog-Cwf8CdxZ.js → DiffDialog-CTFLCtYp.js} +4 -4
  9. package/dist/chunks/Doctor-Bd0k7Jo7.js +1 -0
  10. package/dist/chunks/{Doctor-GmT5aeAc.js → Doctor-CgZxiFf3.js} +1 -1
  11. package/dist/chunks/{ExitFlow-DPgUFqeC.js → ExitFlow-DGqwlF8J.js} +1 -1
  12. package/dist/chunks/{InvalidConfigDialog-Di6HZYDV.js → InvalidConfigDialog-8ZJmSDBO.js} +1 -1
  13. package/dist/chunks/{InvalidSettingsDialog-BHL-MERJ.js → InvalidSettingsDialog-B7czkYPj.js} +1 -1
  14. package/dist/chunks/{KeybindingProviderSetup-eE3o0bfp.js → KeybindingProviderSetup-C8rq4fwQ.js} +1 -1
  15. package/dist/chunks/{MCPConnectionManager-D-qpUJLV.js → MCPConnectionManager-DbPzbRdc.js} +1 -1
  16. package/dist/chunks/{MCPToolListView-DtHRw4jQ.js → MCPToolListView-BsO2uWCL.js} +1 -1
  17. package/dist/chunks/{McpParsingWarnings-ByyErvR3.js → McpParsingWarnings-BIpQ_Dle.js} +1 -1
  18. package/dist/chunks/{MessageSelector-CFz30wBL.js → MessageSelector-DuCpdn-Q.js} +1 -1
  19. package/dist/chunks/{Messages-CfY-Oj3M.js → Messages-SKlSLbVo.js} +1 -1
  20. package/dist/chunks/{Onboarding-BfWLRx3n.js → Onboarding-CLEqdl35.js} +1 -1
  21. package/dist/chunks/{PromptInputFooterSuggestions-BRyJj7XR.js → PromptInputFooterSuggestions-cu1KF4_b.js} +1 -1
  22. package/dist/chunks/{PromptInputHelpMenu-DLuRCXVS.js → PromptInputHelpMenu-MH_gVGmN.js} +1 -1
  23. package/dist/chunks/{ProviderSetup-CKZGG2B9.js → ProviderSetup-zjQQUmDr.js} +1 -1
  24. package/dist/chunks/{QueryEngine-B27MOtBA.js → QueryEngine-Cb2ncWE6.js} +1 -1
  25. package/dist/chunks/REPL-CWbLkb3q.js +124 -0
  26. package/dist/chunks/REPL-D1bn80_0.js +1 -0
  27. package/dist/chunks/{ResumeConversation-7eURPHmQ.js → ResumeConversation-DRcIMHTE.js} +1 -1
  28. package/dist/chunks/SearchExtraToolsTool-B6Qlr08G.js +1 -0
  29. package/dist/chunks/{Settings-4TNYpfUs.js → Settings-B-EscJrZ.js} +2 -2
  30. package/dist/chunks/{Spinner-BgjmQLjw.js → Spinner-ByYcKk2V.js} +1 -1
  31. package/dist/chunks/{SpinnerGlyph-BR_SiV9L.js → SpinnerGlyph-4aVLQdJf.js} +1 -1
  32. package/dist/chunks/{TextInput-BVEWdRz9.js → TextInput-eYxBj_1-.js} +1 -1
  33. package/dist/chunks/{ThemePicker-th2jdUjh.js → ThemePicker-BqeGU99Q.js} +1 -1
  34. package/dist/chunks/{TrustDialog-YsYqHyRR.js → TrustDialog-DYZ0i7rH.js} +1 -1
  35. package/dist/chunks/{ValidationErrorsList-CKeHoN2Z.js → ValidationErrorsList-Cw-sjz1h.js} +1 -1
  36. package/dist/chunks/{_baseEach-Bz5fQbIq.js → _baseEach-BQ2jM5Sg.js} +1 -1
  37. package/dist/chunks/{add-dir-BsO6l8Ue.js → add-dir-3q2C-Kfj.js} +1 -1
  38. package/dist/chunks/{agentDisplay-ChkgiTIH.js → agentDisplay-C18dbK7V.js} +1 -1
  39. package/dist/chunks/{agents-DqEB6iwV.js → agents--BKL-glS.js} +1 -1
  40. package/dist/chunks/{agents-BV1nan6b.js → agents-B_Ik_9lY.js} +1 -1
  41. package/dist/chunks/{allErrors-CkdguCDv.js → allErrors-CJOE7EGx.js} +1 -1
  42. package/dist/chunks/{appleTerminalBackup-CN8kS74J.js → appleTerminalBackup-j8nI5uNK.js} +1 -1
  43. package/dist/chunks/backgroundHousekeeping-COON_jRA.js +1 -0
  44. package/dist/chunks/{backgroundHousekeeping-1VsWy8xd.js → backgroundHousekeeping-FPn2H48W.js} +1 -1
  45. package/dist/chunks/banner-BsO6K4Ve.js +2 -0
  46. package/dist/chunks/{branch-CTIHtpwz.js → branch-7SdIl7ZG.js} +1 -1
  47. package/dist/chunks/bridgeControl-DMUu37uO.js +2 -0
  48. package/dist/chunks/{btw-BA39Zrhm.js → btw-BhVWw00h.js} +1 -1
  49. package/dist/chunks/{bundledMode-D9omqD3L.js → bundledMode-Dqe4pz0a.js} +1 -1
  50. package/dist/chunks/caches-DaOhyHsb.js +1 -0
  51. package/dist/chunks/caches-DgNr-KX3.js +1 -0
  52. package/dist/chunks/channel-BNS35qVl.js +2 -0
  53. package/dist/chunks/{channel-C5yKM1wf.js → channel-DWDK9jut.js} +1 -1
  54. package/dist/chunks/{clear-BmlaYYrD.js → clear-B5WkPxlz.js} +1 -1
  55. package/dist/chunks/{client-pA7fKk0-.js → client-D3QmHVeI.js} +1 -1
  56. package/dist/chunks/client-dTKhXxBT.js +1 -0
  57. package/dist/chunks/{client-2w-g5kMx.js → client-q_uGYC2E.js} +1 -1
  58. package/dist/chunks/client-y_U1O4mI.js +1 -0
  59. package/dist/chunks/commands-DJe5bkNw.js +1 -0
  60. package/dist/chunks/{compact-D3uePeI7.js → compact-DriVPdmX.js} +1 -1
  61. package/dist/chunks/config-CMtnYZR9.js +3 -0
  62. package/dist/chunks/config-CgzzjTUe.js +1 -0
  63. package/dist/chunks/config-FEF6EcWp.js +1 -0
  64. package/dist/chunks/{context-CBEWyVpE.js → context-CXi66Ghx.js} +1 -1
  65. package/dist/chunks/{context-noninteractive-B03nuxfN.js → context-noninteractive-BRoUkLxt.js} +1 -1
  66. package/dist/chunks/context-noninteractive-Bupgkyt9.js +1 -0
  67. package/dist/chunks/conversation-CCV0BYD_.js +1 -0
  68. package/dist/chunks/{conversation-BFL0rEIx.js → conversation-DrEE7olO.js} +1 -1
  69. package/dist/chunks/{conversationRecovery-Bt84CYO6.js → conversationRecovery-CZzxsT_R.js} +1 -1
  70. package/dist/chunks/{crossProjectResume-DwlYY6lV.js → crossProjectResume-CbXDWdHE.js} +1 -1
  71. package/dist/chunks/{debug-2pVES-2G.js → debug-NBJH_NxR.js} +2 -2
  72. package/dist/chunks/{detectRepository--luIRv5H.js → detectRepository-Bu0he_XM.js} +1 -1
  73. package/dist/chunks/{diff-CewYzu3Y.js → diff-CH8kHqwX.js} +1 -1
  74. package/dist/chunks/{directoryCompletion-BC0qRmrz.js → directoryCompletion-CwKPuwrS.js} +1 -1
  75. package/dist/chunks/doctor-HV7-zZgq.js +1 -0
  76. package/dist/chunks/{entry-DdVUdGWV.js → entry-CyH0Rkjq.js} +3 -3
  77. package/dist/chunks/{execFileNoThrow-DXSEj8ZO.js → execFileNoThrow-7Ys9mO27.js} +1 -1
  78. package/dist/chunks/{exit-QwCo2aJo.js → exit-zYpIKg68.js} +1 -1
  79. package/dist/chunks/{extraUsage-Cu0aV35i.js → extraUsage-Dp_LtcKE.js} +1 -1
  80. package/dist/chunks/extractMemories-1_fkJtc-.js +1 -0
  81. package/dist/chunks/fast-Bi-RRDlf.js +1 -0
  82. package/dist/chunks/{fast-BlhpCQ2f.js → fast-DnP_x58e.js} +1 -1
  83. package/dist/chunks/{fetchModelList-DjFCMjVN.js → fetchModelList-BctZn47N.js} +1 -1
  84. package/dist/chunks/fetchModelList-Dfyy0Yds.js +1 -0
  85. package/dist/chunks/fileSuggestions-CoYWpIJB.js +3 -0
  86. package/dist/chunks/{gemini-I-M5_sUA.js → gemini-CyZAw1Wg.js} +1 -1
  87. package/dist/chunks/{generateSessionName-CJ0sh6HD.js → generateSessionName-CJ13ZLWG.js} +1 -1
  88. package/dist/chunks/{genericProcessUtils-GqURdVAv.js → genericProcessUtils-XwqvFxyn.js} +1 -1
  89. package/dist/chunks/{goal-DIrBBT5J.js → goal-CiuF90SO.js} +1 -1
  90. package/dist/chunks/{grok-ZLjJN6b9.js → grok-B4R78Wy4.js} +1 -1
  91. package/dist/chunks/{help-CDMjVOl6.js → help-CQ8yZg8_.js} +1 -1
  92. package/dist/chunks/{history-CUrqO9rV.js → history-PZLMYab7.js} +1 -1
  93. package/dist/chunks/hooks-Cj3t3ItG.js +1 -0
  94. package/dist/chunks/{hooks-BNKCE023.js → hooks-DgsxCW0L.js} +1 -1
  95. package/dist/chunks/{install-xlfTw1j6.js → install-W_2JVR8Y.js} +1 -1
  96. package/dist/chunks/{instrumentation-DSt0UvGn.js → instrumentation-Yk5dlvD_.js} +3 -3
  97. package/dist/chunks/{job-BVElGsu0.js → job-CAbdQPkT.js} +1 -1
  98. package/dist/chunks/{keybindings-CxgQqQJe.js → keybindings-CkiE_uBG.js} +1 -1
  99. package/dist/chunks/{launchLocalMemory-DUkJCKmd.js → launchLocalMemory-C-KuYLDQ.js} +1 -1
  100. package/dist/chunks/{launchOnboarding-BvD-E_jC.js → launchOnboarding-2-AEYja0.js} +1 -1
  101. package/dist/chunks/{loadAgentsDir-BfLCckVj.js → loadAgentsDir-CgDTTnMX.js} +477 -477
  102. package/dist/chunks/loadAgentsDir-jBY44wEO.js +1 -0
  103. package/dist/chunks/{loadPluginHooks-BPwWtBzO.js → loadPluginHooks-CWkivYx4.js} +1 -1
  104. package/dist/chunks/{loader-BMAtuwRa.js → loader-DsEdsMHv.js} +1 -1
  105. package/dist/chunks/localSearch-B3aRqi3q.js +1 -0
  106. package/dist/chunks/{localSearch-BHG8sp8p.js → localSearch-BhygSl0K.js} +1 -1
  107. package/dist/chunks/{log-L1kqxa_P.js → log-D98mO6yJ.js} +1 -1
  108. package/dist/chunks/{logoUtils-BsNLv-qi.js → logoUtils-rZbHAggC.js} +1 -1
  109. package/dist/chunks/{magicDocs-Bue9vxzY.js → magicDocs-430IH4o3.js} +1 -1
  110. package/dist/chunks/{main-U71X4Thd.js → main-DuS6HbbE.js} +17 -17
  111. package/dist/chunks/managedEnv-BV6T_PdC.js +1 -0
  112. package/dist/chunks/{managedEnv-EZ2IirNa.js → managedEnv-O3Xqe_lk.js} +1 -1
  113. package/dist/chunks/{mcp-De3QGKvT.js → mcp-BoJ9rdef.js} +1 -1
  114. package/dist/chunks/{mcp-C4CxCMwJ.js → mcp-C2GF6Gp7.js} +1 -1
  115. package/dist/chunks/{mcp-D9HFARDy.js → mcp-XaHs-eh9.js} +1 -1
  116. package/dist/chunks/{memory-DVRdJFfI.js → memory-D0vG6luI.js} +1 -1
  117. package/dist/chunks/{mode-Bd5w-RBX.js → mode-4ZXGLC71.js} +1 -1
  118. package/dist/chunks/model-BidsdFhX.js +1 -0
  119. package/dist/chunks/{model-BCIcUhrc.js → model-CcgVXT3w.js} +1 -1
  120. package/dist/chunks/{modelOptions-COIU5U3w.js → modelOptions-Bw53Jebp.js} +1 -1
  121. package/dist/chunks/{nativeInstaller-CGSNzGNn.js → nativeInstaller-BczAzL96.js} +1 -1
  122. package/dist/chunks/{notifications-B5gzCmPC.js → notifications-B3v1XAdd.js} +1 -1
  123. package/dist/chunks/{onChangeAppState-NWwSE-I4.js → onChangeAppState-wASLrUas.js} +1 -1
  124. package/dist/chunks/{openai-CyJ3m4dI.js → openai-CvSNI6b2.js} +1 -1
  125. package/dist/chunks/{overlayContext-DYrGDe63.js → overlayContext-0wuZMXWl.js} +1 -1
  126. package/dist/chunks/{parser-CTnaXFVJ.js → parser-D2kggQDp.js} +1 -1
  127. package/dist/chunks/parser-DZUcp40d.js +1 -0
  128. package/dist/chunks/{partition-BavNaw1S.js → partition-CGKLltyv.js} +1 -1
  129. package/dist/chunks/{pasteStore-njJCBMKr.js → pasteStore-2RafnH7M.js} +1 -1
  130. package/dist/chunks/{permissions-CLYcBXIu.js → permissions-DawwDdur.js} +1 -1
  131. package/dist/chunks/{pidLock-Bao7SU6Z.js → pidLock-TOlSC34M.js} +2 -2
  132. package/dist/chunks/{plan-Dwj_ZX8G.js → plan-D_vIEUQa.js} +1 -1
  133. package/dist/chunks/{plugin-Cscvf8st.js → plugin-CDWB3AFL.js} +1 -1
  134. package/dist/chunks/{pluginAutoupdate-D5XyiZrP.js → pluginAutoupdate-CPzXHVsX.js} +1 -1
  135. package/dist/chunks/{pluginBlocklist-CpkjXXKQ.js → pluginBlocklist-Bu6GP9_C.js} +1 -1
  136. package/dist/chunks/{pluginCliCommands-DmLsxs1M.js → pluginCliCommands-CNpseXZD.js} +1 -1
  137. package/dist/chunks/{pluginFlagging-CRuX6sHR.js → pluginFlagging-1MM3zuMP.js} +1 -1
  138. package/dist/chunks/{pluginOperations-orq3bOCp.js → pluginOperations-qT-GGKNu.js} +1 -1
  139. package/dist/chunks/pluginStartupCheck-CCDpCchC.js +1 -0
  140. package/dist/chunks/{pluginStartupCheck-DGDl1WOZ.js → pluginStartupCheck-DXPIrR7f.js} +1 -1
  141. package/dist/chunks/{plugins-Cq5c-Qs1.js → plugins-Bbbvm9KH.js} +1 -1
  142. package/dist/chunks/{poorMode-CG2JNTD0.js → poorMode-BvypUTur.js} +1 -1
  143. package/dist/chunks/poorMode-CP6359Sz.js +1 -0
  144. package/dist/chunks/print-Db7IDW_T.js +13 -0
  145. package/dist/chunks/process-CewWh77C.js +1 -0
  146. package/dist/chunks/process-De2crvt4.js +1 -0
  147. package/dist/chunks/{processBashCommand-C7oVqf0B.js → processBashCommand-DtEP1Js2.js} +1 -1
  148. package/dist/chunks/{processSlashCommand-CPQB5_0w.js → processSlashCommand-BIIOr3n4.js} +1 -1
  149. package/dist/chunks/{projectOnboardingState-D-_ijZnG.js → projectOnboardingState-DqGLXSM_.js} +1 -1
  150. package/dist/chunks/prompt-CCP82QoX.js +1 -0
  151. package/dist/chunks/{prompt-DaYH88Oe.js → prompt-CduUPV0s.js} +3 -3
  152. package/dist/chunks/prompt-DmWyLDH6.js +1 -0
  153. package/dist/chunks/{promptEditor-14TB3MYt.js → promptEditor-CyMqa_av.js} +1 -1
  154. package/dist/chunks/{protocolHandler-CJO3CRYW.js → protocolHandler-DrGjosKa.js} +1 -1
  155. package/dist/chunks/{proxy--_NfbJhm.js → proxy-MzIsnPd7.js} +1 -1
  156. package/dist/chunks/{reconciler-B5Kr4do0.js → reconciler-DQxjz0OK.js} +1 -1
  157. package/dist/chunks/{refresh-DurNMJeS.js → refresh-BmkkYKno.js} +1 -1
  158. package/dist/chunks/{reject-CzjtO3fU.js → reject-DYsU8jkO.js} +1 -1
  159. package/dist/chunks/{reload-plugins-C38i_Eb3.js → reload-plugins-CmHAxvlA.js} +1 -1
  160. package/dist/chunks/{rename-BV-3ZpFx.js → rename-BrGuvkvC.js} +1 -1
  161. package/dist/chunks/{renderOptions-B0RFpjRI.js → renderOptions-B3DyIbF6.js} +1 -1
  162. package/dist/chunks/{resume-CUzQIor4.js → resume-COSo0ATp.js} +1 -1
  163. package/dist/chunks/ripgrep-CIIzTaSI.js +1 -0
  164. package/dist/chunks/{ripgrep-67m14ImZ.js → ripgrep-CnK9qx1e.js} +1 -1
  165. package/dist/chunks/{runtimeObserver-Ess1Cn8Y.js → runtimeObserver-CoNTwrJ3.js} +1 -1
  166. package/dist/chunks/{runtimeObserver-BKoQ5IEO.js → runtimeObserver-Dpi40Nfi.js} +2 -2
  167. package/dist/chunks/sandbox-adapter-D0bQ6nsv.js +1 -0
  168. package/dist/chunks/{sandbox-toggle-Bp6Xpjh3.js → sandbox-toggle-CrjErH9V.js} +1 -1
  169. package/dist/chunks/searchExtraTools-_Fo0KDnz.js +1 -0
  170. package/dist/chunks/{select-Bm29ymsI.js → select-BNeFiLNP.js} +1 -1
  171. package/dist/chunks/sessionFileAccessHooks-BCBV26Ut.js +1 -0
  172. package/dist/chunks/{sessionObserver-CBlzrJt1.js → sessionObserver-CAvR0MCN.js} +1 -1
  173. package/dist/chunks/sessionObserver-QbHl_0Dr.js +1 -0
  174. package/dist/chunks/sessionStorage-CscAodvT.js +1 -0
  175. package/dist/chunks/{sessionTracing-TDsq54Uc.js → sessionTracing-rMBtalMz.js} +1 -1
  176. package/dist/chunks/settings-B3WqnPDo.js +1 -0
  177. package/dist/chunks/{settings-D4M13toi.js → settings-CA-5Px85.js} +2 -2
  178. package/dist/chunks/setup-X5QOX_BW.js +3 -0
  179. package/dist/chunks/{shadowedRuleDetection-BG3jtA9Y.js → shadowedRuleDetection-BucAPuXp.js} +1 -1
  180. package/dist/chunks/{sideQuestion-C8GNVo4R.js → sideQuestion-B1W_L7NR.js} +1 -1
  181. package/dist/chunks/{sinks-BafJR6Fw.js → sinks-Bqzavjot.js} +1 -1
  182. package/dist/chunks/sinks-ofVW99nt.js +1 -0
  183. package/dist/chunks/{skillChangeDetector-CY17weG4.js → skillChangeDetector-jKxXTp4F.js} +1 -1
  184. package/dist/chunks/{skillGapStore-Cl4J1WoZ.js → skillGapStore-CQVCxlWd.js} +2 -2
  185. package/dist/chunks/{skillLifecycle-DdfeUHBf.js → skillLifecycle-GGpX7H8W.js} +2 -2
  186. package/dist/chunks/{skillSearchPanel-DtQYF9gN.js → skillSearchPanel-DDM0zZ_r.js} +2 -2
  187. package/dist/chunks/{skills-Fd12LJal.js → skills-Bmdrtecu.js} +1 -1
  188. package/dist/chunks/{sleep-xKMbXTJe.js → sleep-BGewNhNx.js} +1 -1
  189. package/dist/chunks/{startupProfiler-B9Qv2QGH.js → startupProfiler-C_xcIvEA.js} +1 -1
  190. package/dist/chunks/startupProfiler-uueg2S43.js +1 -0
  191. package/dist/chunks/status-CFpCBQX1.js +1 -0
  192. package/dist/chunks/{statusNoticeHelpers-D0tonVy0.js → statusNoticeHelpers-DRJcaVdx.js} +1 -1
  193. package/dist/chunks/{stringUtils-Cs6E5f-B.js → stringUtils-CtJhTszO.js} +1 -1
  194. package/dist/chunks/switcher-BCr3vwnq.js +1 -0
  195. package/dist/chunks/{switcher-BCq9Az_q.js → switcher-CqGz0hjQ.js} +1 -1
  196. package/dist/chunks/{tasks-DQmkY_xD.js → tasks-CNQUkXoq.js} +1 -1
  197. package/dist/chunks/{templateJobs-CEDUbFAY.js → templateJobs-CYArZLti.js} +1 -1
  198. package/dist/chunks/{terminalSetup-CaGbEVjB.js → terminalSetup-QvvwfSGV.js} +1 -1
  199. package/dist/chunks/{terminalSetup-xe_P98fY.js → terminalSetup-h_TPZN2E.js} +1 -1
  200. package/dist/chunks/{theme-DQjJ4R0o.js → theme-DVkXXIPx.js} +1 -1
  201. package/dist/chunks/{tipRegistry-BwxZ_G0j.js → tipRegistry-DzOyYhJT.js} +2 -2
  202. package/dist/chunks/{toolEventObserver-DdZ30on9.js → toolEventObserver-BAkhiG0F.js} +1 -1
  203. package/dist/chunks/{toolPool-CWIXwdX7.js → toolPool-D_7Onp-c.js} +1 -1
  204. package/dist/chunks/{udsClient-CWeoNrm3.js → udsClient-COYqIvvr.js} +1 -1
  205. package/dist/chunks/{useExitOnCtrlCDWithKeybindings-ClrtNKJ6.js → useExitOnCtrlCDWithKeybindings-z3RiW9jT.js} +1 -1
  206. package/dist/chunks/useMainLoopModel-DMB41HoQ.js +1 -0
  207. package/dist/chunks/{useManagePlugins-CmsPSHor.js → useManagePlugins-DSRLHKH5.js} +1 -1
  208. package/dist/chunks/{useMergedTools-C8PxReh0.js → useMergedTools-C7wh5W03.js} +1 -1
  209. package/dist/chunks/{useSearchInput-BZhTzjgN.js → useSearchInput-r534PKo1.js} +1 -1
  210. package/dist/chunks/{useSettingsErrors-GWIxCYyd.js → useSettingsErrors-DL_ai-el.js} +1 -1
  211. package/dist/chunks/{util-Bih2g-pV.js → util-DombpJHQ.js} +1 -1
  212. package/dist/chunks/{validatePlugin-BwcC_Wbr.js → validatePlugin-DU3C7Mvb.js} +1 -1
  213. package/dist/chunks/vim-BX8ljWbJ.js +1 -0
  214. package/dist/chunks/worktree-CjnMMjR6.js +1 -0
  215. package/dist/cli.js +1 -1
  216. package/package.json +1 -1
  217. package/dist/chunks/AgentsMdExternalIncludesDialog-DIahWLha.js +0 -1
  218. package/dist/chunks/Doctor-CcLoI7tF.js +0 -1
  219. package/dist/chunks/REPL-DMRD5wSN.js +0 -124
  220. package/dist/chunks/REPL-gzolQvzu.js +0 -1
  221. package/dist/chunks/SearchExtraToolsTool-BINZTstr.js +0 -1
  222. package/dist/chunks/backgroundHousekeeping-pMtrl4K2.js +0 -1
  223. package/dist/chunks/banner-BKOzHotb.js +0 -2
  224. package/dist/chunks/bridgeControl-C8xaGuwO.js +0 -2
  225. package/dist/chunks/caches-DHZHqVhf.js +0 -1
  226. package/dist/chunks/caches-fqs-Y-kW.js +0 -1
  227. package/dist/chunks/channel-B5FkNSZ3.js +0 -1
  228. package/dist/chunks/client-B0ngS4Uu.js +0 -1
  229. package/dist/chunks/client-BP4DOH3K.js +0 -1
  230. package/dist/chunks/commands-EUcHifS4.js +0 -1
  231. package/dist/chunks/config-Bio2EjUK.js +0 -3
  232. package/dist/chunks/config-C_AEhZrn.js +0 -1
  233. package/dist/chunks/config-GgGdlJ9h.js +0 -1
  234. package/dist/chunks/context-noninteractive-BLCyyyGL.js +0 -1
  235. package/dist/chunks/conversation-D-ker4RO.js +0 -1
  236. package/dist/chunks/doctor-CrQ0UfG2.js +0 -1
  237. package/dist/chunks/extractMemories-DHlbRc5g.js +0 -1
  238. package/dist/chunks/fast-C3JeBy3A.js +0 -1
  239. package/dist/chunks/fetchModelList-L2XarfAj.js +0 -1
  240. package/dist/chunks/fileSuggestions-BRwKV_KA.js +0 -3
  241. package/dist/chunks/hooks-ERYtmuNW.js +0 -1
  242. package/dist/chunks/loadAgentsDir-BImZsKrh.js +0 -1
  243. package/dist/chunks/localSearch-D3rvcRRC.js +0 -1
  244. package/dist/chunks/managedEnv-DCGLDTP_.js +0 -1
  245. package/dist/chunks/model-BIf2i1is.js +0 -1
  246. package/dist/chunks/parser-Diihup2V.js +0 -1
  247. package/dist/chunks/pluginStartupCheck-GHO77nmg.js +0 -1
  248. package/dist/chunks/poorMode-eMIFCAC_.js +0 -1
  249. package/dist/chunks/print-zo7Z--Ll.js +0 -13
  250. package/dist/chunks/process-CNfq37LF.js +0 -1
  251. package/dist/chunks/process-gEbdy6uY.js +0 -1
  252. package/dist/chunks/prompt-CAzFDybL.js +0 -1
  253. package/dist/chunks/prompt-Cm8SKZXY.js +0 -1
  254. package/dist/chunks/ripgrep-DB7KB8RZ.js +0 -1
  255. package/dist/chunks/sandbox-adapter-ClRO21Ci.js +0 -1
  256. package/dist/chunks/searchExtraTools-CV_fkuD6.js +0 -1
  257. package/dist/chunks/sessionFileAccessHooks-B5kAD4ol.js +0 -1
  258. package/dist/chunks/sessionObserver-CayxkuxO.js +0 -1
  259. package/dist/chunks/sessionStorage-vLxCo1Mh.js +0 -1
  260. package/dist/chunks/settings-Dfit5gGT.js +0 -1
  261. package/dist/chunks/setup-BbyfyeQk.js +0 -3
  262. package/dist/chunks/sinks-CHtjg7sn.js +0 -1
  263. package/dist/chunks/startupProfiler-DWcM4QBl.js +0 -1
  264. package/dist/chunks/status-CGEMRiPI.js +0 -1
  265. package/dist/chunks/switcher-DQMr6Anx.js +0 -1
  266. package/dist/chunks/useMainLoopModel-CULw8pB_.js +0 -1
  267. package/dist/chunks/vim-BlO9V5_5.js +0 -1
  268. package/dist/chunks/worktree-BB9lFWBB.js +0 -1
@@ -0,0 +1 @@
1
+ import{o as e,t}from"./loadAgentsDir-CgDTTnMX.js";e();export{t as clearAgentDefinitionsCache};
@@ -1 +1 @@
1
- import{f_ as e,l_ as t,u_ as n}from"./loadAgentsDir-BfLCckVj.js";t();export{n as loadPluginHooks,e as setupPluginHookHotReload};
1
+ import{f_ as e,l_ as t,u_ as n}from"./loadAgentsDir-CgDTTnMX.js";t();export{n as loadPluginHooks,e as setupPluginHookHotReload};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{i as t,o as n}from"./envUtils-QyzA_cFM.js";import{Fi as r,Vi as i,Wi as a,oa as o,ta as s}from"./settings-D4M13toi.js";import{o as c,s as l}from"./log-L1kqxa_P.js";import{dirname as u,join as d}from"path";import{existsSync as f,readFileSync as p,renameSync as m,unlinkSync as h,writeFileSync as g}from"fs";import{randomBytes as _}from"node:crypto";var v=e((()=>{r(),r()})),y,b,x,S=e((()=>{v(),y=i([`openai-compat`,`anthropic-compat`]),b=s({id:o().min(1).regex(/^[a-z0-9-]+$/,`id must be kebab-case`),kind:y,baseUrl:o().url(),apiKey:o().min(1).optional(),apiKeyEnv:o().min(1).optional(),defaultModel:o().min(1).default(`gpt-4o-mini`)}).refine(e=>!!e.apiKey||!!e.apiKeyEnv,`either apiKey or apiKeyEnv is required`),x=a(b)}));function C(){return d(t(),`providers.json`)}function w(){k=null}function T(){if(k!==null)return k;let e=E();return k=e.providers,e.providers}function E(){let e=C();if(!f(e))return{providers:[]};let t;try{t=p(e,`utf-8`)}catch(t){let n=`loadProviders: failed to read ${e}: ${t instanceof Error?t.message:String(t)}`;return l(Error(n)),{providers:[],error:n}}if(!t.trim())return{providers:[]};let n;try{n=JSON.parse(t)}catch{let t=`loadProviders: ${e} is not valid JSON. Ignoring.`;return l(Error(t)),{providers:[],error:t}}let r=x.safeParse(n);if(!r.success){let t=`loadProviders: ${e} failed schema validation: ${r.error.message}. Ignoring.`;return l(Error(t)),{providers:[],error:t}}return{providers:r.data}}function D(e,t){return(t??T()).find(t=>t.id===e)}function O(e){let t=C(),n=d(u(t),`.providers-${_(8).toString(`hex`)}.tmp`);try{g(n,JSON.stringify(e,null,2),`utf-8`),m(n,t)}catch(e){try{h(n)}catch{}throw e}return w(),e}var k,A=e((()=>{c(),n(),S(),k=null}));export{v as a,O as i,A as n,T as r,D as t};
1
+ import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{i as t,o as n}from"./envUtils-QyzA_cFM.js";import{Gi as r,Hi as i,Ii as a,na as o,sa as s}from"./settings-CA-5Px85.js";import{o as c,s as l}from"./log-D98mO6yJ.js";import{dirname as u,join as d}from"path";import{existsSync as f,readFileSync as p,renameSync as m,unlinkSync as h,writeFileSync as g}from"fs";import{randomBytes as _}from"node:crypto";var v=e((()=>{a(),a()})),y,b,x,S=e((()=>{v(),y=i([`openai-compat`,`anthropic-compat`]),b=o({id:s().min(1).regex(/^[a-z0-9-]+$/,`id must be kebab-case`),kind:y,baseUrl:s().url(),apiKey:s().min(1).optional(),apiKeyEnv:s().min(1).optional(),defaultModel:s().min(1).default(`gpt-4o-mini`)}).refine(e=>!!e.apiKey||!!e.apiKeyEnv,`either apiKey or apiKeyEnv is required`),x=r(b)}));function C(){return d(t(),`providers.json`)}function w(){k=null}function T(){if(k!==null)return k;let e=E();return k=e.providers,e.providers}function E(){let e=C();if(!f(e))return{providers:[]};let t;try{t=p(e,`utf-8`)}catch(t){let n=`loadProviders: failed to read ${e}: ${t instanceof Error?t.message:String(t)}`;return l(Error(n)),{providers:[],error:n}}if(!t.trim())return{providers:[]};let n;try{n=JSON.parse(t)}catch{let t=`loadProviders: ${e} is not valid JSON. Ignoring.`;return l(Error(t)),{providers:[],error:t}}let r=x.safeParse(n);if(!r.success){let t=`loadProviders: ${e} failed schema validation: ${r.error.message}. Ignoring.`;return l(Error(t)),{providers:[],error:t}}return{providers:r.data}}function D(e,t){return(t??T()).find(t=>t.id===e)}function O(e){let t=C(),n=d(u(t),`.providers-${_(8).toString(`hex`)}.tmp`);try{g(n,JSON.stringify(e,null,2),`utf-8`),m(n,t)}catch(e){try{h(n)}catch{}throw e}return w(),e}var k,A=e((()=>{c(),n(),S(),k=null}));export{v as a,O as i,A as n,T as r,D as t};
@@ -0,0 +1 @@
1
+ import{a as e,o as t,s as n,t as r}from"./localSearch-BhygSl0K.js";t();export{r as clearSkillIndexCache,e as getSkillIndex,n as searchSkills};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{c as t,i as n}from"./debug-2pVES-2G.js";function r(e){return g.test(e)}function i(e){let t=[],n=e.toLowerCase(),i=0;for(;i<n.length;)if(r(n[i])){let e=``;for(;i<n.length&&r(n[i]);)e+=n[i],i++;for(let n=0;n<e.length-1;n++)t.push(e.slice(n,n+2))}else if(/[a-z0-9]/.test(n[i])){let e=``;for(;i<n.length&&/[a-z0-9\-_]/.test(n[i]);)e+=n[i],i++;let r=e.replace(/^[-_]+|[-_]+$/g,``);r&&!h.has(r)&&t.push(r)}else i++;return t}function a(e){if(r(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 o(e){return i(e).map(a)}function s(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 c(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 l(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 u(e){return e.toLowerCase().replace(/[-_]/g,` `)}function d(e){return e.toLowerCase().split(/[-_]/).filter(e=>e.length>=3)}function f(){x=null,S=null,C=null,t(`[skill-search] index cache cleared`)}async function p(e){if(x&&C===e)return x;let{getCommands:n}=await import(`./commands-EUcHifS4.js`),r=await n(e),i=[];for(let e of r){if(e.type!==`prompt`||e.disableModelInvocation)continue;let t=e.name,n=e.description??``,r=e.whenToUse,c=e.allowedTools?.join(` `)??``,l=o(t),f=d(t),p=[...l,...f.map(a).filter(e=>!h.has(e))],m=o(n),g=o(r??``),v=o(c),y=[...new Set([...p,...m,...g,...v])],b=s([{tokens:p,weight:_.name},{tokens:g,weight:_.whenToUse},{tokens:m,weight:_.description},{tokens:v,weight:_.allowedTools}]);i.push({name:t,normalizedName:u(t),description:n,whenToUse:r,source:e.source??`unknown`,loadedFrom:e.loadedFrom,skillRoot:e.skillRoot,contentLength:e.contentLength,tokens:y,tfVector:b})}let l=c(i);for(let e of i)for(let[t,n]of e.tfVector)e.tfVector.set(t,n*(l.get(t)??0));return x=i,S=l,C=e,t(`[skill-search] indexed ${i.length} skills from ${r.length} commands`),i}function m(e,t,n=5){if(t.length===0||!e?.trim())return[];let i=o(e);if(i.length===0)return[];let a=new Map,s=new Map;for(let e of i)s.set(e,(s.get(e)??0)+1);let u=1;for(let e of s.values())e>u&&(u=e);for(let[e,t]of s)a.set(e,t/u);let d=x===t&&S?S:c(t),f=new Map;for(let[e,t]of a)f.set(e,t*(d.get(e)??0));let p=i.filter(e=>r(e[0]??``)),m=i.filter(e=>!r(e[0]??``)),h=e.toLowerCase().replace(/[-_]/g,` `),g=[];for(let e of t){let t=l(f,e.tfVector);p.length>0&&t>0&&p.filter(t=>e.tfVector.has(t)).length<b&&(m.some(t=>e.tfVector.has(t))||(t=0)),e.name.length>=y&&h.includes(e.normalizedName)&&(t=Math.max(t,.75)),t>=v&&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 h,g,_,v,y,b,x,S,C,w=e((()=>{n(),h=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(`.`)),g=/[\u4e00-\u9fff\u3400-\u4dbf]/,_={name:3,whenToUse:2,description:1,allowedTools:.3},v=Number(process.env.SKILL_SEARCH_DISPLAY_MIN_SCORE??`0.10`),y=4,b=2,x=null,S=null,C=null}));export{p as a,i as c,l as i,o as l,c as n,w as o,s as r,m as s,f as t};
1
+ import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{c as t,i as n}from"./debug-NBJH_NxR.js";function r(e){return g.test(e)}function i(e){let t=[],n=e.toLowerCase(),i=0;for(;i<n.length;)if(r(n[i])){let e=``;for(;i<n.length&&r(n[i]);)e+=n[i],i++;for(let n=0;n<e.length-1;n++)t.push(e.slice(n,n+2))}else if(/[a-z0-9]/.test(n[i])){let e=``;for(;i<n.length&&/[a-z0-9\-_]/.test(n[i]);)e+=n[i],i++;let r=e.replace(/^[-_]+|[-_]+$/g,``);r&&!h.has(r)&&t.push(r)}else i++;return t}function a(e){if(r(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 o(e){return i(e).map(a)}function s(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 c(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 l(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 u(e){return e.toLowerCase().replace(/[-_]/g,` `)}function d(e){return e.toLowerCase().split(/[-_]/).filter(e=>e.length>=3)}function f(){x=null,S=null,C=null,t(`[skill-search] index cache cleared`)}async function p(e){if(x&&C===e)return x;let{getCommands:n}=await import(`./commands-DJe5bkNw.js`),r=await n(e),i=[];for(let e of r){if(e.type!==`prompt`||e.disableModelInvocation)continue;let t=e.name,n=e.description??``,r=e.whenToUse,c=e.allowedTools?.join(` `)??``,l=o(t),f=d(t),p=[...l,...f.map(a).filter(e=>!h.has(e))],m=o(n),g=o(r??``),v=o(c),y=[...new Set([...p,...m,...g,...v])],b=s([{tokens:p,weight:_.name},{tokens:g,weight:_.whenToUse},{tokens:m,weight:_.description},{tokens:v,weight:_.allowedTools}]);i.push({name:t,normalizedName:u(t),description:n,whenToUse:r,source:e.source??`unknown`,loadedFrom:e.loadedFrom,skillRoot:e.skillRoot,contentLength:e.contentLength,tokens:y,tfVector:b})}let l=c(i);for(let e of i)for(let[t,n]of e.tfVector)e.tfVector.set(t,n*(l.get(t)??0));return x=i,S=l,C=e,t(`[skill-search] indexed ${i.length} skills from ${r.length} commands`),i}function m(e,t,n=5){if(t.length===0||!e?.trim())return[];let i=o(e);if(i.length===0)return[];let a=new Map,s=new Map;for(let e of i)s.set(e,(s.get(e)??0)+1);let u=1;for(let e of s.values())e>u&&(u=e);for(let[e,t]of s)a.set(e,t/u);let d=x===t&&S?S:c(t),f=new Map;for(let[e,t]of a)f.set(e,t*(d.get(e)??0));let p=i.filter(e=>r(e[0]??``)),m=i.filter(e=>!r(e[0]??``)),h=e.toLowerCase().replace(/[-_]/g,` `),g=[];for(let e of t){let t=l(f,e.tfVector);p.length>0&&t>0&&p.filter(t=>e.tfVector.has(t)).length<b&&(m.some(t=>e.tfVector.has(t))||(t=0)),e.name.length>=y&&h.includes(e.normalizedName)&&(t=Math.max(t,.75)),t>=v&&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 h,g,_,v,y,b,x,S,C,w=e((()=>{n(),h=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(`.`)),g=/[\u4e00-\u9fff\u3400-\u4dbf]/,_={name:3,whenToUse:2,description:1,allowedTools:.3},v=Number(process.env.SKILL_SEARCH_DISPLAY_MIN_SCORE??`0.10`),y=4,b=2,x=null,S=null,C=null}));export{p as a,i as c,l as i,o as l,c as n,w as o,s as r,m as s,f as t};
@@ -1 +1 @@
1
- import{i as e,n as t}from"./rolldown-runtime-DaDcL9Zw.js";import{n,t as r}from"./memoize-BK3gG5ob.js";import{l as i,o as ee}from"./envUtils-QyzA_cFM.js";import{Pt as te,dn as ne,un as re}from"./state-CXY-q5gr.js";import{B as ie,I as ae,V as oe,f as se,u as a,x as ce}from"./debug-2pVES-2G.js";import{join as o}from"path";import s from"node:process";import c from"node:path";import le from"node:os";import"fs/promises";var ue,de,fe,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,pe=t((()=>{ue=`command-name`,de=`command-message`,fe=`command-args`,l=`bash-input`,u=`bash-stdout`,d=`bash-stderr`,f=`local-command-stdout`,p=`local-command-stderr`,m=`local-command-caveat`,h=`tick`,g=`task-notification`,_=`task-id`,v=`tool-use-id`,y=`task-type`,b=`output-file`,x=`status`,S=`summary`,C=`worktree`,w=`worktreePath`,T=`worktreeBranch`,E=`fork-boilerplate`,D=`Your directive: `,O=[`help`,`-h`,`--help`],k=[`list`,`show`,`display`,`current`,`view`,`get`,`check`,`describe`,`print`,`version`,`about`,`status`,`?`]}));function me(e){if(typeof e!=`string`)return!1;let t=e.trim();return t!==``&&t!==`.`&&t!==`..`&&!e.includes(`/`)&&!e.includes(`\\`)&&!e.includes(`\0`)}function A(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(!me(e))throw Error(`Unsafe filename: ${JSON.stringify(e)}`)}var he=t((()=>{Object.freeze([``,` `,`.`,`..`,` .`,`. `,` ..`,`.. `,`../`,`../foo`,`foo/../bar`,`foo/bar`,`foo\\bar`,`foo\0bar`])}));function ge(e,{suffix:t=`nodejs`}={}){return A(e),t&&(e+=`-${t}`),A(e),s.platform===`darwin`?P(e):s.platform===`win32`?F(e):I(e)}var j,M,N,P,F,I,_e=t((()=>{he(),j=le.homedir(),M=le.tmpdir(),{env:N}=s,P=e=>{let t=c.join(j,`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(M,e)}},F=e=>{let t=N.APPDATA||c.join(j,`AppData`,`Roaming`),n=N.LOCALAPPDATA||c.join(j,`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(M,e)}},I=e=>{let t=c.basename(j);return{data:c.join(N.XDG_DATA_HOME||c.join(j,`.local`,`share`),e),config:c.join(N.XDG_CONFIG_HOME||c.join(j,`.config`),e),cache:c.join(N.XDG_CACHE_HOME||c.join(j,`.cache`),e),log:c.join(N.XDG_STATE_HOME||c.join(j,`.local`,`state`),e),temp:c.join(M,t,e)}}}));function L(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return t}function ve(t){return typeof Bun<`u`?Bun.hash(t).toString():e(`crypto`).createHash(`sha256`).update(t).digest(`hex`)}function ye(t,n){return typeof Bun<`u`?Bun.hash(n,Bun.hash(t)).toString():e(`crypto`).createHash(`sha256`).update(t).update(`\0`).update(n).digest(`hex`)}var R=t((()=>{}));function z(e){let t=e.replace(/[^a-zA-Z0-9]/g,`-`);return t.length<=H?t:`${t.slice(0,H)}-${Math.abs(L(e)).toString(36)}`}function B(e){return z(e)}var V,H,U,W=t((()=>{_e(),se(),R(),V=ge(`claude-cli`),H=200,U={baseLogs:()=>o(V.cache,B(a().cwd())),errors:()=>o(V.cache,B(a().cwd()),`errors`),messages:()=>o(V.cache,B(a().cwd()),`messages`),mcpLogs:e=>o(V.cache,B(a().cwd()),`mcp-logs-${z(e)}`)}}));function G(e){return e.replace(K,``).trim()||e}function be(e){return e.replace(K,``).trim()}function xe(e){return e.replace(q,``).trim()}var K,q,J=t((()=>{K=/<([a-z][\w-]*)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g,q=/<(ide_opened_file|ide_selection)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g}));function Y(){return process.env.WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC?`essential-traffic`:process.env.DISABLE_TELEMETRY?`no-telemetry`:`default`}function X(){return Y()===`essential-traffic`}function Se(){return Y()!=="default"}function Ce(){return process.env.WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC?`WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC`:null}var we=t((()=>{}));function Te(e,t){let n=e.firstPrompt?.startsWith(`<${h}>`),r=e.firstPrompt?be(e.firstPrompt):``,i=r&&!n;return G(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 Ee(e){return e.toISOString().replace(/[:.]/g,`-`)}function De(e){Z.length>=Pe&&Z.shift(),Z.push(e)}function Oe(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 ke(e){let t=oe(e);try{if(i(process.env.WORKMATE_USE_BEDROCK)||i(process.env.WORKMATE_USE_VERTEX)||i(process.env.WORKMATE_USE_FOUNDRY)||process.env.DISABLE_ERROR_REPORTING||X())return;if(De({error:ie(t),timestamp:new Date().toISOString()}),$===null){Q.push({type:`error`,error:t});return}$.logError(t)}catch{}}function Ae(){return[...Z]}function je(e,t){try{if($===null){Q.push({type:`mcpError`,serverName:e,error:t});return}$.logMCPError(e,t)}catch{}}function Me(e,t){try{if($===null){Q.push({type:`mcpDebug`,serverName:e,message:t});return}$.logMCPDebug(e,t)}catch{}}function Ne(e,t){if(!t?.startsWith(`repl_main_thread`))return;let{messages:n,...r}=e;re(r),ne(null)}var Pe,Z,Q,$,Fe=t((()=>{r(),te(),pe(),W(),J(),ee(),ae(),we(),ce(),Pe=100,Z=[],Q=[],$=null,n(()=>process.argv.includes(`--hard-fail`))}));export{k as A,g as B,l as C,de as D,fe as E,f as F,w as G,h as H,b as I,C as K,x as L,D as M,m as N,ue as O,p as P,S as R,R as S,u as T,v as U,y as V,T as W,U as _,Te as a,ve as b,Me as c,we as d,X as f,xe as g,G as h,Ae as i,E as j,O as k,je as l,J as m,Ne as n,Fe as o,Se as p,pe as q,Ee as r,ke as s,Oe as t,Ce as u,W as v,d as w,ye as x,L as y,_ as z};
1
+ import{i as e,n as t}from"./rolldown-runtime-DaDcL9Zw.js";import{n,t as r}from"./memoize-BK3gG5ob.js";import{l as i,o as ee}from"./envUtils-QyzA_cFM.js";import{Pt as te,dn as ne,un as re}from"./state-CXY-q5gr.js";import{B as ie,I as ae,V as oe,f as se,u as a,x as ce}from"./debug-NBJH_NxR.js";import{join as o}from"path";import s from"node:process";import c from"node:path";import le from"node:os";import"fs/promises";var ue,de,fe,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,pe=t((()=>{ue=`command-name`,de=`command-message`,fe=`command-args`,l=`bash-input`,u=`bash-stdout`,d=`bash-stderr`,f=`local-command-stdout`,p=`local-command-stderr`,m=`local-command-caveat`,h=`tick`,g=`task-notification`,_=`task-id`,v=`tool-use-id`,y=`task-type`,b=`output-file`,x=`status`,S=`summary`,C=`worktree`,w=`worktreePath`,T=`worktreeBranch`,E=`fork-boilerplate`,D=`Your directive: `,O=[`help`,`-h`,`--help`],k=[`list`,`show`,`display`,`current`,`view`,`get`,`check`,`describe`,`print`,`version`,`about`,`status`,`?`]}));function me(e){if(typeof e!=`string`)return!1;let t=e.trim();return t!==``&&t!==`.`&&t!==`..`&&!e.includes(`/`)&&!e.includes(`\\`)&&!e.includes(`\0`)}function A(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(!me(e))throw Error(`Unsafe filename: ${JSON.stringify(e)}`)}var he=t((()=>{Object.freeze([``,` `,`.`,`..`,` .`,`. `,` ..`,`.. `,`../`,`../foo`,`foo/../bar`,`foo/bar`,`foo\\bar`,`foo\0bar`])}));function ge(e,{suffix:t=`nodejs`}={}){return A(e),t&&(e+=`-${t}`),A(e),s.platform===`darwin`?P(e):s.platform===`win32`?F(e):I(e)}var j,M,N,P,F,I,_e=t((()=>{he(),j=le.homedir(),M=le.tmpdir(),{env:N}=s,P=e=>{let t=c.join(j,`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(M,e)}},F=e=>{let t=N.APPDATA||c.join(j,`AppData`,`Roaming`),n=N.LOCALAPPDATA||c.join(j,`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(M,e)}},I=e=>{let t=c.basename(j);return{data:c.join(N.XDG_DATA_HOME||c.join(j,`.local`,`share`),e),config:c.join(N.XDG_CONFIG_HOME||c.join(j,`.config`),e),cache:c.join(N.XDG_CACHE_HOME||c.join(j,`.cache`),e),log:c.join(N.XDG_STATE_HOME||c.join(j,`.local`,`state`),e),temp:c.join(M,t,e)}}}));function L(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return t}function ve(t){return typeof Bun<`u`?Bun.hash(t).toString():e(`crypto`).createHash(`sha256`).update(t).digest(`hex`)}function ye(t,n){return typeof Bun<`u`?Bun.hash(n,Bun.hash(t)).toString():e(`crypto`).createHash(`sha256`).update(t).update(`\0`).update(n).digest(`hex`)}var R=t((()=>{}));function z(e){let t=e.replace(/[^a-zA-Z0-9]/g,`-`);return t.length<=H?t:`${t.slice(0,H)}-${Math.abs(L(e)).toString(36)}`}function B(e){return z(e)}var V,H,U,W=t((()=>{_e(),se(),R(),V=ge(`claude-cli`),H=200,U={baseLogs:()=>o(V.cache,B(a().cwd())),errors:()=>o(V.cache,B(a().cwd()),`errors`),messages:()=>o(V.cache,B(a().cwd()),`messages`),mcpLogs:e=>o(V.cache,B(a().cwd()),`mcp-logs-${z(e)}`)}}));function G(e){return e.replace(K,``).trim()||e}function be(e){return e.replace(K,``).trim()}function xe(e){return e.replace(q,``).trim()}var K,q,J=t((()=>{K=/<([a-z][\w-]*)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g,q=/<(ide_opened_file|ide_selection)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g}));function Y(){return process.env.WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC?`essential-traffic`:process.env.DISABLE_TELEMETRY?`no-telemetry`:`default`}function X(){return Y()===`essential-traffic`}function Se(){return Y()!=="default"}function Ce(){return process.env.WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC?`WORKMATE_DISABLE_NONESSENTIAL_TRAFFIC`:null}var we=t((()=>{}));function Te(e,t){let n=e.firstPrompt?.startsWith(`<${h}>`),r=e.firstPrompt?be(e.firstPrompt):``,i=r&&!n;return G(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 Ee(e){return e.toISOString().replace(/[:.]/g,`-`)}function De(e){Z.length>=Pe&&Z.shift(),Z.push(e)}function Oe(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 ke(e){let t=oe(e);try{if(i(process.env.WORKMATE_USE_BEDROCK)||i(process.env.WORKMATE_USE_VERTEX)||i(process.env.WORKMATE_USE_FOUNDRY)||process.env.DISABLE_ERROR_REPORTING||X())return;if(De({error:ie(t),timestamp:new Date().toISOString()}),$===null){Q.push({type:`error`,error:t});return}$.logError(t)}catch{}}function Ae(){return[...Z]}function je(e,t){try{if($===null){Q.push({type:`mcpError`,serverName:e,error:t});return}$.logMCPError(e,t)}catch{}}function Me(e,t){try{if($===null){Q.push({type:`mcpDebug`,serverName:e,message:t});return}$.logMCPDebug(e,t)}catch{}}function Ne(e,t){if(!t?.startsWith(`repl_main_thread`))return;let{messages:n,...r}=e;re(r),ne(null)}var Pe,Z,Q,$,Fe=t((()=>{r(),te(),pe(),W(),J(),ee(),ae(),we(),ce(),Pe=100,Z=[],Q=[],$=null,n(()=>process.argv.includes(`--hard-fail`))}));export{k as A,g as B,l as C,de as D,fe as E,f as F,w as G,h as H,b as I,C as K,x as L,D as M,m as N,ue as O,p as P,S as R,R as S,u as T,v as U,y as V,T as W,U as _,Te as a,ve as b,Me as c,we as d,X as f,xe as g,G as h,Ae as i,E as j,O as k,je as l,J as m,Ne as n,Fe as o,Se as p,pe as q,Ee as r,ke as s,Oe as t,Ce as u,W as v,d as w,ye as x,L as y,_ as z};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{Gr as t,t as n}from"./src-BX54x08P.js";import{In as r,Nn as i,m as a,t as o}from"./settings-D4M13toi.js";import{Pt as s,at as c}from"./state-CXY-q5gr.js";import{jr as l,vr as u}from"./loadAgentsDir-BfLCckVj.js";import{n as d,t as f}from"./cwd-DrEEb4f5.js";import{C as p,S as m,_ as h,y as g}from"./startupProfiler-B9Qv2QGH.js";function _(e){return e>=70?`horizontal`:`compact`}function v(e,t,n){if(t===`horizontal`){let t=n,r=e-(7+t),i=Math.max(30,r),a=Math.min(t+i+k+A,e-O);return a<t+i+k+A&&(i=a-t-k-A),{leftWidth:t,rightWidth:i,totalWidth:a}}let r=Math.min(e-O,70);return{leftWidth:r,rightWidth:r,totalWidth:r}}function y(e,n,r){let i=Math.max(t(e),t(n),t(r),20);return Math.min(i+4,E)}function b(e){return!e||e.length>D?`Welcome back!`:`Welcome back ${e}!`}function x(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 m(e,n);if(i===``&&2+s>=n)return`/${m(a,Math.max(1,n-1))}`;if(i!==``&&3+s>=n)return`…/${m(a,Math.max(1,n-1-1))}`;if(r.length===2)return`${p(i,n-1-1-s)}…/${a}`;let c=n-o-s-1-2;if(c<=0)return`${p(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 S(){if(M)return M;let e=c();return M=l(10).then(t=>(j=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),j)).catch(()=>(j=[],j)),M}function C(){return j}function w(){return{version:process.env.DEMO_VERSION??`0.0.29`,cwd:process.env.DEMO_VERSION?`/code/claude`:i(f()),billingType:`API Usage Billing`,agentName:o().agent}}function T(e,n,r){return t(e)+3+t(n)>r?{shouldSplit:!0,truncatedModel:g(e,r),truncatedBilling:g(n,r)}:{shouldSplit:!1,truncatedModel:g(e,Math.max(r-t(n)-3,10)),truncatedBilling:n}}var E,D,O,k,A,j,M,N=e((()=>{s(),n(),d(),r(),h(),u(),a(),E=50,D=20,O=4,k=1,A=2,j=[],M=null}));export{_ as a,C as c,b as i,N as l,y as n,w as o,T as r,S as s,v as t,x as u};
1
+ import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{Gr as t,t as n}from"./src-BX54x08P.js";import{In as r,Nn as i,m as a,t as o}from"./settings-CA-5Px85.js";import{Pt as s,at as c}from"./state-CXY-q5gr.js";import{jr as l,vr as u}from"./loadAgentsDir-CgDTTnMX.js";import{n as d,t as f}from"./cwd-DrEEb4f5.js";import{C as p,S as m,_ as h,y as g}from"./startupProfiler-C_xcIvEA.js";function _(e){return e>=70?`horizontal`:`compact`}function v(e,t,n){if(t===`horizontal`){let t=n,r=e-(7+t),i=Math.max(30,r),a=Math.min(t+i+k+A,e-O);return a<t+i+k+A&&(i=a-t-k-A),{leftWidth:t,rightWidth:i,totalWidth:a}}let r=Math.min(e-O,70);return{leftWidth:r,rightWidth:r,totalWidth:r}}function y(e,n,r){let i=Math.max(t(e),t(n),t(r),20);return Math.min(i+4,E)}function b(e){return!e||e.length>D?`Welcome back!`:`Welcome back ${e}!`}function x(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 m(e,n);if(i===``&&2+s>=n)return`/${m(a,Math.max(1,n-1))}`;if(i!==``&&3+s>=n)return`…/${m(a,Math.max(1,n-1-1))}`;if(r.length===2)return`${p(i,n-1-1-s)}…/${a}`;let c=n-o-s-1-2;if(c<=0)return`${p(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 S(){if(M)return M;let e=c();return M=l(10).then(t=>(j=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),j)).catch(()=>(j=[],j)),M}function C(){return j}function w(){return{version:process.env.DEMO_VERSION??`0.0.31`,cwd:process.env.DEMO_VERSION?`/code/claude`:i(f()),billingType:`API Usage Billing`,agentName:o().agent}}function T(e,n,r){return t(e)+3+t(n)>r?{shouldSplit:!0,truncatedModel:g(e,r),truncatedBilling:g(n,r)}:{shouldSplit:!1,truncatedModel:g(e,Math.max(r-t(n)-3,10)),truncatedBilling:n}}var E,D,O,k,A,j,M,N=e((()=>{s(),n(),d(),r(),h(),u(),a(),E=50,D=20,O=4,k=1,A=2,j=[],M=null}));export{_ as a,C as c,b as i,N as l,y as n,w as o,T as r,S as s,v as t,x as u};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{i as t,o as n}from"./envUtils-QyzA_cFM.js";import{Gv as r,Hy as i,Vy as a,Xi as o,qv as s,tS as c,vd as l,xa as u,yd as d}from"./loadAgentsDir-BfLCckVj.js";import{I as f,f as p,u as m,z as h}from"./debug-2pVES-2G.js";import{X as g,Y as _,f as v,s as y}from"./model-BIf2i1is.js";import{ln as b,pn as x}from"./prompt-DaYH88Oe.js";import{join as S}from"path";function C(){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"./rolldown-runtime-DaDcL9Zw.js";import{i as t,o as n}from"./envUtils-QyzA_cFM.js";import{Gv as r,Hy as i,Vy as a,Xi as o,qv as s,tS as c,vd as l,xa as u,yd as d}from"./loadAgentsDir-CgDTTnMX.js";import{I as f,f as p,u as m,z as h}from"./debug-NBJH_NxR.js";import{X as g,Y as _,f as v,s as y}from"./model-BidsdFhX.js";import{ln as b,pn as x}from"./prompt-CduUPV0s.js";import{join as S}from"path";function C(){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