@readmagic/workmate 0.0.16 → 0.0.17

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 (247) hide show
  1. package/dist/chunks/{AddWorkspaceDirectory-DAtfMH4o.js → AddWorkspaceDirectory-YAhnVwyN.js} +1 -1
  2. package/dist/chunks/AgentsMdExternalIncludesDialog--D4BeNAN.js +1 -0
  3. package/dist/chunks/{AgentsMdExternalIncludesDialog-BTYgjY5c.js → AgentsMdExternalIncludesDialog-Ba4GYFl3.js} +1 -1
  4. package/dist/chunks/{App-HF0bvxi_.js → App-mri25OrC.js} +1 -1
  5. package/dist/chunks/{ApproveApiKey-BBFLw2B7.js → ApproveApiKey-DCw6d7dm.js} +1 -1
  6. package/dist/chunks/ApproveApiKey-lv4Sg0RR.js +1 -0
  7. package/dist/chunks/{BackgroundTasksDialog-Coc0ecUd.js → BackgroundTasksDialog-CZND8e_Z.js} +1 -1
  8. package/dist/chunks/{BypassPermissionsModeDialog--Gx9ARd4.js → BypassPermissionsModeDialog-B5QBJTB4.js} +1 -1
  9. package/dist/chunks/{DiffDialog-tlINuFS1.js → DiffDialog-Bd-DcTsK.js} +1 -1
  10. package/dist/chunks/{Doctor-Wh7z6CnF.js → Doctor-C9t7udHN.js} +1 -1
  11. package/dist/chunks/Doctor-V-JLC4e3.js +1 -0
  12. package/dist/chunks/{ExitFlow-B1zHTqQt.js → ExitFlow-CShdrKmr.js} +1 -1
  13. package/dist/chunks/{Grove-1Kf7xxIV.js → Grove-CClEZT2e.js} +1 -1
  14. package/dist/chunks/{HybridTransport-DWqWUZCH.js → HybridTransport-DyEuslQB.js} +1 -1
  15. package/dist/chunks/{InvalidConfigDialog-OZPFQSnC.js → InvalidConfigDialog-Wyrk_cXR.js} +1 -1
  16. package/dist/chunks/{InvalidSettingsDialog-BNCm-eyC.js → InvalidSettingsDialog-Cr9fmSyh.js} +1 -1
  17. package/dist/chunks/{MCPConnectionManager-7H84oi5n.js → MCPConnectionManager-BnUw0nYN.js} +1 -1
  18. package/dist/chunks/{MCPToolListView-CVgtg3Iq.js → MCPToolListView-CY2EezWF.js} +1 -1
  19. package/dist/chunks/{McpParsingWarnings-CN8f449l.js → McpParsingWarnings-BF4np2Y3.js} +1 -1
  20. package/dist/chunks/{MessageSelector-B9j6zZ5w.js → MessageSelector-Dtt2Sf65.js} +1 -1
  21. package/dist/chunks/{Messages-yz1m39eI.js → Messages-D5Uuapmf.js} +1 -1
  22. package/dist/chunks/{Onboarding-bFbgae8m.js → Onboarding-BAJXV7Ay.js} +1 -1
  23. package/dist/chunks/{PromptInputFooterSuggestions-CE_yVun1.js → PromptInputFooterSuggestions-Cm4WN3qd.js} +1 -1
  24. package/dist/chunks/{PromptInputHelpMenu-TPWuGwAy.js → PromptInputHelpMenu-ESj8sOpK.js} +1 -1
  25. package/dist/chunks/{QueryEngine-CRobcENE.js → QueryEngine-B79JLwG4.js} +1 -1
  26. package/dist/chunks/REPL-B7evbhvN.js +1 -0
  27. package/dist/chunks/{REPL-C33mMf_q.js → REPL-cAXdORs2.js} +5 -5
  28. package/dist/chunks/{RemoteSessionManager-BjVD918g.js → RemoteSessionManager-C5pAD0Lh.js} +1 -1
  29. package/dist/chunks/{ResumeConversation-CXd8d8po.js → ResumeConversation-NSVT3gn7.js} +1 -1
  30. package/dist/chunks/{SSETransport-BSilVN9e.js → SSETransport-CDGMGrxN.js} +1 -1
  31. package/dist/chunks/SearchExtraToolsTool-CddjJcAH.js +1 -0
  32. package/dist/chunks/{Settings-ClcLl0C1.js → Settings-_b5Yxt_9.js} +2 -2
  33. package/dist/chunks/{TeleportProgress-DonJUoPc.js → TeleportProgress-8cS6aHVO.js} +1 -1
  34. package/dist/chunks/{TeleportRepoMismatchDialog-ByOuSVVz.js → TeleportRepoMismatchDialog-B0epkMgp.js} +1 -1
  35. package/dist/chunks/{TeleportResumeWrapper-BBtELwF1.js → TeleportResumeWrapper-Bb14JeEk.js} +1 -1
  36. package/dist/chunks/{ThemePicker-1QQJFOEv.js → ThemePicker-CnX8faYA.js} +1 -1
  37. package/dist/chunks/{TrustDialog-DwJ9L_u4.js → TrustDialog-6wJF3W6K.js} +1 -1
  38. package/dist/chunks/{add-dir-DOKdPFT2.js → add-dir-LLAv-rGS.js} +1 -1
  39. package/dist/chunks/{agentDisplay-TX1bh-lX.js → agentDisplay-QqGqcHGz.js} +1 -1
  40. package/dist/chunks/{agents-CbRjX9Pj.js → agents-C8wRUTNV.js} +1 -1
  41. package/dist/chunks/{agents-C58tRxpi.js → agents-DFPEienW.js} +1 -1
  42. package/dist/chunks/{allErrors-DRiW7i6Y.js → allErrors-DUYYPpdH.js} +1 -1
  43. package/dist/chunks/{api-CazVavfB.js → api-B3Wnozaf.js} +1 -1
  44. package/dist/chunks/api-BAT--5sp.js +1 -0
  45. package/dist/chunks/{auth-CfrCl9BZ.js → auth-CQGJitIV.js} +1 -1
  46. package/dist/chunks/auth-DaJXqwN5.js +1 -0
  47. package/dist/chunks/auth-DkhPycBL.js +1 -0
  48. package/dist/chunks/{backgroundHousekeeping-CPLlaWcV.js → backgroundHousekeeping-Bjb_Jc7L.js} +2 -2
  49. package/dist/chunks/backgroundHousekeeping-V-dg2j2E.js +1 -0
  50. package/dist/chunks/{branch-pAa0oBaj.js → branch-BWq5ynjm.js} +1 -1
  51. package/dist/chunks/{bridgeConfig-DnFfCpGd.js → bridgeConfig-B3mR0kJ0.js} +1 -1
  52. package/dist/chunks/bridgeConfig-D31i4BRi.js +1 -0
  53. package/dist/chunks/{bridgeMessaging-B_hnuUHb.js → bridgeMessaging-wZ5EKxW_.js} +1 -1
  54. package/dist/chunks/{bridgeStatusUtil-Dwz4YHNA.js → bridgeStatusUtil-mvVQSVN-.js} +1 -1
  55. package/dist/chunks/{btw-CkVkYeRr.js → btw-XNgXHnNr.js} +1 -1
  56. package/dist/chunks/{caches-BLQUkrIG.js → caches-ByLjTvdy.js} +1 -1
  57. package/dist/chunks/caches-ckqJ4Qso.js +1 -0
  58. package/dist/chunks/{ccrClient-AfdUbWzY.js → ccrClient-EisctZbc.js} +1 -1
  59. package/dist/chunks/{clear-Ac3qYi_-.js → clear-BjtPf2Jb.js} +1 -1
  60. package/dist/chunks/client-Bl43xcRk.js +1 -0
  61. package/dist/chunks/commands-BDhn7EPO.js +1 -0
  62. package/dist/chunks/{compact-CXuDr5qM.js → compact-w8AhLkr6.js} +1 -1
  63. package/dist/chunks/config-CbAvTdZ7.js +1 -0
  64. package/dist/chunks/{context-C2plOqH4.js → context-Btn2JU2y.js} +1 -1
  65. package/dist/chunks/{context-noninteractive-fVQtwEkw.js → context-noninteractive-044464Vs.js} +1 -1
  66. package/dist/chunks/context-noninteractive-ulRLlYg5.js +1 -0
  67. package/dist/chunks/conversation-D08lU377.js +1 -0
  68. package/dist/chunks/{conversation-DQpS6nvg.js → conversation-a82khZ_n.js} +1 -1
  69. package/dist/chunks/{createSSHSession-CfyFuJMH.js → createSSHSession-C0KSI0fJ.js} +1 -1
  70. package/dist/chunks/{createSession-qk9C66lK.js → createSession-8ScCWTKb.js} +1 -1
  71. package/dist/chunks/createSession-CnlPXXkA.js +1 -0
  72. package/dist/chunks/{crossProjectResume-DY1ZBO5P.js → crossProjectResume-BCN462Wa.js} +1 -1
  73. package/dist/chunks/{datadog-Cr0VKbct.js → datadog-BqINRWAW.js} +1 -1
  74. package/dist/chunks/{diff-BNjcCXDr.js → diff-CcrSQNvQ.js} +1 -1
  75. package/dist/chunks/doctor-DRFDBrH1.js +1 -0
  76. package/dist/chunks/{entry-o9IZPS4g.js → entry-oVZ7Z59B.js} +1 -1
  77. package/dist/chunks/{esm-BI3tFLyy.js → esm-BZciQG9N.js} +1 -1
  78. package/dist/chunks/{exit-Dlyj7nY8.js → exit-jikLI2Zh.js} +1 -1
  79. package/dist/chunks/{extraUsage-5Ueiyw6W.js → extraUsage-BT3in1Aj.js} +1 -1
  80. package/dist/chunks/extractMemories-BsQU2bVO.js +1 -0
  81. package/dist/chunks/fast-B9vVL3sY.js +1 -0
  82. package/dist/chunks/{fast-ClOKONyD.js → fast-CKhtBOx7.js} +1 -1
  83. package/dist/chunks/fetchModelList-BeL40TyR.js +1 -0
  84. package/dist/chunks/{fetchModelList-gh_jFYai.js → fetchModelList-DmaMgpa2.js} +1 -1
  85. package/dist/chunks/{fileSuggestions-DK7W8kLF.js → fileSuggestions-BfG3sbET.js} +1 -1
  86. package/dist/chunks/firstPartyEventLogger-6GwZ6VLr.js +1 -0
  87. package/dist/chunks/{firstPartyEventLogger-BMnXb9cv.js → firstPartyEventLogger-Q3fMF0BR.js} +2 -2
  88. package/dist/chunks/{flushGate-n4kK6H1U.js → flushGate-COa_KO98.js} +1 -1
  89. package/dist/chunks/{gemini-C8-QHnsC.js → gemini-L8Gj2B4H.js} +1 -1
  90. package/dist/chunks/{generateSessionName-C8DnAVaa.js → generateSessionName-cAL5T7pG.js} +1 -1
  91. package/dist/chunks/{goal-DMmzlZOF.js → goal-D-x2WXm7.js} +1 -1
  92. package/dist/chunks/{grok-LLjpAwP_.js → grok-DtypRM4d.js} +1 -1
  93. package/dist/chunks/{grove-CQBCzeHf.js → grove-CSivzrhe.js} +1 -1
  94. package/dist/chunks/{help-JH7WzjZP.js → help-DKZhC0lL.js} +1 -1
  95. package/dist/chunks/{hooks-DD2jpRfx.js → hooks-D_afUDcs.js} +1 -1
  96. package/dist/chunks/hooks-DvVuNKRx.js +1 -0
  97. package/dist/chunks/{initReplBridge-BDaN0hpY.js → initReplBridge-sTaq4a0K.js} +1 -1
  98. package/dist/chunks/{install-CD4or0vj.js → install-BWe3Jz4M.js} +1 -1
  99. package/dist/chunks/{instrumentation-n-otwpYf.js → instrumentation-IljwxX0V.js} +3 -3
  100. package/dist/chunks/{job-B-pEWgXI.js → job-N25KhSUu.js} +1 -1
  101. package/dist/chunks/{keybindings-qed9q9tx.js → keybindings-DLEorhlY.js} +1 -1
  102. package/dist/chunks/{launchLocalMemory-cBovdGMT.js → launchLocalMemory-DJsuNLIf.js} +1 -1
  103. package/dist/chunks/{launchOnboarding-B__wtt7p.js → launchOnboarding-CVvuxeH-.js} +1 -1
  104. package/dist/chunks/{loadAgentsDir-PPiD2Mfq.js → loadAgentsDir-CbtNPJV3.js} +23 -23
  105. package/dist/chunks/loadAgentsDir-D0gl_H2S.js +1 -0
  106. package/dist/chunks/{loadPluginHooks-DUCuU3_8.js → loadPluginHooks-BxkDBFd6.js} +1 -1
  107. package/dist/chunks/{localSearch-Cvs9WfoX.js → localSearch-B5mTHBwK.js} +1 -1
  108. package/dist/chunks/localSearch-D3UrYUre.js +1 -0
  109. package/dist/chunks/{logoV2Utils-Bkj74dtY.js → logoV2Utils-D5nRpirL.js} +1 -1
  110. package/dist/chunks/{magicDocs-3U6peChg.js → magicDocs-C9aIo4Oe.js} +1 -1
  111. package/dist/chunks/{main-DkjxhBIC.js → main-DeUt_aE2.js} +9 -9
  112. package/dist/chunks/managedEnv-ADMKY7-G.js +1 -0
  113. package/dist/chunks/{managedEnv-BUrzwaD3.js → managedEnv-CDxyrUw1.js} +1 -1
  114. package/dist/chunks/{mappers-ZGgwqDOK.js → mappers-Del1KoA7.js} +1 -1
  115. package/dist/chunks/{mcp-COZxwgJZ.js → mcp-Bh3MNBIj.js} +2 -2
  116. package/dist/chunks/{mcp-CdyNeNzh.js → mcp-D7vMhEOV.js} +1 -1
  117. package/dist/chunks/{mcp-CysOyBIn.js → mcp-nnBVM5Lt.js} +1 -1
  118. package/dist/chunks/{memory-B5h2TTSS.js → memory-DtqQhHu8.js} +1 -1
  119. package/dist/chunks/{mode-D3yY1fdK.js → mode-DPbrxU32.js} +1 -1
  120. package/dist/chunks/{model-Bz4JHoU0.js → model-B50j-O5v.js} +1 -1
  121. package/dist/chunks/model-DLG1nrnf.js +1 -0
  122. package/dist/chunks/{model-sviY1inu.js → model-DlLO7TSx.js} +1 -1
  123. package/dist/chunks/{modelOptions-DYQqTLPi.js → modelOptions-SMq3one0.js} +1 -1
  124. package/dist/chunks/{nativeInstaller-N1xiUpCP.js → nativeInstaller-DTJ4clp-.js} +1 -1
  125. package/dist/chunks/{omit-BOILu8jW.js → omit-CMldTqqy.js} +1 -1
  126. package/dist/chunks/{onChangeAppState-COFFZAXb.js → onChangeAppState-EAnsmOuo.js} +1 -1
  127. package/dist/chunks/{openai-BHM5kEFo.js → openai-D9KvLMrj.js} +1 -1
  128. package/dist/chunks/{partition-C1SFDk_L.js → partition-B8Y4jvjW.js} +1 -1
  129. package/dist/chunks/{permissions-uy_NFbfy.js → permissions-cDtIZRM1.js} +1 -1
  130. package/dist/chunks/{pidLock-DuMVSwnN.js → pidLock-Br3_YNi_.js} +2 -2
  131. package/dist/chunks/{plan-DF9YSB5M.js → plan-dG2H4eQl.js} +1 -1
  132. package/dist/chunks/{plugin-GRPzqgTr.js → plugin-CzQHuIlP.js} +1 -1
  133. package/dist/chunks/{pluginAutoupdate-AMD-FvKB.js → pluginAutoupdate-B9W_vxOG.js} +1 -1
  134. package/dist/chunks/{pluginBlocklist-DNxkAxH6.js → pluginBlocklist-BvdBsnJG.js} +1 -1
  135. package/dist/chunks/{pluginCliCommands-BFoR1ZXx.js → pluginCliCommands-NKIgFTUF.js} +1 -1
  136. package/dist/chunks/{pluginFlagging-CW2IZWSI.js → pluginFlagging-C0PtAJEg.js} +1 -1
  137. package/dist/chunks/{pluginOperations-DlWE0idP.js → pluginOperations-wUUdFpu9.js} +1 -1
  138. package/dist/chunks/pluginStartupCheck-hDT6pEAd.js +1 -0
  139. package/dist/chunks/{pluginStartupCheck-AQGV0DCS.js → pluginStartupCheck-p0njap1l.js} +1 -1
  140. package/dist/chunks/{plugins-CwUSTE4E.js → plugins-B9WBqOAW.js} +1 -1
  141. package/dist/chunks/{print-9wR_ijrL.js → print-G3DgPTxy.js} +3 -3
  142. package/dist/chunks/{processBashCommand-Deqwq1IE.js → processBashCommand-zLWgCRws.js} +1 -1
  143. package/dist/chunks/{processSlashCommand-U9LJ4Keq.js → processSlashCommand-BHBnHBjj.js} +1 -1
  144. package/dist/chunks/{prompt-CQmEvnKN.js → prompt-BRGC5U9Y.js} +1 -1
  145. package/dist/chunks/prompt-Ct3Ryb3C.js +1 -0
  146. package/dist/chunks/prompt-TZJKyomz.js +1 -0
  147. package/dist/chunks/{promptEditor-Bf72KNF-.js → promptEditor-CRIw6vJS.js} +1 -1
  148. package/dist/chunks/{reconciler-Css9bs07.js → reconciler-DiU1RvGD.js} +1 -1
  149. package/dist/chunks/{refresh-B87z39Zs.js → refresh-DEXe3Lmx.js} +1 -1
  150. package/dist/chunks/{reload-plugins-BpmUIkfm.js → reload-plugins-Cl6wvT6V.js} +1 -1
  151. package/dist/chunks/{remoteBridgeCore-BCLIIygk.js → remoteBridgeCore-DnFZoXaw.js} +1 -1
  152. package/dist/chunks/{remoteManagedSettings-Ahgn2e80.js → remoteManagedSettings-BboLJ46D.js} +1 -1
  153. package/dist/chunks/{rename-BUt3PliQ.js → rename-CdzxOzN5.js} +1 -1
  154. package/dist/chunks/{resume-uZI9p_FE.js → resume-DgFXYWTN.js} +1 -1
  155. package/dist/chunks/{runtimeObserver-AKOWfdZ_.js → runtimeObserver-CwtRE2cj.js} +1 -1
  156. package/dist/chunks/{runtimeObserver-By59MZKJ.js → runtimeObserver-Dov-m2dl.js} +2 -2
  157. package/dist/chunks/sandbox-adapter-CtEngx-6.js +1 -0
  158. package/dist/chunks/{sandbox-toggle-BdvylnWS.js → sandbox-toggle-DWCrG9zV.js} +1 -1
  159. package/dist/chunks/searchExtraTools-zFMN5MqY.js +1 -0
  160. package/dist/chunks/{session-Tm2-rzBY.js → session-L5191BSn.js} +1 -1
  161. package/dist/chunks/sessionFileAccessHooks-C2VjT-PU.js +1 -0
  162. package/dist/chunks/sessionObserver-BuhXr3FP.js +1 -0
  163. package/dist/chunks/{sessionObserver-BAr8AWeL.js → sessionObserver-DpY0DOjI.js} +1 -1
  164. package/dist/chunks/{sessionState-BTFowSpR.js → sessionState-BlbRQ3Y6.js} +1 -1
  165. package/dist/chunks/sessionStorage-CiYSwyY3.js +1 -0
  166. package/dist/chunks/sessionTitle-k4wpUS5l.js +2 -0
  167. package/dist/chunks/{sessionTracing-CvY4udYI.js → sessionTracing-DqVx8aFD.js} +1 -1
  168. package/dist/chunks/{settingsSync-nxeaGM2-.js → settingsSync-BhlegQAU.js} +1 -1
  169. package/dist/chunks/{setup-D4FPeBnM.js → setup-DvnKMqDy.js} +2 -2
  170. package/dist/chunks/{shadowedRuleDetection-Co8m1q1D.js → shadowedRuleDetection-Gerk3t93.js} +1 -1
  171. package/dist/chunks/{sideQuestion-4TJYn-Az.js → sideQuestion-RndkXExy.js} +1 -1
  172. package/dist/chunks/sinks-Cf4vx9UX.js +1 -0
  173. package/dist/chunks/{sinks-Bb2i50kz.js → sinks-CfzgqLH5.js} +1 -1
  174. package/dist/chunks/{skillChangeDetector-BU9AFG0i.js → skillChangeDetector-BQx4xe_b.js} +1 -1
  175. package/dist/chunks/{skillGapStore-BcVP3ZUb.js → skillGapStore-CLxhWLyq.js} +2 -2
  176. package/dist/chunks/{skillLifecycle-CG2XmS8f.js → skillLifecycle-CSNX2qOH.js} +2 -2
  177. package/dist/chunks/{skillSearchPanel-DOJmUBXB.js → skillSearchPanel-CsQDjy_E.js} +2 -2
  178. package/dist/chunks/{skills-DIgCWvzX.js → skills-DM9ACPW-.js} +1 -1
  179. package/dist/chunks/status-C3z0CSBw.js +1 -0
  180. package/dist/chunks/{status-Ber2xOXc.js → status-C5v7KsX4.js} +1 -1
  181. package/dist/chunks/{statusNoticeHelpers-CYkrPUpN.js → statusNoticeHelpers-BY_8pK19.js} +1 -1
  182. package/dist/chunks/switcher-C9VsM-ip.js +1 -0
  183. package/dist/chunks/{switcher-BIP3rbQn.js → switcher-CnBKuiNp.js} +1 -1
  184. package/dist/chunks/{syncCache-AMQMQ_HR.js → syncCache-Dff4hbz4.js} +1 -1
  185. package/dist/chunks/{tasks-BKERIO4G.js → tasks-qVyXOLBf.js} +1 -1
  186. package/dist/chunks/{teleport-DOXbf2sQ.js → teleport-Deq_ecN9.js} +1 -1
  187. package/dist/chunks/{templateJobs-dg2F45ZJ.js → templateJobs-CntPyct-.js} +1 -1
  188. package/dist/chunks/{theme-BGxytGjA.js → theme-DVWYzSct.js} +1 -1
  189. package/dist/chunks/{toolEventObserver-CJhg_p3P.js → toolEventObserver-BZn8ZJB5.js} +1 -1
  190. package/dist/chunks/{toolPool-C0d7Bznl.js → toolPool-Dzp1ob3I.js} +1 -1
  191. package/dist/chunks/trustedDevice-1Q4FTNyX.js +1 -0
  192. package/dist/chunks/{trustedDevice-BtXHXu-T.js → trustedDevice-CdLAZK6m.js} +1 -1
  193. package/dist/chunks/{useExitOnCtrlCDWithKeybindings-C9orgrub.js → useExitOnCtrlCDWithKeybindings-YSWYVWk6.js} +1 -1
  194. package/dist/chunks/useMainLoopModel-C1JRp4zE.js +1 -0
  195. package/dist/chunks/{useManagePlugins-Bt-DYAnX.js → useManagePlugins-DfuI4Nhd.js} +1 -1
  196. package/dist/chunks/{useMergedTools-CZeQBdky.js → useMergedTools-B4qRVJ8b.js} +1 -1
  197. package/dist/chunks/{useSearchInput-DdKrVHJS.js → useSearchInput-DfUNYhqC.js} +1 -1
  198. package/dist/chunks/{useSettingsErrors-BR9Wws7D.js → useSettingsErrors-Bls74ocI.js} +1 -1
  199. package/dist/chunks/{userAgent-DUt0q-Vl.js → userAgent-CNPTS7ix.js} +1 -1
  200. package/dist/chunks/{util-h-Hmdke_.js → util-6aJHnBQ_.js} +1 -1
  201. package/dist/chunks/{validatePlugin-mWVKNtJa.js → validatePlugin-BajM6yNf.js} +1 -1
  202. package/dist/chunks/{workerRegistry-dlfqtySm.js → workerRegistry-BwJ54Lzk.js} +2 -2
  203. package/dist/chunks/worktree-BFP10vim.js +1 -0
  204. package/dist/cli.js +1 -1
  205. package/package.json +1 -1
  206. package/dist/chunks/AgentsMdExternalIncludesDialog-C6VH6JG6.js +0 -1
  207. package/dist/chunks/ApproveApiKey-B7mKgSqY.js +0 -1
  208. package/dist/chunks/Doctor-BJf49FWX.js +0 -1
  209. package/dist/chunks/REPL-BhCC0JP6.js +0 -1
  210. package/dist/chunks/SearchExtraToolsTool-DoiCI2uJ.js +0 -1
  211. package/dist/chunks/api-C8uOHD-v.js +0 -1
  212. package/dist/chunks/auth-BL238vgr.js +0 -1
  213. package/dist/chunks/auth-D3GkU6d7.js +0 -1
  214. package/dist/chunks/backgroundHousekeeping-Du2tN2WE.js +0 -1
  215. package/dist/chunks/bridgeConfig-joBqeK0j.js +0 -1
  216. package/dist/chunks/caches-DsFl83sh.js +0 -1
  217. package/dist/chunks/client-BX0r6K3I.js +0 -1
  218. package/dist/chunks/commands-BKLsl6gK.js +0 -1
  219. package/dist/chunks/config-DrY1SvhQ.js +0 -1
  220. package/dist/chunks/context-noninteractive-DpVlZ-wP.js +0 -1
  221. package/dist/chunks/conversation-C0yysXds.js +0 -1
  222. package/dist/chunks/createSession-CmBawnsh.js +0 -1
  223. package/dist/chunks/doctor-BkCtT7H1.js +0 -1
  224. package/dist/chunks/extractMemories-DnTBWFOW.js +0 -1
  225. package/dist/chunks/fast-B3fRp1xO.js +0 -1
  226. package/dist/chunks/fetchModelList-B8KG79EK.js +0 -1
  227. package/dist/chunks/firstPartyEventLogger-YYOb8aIo.js +0 -1
  228. package/dist/chunks/hooks-COhKt_pF.js +0 -1
  229. package/dist/chunks/loadAgentsDir-qvqrTVuS.js +0 -1
  230. package/dist/chunks/localSearch-CDk_stXJ.js +0 -1
  231. package/dist/chunks/managedEnv-XOUMOtEF.js +0 -1
  232. package/dist/chunks/model-g6XBcNAG.js +0 -1
  233. package/dist/chunks/pluginStartupCheck-DWpquqxx.js +0 -1
  234. package/dist/chunks/prompt-BBeDQXIs.js +0 -1
  235. package/dist/chunks/prompt-CXhdqgB7.js +0 -1
  236. package/dist/chunks/sandbox-adapter-D4Uho1vF.js +0 -1
  237. package/dist/chunks/searchExtraTools-BHMkqGBf.js +0 -1
  238. package/dist/chunks/sessionFileAccessHooks-BaWZ8sqn.js +0 -1
  239. package/dist/chunks/sessionObserver-KB1UL_n2.js +0 -1
  240. package/dist/chunks/sessionStorage-D6nlmaI-.js +0 -1
  241. package/dist/chunks/sessionTitle-SCqmSDYM.js +0 -14
  242. package/dist/chunks/sinks-D1opmy_x.js +0 -1
  243. package/dist/chunks/status-CVcXPoOZ.js +0 -1
  244. package/dist/chunks/switcher-zbG6T9dN.js +0 -1
  245. package/dist/chunks/trustedDevice-hw3iq84W.js +0 -1
  246. package/dist/chunks/useMainLoopModel-BigVcn2T.js +0 -1
  247. package/dist/chunks/worktree-IxcFe7g-.js +0 -1
