glimmervoid 0.52.3-next.791 → 0.52.3-next.793
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/bin/glimmervoid.js +31 -32
- package/dist/chunks/{adapters-D5FcI6Rr.js → adapters-3aBMK4wT.js} +1 -1
- package/dist/chunks/{adapters-Dsw_huKm.js → adapters-DpUJmI5V.js} +50 -80
- package/dist/chunks/{agent-api-cli-CC46qmrg.js → agent-api-cli-BzQy_Mw3.js} +6 -7
- package/dist/chunks/agent-api-cli-DLpVBA_u.js +1 -0
- package/dist/chunks/{agent-api-core-DFyqakd0.js → agent-api-core-CJ7PMtW_.js} +10 -16
- package/dist/chunks/{agent-config-DDpOIcFv.js → agent-config-BJVJpVzX.js} +2 -4
- package/dist/chunks/{agent-home-yAfruv5p.js → agent-home-ChKz9VTO.js} +6 -8
- package/dist/chunks/agent-home-core-DyV-ztgG.js +1 -0
- package/dist/chunks/{agent-home-core-tyGRck9T.js → agent-home-core-fVTGZwNk.js} +5 -7
- package/dist/chunks/agent-home-o7oujAzH.js +1 -0
- package/dist/chunks/{agent-setup-cli-DZ4jVik8.js → agent-setup-cli-Di2beVi0.js} +4 -5
- package/dist/chunks/{ascii-figure-core-pDAwtlKO.js → ascii-figure-core-BegIbndz.js} +1 -2
- package/dist/chunks/{canonical-paths-M4JscBu0.js → canonical-paths-tdQPG3Kv.js} +3 -5
- package/dist/chunks/child-process-safe-CInOavgt.js +1 -0
- package/dist/chunks/{child-process-safe-BIh8yQ0I.js → child-process-safe-NR7PjPcL.js} +1 -2
- package/dist/chunks/{coerce-oz_Z_6E7.js → coerce-D6vRlIGO.js} +1 -2
- package/dist/chunks/{config-GbaMnI3o.js → config-BQ2bJTIM.js} +8 -12
- package/dist/chunks/{config-path-core-DUWk0Lui.js → config-path-core-qUZH9-0F.js} +1 -2
- package/dist/chunks/{config-store-a60K0_yO.js → config-store-CNPYF3U9.js} +29 -47
- package/dist/chunks/config-store-DGAcP8mv.js +1 -0
- package/dist/chunks/{control-messages-CmGIgD1F.js → control-messages-DgHO4e4v.js} +34 -65
- package/dist/chunks/{git-version-BfOQqktJ.js → git-version-Bs9G8R8w.js} +4 -7
- package/dist/chunks/{grok-Bx4vmrsX.js → grok-BG58kdsX.js} +8 -11
- package/dist/chunks/{hook-command-core-qTNK-xMF.js → hook-command-core-Bu5xBKp3.js} +1 -2
- package/dist/chunks/{hook-relay-core-KYIjwQJ1.js → hook-relay-core-D1qPnjzZ.js} +3 -4
- package/dist/chunks/{hook-tools-D50rqYvj.js → hook-tools-CytPV0RW.js} +3 -4
- package/dist/chunks/{host-cli-CiXkqZQR.js → host-cli-By2imzDS.js} +6 -7
- package/dist/chunks/{host-registry-core-DGdFMhMv.js → host-registry-core-CiWEqQfw.js} +2 -3
- package/dist/chunks/{json-core-If8h-Qgy.js → json-core-B1ov-SNz.js} +2 -3
- package/dist/chunks/{json-file-AKRVPqG1.js → json-file-DZEFaNmG.js} +5 -9
- package/dist/chunks/kimi-CtWRVkkd.js +1 -0
- package/dist/chunks/{kimi-CZYj8l2u.js → kimi-nZF3bmRw.js} +11 -13
- package/dist/chunks/{loopback-hosts-BIjqrr_m.js → loopback-hosts-CpQsUSmU.js} +1 -2
- package/dist/chunks/{loopback-post-FC3p1Hzd.js → loopback-post-CK7eh6L4.js} +3 -4
- package/dist/chunks/{main-DuHooVmt.js → main-CKDK69xW.js} +422 -763
- package/dist/chunks/{node-pty-preflight-DbfWP9Rc.js → node-pty-preflight-aMGT1olt.js} +4 -7
- package/dist/chunks/{pack-agent-C501y61g.js → pack-agent-Dacp4l3u.js} +12 -18
- package/dist/chunks/{pack-bridge-DHfmGgZn.js → pack-bridge-bjtMo2Xl.js} +3 -5
- package/dist/chunks/{pack-files-BYY_qak9.js → pack-files-D1H0aR0-.js} +7 -9
- package/dist/chunks/{packs-cli-CIyv9YxD.js → packs-cli-i-oO1iB3.js} +12 -15
- package/dist/chunks/{pair-cli-DIjKKdvW.js → pair-cli-CnBXGCAw.js} +6 -8
- package/dist/chunks/{path-doctor-C23VAqeu.js → path-doctor-CHyvHUpg.js} +1 -2
- package/dist/chunks/{paths-Bu4eH1Yd.js → paths-C2u2R_6l.js} +1 -2
- package/dist/chunks/{posthog-read-gate-core-CeSY56AB.js → posthog-read-gate-core-D_5rXRpS.js} +2 -3
- package/dist/chunks/{pr-flows-cli-Cg8m-5fv.js → pr-flows-cli-CBlxY9bT.js} +11 -12
- package/dist/chunks/{pr-flows-core-CIa1PQck.js → pr-flows-core-HUEOOz5S.js} +2 -3
- package/dist/chunks/{pr-flows-external-Bdzo7NkM.js → pr-flows-external-BYDHakZY.js} +6 -7
- package/dist/chunks/{question-manager-DC7Vhfzr.js → question-manager-CH8e-5Hu.js} +1 -2
- package/dist/chunks/{refocus-core-AYtZWBvI.js → refocus-core-Pcup2Wzo.js} +3 -5
- package/dist/chunks/{relay-stdin-CpHvLu6M.js → relay-stdin-np5PwCgh.js} +1 -2
- package/dist/chunks/{remote-config-CthzGmry.js → remote-config-BaJPn1dY.js} +12 -15
- package/dist/chunks/runtime-paths-DQdrF6Gy.js +1 -0
- package/dist/chunks/{runtime-paths-BYZiXmTG.js → runtime-paths-YS6tWGDa.js} +3 -5
- package/dist/chunks/{sane-yolo-YyMaZ6jg.js → sane-yolo-BJM6ju1w.js} +2 -3
- package/dist/chunks/{session-BwPIUvK_.js → session-C1sbbzQ6.js} +8 -16
- package/dist/chunks/settings-cli-BrMhXW72.js +1 -0
- package/dist/chunks/{settings-cli-B21hSQqK.js → settings-cli-SqRNU8gh.js} +10 -11
- package/dist/chunks/{settings-readout-core-C_776JPb.js → settings-readout-core-DW3Ncntg.js} +4 -5
- package/dist/chunks/{spawn-env-g_JSAkZ1.js → spawn-env-BZL21Njm.js} +5 -6
- package/dist/chunks/{ssh-sign-cli-DWLV5eaF.js → ssh-sign-cli-CJ1N7BdM.js} +7 -8
- package/dist/chunks/{ssh-signing-core-BbhBpAhR.js → ssh-signing-core-C7Dohjcn.js} +1 -2
- package/dist/chunks/{text-DoirglWV.js → text-B-FVrk4J.js} +1 -2
- package/dist/chunks/{watch-cli-Ci8s6-xQ.js → watch-cli-Ba8cWY2x.js} +12 -19
- package/dist/chunks/{watchee-settings-DIph3BdR.js → watchee-settings-DW8Di7RE.js} +37 -62
- package/dist/chunks/{whiteboard-svg-core-g-_viBoa.js → whiteboard-svg-core-DKBqwx5J.js} +8 -15
- package/dist/client/assets/{action-status-B4tRfQXC.js → action-status-BCKgOMhA.js} +1 -1
- package/dist/client/assets/action-status-BCKgOMhA.js.br +0 -0
- package/dist/client/assets/{agent-mark-B8RcRpmb.js → agent-mark-DYw7JrE-.js} +1 -1
- package/dist/client/assets/agent-mark-DYw7JrE-.js.br +0 -0
- package/dist/client/assets/arena-panel-DfbM3ACE.js +2 -0
- package/dist/client/assets/arena-panel-DfbM3ACE.js.br +0 -0
- package/dist/client/assets/benchmark-panel-DwxS8s2B.js +1 -0
- package/dist/client/assets/benchmark-panel-DwxS8s2B.js.br +0 -0
- package/dist/client/assets/boards-view-Br7Zyp4b.js +1 -0
- package/dist/client/assets/boards-view-Br7Zyp4b.js.br +0 -0
- package/dist/client/assets/{button-C4FD-Rv9.js → button-BcfVYIp6.js} +1 -1
- package/dist/client/assets/button-BcfVYIp6.js.br +0 -0
- package/dist/client/assets/{card-actions-DCleO4YY.js → card-actions-ivgmCTq-.js} +1 -1
- package/dist/client/assets/{card-registry-C-OBzezN.js → card-registry-BzyjmyTm.js} +1 -1
- package/dist/client/assets/card-registry-BzyjmyTm.js.br +0 -0
- package/dist/client/assets/{celebration-player-ehnD9hul.js → celebration-player-B6AZVXkR.js} +1 -1
- package/dist/client/assets/celebration-player-B6AZVXkR.js.br +0 -0
- package/dist/client/assets/community-panel-D0e74ffM.js +1 -0
- package/dist/client/assets/community-panel-D0e74ffM.js.br +0 -0
- package/dist/client/assets/{control-ws--S8-sa1z.js → control-ws-CpIHsaUc.js} +1 -1
- package/dist/client/assets/control-ws-CpIHsaUc.js.br +0 -0
- package/dist/client/assets/dialogs-C-MXKGzx.js +66 -0
- package/dist/client/assets/dialogs-C-MXKGzx.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-BORsbCph.js → doc-editor-ui-DWx9C0kn.js} +3 -3
- package/dist/client/assets/doc-editor-ui-DWx9C0kn.js.br +0 -0
- package/dist/client/assets/feature-hint-BSA1b-Ti.js +1 -0
- package/dist/client/assets/feature-hint-BSA1b-Ti.js.br +0 -0
- package/dist/client/assets/first-run-checklist-Cm0O9Yc3.js +1 -0
- package/dist/client/assets/first-run-checklist-Cm0O9Yc3.js.br +0 -0
- package/dist/client/assets/{flying-animal-preview-Drw09nI7.js → flying-animal-preview-BdBQlwXk.js} +1 -1
- package/dist/client/assets/hooks-panel-ISWq0X5m.js +1 -0
- package/dist/client/assets/hooks-panel-ISWq0X5m.js.br +0 -0
- package/dist/client/assets/index-BeseZ3f1.js +75 -0
- package/dist/client/assets/index-BeseZ3f1.js.br +0 -0
- package/dist/client/assets/issues-panel-BAF3SlBC.js +1 -0
- package/dist/client/assets/issues-panel-BAF3SlBC.js.br +0 -0
- package/dist/client/assets/{lane-read-token-step-BaWk7bMs.js → lane-read-token-step-CvjRsB19.js} +1 -1
- package/dist/client/assets/lane-read-token-step-CvjRsB19.js.br +0 -0
- package/dist/client/assets/layout-worker-CMKAnbss.js +113 -0
- package/dist/client/assets/layout-worker-CMKAnbss.js.br +0 -0
- package/dist/client/assets/{menu-B4lACulU.js → menu-DD9yBCoO.js} +1 -1
- package/dist/client/assets/menu-DD9yBCoO.js.br +0 -0
- package/dist/client/assets/modal-DwDUEnhq.js +1 -0
- package/dist/client/assets/modal-DwDUEnhq.js.br +0 -0
- package/dist/client/assets/my-prs-panel-DU6qumq0.js +1 -0
- package/dist/client/assets/my-prs-panel-DU6qumq0.js.br +0 -0
- package/dist/client/assets/{nyan-cat-eF7Z6T2M.js → nyan-cat-DKgRpKoT.js} +1 -1
- package/dist/client/assets/nyan-cat-DKgRpKoT.js.br +0 -0
- package/dist/client/assets/phone-shell-d0itZPmJ.js +1 -0
- package/dist/client/assets/phone-shell-d0itZPmJ.js.br +0 -0
- package/dist/client/assets/plan-face--UkUaY6A.js +3 -0
- package/dist/client/assets/plan-face--UkUaY6A.js.br +0 -0
- package/dist/client/assets/{plan-render-CK6PJtl_.js → plan-render-B5_4BZzV.js} +1 -1
- package/dist/client/assets/plan-render-B5_4BZzV.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CmaikV7C.js +1 -0
- package/dist/client/assets/pr-queue-columns-CmaikV7C.js.br +0 -0
- package/dist/client/assets/{pr-status-icon-ChorTwDD.js → pr-status-icon-73NkEPFt.js} +1 -1
- package/dist/client/assets/pr-status-icon-73NkEPFt.js.br +0 -0
- package/dist/client/assets/radar-panel-DzeUhTB4.js +1 -0
- package/dist/client/assets/radar-panel-DzeUhTB4.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-CwgqwMF3.js +1 -0
- package/dist/client/assets/repo-roots-adder-CwgqwMF3.js.br +0 -0
- package/dist/client/assets/{resume-dialog-D6RdBd1n.js → resume-dialog-Ba_WxFVt.js} +1 -1
- package/dist/client/assets/resume-dialog-Ba_WxFVt.js.br +0 -0
- package/dist/client/assets/review-queue-panel-Dqecpu_I.js +1 -0
- package/dist/client/assets/review-queue-panel-Dqecpu_I.js.br +0 -0
- package/dist/client/assets/session-actions-CkPwNAXy.js +2 -0
- package/dist/client/assets/session-actions-CkPwNAXy.js.br +0 -0
- package/dist/client/assets/session-row-DR17e_nw.js +2 -0
- package/dist/client/assets/session-row-DR17e_nw.js.br +0 -0
- package/dist/client/assets/session-tick-D5VH29QC.js +1 -0
- package/dist/client/assets/session-tick-D5VH29QC.js.br +0 -0
- package/dist/client/assets/settings-panel-LAQlgXZu.js +4 -0
- package/dist/client/assets/settings-panel-LAQlgXZu.js.br +0 -0
- package/dist/client/assets/setup-step-6eHS-Xoo.js +1 -0
- package/dist/client/assets/setup-step-6eHS-Xoo.js.br +0 -0
- package/dist/client/assets/{team-review-settings-core-BHv0yl1m.js → team-review-settings-core-OGemYR3b.js} +1 -1
- package/dist/client/assets/team-review-settings-core-OGemYR3b.js.br +0 -0
- package/dist/client/assets/trace-panel-CyPq0Wz0.js +2 -0
- package/dist/client/assets/trace-panel-CyPq0Wz0.js.br +0 -0
- package/dist/client/assets/{ui-prefs-DFLhxgew.js → ui-prefs-ZaJh9NjT.js} +1 -1
- package/dist/client/assets/ui-prefs-ZaJh9NjT.js.br +0 -0
- package/dist/client/assets/usage-panel-BgUsi4jj.js +1 -0
- package/dist/client/assets/usage-panel-BgUsi4jj.js.br +0 -0
- package/dist/client/assets/{xterm-CdMfg81L.js → xterm-CJsd_Jt0.js} +4 -4
- package/dist/client/assets/xterm-CJsd_Jt0.js.br +0 -0
- package/dist/client/assets/your-day-tip-CjSohQx7.js +1 -0
- package/dist/client/assets/your-day-tip-CjSohQx7.js.br +0 -0
- package/dist/client/assets/{zod-_N0uRWDY.js → zod-CioPbz_P.js} +4 -4
- package/dist/client/assets/zod-CioPbz_P.js.br +0 -0
- package/dist/client/index.html +17 -17
- package/dist/client/index.html.br +0 -0
- package/dist/scripts/postinstall-path-check.js +2 -3
- package/dist/server/index.js +7 -10
- package/dist/session/command-hook-relay.js +4 -5
- package/dist/session/hook-relay.js +5 -6
- package/dist/session/hook-tool-relay.js +4 -5
- package/dist/session/posthog-read-gate.js +2 -3
- package/dist/session/statusline-relay.js +6 -7
- package/package.json +8 -8
- package/dist/chunks/agent-api-cli-DgI1r9YZ.js +0 -1
- package/dist/chunks/agent-home-core-DMZwzbO5.js +0 -1
- package/dist/chunks/agent-home-eLYBCB-p.js +0 -1
- package/dist/chunks/child-process-safe-D5RpuuyW.js +0 -1
- package/dist/chunks/config-store-DruS1l2Z.js +0 -1
- package/dist/chunks/kimi-yis7LDAU.js +0 -1
- package/dist/chunks/runtime-paths-XGSqTac1.js +0 -1
- package/dist/chunks/settings-cli-CtgUN3q0.js +0 -1
- package/dist/client/assets/action-status-B4tRfQXC.js.br +0 -0
- package/dist/client/assets/agent-mark-B8RcRpmb.js.br +0 -0
- package/dist/client/assets/arena-panel-CGlnDFiM.js +0 -2
- package/dist/client/assets/arena-panel-CGlnDFiM.js.br +0 -0
- package/dist/client/assets/benchmark-panel-zcvjh9Sn.js +0 -1
- package/dist/client/assets/benchmark-panel-zcvjh9Sn.js.br +0 -0
- package/dist/client/assets/boards-view-aFP7k9Zy.js +0 -1
- package/dist/client/assets/boards-view-aFP7k9Zy.js.br +0 -0
- package/dist/client/assets/button-C4FD-Rv9.js.br +0 -0
- package/dist/client/assets/card-registry-C-OBzezN.js.br +0 -0
- package/dist/client/assets/celebration-player-ehnD9hul.js.br +0 -0
- package/dist/client/assets/community-panel-CF9IPe82.js +0 -1
- package/dist/client/assets/community-panel-CF9IPe82.js.br +0 -0
- package/dist/client/assets/control-ws--S8-sa1z.js.br +0 -0
- package/dist/client/assets/dialogs-BR_ZeL4I.js +0 -66
- package/dist/client/assets/dialogs-BR_ZeL4I.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-BORsbCph.js.br +0 -0
- package/dist/client/assets/feature-hint-B3Z2qeJj.js +0 -1
- package/dist/client/assets/feature-hint-B3Z2qeJj.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B7imglfv.js +0 -1
- package/dist/client/assets/first-run-checklist-B7imglfv.js.br +0 -0
- package/dist/client/assets/hooks-panel-C2-5kAU6.js +0 -1
- package/dist/client/assets/hooks-panel-C2-5kAU6.js.br +0 -0
- package/dist/client/assets/index-CXXT5nOK.js +0 -75
- package/dist/client/assets/index-CXXT5nOK.js.br +0 -0
- package/dist/client/assets/issues-panel-DVgW9E6B.js +0 -1
- package/dist/client/assets/issues-panel-DVgW9E6B.js.br +0 -0
- package/dist/client/assets/lane-read-token-step-BaWk7bMs.js.br +0 -0
- package/dist/client/assets/layout-worker-CQ7qS2H2.js +0 -111
- package/dist/client/assets/layout-worker-CQ7qS2H2.js.br +0 -0
- package/dist/client/assets/menu-B4lACulU.js.br +0 -0
- package/dist/client/assets/modal-tac_48FC.js +0 -1
- package/dist/client/assets/modal-tac_48FC.js.br +0 -0
- package/dist/client/assets/my-prs-panel-CPr8kO59.js +0 -1
- package/dist/client/assets/my-prs-panel-CPr8kO59.js.br +0 -0
- package/dist/client/assets/nyan-cat-eF7Z6T2M.js.br +0 -0
- package/dist/client/assets/phone-shell-CcrKja8N.js +0 -1
- package/dist/client/assets/phone-shell-CcrKja8N.js.br +0 -0
- package/dist/client/assets/plan-face-D4O4Yx7w.js +0 -3
- package/dist/client/assets/plan-face-D4O4Yx7w.js.br +0 -0
- package/dist/client/assets/plan-render-CK6PJtl_.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-BNlHzbHN.js +0 -1
- package/dist/client/assets/pr-queue-columns-BNlHzbHN.js.br +0 -0
- package/dist/client/assets/pr-status-icon-ChorTwDD.js.br +0 -0
- package/dist/client/assets/radar-panel-BPZt-qVe.js +0 -1
- package/dist/client/assets/radar-panel-BPZt-qVe.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-B0ADLye5.js +0 -1
- package/dist/client/assets/repo-roots-adder-B0ADLye5.js.br +0 -0
- package/dist/client/assets/resume-dialog-D6RdBd1n.js.br +0 -0
- package/dist/client/assets/review-queue-panel-BDjj5lmI.js +0 -1
- package/dist/client/assets/review-queue-panel-BDjj5lmI.js.br +0 -0
- package/dist/client/assets/session-actions-CDNl6XQN.js +0 -2
- package/dist/client/assets/session-actions-CDNl6XQN.js.br +0 -0
- package/dist/client/assets/session-row-Q9yVhwZ5.js +0 -2
- package/dist/client/assets/session-row-Q9yVhwZ5.js.br +0 -0
- package/dist/client/assets/session-tick-COhS2hnV.js +0 -1
- package/dist/client/assets/session-tick-COhS2hnV.js.br +0 -0
- package/dist/client/assets/settings-panel-RPNUZkSt.js +0 -4
- package/dist/client/assets/settings-panel-RPNUZkSt.js.br +0 -0
- package/dist/client/assets/setup-step-CuPAf1M6.js +0 -1
- package/dist/client/assets/setup-step-CuPAf1M6.js.br +0 -0
- package/dist/client/assets/team-review-settings-core-BHv0yl1m.js.br +0 -0
- package/dist/client/assets/trace-panel-rXosusTV.js +0 -2
- package/dist/client/assets/trace-panel-rXosusTV.js.br +0 -0
- package/dist/client/assets/ui-prefs-DFLhxgew.js.br +0 -0
- package/dist/client/assets/usage-panel-D6gwvOKy.js +0 -1
- package/dist/client/assets/usage-panel-D6gwvOKy.js.br +0 -0
- package/dist/client/assets/xterm-CdMfg81L.js.br +0 -0
- package/dist/client/assets/your-day-tip-B55tO-2h.js +0 -1
- package/dist/client/assets/your-day-tip-B55tO-2h.js.br +0 -0
- package/dist/client/assets/zod-_N0uRWDY.js.br +0 -0
package/dist/bin/glimmervoid.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-
|
|
2
|
+
import { t as AGENT_API_VERBS } from "../chunks/session-C1sbbzQ6.js";
|
|
3
|
+
import { a as execSync } from "../chunks/child-process-safe-NR7PjPcL.js";
|
|
4
|
+
import { at as parseCommand, it as isOwnedCommandName, r as agentCommandHelpLines, rt as OWNED_COMMAND_SPECS } from "../chunks/agent-api-core-CJ7PMtW_.js";
|
|
5
|
+
import { t as renderTable } from "../chunks/ascii-figure-core-BegIbndz.js";
|
|
6
|
+
import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-qUZH9-0F.js";
|
|
7
|
+
import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-Bs9G8R8w.js";
|
|
8
|
+
import { r as firstLine, s as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-aMGT1olt.js";
|
|
9
|
+
import { i as errorText } from "../chunks/text-B-FVrk4J.js";
|
|
10
|
+
import { o as packageRoot } from "../chunks/runtime-paths-YS6tWGDa.js";
|
|
11
|
+
import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-CHyvHUpg.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import os from "node:os";
|
|
15
|
-
|
|
15
|
+
// bin/glimmervoid.ts
|
|
16
16
|
var args = process.argv.slice(2);
|
|
17
17
|
var pkg = JSON.parse(fs.readFileSync(path.join(packageRoot, "package.json"), "utf8"));
|
|
18
18
|
var USAGE = `Usage: glimmervoid [command] [options]
|
|
@@ -66,7 +66,7 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
66
66
|
return await runDoctor() ? 0 : 1;
|
|
67
67
|
},
|
|
68
68
|
pair: async ({ values }) => {
|
|
69
|
-
const { runPairCli } = await import("../chunks/pair-cli-
|
|
69
|
+
const { runPairCli } = await import("../chunks/pair-cli-CnBXGCAw.js");
|
|
70
70
|
return runPairCli({
|
|
71
71
|
isListing: values.list === true,
|
|
72
72
|
revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
|
|
@@ -74,38 +74,38 @@ var OWNED_COMMAND_RUNNERS = {
|
|
|
74
74
|
});
|
|
75
75
|
},
|
|
76
76
|
agent: async () => {
|
|
77
|
-
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-
|
|
77
|
+
const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-Di2beVi0.js");
|
|
78
78
|
return runAgentSetupCli();
|
|
79
79
|
},
|
|
80
80
|
settings: async (parsed) => {
|
|
81
|
-
const { runParsedSettingsCli } = await import("../chunks/settings-cli-
|
|
81
|
+
const { runParsedSettingsCli } = await import("../chunks/settings-cli-BrMhXW72.js");
|
|
82
82
|
return runParsedSettingsCli(parsed);
|
|
83
83
|
},
|
|
84
84
|
host: async (parsed) => {
|
|
85
|
-
const { runHostCli } = await import("../chunks/host-cli-
|
|
85
|
+
const { runHostCli } = await import("../chunks/host-cli-By2imzDS.js");
|
|
86
86
|
return runHostCli(parsed);
|
|
87
87
|
},
|
|
88
88
|
"pr-flows": async (parsed) => {
|
|
89
|
-
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-
|
|
89
|
+
const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-CBlxY9bT.js");
|
|
90
90
|
return runPrFlowsCheckCli(parsed);
|
|
91
91
|
},
|
|
92
92
|
packs: async (parsed) => {
|
|
93
|
-
const { runPacksCli } = await import("../chunks/packs-cli-
|
|
93
|
+
const { runPacksCli } = await import("../chunks/packs-cli-i-oO1iB3.js");
|
|
94
94
|
return runPacksCli(parsed);
|
|
95
95
|
},
|
|
96
96
|
"pr-action": async (parsed) => {
|
|
97
|
-
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-
|
|
97
|
+
const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-CBlxY9bT.js");
|
|
98
98
|
return runPrActionReportCli(parsed);
|
|
99
99
|
},
|
|
100
100
|
watch: async ({ values }) => {
|
|
101
|
-
const { runWatchCli } = await import("../chunks/watch-cli-
|
|
101
|
+
const { runWatchCli } = await import("../chunks/watch-cli-Ba8cWY2x.js");
|
|
102
102
|
return runWatchCli({
|
|
103
103
|
inboxUrl: typeof values.inbox === "string" ? values.inbox : null,
|
|
104
104
|
isPingOnly: values.ping === true
|
|
105
105
|
});
|
|
106
106
|
},
|
|
107
107
|
"ssh-sign": async ({ rawArgs }) => {
|
|
108
|
-
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-
|
|
108
|
+
const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CJ1N7BdM.js");
|
|
109
109
|
return runSshSignCli(rawArgs);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
@@ -127,7 +127,7 @@ async function runOwnedCommand(name, subcommandArgs) {
|
|
|
127
127
|
return OWNED_COMMAND_RUNNERS[name](parsed);
|
|
128
128
|
}
|
|
129
129
|
var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
|
|
130
|
-
const { runAgentApiCli } = await import("../chunks/agent-api-cli-
|
|
130
|
+
const { runAgentApiCli } = await import("../chunks/agent-api-cli-DLpVBA_u.js");
|
|
131
131
|
return runAgentApiCli([subcommandName, ...subcommandArgs]);
|
|
132
132
|
}])]);
|
|
133
133
|
var AGENT_INSTALL_COMMAND_BY_ID = {
|
|
@@ -141,7 +141,7 @@ function missingAgentText(agentId) {
|
|
|
141
141
|
}
|
|
142
142
|
async function printSessionLimits() {
|
|
143
143
|
if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
|
|
144
|
-
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-
|
|
144
|
+
const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-DLpVBA_u.js");
|
|
145
145
|
const limitsLines = await sessionLimitsHelpLines();
|
|
146
146
|
console.log(`\n${limitsLines.join("\n")}`);
|
|
147
147
|
}
|
|
@@ -198,7 +198,7 @@ async function readDeclaredCustomAgents() {
|
|
|
198
198
|
declared: [],
|
|
199
199
|
error: null
|
|
200
200
|
};
|
|
201
|
-
const { loadConfigFile } = await import("../chunks/config-store-
|
|
201
|
+
const { loadConfigFile } = await import("../chunks/config-store-DGAcP8mv.js");
|
|
202
202
|
try {
|
|
203
203
|
const loaded = loadConfigFile(decided.path, { exitOnError: false });
|
|
204
204
|
if (!loaded.config) return {
|
|
@@ -274,7 +274,7 @@ async function runDoctor() {
|
|
|
274
274
|
}
|
|
275
275
|
switchSection("Agents");
|
|
276
276
|
try {
|
|
277
|
-
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-
|
|
277
|
+
const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-3aBMK4wT.js");
|
|
278
278
|
const declaredCustomAgents = await readDeclaredCustomAgents();
|
|
279
279
|
if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
|
|
280
280
|
setCustomAgents(declaredCustomAgents.declared);
|
|
@@ -282,21 +282,21 @@ async function runDoctor() {
|
|
|
282
282
|
const { label, path: resolvedPath } = describeAgentResolvability(id);
|
|
283
283
|
line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
|
|
284
284
|
}
|
|
285
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
285
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-Di2beVi0.js");
|
|
286
286
|
const grokSetup = inspectGrokAgentSetup();
|
|
287
287
|
line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
|
|
288
|
-
const { default: kimi } = await import("../chunks/kimi-
|
|
289
|
-
const { describeAgentHome } = await import("../chunks/agent-home-
|
|
290
|
-
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-
|
|
288
|
+
const { default: kimi } = await import("../chunks/kimi-CtWRVkkd.js");
|
|
289
|
+
const { describeAgentHome } = await import("../chunks/agent-home-o7oujAzH.js");
|
|
290
|
+
const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-DyV-ztgG.js");
|
|
291
291
|
line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
|
|
292
292
|
} catch (err) {
|
|
293
293
|
line("agents", `probe failed: ${firstLine(errorText(err))}`);
|
|
294
294
|
}
|
|
295
295
|
switchSection("Sane YOLO");
|
|
296
296
|
try {
|
|
297
|
-
const { resolvePackageBin } = await import("../chunks/runtime-paths-
|
|
298
|
-
const { execFileSync } = await import("../chunks/child-process-safe-
|
|
299
|
-
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-
|
|
297
|
+
const { resolvePackageBin } = await import("../chunks/runtime-paths-DQdrF6Gy.js");
|
|
298
|
+
const { execFileSync } = await import("../chunks/child-process-safe-CInOavgt.js");
|
|
299
|
+
const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-Di2beVi0.js");
|
|
300
300
|
const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
|
|
301
301
|
line("Sane YOLO", binPath || "not installed");
|
|
302
302
|
if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
|
|
@@ -346,5 +346,4 @@ function resolveNpmGlobalPrefix(exec) {
|
|
|
346
346
|
}
|
|
347
347
|
return null;
|
|
348
348
|
}
|
|
349
|
-
//#endregion
|
|
350
349
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as describeAgentResolvability, d as listAgentIds, h as setCustomAgents } from "./adapters-
|
|
1
|
+
export { o as describeAgentResolvability, d as listAgentIds, h as setCustomAgents } from "./adapters-DpUJmI5V.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { o as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { n as
|
|
19
|
-
import {
|
|
20
|
-
import { c as
|
|
1
|
+
import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-nZF3bmRw.js";
|
|
2
|
+
import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BG58kdsX.js";
|
|
3
|
+
import { n as buildAgentEnv } from "./spawn-env-BZL21Njm.js";
|
|
4
|
+
import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-NR7PjPcL.js";
|
|
5
|
+
import { a as isMissingFileError, r as errorMessage, t as errorCode } from "./text-B-FVrk4J.js";
|
|
6
|
+
import { O as nextBackoffMs, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, p as writeTextAtomicSync, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-DZEFaNmG.js";
|
|
7
|
+
import { b as compareReleaseVersions, o as glimmervoidHomeDir, x as isExperimentalBuild } from "./config-store-CNPYF3U9.js";
|
|
8
|
+
import { C as CONVERSATION_TOOL_RESULT_HOOK_EVENT, E as REQUEST_USER_INPUT_TOOL_NAME, Kn as shortSha$1, S as CONVERSATION_PERMISSION_HOOK_EVENT, Wn as FULL_SHA_RE, i as ASK_USER_QUESTION_TOOL_NAME } from "./session-C1sbbzQ6.js";
|
|
9
|
+
import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-D6vRlIGO.js";
|
|
10
|
+
import { s as relayPath } from "./runtime-paths-YS6tWGDa.js";
|
|
11
|
+
import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
|
|
12
|
+
import { n as isHookToolId, r as mergeCodexPreToolUse, t as HOOK_TOOLS } from "./hook-tools-CytPV0RW.js";
|
|
13
|
+
import { en as InstallFlavor, fn as PLAN_RESULT_HOOK_EVENT, pn as PLAN_TOOL_NAME, sn as UpdateChannel, un as PLAN_HOOK_EVENT, zt as HTTP_URL_RE } from "./control-messages-DgHO4e4v.js";
|
|
14
|
+
import { o as QUESTION_TOOL_HOLD_HOOK_EVENT } from "./question-manager-CH8e-5Hu.js";
|
|
15
|
+
import { i as safePathSegment, r as isPathInside } from "./paths-C2u2R_6l.js";
|
|
16
|
+
import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
|
|
17
|
+
import { S as cleanJsonc, _ as renderCodexHookTables, c as CODEX_HOME_PROFILE, f as QWEN_HOME_PROFILE, l as COPILOT_HOME_PROFILE, p as doesProjectConfigTurnHooksOff, t as AGENT_HOME_CONFIG_NAME, u as GEMINI_HOME_PROFILE, v as renderCodexHooksBlock, x as tomlBasicString } from "./agent-home-core-fVTGZwNk.js";
|
|
18
|
+
import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, r as GEMINI_SANE_YOLO_FLAVOR, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-BJM6ju1w.js";
|
|
19
|
+
import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-ChKz9VTO.js";
|
|
20
|
+
import { c as SHELL_AGENT_ID } from "./config-BQ2bJTIM.js";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import os from "node:os";
|
|
24
24
|
import { z } from "zod";
|
|
25
25
|
import crypto from "node:crypto";
|
|
26
26
|
import fs$1, { mkdir, mkdtemp, readdir, realpath, rm } from "node:fs/promises";
|
|
27
|
-
|
|
27
|
+
// session/core/claude-trust-core.ts
|
|
28
28
|
var CLAUDE_CONFIG_LOCK_SUFFIX = ".lock";
|
|
29
29
|
var CLAUDE_CONFIG_LOCK_STALE_MS = 1e4;
|
|
30
30
|
var CLAUDE_CONFIG_LOCK_RETRY_DELAYS_MS = Object.freeze([
|
|
@@ -94,8 +94,7 @@ function decideFolderTrust(configText, repositoryRoot, platform) {
|
|
|
94
94
|
nextConfigText: configText.endsWith("\n") ? `${nextConfigText}\n` : nextConfigText
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
//#region server/core/claude-config-paths-core.ts
|
|
97
|
+
// server/core/claude-config-paths-core.ts
|
|
99
98
|
var CLAUDE_GLOBAL_CONFIG_FILE_NAME = ".claude.json";
|
|
100
99
|
var CLAUDE_LEGACY_CONFIG_FILE_NAME = ".config.json";
|
|
101
100
|
function listClaudeGlobalConfigPathCandidates(env, homeDir) {
|
|
@@ -103,8 +102,7 @@ function listClaudeGlobalConfigPathCandidates(env, homeDir) {
|
|
|
103
102
|
const legacyConfigHome = (configuredDir || path.join(homeDir, ".claude")).normalize("NFC");
|
|
104
103
|
return [path.join(legacyConfigHome, CLAUDE_LEGACY_CONFIG_FILE_NAME), path.join(configuredDir || homeDir, CLAUDE_GLOBAL_CONFIG_FILE_NAME)];
|
|
105
104
|
}
|
|
106
|
-
|
|
107
|
-
//#region session/adapters/claude-trust.ts
|
|
105
|
+
// session/adapters/claude-trust.ts
|
|
108
106
|
function sleepFor(durationMs) {
|
|
109
107
|
return new Promise((resolve) => {
|
|
110
108
|
setTimeout(resolve, durationMs);
|
|
@@ -161,8 +159,7 @@ function createClaudeFolderTrust({ env = process.env, homeDir = os.homedir(), no
|
|
|
161
159
|
}
|
|
162
160
|
return { ensureTrusted };
|
|
163
161
|
}
|
|
164
|
-
|
|
165
|
-
//#region server/removal-journal.ts
|
|
162
|
+
// server/removal-journal.ts
|
|
166
163
|
function removalsJournalPath(glimmervoidHome) {
|
|
167
164
|
return path.join(glimmervoidHome, "logs", "removals.jsonl");
|
|
168
165
|
}
|
|
@@ -195,8 +192,7 @@ async function recordSweptPath({ cause, kind, path: sweptPath, checksPassed, ses
|
|
|
195
192
|
pid: process.pid
|
|
196
193
|
}, log);
|
|
197
194
|
}
|
|
198
|
-
|
|
199
|
-
//#region server/core/host-scratch-core.ts
|
|
195
|
+
// server/core/host-scratch-core.ts
|
|
200
196
|
var HOST_SCRATCH_PREFIXES = [
|
|
201
197
|
"check-",
|
|
202
198
|
"glimmervoid-lane-settings-",
|
|
@@ -209,8 +205,7 @@ function isListedScratchName(folderName, listedPrefixes) {
|
|
|
209
205
|
function decideOrphanedScratchFolders(folderNames, listedPrefixes, folderNamesCreatedByThisProcess) {
|
|
210
206
|
return folderNames.filter((folderName) => isListedScratchName(folderName, listedPrefixes) && !folderNamesCreatedByThisProcess.has(folderName));
|
|
211
207
|
}
|
|
212
|
-
|
|
213
|
-
//#region server/host-scratch.ts
|
|
208
|
+
// server/host-scratch.ts
|
|
214
209
|
var folderNamesCreatedByThisProcess = /* @__PURE__ */ new Set();
|
|
215
210
|
function hostScratchRoot() {
|
|
216
211
|
return path.join(glimmervoidHomeDir(), "scratch");
|
|
@@ -253,8 +248,7 @@ async function sweepOrphanedHostScratch() {
|
|
|
253
248
|
}
|
|
254
249
|
}
|
|
255
250
|
}
|
|
256
|
-
|
|
257
|
-
//#region session/core/user-hooks-core.ts
|
|
251
|
+
// session/core/user-hooks-core.ts
|
|
258
252
|
var MAX_NAME_LENGTH = 64;
|
|
259
253
|
var MAX_MATCHER_LENGTH = 200;
|
|
260
254
|
var MAX_COMMAND_LENGTH = 4e3;
|
|
@@ -656,8 +650,7 @@ function agentHookGroupOf(agentId, label, installed) {
|
|
|
656
650
|
rows
|
|
657
651
|
};
|
|
658
652
|
}
|
|
659
|
-
|
|
660
|
-
//#region detection/settings-injector.ts
|
|
653
|
+
// detection/settings-injector.ts
|
|
661
654
|
var DEFAULT_BASE_DIR = path.join(hostScratchRoot(), "glimmervoid-hooks");
|
|
662
655
|
var PLAN_HOOK_TIMEOUT_SEC = 86400;
|
|
663
656
|
var PLAN_HOLD_RELEASE_MS = 8634e4;
|
|
@@ -933,8 +926,7 @@ function sweepOrphans(baseDir = DEFAULT_BASE_DIR, maxAgeMs = 864e5) {
|
|
|
933
926
|
}
|
|
934
927
|
return removed;
|
|
935
928
|
}
|
|
936
|
-
|
|
937
|
-
//#region session/adapters/claude-code.ts
|
|
929
|
+
// session/adapters/claude-code.ts
|
|
938
930
|
var ID$4 = "claude-code";
|
|
939
931
|
var COMMAND_NAME$4 = "claude";
|
|
940
932
|
var envProfile$6 = {
|
|
@@ -1107,8 +1099,7 @@ var claudeCode = {
|
|
|
1107
1099
|
mapHookPromptKind: mapHookPromptKind$4,
|
|
1108
1100
|
mapHookPromptToolName
|
|
1109
1101
|
};
|
|
1110
|
-
|
|
1111
|
-
//#region server/usage/core/usage-entry-core.ts
|
|
1102
|
+
// server/usage/core/usage-entry-core.ts
|
|
1112
1103
|
var NULL_REJECT_FIELDS = Object.freeze([
|
|
1113
1104
|
["id"],
|
|
1114
1105
|
["cwd"],
|
|
@@ -1397,8 +1388,7 @@ function hasPresentEmptyIdentity(parsed) {
|
|
|
1397
1388
|
function presentEmpty(value) {
|
|
1398
1389
|
return typeof value === "string" && value.trim() === "";
|
|
1399
1390
|
}
|
|
1400
|
-
|
|
1401
|
-
//#region server/usage/core/usage-kimi-core.ts
|
|
1391
|
+
// server/usage/core/usage-kimi-core.ts
|
|
1402
1392
|
var KIMI_USAGE_FILENAME = "wire.jsonl";
|
|
1403
1393
|
var KIMI_SESSION_FOLDER_PATTERN = /^session_[0-9A-Za-z_-]+$/;
|
|
1404
1394
|
function kimiSessionIdFromPath(filePath) {
|
|
@@ -1438,8 +1428,7 @@ function kimiDedupIdentity(entry) {
|
|
|
1438
1428
|
if (!entry) return null;
|
|
1439
1429
|
return `${entry.vendor}:${entry.sessionId}:${entry.messageId}:${entry.model}`;
|
|
1440
1430
|
}
|
|
1441
|
-
|
|
1442
|
-
//#region server/usage/core/usage-scan-core.ts
|
|
1431
|
+
// server/usage/core/usage-scan-core.ts
|
|
1443
1432
|
function scopedClaudeRoots(scopeDirs, claudeDirs) {
|
|
1444
1433
|
if (!scopeDirs || scopeDirs.length === 0) return null;
|
|
1445
1434
|
const isInside = (candidate, parent) => candidate.startsWith(`${parent}${path.sep}`);
|
|
@@ -1634,8 +1623,7 @@ function codexSessionIdFromPath(filePath) {
|
|
|
1634
1623
|
if (match) return match[1];
|
|
1635
1624
|
return base || null;
|
|
1636
1625
|
}
|
|
1637
|
-
|
|
1638
|
-
//#region server/core/trace-tail-core.ts
|
|
1626
|
+
// server/core/trace-tail-core.ts
|
|
1639
1627
|
var MAX_TRANSCRIPT_READ_BYTES = 1048576;
|
|
1640
1628
|
var MAX_PARTIAL_LINE_BYTES = 8388608;
|
|
1641
1629
|
var TRACE_TAIL_SCAN_BYTES = MAX_TRANSCRIPT_READ_BYTES;
|
|
@@ -1742,8 +1730,7 @@ function containmentRefusalReason(error) {
|
|
|
1742
1730
|
function isOversizedPartialLine(carry, { maxPartialLineBytes = MAX_PARTIAL_LINE_BYTES } = {}) {
|
|
1743
1731
|
return (Buffer.isBuffer(carry) ? carry.length : Buffer.byteLength(carry, "utf8")) > Math.max(1, Math.floor(maxPartialLineBytes));
|
|
1744
1732
|
}
|
|
1745
|
-
|
|
1746
|
-
//#region server/core/upload-core.ts
|
|
1733
|
+
// server/core/upload-core.ts
|
|
1747
1734
|
var IMAGE_EXTENSION_BY_MIME = Object.freeze({
|
|
1748
1735
|
"image/png": ".png",
|
|
1749
1736
|
"image/jpeg": ".jpg",
|
|
@@ -1827,8 +1814,7 @@ function imageMimeForUploadFilename(name) {
|
|
|
1827
1814
|
const imageEntry = Object.entries(IMAGE_EXTENSION_BY_MIME).find(([, imageExtension]) => imageExtension === extension);
|
|
1828
1815
|
return imageEntry ? imageEntry[0] : null;
|
|
1829
1816
|
}
|
|
1830
|
-
|
|
1831
|
-
//#region server/contained-file.ts
|
|
1817
|
+
// server/contained-file.ts
|
|
1832
1818
|
async function containedPathForMissingFile(candidate, realRoot) {
|
|
1833
1819
|
const fileName = path.basename(candidate);
|
|
1834
1820
|
if (!isSafePathSegment(fileName)) return {
|
|
@@ -1908,8 +1894,7 @@ async function openContainedFile(candidate, root, allowsMissingFile = false, ope
|
|
|
1908
1894
|
};
|
|
1909
1895
|
}
|
|
1910
1896
|
}
|
|
1911
|
-
|
|
1912
|
-
//#region session/core/codex-plan-rollout-core.ts
|
|
1897
|
+
// session/core/codex-plan-rollout-core.ts
|
|
1913
1898
|
var PROPOSED_PLAN_TAG = "<proposed_plan>";
|
|
1914
1899
|
var PLAN_COLLABORATION_MODE = "plan";
|
|
1915
1900
|
var RELEVANT_LINE_MARKERS = ["\"task_started\"", "\"final_answer\""];
|
|
@@ -1966,11 +1951,9 @@ function turnEndedWithProposedPlan(rolloutLines, turnId) {
|
|
|
1966
1951
|
}
|
|
1967
1952
|
return didTurnRunInPlanMode && finalAnswerText.includes(PROPOSED_PLAN_TAG);
|
|
1968
1953
|
}
|
|
1969
|
-
|
|
1970
|
-
//#region shared/repo.ts
|
|
1954
|
+
// shared/repo.ts
|
|
1971
1955
|
var REPO_SLUG = "johncwaters/glimmervoid";
|
|
1972
|
-
|
|
1973
|
-
//#region server/core/update-core.ts
|
|
1956
|
+
// server/core/update-core.ts
|
|
1974
1957
|
var NPM_PACKAGE_NAME = "glimmervoid";
|
|
1975
1958
|
var NPM_GLOBAL_COMMAND = `npm install -g ${NPM_PACKAGE_NAME}@latest`;
|
|
1976
1959
|
var NODE_PTY_INSTALL_SCRIPT_FLAG = "--allow-scripts=node-pty";
|
|
@@ -2149,8 +2132,7 @@ function isCheckFresh(lastCheckAt, nowMs, ttlMs) {
|
|
|
2149
2132
|
if (age < 0) return false;
|
|
2150
2133
|
return age < Number(ttlMs);
|
|
2151
2134
|
}
|
|
2152
|
-
|
|
2153
|
-
//#region session/core/codex-version-core.ts
|
|
2135
|
+
// session/core/codex-version-core.ts
|
|
2154
2136
|
var CODEX_EXTENDED_HOOKS_FLOOR = "0.163.0";
|
|
2155
2137
|
var CODEX_MCP_PRE_TOOL_USE_FLOOR = "0.165.0";
|
|
2156
2138
|
var LEGACY_HOOK_EVENTS = [
|
|
@@ -2207,8 +2189,7 @@ function codexHookPlanFor(installedVersion) {
|
|
|
2207
2189
|
gatesMcpToolCalls
|
|
2208
2190
|
};
|
|
2209
2191
|
}
|
|
2210
|
-
|
|
2211
|
-
//#region server/codex-app-server-request.ts
|
|
2192
|
+
// server/codex-app-server-request.ts
|
|
2212
2193
|
function requestCodexAppServer(command, env, request) {
|
|
2213
2194
|
return new Promise((resolve) => {
|
|
2214
2195
|
let child;
|
|
@@ -2285,8 +2266,7 @@ function requestCodexAppServer(command, env, request) {
|
|
|
2285
2266
|
});
|
|
2286
2267
|
});
|
|
2287
2268
|
}
|
|
2288
|
-
|
|
2289
|
-
//#region session/codex-hook-trust.ts
|
|
2269
|
+
// session/codex-hook-trust.ts
|
|
2290
2270
|
var HOOK_LIST_TIMEOUT_MS = 15e3;
|
|
2291
2271
|
var listedHookSchema = z.object({
|
|
2292
2272
|
eventName: z.string(),
|
|
@@ -2355,8 +2335,7 @@ async function readCodexHookHashes(command, hooks, sessionFolder, env = process.
|
|
|
2355
2335
|
});
|
|
2356
2336
|
}
|
|
2357
2337
|
}
|
|
2358
|
-
|
|
2359
|
-
//#region session/adapters/codex.ts
|
|
2338
|
+
// session/adapters/codex.ts
|
|
2360
2339
|
var ID$3 = "codex";
|
|
2361
2340
|
var COMMAND_NAME$3 = "codex";
|
|
2362
2341
|
var RELAY_PATH$3 = relayPath("hook-relay");
|
|
@@ -2866,8 +2845,7 @@ var codex = {
|
|
|
2866
2845
|
},
|
|
2867
2846
|
promptContextReply: "additional-context"
|
|
2868
2847
|
};
|
|
2869
|
-
|
|
2870
|
-
//#region session/adapters/gemini.ts
|
|
2848
|
+
// session/adapters/gemini.ts
|
|
2871
2849
|
var ID$2 = "gemini";
|
|
2872
2850
|
var COMMAND_NAME$2 = "gemini";
|
|
2873
2851
|
var RELAY_PATH$2 = relayPath("hook-relay");
|
|
@@ -3052,8 +3030,7 @@ var gemini = {
|
|
|
3052
3030
|
},
|
|
3053
3031
|
promptContextReply: "message"
|
|
3054
3032
|
};
|
|
3055
|
-
|
|
3056
|
-
//#region session/adapters/qwen.ts
|
|
3033
|
+
// session/adapters/qwen.ts
|
|
3057
3034
|
var ID$1 = "qwen";
|
|
3058
3035
|
var COMMAND_NAME$1 = "qwen";
|
|
3059
3036
|
var RELAY_PATH$1 = relayPath("hook-relay");
|
|
@@ -3239,8 +3216,7 @@ var qwen = {
|
|
|
3239
3216
|
},
|
|
3240
3217
|
promptContextReply: "message"
|
|
3241
3218
|
};
|
|
3242
|
-
|
|
3243
|
-
//#region session/core/copilot-trust-core.ts
|
|
3219
|
+
// session/core/copilot-trust-core.ts
|
|
3244
3220
|
function isFolderCoveredBy(folder, trustedFolder) {
|
|
3245
3221
|
const relativePath = path.relative(trustedFolder, folder);
|
|
3246
3222
|
if (relativePath === "") return true;
|
|
@@ -3296,8 +3272,7 @@ function folderTrustRoot(sessionFolder, worktreeRoot) {
|
|
|
3296
3272
|
if (worktreeRoot && isFolderCoveredBy(sessionFolder, worktreeRoot)) return worktreeRoot;
|
|
3297
3273
|
return sessionFolder;
|
|
3298
3274
|
}
|
|
3299
|
-
|
|
3300
|
-
//#region session/copilot-trust.ts
|
|
3275
|
+
// session/copilot-trust.ts
|
|
3301
3276
|
var NEW_CONFIG_MODE = 384;
|
|
3302
3277
|
function realPathOrSelf(filePath) {
|
|
3303
3278
|
try {
|
|
@@ -3341,8 +3316,7 @@ function ensureCopilotFolderTrust(configPath, folder) {
|
|
|
3341
3316
|
return `${folder} stays untrusted for Copilot CLI: ${path.basename(resolvedConfigPath)} could not be updated (${errorMessage(error)})`;
|
|
3342
3317
|
}
|
|
3343
3318
|
}
|
|
3344
|
-
|
|
3345
|
-
//#region session/adapters/copilot.ts
|
|
3319
|
+
// session/adapters/copilot.ts
|
|
3346
3320
|
var ID = "copilot";
|
|
3347
3321
|
var COMMAND_NAME = "copilot";
|
|
3348
3322
|
var RELAY_PATH = relayPath("hook-relay");
|
|
@@ -3540,8 +3514,7 @@ var copilot = {
|
|
|
3540
3514
|
},
|
|
3541
3515
|
promptContextReply: "message"
|
|
3542
3516
|
};
|
|
3543
|
-
|
|
3544
|
-
//#region session/adapters/shell.ts
|
|
3517
|
+
// session/adapters/shell.ts
|
|
3545
3518
|
var envProfile$1 = {
|
|
3546
3519
|
scrub: [],
|
|
3547
3520
|
set: {}
|
|
@@ -3606,8 +3579,7 @@ var shell = {
|
|
|
3606
3579
|
buildEnv,
|
|
3607
3580
|
buildArgs
|
|
3608
3581
|
};
|
|
3609
|
-
|
|
3610
|
-
//#region session/adapters/custom.ts
|
|
3582
|
+
// session/adapters/custom.ts
|
|
3611
3583
|
var envProfile = {
|
|
3612
3584
|
scrub: [],
|
|
3613
3585
|
set: {}
|
|
@@ -3681,8 +3653,7 @@ function createCustomAdapter(declaration, { initialPromptArgs } = {}) {
|
|
|
3681
3653
|
buildArgs
|
|
3682
3654
|
};
|
|
3683
3655
|
}
|
|
3684
|
-
|
|
3685
|
-
//#region session/adapters/index.ts
|
|
3656
|
+
// session/adapters/index.ts
|
|
3686
3657
|
var DEFAULT_AGENT_ID = claudeCode.id;
|
|
3687
3658
|
var OPENCODE = createCustomAdapter({
|
|
3688
3659
|
id: "opencode",
|
|
@@ -3863,5 +3834,4 @@ function cachedAgentResolvability(agentId) {
|
|
|
3863
3834
|
function resetCommandCache() {
|
|
3864
3835
|
resolvedCommands.clear();
|
|
3865
3836
|
}
|
|
3866
|
-
//#endregion
|
|
3867
3837
|
export { continuationDelayMs as $, listClaudeGlobalConfigPathCandidates as $t, shortSha as A, claudeCode as At, MAX_TRANSCRIPT_READ_BYTES as B, appendUserHooks as Bt, isCheckFresh as C, isWithinGenerationRecencyWindow as Ct, parseRegistryLatest as D, shouldReplace as Dt, parseRegistryDeprecation as E, parseUsageLine as Et, exceedsUploadCap as F, sweepOrphans as Ft, isOversizedPartialLine as G, removeHook as Gt, committedOffsetFromTraceTailOrNull as H, normalizeHook as Ht, framePathPaste as I, writeSessionSettings as It, withCommittedOffset as J, sweepOrphanedHostScratch as Jt, planContiguousRead as K, upsertHook as Kt, imageMimeForUploadFilename as L, HOOK_EVENT_CATALOG as Lt, MAX_UPLOAD_BYTES as M, PLAN_HOLD_RELEASE_MS as Mt, buildUploadFilename as N, buildHookSettings as Nt, parseResolvedSha as O, totalTokensOf as Ot, decideUploadType as P, generateToken as Pt, codexSessionIdFromPath as Q, removalsJournalPath as Qt, isSafePathSegment as R, ID_RE as Rt, decideUpdateStatus as S, identityFromRelPath as St, normalizeUpdateChannel as T, parseJsonLine as Tt, completeLineBytes as U, rawStoredHooks as Ut, TRACE_TAIL_SCAN_BYTES as V, hooksForProject as Vt, containmentRefusalReason as W, readStoredHooks as Wt, codexHomes as X, appendRemovalRecordSync as Xt, codexFallbackRoots as Y, appendRemovalRecord as Yt, codexRootCandidates as Z, recordSweptPath as Zt, codex as _, dedupKeys as _t, customAgentFingerprint as a, kimiHomes as at, NODE_PTY_INSTALL_SCRIPT_FLAG as b, foldEntryIntoGenerationRollup as bt, hookProfileOf as c, resolveProjectsDirs as ct, listAgentIds as d, shouldEvaluateDespiteIoFailures as dt, decideFileRead as et, projectHookConfigRelPaths as f, shouldPersistWarehouse as ft, folderTrustRoot as g, addEntryToTotals as gt, setCustomAgents as h, parseKimiUsageLine as ht, commandFor as i, isUsageFile as it, openContainedFile as j, HOOK_EVENTS$4 as jt, pickNewestPublished as k, vendorUsageEntry as kt, isBuiltInAgentId as l, scopedClaudeRoots as lt, resolveAdapter as m, kimiDedupIdentity as mt, DEFAULT_AGENT_ID as n, expandTilde as nt, describeAgentResolvability as o, passOutcome as ot, resetCommandCache as p, splitLines as pt, resumeOffsetFrom as q, makeHostScratchDirectory as qt, cachedAgentResolvability as r, grokHomes as rt, getAdapter as s, projectDirCandidates as st, BUILT_IN_AGENTS as t, dedupeCodexFiles as tt, isKnownAgentId as u, sessionsRootCandidates as ut, readHostCodexVersion as v, emptyTotals as vt, normalizeSha as w, mergeGenerationRollups as wt, decideInstallFlavor as x, foldReplacementIntoGenerationRollup as xt, requestCodexAppServer as y, expandAdvisorIterations as yt, planUploadRetention as z, agentHookGroupOf as zt };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { X as formatSessionLimits, at as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
1
|
+
import { a as resolveHookTarget } from "./hook-relay-core-D1qPnjzZ.js";
|
|
2
|
+
import { X as formatSessionLimits, at as parseCommand, i as agentCommandSpec, m as isAgentApiVerb, t as AGENT_COMMAND_HELP } from "./agent-api-core-CJ7PMtW_.js";
|
|
3
|
+
import { it as STEP_STATUSES, nt as Op, r as AGENT_URL_ENV, st as WhiteboardAgentReply, u as AgentLimitsReply } from "./session-C1sbbzQ6.js";
|
|
4
|
+
import { c as planSteps, l as stepBoxesOf, o as dependencyWireId, r as layoutBoard, s as dependencyWireIdsInto, t as boardSvgDocument } from "./whiteboard-svg-core-DKBqwx5J.js";
|
|
5
|
+
import { t as parseJsonOrNull } from "./json-core-B1ov-SNz.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { z } from "zod";
|
|
9
|
-
|
|
9
|
+
// server/agent-api-cli.ts
|
|
10
10
|
var AGENT_PATH_PREFIX = "/agent/";
|
|
11
11
|
var HELP_LIMITS_TIMEOUT_MS = 2e3;
|
|
12
12
|
var HELP_LIMITS_UNKNOWN_LINE = "This session: Glimmervoid did not report its limits, so run glimmervoid limits to see why";
|
|
@@ -561,5 +561,4 @@ async function askAgentApi(verb, body) {
|
|
|
561
561
|
});
|
|
562
562
|
return parseJsonOrNull(reply.text);
|
|
563
563
|
}
|
|
564
|
-
//#endregion
|
|
565
564
|
export { sessionLimitsHelpLines as i, postToAgentIngress as n, runAgentApiCli as r, askAgentApi as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-BzQy_Mw3.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as isRecord } from "./coerce-
|
|
4
|
-
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-
|
|
1
|
+
import { an as pullRequestKeyFromReference } from "./control-messages-DgHO4e4v.js";
|
|
2
|
+
import { D as RefinedTaskTitle, O as SESSION_COMMANDS, V as TASK_TITLE_CONTROL_CHARACTERS, _ as AgentSettingsRequest, a as AgentAnswerRequest, c as AgentCloseRequest, ct as WhiteboardAgentRequest, d as AgentPacksRequest, f as AgentPullRequestRequest, h as AgentSendRequest, l as AgentEditRequest, m as AgentReviewsRequest, n as AGENT_REPLY_SCHEMAS, o as AgentAttentionRequest, p as AgentReadRequest, s as AgentCheckoutRequest, t as AGENT_API_VERBS, v as AgentSpawnRequest, y as AgentWhyRequest } from "./session-C1sbbzQ6.js";
|
|
3
|
+
import { n as isRecord } from "./coerce-D6vRlIGO.js";
|
|
4
|
+
import { l as TASK_TITLE_SOURCE_PRIORITY, o as PersistedTaskTitle } from "./config-BQ2bJTIM.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { parseArgs } from "node:util";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
|
-
|
|
8
|
+
// server/core/cli-spec-core.ts
|
|
9
9
|
var PROGRAM_NAME = "glimmervoid";
|
|
10
10
|
var USAGE_COLUMN_WIDTH = 20;
|
|
11
11
|
var HELP_OPTION = {
|
|
@@ -434,8 +434,7 @@ function isOwnedCommandName(name) {
|
|
|
434
434
|
function renderOverviewLine(usage, summary) {
|
|
435
435
|
return `${padColumn(usage)}${summary}`;
|
|
436
436
|
}
|
|
437
|
-
|
|
438
|
-
//#region session/core/session-routes.ts
|
|
437
|
+
// session/core/session-routes.ts
|
|
439
438
|
var SUPERVISION_LINE = "Glimmervoid supervises this session. Run glimmervoid --help for the commands it gives you and this session's limits.";
|
|
440
439
|
var SPAWN_LINE = "To delegate work that edits files or runs long, use glimmervoid spawn rather than an in-process subagent: the spawned session gets its own dashboard card the operator can watch. An in-process subagent stays fine for a quick read-only lookup.";
|
|
441
440
|
var HELP_COMMAND = "glimmervoid --help";
|
|
@@ -768,8 +767,7 @@ function routeAgentNotes() {
|
|
|
768
767
|
whiteboardHint
|
|
769
768
|
];
|
|
770
769
|
}
|
|
771
|
-
|
|
772
|
-
//#region shared/session-naming.ts
|
|
770
|
+
// shared/session-naming.ts
|
|
773
771
|
function isAutoNameOf(name, baseName) {
|
|
774
772
|
if (name === baseName) return true;
|
|
775
773
|
const prefix = `${baseName} (`;
|
|
@@ -786,8 +784,7 @@ function nextSuggestedName(baseName, names) {
|
|
|
786
784
|
}
|
|
787
785
|
return `${baseName} (${Date.now()})`;
|
|
788
786
|
}
|
|
789
|
-
|
|
790
|
-
//#region session/core/conversation-history.ts
|
|
787
|
+
// session/core/conversation-history.ts
|
|
791
788
|
function encodeProjectDir(cwd) {
|
|
792
789
|
return String(cwd || "").replace(/[^a-zA-Z0-9]/g, "-");
|
|
793
790
|
}
|
|
@@ -929,8 +926,7 @@ async function listRepoConversations({ repoPath, projectsDir, git, fsMod, limit
|
|
|
929
926
|
};
|
|
930
927
|
});
|
|
931
928
|
}
|
|
932
|
-
|
|
933
|
-
//#region session/core/auto-resume.ts
|
|
929
|
+
// session/core/auto-resume.ts
|
|
934
930
|
var RESUME_ID_RE = /^[A-Za-z0-9][A-Za-z0-9_-]{7,127}$/;
|
|
935
931
|
var AUTO_RESUME_IDLE_CUTOFF_MS = 864e5;
|
|
936
932
|
var AUTO_CONTINUE_PROMPT = "Glimmervoid restarted while you were working and resumed this conversation. This is not a new request from the user: carry on with the task you were working on. Any tool call, background command, monitor or subagent that was running was stopped and its outcome is unknown, so check the current state, such as files, git status and running processes, before relying on it or repeating it, and start again any background work the task still needs. Do not recap or ask for confirmation. If the task was already finished, say so in one line.";
|
|
@@ -1023,8 +1019,7 @@ function isConversationReplacedAtStartup({ hasPromptSinceSpawn, currentResumeSes
|
|
|
1023
1019
|
function resumePromptFor(project) {
|
|
1024
1020
|
return project?.wasWorking === true ? AUTO_CONTINUE_PROMPT : null;
|
|
1025
1021
|
}
|
|
1026
|
-
|
|
1027
|
-
//#region session/core/task-title-core.ts
|
|
1022
|
+
// session/core/task-title-core.ts
|
|
1028
1023
|
function normalizeTaskTitle(title) {
|
|
1029
1024
|
return title.replace(new RegExp(TASK_TITLE_CONTROL_CHARACTERS.source, "g"), " ").replace(/\s+/g, " ").trim().slice(0, 120).trimEnd() || null;
|
|
1030
1025
|
}
|
|
@@ -1911,5 +1906,4 @@ function agentCommandSpec(verb) {
|
|
|
1911
1906
|
isPassthrough
|
|
1912
1907
|
};
|
|
1913
1908
|
}
|
|
1914
|
-
//#endregion
|
|
1915
1909
|
export { promptHintFor as $, isSelfWakePrompt as A, pickAutoResume as B, cleanTaskPrompt as C, extractNotifiedTaskIds as D, extractHookTaskTitle as E, resolveTaskTitle as F, listRepoConversations as G, resumePromptFor as H, seedTaskTitleSources as I, nextSuggestedName as J, listRepoWorktreePaths as K, AUTO_CONTINUE_PROMPT as L, parseRefinedSessionName as M, parseRefinedTaskTitle as N, extractOscTaskTitle as O, resolveRefocusTaskTitle as P, permitsHelpCommand as Q, RESUME_ID_RE as R, chooseRefinedSessionName as S, extractAiTitle as T, shouldAdoptReportedResumeId as U, resolveResumeTarget as V, claudeProjectsDir as W, formatSessionLimits as X, describeSessionLimits as Y, hintFor as Z, projectReviewDetail as _, checkAgentReply as a, parseCommand as at, buildPersistedTaskTitle as b, deriveChildSessionName as c, describePushLanding as d, routeAgentNotes as et, describeRoleRefusal as f, projectMyPrs as g, parseAgentVerb as h, agentCommandSpec as i, isOwnedCommandName as it, isSubstantivePrompt as j, extractPromptTaskTitle as k, describeChildEndNote as l, isAgentApiVerb as m, REFUSAL_REASON as n, toolHookFactsOf as nt, decideAgentRequest as o, describeUnpushedCloseRefusal as p, isAutoNameOf as q, agentCommandHelpLines as r, OWNED_COMMAND_SPECS as rt, decideSpawnAllowance as s, AGENT_COMMAND_HELP as t, supervisionLine as tt, describeKeptChildAttention as u, projectReviews as v, decideTaskTitleRefinement as w, buildTaskTitleRefinementPrompt as x, tokensMatch as y, isConversationReplacedAtStartup as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// mcp/core/credentials.ts
|
|
2
2
|
var CREDENTIAL_SEPARATOR = ".";
|
|
3
3
|
var BEARER_PREFIX = /^Bearer\s+/i;
|
|
4
4
|
function mcpCredentialFor(sessionId, secret) {
|
|
@@ -14,8 +14,7 @@ function parsePresentedCredential(authorizationHeader) {
|
|
|
14
14
|
secret: credential.slice(separatorIndex + 1)
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
//#region mcp/core/agent-config.ts
|
|
17
|
+
// mcp/core/agent-config.ts
|
|
19
18
|
var MCP_CREDENTIAL_ENV = "GLIMMERVOID_MCP_TOKEN";
|
|
20
19
|
var MCP_SERVER_NAME = "glimmervoid";
|
|
21
20
|
var MCP_TOOL_TIMEOUT_SECONDS = 600;
|
|
@@ -129,5 +128,4 @@ function mcpLaunchFor({ agentId, listenerPort, sessionId, agentToken }) {
|
|
|
129
128
|
env: { [MCP_CREDENTIAL_ENV]: mcpCredentialFor(sessionId, agentToken) }
|
|
130
129
|
};
|
|
131
130
|
}
|
|
132
|
-
//#endregion
|
|
133
131
|
export { mcpLaunchFor as a, kimiMcpFiles as i, KIMI_MCP_CONFIG_NAME as n, parsePresentedCredential as o, MCP_CREDENTIAL_ENV as r, KIMI_MCP_BASE_NAME as t };
|