@symerian/symi 2.6.17 → 2.6.19
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/{agents-BigDbz_d.js → agents-CrSpoNsS.js} +4 -4
- package/dist/{agents.config-DtwvTAot.js → agents.config-B3GILTs5.js} +1 -1
- package/dist/{agents.config-eIPE7BfG.js → agents.config-Co1CO8fA.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{auth-choice-D9m5BulC.js → auth-choice-BBmXnDnK.js} +1 -1
- package/dist/{auth-choice-CMG_kz3x.js → auth-choice-BHWxDJh7.js} +1 -1
- package/dist/{banner-C_OswN2S.js → banner-RLiOIu-3.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BB0mSdu0.js → channel-options-BCK41AON.js} +1 -1
- package/dist/{channel-options-Bu_ZCXTH.js → channel-options-PDf46S-K.js} +1 -1
- package/dist/{channel-web-DUDswRW8.js → channel-web-C3XZ7c2q.js} +1 -1
- package/dist/{channels-cli-Di-BSdgT.js → channels-cli-723vy6L6.js} +4 -4
- package/dist/{channels-cli-0x_RN1FV.js → channels-cli-CUWuD7qf.js} +4 -4
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{cli-cbA1yje8.js → cli-CAzmrOs0.js} +1 -1
- package/dist/{cli-DkyyhTXQ.js → cli-DYdRSi_j.js} +1 -1
- package/dist/{command-registry-DW8qtaug.js → command-registry-B2aO0Q7_.js} +9 -9
- package/dist/{completion-cli-CokhHC7P.js → completion-cli-BKm12loU.js} +1 -1
- package/dist/{completion-cli-tloa1jVl.js → completion-cli-BsKD_vBb.js} +2 -2
- package/dist/{config-cli-DYo5T6bX.js → config-cli-Bynmd81Q.js} +1 -1
- package/dist/{config-cli-Cks2CdxR.js → config-cli-D47lU7kU.js} +1 -1
- package/dist/{configure-CYOUSSmp.js → configure-B3vS2Iz5.js} +3 -3
- package/dist/{configure-98ZVqzv1.js → configure-Df6GmKAR.js} +3 -3
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{doctor-completion-DjWUJDRE.js → doctor-completion-DyiRkYT4.js} +1 -1
- package/dist/{doctor-completion-BM2LI2kQ.js → doctor-completion-SEerte2S.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-BfgjYQ0a.js → gateway-cli-PjmG0pFo.js} +9 -9
- package/dist/{gateway-cli-BMNlnEBq.js → gateway-cli-k19iT2vJ.js} +9 -9
- package/dist/{glass-ui-ws-B-5Q9pvo.js → glass-ui-ws-D0Yv090T.js} +7 -7
- package/dist/{glass-ui-ws-qMQsqHH3.js → glass-ui-ws-iCEtluQU.js} +7 -7
- package/dist/{health-C1pVvTq3.js → health-B32Q-KYM.js} +1 -1
- package/dist/{health-bPgBZggl.js → health-CXjAtn1-.js} +1 -1
- package/dist/{hooks-cli-v_x0fiwA.js → hooks-cli-DA6zOGNz.js} +2 -2
- package/dist/{hooks-cli-DTeu0ug5.js → hooks-cli-DfRmFenH.js} +2 -2
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-cli-CWLVJkRC.js → models-cli-BgCUViRO.js} +2 -2
- package/dist/{models-cli-CZKH-Xq1.js → models-cli-CbJUD_L1.js} +3 -3
- package/dist/{models-CCNZ_VGI.js → models-zowe4LXa.js} +2 -2
- package/dist/{onboard-BnnTdrLO.js → onboard-CYvIpUXQ.js} +2 -2
- package/dist/{onboard-9kUAnlnq.js → onboard-DsKgcThj.js} +2 -2
- package/dist/{onboard-channels-CCBRpRJ9.js → onboard-channels-DLiV4Y0t.js} +1 -1
- package/dist/{onboard-channels-CPRdBKHz.js → onboard-channels-DxCGWgB0.js} +1 -1
- package/dist/{onboarding-Blk5VONF.js → onboarding-BA5v1JEG.js} +3 -3
- package/dist/{onboarding-BcjWNjOQ.js → onboarding-DioGtMFo.js} +3 -3
- package/dist/{onboarding.finalize-DKZ2job-.js → onboarding.finalize-CAbRXb0h.js} +5 -5
- package/dist/{onboarding.finalize-IQWZ0Nxx.js → onboarding.finalize-DMXCA49f.js} +6 -6
- package/dist/{pi-embedded-c89rUF7D.js → pi-embedded-CFFnZEcA.js} +18 -214
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{plugin-registry-DlpEx7W7.js → plugin-registry-Bt5YCgFq.js} +1 -1
- package/dist/{plugin-registry-qHIbASyR.js → plugin-registry-HFOrv3KN.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BJSgF8Ms.js → channel-web-E56yV1OA.js} +22 -22
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
- package/dist/plugin-sdk/{reply-DF2GwNWO.js → reply-pPqvSkWb.js} +80 -276
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
- package/dist/plugin-sdk/web-Msnzya6B.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
- package/dist/{plugins-cli-DiYaxXSu.js → plugins-cli-C7xTf9NV.js} +2 -2
- package/dist/{plugins-cli-uFsQmTOz.js → plugins-cli-CXz_UApK.js} +2 -2
- package/dist/{program-Do8uFcrW.js → program-8hWr4qGZ.js} +7 -7
- package/dist/{program-context-UVmDXg4w.js → program-context-BBtSJunF.js} +17 -17
- package/dist/{prompt-select-styled-kzPqQVwA.js → prompt-select-styled-CwfroEHp.js} +4 -4
- package/dist/{prompt-select-styled-CGEbisqY.js → prompt-select-styled-DUXeA9Zp.js} +4 -4
- package/dist/{provider-auth-helpers-DDs0rDUe.js → provider-auth-helpers-Dc7jBEOA.js} +1 -1
- package/dist/{provider-auth-helpers-CqdTkwA8.js → provider-auth-helpers-DhLHWjNU.js} +1 -1
- package/dist/{push-apns-j-mUpMCa.js → push-apns-CVZe5WVN.js} +1 -1
- package/dist/{push-apns-CfgfTcOB.js → push-apns-CflJh75N.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{register.agent-DBSU9q-C.js → register.agent-BnuJQ5lg.js} +6 -6
- package/dist/{register.agent-CUkxOrUA.js → register.agent-DV7IR1rI.js} +5 -5
- package/dist/{register.configure-D-YahcNK.js → register.configure-BhncI0ij.js} +6 -6
- package/dist/{register.configure-BHwc52Bf.js → register.configure-DaIrJXWo.js} +6 -6
- package/dist/{register.maintenance-CjNxcN3U.js → register.maintenance-BO1XWhVb.js} +7 -7
- package/dist/{register.maintenance-DkwHh-sW.js → register.maintenance-DK_p-7so.js} +8 -8
- package/dist/{register.message-BMNRNhYd.js → register.message-B194ue2R.js} +2 -2
- package/dist/{register.message-Dz3kJorp.js → register.message-B4CGCAn_.js} +2 -2
- package/dist/{register.onboard-CIk7rJ1a.js → register.onboard-DidMCka8.js} +4 -4
- package/dist/{register.onboard-BGSP1g7Q.js → register.onboard-Dt53qGB5.js} +4 -4
- package/dist/{register.setup-CyU93O5k.js → register.setup-CLV1kk2-.js} +4 -4
- package/dist/{register.setup-DxBr7LGK.js → register.setup-DgUxMRZR.js} +4 -4
- package/dist/{register.status-health-sessions-Byt1zRKc.js → register.status-health-sessions-CB10JLY6.js} +3 -3
- package/dist/{register.status-health-sessions-Bo10kUYn.js → register.status-health-sessions-TvGuwVoR.js} +3 -3
- package/dist/{register.subclis-DZS69nNZ.js → register.subclis-elNdyQio.js} +9 -9
- package/dist/{reply-t3rS1c2M.js → reply-DUZvOCsG.js} +4 -200
- package/dist/{run-main-BE8Lea59.js → run-main-gBPGqO8r.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{server-methods-vUsaIJLP.js → server-methods-BG0N79yY.js} +7 -7
- package/dist/{server-methods-BFNuAjXb.js → server-methods-dgW-8gC7.js} +7 -7
- package/dist/{server-node-events-DTanfrRl.js → server-node-events-B_hsQw_N.js} +2 -2
- package/dist/{server-node-events-DB945tPx.js → server-node-events-ZtQKBPo3.js} +2 -2
- package/dist/{status-DUI4savd.js → status-BqhJ-HsW.js} +1 -1
- package/dist/{status-CuUSAsxJ.js → status-Cd9-xWsZ.js} +2 -2
- package/dist/{status-DgZSkuK3.js → status-D-IvYfjk.js} +2 -2
- package/dist/{status-Bytuvtii.js → status-D4Lr90yH.js} +1 -1
- package/dist/{subagent-registry-D0mKE_3q.js → subagent-registry-J2pIBQF7.js} +4 -200
- package/dist/{unified-runner-V2k6rAy6.js → unified-runner-oH9Pt-cO.js} +4 -200
- package/dist/{update-cli-BKa2ffVu.js → update-cli-B7TLu25J.js} +8 -8
- package/dist/{update-cli-D2IDD4R6.js → update-cli-D8nA6U7C.js} +7 -7
- package/dist/{update-runner-BL1ESAT9.js → update-runner-D8AFB8Oi.js} +1 -1
- package/dist/{update-runner-CgxeuAoc.js → update-runner-DvZOsoQs.js} +1 -1
- package/dist/{web-CLeqzp4c.js → web-0xZpP0WA.js} +1 -1
- package/dist/{web-DcYJyp75.js → web-CAy-xQv2.js} +1 -1
- package/dist/{web-Ge4OdY6a.js → web-DDiOPIdv.js} +2 -2
- package/dist/{web-DNZZb5tb.js → web-mQInjWbW.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web--NjJYvn_.js +0 -65
- package/skills/self-inspect/SKILL.md +0 -109
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-
|
|
1
|
+
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-DUZvOCsG.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
4
4
|
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-
|
|
3
|
+
import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-DUZvOCsG.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
6
6
|
import { n as runExec } from "./exec-CWkblSrI.js";
|
|
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.j
|
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
|
|
29
29
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
30
30
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-CrITRV6w.js";
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-B32Q-KYM.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-Cxz4e-Qd.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
|
|
@@ -9,7 +9,7 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-D-jRCY0d.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
|
|
12
|
-
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-
|
|
12
|
+
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-J2pIBQF7.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
30
30
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
31
31
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Byo5jCLN.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CXjAtn1-.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-fcZExd22.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DVLB9DNB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
3
3
|
import { i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-J2pIBQF7.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -32297,30 +32297,6 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
32297
32297
|
//#endregion
|
|
32298
32298
|
//#region src/config/model-profiles-builtin.ts
|
|
32299
32299
|
/**
|
|
32300
|
-
* Starter pack — always-on context for models with tool arg corruption.
|
|
32301
|
-
* ~500 tokens. Prevents the most common failure patterns.
|
|
32302
|
-
* For detailed file modification guides, the self-inspect skill cascades from here.
|
|
32303
|
-
*/
|
|
32304
|
-
const STARTER_PACK = [
|
|
32305
|
-
"",
|
|
32306
|
-
"SELF-AWARENESS:",
|
|
32307
|
-
"- You are Symi. Find your installation: node -e \"console.log(require.resolve('@symerian/symi/package.json').replace('/package.json', ''))\"",
|
|
32308
|
-
"- Glass UI CSS: <SYMI_ROOT>/dist/control-ui/css/style.css",
|
|
32309
|
-
"- Glass UI HTML: <SYMI_ROOT>/dist/control-ui/index.html",
|
|
32310
|
-
"- Glass UI JS: <SYMI_ROOT>/dist/control-ui/js/app.js, gateway.js, render.js, models.js, history.js, symipulse.js, debug.js",
|
|
32311
|
-
"- Config: ~/.symi/symi.json | Sessions: ~/.symi/agents/main/sessions/ | Memory: ~/.symi/state/memory/",
|
|
32312
|
-
"- For detailed modification guides, read the self-inspect skill.",
|
|
32313
|
-
"",
|
|
32314
|
-
"TOOL RULES (mandatory):",
|
|
32315
|
-
"- read/write/edit: Always provide the full absolute path. Use read to view files — NEVER exec cat, head, find, or grep for files you know the path to.",
|
|
32316
|
-
"- exec/bash: Provide only valid shell syntax. No tags, no tokens, no markup. Spell commands exactly.",
|
|
32317
|
-
"- web_search: Always include query argument. Example: web_search({ query: \"search terms\" })",
|
|
32318
|
-
"- sessions_spawn: Always include task and mode. Example: sessions_spawn({ label: \"name\", mode: \"run\", task: \"description\" })",
|
|
32319
|
-
"",
|
|
32320
|
-
"KNOWN SHELL COMMANDS (use exact spelling):",
|
|
32321
|
-
"awk basename brew cargo cat chmod chown cp curl cut date dd df diff dig dirname docker du echo env find gcc git go grep gunzip gzip head hostname id ifconfig ip java javac journalctl kill killall launchctl less ln locate ls make man mkdir mktemp more mount mv nc netstat nice node nohup npm npx open paste pbcopy pbpaste ping pip pip3 plutil printf ps pwd python python3 readlink realpath rm rmdir rsync ruby scp sed sleep sort ssh stat strings sudo su sw_vers sysctl system_profiler systemctl tail tar tee test top touch tr type uname uniq unzip wc wget which xargs xz yes zip"
|
|
32322
|
-
];
|
|
32323
|
-
/**
|
|
32324
32300
|
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
32325
32301
|
* that `resolveModelProfile` can return the first match.
|
|
32326
32302
|
*
|
|
@@ -32363,8 +32339,7 @@ const BUILTIN_PROFILES = [
|
|
|
32363
32339
|
"- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
|
|
32364
32340
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
32365
32341
|
"- Send brief progress updates on long tasks so the user knows you are active.",
|
|
32366
|
-
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
32367
|
-
...STARTER_PACK
|
|
32342
|
+
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
32368
32343
|
],
|
|
32369
32344
|
ui: {
|
|
32370
32345
|
badge: "Local",
|
|
@@ -32436,8 +32411,7 @@ const BUILTIN_PROFILES = [
|
|
|
32436
32411
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
32437
32412
|
"- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
|
|
32438
32413
|
"- When working on multi-step tasks, send a brief one-line status update so the user knows you are active.",
|
|
32439
|
-
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
32440
|
-
...STARTER_PACK
|
|
32414
|
+
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
32441
32415
|
],
|
|
32442
32416
|
ui: {
|
|
32443
32417
|
badge: "CoreWeave",
|
|
@@ -35605,175 +35579,6 @@ function toClientToolDefinitions(tools, onClientToolCall, hookContext) {
|
|
|
35605
35579
|
* @module
|
|
35606
35580
|
*/
|
|
35607
35581
|
/**
|
|
35608
|
-
* Known shell commands for prefix deduplication.
|
|
35609
|
-
* When token boundary corruption doubles a command prefix (grep → grgrep,
|
|
35610
|
-
* ls → lsls), we check the first token against this set. If stripping
|
|
35611
|
-
* the repeated prefix yields a known command, use it.
|
|
35612
|
-
*
|
|
35613
|
-
* O(1) lookup. Zero false positives — no valid command is its own prefix doubled.
|
|
35614
|
-
*/
|
|
35615
|
-
const KNOWN_COMMANDS = new Set([
|
|
35616
|
-
"ls",
|
|
35617
|
-
"cat",
|
|
35618
|
-
"cp",
|
|
35619
|
-
"mv",
|
|
35620
|
-
"rm",
|
|
35621
|
-
"mkdir",
|
|
35622
|
-
"rmdir",
|
|
35623
|
-
"touch",
|
|
35624
|
-
"chmod",
|
|
35625
|
-
"chown",
|
|
35626
|
-
"chgrp",
|
|
35627
|
-
"ln",
|
|
35628
|
-
"pwd",
|
|
35629
|
-
"echo",
|
|
35630
|
-
"printf",
|
|
35631
|
-
"head",
|
|
35632
|
-
"tail",
|
|
35633
|
-
"wc",
|
|
35634
|
-
"sort",
|
|
35635
|
-
"uniq",
|
|
35636
|
-
"cut",
|
|
35637
|
-
"tr",
|
|
35638
|
-
"tee",
|
|
35639
|
-
"xargs",
|
|
35640
|
-
"env",
|
|
35641
|
-
"date",
|
|
35642
|
-
"sleep",
|
|
35643
|
-
"true",
|
|
35644
|
-
"false",
|
|
35645
|
-
"yes",
|
|
35646
|
-
"test",
|
|
35647
|
-
"expr",
|
|
35648
|
-
"basename",
|
|
35649
|
-
"dirname",
|
|
35650
|
-
"readlink",
|
|
35651
|
-
"realpath",
|
|
35652
|
-
"mktemp",
|
|
35653
|
-
"stat",
|
|
35654
|
-
"file",
|
|
35655
|
-
"dd",
|
|
35656
|
-
"df",
|
|
35657
|
-
"du",
|
|
35658
|
-
"id",
|
|
35659
|
-
"whoami",
|
|
35660
|
-
"hostname",
|
|
35661
|
-
"uname",
|
|
35662
|
-
"grep",
|
|
35663
|
-
"egrep",
|
|
35664
|
-
"fgrep",
|
|
35665
|
-
"find",
|
|
35666
|
-
"locate",
|
|
35667
|
-
"sed",
|
|
35668
|
-
"awk",
|
|
35669
|
-
"diff",
|
|
35670
|
-
"patch",
|
|
35671
|
-
"strings",
|
|
35672
|
-
"less",
|
|
35673
|
-
"more",
|
|
35674
|
-
"tar",
|
|
35675
|
-
"gzip",
|
|
35676
|
-
"gunzip",
|
|
35677
|
-
"zip",
|
|
35678
|
-
"unzip",
|
|
35679
|
-
"bzip2",
|
|
35680
|
-
"xz",
|
|
35681
|
-
"curl",
|
|
35682
|
-
"wget",
|
|
35683
|
-
"ssh",
|
|
35684
|
-
"scp",
|
|
35685
|
-
"rsync",
|
|
35686
|
-
"ping",
|
|
35687
|
-
"dig",
|
|
35688
|
-
"nslookup",
|
|
35689
|
-
"netstat",
|
|
35690
|
-
"lsof",
|
|
35691
|
-
"nc",
|
|
35692
|
-
"ifconfig",
|
|
35693
|
-
"ip",
|
|
35694
|
-
"ps",
|
|
35695
|
-
"top",
|
|
35696
|
-
"kill",
|
|
35697
|
-
"killall",
|
|
35698
|
-
"nohup",
|
|
35699
|
-
"nice",
|
|
35700
|
-
"which",
|
|
35701
|
-
"type",
|
|
35702
|
-
"where",
|
|
35703
|
-
"man",
|
|
35704
|
-
"sudo",
|
|
35705
|
-
"su",
|
|
35706
|
-
"mount",
|
|
35707
|
-
"umount",
|
|
35708
|
-
"systemctl",
|
|
35709
|
-
"journalctl",
|
|
35710
|
-
"launchctl",
|
|
35711
|
-
"dmesg",
|
|
35712
|
-
"sysctl",
|
|
35713
|
-
"git",
|
|
35714
|
-
"make",
|
|
35715
|
-
"gcc",
|
|
35716
|
-
"python",
|
|
35717
|
-
"python3",
|
|
35718
|
-
"pip",
|
|
35719
|
-
"pip3",
|
|
35720
|
-
"node",
|
|
35721
|
-
"npm",
|
|
35722
|
-
"npx",
|
|
35723
|
-
"pnpm",
|
|
35724
|
-
"yarn",
|
|
35725
|
-
"cargo",
|
|
35726
|
-
"go",
|
|
35727
|
-
"ruby",
|
|
35728
|
-
"gem",
|
|
35729
|
-
"java",
|
|
35730
|
-
"javac",
|
|
35731
|
-
"docker",
|
|
35732
|
-
"brew",
|
|
35733
|
-
"open",
|
|
35734
|
-
"pbcopy",
|
|
35735
|
-
"pbpaste",
|
|
35736
|
-
"defaults",
|
|
35737
|
-
"diskutil",
|
|
35738
|
-
"sw_vers",
|
|
35739
|
-
"system_profiler",
|
|
35740
|
-
"plutil",
|
|
35741
|
-
"mdfind",
|
|
35742
|
-
"mdls",
|
|
35743
|
-
"softwareupdate",
|
|
35744
|
-
"caffeinate",
|
|
35745
|
-
"say",
|
|
35746
|
-
"osascript",
|
|
35747
|
-
"security",
|
|
35748
|
-
"codesign",
|
|
35749
|
-
"hdiutil",
|
|
35750
|
-
"installer",
|
|
35751
|
-
"lipo",
|
|
35752
|
-
"otool",
|
|
35753
|
-
"dscl",
|
|
35754
|
-
"scutil"
|
|
35755
|
-
]);
|
|
35756
|
-
/**
|
|
35757
|
-
* Fix command prefix duplication from token boundary splits.
|
|
35758
|
-
* Token corruption can double a multi-char prefix: grep → grgrep, ls → lsls.
|
|
35759
|
-
* Check if the first token starts with a repeated prefix that, when removed,
|
|
35760
|
-
* yields a known command.
|
|
35761
|
-
*
|
|
35762
|
-
* Examples: grgrep → grep, lsls → ls, catcat → cat, curlcurl → curl
|
|
35763
|
-
*/
|
|
35764
|
-
function dedupCommandPrefix(command) {
|
|
35765
|
-
const match = command.match(/^([a-zA-Z0-9_-]+)/);
|
|
35766
|
-
if (!match) return command;
|
|
35767
|
-
const firstToken = match[1];
|
|
35768
|
-
if (KNOWN_COMMANDS.has(firstToken)) return command;
|
|
35769
|
-
for (let prefixLen = 2; prefixLen <= Math.min(10, Math.floor(firstToken.length / 2)); prefixLen++) {
|
|
35770
|
-
const prefix = firstToken.slice(0, prefixLen);
|
|
35771
|
-
const candidate = firstToken.slice(prefixLen);
|
|
35772
|
-
if (candidate.startsWith(prefix.slice(0, Math.min(prefix.length, candidate.length))) && KNOWN_COMMANDS.has(candidate)) return candidate + command.slice(firstToken.length);
|
|
35773
|
-
}
|
|
35774
|
-
return command;
|
|
35775
|
-
}
|
|
35776
|
-
/**
|
|
35777
35582
|
* Validate that a command string contains extractable valid shell syntax.
|
|
35778
35583
|
* Returns the cleaned command if valid, or an error reason if not.
|
|
35779
35584
|
*
|
|
@@ -35792,7 +35597,6 @@ function validateShellCommand(command) {
|
|
|
35792
35597
|
cleaned = cleaned.replace(/<\|[^|>]*(?:\|>)?/g, "").trim();
|
|
35793
35598
|
cleaned = cleanResidualTokenFragments(cleaned);
|
|
35794
35599
|
}
|
|
35795
|
-
cleaned = dedupCommandPrefix(cleaned);
|
|
35796
35600
|
if (!cleaned || !cleaned.trim()) return {
|
|
35797
35601
|
valid: false,
|
|
35798
35602
|
cleaned: "",
|
|
@@ -53275,7 +53079,7 @@ function isVoiceChannelType(type) {
|
|
|
53275
53079
|
function createDefaultDeps() {
|
|
53276
53080
|
return {
|
|
53277
53081
|
sendMessageWhatsApp: async (...args) => {
|
|
53278
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53082
|
+
const { sendMessageWhatsApp } = await import("./web-CAy-xQv2.js");
|
|
53279
53083
|
return await sendMessageWhatsApp(...args);
|
|
53280
53084
|
},
|
|
53281
53085
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68589,7 +68393,7 @@ function loadWebLoginQr() {
|
|
|
68589
68393
|
return webLoginQrPromise;
|
|
68590
68394
|
}
|
|
68591
68395
|
function loadWebChannel() {
|
|
68592
|
-
webChannelPromise ??= import("./web-
|
|
68396
|
+
webChannelPromise ??= import("./web-CAy-xQv2.js");
|
|
68593
68397
|
return webChannelPromise;
|
|
68594
68398
|
}
|
|
68595
68399
|
function loadWhatsAppActions() {
|
|
@@ -104,30 +104,6 @@ import { apiThrottler } from "@grammyjs/transformer-throttler";
|
|
|
104
104
|
|
|
105
105
|
//#region src/config/model-profiles-builtin.ts
|
|
106
106
|
/**
|
|
107
|
-
* Starter pack — always-on context for models with tool arg corruption.
|
|
108
|
-
* ~500 tokens. Prevents the most common failure patterns.
|
|
109
|
-
* For detailed file modification guides, the self-inspect skill cascades from here.
|
|
110
|
-
*/
|
|
111
|
-
const STARTER_PACK = [
|
|
112
|
-
"",
|
|
113
|
-
"SELF-AWARENESS:",
|
|
114
|
-
"- You are Symi. Find your installation: node -e \"console.log(require.resolve('@symerian/symi/package.json').replace('/package.json', ''))\"",
|
|
115
|
-
"- Glass UI CSS: <SYMI_ROOT>/dist/control-ui/css/style.css",
|
|
116
|
-
"- Glass UI HTML: <SYMI_ROOT>/dist/control-ui/index.html",
|
|
117
|
-
"- Glass UI JS: <SYMI_ROOT>/dist/control-ui/js/app.js, gateway.js, render.js, models.js, history.js, symipulse.js, debug.js",
|
|
118
|
-
"- Config: ~/.symi/symi.json | Sessions: ~/.symi/agents/main/sessions/ | Memory: ~/.symi/state/memory/",
|
|
119
|
-
"- For detailed modification guides, read the self-inspect skill.",
|
|
120
|
-
"",
|
|
121
|
-
"TOOL RULES (mandatory):",
|
|
122
|
-
"- read/write/edit: Always provide the full absolute path. Use read to view files — NEVER exec cat, head, find, or grep for files you know the path to.",
|
|
123
|
-
"- exec/bash: Provide only valid shell syntax. No tags, no tokens, no markup. Spell commands exactly.",
|
|
124
|
-
"- web_search: Always include query argument. Example: web_search({ query: \"search terms\" })",
|
|
125
|
-
"- sessions_spawn: Always include task and mode. Example: sessions_spawn({ label: \"name\", mode: \"run\", task: \"description\" })",
|
|
126
|
-
"",
|
|
127
|
-
"KNOWN SHELL COMMANDS (use exact spelling):",
|
|
128
|
-
"awk basename brew cargo cat chmod chown cp curl cut date dd df diff dig dirname docker du echo env find gcc git go grep gunzip gzip head hostname id ifconfig ip java javac journalctl kill killall launchctl less ln locate ls make man mkdir mktemp more mount mv nc netstat nice node nohup npm npx open paste pbcopy pbpaste ping pip pip3 plutil printf ps pwd python python3 readlink realpath rm rmdir rsync ruby scp sed sleep sort ssh stat strings sudo su sw_vers sysctl system_profiler systemctl tail tar tee test top touch tr type uname uniq unzip wc wget which xargs xz yes zip"
|
|
129
|
-
];
|
|
130
|
-
/**
|
|
131
107
|
* Built-in model profiles. Ordered from most-specific to least-specific so
|
|
132
108
|
* that `resolveModelProfile` can return the first match.
|
|
133
109
|
*
|
|
@@ -170,8 +146,7 @@ const BUILTIN_PROFILES = [
|
|
|
170
146
|
"- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
|
|
171
147
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
172
148
|
"- Send brief progress updates on long tasks so the user knows you are active.",
|
|
173
|
-
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
174
|
-
...STARTER_PACK
|
|
149
|
+
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
175
150
|
],
|
|
176
151
|
ui: {
|
|
177
152
|
badge: "Local",
|
|
@@ -243,8 +218,7 @@ const BUILTIN_PROFILES = [
|
|
|
243
218
|
"- If you need to verify your work, do so before writing your response, not after.",
|
|
244
219
|
"- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
|
|
245
220
|
"- When working on multi-step tasks, send a brief one-line status update so the user knows you are active.",
|
|
246
|
-
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
247
|
-
...STARTER_PACK
|
|
221
|
+
"- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
|
|
248
222
|
],
|
|
249
223
|
ui: {
|
|
250
224
|
badge: "CoreWeave",
|
|
@@ -53700,7 +53674,7 @@ function isVoiceChannelType(type) {
|
|
|
53700
53674
|
function createDefaultDeps() {
|
|
53701
53675
|
return {
|
|
53702
53676
|
sendMessageWhatsApp: async (...args) => {
|
|
53703
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53677
|
+
const { sendMessageWhatsApp } = await import("./web-0xZpP0WA.js");
|
|
53704
53678
|
return await sendMessageWhatsApp(...args);
|
|
53705
53679
|
},
|
|
53706
53680
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68980,7 +68954,7 @@ function loadWebLoginQr() {
|
|
|
68980
68954
|
return webLoginQrPromise;
|
|
68981
68955
|
}
|
|
68982
68956
|
function loadWebChannel() {
|
|
68983
|
-
webChannelPromise ??= import("./web-
|
|
68957
|
+
webChannelPromise ??= import("./web-0xZpP0WA.js");
|
|
68984
68958
|
return webChannelPromise;
|
|
68985
68959
|
}
|
|
68986
68960
|
function loadWhatsAppActions() {
|
|
@@ -75523,175 +75497,6 @@ function subscribeEmbeddedPiSession(params) {
|
|
|
75523
75497
|
* @module
|
|
75524
75498
|
*/
|
|
75525
75499
|
/**
|
|
75526
|
-
* Known shell commands for prefix deduplication.
|
|
75527
|
-
* When token boundary corruption doubles a command prefix (grep → grgrep,
|
|
75528
|
-
* ls → lsls), we check the first token against this set. If stripping
|
|
75529
|
-
* the repeated prefix yields a known command, use it.
|
|
75530
|
-
*
|
|
75531
|
-
* O(1) lookup. Zero false positives — no valid command is its own prefix doubled.
|
|
75532
|
-
*/
|
|
75533
|
-
const KNOWN_COMMANDS = new Set([
|
|
75534
|
-
"ls",
|
|
75535
|
-
"cat",
|
|
75536
|
-
"cp",
|
|
75537
|
-
"mv",
|
|
75538
|
-
"rm",
|
|
75539
|
-
"mkdir",
|
|
75540
|
-
"rmdir",
|
|
75541
|
-
"touch",
|
|
75542
|
-
"chmod",
|
|
75543
|
-
"chown",
|
|
75544
|
-
"chgrp",
|
|
75545
|
-
"ln",
|
|
75546
|
-
"pwd",
|
|
75547
|
-
"echo",
|
|
75548
|
-
"printf",
|
|
75549
|
-
"head",
|
|
75550
|
-
"tail",
|
|
75551
|
-
"wc",
|
|
75552
|
-
"sort",
|
|
75553
|
-
"uniq",
|
|
75554
|
-
"cut",
|
|
75555
|
-
"tr",
|
|
75556
|
-
"tee",
|
|
75557
|
-
"xargs",
|
|
75558
|
-
"env",
|
|
75559
|
-
"date",
|
|
75560
|
-
"sleep",
|
|
75561
|
-
"true",
|
|
75562
|
-
"false",
|
|
75563
|
-
"yes",
|
|
75564
|
-
"test",
|
|
75565
|
-
"expr",
|
|
75566
|
-
"basename",
|
|
75567
|
-
"dirname",
|
|
75568
|
-
"readlink",
|
|
75569
|
-
"realpath",
|
|
75570
|
-
"mktemp",
|
|
75571
|
-
"stat",
|
|
75572
|
-
"file",
|
|
75573
|
-
"dd",
|
|
75574
|
-
"df",
|
|
75575
|
-
"du",
|
|
75576
|
-
"id",
|
|
75577
|
-
"whoami",
|
|
75578
|
-
"hostname",
|
|
75579
|
-
"uname",
|
|
75580
|
-
"grep",
|
|
75581
|
-
"egrep",
|
|
75582
|
-
"fgrep",
|
|
75583
|
-
"find",
|
|
75584
|
-
"locate",
|
|
75585
|
-
"sed",
|
|
75586
|
-
"awk",
|
|
75587
|
-
"diff",
|
|
75588
|
-
"patch",
|
|
75589
|
-
"strings",
|
|
75590
|
-
"less",
|
|
75591
|
-
"more",
|
|
75592
|
-
"tar",
|
|
75593
|
-
"gzip",
|
|
75594
|
-
"gunzip",
|
|
75595
|
-
"zip",
|
|
75596
|
-
"unzip",
|
|
75597
|
-
"bzip2",
|
|
75598
|
-
"xz",
|
|
75599
|
-
"curl",
|
|
75600
|
-
"wget",
|
|
75601
|
-
"ssh",
|
|
75602
|
-
"scp",
|
|
75603
|
-
"rsync",
|
|
75604
|
-
"ping",
|
|
75605
|
-
"dig",
|
|
75606
|
-
"nslookup",
|
|
75607
|
-
"netstat",
|
|
75608
|
-
"lsof",
|
|
75609
|
-
"nc",
|
|
75610
|
-
"ifconfig",
|
|
75611
|
-
"ip",
|
|
75612
|
-
"ps",
|
|
75613
|
-
"top",
|
|
75614
|
-
"kill",
|
|
75615
|
-
"killall",
|
|
75616
|
-
"nohup",
|
|
75617
|
-
"nice",
|
|
75618
|
-
"which",
|
|
75619
|
-
"type",
|
|
75620
|
-
"where",
|
|
75621
|
-
"man",
|
|
75622
|
-
"sudo",
|
|
75623
|
-
"su",
|
|
75624
|
-
"mount",
|
|
75625
|
-
"umount",
|
|
75626
|
-
"systemctl",
|
|
75627
|
-
"journalctl",
|
|
75628
|
-
"launchctl",
|
|
75629
|
-
"dmesg",
|
|
75630
|
-
"sysctl",
|
|
75631
|
-
"git",
|
|
75632
|
-
"make",
|
|
75633
|
-
"gcc",
|
|
75634
|
-
"python",
|
|
75635
|
-
"python3",
|
|
75636
|
-
"pip",
|
|
75637
|
-
"pip3",
|
|
75638
|
-
"node",
|
|
75639
|
-
"npm",
|
|
75640
|
-
"npx",
|
|
75641
|
-
"pnpm",
|
|
75642
|
-
"yarn",
|
|
75643
|
-
"cargo",
|
|
75644
|
-
"go",
|
|
75645
|
-
"ruby",
|
|
75646
|
-
"gem",
|
|
75647
|
-
"java",
|
|
75648
|
-
"javac",
|
|
75649
|
-
"docker",
|
|
75650
|
-
"brew",
|
|
75651
|
-
"open",
|
|
75652
|
-
"pbcopy",
|
|
75653
|
-
"pbpaste",
|
|
75654
|
-
"defaults",
|
|
75655
|
-
"diskutil",
|
|
75656
|
-
"sw_vers",
|
|
75657
|
-
"system_profiler",
|
|
75658
|
-
"plutil",
|
|
75659
|
-
"mdfind",
|
|
75660
|
-
"mdls",
|
|
75661
|
-
"softwareupdate",
|
|
75662
|
-
"caffeinate",
|
|
75663
|
-
"say",
|
|
75664
|
-
"osascript",
|
|
75665
|
-
"security",
|
|
75666
|
-
"codesign",
|
|
75667
|
-
"hdiutil",
|
|
75668
|
-
"installer",
|
|
75669
|
-
"lipo",
|
|
75670
|
-
"otool",
|
|
75671
|
-
"dscl",
|
|
75672
|
-
"scutil"
|
|
75673
|
-
]);
|
|
75674
|
-
/**
|
|
75675
|
-
* Fix command prefix duplication from token boundary splits.
|
|
75676
|
-
* Token corruption can double a multi-char prefix: grep → grgrep, ls → lsls.
|
|
75677
|
-
* Check if the first token starts with a repeated prefix that, when removed,
|
|
75678
|
-
* yields a known command.
|
|
75679
|
-
*
|
|
75680
|
-
* Examples: grgrep → grep, lsls → ls, catcat → cat, curlcurl → curl
|
|
75681
|
-
*/
|
|
75682
|
-
function dedupCommandPrefix(command) {
|
|
75683
|
-
const match = command.match(/^([a-zA-Z0-9_-]+)/);
|
|
75684
|
-
if (!match) return command;
|
|
75685
|
-
const firstToken = match[1];
|
|
75686
|
-
if (KNOWN_COMMANDS.has(firstToken)) return command;
|
|
75687
|
-
for (let prefixLen = 2; prefixLen <= Math.min(10, Math.floor(firstToken.length / 2)); prefixLen++) {
|
|
75688
|
-
const prefix = firstToken.slice(0, prefixLen);
|
|
75689
|
-
const candidate = firstToken.slice(prefixLen);
|
|
75690
|
-
if (candidate.startsWith(prefix.slice(0, Math.min(prefix.length, candidate.length))) && KNOWN_COMMANDS.has(candidate)) return candidate + command.slice(firstToken.length);
|
|
75691
|
-
}
|
|
75692
|
-
return command;
|
|
75693
|
-
}
|
|
75694
|
-
/**
|
|
75695
75500
|
* Validate that a command string contains extractable valid shell syntax.
|
|
75696
75501
|
* Returns the cleaned command if valid, or an error reason if not.
|
|
75697
75502
|
*
|
|
@@ -75710,7 +75515,6 @@ function validateShellCommand(command) {
|
|
|
75710
75515
|
cleaned = cleaned.replace(/<\|[^|>]*(?:\|>)?/g, "").trim();
|
|
75711
75516
|
cleaned = cleanResidualTokenFragments(cleaned);
|
|
75712
75517
|
}
|
|
75713
|
-
cleaned = dedupCommandPrefix(cleaned);
|
|
75714
75518
|
if (!cleaned || !cleaned.trim()) return {
|
|
75715
75519
|
valid: false,
|
|
75716
75520
|
cleaned: "",
|
|
@@ -16,7 +16,7 @@ import "./client-DMBZpU6X.js";
|
|
|
16
16
|
import "./call-BcE47FtD.js";
|
|
17
17
|
import "./message-channel-C9dERklz.js";
|
|
18
18
|
import "./pairing-token-Byh6drgn.js";
|
|
19
|
-
import { Ct as trimLogTail } from "./subagent-registry-
|
|
19
|
+
import { Ct as trimLogTail } from "./subagent-registry-J2pIBQF7.js";
|
|
20
20
|
import "./sessions-CJXnZVjR.js";
|
|
21
21
|
import "./tokens-Csntmwwn.js";
|
|
22
22
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -111,10 +111,10 @@ import "./npm-registry-spec-DkaZNHAW.js";
|
|
|
111
111
|
import "./skill-scanner-BGWOBqLY.js";
|
|
112
112
|
import "./installs-CgQpVncj.js";
|
|
113
113
|
import "./channels-status-issues-c7qZbYG5.js";
|
|
114
|
-
import "./register.subclis-
|
|
115
|
-
import "./command-registry-
|
|
114
|
+
import "./register.subclis-elNdyQio.js";
|
|
115
|
+
import "./command-registry-B2aO0Q7_.js";
|
|
116
116
|
import "./program-context-CqzR_m-7.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-BsKD_vBb.js";
|
|
118
118
|
import "./daemon-runtime-CfRwa6qh.js";
|
|
119
119
|
import { r as parseSemver } from "./runtime-guard-D7waq_Ho.js";
|
|
120
120
|
import "./systemd-DlMdyFDY.js";
|
|
@@ -124,19 +124,19 @@ import "./systemd-hints-sQipWGd1.js";
|
|
|
124
124
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-wWnBIQtk.js";
|
|
125
125
|
import "./diagnostics-CS1ov_hH.js";
|
|
126
126
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
127
|
-
import "./health-
|
|
127
|
+
import "./health-CXjAtn1-.js";
|
|
128
128
|
import "./control-ui-assets-BseSWee1.js";
|
|
129
129
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-ZdimP1aU.js";
|
|
130
130
|
import "./dm-policy-shared-DJ-61hCT.js";
|
|
131
131
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DbmZz0Aq.js";
|
|
132
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
132
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-D8AFB8Oi.js";
|
|
133
133
|
import "./logging-BGewRZy0.js";
|
|
134
134
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DEMKx4eC.js";
|
|
135
135
|
import "./doctor-config-flow-CA3eiKhd.js";
|
|
136
136
|
import "./systemd-linger-DA_LW52P.js";
|
|
137
137
|
import "./health-format-CzgUHmmX.js";
|
|
138
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
139
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
138
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CwfroEHp.js";
|
|
139
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DyiRkYT4.js";
|
|
140
140
|
import { spawn, spawnSync } from "node:child_process";
|
|
141
141
|
import os from "node:os";
|
|
142
142
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { V as trimLogTail } from "./reply-
|
|
4
|
+
import { V as trimLogTail } from "./reply-DUZvOCsG.js";
|
|
5
5
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -106,7 +106,7 @@ import "./stagger-BUClb97_.js";
|
|
|
106
106
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-C8_BLnaW.js";
|
|
107
107
|
import "./channel-selection-DuWs0Aak.js";
|
|
108
108
|
import { r as parseSemver } from "./runtime-guard-B37eizu-.js";
|
|
109
|
-
import "./program-context-
|
|
109
|
+
import "./program-context-BBtSJunF.js";
|
|
110
110
|
import "./catalog-RiADx7MA.js";
|
|
111
111
|
import "./skills-status-CURJKnyY.js";
|
|
112
112
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
@@ -117,7 +117,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
|
|
|
117
117
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
118
118
|
import "./installs-C1Cebk97.js";
|
|
119
119
|
import "./channels-status-issues-B_kBkl_u.js";
|
|
120
|
-
import { r as installCompletion } from "./completion-cli-
|
|
120
|
+
import { r as installCompletion } from "./completion-cli-BKm12loU.js";
|
|
121
121
|
import "./daemon-runtime-2mwX-jqj.js";
|
|
122
122
|
import "./systemd-riq8uNJQ.js";
|
|
123
123
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
@@ -126,19 +126,19 @@ import "./systemd-hints-BR6gChwm.js";
|
|
|
126
126
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-DscwlsKW.js";
|
|
127
127
|
import "./diagnostics-BAMlsVVX.js";
|
|
128
128
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
129
|
-
import "./health-
|
|
129
|
+
import "./health-B32Q-KYM.js";
|
|
130
130
|
import "./control-ui-assets-Z947tKLt.js";
|
|
131
131
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-CtckACbb.js";
|
|
132
132
|
import "./dm-policy-shared-Bh3TbexU.js";
|
|
133
133
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DtwCUTf-.js";
|
|
134
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
134
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-DvZOsoQs.js";
|
|
135
135
|
import "./logging-BzzwiKjv.js";
|
|
136
136
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-rw7wJwHd.js";
|
|
137
137
|
import "./doctor-config-flow-QnaBd8kL.js";
|
|
138
138
|
import "./systemd-linger-aQ75ZlXY.js";
|
|
139
139
|
import "./health-format-DSwnXZPU.js";
|
|
140
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
141
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
140
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DUXeA9Zp.js";
|
|
141
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-SEerte2S.js";
|
|
142
142
|
import os from "node:os";
|
|
143
143
|
import path from "node:path";
|
|
144
144
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
|
|
3
|
-
import { Ct as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { Ct as trimLogTail } from "./subagent-registry-J2pIBQF7.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BseSWee1.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-ZdimP1aU.js";
|
|
6
6
|
import os from "node:os";
|