@@ -1,3 +1,3 @@
1
- import{n as e,o as t}from"./rolldown-runtime-DaDcL9Zw.js";import{_l as n,cd as r,cl as i,dl as a,fl as o,gl as s,hl as c,ld as l,ll as u,ml as d,pl as f,ul as p}from"./loadAgentsDir-PPiD2Mfq.js";import{I as m,P as h,ai as g,hn as _,t as v,y}from"./src-DL3w8VPk2.js";import{t as b}from"./jsx-runtime-Bb4Xn-E0.js";function x(e){return e.mode===`list`?e.stores.length===0?(0,S.jsx)(m,{children:(0,S.jsx)(h,{dimColor:!0,children:`No memory stores found. Use /local-memory create <store> to create one.`})}):(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsx)(m,{marginBottom:1,children:(0,S.jsxs)(h,{bold:!0,children:[`Local Memory Stores (`,e.stores.length,`)`]})}),e.stores.map(e=>(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{children:` `}),(0,S.jsx)(h,{color:`success`,children:`◆`}),(0,S.jsxs)(h,{children:[` `,e]})]},e))]}):e.mode===`created`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Store created: `}),(0,S.jsx)(h,{bold:!0,children:e.store})]}):e.mode===`stored`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Stored entry `}),(0,S.jsx)(h,{bold:!0,children:e.key}),(0,S.jsx)(h,{children:` in `}),(0,S.jsx)(h,{bold:!0,children:e.store})]}):e.mode===`fetched`?(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsxs)(m,{marginBottom:1,children:[(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsx)(h,{dimColor:!0,children:`/`}),(0,S.jsx)(h,{bold:!0,children:e.key})]}),(0,S.jsx)(m,{children:(0,S.jsx)(h,{children:e.value})})]}):e.mode===`not-found`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`error`,children:`Not found: `}),(0,S.jsx)(h,{bold:!0,children:e.store}),e.key?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(h,{dimColor:!0,children:`/`}),(0,S.jsx)(h,{bold:!0,children:e.key})]}):null]}):e.mode===`entries`?e.keys.length===0?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{dimColor:!0,children:`No entries in `}),(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[`. Use /local-memory store `,e.store,` <key> <value> to add one.`]})]}):(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsxs)(m,{marginBottom:1,children:[(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[` (`,e.keys.length,` entries)`]})]}),e.keys.map(e=>(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{children:` `}),(0,S.jsx)(h,{color:`success`,children:`·`}),(0,S.jsxs)(h,{children:[` `,e]})]},e))]}):e.mode===`archived`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Archived store: `}),(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[` (renamed to `,e.store,`.archived)`]})]}):(0,S.jsx)(m,{children:(0,S.jsxs)(h,{color:`error`,children:[`Error: `,e.message]})})}var S,C=e((()=>{v(),S=b()}));function w(e){let t=e.trim();if(t===``||t===`list`)return{action:`list`};let n=t.split(/\s+/),r=n[0];if(r===`list`)return{action:`list`};if(r===`create`){let e=n[1];return e?{action:`create`,store:e}:{action:`invalid`,reason:`create requires a store name. ${T}`}}if(r===`store`){let e=n[1],t=n[2];if(!e)return{action:`invalid`,reason:`store requires a store name. ${T}`};if(!t)return{action:`invalid`,reason:`store requires a key. ${T}`};let r=n.slice(3).join(` `);return r?{action:`store`,store:e,key:t,value:r}:{action:`invalid`,reason:`store requires a value. ${T}`}}if(r===`fetch`){let e=n[1],t=n[2];return e?t?{action:`fetch`,store:e,key:t}:{action:`invalid`,reason:`fetch requires a key. ${T}`}:{action:`invalid`,reason:`fetch requires a store name. ${T}`}}if(r===`entries`){let e=n[1];return e?{action:`entries`,store:e}:{action:`invalid`,reason:`entries requires a store name. ${T}`}}if(r===`archive`){let e=n[1];return e?{action:`archive`,store:e}:{action:`invalid`,reason:`archive requires a store name. ${T}`}}return{action:`invalid`,reason:`Unknown sub-command "${r}". ${T}`}}var T,E=e((()=>{T=`Usage: /local-memory list | create STORE | store STORE KEY VALUE | fetch STORE KEY | entries STORE | archive STORE`}));function D(e){return async(t,n,r)=>{let i=e.parseArgs(r??``);if(O(i))return t(`Invalid args: ${i.reason}`,{display:`system`}),e.errorView(i.reason);try{let r=await e.dispatch(i,t,n);return r===null?null:k.createElement(e.View,r)}catch(n){let r=n instanceof Error?n.message:String(n);return e.onDispatchError?.(n),t(`${e.commandName} failed: ${r}`,{display:`system`}),e.errorView(r)}}}function O(e){return typeof e==`object`&&!!e&&`action`in e&&e.action===`invalid`}var k,A=e((()=>{k=t(g(),1)}));function j(e){return e.length===0?`No memory stores found.`:[`Local Memory Stores`,...e.map(e=>`- ${e}`)].join(`
1
+ import{n as e,o as t}from"./rolldown-runtime-DaDcL9Zw.js";import{_l as n,cd as r,cl as i,dl as a,fl as o,gl as s,hl as c,ld as l,ll as u,ml as d,pl as f,ul as p}from"./loadAgentsDir-CbtNPJV3.js";import{I as m,P as h,ai as g,hn as _,t as v,y}from"./src-DL3w8VPk2.js";import{t as b}from"./jsx-runtime-Bb4Xn-E0.js";function x(e){return e.mode===`list`?e.stores.length===0?(0,S.jsx)(m,{children:(0,S.jsx)(h,{dimColor:!0,children:`No memory stores found. Use /local-memory create <store> to create one.`})}):(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsx)(m,{marginBottom:1,children:(0,S.jsxs)(h,{bold:!0,children:[`Local Memory Stores (`,e.stores.length,`)`]})}),e.stores.map(e=>(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{children:` `}),(0,S.jsx)(h,{color:`success`,children:`◆`}),(0,S.jsxs)(h,{children:[` `,e]})]},e))]}):e.mode===`created`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Store created: `}),(0,S.jsx)(h,{bold:!0,children:e.store})]}):e.mode===`stored`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Stored entry `}),(0,S.jsx)(h,{bold:!0,children:e.key}),(0,S.jsx)(h,{children:` in `}),(0,S.jsx)(h,{bold:!0,children:e.store})]}):e.mode===`fetched`?(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsxs)(m,{marginBottom:1,children:[(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsx)(h,{dimColor:!0,children:`/`}),(0,S.jsx)(h,{bold:!0,children:e.key})]}),(0,S.jsx)(m,{children:(0,S.jsx)(h,{children:e.value})})]}):e.mode===`not-found`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`error`,children:`Not found: `}),(0,S.jsx)(h,{bold:!0,children:e.store}),e.key?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(h,{dimColor:!0,children:`/`}),(0,S.jsx)(h,{bold:!0,children:e.key})]}):null]}):e.mode===`entries`?e.keys.length===0?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{dimColor:!0,children:`No entries in `}),(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[`. Use /local-memory store `,e.store,` <key> <value> to add one.`]})]}):(0,S.jsxs)(m,{flexDirection:`column`,children:[(0,S.jsxs)(m,{marginBottom:1,children:[(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[` (`,e.keys.length,` entries)`]})]}),e.keys.map(e=>(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{children:` `}),(0,S.jsx)(h,{color:`success`,children:`·`}),(0,S.jsxs)(h,{children:[` `,e]})]},e))]}):e.mode===`archived`?(0,S.jsxs)(m,{children:[(0,S.jsx)(h,{color:`success`,children:`✓`}),(0,S.jsx)(h,{children:` Archived store: `}),(0,S.jsx)(h,{bold:!0,children:e.store}),(0,S.jsxs)(h,{dimColor:!0,children:[` (renamed to `,e.store,`.archived)`]})]}):(0,S.jsx)(m,{children:(0,S.jsxs)(h,{color:`error`,children:[`Error: `,e.message]})})}var S,C=e((()=>{v(),S=b()}));function w(e){let t=e.trim();if(t===``||t===`list`)return{action:`list`};let n=t.split(/\s+/),r=n[0];if(r===`list`)return{action:`list`};if(r===`create`){let e=n[1];return e?{action:`create`,store:e}:{action:`invalid`,reason:`create requires a store name. ${T}`}}if(r===`store`){let e=n[1],t=n[2];if(!e)return{action:`invalid`,reason:`store requires a store name. ${T}`};if(!t)return{action:`invalid`,reason:`store requires a key. ${T}`};let r=n.slice(3).join(` `);return r?{action:`store`,store:e,key:t,value:r}:{action:`invalid`,reason:`store requires a value. ${T}`}}if(r===`fetch`){let e=n[1],t=n[2];return e?t?{action:`fetch`,store:e,key:t}:{action:`invalid`,reason:`fetch requires a key. ${T}`}:{action:`invalid`,reason:`fetch requires a store name. ${T}`}}if(r===`entries`){let e=n[1];return e?{action:`entries`,store:e}:{action:`invalid`,reason:`entries requires a store name. ${T}`}}if(r===`archive`){let e=n[1];return e?{action:`archive`,store:e}:{action:`invalid`,reason:`archive requires a store name. ${T}`}}return{action:`invalid`,reason:`Unknown sub-command "${r}". ${T}`}}var T,E=e((()=>{T=`Usage: /local-memory list | create STORE | store STORE KEY VALUE | fetch STORE KEY | entries STORE | archive STORE`}));function D(e){return async(t,n,r)=>{let i=e.parseArgs(r??``);if(O(i))return t(`Invalid args: ${i.reason}`,{display:`system`}),e.errorView(i.reason);try{let r=await e.dispatch(i,t,n);return r===null?null:k.createElement(e.View,r)}catch(n){let r=n instanceof Error?n.message:String(n);return e.onDispatchError?.(n),t(`${e.commandName} failed: ${r}`,{display:`system`}),e.errorView(r)}}}function O(e){return typeof e==`object`&&!!e&&`action`in e&&e.action===`invalid`}var k,A=e((()=>{k=t(g(),1)}));function j(e){return e.length===0?`No memory stores found.`:[`Local Memory Stores`,...e.map(e=>`- ${e}`)].join(`
2
2
  `)}function M(e,t){return t.length===0?`No entries in "${e}".`:[`Entries in "${e}"`,...t.map(e=>`- ${e}`)].join(`
3
3
  `)}function N({onDone:e}){let[t,a]=F.useState({kind:`menu`}),[s,l]=F.useState(0),[g,v]=F.useState(``),[b,x]=F.useState(0),[S,C]=F.useState(null),w=F.useCallback(e=>{a(e),v(``),x(0),C(null)},[]),T=F.useCallback(t=>e(t,{display:`system`}),[e]),E=F.useCallback((e,t,n,r,a={})=>{try{if(e===`list`){T(j(d()));return}if(e===`about`){T(L);return}if(!t){C(`Internal: missing store`);return}if(e===`create`){u(t),T(`Store created: ${t}`);return}if(e===`entries`){let e=f(t);T(M(t,e));return}if(e===`archive`){i(t),T(`Archived store: ${t}`);return}if(e===`fetch`){if(!n){C(`Internal: missing key`);return}let e=p(t,n);if(e===null){T(`Entry not found: ${t}/${n}`);return}T(`Entry fetched: ${t}/${n}\n\n${e}`);return}if(e===`store`){if(!n||r===void 0){C(`Internal: missing key or value`);return}if(!a.confirmedOverwrite&&p(t,n)!==null){w({kind:`confirm-overwrite`,store:t,key:n,value:r});return}c(t,n,r),T(`Stored ${t}/${n} (${r.length} chars)`);return}}catch(e){C(e instanceof Error?e.message:String(e))}},[T,w]);if(_((e,n)=>{if(t.kind!==`menu`)return;if(n.upArrow){l(e=>Math.max(0,e-1));return}if(n.downArrow){l(e=>Math.min(z.length-1,e+1));return}if(n.return){let e=z[s];if(!e)return;if(e.kind===`list`||e.kind===`about`){E(e.kind,void 0,void 0,void 0);return}w({kind:`collect-store`,action:e.kind});return}let r=Number(e);Number.isInteger(r)&&r>=1&&r<=z.length&&l(r-1)},{isActive:t.kind===`menu`}),_((e,n)=>{if(t.kind!==`confirm-archive`&&t.kind!==`confirm-overwrite`)return;if(n.escape){w({kind:`menu`});return}let r=e.toLowerCase();r===`y`||n.return?t.kind===`confirm-archive`?E(`archive`,t.store,void 0,void 0):E(`store`,t.store,t.key,t.value,{confirmedOverwrite:!0}):r===`n`&&w({kind:`menu`})},{isActive:t.kind===`confirm-archive`||t.kind===`confirm-overwrite`}),_((e,n)=>{if(!(t.kind!==`collect-store`&&t.kind!==`collect-key`&&t.kind!==`collect-value`)&&n.escape){if(t.kind===`collect-value`){w({kind:`collect-key`,action:t.action,store:t.store});return}if(t.kind===`collect-key`){w({kind:`collect-store`,action:t.action});return}w({kind:`menu`})}},{isActive:t.kind===`collect-store`||t.kind===`collect-key`||t.kind===`collect-value`}),t.kind===`menu`)return(0,I.jsx)(y,{title:`Local Memory`,subtitle:`${z.length} actions`,onCancel:()=>T(`Local memory panel dismissed`),color:`background`,hideInputGuide:!0,children:(0,I.jsxs)(m,{flexDirection:`column`,children:[z.map((e,t)=>(0,I.jsxs)(m,{flexDirection:`row`,children:[(0,I.jsx)(h,{children:`${t===s?`›`:` `} ${e.label}`.padEnd(R)}),(0,I.jsx)(h,{dimColor:!0,children:e.description})]},e.kind)),(0,I.jsx)(m,{marginTop:1,children:(0,I.jsx)(h,{dimColor:!0,children:`↑/↓ or 1-7 select · Enter run · Esc close`})})]})});if(t.kind===`confirm-archive`)return(0,I.jsx)(y,{title:`Confirm Archive`,onCancel:()=>w({kind:`menu`}),color:`warning`,hideInputGuide:!0,children:(0,I.jsxs)(m,{flexDirection:`column`,children:[(0,I.jsxs)(h,{children:[`Archive store "`,t.store,`"? This renames it to *.archived.`]}),(0,I.jsx)(m,{marginTop:1,children:(0,I.jsx)(h,{dimColor:!0,children:`y/Enter = archive · n/Esc = cancel`})})]})});if(t.kind===`confirm-overwrite`)return(0,I.jsx)(y,{title:`Confirm Overwrite`,onCancel:()=>w({kind:`menu`}),color:`warning`,hideInputGuide:!0,children:(0,I.jsxs)(m,{flexDirection:`column`,children:[(0,I.jsxs)(h,{children:[`Entry "`,t.store,`/`,t.key,`" already exists. Overwrite with new value (`,t.value.length,` chars)?`]}),(0,I.jsx)(m,{marginTop:1,children:(0,I.jsx)(h,{dimColor:!0,children:`y/Enter = overwrite · n/Esc = cancel`})})]})});let D=t.kind===`collect-store`?`STORE NAME`:t.kind===`collect-key`?`KEY NAME`:`VALUE`,O=t.kind===`collect-store`?`e.g. my-notes`:t.kind===`collect-key`?`e.g. todo-2026-05-08`:`free text`;return(0,I.jsx)(y,{title:`Local Memory · ${t.kind.replace(`collect-`,``).toUpperCase()}`,onCancel:()=>w({kind:`menu`}),color:`background`,hideInputGuide:!0,children:(0,I.jsxs)(m,{flexDirection:`column`,children:[(0,I.jsx)(m,{children:(0,I.jsx)(h,{dimColor:!0,children:D})}),(0,I.jsxs)(m,{children:[(0,I.jsx)(h,{children:`> `}),(0,I.jsx)(r,{value:g,onChange:e=>{v(e),C(null)},cursorOffset:b,onChangeCursorOffset:x,onSubmit:e=>{let r=e.trim();if(t.kind===`collect-store`){if(!r){C(`Store name required`);return}if(!o(r)){C(`Invalid store name (no /, \\, :, null byte, or leading dot; max 255 chars)`);return}t.action===`create`||t.action===`entries`||t.action===`archive`?t.action===`archive`?w({kind:`confirm-archive`,store:r}):E(t.action,r,void 0,void 0):w({kind:`collect-key`,action:t.action,store:r});return}if(t.kind===`collect-key`){if(!r){C(`Key required`);return}if(!n(r)){C(`Invalid key (allowed: letters/digits/._- only; no leading dot; not a Windows reserved name)`);return}t.action===`fetch`?E(`fetch`,t.store,r,void 0):w({kind:`collect-value`,action:`store`,store:t.store,key:r});return}t.kind===`collect-value`&&E(`store`,t.store,t.key,e)},placeholder:O,columns:70,showCursor:!0})]}),S!==null&&(0,I.jsx)(m,{marginTop:0,children:(0,I.jsxs)(h,{color:`warning`,children:[`✗ `,S]})}),(0,I.jsx)(m,{marginTop:1,children:(0,I.jsx)(h,{dimColor:!0,children:`Enter = next · Esc = back`})})]})})}async function P(e,t){if(e.action===`list`)return t(j(d()),{display:`system`}),null;if(e.action===`create`){let{store:n}=e;return u(n),t(`Store created: ${n}`,{display:`system`}),null}if(e.action===`store`){let{store:n,key:r,value:i}=e;return c(n,r,i),t(`Stored entry "${r}" in store "${n}".`,{display:`system`}),null}if(e.action===`fetch`){let{store:n,key:r}=e,i=p(n,r);return i===null?(t(`Entry not found: ${n}/${r}`,{display:`system`}),null):(t(`Entry fetched: ${n}/${r}\n${i}`,{display:`system`}),null)}if(e.action===`entries`){let{store:n}=e;return t(M(n,f(n)),{display:`system`}),null}if(e.action===`archive`){let{store:n}=e;return i(n),t(`Archived store: ${n}`,{display:`system`}),null}return t(L,{display:`system`}),null}var F,I,L,R,z,B,V;e((()=>{F=t(g(),1),v(),a(),s(),l(),C(),E(),A(),I=b(),L=`Usage: /local-memory list | create STORE | store STORE KEY VALUE | fetch STORE KEY | entries STORE | archive STORE`,R=26,z=[{kind:`list`,label:`List`,description:`显示所有 store`},{kind:`create`,label:`Create`,description:`创建一个新的记忆 store`},{kind:`store`,label:`Store`,description:`写入条目:store 名 + key + value`},{kind:`fetch`,label:`Fetch`,description:`按 store 名 + key 读取条目`},{kind:`entries`,label:`Entries`,description:`列出某个 store 里的 entry key`},{kind:`archive`,label:`Archive`,description:`归档 store(重命名为 *.archived)`},{kind:`about`,label:`About`,description:`显示命令语法`}],B=D({commandName:`local-memory`,parseArgs:e=>{let t=w(e);return t.action===`invalid`?{action:`invalid`,reason:`${L}\n${t.reason}`}:t},dispatch:P,View:x,errorView:e=>F.createElement(x,{mode:`error`,message:e})}),V=async(e,t,n)=>(n??``).trim()===``?(0,I.jsx)(N,{onDone:e}):B(e,t,n)}))();export{V as callLocalMemory};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{H as t,I as n,P as r,t as i,x as a}from"./src-DL3w8VPk2.js";import{t as o}from"./jsx-runtime-Bb4Xn-E0.js";import{c as s,h as c,v as l,y as u}from"./config-BSkuQZNf.js";import{n as d,r as f}from"./analytics-DJobLaWP.js";import{n as p,t as m}from"./ThemePicker-1QQJFOEv.js";function h(e){return e}function g(e){let t=e.trim().toLowerCase();return t===``||t===`reset`?{sub:`full`}:b.has(t)?{sub:t}:{sub:`full`,unknownArg:t}}function _({onDone:e}){let[,n]=t();return(0,y.jsx)(a,{color:`permission`,children:(0,y.jsx)(m,{onThemeSelect:t=>{n(t),f(`tengu_onboarding_step`,{stepId:h(`theme`)}),e(`Theme set to ${t}.`)},onCancel:()=>e(`Theme picker dismissed.`),skipExitHandling:!0})})}function v({theme:e,hasCompletedOnboarding:t,lastOnboardingVersion:i}){return(0,y.jsxs)(n,{flexDirection:`column`,paddingLeft:1,children:[(0,y.jsx)(r,{bold:!0,children:`Onboarding status`}),(0,y.jsxs)(r,{children:[`- Theme: `,(0,y.jsx)(r,{bold:!0,children:e})]}),(0,y.jsxs)(r,{children:[`- Onboarding completed:`,` `,(0,y.jsx)(r,{bold:!0,color:t?`success`:`warning`,children:t?`yes`:`no`})]}),(0,y.jsxs)(r,{children:[`- Last onboarding version: `,(0,y.jsx)(r,{bold:!0,children:i})]}),(0,y.jsx)(r,{dimColor:!0,children:`Run /onboarding (no args) to re-run the full flow, or /onboarding theme | trust | model | mcp for a specific step.`})]})}var y,b,x;e((()=>{i(),d(),p(),c(),y=o(),b=new Set([`full`,`theme`,`trust`,`model`,`mcp`,`status`]),x=async(e,t,n)=>{let{sub:r,unknownArg:i}=g(n);if(f(`tengu_onboarding_step`,{stepId:h(`slash_${r}`)}),i!==void 0)return e(`Unknown /onboarding subcommand: \`${i}\`.\nValid: full | theme | trust | model | mcp | status`,{display:`system`}),null;if(r===`theme`)return(0,y.jsx)(_,{onDone:t=>e(t)});if(r===`trust`)return l(e=>({...e,hasTrustDialogAccepted:!1})),e("Workspace trust cleared for the current project. The trust dialog will appear on the next `claude` launch.",{display:`system`}),null;if(r===`model`)return e("Run `/model` to pick the AI model. Onboarding does not own the model picker; this entry exists for discoverability only.",{display:`system`}),null;if(r===`mcp`)return e("MCP server setup:\n - `/mcp` — list configured MCP servers\n - `claude mcp add <name> <command>` — add a server (in your shell)\n - `claude mcp remove <name>` — remove a server\nServers also load from `.mcp.json` in the workspace and from `~/.workmate.json` globally.",{display:`system`}),null;if(r===`status`){let e=s();return(0,y.jsx)(v,{theme:e.theme??`(unset)`,hasCompletedOnboarding:e.hasCompletedOnboarding===!0,lastOnboardingVersion:e.lastOnboardingVersion??`(unset)`})}return u(e=>({...e,hasCompletedOnboarding:!1})),e(`Onboarding flag cleared. The full first-run setup (theme, OAuth/API key, security notes, terminal-setup) will run on the next \`claude\` launch.
1
+ import{n as e}from"./rolldown-runtime-DaDcL9Zw.js";import{H as t,I as n,P as r,t as i,x as a}from"./src-DL3w8VPk2.js";import{t as o}from"./jsx-runtime-Bb4Xn-E0.js";import{c as s,h as c,v as l,y as u}from"./config-BSkuQZNf.js";import{n as d,r as f}from"./analytics-DJobLaWP.js";import{n as p,t as m}from"./ThemePicker-CnX8faYA.js";function h(e){return e}function g(e){let t=e.trim().toLowerCase();return t===``||t===`reset`?{sub:`full`}:b.has(t)?{sub:t}:{sub:`full`,unknownArg:t}}function _({onDone:e}){let[,n]=t();return(0,y.jsx)(a,{color:`permission`,children:(0,y.jsx)(m,{onThemeSelect:t=>{n(t),f(`tengu_onboarding_step`,{stepId:h(`theme`)}),e(`Theme set to ${t}.`)},onCancel:()=>e(`Theme picker dismissed.`),skipExitHandling:!0})})}function v({theme:e,hasCompletedOnboarding:t,lastOnboardingVersion:i}){return(0,y.jsxs)(n,{flexDirection:`column`,paddingLeft:1,children:[(0,y.jsx)(r,{bold:!0,children:`Onboarding status`}),(0,y.jsxs)(r,{children:[`- Theme: `,(0,y.jsx)(r,{bold:!0,children:e})]}),(0,y.jsxs)(r,{children:[`- Onboarding completed:`,` `,(0,y.jsx)(r,{bold:!0,color:t?`success`:`warning`,children:t?`yes`:`no`})]}),(0,y.jsxs)(r,{children:[`- Last onboarding version: `,(0,y.jsx)(r,{bold:!0,children:i})]}),(0,y.jsx)(r,{dimColor:!0,children:`Run /onboarding (no args) to re-run the full flow, or /onboarding theme | trust | model | mcp for a specific step.`})]})}var y,b,x;e((()=>{i(),d(),p(),c(),y=o(),b=new Set([`full`,`theme`,`trust`,`model`,`mcp`,`status`]),x=async(e,t,n)=>{let{sub:r,unknownArg:i}=g(n);if(f(`tengu_onboarding_step`,{stepId:h(`slash_${r}`)}),i!==void 0)return e(`Unknown /onboarding subcommand: \`${i}\`.\nValid: full | theme | trust | model | mcp | status`,{display:`system`}),null;if(r===`theme`)return(0,y.jsx)(_,{onDone:t=>e(t)});if(r===`trust`)return l(e=>({...e,hasTrustDialogAccepted:!1})),e("Workspace trust cleared for the current project. The trust dialog will appear on the next `claude` launch.",{display:`system`}),null;if(r===`model`)return e("Run `/model` to pick the AI model. Onboarding does not own the model picker; this entry exists for discoverability only.",{display:`system`}),null;if(r===`mcp`)return e("MCP server setup:\n - `/mcp` — list configured MCP servers\n - `claude mcp add <name> <command>` — add a server (in your shell)\n - `claude mcp remove <name>` — remove a server\nServers also load from `.mcp.json` in the workspace and from `~/.workmate.json` globally.",{display:`system`}),null;if(r===`status`){let e=s();return(0,y.jsx)(v,{theme:e.theme??`(unset)`,hasCompletedOnboarding:e.hasCompletedOnboarding===!0,lastOnboardingVersion:e.lastOnboardingVersion??`(unset)`})}return u(e=>({...e,hasCompletedOnboarding:!1})),e(`Onboarding flag cleared. The full first-run setup (theme, OAuth/API key, security notes, terminal-setup) will run on the next \`claude\` launch.
2
2
 
3
3
  For individual steps in this session, use:
4
4
  /onboarding theme — re-pick theme inline