@symerian/symi 3.3.3 → 3.4.0
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/{agent-9zPi5Bip.js → agent-CEYVMKqC.js} +12 -12
- package/dist/{agent-M9EC02CI.js → agent-D4GA9G6b.js} +12 -12
- package/dist/{agent-scope-D_MtsuXX.js → agent-scope-B1Ina6jV.js} +0 -1
- package/dist/{agent-scope-8LjCKvga.js → agent-scope-B6p555mP.js} +0 -1
- package/dist/{agent-scope-B_oqIiaD.js → agent-scope-DIjW66iO.js} +0 -1
- package/dist/{agent-scope-ixfTVesj.js → agent-scope-DZEuQYrq.js} +0 -1
- package/dist/{agents-CW9uf_n0.js → agents-Bh3R6D2o.js} +8 -8
- package/dist/{agents.config-B_LFeRQS.js → agents.config-D1nFwU81.js} +1 -1
- package/dist/{agents.config-RCL-IJds.js → agents.config-D7cHU-OU.js} +1 -1
- package/dist/{audit-DEXQlMwn.js → audit-BzlpUi7R.js} +9 -9
- package/dist/{audit-B_HL4UJ_.js → audit-DdRmmIE-.js} +9 -9
- package/dist/{auth-choice-DS5oaUTz.js → auth-choice-DY9j2BCn.js} +8 -8
- package/dist/{auth-choice-Bio1-QUP.js → auth-choice-EyD891pg.js} +8 -8
- package/dist/{auth-profiles-CPlXilKu.js → auth-profiles-BFSVvFKy.js} +1 -1
- package/dist/{auth-profiles-duUuQXeC.js → auth-profiles-Boy_KMd1.js} +1 -1
- package/dist/{auth-profiles-CKIq0T1s.js → auth-profiles-Bs5D0GUv.js} +1 -1
- package/dist/{auth-token-DS3MIrxf.js → auth-token-Brb1Askz.js} +1 -1
- package/dist/{auth-token-DTj2WrbV.js → auth-token-SebYuqfR.js} +1 -1
- package/dist/{banner-0vT1O9w2.js → banner-DAGLXnYN.js} +1 -1
- package/dist/{browser-cli-CcKmOVu4.js → browser-cli-BH_i0QVr.js} +5 -5
- package/dist/{browser-cli-C-Q0t9y_.js → browser-cli-YS3EqU78.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +17 -17
- package/dist/bundled/session-memory/handler.js +16 -16
- package/dist/{call-BocrIanP.js → call-BDC211Sd.js} +1 -1
- package/dist/{call-Du4CT1Hp.js → call-uEbo7Orp.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CcGtiy0Q.js → channel-options-2P4SZQZY.js} +1 -1
- package/dist/{channel-options-DZ17japQ.js → channel-options-Dr3Iu_Yn.js} +1 -1
- package/dist/{channels-cli-DxSXTCCh.js → channels-cli-BwAPAj2_.js} +38 -38
- package/dist/{channels-cli-BSvEpjOV.js → channels-cli-Bxq-od6o.js} +39 -39
- package/dist/{chrome-C9mX2mtt.js → chrome-Cwdu25B-.js} +1 -1
- package/dist/{chrome-owBWinlj.js → chrome-DfmXP1Xa.js} +1 -1
- package/dist/{chrome-DYKZHZ9k.js → chrome-DvbQQ7qH.js} +1 -1
- package/dist/{chrome-CQnRgvJz.js → chrome-Dw6r3c_L.js} +1 -1
- package/dist/{cli-CHk4wR-F.js → cli-6ogm9wuW.js} +34 -34
- package/dist/{cli-Dn9ylBb2.js → cli-BCcQWANT.js} +33 -33
- package/dist/{command-registry-UxY6jjeo.js → command-registry-BBgjrvGs.js} +11 -11
- package/dist/{commands-registry-W2GQIywv.js → commands-registry-BNCcZy2y.js} +1 -1
- package/dist/{commands-registry-BO62ZyK2.js → commands-registry-BRWqR35Z.js} +1 -1
- package/dist/{commands-registry-CY-QAK3n.js → commands-registry-Bccp0eH5.js} +1 -1
- package/dist/{commands-registry-DaPrWQSe.js → commands-registry-CBFyeJ5K.js} +1 -1
- package/dist/{completion-cli-DebZ6nSb.js → completion-cli-B_lEJpoO.js} +1 -1
- package/dist/{completion-cli-m9L2Gv9t.js → completion-cli-DgR7QC7W.js} +2 -2
- package/dist/{config-CphS_6eg.js → config-C5Ztbpa2.js} +21 -127
- package/dist/{config-B91360jE.js → config-CVMQkipH.js} +21 -127
- package/dist/{config-cli-D4_gO3Pd.js → config-cli-AEQbHSmK.js} +4 -4
- package/dist/{config-cli-D9YdRiN2.js → config-cli-Vl7Xxk-9.js} +4 -4
- package/dist/{config-guard-I1mvbCOr.js → config-guard-DiNrx0Cz.js} +2 -2
- package/dist/{config-guard-B5BwQ-AP.js → config-guard-IIOwDwXX.js} +6 -6
- package/dist/{config-validation-A2rXGvVY.js → config-validation-CmSRTlVT.js} +1 -1
- package/dist/{config-validation-BwrodmsK.js → config-validation-sGgKL2lH.js} +1 -1
- package/dist/{configure-D9NeIMjP.js → configure-BLL4bVXO.js} +11 -11
- package/dist/{configure-BXjJQG1p.js → configure-BbpI3Lrz.js} +11 -11
- package/dist/{control-service-D3BYG-FJ.js → control-service-Bew5Jq9S.js} +4 -4
- package/dist/{control-service-CMVDL3Yl.js → control-service-wnEr9eCS.js} +4 -4
- package/dist/control-ui/css/style.css +0 -100
- package/dist/control-ui/index.html +0 -13
- package/dist/control-ui/js/app.js +7 -104
- package/dist/control-ui/js/render.js +0 -5
- package/dist/{cron-cli-A0c5t2V9.js → cron-cli-PyIF_pI1.js} +5 -5
- package/dist/{cron-cli-DR4W075u.js → cron-cli-vlseqDwZ.js} +5 -5
- package/dist/{daemon-cli-CbqjLPV8.js → daemon-cli-BQJGtFBH.js} +6 -6
- package/dist/{daemon-cli-B__05b-d.js → daemon-cli-CYQDp0HS.js} +6 -6
- package/dist/daemon-cli.js +17 -134
- package/dist/{daemon-runtime-Y8XS0WGP.js → daemon-runtime-CCIiGZsG.js} +1 -1
- package/dist/{daemon-runtime-BD-3XS8R.js → daemon-runtime-DGcALfeE.js} +1 -1
- package/dist/{deliver-DcP6aVt4.js → deliver-CHtzqhdE.js} +2 -2
- package/dist/{deliver-63FtOVMC.js → deliver-CKAEloz3.js} +2 -2
- package/dist/{deliver-DSv-Z24A.js → deliver-CtSoKpd9.js} +9 -9
- package/dist/{deliver-DSMNXd9k.js → deliver-DnF5-Jn0.js} +9 -9
- package/dist/{deps-DD_ZCq3v.js → deps-CkEuUibi.js} +1 -1
- package/dist/{devices-cli-BRqbjkNA.js → devices-cli-DHjCb6xx.js} +4 -4
- package/dist/{devices-cli-CJom2K8b.js → devices-cli-DuV6VLMa.js} +4 -4
- package/dist/{directory-cli-rhATy7j5.js → directory-cli-B6BW3AGE.js} +3 -3
- package/dist/{directory-cli-BwhEj1FE.js → directory-cli-Cj3zj4zt.js} +3 -3
- package/dist/{dm-policy-shared-C1TQOlkZ.js → dm-policy-shared-5HLej1br.js} +1 -1
- package/dist/{dm-policy-shared-CC_pbZzd.js → dm-policy-shared-CSF4Tw_F.js} +1 -1
- package/dist/{dns-cli-DSOfBG2a.js → dns-cli-BpLjriTN.js} +3 -3
- package/dist/{dns-cli-DzQDEQM2.js → dns-cli-Jd9gJc0T.js} +3 -3
- package/dist/{doctor-completion-D1ImH_eM.js → doctor-completion-DaXTGUhV.js} +1 -1
- package/dist/{doctor-completion--AgLv0kV.js → doctor-completion-o02Kanxp.js} +1 -1
- package/dist/{doctor-config-flow-4UT3396o.js → doctor-config-flow-Bdc03rxx.js} +4 -4
- package/dist/{doctor-config-flow-DlX_L8Y-.js → doctor-config-flow-QPIo58ud.js} +4 -4
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-DxvIsIQi.js → exec-approvals-cli-CJW8VyEa.js} +6 -6
- package/dist/{exec-approvals-cli-D-MLmhzh.js → exec-approvals-cli-DKRhv0JO.js} +6 -6
- package/dist/extensionAPI.js +15 -15
- package/dist/{gateway-cli-5KVJJGFm.js → gateway-cli-CKbm9ikc.js} +54 -54
- package/dist/{gateway-cli-BjGvnfU3.js → gateway-cli-uZu6GsIz.js} +55 -55
- package/dist/{gateway-rpc-a6_nYKAR.js → gateway-rpc-BnGjn5ao.js} +1 -1
- package/dist/{gateway-rpc-CUIXRk2t.js → gateway-rpc-BuXF5p-F.js} +1 -1
- package/dist/{glass-ui-ws-f_OPXcN2.js → glass-ui-ws-CagpHsSJ.js} +46 -46
- package/dist/{glass-ui-ws-CwJdwqn6.js → glass-ui-ws-DLs3LNTG.js} +45 -45
- package/dist/{health-BdxlhiXA.js → health-D41l07BM.js} +4 -4
- package/dist/{health-CvdEEMPS.js → health-DrjeJzLE.js} +4 -4
- package/dist/{hooks-cli-BfVq5C1p.js → hooks-cli-BWp12-sQ.js} +34 -34
- package/dist/{hooks-cli-CQ6rF_LQ.js → hooks-cli-CqiK6DE3.js} +35 -35
- package/dist/index.js +39 -39
- package/dist/{lifecycle-core-_BlNODTH.js → lifecycle-core-BhmX7dfP.js} +2 -2
- package/dist/{lifecycle-core-D8r8m6C0.js → lifecycle-core-flVPkttM.js} +2 -2
- package/dist/llm-slug-generator.js +16 -16
- package/dist/{local-roots-WWcVq0Ma.js → local-roots-BCTg2O-a.js} +1 -1
- package/dist/{local-roots-CkcUju_2.js → local-roots-Bk3321gv.js} +1 -1
- package/dist/{local-roots-JhQs5w0I.js → local-roots-BnDnugq3.js} +1 -1
- package/dist/{logs-cli-zX4DscY_.js → logs-cli-BgLHN6qm.js} +5 -5
- package/dist/{logs-cli-BEWOyW5R.js → logs-cli-DLktVEgU.js} +5 -5
- package/dist/{manager-D_AVoLu8.js → manager-BU8KmNG0.js} +3 -3
- package/dist/{manager-BUS2wGkQ.js → manager-CF2y6wbp.js} +3 -3
- package/dist/{manager-BQ5Wl5r-.js → manager-DJHy2EAm.js} +3 -3
- package/dist/{manager-BI8o6AGu.js → manager-Uwh87iKi.js} +3 -3
- package/dist/{memory-CMKSFx1T.js → memory-cQSSricw.js} +5 -5
- package/dist/{memory-cli-CmPcKzGZ.js → memory-cli-DIchyZJ2.js} +5 -5
- package/dist/{memory-cli-rdfaJrCS.js → memory-cli-DXS73nCX.js} +5 -5
- package/dist/{memory-2OKjMT7V.js → memory-gSw5eshw.js} +5 -5
- package/dist/{model-BKtw-Bqs.js → model-BRcKPW49.js} +1 -1
- package/dist/{model-BgG_n_kc.js → model-DgN15006.js} +1 -1
- package/dist/{model-catalog-zuX3pwF5.js → model-catalog-BKCEeOYV.js} +4 -4
- package/dist/{model-catalog-DKBhNiWm.js → model-catalog-DiG_T-Hd.js} +4 -4
- package/dist/{model-picker-DCkIP0W7.js → model-picker-Ba0aPjVG.js} +3 -3
- package/dist/{model-picker-DKzvan7c.js → model-picker-Cj3P3dRc.js} +3 -3
- package/dist/{model-selection-BE83O-pv.js → model-selection-DUQlsUfk.js} +1 -1
- package/dist/{models-DRtgYyTB.js → models-CcT56XMM.js} +16 -16
- package/dist/{models-cli-183sPHZO.js → models-cli-BGBn_XQb.js} +40 -40
- package/dist/{models-cli-DN2zTFw9.js → models-cli-C7vX8wrK.js} +39 -39
- package/dist/{models-config-BfmuswQ_.js → models-config-T55qUOQH.js} +2 -2
- package/dist/{models-config-CFUwiu4W.js → models-config-of-BhU9a.js} +2 -2
- package/dist/{node-cli-CgWAxe-K.js → node-cli-6nSZg2Ag.js} +11 -11
- package/dist/{node-cli-CjA21eC1.js → node-cli-P6Bd4azz.js} +11 -11
- package/dist/{nodes-cli-DHcCJ6Jo.js → nodes-cli-CNbL0FQP.js} +5 -5
- package/dist/{nodes-cli-CprJ5K63.js → nodes-cli-CxlfnpiJ.js} +5 -5
- package/dist/{onboard-CPHA8CdV.js → onboard-C5Ivk_7_.js} +10 -10
- package/dist/{onboard-bTgNnEHK.js → onboard-CG9scrQx.js} +10 -10
- package/dist/{onboard-channels-D5ugcgBE.js → onboard-channels-B6_L4dD7.js} +3 -3
- package/dist/{onboard-channels-B_iyN1qL.js → onboard-channels-Br6c8ho-.js} +3 -3
- package/dist/{onboard-custom-C0GtEEDP.js → onboard-custom-C--9q1aw.js} +3 -3
- package/dist/{onboard-custom-Cla8O-Tv.js → onboard-custom-CdIFCex3.js} +3 -3
- package/dist/{onboard-helpers-LbRPhqLj.js → onboard-helpers-DU7-6FKZ.js} +3 -3
- package/dist/{onboard-helpers-D2mWJnFB.js → onboard-helpers-KK8MYq1e.js} +3 -3
- package/dist/{onboard-hooks-DZD-nGLB.js → onboard-hooks-CP54Px40.js} +1 -1
- package/dist/{onboard-hooks-OBLRvKmN.js → onboard-hooks-Dn62HF2k.js} +1 -1
- package/dist/{onboard-remote-Bi2BNRnh.js → onboard-remote-BCG6Pa34.js} +1 -1
- package/dist/{onboard-remote-DRnsw2VC.js → onboard-remote-BNgEcJhQ.js} +1 -1
- package/dist/{onboard-skills-C0XDXvWw.js → onboard-skills-BMZQWj72.js} +2 -2
- package/dist/{onboard-skills-C6FIDEFz.js → onboard-skills-Dl9x6Ewy.js} +2 -2
- package/dist/{onboarding-D2SLzcWH.js → onboarding-BDfOQl6b.js} +12 -12
- package/dist/{onboarding-ii3ok0Ih.js → onboarding-CsBNx5v8.js} +12 -12
- package/dist/{onboarding.finalize-DOHv_Xe8.js → onboarding.finalize-CLPOjrbG.js} +18 -18
- package/dist/{onboarding.finalize-g-_d-wVY.js → onboarding.finalize-Dnw20wa-.js} +19 -19
- package/dist/{onboarding.gateway-config-BmaAH8uo.js → onboarding.gateway-config-BRSy-1P9.js} +6 -6
- package/dist/{onboarding.gateway-config-BT8nU-bQ.js → onboarding.gateway-config-D-SDWyuX.js} +6 -6
- package/dist/{openai-model-default-BiSllV8d.js → openai-model-default-BVPmAuXK.js} +2 -2
- package/dist/{openai-model-default-BeRT9S75.js → openai-model-default-CDDFpxUr.js} +2 -2
- package/dist/{outbound-send-deps-WKDU2JsO.js → outbound-send-deps-EMcNAOK3.js} +1 -1
- package/dist/{pairing-cli-C7HoBU3D.js → pairing-cli-B3N7sSmL.js} +4 -4
- package/dist/{pairing-cli-DdtW6Nu-.js → pairing-cli-BlH0ZFgu.js} +4 -4
- package/dist/{pairing-store-mmeniyUt.js → pairing-store-BGf29nPx.js} +1 -1
- package/dist/{pairing-store-CtYJcUUv.js → pairing-store-CtBnCGHZ.js} +1 -1
- package/dist/{pi-auth-json-BXOVPAoA.js → pi-auth-json-BKgUjASO.js} +1 -1
- package/dist/{pi-auth-json-D-ycHv8o.js → pi-auth-json-CUZ7IgY7.js} +1 -1
- package/dist/{pi-auth-json-D4Bl4hBw.js → pi-auth-json-De8XczIE.js} +1 -1
- package/dist/{pi-auth-json-1Z1j1PDI.js → pi-auth-json-SHGGQzOL.js} +1 -1
- package/dist/{pi-embedded-CvGL6bij.js → pi-embedded-DE2UILhi.js} +26 -26
- package/dist/{pi-embedded-helpers-DnAXWUyj.js → pi-embedded-helpers-Ak7hKJEV.js} +1 -1
- package/dist/{pi-embedded-helpers-BRM8EM4P.js → pi-embedded-helpers-B-A6e4jw.js} +1 -1
- package/dist/{pi-tools.policy-BBHbN8Nh.js → pi-tools.policy-B3nP1-Zp.js} +3 -3
- package/dist/{pi-tools.policy-D-WJTlz8.js → pi-tools.policy-BUY9pOhW.js} +3 -3
- package/dist/{plugin-auto-enable-B87oiELY.js → plugin-auto-enable-CF_vB-_e.js} +1 -1
- package/dist/{plugin-auto-enable-BCwyDNSP.js → plugin-auto-enable-CNDA103e.js} +1 -1
- package/dist/{plugin-registry-Dl3HqI5J.js → plugin-registry-C02Ztbi2.js} +3 -3
- package/dist/{plugin-registry-DSG-0min.js → plugin-registry-D2YgQFB0.js} +3 -3
- package/dist/plugin-sdk/agents/agent-scope.d.ts +0 -1
- package/dist/plugin-sdk/agents/session-write-lock.d.ts +1 -1
- package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +2 -2
- package/dist/plugin-sdk/auto-reply/reply/commands-subagents/shared.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/reply/subagents-utils.d.ts +1 -1
- package/dist/plugin-sdk/channels/plugins/bluebubbles-actions.d.ts +1 -1
- package/dist/plugin-sdk/config/sessions/types.d.ts +0 -7
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +0 -38
- package/dist/plugin-sdk/config/types.agents.d.ts +0 -2
- package/dist/plugin-sdk/config/types.channels.d.ts +0 -10
- package/dist/plugin-sdk/config/types.msteams.d.ts +0 -3
- package/dist/plugin-sdk/config/types.slack.d.ts +0 -3
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +0 -17
- package/dist/plugin-sdk/config/zod-schema.agent-runtime.d.ts +0 -34
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +0 -34
- package/dist/plugin-sdk/config/zod-schema.d.ts +2 -76
- package/dist/plugin-sdk/config/zod-schema.providers-core.d.ts +3 -63
- package/dist/plugin-sdk/config/zod-schema.providers.d.ts +2 -43
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +23 -23
- package/dist/plugin-sdk/index.js +17 -124
- package/dist/plugin-sdk/infra/outbound/targets.d.ts +0 -17
- package/dist/{plugins-cli-CUTyMzoz.js → plugins-cli-Ba3CBKt4.js} +34 -34
- package/dist/{plugins-cli-CEj-qNus.js → plugins-cli-vVBp7ZxP.js} +35 -35
- package/dist/{program-CjZ65fN4.js → program-CUvzxNJ4.js} +41 -41
- package/dist/{program-context-GaV454D6.js → program-context-4FxfWCCw.js} +37 -37
- package/dist/{prompt-select-styled-CwXc8EFB.js → prompt-select-styled-DTaKuS6l.js} +18 -18
- package/dist/{prompt-select-styled-BkowcFQR.js → prompt-select-styled-vwMhoP-U.js} +18 -18
- package/dist/{provider-auth-helpers-CRobCJR_.js → provider-auth-helpers-Bu5Q-WC_.js} +4 -4
- package/dist/{provider-auth-helpers-Bo1_RSEb.js → provider-auth-helpers-WUtMTKoJ.js} +4 -4
- package/dist/{push-apns-Bv16DYOL.js → push-apns-CnfKExbf.js} +1 -1
- package/dist/{push-apns-BBym2pAw.js → push-apns-D6zky4hI.js} +1 -1
- package/dist/{pw-ai-BW5obXRK.js → pw-ai-BpKRTux4.js} +4 -4
- package/dist/{pw-ai-Cnc8PGzN.js → pw-ai-CNPSgxuq.js} +4 -4
- package/dist/{pw-ai-B3qisJP1.js → pw-ai-DJ_8OOoJ.js} +4 -4
- package/dist/{pw-ai-GICi0s74.js → pw-ai-DQ1ckkue.js} +4 -4
- package/dist/{qmd-manager-DKAr0zp6.js → qmd-manager--kGuC39q.js} +1 -1
- package/dist/{qmd-manager-C-J9Sfjk.js → qmd-manager-358OTDns.js} +1 -1
- package/dist/{qmd-manager-CTHJcHPq.js → qmd-manager-BIMoHiZY.js} +1 -1
- package/dist/{qmd-manager-94nTSYk_.js → qmd-manager-PszixIzI.js} +1 -1
- package/dist/{qr-cli-BIdgVMK1.js → qr-cli-BjgtEKM0.js} +3 -3
- package/dist/{qr-cli-QUvxvMzs.js → qr-cli-DLAxaM_N.js} +3 -3
- package/dist/{redact-identifier-gZfj5mH2.js → redact-identifier-DvxxnBnB.js} +2 -2
- package/dist/{register.agent-QXqsCc-q.js → register.agent-B5s0F98B.js} +48 -48
- package/dist/{register.agent-z4GJgPr-.js → register.agent-BtVDiH_r.js} +46 -46
- package/dist/{register.configure-DaMmDTaj.js → register.configure-CD7DAbZQ.js} +48 -48
- package/dist/{register.configure-CYXErdjF.js → register.configure-NZcXrNuS.js} +49 -49
- package/dist/{register.maintenance-CBGhJ5R9.js → register.maintenance-DIkEIl8R.js} +47 -47
- package/dist/{register.maintenance-CcWTycM4.js → register.maintenance-jTTn3oMK.js} +45 -45
- package/dist/{register.message-EMkIi8Ga.js → register.message-Cm77gd0W.js} +36 -36
- package/dist/{register.message-Bcvdcd3v.js → register.message-DEa450JY.js} +35 -35
- package/dist/{register.onboard-CtcLKgR4.js → register.onboard-5TEaQi6x.js} +17 -17
- package/dist/{register.onboard-lmLaYYZl.js → register.onboard-DAMmTKhy.js} +17 -17
- package/dist/{register.setup-D47FYXH2.js → register.setup-B7PRYzpb.js} +17 -17
- package/dist/{register.setup-Cu8R_HaH.js → register.setup-DCwJ-ZlR.js} +17 -17
- package/dist/{register.status-health-sessions--q6ddHX9.js → register.status-health-sessions-BXjn8VnY.js} +25 -25
- package/dist/{register.status-health-sessions-B9CINBWm.js → register.status-health-sessions-h8DNZ6hd.js} +23 -23
- package/dist/{register.subclis-CHTY5PYx.js → register.subclis-BDIT6N_V.js} +27 -27
- package/dist/{replies-P7jbK6Bo.js → replies--JRoxSNQ.js} +1 -1
- package/dist/{replies-BOy28KVL.js → replies-BE5ZprKO.js} +1 -1
- package/dist/{replies-BeK3uuQ8.js → replies-BnGR-qet.js} +3 -3
- package/dist/{replies-C82xaXm3.js → replies-R4bX9dTZ.js} +1 -1
- package/dist/{reply-prefix-CRdCnS44.js → reply-prefix-B7pYEiW_.js} +1 -1
- package/dist/{reply-prefix-xaWqfM9m.js → reply-prefix-BOdARKaY.js} +1 -1
- package/dist/{reply-prefix-ChIeKp-P.js → reply-prefix-D3muTai5.js} +1 -1
- package/dist/{reply-prefix-BqgLflxO.js → reply-prefix-i-FPYcoQ.js} +1 -1
- package/dist/{resolve-route-CIS2tjpz.js → resolve-route-Be5fFo0_.js} +1 -1
- package/dist/{resolve-route-DKhx5C-P.js → resolve-route-CRWE36h5.js} +1 -1
- package/dist/{resolve-route-BoF_Jubb.js → resolve-route-DNKcB7Q9.js} +1 -1
- package/dist/{resolve-route-D0TboSMz.js → resolve-route-DaA1sG8I.js} +1 -1
- package/dist/{routes-MX2zYTZX.js → routes-BFcVAVwZ.js} +3 -3
- package/dist/{routes-BJ2iXVJF.js → routes-Czff-g7s.js} +3 -3
- package/dist/{rpc-CSI4uFgj.js → rpc-Dv5VElqW.js} +1 -1
- package/dist/{rpc-CzGWoSQY.js → rpc-DyGMGnDM.js} +1 -1
- package/dist/{run-main-Bzub4qvZ.js → run-main-DTZupTas.js} +53 -53
- package/dist/{sandbox-CQU7Gcb9.js → sandbox-W71753dA.js} +6 -6
- package/dist/{sandbox-DzRvFxeE.js → sandbox-Yk0sGNnf.js} +6 -6
- package/dist/{sandbox-cli-Ci90LP_X.js → sandbox-cli-XK1CujoA.js} +8 -8
- package/dist/{sandbox-cli-WYHWWki_.js → sandbox-cli-xejs3DAe.js} +8 -8
- package/dist/{security-cli-BfOZ_cJN.js → security-cli-C0OL3r1u.js} +14 -14
- package/dist/{security-cli-qZaxHyoZ.js → security-cli-D72O3Drj.js} +14 -14
- package/dist/{send-DulXmWcG.js → send-BIeRhWqk.js} +2 -2
- package/dist/{send-CLJ2KPVT.js → send-Bw1MYrkS.js} +2 -2
- package/dist/{send-BAKkoPOy.js → send-D9mx56JE.js} +2 -2
- package/dist/{server-context-CCPE_W8C.js → server-context-BxbXmmz7.js} +5 -5
- package/dist/{server-context-BsMQBnUG.js → server-context-D1WDO10m.js} +5 -5
- package/dist/{server-methods-THO5vDXZ.js → server-methods-CMznpteR.js} +26 -59
- package/dist/{server-methods-C2UnIkWU.js → server-methods-SRD683d-.js} +25 -58
- package/dist/{server-node-events-j4AWHS1m.js → server-node-events-CV6-B9Hg.js} +37 -37
- package/dist/{server-node-events-mBi614x_.js → server-node-events-x9VKUipR.js} +36 -36
- package/dist/{session-utils-0F9pB5d6.js → session-utils-BgILIwNf.js} +5 -5
- package/dist/{session-utils-i74hYiQl.js → session-utils-CZAshAsv.js} +5 -5
- package/dist/{sessions-DQMaURzb.js → sessions-C_xvI21O.js} +2 -2
- package/dist/{sessions-CC1W02Uv.js → sessions-DKoFrAAL.js} +4 -4
- package/dist/{sessions-7jk0D1BI.js → sessions-TVtiVSw4.js} +2 -2
- package/dist/{shared-4Z8Ut8Cs.js → shared-CPD46OzN.js} +3 -3
- package/dist/{shared-BIUt7Xoj.js → shared-iK9UaK0Y.js} +3 -3
- package/dist/{skill-commands-Cwrebyvj.js → skill-commands-5-5JJtVf.js} +3 -3
- package/dist/{skill-commands-DP1fshwh.js → skill-commands-CWvBRsds.js} +3 -3
- package/dist/{skill-commands-CEY0MdSm.js → skill-commands-DlbnDTRO.js} +3 -3
- package/dist/{skill-commands-DzodvMO3.js → skill-commands-Dy8IDORU.js} +3 -3
- package/dist/{skills-xmXjOnAV.js → skills-CSykGHmk.js} +2 -2
- package/dist/{skills-D0k4o0Ez.js → skills-D0hw3721.js} +1 -1
- package/dist/{skills-cli-BkIH3HKr.js → skills-cli-BZvDZu8v.js} +3 -3
- package/dist/{skills-cli-C6lNyNrs.js → skills-cli-BeJZwWJF.js} +3 -3
- package/dist/{skills-remote-DEkSSz2R.js → skills-remote-Dv9T079m.js} +1 -1
- package/dist/{skills-remote-Db5Wwr4s.js → skills-remote-Vz1dbWNB.js} +1 -1
- package/dist/{ssrf-Dcgaqg3U.js → ssrf-B09I40bf.js} +21 -127
- package/dist/{ssrf-BJZIZ4yo.js → ssrf-BEXdgoWo.js} +21 -127
- package/dist/{status-BtAHzMLu.js → status-BZHeQGF_.js} +3 -3
- package/dist/{status-BuHx0FXI.js → status-DMNL9Ga5.js} +12 -12
- package/dist/{status-FKqnkO3K.js → status-DRtu03r8.js} +13 -13
- package/dist/{status-MkJRgsTJ.js → status-JhT3liK_.js} +3 -3
- package/dist/{status.update-CN2XgChL.js → status.update-BOb9rNG9.js} +1 -1
- package/dist/{status.update-CQ1vKrEg.js → status.update-D3Q9PDtb.js} +1 -1
- package/dist/{subagent-registry-B1RgR3-0.js → subagent-registry-B9IxZkG5.js} +40 -40
- package/dist/{synthesis-DsYfiC2s.js → synthesis--06mqRPn.js} +16 -16
- package/dist/{synthesis-BtlmxJ7w.js → synthesis-B8Nvwbp_.js} +33 -33
- package/dist/{synthesis-BSUjIY0v.js → synthesis-BPwzKPQT.js} +34 -34
- package/dist/{synthesis-BEaISjwW.js → synthesis-DZT5Fkc5.js} +15 -15
- package/dist/{system-cli-CQiwHTRi.js → system-cli-B1eB5FoT.js} +5 -5
- package/dist/{system-cli-5_JOcUt0.js → system-cli-D74xDNa8.js} +5 -5
- package/dist/{systemd-hints-CeavseQh.js → systemd-hints-B0aT2ugu.js} +1 -1
- package/dist/{systemd-hints-CFvOucgp.js → systemd-hints-DDaidHXa.js} +1 -1
- package/dist/{tokens-CJgPtOxz.js → tokens-Dm_xa-oz.js} +1 -1
- package/dist/{tui-Bnusp3Vd.js → tui-CQAhT9c1.js} +6 -6
- package/dist/{tui-JznxMYj0.js → tui-C_cCiruf.js} +6 -6
- package/dist/{tui-cli-Cc_TS4LH.js → tui-cli-71uMNJfy.js} +12 -12
- package/dist/{tui-cli-BY8W9Yjm.js → tui-cli-CwbuVeHU.js} +12 -12
- package/dist/{unified-runner-Bn9vq7Zy.js → unified-runner-CMsoxWFP.js} +39 -39
- package/dist/{unified-runner-BPyxPZv9.js → unified-runner-quh_mYPi.js} +27 -27
- package/dist/{update-cli-DLx7LNVB.js → update-cli-Bg728CPt.js} +48 -48
- package/dist/{update-cli-BXtHo0ox.js → update-cli-dSJwPmKQ.js} +50 -50
- package/dist/{update-runner-C8L4XRQb.js → update-runner-BtZbVAdv.js} +1 -1
- package/dist/{update-runner-BGhhL2R8.js → update-runner-CAdnmZZ6.js} +1 -1
- package/dist/{webhooks-cli-Cb-KTyWa.js → webhooks-cli-C4_gK-VO.js} +3 -3
- package/dist/{webhooks-cli-CXbv4eB6.js → webhooks-cli-CdWRzSWK.js} +3 -3
- package/dist/{with-timeout-C0UtpXBj.js → with-timeout-C_GTWqlF.js} +1 -1
- package/dist/{with-timeout-BsavN1IH.js → with-timeout-Uhem6WU4.js} +1 -1
- package/dist/{workspace-dirs-B6EAh6SV.js → workspace-dirs-23IYtZj2.js} +1 -1
- package/dist/{workspace-dirs-gn_0yzFP.js → workspace-dirs-D5OnUmvw.js} +1 -1
- package/package.json +1 -1
- package/dist/control-ui/js/symipulse.js +0 -154
- package/dist/plugin-sdk/config/zod-schema.channels.d.ts +0 -6
|
@@ -378,13 +378,10 @@ function renderHistory(messages) {
|
|
|
378
378
|
feedCache.save(messages);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
// Clear reasoning
|
|
381
|
+
// Clear reasoning panel in sync with the feed — prevents double-entries on reconnect
|
|
382
382
|
if (typeof window.clearReasoningPanel === "function") {
|
|
383
383
|
window.clearReasoningPanel();
|
|
384
384
|
}
|
|
385
|
-
if (typeof window.clearSymipulsePanel === "function") {
|
|
386
|
-
window.clearSymipulsePanel();
|
|
387
|
-
}
|
|
388
385
|
responseArea.innerHTML = "";
|
|
389
386
|
responseArea.prepend(loadMoreSentinel);
|
|
390
387
|
for (const m of messages) {
|
|
@@ -414,21 +411,6 @@ function renderHistory(messages) {
|
|
|
414
411
|
continue;
|
|
415
412
|
}
|
|
416
413
|
|
|
417
|
-
// Route symipulse messages to dedicated Symipulse Panel
|
|
418
|
-
if (typeof window.isSymipulseMessage === "function" && window.isSymipulseMessage(m)) {
|
|
419
|
-
const txt = Array.isArray(m.content)
|
|
420
|
-
? m.content
|
|
421
|
-
.filter((b) => b.type === "text")
|
|
422
|
-
.map((b) => b.text ?? "")
|
|
423
|
-
.join("")
|
|
424
|
-
.trim()
|
|
425
|
-
: extractText(m.content).trim();
|
|
426
|
-
if (txt && typeof window.appendToSymipulsePanel === "function") {
|
|
427
|
-
window.appendToSymipulsePanel(txt, m.timestamp);
|
|
428
|
-
}
|
|
429
|
-
continue;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
414
|
// Route plugin context user messages to Reasoning Panel
|
|
433
415
|
if (m.role === "user") {
|
|
434
416
|
const txt = Array.isArray(m.content)
|
|
@@ -550,20 +532,6 @@ async function loadMoreHistory() {
|
|
|
550
532
|
if (m.role === "system") {
|
|
551
533
|
continue;
|
|
552
534
|
}
|
|
553
|
-
// Route symipulse messages to dedicated Symipulse Panel
|
|
554
|
-
if (typeof window.isSymipulseMessage === "function" && window.isSymipulseMessage(m)) {
|
|
555
|
-
const txt = Array.isArray(m.content)
|
|
556
|
-
? m.content
|
|
557
|
-
.filter((b) => b.type === "text")
|
|
558
|
-
.map((b) => b.text ?? "")
|
|
559
|
-
.join("")
|
|
560
|
-
.trim()
|
|
561
|
-
: extractText(m.content).trim();
|
|
562
|
-
if (txt && typeof window.appendToSymipulsePanel === "function") {
|
|
563
|
-
window.appendToSymipulsePanel(txt, m.timestamp);
|
|
564
|
-
}
|
|
565
|
-
continue;
|
|
566
|
-
}
|
|
567
535
|
|
|
568
536
|
// Route plugin context & verification user messages to Reasoning Panel
|
|
569
537
|
if (m.role === "user") {
|
|
@@ -639,19 +607,11 @@ function handleGatewayEvent(event) {
|
|
|
639
607
|
if (event.event === "agent") {
|
|
640
608
|
const a = event.payload;
|
|
641
609
|
if (a) {
|
|
642
|
-
// Skip heartbeat agent events — background maintenance runs should not
|
|
643
|
-
// trigger the working indicator or arm the watchdog. Without this guard,
|
|
644
|
-
// heartbeat tool events (exec, read) arm the watchdog, and when the
|
|
645
|
-
// heartbeat completes its "final" is routed to the symipulse panel
|
|
646
|
-
// without clearing the indicator — leaving the orb stuck in "working".
|
|
647
|
-
if (a.isHeartbeat) {
|
|
648
|
-
return;
|
|
649
|
-
}
|
|
650
610
|
// Cross-session filter: agent events for OTHER sessions (cron-fired
|
|
651
611
|
// channel runs, slack/msteams inbound, scheduled jobs) must not arm the
|
|
652
|
-
// user's watchdog. Without this guard, every background
|
|
653
|
-
//
|
|
654
|
-
//
|
|
612
|
+
// user's watchdog. Without this guard, every background run resets the
|
|
613
|
+
// watchdog and produces phantom "Run timed out" warnings when no
|
|
614
|
+
// follow-up event arrives within WATCHDOG_MS.
|
|
655
615
|
if (a.sessionKey && a.sessionKey !== window.SESSION_KEY) {
|
|
656
616
|
return;
|
|
657
617
|
}
|
|
@@ -703,18 +663,12 @@ function handleGatewayEvent(event) {
|
|
|
703
663
|
return;
|
|
704
664
|
}
|
|
705
665
|
|
|
706
|
-
|
|
707
|
-
// Even though chat:final/error/aborted handlers below have their own
|
|
708
|
-
// heartbeat early-returns, this top-level guard prevents Path A from
|
|
709
|
-
// re-arming the watchdog on heartbeat-tagged deltas/finals.
|
|
710
|
-
if (p.isHeartbeat) {
|
|
711
|
-
// Fall through to the per-state branches below so heartbeat finals can
|
|
712
|
-
// still be routed to the symipulse panel — but skip the watchdog re-arm.
|
|
713
|
-
} else if (p.runId && currentRunId && p.runId !== currentRunId) {
|
|
666
|
+
if (p.runId && currentRunId && p.runId !== currentRunId) {
|
|
714
667
|
// Cross-run chat event (e.g. cron-fired channel run, chat.injectMessage,
|
|
715
668
|
// late event from a finished run). Not relevant to the user's active turn.
|
|
716
669
|
return;
|
|
717
|
-
}
|
|
670
|
+
}
|
|
671
|
+
if (isStreaming) {
|
|
718
672
|
// Any chat event for our session and our run proves the agent is alive —
|
|
719
673
|
// reset watchdog.
|
|
720
674
|
armWatchdog();
|
|
@@ -728,9 +682,6 @@ function handleGatewayEvent(event) {
|
|
|
728
682
|
|
|
729
683
|
// Handle "thinking" state broadcast from gateway (agent started processing)
|
|
730
684
|
if (p.state === "thinking") {
|
|
731
|
-
if (p.isHeartbeat) {
|
|
732
|
-
return; // Heartbeat thinking events never touch user UI
|
|
733
|
-
}
|
|
734
685
|
if (p.runId && currentRunId && p.runId !== currentRunId) {
|
|
735
686
|
return; // Cross-run thinking event
|
|
736
687
|
}
|
|
@@ -744,18 +695,6 @@ function handleGatewayEvent(event) {
|
|
|
744
695
|
}
|
|
745
696
|
|
|
746
697
|
if (p.state === "delta") {
|
|
747
|
-
// Route heartbeat/symipulse deltas to dedicated panel
|
|
748
|
-
if (p.isHeartbeat) {
|
|
749
|
-
const text = extractText(p.message);
|
|
750
|
-
if (text && typeof window.appendToSymipulsePanel === "function") {
|
|
751
|
-
window.appendToSymipulsePanel(text, Date.now());
|
|
752
|
-
}
|
|
753
|
-
if (typeof window.setSymipulseLiveDot === "function") {
|
|
754
|
-
window.setSymipulseLiveDot(true);
|
|
755
|
-
}
|
|
756
|
-
return;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
698
|
// Capture runId on first delta so abort can target the exact run
|
|
760
699
|
if (p.runId && !currentRunId) {
|
|
761
700
|
currentRunId = p.runId;
|
|
@@ -782,34 +721,6 @@ function handleGatewayEvent(event) {
|
|
|
782
721
|
window.updateLiveThinking(thinkingText);
|
|
783
722
|
}
|
|
784
723
|
} else if (p.state === "final") {
|
|
785
|
-
// Route heartbeat/symipulse finals to dedicated panel.
|
|
786
|
-
// Check server flag first, then fall back to regex classifier for
|
|
787
|
-
// edge cases where the flag is missing (e.g. older gateway versions).
|
|
788
|
-
const finalMsg = p.message?.content ? p.message : { role: "assistant", content: p.message };
|
|
789
|
-
if (
|
|
790
|
-
p.isHeartbeat ||
|
|
791
|
-
(typeof window.isSymipulseMessage === "function" && window.isSymipulseMessage(finalMsg))
|
|
792
|
-
) {
|
|
793
|
-
const text = extractText(p.message?.content ?? p.message);
|
|
794
|
-
if (text && typeof window.appendToSymipulsePanel === "function") {
|
|
795
|
-
window.appendToSymipulsePanel(text, Date.now());
|
|
796
|
-
}
|
|
797
|
-
if (typeof window.setSymipulseLiveDot === "function") {
|
|
798
|
-
window.setSymipulseLiveDot(false);
|
|
799
|
-
}
|
|
800
|
-
// Clean up any stream bubble that was opened before detection
|
|
801
|
-
if (streamBubble) {
|
|
802
|
-
streamBubble.closest(".message")?.remove();
|
|
803
|
-
streamBubble = null;
|
|
804
|
-
streamContent = null;
|
|
805
|
-
}
|
|
806
|
-
if (thinkingEl) {
|
|
807
|
-
thinkingEl.remove();
|
|
808
|
-
thinkingEl = null;
|
|
809
|
-
}
|
|
810
|
-
return;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
724
|
stopElapsedTimer();
|
|
814
725
|
clearWatchdog();
|
|
815
726
|
if (typeof window.closeLiveThinking === "function") {
|
|
@@ -864,10 +775,6 @@ function handleGatewayEvent(event) {
|
|
|
864
775
|
enableInput();
|
|
865
776
|
drainQueue();
|
|
866
777
|
} else if (p.state === "aborted") {
|
|
867
|
-
// Silently ignore heartbeat aborts — don't touch user-run state
|
|
868
|
-
if (p.isHeartbeat) {
|
|
869
|
-
return;
|
|
870
|
-
}
|
|
871
778
|
// Clean abort (user-initiated or model decided to stop) — not an error
|
|
872
779
|
stopElapsedTimer();
|
|
873
780
|
clearWatchdog();
|
|
@@ -890,10 +797,6 @@ function handleGatewayEvent(event) {
|
|
|
890
797
|
enableInput();
|
|
891
798
|
drainQueue();
|
|
892
799
|
} else if (p.state === "error") {
|
|
893
|
-
// Silently ignore heartbeat errors — don't inject error bubbles for background runs
|
|
894
|
-
if (p.isHeartbeat) {
|
|
895
|
-
return;
|
|
896
|
-
}
|
|
897
800
|
// Server-reported error — route through unified failure handler.
|
|
898
801
|
// The gateway emits the diagnostic at top-level `errorMessage`
|
|
899
802
|
// (camelCase); fall back to nested `error.message` for forward-compat
|
|
@@ -777,11 +777,6 @@ window.renderMessage = function (message) {
|
|
|
777
777
|
.trim()
|
|
778
778
|
: extractText(content).trim();
|
|
779
779
|
|
|
780
|
-
// Symipulse messages → routed to Symipulse Panel by caller; guard here as safety net
|
|
781
|
-
if (typeof window.isSymipulseMessage === "function" && window.isSymipulseMessage(message)) {
|
|
782
|
-
return null;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
780
|
// NOTE: Monologue suppression moved server-side to OutputNormalizer.
|
|
786
781
|
|
|
787
782
|
// Plugin context messages (e.g. "[Outlook 365] Not connected...")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Q as theme, V as danger, X as colorize, Z as isRich, _ as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-Bs5D0GUv.js";
|
|
3
3
|
import { u as sanitizeAgentId } from "./session-key-BfskPVEs.js";
|
|
4
4
|
import "./exec-B6oWJSJW.js";
|
|
5
|
-
import "./agent-scope-
|
|
5
|
+
import "./agent-scope-B6p555mP.js";
|
|
6
6
|
import "./github-copilot-token-a6a53zx_.js";
|
|
7
7
|
import "./manifest-registry-BshGdYwm.js";
|
|
8
|
-
import "./config-
|
|
8
|
+
import "./config-CVMQkipH.js";
|
|
9
9
|
import "./client-CAz5aPpp.js";
|
|
10
|
-
import "./call-
|
|
10
|
+
import "./call-BDC211Sd.js";
|
|
11
11
|
import "./message-channel-CNPAq1Tl.js";
|
|
12
12
|
import "./pairing-token-Bnr7QjVF.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-Bq-Msc8Z.js";
|
|
@@ -15,7 +15,7 @@ import { n as formatDurationHuman } from "./format-duration-DbZRICyO.js";
|
|
|
15
15
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-C2kEx8j9.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
17
17
|
import "./progress-C4ck6JXh.js";
|
|
18
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
18
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BnGjn5ao.js";
|
|
19
19
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DCwtPrez.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -2,26 +2,26 @@ import { A as isRich, b as danger, j as theme, k as colorize } from "./registry-
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { u as sanitizeAgentId } from "./session-key-B_ZVH1kE.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-DIjW66iO.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import "./config-
|
|
12
|
+
import "./config-C5Ztbpa2.js";
|
|
13
13
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
14
14
|
import "./message-channel-C_V8IAYx.js";
|
|
15
15
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
16
16
|
import "./client-ZZqt0H0-.js";
|
|
17
|
-
import "./call-
|
|
17
|
+
import "./call-uEbo7Orp.js";
|
|
18
18
|
import "./pairing-token-CURbSHdi.js";
|
|
19
19
|
import { n as formatDurationHuman } from "./format-duration-DbZRICyO.js";
|
|
20
20
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-BhvnarfO.js";
|
|
21
21
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
22
22
|
import "./progress-CyPyGCDn.js";
|
|
23
23
|
import { n as parsePositiveIntOrUndefined } from "./helpers-BER76F_2.js";
|
|
24
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
24
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BuXF5p-F.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/cron-cli/shared.ts
|
|
27
27
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Lt as shortenHomePath, Q as theme, X as colorize, Z as isRich, _ as defaultRuntime, ct as resolveConfigPath, ft as resolveGatewayPort, pt as resolveIsNixMode, tt as getResolvedLoggerSettings, vt as resolveStateDir } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
4
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
4
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-CVMQkipH.js";
|
|
5
|
+
import { n as callGateway } from "./call-BDC211Sd.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CNPAq1Tl.js";
|
|
7
7
|
import { l as resolveGatewayBindHost } from "./net-DZ5Ayk-W.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Cmumpn76.js";
|
|
@@ -12,12 +12,12 @@ import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceN
|
|
|
12
12
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
13
13
|
import { n as withProgress } from "./progress-C4ck6JXh.js";
|
|
14
14
|
import { n as inheritOptionFromParent } from "./command-options-BtJGezJl.js";
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CCIiGZsG.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-DU7-6FKZ.js";
|
|
17
17
|
import { n as isWSLEnv } from "./wsl-DehumVkT.js";
|
|
18
18
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
19
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
20
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
19
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-flVPkttM.js";
|
|
20
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DDaidHXa.js";
|
|
21
21
|
import { t as parsePort } from "./parse-port-DQ6H4gFT.js";
|
|
22
22
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DELEpbg2.js";
|
|
23
23
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-34eBJ_Nm.js";
|
|
@@ -4,23 +4,23 @@ import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u
|
|
|
4
4
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
7
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-C5Ztbpa2.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-LYvn9g3I.js";
|
|
9
9
|
import { u as resolveGatewayBindHost } from "./ws-CahTJvD6.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-BbwD4lRX.js";
|
|
11
11
|
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-DqxP-bXz.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
13
|
-
import { n as callGateway } from "./call-
|
|
13
|
+
import { n as callGateway } from "./call-uEbo7Orp.js";
|
|
14
14
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-DsZw7bas.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
16
16
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
17
17
|
import { n as inheritOptionFromParent } from "./command-options-ChiIn6Na.js";
|
|
18
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
19
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
18
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DGcALfeE.js";
|
|
19
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-KK8MYq1e.js";
|
|
20
20
|
import { n as isWSLEnv } from "./wsl-ZWGwnnKI.js";
|
|
21
21
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-AP9pR9R5.js";
|
|
22
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
23
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
22
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-BhmX7dfP.js";
|
|
23
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-B0aT2ugu.js";
|
|
24
24
|
import { t as parsePort } from "./parse-port-CykvIgQu.js";
|
|
25
25
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DxdqTfpW.js";
|
|
26
26
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BDzd6yBs.js";
|
package/dist/daemon-cli.js
CHANGED
|
@@ -1439,16 +1439,6 @@ const state = (() => {
|
|
|
1439
1439
|
//#region src/channels/registry.ts
|
|
1440
1440
|
const CHAT_CHANNEL_ORDER = ["slack"];
|
|
1441
1441
|
const CHANNEL_IDS = [...CHAT_CHANNEL_ORDER];
|
|
1442
|
-
const CHAT_CHANNEL_ALIASES = {};
|
|
1443
|
-
const normalizeChannelKey = (raw) => {
|
|
1444
|
-
return raw?.trim().toLowerCase() || void 0;
|
|
1445
|
-
};
|
|
1446
|
-
function normalizeChatChannelId(raw) {
|
|
1447
|
-
const normalized = normalizeChannelKey(raw);
|
|
1448
|
-
if (!normalized) return null;
|
|
1449
|
-
const resolved = CHAT_CHANNEL_ALIASES[normalized] ?? normalized;
|
|
1450
|
-
return CHAT_CHANNEL_ORDER.includes(resolved) ? resolved : null;
|
|
1451
|
-
}
|
|
1452
1442
|
|
|
1453
1443
|
//#endregion
|
|
1454
1444
|
//#region src/terminal/ansi.ts
|
|
@@ -2155,7 +2145,6 @@ function resolveAgentConfig(cfg, agentId) {
|
|
|
2155
2145
|
skills: Array.isArray(entry.skills) ? entry.skills : void 0,
|
|
2156
2146
|
memorySearch: entry.memorySearch,
|
|
2157
2147
|
humanDelay: entry.humanDelay,
|
|
2158
|
-
heartbeat: entry.heartbeat,
|
|
2159
2148
|
identity: entry.identity,
|
|
2160
2149
|
groupChat: entry.groupChat,
|
|
2161
2150
|
subagents: typeof entry.subagents === "object" && entry.subagents ? entry.subagents : void 0,
|
|
@@ -4861,22 +4850,6 @@ function validateJsonSchemaValue(params) {
|
|
|
4861
4850
|
};
|
|
4862
4851
|
}
|
|
4863
4852
|
|
|
4864
|
-
//#endregion
|
|
4865
|
-
//#region src/cli/parse-duration.ts
|
|
4866
|
-
function parseDurationMs(raw, opts) {
|
|
4867
|
-
const trimmed = String(raw ?? "").trim().toLowerCase();
|
|
4868
|
-
if (!trimmed) throw new Error("invalid duration (empty)");
|
|
4869
|
-
const m = /^(\d+(?:\.\d+)?)(ms|s|m|h|d)?$/.exec(trimmed);
|
|
4870
|
-
if (!m) throw new Error(`invalid duration: ${raw}`);
|
|
4871
|
-
const value = Number(m[1]);
|
|
4872
|
-
if (!Number.isFinite(value) || value < 0) throw new Error(`invalid duration: ${raw}`);
|
|
4873
|
-
const unit = m[2] ?? opts?.defaultUnit ?? "ms";
|
|
4874
|
-
const multiplier = unit === "ms" ? 1 : unit === "s" ? 1e3 : unit === "m" ? 6e4 : unit === "h" ? 36e5 : 864e5;
|
|
4875
|
-
const ms = Math.round(value * multiplier);
|
|
4876
|
-
if (!Number.isFinite(ms)) throw new Error(`invalid duration: ${raw}`);
|
|
4877
|
-
return ms;
|
|
4878
|
-
}
|
|
4879
|
-
|
|
4880
4853
|
//#endregion
|
|
4881
4854
|
//#region src/config/zod-schema.agent-model.ts
|
|
4882
4855
|
const AgentModelSchema = z.union([z.string(), z.object({
|
|
@@ -5282,65 +5255,6 @@ const ProviderCommandsSchema = z.object({
|
|
|
5282
5255
|
|
|
5283
5256
|
//#endregion
|
|
5284
5257
|
//#region src/config/zod-schema.agent-runtime.ts
|
|
5285
|
-
const HeartbeatSchema = z.object({
|
|
5286
|
-
every: z.string().optional(),
|
|
5287
|
-
activeHours: z.object({
|
|
5288
|
-
start: z.string().optional(),
|
|
5289
|
-
end: z.string().optional(),
|
|
5290
|
-
timezone: z.string().optional()
|
|
5291
|
-
}).strict().optional(),
|
|
5292
|
-
model: z.string().optional(),
|
|
5293
|
-
session: z.string().optional(),
|
|
5294
|
-
includeReasoning: z.boolean().optional(),
|
|
5295
|
-
target: z.string().optional(),
|
|
5296
|
-
to: z.string().optional(),
|
|
5297
|
-
accountId: z.string().optional(),
|
|
5298
|
-
prompt: z.string().optional(),
|
|
5299
|
-
ackMaxChars: z.number().int().nonnegative().optional(),
|
|
5300
|
-
suppressToolErrorWarnings: z.boolean().optional()
|
|
5301
|
-
}).strict().superRefine((val, ctx) => {
|
|
5302
|
-
if (!val.every) return;
|
|
5303
|
-
try {
|
|
5304
|
-
parseDurationMs(val.every, { defaultUnit: "m" });
|
|
5305
|
-
} catch {
|
|
5306
|
-
ctx.addIssue({
|
|
5307
|
-
code: z.ZodIssueCode.custom,
|
|
5308
|
-
path: ["every"],
|
|
5309
|
-
message: "invalid duration (use ms, s, m, h)"
|
|
5310
|
-
});
|
|
5311
|
-
}
|
|
5312
|
-
const active = val.activeHours;
|
|
5313
|
-
if (!active) return;
|
|
5314
|
-
const timePattern = /^([01]\d|2[0-3]|24):([0-5]\d)$/;
|
|
5315
|
-
const validateTime = (raw, opts, path) => {
|
|
5316
|
-
if (!raw) return;
|
|
5317
|
-
if (!timePattern.test(raw)) {
|
|
5318
|
-
ctx.addIssue({
|
|
5319
|
-
code: z.ZodIssueCode.custom,
|
|
5320
|
-
path: ["activeHours", path],
|
|
5321
|
-
message: "invalid time (use \"HH:MM\" 24h format)"
|
|
5322
|
-
});
|
|
5323
|
-
return;
|
|
5324
|
-
}
|
|
5325
|
-
const [hourStr, minuteStr] = raw.split(":");
|
|
5326
|
-
const hour = Number(hourStr);
|
|
5327
|
-
if (hour === 24 && Number(minuteStr) !== 0) {
|
|
5328
|
-
ctx.addIssue({
|
|
5329
|
-
code: z.ZodIssueCode.custom,
|
|
5330
|
-
path: ["activeHours", path],
|
|
5331
|
-
message: "invalid time (24:00 is the only allowed 24:xx value)"
|
|
5332
|
-
});
|
|
5333
|
-
return;
|
|
5334
|
-
}
|
|
5335
|
-
if (hour === 24 && !opts.allow24) ctx.addIssue({
|
|
5336
|
-
code: z.ZodIssueCode.custom,
|
|
5337
|
-
path: ["activeHours", path],
|
|
5338
|
-
message: "invalid time (start cannot be 24:00)"
|
|
5339
|
-
});
|
|
5340
|
-
};
|
|
5341
|
-
validateTime(active.start, { allow24: false }, "start");
|
|
5342
|
-
validateTime(active.end, { allow24: true }, "end");
|
|
5343
|
-
}).optional();
|
|
5344
5258
|
const SandboxDockerSchema = z.object({
|
|
5345
5259
|
image: z.string().optional(),
|
|
5346
5260
|
containerPrefix: z.string().optional(),
|
|
@@ -5692,7 +5606,6 @@ const AgentEntrySchema = z.object({
|
|
|
5692
5606
|
skills: z.array(z.string()).optional(),
|
|
5693
5607
|
memorySearch: MemorySearchSchema,
|
|
5694
5608
|
humanDelay: HumanDelaySchema.optional(),
|
|
5695
|
-
heartbeat: HeartbeatSchema,
|
|
5696
5609
|
identity: IdentitySchema,
|
|
5697
5610
|
groupChat: GroupChatSchema,
|
|
5698
5611
|
subagents: z.object({
|
|
@@ -5851,7 +5764,6 @@ const AgentDefaultsSchema = z.object({
|
|
|
5851
5764
|
z.literal("thinking"),
|
|
5852
5765
|
z.literal("message")
|
|
5853
5766
|
]).optional(),
|
|
5854
|
-
heartbeat: HeartbeatSchema,
|
|
5855
5767
|
maxConcurrent: z.number().int().positive().optional(),
|
|
5856
5768
|
subagents: z.object({
|
|
5857
5769
|
maxConcurrent: z.number().int().positive().optional(),
|
|
@@ -6037,14 +5949,6 @@ const HooksGmailSchema = z.object({
|
|
|
6037
5949
|
]).optional()
|
|
6038
5950
|
}).strict().optional();
|
|
6039
5951
|
|
|
6040
|
-
//#endregion
|
|
6041
|
-
//#region src/config/zod-schema.channels.ts
|
|
6042
|
-
const ChannelHeartbeatVisibilitySchema = z.object({
|
|
6043
|
-
showOk: z.boolean().optional(),
|
|
6044
|
-
showAlerts: z.boolean().optional(),
|
|
6045
|
-
useIndicator: z.boolean().optional()
|
|
6046
|
-
}).strict().optional();
|
|
6047
|
-
|
|
6048
5952
|
//#endregion
|
|
6049
5953
|
//#region src/config/zod-schema.providers-core.ts
|
|
6050
5954
|
const ToolPolicyBySenderSchema = z.record(z.string(), ToolPolicySchema).optional();
|
|
@@ -6199,7 +6103,6 @@ const SlackAccountSchema = z.object({
|
|
|
6199
6103
|
defaultTo: z.string().optional(),
|
|
6200
6104
|
dm: SlackDmSchema.optional(),
|
|
6201
6105
|
channels: z.record(z.string(), SlackChannelSchema.optional()).optional(),
|
|
6202
|
-
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
6203
6106
|
responsePrefix: z.string().optional(),
|
|
6204
6107
|
ackReaction: z.string().optional()
|
|
6205
6108
|
}).strict().superRefine((value, ctx) => {
|
|
@@ -6287,7 +6190,6 @@ const IrcAccountSchemaBase = z.object({
|
|
|
6287
6190
|
blockStreaming: z.boolean().optional(),
|
|
6288
6191
|
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
|
|
6289
6192
|
mediaMaxMb: z.number().positive().optional(),
|
|
6290
|
-
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
6291
6193
|
responsePrefix: z.string().optional()
|
|
6292
6194
|
}).strict();
|
|
6293
6195
|
function refineIrcAllowFromAndNickserv(value, ctx) {
|
|
@@ -6353,7 +6255,6 @@ const BlueBubblesAccountSchemaBase = z.object({
|
|
|
6353
6255
|
blockStreaming: z.boolean().optional(),
|
|
6354
6256
|
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
|
|
6355
6257
|
groups: z.record(z.string(), BlueBubblesGroupConfigSchema.optional()).optional(),
|
|
6356
|
-
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
6357
6258
|
responsePrefix: z.string().optional()
|
|
6358
6259
|
}).strict();
|
|
6359
6260
|
const BlueBubblesAccountSchema = BlueBubblesAccountSchemaBase.superRefine((value, ctx) => {
|
|
@@ -6420,7 +6321,6 @@ const MSTeamsConfigSchema = z.object({
|
|
|
6420
6321
|
teams: z.record(z.string(), MSTeamsTeamSchema.optional()).optional(),
|
|
6421
6322
|
mediaMaxMb: z.number().positive().optional(),
|
|
6422
6323
|
sharePointSiteId: z.string().optional(),
|
|
6423
|
-
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
6424
6324
|
responsePrefix: z.string().optional()
|
|
6425
6325
|
}).strict().superRefine((value, ctx) => {
|
|
6426
6326
|
requireOpenAllowFrom({
|
|
@@ -6436,10 +6336,7 @@ const MSTeamsConfigSchema = z.object({
|
|
|
6436
6336
|
//#region src/config/zod-schema.providers.ts
|
|
6437
6337
|
const ChannelModelByChannelSchema = z.record(z.string(), z.record(z.string(), z.string())).optional();
|
|
6438
6338
|
const ChannelsSchema = z.object({
|
|
6439
|
-
defaults: z.object({
|
|
6440
|
-
groupPolicy: GroupPolicySchema.optional(),
|
|
6441
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
6442
|
-
}).strict().optional(),
|
|
6339
|
+
defaults: z.object({ groupPolicy: GroupPolicySchema.optional() }).strict().optional(),
|
|
6443
6340
|
modelByChannel: ChannelModelByChannelSchema,
|
|
6444
6341
|
irc: IrcConfigSchema.optional(),
|
|
6445
6342
|
googlechat: GoogleChatConfigSchema.optional(),
|
|
@@ -6475,6 +6372,22 @@ function parseByteSize(raw, opts) {
|
|
|
6475
6372
|
return bytes;
|
|
6476
6373
|
}
|
|
6477
6374
|
|
|
6375
|
+
//#endregion
|
|
6376
|
+
//#region src/cli/parse-duration.ts
|
|
6377
|
+
function parseDurationMs(raw, opts) {
|
|
6378
|
+
const trimmed = String(raw ?? "").trim().toLowerCase();
|
|
6379
|
+
if (!trimmed) throw new Error("invalid duration (empty)");
|
|
6380
|
+
const m = /^(\d+(?:\.\d+)?)(ms|s|m|h|d)?$/.exec(trimmed);
|
|
6381
|
+
if (!m) throw new Error(`invalid duration: ${raw}`);
|
|
6382
|
+
const value = Number(m[1]);
|
|
6383
|
+
if (!Number.isFinite(value) || value < 0) throw new Error(`invalid duration: ${raw}`);
|
|
6384
|
+
const unit = m[2] ?? opts?.defaultUnit ?? "ms";
|
|
6385
|
+
const multiplier = unit === "ms" ? 1 : unit === "s" ? 1e3 : unit === "m" ? 6e4 : unit === "h" ? 36e5 : 864e5;
|
|
6386
|
+
const ms = Math.round(value * multiplier);
|
|
6387
|
+
if (!Number.isFinite(ms)) throw new Error(`invalid duration: ${raw}`);
|
|
6388
|
+
return ms;
|
|
6389
|
+
}
|
|
6390
|
+
|
|
6478
6391
|
//#endregion
|
|
6479
6392
|
//#region src/config/zod-schema.session.ts
|
|
6480
6393
|
const SessionResetConfigSchema = z.object({
|
|
@@ -7214,36 +7127,6 @@ function validateConfigObjectWithPluginsBase(raw, opts) {
|
|
|
7214
7127
|
message: `unknown channel id: ${trimmed}`
|
|
7215
7128
|
});
|
|
7216
7129
|
}
|
|
7217
|
-
const heartbeatChannelIds = /* @__PURE__ */ new Set();
|
|
7218
|
-
for (const channelId of CHANNEL_IDS) heartbeatChannelIds.add(channelId.toLowerCase());
|
|
7219
|
-
const validateHeartbeatTarget = (target, path) => {
|
|
7220
|
-
if (typeof target !== "string") return;
|
|
7221
|
-
const trimmed = target.trim();
|
|
7222
|
-
if (!trimmed) {
|
|
7223
|
-
issues.push({
|
|
7224
|
-
path,
|
|
7225
|
-
message: "heartbeat target must not be empty"
|
|
7226
|
-
});
|
|
7227
|
-
return;
|
|
7228
|
-
}
|
|
7229
|
-
const normalized = trimmed.toLowerCase();
|
|
7230
|
-
if (normalized === "last" || normalized === "none") return;
|
|
7231
|
-
if (normalizeChatChannelId(trimmed)) return;
|
|
7232
|
-
if (!heartbeatChannelIds.has(normalized)) {
|
|
7233
|
-
const { registry } = ensureRegistry();
|
|
7234
|
-
for (const record of registry.plugins) for (const channelId of record.channels) {
|
|
7235
|
-
const pluginChannel = channelId.trim();
|
|
7236
|
-
if (pluginChannel) heartbeatChannelIds.add(pluginChannel.toLowerCase());
|
|
7237
|
-
}
|
|
7238
|
-
}
|
|
7239
|
-
if (heartbeatChannelIds.has(normalized)) return;
|
|
7240
|
-
issues.push({
|
|
7241
|
-
path,
|
|
7242
|
-
message: `unknown heartbeat target: ${target}`
|
|
7243
|
-
});
|
|
7244
|
-
};
|
|
7245
|
-
validateHeartbeatTarget(config.agents?.defaults?.heartbeat?.target, "agents.defaults.heartbeat.target");
|
|
7246
|
-
if (Array.isArray(config.agents?.list)) for (const [index, entry] of config.agents.list.entries()) validateHeartbeatTarget(entry?.heartbeat?.target, `agents.list.${index}.heartbeat.target`);
|
|
7247
7130
|
if (!hasExplicitPluginsConfig) {
|
|
7248
7131
|
if (issues.length > 0) return {
|
|
7249
7132
|
ok: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
2
|
-
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-
|
|
2
|
+
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-CVMQkipH.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-C0e51aio.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-p4-FMx0l.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
2
|
-
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-
|
|
2
|
+
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-C5Ztbpa2.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-DsZw7bas.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-BZ3_1QqS.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Gt as triggerInternalHook, M as getActivePluginRegistry, Ut as createInternalHookEvent, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
3
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-TVtiVSw4.js";
|
|
4
4
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
5
5
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BySyfaEr.js";
|
|
6
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
6
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Bk3321gv.js";
|
|
7
7
|
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-K3kGchJA.js";
|
|
8
8
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-nheCYaMd.js";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { H as createInternalHookEvent, W as triggerInternalHook, d as getActivePluginRegistry } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
4
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
4
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-C_xvI21O.js";
|
|
5
5
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
6
6
|
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BKbemuIk.js";
|
|
7
7
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DQGU0F8t.js";
|
|
8
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-BnDnugq3.js";
|
|
9
9
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-DDs84baU.js";
|
|
10
10
|
|
|
11
11
|
//#region src/plugins/hooks.ts
|