@readmagic/workmate 0.0.17 → 0.0.18

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 (337) hide show
  1. package/dist/chunks/{AddWorkspaceDirectory-YAhnVwyN.js → AddWorkspaceDirectory-Wa6Q24nu.js} +1 -1
  2. package/dist/chunks/{AgentsMdExternalIncludesDialog-Ba4GYFl3.js → AgentsMdExternalIncludesDialog-3I_KlOLv.js} +1 -1
  3. package/dist/chunks/AgentsMdExternalIncludesDialog-h150UBir.js +1 -0
  4. package/dist/chunks/{App-mri25OrC.js → App-BgPs1Bu8.js} +1 -1
  5. package/dist/chunks/{ApproveApiKey-DCw6d7dm.js → ApproveApiKey-BxpapUq0.js} +1 -1
  6. package/dist/chunks/ApproveApiKey-DIIIi6U8.js +1 -0
  7. package/dist/chunks/{BackgroundTasksDialog-CZND8e_Z.js → BackgroundTasksDialog-nfRmiGl3.js} +1 -1
  8. package/dist/chunks/{BypassPermissionsModeDialog-B5QBJTB4.js → BypassPermissionsModeDialog-8Cq982M0.js} +1 -1
  9. package/dist/chunks/{DiffDialog-Bd-DcTsK.js → DiffDialog-DwQTDWYh.js} +1 -1
  10. package/dist/chunks/Doctor-Beo5yEMD.js +1 -0
  11. package/dist/chunks/{Doctor-C9t7udHN.js → Doctor-BxXAGr-Z.js} +1 -1
  12. package/dist/chunks/{ExitFlow-CShdrKmr.js → ExitFlow-CVIuvrHT.js} +1 -1
  13. package/dist/chunks/{Grove-CClEZT2e.js → Grove-_QX_wR9C.js} +1 -1
  14. package/dist/chunks/{HybridTransport-DyEuslQB.js → HybridTransport-BG2VIIBC.js} +1 -1
  15. package/dist/chunks/{InvalidConfigDialog-Wyrk_cXR.js → InvalidConfigDialog-BDdMkuaL.js} +1 -1
  16. package/dist/chunks/{InvalidSettingsDialog-Cr9fmSyh.js → InvalidSettingsDialog-DSCqbVER.js} +1 -1
  17. package/dist/chunks/{MCPConnectionManager-BnUw0nYN.js → MCPConnectionManager-Cer1UawR.js} +1 -1
  18. package/dist/chunks/{MCPToolListView-CY2EezWF.js → MCPToolListView-DndNWDr1.js} +1 -1
  19. package/dist/chunks/{McpParsingWarnings-BF4np2Y3.js → McpParsingWarnings-Cr_n2QR6.js} +1 -1
  20. package/dist/chunks/{MessageSelector-Dtt2Sf65.js → MessageSelector-BfmbAG8E.js} +1 -1
  21. package/dist/chunks/{Messages-D5Uuapmf.js → Messages-CUJJ6nHV.js} +1 -1
  22. package/dist/chunks/{Onboarding-BAJXV7Ay.js → Onboarding-Cz3CfOTl.js} +1 -1
  23. package/dist/chunks/{PromptInputFooterSuggestions-Cm4WN3qd.js → PromptInputFooterSuggestions-GhA5Qa1I.js} +1 -1
  24. package/dist/chunks/{PromptInputHelpMenu-ESj8sOpK.js → PromptInputHelpMenu-sX_yHORM.js} +1 -1
  25. package/dist/chunks/{QueryEngine-B79JLwG4.js → QueryEngine-C6Dx_-U8.js} +1 -1
  26. package/dist/chunks/{REPL-cAXdORs2.js → REPL-BPig-OIh.js} +38 -38
  27. package/dist/chunks/REPL-e5wWV2Sl.js +1 -0
  28. package/dist/chunks/{RemoteSessionManager-C5pAD0Lh.js → RemoteSessionManager-Cax4g0GH.js} +1 -1
  29. package/dist/chunks/{ResumeConversation-NSVT3gn7.js → ResumeConversation-e5sISbWn.js} +1 -1
  30. package/dist/chunks/{SSETransport-CDGMGrxN.js → SSETransport-BuDKErlN.js} +1 -1
  31. package/dist/chunks/SearchExtraToolsTool-B_z74zwG.js +1 -0
  32. package/dist/chunks/{Settings-_b5Yxt_9.js → Settings-B9rxF2wR.js} +2 -2
  33. package/dist/chunks/{TeleportProgress-8cS6aHVO.js → TeleportProgress-BUtze4qa.js} +1 -1
  34. package/dist/chunks/{TeleportRepoMismatchDialog-B0epkMgp.js → TeleportRepoMismatchDialog-Dp7rzrrz.js} +1 -1
  35. package/dist/chunks/{TeleportResumeWrapper-Bb14JeEk.js → TeleportResumeWrapper-Ch2osY21.js} +1 -1
  36. package/dist/chunks/{ThemePicker-CnX8faYA.js → ThemePicker-AA-0hjpq.js} +1 -1
  37. package/dist/chunks/{TrustDialog-6wJF3W6K.js → TrustDialog-rO5dZ8G-.js} +1 -1
  38. package/dist/chunks/{ValidationErrorsList-Cuq6W2yc.js → ValidationErrorsList-DayOwxq9.js} +1 -1
  39. package/dist/chunks/{add-dir-LLAv-rGS.js → add-dir-Cz33IGht.js} +1 -1
  40. package/dist/chunks/{agentDisplay-QqGqcHGz.js → agentDisplay-nVTmC7tL.js} +1 -1
  41. package/dist/chunks/{agents-DFPEienW.js → agents-BQwi-6GV.js} +1 -1
  42. package/dist/chunks/{agents-C8wRUTNV.js → agents-rfuJUSSc.js} +1 -1
  43. package/dist/chunks/{allErrors-DUYYPpdH.js → allErrors-YIRWFBD9.js} +1 -1
  44. package/dist/chunks/api-CGk-0H2x.js +1 -0
  45. package/dist/chunks/{api-B3Wnozaf.js → api-DAyhTxgY.js} +1 -1
  46. package/dist/chunks/{auth-CQGJitIV.js → auth-BzrroWLq.js} +1 -1
  47. package/dist/chunks/auth-DWWb8STf.js +1 -0
  48. package/dist/chunks/auth-DsqlBO-Q.js +1 -0
  49. package/dist/chunks/{backgroundHousekeeping-Bjb_Jc7L.js → backgroundHousekeeping-CXv_Pm5h.js} +2 -2
  50. package/dist/chunks/backgroundHousekeeping-Crx3oXIu.js +1 -0
  51. package/dist/chunks/{banner-HfMnBd03.js → banner-BfIcVEUU.js} +1 -1
  52. package/dist/chunks/{bg-DltfF1_K.js → bg-C15c_rMK.js} +2 -2
  53. package/dist/chunks/{branch-BWq5ynjm.js → branch-BEaujq-M.js} +1 -1
  54. package/dist/chunks/{break-cache-Cd1yQ-0h.js → break-cache-XKbOAw-u.js} +2 -2
  55. package/dist/chunks/{bridgeConfig-B3mR0kJ0.js → bridgeConfig-Bxkrv8ZL.js} +1 -1
  56. package/dist/chunks/bridgeConfig-Ctl7I_RR.js +1 -0
  57. package/dist/chunks/{bridgeMessaging-wZ5EKxW_.js → bridgeMessaging-BcSjIPCZ.js} +1 -1
  58. package/dist/chunks/bridgePointer-CGhOBNMg.js +1 -0
  59. package/dist/chunks/bridgeStatusUtil-DBWBTU31.js +1 -0
  60. package/dist/chunks/{btw-XNgXHnNr.js → btw-8JqSG3o7.js} +1 -1
  61. package/dist/chunks/caches-dnO4Ae_m.js +1 -0
  62. package/dist/chunks/caches-lPzD_yGv.js +1 -0
  63. package/dist/chunks/{capacityWake-LRiPhPeM.js → capacityWake-C24_KT1x.js} +1 -1
  64. package/dist/chunks/{ccrClient-EisctZbc.js → ccrClient-CH6PsxJJ.js} +1 -1
  65. package/dist/chunks/{claudeDesktop-CB3UCt7U.js → claudeDesktop-CovdLe-b.js} +1 -1
  66. package/dist/chunks/{clear-BjtPf2Jb.js → clear-D72LxXA6.js} +1 -1
  67. package/dist/chunks/{cliLaunch-xIVvtPZy.js → cliLaunch-DDA65zeR.js} +1 -1
  68. package/dist/chunks/client-BFjMSlp7.js +1 -0
  69. package/dist/chunks/client-Byat5HpG.js +1 -0
  70. package/dist/chunks/client-Dzx24jGZ.js +1 -0
  71. package/dist/chunks/{client-Bb2eZnuq.js → client-eLOYyeES.js} +1 -1
  72. package/dist/chunks/{client-DNEVh6Wu.js → client-o5_awagP.js} +1 -1
  73. package/dist/chunks/commands-D3lQbt9p.js +1 -0
  74. package/dist/chunks/{compact-w8AhLkr6.js → compact--fnu8Zd-.js} +1 -1
  75. package/dist/chunks/{config-D78R57VA.js → config-BlQhL9Bh.js} +1 -1
  76. package/dist/chunks/{config-BSkuQZNf.js → config-BybjRr09.js} +1 -1
  77. package/dist/chunks/config-CPGSP_1Z.js +1 -0
  78. package/dist/chunks/{context-Btn2JU2y.js → context-D6PaqwrR.js} +1 -1
  79. package/dist/chunks/context-noninteractive-CwlOID3q.js +1 -0
  80. package/dist/chunks/{context-noninteractive-044464Vs.js → context-noninteractive-CxoMCfR4.js} +1 -1
  81. package/dist/chunks/conversation-BLEWB1BE.js +1 -0
  82. package/dist/chunks/{conversation-a82khZ_n.js → conversation-Bos7yTIv.js} +1 -1
  83. package/dist/chunks/{createSSHSession-C0KSI0fJ.js → createSSHSession-B3FdForb.js} +1 -1
  84. package/dist/chunks/createSession-B4wkDNam.js +1 -0
  85. package/dist/chunks/{createSession-8ScCWTKb.js → createSession-C0e_DHsW.js} +1 -1
  86. package/dist/chunks/{crossProjectResume-BCN462Wa.js → crossProjectResume-C5QtstD6.js} +1 -1
  87. package/dist/chunks/cwd-BfiQQAqr.js +1 -0
  88. package/dist/chunks/{cwd-Besi3Os3.js → cwd-Dj2ynhWd.js} +1 -1
  89. package/dist/chunks/{datadog-BqINRWAW.js → datadog-ZxeaKwKd.js} +1 -1
  90. package/dist/chunks/{debug-BQj6h99Q.js → debug-D7OBvqC2.js} +1 -1
  91. package/dist/chunks/{debugUtils-B86DM1Sp.js → debugUtils-B-GMBTBk.js} +1 -1
  92. package/dist/chunks/{detached--wGwkuHX.js → detached-uMuMcLsV.js} +1 -1
  93. package/dist/chunks/{detectRepository-Qy3zKoyn.js → detectRepository-AVEUw4lk.js} +1 -1
  94. package/dist/chunks/detectRepository-CWI2xcdR.js +1 -0
  95. package/dist/chunks/{diff-CcrSQNvQ.js → diff-BA2vN7sD.js} +1 -1
  96. package/dist/chunks/{directoryCompletion-i2oWpaUe.js → directoryCompletion-CLcmLin8.js} +1 -1
  97. package/dist/chunks/doctor-BV6zhneX.js +1 -0
  98. package/dist/chunks/{entry-oVZ7Z59B.js → entry-cou5DS53.js} +2 -2
  99. package/dist/chunks/{esm-BZciQG9N.js → esm-D9-9wS1F.js} +1 -1
  100. package/dist/chunks/{execFileNoThrow-DYm1GeGn.js → execFileNoThrow-BHDSgTpZ.js} +1 -1
  101. package/dist/chunks/{execSyncWrapper-CqvQqke-.js → execSyncWrapper-pYxQXqb-.js} +1 -1
  102. package/dist/chunks/{exit-jikLI2Zh.js → exit-DdZJHhy2.js} +1 -1
  103. package/dist/chunks/{extraUsage-BT3in1Aj.js → extraUsage-CHnG6JNH.js} +1 -1
  104. package/dist/chunks/extractMemories-DxGHxoNO.js +1 -0
  105. package/dist/chunks/fast-Bf-g-wR6.js +1 -0
  106. package/dist/chunks/{fast-CKhtBOx7.js → fast-Bl_0cs9e.js} +1 -1
  107. package/dist/chunks/{fetchModelList-DmaMgpa2.js → fetchModelList-CheIBH5f.js} +1 -1
  108. package/dist/chunks/fetchModelList-vk-RMDfG.js +1 -0
  109. package/dist/chunks/{fileSuggestions-BfG3sbET.js → fileSuggestions-Dl87JhBr.js} +1 -1
  110. package/dist/chunks/{firstPartyEventLogger-Q3fMF0BR.js → firstPartyEventLogger-Cw9Bc3on.js} +2 -2
  111. package/dist/chunks/firstPartyEventLogger-DvsZdBy2.js +1 -0
  112. package/dist/chunks/flushGate-BD3Tk3_k.js +1 -0
  113. package/dist/chunks/{gemini-L8Gj2B4H.js → gemini-BARUjH_t.js} +1 -1
  114. package/dist/chunks/{generateSessionName-cAL5T7pG.js → generateSessionName-CHaK44K-.js} +1 -1
  115. package/dist/chunks/{genericProcessUtils-Bbcbi11g.js → genericProcessUtils-D5hCZ2ho.js} +1 -1
  116. package/dist/chunks/git-Bujlb5tq.js +1 -0
  117. package/dist/chunks/{git-DplvjXEY.js → git-CNhyfMtb.js} +1 -1
  118. package/dist/chunks/{githubRepoPathMapping-Px3_GeD1.js → githubRepoPathMapping-Dhz4cvw2.js} +1 -1
  119. package/dist/chunks/{goal-D-x2WXm7.js → goal-fTQFogdl.js} +1 -1
  120. package/dist/chunks/{grok-DtypRM4d.js → grok-D0J4IiCe.js} +1 -1
  121. package/dist/chunks/{grove-CSivzrhe.js → grove-mDH4wkhM.js} +1 -1
  122. package/dist/chunks/{help-DKZhC0lL.js → help-Dr7st1Yv.js} +1 -1
  123. package/dist/chunks/hooks-C5YSYzSl.js +1 -0
  124. package/dist/chunks/{hooks-D_afUDcs.js → hooks-DCfpFhl2.js} +1 -1
  125. package/dist/chunks/{initReplBridge-sTaq4a0K.js → initReplBridge-BFYTAFlT.js} +1 -1
  126. package/dist/chunks/{install-BWe3Jz4M.js → install-CjacxFXg.js} +1 -1
  127. package/dist/chunks/{instrumentation-IljwxX0V.js → instrumentation-DS2S1m1a.js} +3 -3
  128. package/dist/chunks/{job-N25KhSUu.js → job-Dry-GMc5.js} +1 -1
  129. package/dist/chunks/{jwtUtils-YCoZL0FW.js → jwtUtils-ClCcC8lO.js} +1 -1
  130. package/dist/chunks/{keybindings-DLEorhlY.js → keybindings-D01jzjKu.js} +1 -1
  131. package/dist/chunks/{launchLocalMemory-DJsuNLIf.js → launchLocalMemory-_T0oHfh9.js} +1 -1
  132. package/dist/chunks/{launchOnboarding-CVvuxeH-.js → launchOnboarding-D4fS6pLc.js} +1 -1
  133. package/dist/chunks/{external-CEp-aPkt.js → lazySchema-DULtBUCI.js} +1 -1
  134. package/dist/chunks/{loadAgentsDir-CbtNPJV3.js → loadAgentsDir-DnsldjYU.js} +560 -560
  135. package/dist/chunks/loadAgentsDir-xG1HswS_.js +1 -0
  136. package/dist/chunks/{loadPluginHooks-BxkDBFd6.js → loadPluginHooks-CRoYa_il.js} +1 -1
  137. package/dist/chunks/loader-C-PQ3onD.js +1 -0
  138. package/dist/chunks/localSearch-B17Mzd84.js +1 -0
  139. package/dist/chunks/{localSearch-B5mTHBwK.js → localSearch-nuNjYVKq.js} +1 -1
  140. package/dist/chunks/{log-BlJ7CcKG.js → log-CR0v5KUR.js} +1 -1
  141. package/dist/chunks/{logoV2Utils-D5nRpirL.js → logoV2Utils-CZwL_VX1.js} +1 -1
  142. package/dist/chunks/{magicDocs-C9aIo4Oe.js → magicDocs-D0rjtxup.js} +1 -1
  143. package/dist/chunks/{main-DeUt_aE2.js → main-C8n_p7yX.js} +11 -11
  144. package/dist/chunks/{main-Zh18lf2J.js → main-DKqCPH3G.js} +2 -2
  145. package/dist/chunks/managedEnv-C7bVtcgA.js +1 -0
  146. package/dist/chunks/managedEnv-d7HliQYg.js +1 -0
  147. package/dist/chunks/{mappers-Del1KoA7.js → mappers-BIDALdjB.js} +1 -1
  148. package/dist/chunks/{mcp-nnBVM5Lt.js → mcp-BcEApfqn.js} +1 -1
  149. package/dist/chunks/{mcp-D7vMhEOV.js → mcp-CBbVcOTy.js} +1 -1
  150. package/dist/chunks/{mcp-Bh3MNBIj.js → mcp-DYtfHeRa.js} +3 -3
  151. package/dist/chunks/{memoize-_2f7NWDv.js → memoize-C7xmvAQ0.js} +1 -1
  152. package/dist/chunks/{memory-DtqQhHu8.js → memory-CijapyZk.js} +1 -1
  153. package/dist/chunks/{mode-DPbrxU32.js → mode-CajUX4Uz.js} +1 -1
  154. package/dist/chunks/model-CyF5u3zH.js +1 -0
  155. package/dist/chunks/model-DaYZWYJe.js +1 -0
  156. package/dist/chunks/model-xI2MbgRj.js +1 -0
  157. package/dist/chunks/{modelOptions-SMq3one0.js → modelOptions-Ct80yABl.js} +1 -1
  158. package/dist/chunks/{nativeInstaller-DTJ4clp-.js → nativeInstaller-C6aWHxve.js} +1 -1
  159. package/dist/chunks/{omit-CMldTqqy.js → omit-BhPlISSj.js} +1 -1
  160. package/dist/chunks/{onChangeAppState-EAnsmOuo.js → onChangeAppState-BOJd4Yce.js} +1 -1
  161. package/dist/chunks/{openai-D9KvLMrj.js → openai-wsPCDwGL.js} +1 -1
  162. package/dist/chunks/{panel-Bg_0PHE6.js → panel-BKMLX5AR.js} +1 -1
  163. package/dist/chunks/parser-B-QFQfSO.js +1 -0
  164. package/dist/chunks/{parser-a2S_eFyE.js → parser-Dy-RMf4a.js} +1 -1
  165. package/dist/chunks/{partition-B8Y4jvjW.js → partition-_qZZlGjS.js} +1 -1
  166. package/dist/chunks/{permissions-cDtIZRM1.js → permissions-CcjGscyg.js} +1 -1
  167. package/dist/chunks/{pidLock-Br3_YNi_.js → pidLock-Cm9FWa4w.js} +2 -2
  168. package/dist/chunks/{plan-dG2H4eQl.js → plan-CTiLy_c4.js} +1 -1
  169. package/dist/chunks/{platform-DVeTi9mp.js → platform-BZm4WVLM.js} +1 -1
  170. package/dist/chunks/{plugin-CzQHuIlP.js → plugin-D7vjs6Hu.js} +1 -1
  171. package/dist/chunks/{pluginAutoupdate-B9W_vxOG.js → pluginAutoupdate-DzK-fXJC.js} +1 -1
  172. package/dist/chunks/{pluginBlocklist-BvdBsnJG.js → pluginBlocklist-B3JVl1h2.js} +1 -1
  173. package/dist/chunks/{pluginCliCommands-NKIgFTUF.js → pluginCliCommands-CubOvlhc.js} +1 -1
  174. package/dist/chunks/{pluginFlagging-C0PtAJEg.js → pluginFlagging-Dp7W2eL8.js} +1 -1
  175. package/dist/chunks/{pluginOperations-wUUdFpu9.js → pluginOperations-BxHoy0pC.js} +1 -1
  176. package/dist/chunks/{pluginStartupCheck-p0njap1l.js → pluginStartupCheck-CL24_zVV.js} +1 -1
  177. package/dist/chunks/pluginStartupCheck-CtX6QkdO.js +1 -0
  178. package/dist/chunks/{plugins-B9WBqOAW.js → plugins-DA3lpRU4.js} +1 -1
  179. package/dist/chunks/pollConfig-2nFzv6Hy.js +1 -0
  180. package/dist/chunks/poorMode-DyAWNRRM.js +1 -0
  181. package/dist/chunks/{poorMode-wm2WkPF0.js → poorMode-aMzKXz6G.js} +1 -1
  182. package/dist/chunks/{print-G3DgPTxy.js → print-BrqZ3AgP.js} +5 -5
  183. package/dist/chunks/{processBashCommand-zLWgCRws.js → processBashCommand-C6mBgRVz.js} +1 -1
  184. package/dist/chunks/{processSlashCommand-BHBnHBjj.js → processSlashCommand-t0-BVku8.js} +1 -1
  185. package/dist/chunks/prompt-BJ3xYAvE.js +1 -0
  186. package/dist/chunks/{prompt-BRGC5U9Y.js → prompt-CzQkcxfg.js} +3 -3
  187. package/dist/chunks/prompt-Di2lNwYp.js +1 -0
  188. package/dist/chunks/{promptEditor-CRIw6vJS.js → promptEditor-C6w1vT5E.js} +1 -1
  189. package/dist/chunks/{protocolHandler--eQQuSyx.js → protocolHandler-B3bQyB6W.js} +1 -1
  190. package/dist/chunks/{proxy-C0j74LqT.js → proxy-DFIxRT0i.js} +1 -1
  191. package/dist/chunks/{reconciler-DiU1RvGD.js → reconciler-p4lAu9ft.js} +1 -1
  192. package/dist/chunks/{refresh-DEXe3Lmx.js → refresh-DCQChX5A.js} +1 -1
  193. package/dist/chunks/{registerProtocol-DrWIX3Lb.js → registerProtocol-CrzdmgCD.js} +1 -1
  194. package/dist/chunks/{reload-plugins-Cl6wvT6V.js → reload-plugins-BnZzcRcd.js} +1 -1
  195. package/dist/chunks/{remoteBridgeCore-DnFZoXaw.js → remoteBridgeCore-DAK9KSWp.js} +1 -1
  196. package/dist/chunks/remoteManagedSettings-DkLfclxa.js +1 -0
  197. package/dist/chunks/{rename-CdzxOzN5.js → rename-OSN3Ua2J.js} +1 -1
  198. package/dist/chunks/{renderOptions-CkqTbz6d.js → renderOptions-XgkOdKCJ.js} +1 -1
  199. package/dist/chunks/{resume-DgFXYWTN.js → resume-K9q5B1li.js} +1 -1
  200. package/dist/chunks/{ripgrep-DsLUmulz.js → ripgrep-C_XuTqp3.js} +1 -1
  201. package/dist/chunks/ripgrep-DLPH9MP9.js +1 -0
  202. package/dist/chunks/{runtimeObserver-CwtRE2cj.js → runtimeObserver-CuTsWhhF.js} +1 -1
  203. package/dist/chunks/{runtimeObserver-Dov-m2dl.js → runtimeObserver-D9sujsqj.js} +2 -2
  204. package/dist/chunks/sandbox-adapter-CRxZBMAP.js +1 -0
  205. package/dist/chunks/{sandbox-toggle-DWCrG9zV.js → sandbox-toggle-oasrWfbj.js} +1 -1
  206. package/dist/chunks/searchExtraTools-BAYzzTE8.js +1 -0
  207. package/dist/chunks/{session-L5191BSn.js → session-c46jULDV.js} +1 -1
  208. package/dist/chunks/sessionFileAccessHooks-CwnjOk6S.js +1 -0
  209. package/dist/chunks/{sessionObserver-DpY0DOjI.js → sessionObserver-Cu7vykWp.js} +1 -1
  210. package/dist/chunks/sessionObserver-DNjDoJmy.js +1 -0
  211. package/dist/chunks/{sessionState-BlbRQ3Y6.js → sessionState-B3tFm9SC.js} +1 -1
  212. package/dist/chunks/sessionStorage-CVZ0MUSE.js +1 -0
  213. package/dist/chunks/{sessionTracing-DqVx8aFD.js → sessionTracing-BRp_Ej-e.js} +1 -1
  214. package/dist/chunks/{settings-CvhsRFaT.js → settings-DUyIag_5.js} +4 -4
  215. package/dist/chunks/settings-DsqFBv6J.js +1 -0
  216. package/dist/chunks/settingsSync-yE43qjMS.js +1 -0
  217. package/dist/chunks/{setup-DvnKMqDy.js → setup-CFOc-hPM.js} +2 -2
  218. package/dist/chunks/{shadowedRuleDetection-Gerk3t93.js → shadowedRuleDetection-ChoqK1Iq.js} +1 -1
  219. package/dist/chunks/{shellQuote-D3Ocv_U-.js → shellQuote-C-7PluUY.js} +1 -1
  220. package/dist/chunks/{sideQuestion-RndkXExy.js → sideQuestion-CkC27Pf3.js} +1 -1
  221. package/dist/chunks/sinks-B64r_OBE.js +1 -0
  222. package/dist/chunks/{sinks-CfzgqLH5.js → sinks-C9qCsi94.js} +1 -1
  223. package/dist/chunks/{skillChangeDetector-BQx4xe_b.js → skillChangeDetector-CLnn22Jo.js} +1 -1
  224. package/dist/chunks/{skillGapStore-CLxhWLyq.js → skillGapStore-DC8s2Whn.js} +2 -2
  225. package/dist/chunks/{skillLifecycle-CSNX2qOH.js → skillLifecycle-BaqH5lw_.js} +2 -2
  226. package/dist/chunks/{skillSearchPanel-CsQDjy_E.js → skillSearchPanel-Dtvyo2Dk.js} +2 -2
  227. package/dist/chunks/{skills-DM9ACPW-.js → skills-DXW57WeY.js} +1 -1
  228. package/dist/chunks/{startupProfiler-2sjXZkIP.js → startupProfiler-BqUlQEaV.js} +1 -1
  229. package/dist/chunks/startupProfiler-yBU6FaAV.js +1 -0
  230. package/dist/chunks/{state-BPFYBqm1.js → state-B3zvBu4R.js} +1 -1
  231. package/dist/chunks/state-mHtumqEo.js +1 -0
  232. package/dist/chunks/{stats-Dq-5qizS.js → stats-vvwEVnon.js} +1 -1
  233. package/dist/chunks/status--Ql7l0VG.js +1 -0
  234. package/dist/chunks/{status-C5v7KsX4.js → status-g_dhM6Ep.js} +1 -1
  235. package/dist/chunks/{statusNoticeHelpers-BY_8pK19.js → statusNoticeHelpers-B235FWru.js} +1 -1
  236. package/dist/chunks/{stringUtils-BjnclTLB.js → stringUtils-CGZoOfer.js} +1 -1
  237. package/dist/chunks/switcher-Cb9R9247.js +1 -0
  238. package/dist/chunks/switcher-OAeeTHHt.js +1 -0
  239. package/dist/chunks/{syncCache-Dff4hbz4.js → syncCache-BiqQEess.js} +1 -1
  240. package/dist/chunks/{tasks-qVyXOLBf.js → tasks--7yJk7MD.js} +1 -1
  241. package/dist/chunks/{teleport-Deq_ecN9.js → teleport-ja50aVy3.js} +1 -1
  242. package/dist/chunks/{templateJobs-CntPyct-.js → templateJobs-DSM3tNDS.js} +1 -1
  243. package/dist/chunks/{terminalSetup-JJiXmszo.js → terminalSetup-BpZXqE_G.js} +1 -1
  244. package/dist/chunks/{terminalSetup-DDvQ0K5e.js → terminalSetup-C735-5lZ.js} +1 -1
  245. package/dist/chunks/{theme-DVWYzSct.js → theme-BX54e0r7.js} +1 -1
  246. package/dist/chunks/{tmux-g0cQ0Buz.js → tmux-BIdWN33b.js} +1 -1
  247. package/dist/chunks/{toolEventObserver-BZn8ZJB5.js → toolEventObserver-O6ljakS9.js} +1 -1
  248. package/dist/chunks/{toolPool-Dzp1ob3I.js → toolPool-H_kXc8vo.js} +1 -1
  249. package/dist/chunks/trustedDevice-Dm_SY3Ko.js +1 -0
  250. package/dist/chunks/{trustedDevice-CdLAZK6m.js → trustedDevice-Kyid5Fuy.js} +1 -1
  251. package/dist/chunks/{types-BomO8WUz.js → types-DDku8UKF.js} +2 -2
  252. package/dist/chunks/{udsClient-DSvRPCvR.js → udsClient-B2yCKNgT.js} +1 -1
  253. package/dist/chunks/{upstreamproxy-DYoLvdM9.js → upstreamproxy--RTAcgrE.js} +1 -1
  254. package/dist/chunks/{useExitOnCtrlCDWithKeybindings-YSWYVWk6.js → useExitOnCtrlCDWithKeybindings-BnmDpMkm.js} +1 -1
  255. package/dist/chunks/useMainLoopModel-DG8pghH7.js +1 -0
  256. package/dist/chunks/{useManagePlugins-DfuI4Nhd.js → useManagePlugins-HMHtjIY-.js} +1 -1
  257. package/dist/chunks/{useMergedTools-B4qRVJ8b.js → useMergedTools-ChLA8dsy.js} +1 -1
  258. package/dist/chunks/{useSearchInput-DfUNYhqC.js → useSearchInput-DqymtQhH.js} +1 -1
  259. package/dist/chunks/{useSettingsErrors-Bls74ocI.js → useSettingsErrors-Bs9uyzW4.js} +1 -1
  260. package/dist/chunks/{userAgent-CNPTS7ix.js → userAgent-D8vvjitA.js} +1 -1
  261. package/dist/chunks/{util-6aJHnBQ_.js → util-CC-NRn16.js} +1 -1
  262. package/dist/chunks/validatePlugin-yCb8gsVF.js +1 -0
  263. package/dist/chunks/{vim-s-wmybpU.js → vim-CIK2DjfK.js} +1 -1
  264. package/dist/chunks/{which-BR8YVCCW.js → which-3MmqfsNV.js} +1 -1
  265. package/dist/chunks/windowsPaths-Dd_S96Bq.js +1 -0
  266. package/dist/chunks/{windowsPaths-BmXyrasP.js → windowsPaths-x-CxdtFP.js} +1 -1
  267. package/dist/chunks/{workSecret-BUd8cQ6-.js → workSecret-BsolC5S7.js} +1 -1
  268. package/dist/chunks/{workerRegistry-BwJ54Lzk.js → workerRegistry-DE4Ghp-n.js} +2 -2
  269. package/dist/chunks/worktree-D-CgffvU.js +1 -0
  270. package/dist/cli.js +1 -1
  271. package/package.json +1 -1
  272. package/dist/chunks/AgentsMdExternalIncludesDialog--D4BeNAN.js +0 -1
  273. package/dist/chunks/ApproveApiKey-lv4Sg0RR.js +0 -1
  274. package/dist/chunks/Doctor-V-JLC4e3.js +0 -1
  275. package/dist/chunks/REPL-B7evbhvN.js +0 -1
  276. package/dist/chunks/SearchExtraToolsTool-CddjJcAH.js +0 -1
  277. package/dist/chunks/api-BAT--5sp.js +0 -1
  278. package/dist/chunks/auth-DaJXqwN5.js +0 -1
  279. package/dist/chunks/auth-DkhPycBL.js +0 -1
  280. package/dist/chunks/backgroundHousekeeping-V-dg2j2E.js +0 -1
  281. package/dist/chunks/bridgeConfig-D31i4BRi.js +0 -1
  282. package/dist/chunks/bridgePointer-CiHy2tTN.js +0 -1
  283. package/dist/chunks/bridgeStatusUtil-mvVQSVN-.js +0 -1
  284. package/dist/chunks/caches-ByLjTvdy.js +0 -1
  285. package/dist/chunks/caches-ckqJ4Qso.js +0 -1
  286. package/dist/chunks/client-Bl43xcRk.js +0 -1
  287. package/dist/chunks/client-Pap_HyZZ.js +0 -1
  288. package/dist/chunks/client-zhozU2ws.js +0 -1
  289. package/dist/chunks/commands-BDhn7EPO.js +0 -1
  290. package/dist/chunks/config-CbAvTdZ7.js +0 -1
  291. package/dist/chunks/context-noninteractive-ulRLlYg5.js +0 -1
  292. package/dist/chunks/conversation-D08lU377.js +0 -1
  293. package/dist/chunks/createSession-CnlPXXkA.js +0 -1
  294. package/dist/chunks/cwd-DpqwaYHw.js +0 -1
  295. package/dist/chunks/detectRepository-tRUoPOKy.js +0 -1
  296. package/dist/chunks/doctor-DRFDBrH1.js +0 -1
  297. package/dist/chunks/extractMemories-BsQU2bVO.js +0 -1
  298. package/dist/chunks/fast-B9vVL3sY.js +0 -1
  299. package/dist/chunks/fetchModelList-BeL40TyR.js +0 -1
  300. package/dist/chunks/firstPartyEventLogger-6GwZ6VLr.js +0 -1
  301. package/dist/chunks/flushGate-COa_KO98.js +0 -1
  302. package/dist/chunks/git-BaSq69E7.js +0 -1
  303. package/dist/chunks/hooks-DvVuNKRx.js +0 -1
  304. package/dist/chunks/lazySchema-B4D4qJVE.js +0 -1
  305. package/dist/chunks/loadAgentsDir-D0gl_H2S.js +0 -1
  306. package/dist/chunks/localSearch-D3UrYUre.js +0 -1
  307. package/dist/chunks/managedEnv-ADMKY7-G.js +0 -1
  308. package/dist/chunks/managedEnv-CDxyrUw1.js +0 -1
  309. package/dist/chunks/model-B50j-O5v.js +0 -1
  310. package/dist/chunks/model-DLG1nrnf.js +0 -1
  311. package/dist/chunks/model-DlLO7TSx.js +0 -1
  312. package/dist/chunks/parser-x-w3ikxt.js +0 -1
  313. package/dist/chunks/pluginStartupCheck-hDT6pEAd.js +0 -1
  314. package/dist/chunks/pollConfig-BgpfHQPJ.js +0 -1
  315. package/dist/chunks/poorMode-DD88nPJ4.js +0 -1
  316. package/dist/chunks/prompt-Ct3Ryb3C.js +0 -1
  317. package/dist/chunks/prompt-TZJKyomz.js +0 -1
  318. package/dist/chunks/remoteManagedSettings-BboLJ46D.js +0 -1
  319. package/dist/chunks/ripgrep-Di-2j8Ws.js +0 -1
  320. package/dist/chunks/sandbox-adapter-CtEngx-6.js +0 -1
  321. package/dist/chunks/searchExtraTools-zFMN5MqY.js +0 -1
  322. package/dist/chunks/sessionFileAccessHooks-C2VjT-PU.js +0 -1
  323. package/dist/chunks/sessionObserver-BuhXr3FP.js +0 -1
  324. package/dist/chunks/sessionStorage-CiYSwyY3.js +0 -1
  325. package/dist/chunks/settings-BgHApyGL.js +0 -1
  326. package/dist/chunks/settingsSync-BhlegQAU.js +0 -1
  327. package/dist/chunks/sinks-Cf4vx9UX.js +0 -1
  328. package/dist/chunks/startupProfiler-B2fyaBEa.js +0 -1
  329. package/dist/chunks/state-CsdHk8n-.js +0 -1
  330. package/dist/chunks/status-C3z0CSBw.js +0 -1
  331. package/dist/chunks/switcher-C9VsM-ip.js +0 -1
  332. package/dist/chunks/switcher-CnBKuiNp.js +0 -1
  333. package/dist/chunks/trustedDevice-1Q4FTNyX.js +0 -1
  334. package/dist/chunks/useMainLoopModel-C1JRp4zE.js +0 -1
  335. package/dist/chunks/validatePlugin-BajM6yNf.js +0 -1
  336. package/dist/chunks/windowsPaths-BybjGW7e.js +0 -1
  337. package/dist/chunks/worktree-BFP10vim.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-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(`
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-DnsldjYU.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-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.
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-BybjRr09.js";import{n as d,r as f}from"./analytics-DJobLaWP.js";import{n as p,t as m}from"./ThemePicker-AA-0hjpq.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