@readmagic/workmate 0.0.27 → 0.0.29
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.
- package/dist/chunks/{AddWorkspaceDirectory-DqlPtsVK.js → AddWorkspaceDirectory-C0lrhffT.js} +1 -1
- package/dist/chunks/AgentsMdExternalIncludesDialog-DIahWLha.js +1 -0
- package/dist/chunks/{AgentsMdExternalIncludesDialog-rJS5l6yk.js → AgentsMdExternalIncludesDialog-Dmjjx4ql.js} +1 -1
- package/dist/chunks/App-COz7knHS.js +1 -0
- package/dist/chunks/{BackgroundTasksDialog-CBhSmdz_.js → BackgroundTasksDialog-5IkCQ8lN.js} +2 -2
- package/dist/chunks/{BypassPermissionsModeDialog-zz-lnmJt.js → BypassPermissionsModeDialog-g1FMGfQF.js} +1 -1
- package/dist/chunks/{CustomSelect-CYmc4vRh.js → CustomSelect-BsEd2To5.js} +1 -1
- package/dist/chunks/{DiffDialog-CTUIAcEE.js → DiffDialog-Cwf8CdxZ.js} +5 -5
- package/dist/chunks/Doctor-CcLoI7tF.js +1 -0
- package/dist/chunks/Doctor-GmT5aeAc.js +3 -0
- package/dist/chunks/ExitFlow-DPgUFqeC.js +2 -0
- package/dist/chunks/{InvalidConfigDialog-B-9Z58oD.js → InvalidConfigDialog-Di6HZYDV.js} +1 -1
- package/dist/chunks/{InvalidSettingsDialog-B4EWjbp7.js → InvalidSettingsDialog-BHL-MERJ.js} +1 -1
- package/dist/chunks/{KeybindingProviderSetup-Dzg77_Xn.js → KeybindingProviderSetup-eE3o0bfp.js} +1 -1
- package/dist/chunks/MCPConnectionManager-D-qpUJLV.js +1 -0
- package/dist/chunks/MCPToolListView-DtHRw4jQ.js +1 -0
- package/dist/chunks/{McpParsingWarnings-Dj_Fu5o-.js → McpParsingWarnings-ByyErvR3.js} +1 -1
- package/dist/chunks/MessageSelector-CFz30wBL.js +3 -0
- package/dist/chunks/Messages-CfY-Oj3M.js +10 -0
- package/dist/chunks/{Onboarding-BRSXxc2E.js → Onboarding-BfWLRx3n.js} +1 -1
- package/dist/chunks/{PromptInputFooterSuggestions-ChpyD9B7.js → PromptInputFooterSuggestions-BRyJj7XR.js} +1 -1
- package/dist/chunks/{PromptInputHelpMenu-CrTT8MKE.js → PromptInputHelpMenu-DLuRCXVS.js} +1 -1
- package/dist/chunks/{ProviderSetup-BEV95bnz.js → ProviderSetup-CKZGG2B9.js} +1 -1
- package/dist/chunks/QueryEngine-B27MOtBA.js +1 -0
- package/dist/chunks/{REPL-BDnZnm__.js → REPL-DMRD5wSN.js} +23 -23
- package/dist/chunks/REPL-gzolQvzu.js +1 -0
- package/dist/chunks/ResumeConversation-7eURPHmQ.js +1 -0
- package/dist/chunks/SearchExtraToolsTool-BINZTstr.js +1 -0
- package/dist/chunks/Settings-4TNYpfUs.js +2 -0
- package/dist/chunks/Spinner-BgjmQLjw.js +1 -0
- package/dist/chunks/{TextInput-ZKU-x_FD.js → TextInput-BVEWdRz9.js} +5 -5
- package/dist/chunks/{ThemePicker-B69oDgXN.js → ThemePicker-th2jdUjh.js} +1 -1
- package/dist/chunks/{TrustDialog-BSG8Ibh8.js → TrustDialog-YsYqHyRR.js} +1 -1
- package/dist/chunks/{ValidationErrorsList-BUYHEft4.js → ValidationErrorsList-CKeHoN2Z.js} +1 -1
- package/dist/chunks/{_baseEach-P0u1zIx6.js → _baseEach-Bz5fQbIq.js} +1 -1
- package/dist/chunks/{add-dir-C8RmmyQK.js → add-dir-BsO6l8Ue.js} +1 -1
- package/dist/chunks/{agentDisplay-np7CH47m.js → agentDisplay-ChkgiTIH.js} +1 -1
- package/dist/chunks/{agents-DedoH0Q4.js → agents-BV1nan6b.js} +6 -6
- package/dist/chunks/{agents-DRQlR5M1.js → agents-DqEB6iwV.js} +1 -1
- package/dist/chunks/allErrors-CkdguCDv.js +1 -0
- package/dist/chunks/{appleTerminalBackup-Bemd4RXh.js → appleTerminalBackup-CN8kS74J.js} +1 -1
- package/dist/chunks/{backgroundHousekeeping-BtEJ6TeC.js → backgroundHousekeeping-1VsWy8xd.js} +1 -1
- package/dist/chunks/backgroundHousekeeping-pMtrl4K2.js +1 -0
- package/dist/chunks/{banner-CuoceXzz.js → banner-BKOzHotb.js} +1 -1
- package/dist/chunks/{branch-ClhlS7f8.js → branch-CTIHtpwz.js} +2 -2
- package/dist/chunks/bridgeControl-C8xaGuwO.js +2 -0
- package/dist/chunks/{btw-B-FLxlx-.js → btw-BA39Zrhm.js} +1 -1
- package/dist/chunks/caches-DHZHqVhf.js +1 -0
- package/dist/chunks/caches-fqs-Y-kW.js +1 -0
- package/dist/chunks/channel-B5FkNSZ3.js +1 -0
- package/dist/chunks/channel-C5yKM1wf.js +1 -0
- package/dist/chunks/{clear-BnWv0i65.js → clear-BmlaYYrD.js} +1 -1
- package/dist/chunks/commands-EUcHifS4.js +1 -0
- package/dist/chunks/compact-D3uePeI7.js +2 -0
- package/dist/chunks/{config-BDn2YIjC.js → config-Bio2EjUK.js} +1 -1
- package/dist/chunks/config-C_AEhZrn.js +1 -0
- package/dist/chunks/config-GgGdlJ9h.js +1 -0
- package/dist/chunks/{context-BvDBAyJ9.js → context-CBEWyVpE.js} +1 -1
- package/dist/chunks/{context-noninteractive-CuHHniJn.js → context-noninteractive-B03nuxfN.js} +2 -2
- package/dist/chunks/context-noninteractive-BLCyyyGL.js +1 -0
- package/dist/chunks/conversation-BFL0rEIx.js +1 -0
- package/dist/chunks/conversation-D-ker4RO.js +1 -0
- package/dist/chunks/{conversationRecovery-NL05oJb1.js → conversationRecovery-Bt84CYO6.js} +1 -1
- package/dist/chunks/crossProjectResume-DwlYY6lV.js +40 -0
- package/dist/chunks/{diff--6gQCx_x.js → diff-CewYzu3Y.js} +1 -1
- package/dist/chunks/doctor-CrQ0UfG2.js +1 -0
- package/dist/chunks/{entry-DWYOrkFS.js → entry-DdVUdGWV.js} +3 -3
- package/dist/chunks/exit-QwCo2aJo.js +1 -0
- package/dist/chunks/{extraUsage-Dr0YXm1w.js → extraUsage-Cu0aV35i.js} +1 -1
- package/dist/chunks/extractMemories-DHlbRc5g.js +1 -0
- package/dist/chunks/{fast-C5-lNCQi.js → fast-BlhpCQ2f.js} +1 -1
- package/dist/chunks/fast-C3JeBy3A.js +1 -0
- package/dist/chunks/{fetchModelList-9w1E4Ue8.js → fetchModelList-DjFCMjVN.js} +1 -1
- package/dist/chunks/fetchModelList-L2XarfAj.js +1 -0
- package/dist/chunks/{fileSuggestions-BYD78vcF.js → fileSuggestions-BRwKV_KA.js} +2 -2
- package/dist/chunks/{gemini-BNBptTET.js → gemini-I-M5_sUA.js} +2 -2
- package/dist/chunks/{generateSessionName-CO2484aJ.js → generateSessionName-CJ0sh6HD.js} +1 -1
- package/dist/chunks/{goal-j0wdadwM.js → goal-DIrBBT5J.js} +3 -3
- package/dist/chunks/{grok-BpO1ZwK_.js → grok-ZLjJN6b9.js} +1 -1
- package/dist/chunks/{help-DwhA0qQ6.js → help-CDMjVOl6.js} +1 -1
- package/dist/chunks/{hooks-DG4_WdZ2.js → hooks-BNKCE023.js} +2 -2
- package/dist/chunks/hooks-ERYtmuNW.js +1 -0
- package/dist/chunks/{install-BbmCNCuM.js → install-xlfTw1j6.js} +1 -1
- package/dist/chunks/{instrumentation-DpPmDyNF.js → instrumentation-DSt0UvGn.js} +3 -3
- package/dist/chunks/{job-GcmX1ALd.js → job-BVElGsu0.js} +1 -1
- package/dist/chunks/{launchLocalMemory-CDgT5lst.js → launchLocalMemory-DUkJCKmd.js} +2 -2
- package/dist/chunks/{launchOnboarding-uQ_ux9sS.js → launchOnboarding-BvD-E_jC.js} +1 -1
- package/dist/chunks/loadAgentsDir-BImZsKrh.js +1 -0
- package/dist/chunks/{loadAgentsDir-uuZYOgKn.js → loadAgentsDir-BfLCckVj.js} +343 -343
- package/dist/chunks/loadPluginHooks-BPwWtBzO.js +1 -0
- package/dist/chunks/{localSearch-yVCDrVrf.js → localSearch-BHG8sp8p.js} +1 -1
- package/dist/chunks/localSearch-D3rvcRRC.js +1 -0
- package/dist/chunks/{logoUtils-B4wCDKs9.js → logoUtils-BsNLv-qi.js} +1 -1
- package/dist/chunks/{magicDocs-D53lV8b5.js → magicDocs-Bue9vxzY.js} +2 -2
- package/dist/chunks/{main-fy_XSXGj.js → main-U71X4Thd.js} +22 -22
- package/dist/chunks/managedEnv-DCGLDTP_.js +1 -0
- package/dist/chunks/{managedEnv-B8YWmM4A.js → managedEnv-EZ2IirNa.js} +1 -1
- package/dist/chunks/{mcp-CZUVaPb3.js → mcp-C4CxCMwJ.js} +3 -3
- package/dist/chunks/mcp-D9HFARDy.js +1 -0
- package/dist/chunks/mcp-De3QGKvT.js +2 -0
- package/dist/chunks/memory-DVRdJFfI.js +1 -0
- package/dist/chunks/{mode-Bteqe2QG.js → mode-Bd5w-RBX.js} +2 -2
- package/dist/chunks/{model-CHDU5yqH.js → model-BCIcUhrc.js} +1 -1
- package/dist/chunks/{model-CcHyMyBv.js → model-BIf2i1is.js} +1 -1
- package/dist/chunks/{modelOptions-CJV1R3Jt.js → modelOptions-COIU5U3w.js} +1 -1
- package/dist/chunks/{nativeInstaller-CIUYh1aD.js → nativeInstaller-CGSNzGNn.js} +1 -1
- package/dist/chunks/{notifications-GLnjirCl.js → notifications-B5gzCmPC.js} +1 -1
- package/dist/chunks/{onChangeAppState-CxGW2d-l.js → onChangeAppState-NWwSE-I4.js} +1 -1
- package/dist/chunks/{openai-BpGQT2Iv.js → openai-CyJ3m4dI.js} +2 -2
- package/dist/chunks/{overlayContext-7wgLio1O.js → overlayContext-DYrGDe63.js} +1 -1
- package/dist/chunks/{partition-djFY9gGI.js → partition-BavNaw1S.js} +1 -1
- package/dist/chunks/permissions-CLYcBXIu.js +3 -0
- package/dist/chunks/{pidLock-CFUBtZck.js → pidLock-Bao7SU6Z.js} +2 -2
- package/dist/chunks/{plan-DI0n7LIV.js → plan-Dwj_ZX8G.js} +1 -1
- package/dist/chunks/plugin-Cscvf8st.js +17 -0
- package/dist/chunks/{pluginAutoupdate-CNrHb4RJ.js → pluginAutoupdate-D5XyiZrP.js} +1 -1
- package/dist/chunks/pluginBlocklist-CpkjXXKQ.js +1 -0
- package/dist/chunks/pluginCliCommands-DmLsxs1M.js +1 -0
- package/dist/chunks/{pluginFlagging-CUvkKGOB.js → pluginFlagging-CRuX6sHR.js} +1 -1
- package/dist/chunks/pluginOperations-orq3bOCp.js +2 -0
- package/dist/chunks/{pluginStartupCheck-DftTiXct.js → pluginStartupCheck-DGDl1WOZ.js} +1 -1
- package/dist/chunks/pluginStartupCheck-GHO77nmg.js +1 -0
- package/dist/chunks/plugins-Cq5c-Qs1.js +4 -0
- package/dist/chunks/{print-DSHypGJa.js → print-zo7Z--Ll.js} +9 -9
- package/dist/chunks/processBashCommand-C7oVqf0B.js +1 -0
- package/dist/chunks/processSlashCommand-CPQB5_0w.js +5 -0
- package/dist/chunks/{projectOnboardingState-nTCycGCD.js → projectOnboardingState-D-_ijZnG.js} +1 -1
- package/dist/chunks/prompt-CAzFDybL.js +1 -0
- package/dist/chunks/prompt-Cm8SKZXY.js +1 -0
- package/dist/chunks/{prompt-BfXryFt-.js → prompt-DaYH88Oe.js} +1 -1
- package/dist/chunks/{protocolHandler-VigBkAQQ.js → protocolHandler-CJO3CRYW.js} +1 -1
- package/dist/chunks/{reconciler-B9XFdL4f.js → reconciler-B5Kr4do0.js} +1 -1
- package/dist/chunks/refresh-DurNMJeS.js +1 -0
- package/dist/chunks/{reject-CBxnwckZ.js → reject-CzjtO3fU.js} +1 -1
- package/dist/chunks/{reload-plugins-5eFWrQlL.js → reload-plugins-C38i_Eb3.js} +1 -1
- package/dist/chunks/rename-BV-3ZpFx.js +1 -0
- package/dist/chunks/{resume-U2D0ybfU.js → resume-CUzQIor4.js} +2 -2
- package/dist/chunks/{runtimeObserver-CWaYMJG8.js → runtimeObserver-BKoQ5IEO.js} +4 -4
- package/dist/chunks/{runtimeObserver-DOYlxx9H.js → runtimeObserver-Ess1Cn8Y.js} +1 -1
- package/dist/chunks/sandbox-adapter-ClRO21Ci.js +1 -0
- package/dist/chunks/{sandbox-toggle-BtiPyjT3.js → sandbox-toggle-Bp6Xpjh3.js} +1 -1
- package/dist/chunks/searchExtraTools-CV_fkuD6.js +1 -0
- package/dist/chunks/{select-BuTJbu_Q.js → select-Bm29ymsI.js} +1 -1
- package/dist/chunks/sessionFileAccessHooks-B5kAD4ol.js +1 -0
- package/dist/chunks/{sessionObserver-cfwD8pV8.js → sessionObserver-CBlzrJt1.js} +1 -1
- package/dist/chunks/sessionObserver-CayxkuxO.js +1 -0
- package/dist/chunks/sessionStorage-vLxCo1Mh.js +1 -0
- package/dist/chunks/{sessionTracing-DsdcOqvc.js → sessionTracing-TDsq54Uc.js} +1 -1
- package/dist/chunks/setup-BbyfyeQk.js +3 -0
- package/dist/chunks/{shadowedRuleDetection-DiZUDzxU.js → shadowedRuleDetection-BG3jtA9Y.js} +1 -1
- package/dist/chunks/{sideQuestion-CdgUarC2.js → sideQuestion-C8GNVo4R.js} +3 -3
- package/dist/chunks/{sinks-Cy3NqVbk.js → sinks-BafJR6Fw.js} +1 -1
- package/dist/chunks/sinks-CHtjg7sn.js +1 -0
- package/dist/chunks/skillChangeDetector-CY17weG4.js +1 -0
- package/dist/chunks/{skillGapStore-BJV8ZIB1.js → skillGapStore-Cl4J1WoZ.js} +2 -2
- package/dist/chunks/{skillLifecycle-iO_3s9Ff.js → skillLifecycle-DdfeUHBf.js} +2 -2
- package/dist/chunks/{skillSearchPanel-BL5gXTHU.js → skillSearchPanel-DtQYF9gN.js} +4 -4
- package/dist/chunks/{skills-BEp3_RyT.js → skills-Fd12LJal.js} +1 -1
- package/dist/chunks/status-CGEMRiPI.js +1 -0
- package/dist/chunks/statusNoticeHelpers-D0tonVy0.js +1 -0
- package/dist/chunks/{switcher-DSt2cVjA.js → switcher-BCq9Az_q.js} +1 -1
- package/dist/chunks/switcher-DQMr6Anx.js +1 -0
- package/dist/chunks/{tasks-DyBUXnQb.js → tasks-DQmkY_xD.js} +1 -1
- package/dist/chunks/{templateJobs-BBnReWWj.js → templateJobs-CEDUbFAY.js} +1 -1
- package/dist/chunks/{terminalSetup-CDpFfqqV.js → terminalSetup-CaGbEVjB.js} +1 -1
- package/dist/chunks/{terminalSetup-DedaY1P7.js → terminalSetup-xe_P98fY.js} +1 -1
- package/dist/chunks/{theme-BZOy9Iqh.js → theme-DQjJ4R0o.js} +1 -1
- package/dist/chunks/tipRegistry-BwxZ_G0j.js +2 -0
- package/dist/chunks/{toolEventObserver-ClwWmVbH.js → toolEventObserver-DdZ30on9.js} +1 -1
- package/dist/chunks/toolPool-CWIXwdX7.js +1 -0
- package/dist/chunks/{useExitOnCtrlCDWithKeybindings-ClN4NJnB.js → useExitOnCtrlCDWithKeybindings-ClrtNKJ6.js} +1 -1
- package/dist/chunks/useMainLoopModel-CULw8pB_.js +1 -0
- package/dist/chunks/{useManagePlugins-CxHz-gUP.js → useManagePlugins-CmsPSHor.js} +1 -1
- package/dist/chunks/useMergedTools-C8PxReh0.js +1 -0
- package/dist/chunks/{useSearchInput-BIQN_-Hm.js → useSearchInput-BZhTzjgN.js} +1 -1
- package/dist/chunks/useSettingsErrors-GWIxCYyd.js +1 -0
- package/dist/chunks/{util-BHr5l6Bx.js → util-Bih2g-pV.js} +1 -1
- package/dist/chunks/validatePlugin-BwcC_Wbr.js +1 -0
- package/dist/chunks/{vim-CYjMtnwH.js → vim-BlO9V5_5.js} +1 -1
- package/dist/chunks/worktree-BB9lFWBB.js +1 -0
- package/dist/chunks/wrapper-B-Q3Illb.js +1 -0
- package/dist/chunks/{wrapper-K8ZapJVu.js → wrapper-DVKxC5fR.js} +1 -1
- package/dist/cli.js +1 -1
- package/package.json +2 -1
- package/dist/chunks/AgentsMdExternalIncludesDialog-CgSethgo.js +0 -1
- package/dist/chunks/App-DzRQpRKr.js +0 -1
- package/dist/chunks/Doctor-CLOYkPRR.js +0 -3
- package/dist/chunks/Doctor-CiZNe_qx.js +0 -1
- package/dist/chunks/ExitFlow-CATwJC4c.js +0 -2
- package/dist/chunks/MCPConnectionManager-CBY8nqdU.js +0 -1
- package/dist/chunks/MCPToolListView-C7HT6rrl.js +0 -1
- package/dist/chunks/MessageSelector-Dw_ERK_Z.js +0 -3
- package/dist/chunks/Messages-RBfRELKn.js +0 -10
- package/dist/chunks/QueryEngine-BBBkZWu2.js +0 -1
- package/dist/chunks/REPL-BHk0vZDf.js +0 -1
- package/dist/chunks/ResumeConversation-BuSqBrm1.js +0 -1
- package/dist/chunks/SearchExtraToolsTool-CdWB9sO8.js +0 -1
- package/dist/chunks/Settings-DYKmPdbd.js +0 -2
- package/dist/chunks/Spinner-DOI8qqZi.js +0 -1
- package/dist/chunks/allErrors-DvcU0w0F.js +0 -1
- package/dist/chunks/backgroundHousekeeping-B56nFTzq.js +0 -1
- package/dist/chunks/caches-D7arwhaa.js +0 -1
- package/dist/chunks/caches-Dn8yrJmL.js +0 -1
- package/dist/chunks/commands-AcfFLgl5.js +0 -1
- package/dist/chunks/compact-Banc-SNk.js +0 -2
- package/dist/chunks/config-BhBcadjZ.js +0 -1
- package/dist/chunks/config-Bm5pVdCq.js +0 -1
- package/dist/chunks/context-noninteractive-BK2IDLSS.js +0 -1
- package/dist/chunks/conversation-B2dX3X4Z.js +0 -1
- package/dist/chunks/conversation-Cjaftrrw.js +0 -1
- package/dist/chunks/crossProjectResume-BzltC4NJ.js +0 -40
- package/dist/chunks/doctor-CQf8xPZH.js +0 -1
- package/dist/chunks/exit-uKtXb5U3.js +0 -1
- package/dist/chunks/extractMemories-8yvMGZ1J.js +0 -1
- package/dist/chunks/fast-aNkj6WvB.js +0 -1
- package/dist/chunks/fetchModelList-D2quBF6M.js +0 -1
- package/dist/chunks/hooks-B5Wq-KxE.js +0 -1
- package/dist/chunks/loadAgentsDir-BBbIAiay.js +0 -1
- package/dist/chunks/loadPluginHooks-QoVXsBjy.js +0 -1
- package/dist/chunks/localSearch-D6MhwvnR.js +0 -1
- package/dist/chunks/managedEnv-ulQBH73B.js +0 -1
- package/dist/chunks/mcp--LmEVBRg.js +0 -1
- package/dist/chunks/mcp-DCl-Tz-C.js +0 -2
- package/dist/chunks/memory-Bu5ku7y9.js +0 -1
- package/dist/chunks/permissions-DNedQyLg.js +0 -3
- package/dist/chunks/plugin-BQ8gRVYF.js +0 -17
- package/dist/chunks/pluginBlocklist-CKCsgWdY.js +0 -1
- package/dist/chunks/pluginCliCommands-CACeyIwz.js +0 -1
- package/dist/chunks/pluginOperations-Ca_T-HYn.js +0 -2
- package/dist/chunks/pluginStartupCheck-Du9yx2P8.js +0 -1
- package/dist/chunks/plugins-Divl-P-X.js +0 -4
- package/dist/chunks/processBashCommand-BLcFmbyG.js +0 -1
- package/dist/chunks/processSlashCommand-Caif46Gi.js +0 -5
- package/dist/chunks/prompt-BZmu5CeK.js +0 -1
- package/dist/chunks/prompt-Cogr_WZr.js +0 -1
- package/dist/chunks/refresh-CBHbWTGg.js +0 -1
- package/dist/chunks/rename-Cw7cMerG.js +0 -1
- package/dist/chunks/sandbox-adapter-Df7Wpt77.js +0 -1
- package/dist/chunks/searchExtraTools-CbJVb_Zk.js +0 -1
- package/dist/chunks/sessionFileAccessHooks-_mxyfQmn.js +0 -1
- package/dist/chunks/sessionObserver-BZVgzp3W.js +0 -1
- package/dist/chunks/sessionStorage-SC5RfnUP.js +0 -1
- package/dist/chunks/setup-DR-KEmxL.js +0 -3
- package/dist/chunks/sinks-D41OiGE4.js +0 -1
- package/dist/chunks/skillChangeDetector-CVFCJcG7.js +0 -1
- package/dist/chunks/status-6JMz8jmM.js +0 -1
- package/dist/chunks/statusNoticeHelpers-BoloSeXY.js +0 -1
- package/dist/chunks/switcher-95d4TrQH.js +0 -1
- package/dist/chunks/tipRegistry-Cl5sdLRX.js +0 -2
- package/dist/chunks/toolPool-DSTbgGmX.js +0 -1
- package/dist/chunks/useMainLoopModel-Bgxpmn2Q.js +0 -1
- package/dist/chunks/useMergedTools-BUuWew0-.js +0 -1
- package/dist/chunks/useSettingsErrors-BDJCLei_.js +0 -1
- package/dist/chunks/validatePlugin-fx1Y8vam.js +0 -1
- package/dist/chunks/worktree-CGu_58ue.js +0 -1
|
@@ -0,0 +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 +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-
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,o as t,s as n,t as r}from"./localSearch-BHG8sp8p.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{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{
|
|
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,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{
|
|
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.
|
|
2
2
|
|
|
3
3
|
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
4
|
|
|
@@ -54,4 +54,4 @@ The document author has provided specific instructions for how this file should
|
|
|
54
54
|
|
|
55
55
|
"${r}"
|
|
56
56
|
|
|
57
|
-
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:``,CLAUDE_MODEL:y(),CLAUDE_CWD:process.cwd()})}var D=e((()=>{n(),p(),v()}));function O(){F.clear()}function k(e){let t=e.match(N);if(!t?.[1])return null;let n=t[1].trim(),r=t.index+t[0].length,i=e.slice(r).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(i?.[1]){let e=i[1].match(P);if(e?.[1])return{title:n,instructions:e[1].trim()}}return{title:n}}function A(){return{agentType:`magic-docs`,whenToUse:`Update Magic Docs`,tools:[b],model:`sonnet`,source:`built-in`,baseDir:`built-in`,getSystemPrompt:()=>``}}async function j(e,t){let{messages:n,systemPrompt:i,userContext:
|
|
57
|
+
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:``,CLAUDE_MODEL:y(),CLAUDE_CWD:process.cwd()})}var D=e((()=>{n(),p(),v()}));function O(){F.clear()}function k(e){let t=e.match(N);if(!t?.[1])return null;let n=t[1].trim(),r=t.index+t[0].length,i=e.slice(r).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(i?.[1]){let e=i[1].match(P);if(e?.[1])return{title:n,instructions:e[1].trim()}}return{title:n}}function A(){return{agentType:`magic-docs`,whenToUse:`Update Magic Docs`,tools:[b],model:`sonnet`,source:`built-in`,baseDir:`built-in`,getSystemPrompt:()=>``}}async function j(e,t){let{messages:n,systemPrompt:i,userContext:o,systemContext:s,toolUseContext:l}=t,u=r(l.readFileState);u.delete(e.path);let f={...l,readFileState:u},p=``;try{let t=(await a.call({file_path:e.path},f)).data;t.type===`text`&&(p=t.file.content)}catch(t){if(h(t)||t instanceof Error&&t.message.startsWith(`File does not exist`)){F.delete(e.path);return}throw t}let m=k(p);if(!m){F.delete(e.path);return}let g=await E(p,e.path,m.title,m.instructions),_=async(t,n)=>{if(t.name===`Edit`&&typeof n==`object`&&n&&`file_path`in n){let t=n.file_path;if(typeof t==`string`&&t===e.path)return{behavior:`allow`,updatedInput:n}}return{behavior:`deny`,message:`only ${b} is allowed for ${e.path}`,decisionReason:{type:`other`,reason:`only ${b} is allowed`}}};for await(let e of d({agentDefinition:A(),promptMessages:[c({content:g})],toolUseContext:f,canUseTool:_,isAsync:!0,forkContextMessages:n,querySource:`magic_docs`,override:{systemPrompt:i,userContext:o,systemContext:s},availableTools:f.options.tools}));}async function M(){}var N,P,F,I=e((()=>{l(),x(),i(),f(),s(),o(),_(),D(),N=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,P=/^[_*](.+?)[_*]\s*$/m,F=new Map,g(async e=>{let{messages:t,querySource:n}=e;if(n===`repl_main_thread`&&!u(t)&&F.size!==0)for(let t of Array.from(F.values()))await j(t,e)})}));export{M as n,I as r,O as t};
|