@symerian/symi 3.3.0 → 3.3.2
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-B2IkIBj2.js → agent-BED0HDsS.js} +2 -5
- package/dist/{agent-BrIHHGnC.js → agent-pDOR_idq.js} +25 -28
- package/dist/{agent-scope-2la27US0.js → agent-scope-B_oqIiaD.js} +6 -6
- package/dist/{agents-B57SUSPt.js → agents-mZX2a3hp.js} +2 -2
- package/dist/{agents.config-COMcEDAk.js → agents.config-B_LFeRQS.js} +3 -3
- package/dist/{audit-B58SlbPa.js → audit-B_HL4UJ_.js} +26 -26
- package/dist/{auth-CC9_WXMi.js → auth-BbwD4lRX.js} +3 -3
- package/dist/{auth-choice-B6iYCDVN.js → auth-choice-BgCnInKE.js} +9 -9
- package/dist/{auth-choice-Z1qCZxwg.js → auth-choice-nKtOJ3wF.js} +1 -1
- package/dist/{auth-profiles-8vSEr9B4.js → auth-profiles-CPlXilKu.js} +9 -9
- package/dist/{auth-profiles-CZTGpbyT.js → auth-profiles-duUuQXeC.js} +2 -2
- package/dist/{auth-token-DpYUPTNG.js → auth-token-DTj2WrbV.js} +3 -3
- package/dist/{banner-QsnCDxXH.js → banner-C2jUZyMq.js} +1 -1
- package/dist/{bindings-CiRAK4tH.js → bindings-9LSA3Jr1.js} +2 -2
- package/dist/{bonjour-discovery-lp5P_YUR.js → bonjour-discovery-CU1mz7AC.js} +3 -3
- package/dist/{browser-cli-_9G3GBJS.js → browser-cli-C-Q0t9y_.js} +28 -28
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +28 -31
- package/dist/bundled/bootstrap-extra-files/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +27 -27
- package/dist/{call-DLBaLOHo.js → call-Du4CT1Hp.js} +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-CNZxYA15.js → catalog-BEREnWaa.js} +4 -4
- package/dist/{channel-options-DckWOMWG.js → channel-options-DBKd8H2k.js} +5 -5
- package/dist/{channel-options-Cj-xJAMD.js → channel-options-DRzIcaL1.js} +1 -1
- package/dist/{channel-selection-BGtIUbFL.js → channel-selection-BvIcXQLj.js} +2 -2
- package/dist/{channels-cli-Y8CGJ_qQ.js → channels-cli-CdfROBlW.js} +95 -95
- package/dist/{channels-cli-CIq4PFA0.js → channels-cli-CxUB3oX1.js} +10 -10
- package/dist/{channels-status-issues-rRBNHH7B.js → channels-status-issues-DC8vgOMo.js} +1 -1
- package/dist/{chrome-BgQbis3t.js → chrome-CejiigNy.js} +2 -2
- package/dist/{chrome-sQI2Ex5S.js → chrome-owBWinlj.js} +7 -7
- package/dist/{chunk-CKgSHf7u.js → chunk-DQGU0F8t.js} +2 -2
- package/dist/{clack-prompter-CR9tYooX.js → clack-prompter-CWQQn_CK.js} +5 -5
- package/dist/{cli--omJsLkl.js → cli-CzEP9cIM.js} +7 -7
- package/dist/cli-DWcoPSRG.js +128 -0
- package/dist/{client-D8iTVY4F.js → client-ZZqt0H0-.js} +7 -7
- package/dist/{clipboard-C9NQe8TV.js → clipboard-McRwF3r0.js} +1 -1
- package/dist/{command-registry-bozDt85D.js → command-registry-5O5dCHsD.js} +10 -10
- package/dist/{commands-sNCgvbpu.js → commands-B3UrgxIz.js} +2 -2
- package/dist/{commands-registry-CRkL6mTz.js → commands-registry-DaPrWQSe.js} +3 -3
- package/dist/{commands-registry-DXK4Ortm.js → commands-registry-W2GQIywv.js} +6 -6
- package/dist/{completion-cli-FXkVKM19.js → completion-cli-D4wYjxBG.js} +5 -5
- package/dist/{completion-cli-9qQYFUPk.js → completion-cli-DqrFJhG4.js} +2 -2
- package/dist/{config-fTqqDRAc.js → config-CphS_6eg.js} +9 -9
- package/dist/{config-cli-BexhS7Qb.js → config-cli-BE2vvf40.js} +15 -15
- package/dist/{config-cli-C3D7beGW.js → config-cli-CfA5xnD-.js} +1 -1
- package/dist/{config-guard-IteQa1rq.js → config-guard-B5BwQ-AP.js} +23 -23
- package/dist/{config-validation-B05t9fma.js → config-validation-A2rXGvVY.js} +2 -2
- package/dist/{configure-0e3ty1G9.js → configure-CPY4n9mx.js} +26 -26
- package/dist/{configure-BWXNd2TO.js → configure-DYDsHAWF.js} +2 -2
- package/dist/{consolidate-BaeR2tIX.js → consolidate-7Usm-b2g.js} +5 -5
- package/dist/{control-service-BDMq-0pg.js → control-service-CMVDL3Yl.js} +5 -5
- package/dist/{control-ui-assets-muBwnb6-.js → control-ui-assets-DUhvOLUL.js} +4 -4
- package/dist/{conversation-label-B4d5pKXr.js → conversation-label-CS5Zjc4w.js} +1 -1
- package/dist/{conversation-label-WjwKgn7n.js → conversation-label-tLwAlqLf.js} +1 -1
- package/dist/{cron-cli-DvDr2Uxo.js → cron-cli-DR4W075u.js} +21 -21
- package/dist/{daemon-cli-DiLogoCM.js → daemon-cli-B__05b-d.js} +21 -21
- package/dist/{daemon-runtime-C3dBpZhs.js → daemon-runtime-BD-3XS8R.js} +4 -4
- package/dist/{deliver-B_Fv-dS9.js → deliver-63FtOVMC.js} +8 -8
- package/dist/{deliver-B_jXI55b.js → deliver-BY0HHHHB.js} +18 -18
- package/dist/{deliver-CRqS1O8w.js → deliver-DcP6aVt4.js} +1 -1
- package/dist/{deliver-B_Gz2_tA.js → deliver-i5knkyHl.js} +1 -1
- package/dist/{delivery-queue-CeY346SK.js → delivery-queue-DDs84baU.js} +2 -2
- package/dist/{deps-Du8ZcRHN.js → deps-DD_ZCq3v.js} +1 -1
- package/dist/{devices-cli-BFPrh5bu.js → devices-cli-CJom2K8b.js} +19 -19
- package/dist/{diagnostic-oeL366QK.js → diagnostic-CwF3MnBL.js} +1 -1
- package/dist/{diagnostics-3x3usVgE.js → diagnostics-DxdqTfpW.js} +1 -1
- package/dist/{directory-cli-BUBucKQI.js → directory-cli-BwhEj1FE.js} +19 -19
- package/dist/{dm-policy-shared-BcXoqtVd.js → dm-policy-shared-C1TQOlkZ.js} +2 -2
- package/dist/{dns-cli-B6QTNBXV.js → dns-cli-DzQDEQM2.js} +17 -17
- package/dist/{dock-n_MeJBcj.js → dock-CnGWTXL4.js} +3 -3
- package/dist/{docs-cli-C2xEH6jC.js → docs-cli--T-77Ujn.js} +13 -13
- package/dist/{doctor-completion-K1dL1s3P.js → doctor-completion-C6M7eRb_.js} +4 -4
- package/dist/{doctor-completion-CcHk8myN.js → doctor-completion-DkwAZ_yS.js} +1 -1
- package/dist/{doctor-config-flow-Dl08K6Q3.js → doctor-config-flow-4UT3396o.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{env-B7UUyzd_.js → env-B97Ms861.js} +2 -2
- package/dist/{errors-BgCjRT2k.js → errors-BkfLlDKo.js} +1 -1
- package/dist/{errors-CBVhQiQ9.js → errors-Z-WkF18Q.js} +1 -1
- package/dist/{exec-BcvUYCcV.js → exec-DKyLtSjm.js} +2 -2
- package/dist/{exec-approvals-BWtVKlN2.js → exec-approvals-CZOc8M5w.js} +3 -3
- package/dist/{exec-approvals-cli-SDF4LICf.js → exec-approvals-cli-D-MLmhzh.js} +25 -25
- package/dist/extensionAPI.js +5 -5
- package/dist/{fetch-guard-BWofyagX.js → fetch-guard-DG6T0ZdL.js} +2 -2
- package/dist/{frontmatter-B5iYTsZP.js → frontmatter-B6IdJ7UK.js} +2 -2
- package/dist/{frontmatter-vaw8OX7Y.js → frontmatter-BzAaXBfE.js} +3 -3
- package/dist/{fs-safe-CR_3Yr4x.js → fs-safe-B6nMaZqV.js} +1 -1
- package/dist/{gateway-cli-CAFWFnSX.js → gateway-cli-Dm5RZoKM.js} +433 -153
- package/dist/{gateway-cli-CzD6faIt.js → gateway-cli-K_XVNWQc.js} +315 -35
- package/dist/{gateway-rpc-o8CJkHuM.js → gateway-rpc-CUIXRk2t.js} +3 -3
- package/dist/{github-copilot-token-DTYkb2IC.js → github-copilot-token-BTNK6Tcd.js} +2 -2
- package/dist/{glass-ui-ws-Bbs2mIij.js → glass-ui-ws-B_7JgOGU.js} +11 -11
- package/dist/{glass-ui-ws-Dsez9bGF.js → glass-ui-ws-BbsrTxei.js} +105 -105
- package/dist/{gmail-setup-utils-CLvOQ6kY.js → gmail-setup-utils-D5G00y8h.js} +5 -5
- package/dist/{health-iJ9JzccO.js → health-BdxlhiXA.js} +13 -13
- package/dist/{health-format-CxAXRqzB.js → health-format-39e76m9p.js} +1 -1
- package/dist/{help-format-BWTv-lf6.js → help-format-BI_G2p1e.js} +1 -1
- package/dist/{helpers-BtwjKsDp.js → helpers-BBypnAYf.js} +1 -1
- package/dist/{hooks-cli-BEYoHsqh.js → hooks-cli-D5S_h70_.js} +87 -87
- package/dist/{hooks-cli-DNlmk6eB.js → hooks-cli-DyiztpNG.js} +8 -8
- package/dist/{hooks-status-D9SOPTTY.js → hooks-status-DLHEahg_.js} +3 -3
- package/dist/{image-ops-BkR5mVOY.js → image-ops-C-gIIp7Q.js} +2 -2
- package/dist/{inbound-context-CICDRKxY.js → inbound-context-CJj1VfzK.js} +2 -2
- package/dist/{inbound-context-B4B7i7oM.js → inbound-context-DqAyGDbE.js} +2 -2
- package/dist/index.js +90 -90
- package/dist/{inspect-XD55qAEL.js → inspect-BDzd6yBs.js} +1 -1
- package/dist/{install-safe-path-odQNUvjd.js → install-safe-path-CQXx3s9R.js} +1 -1
- package/dist/{installs-DLhIne1t.js → installs-CLp95gcX.js} +5 -5
- package/dist/{internal-CBKiu8Jv.js → internal-CHnZdvRy.js} +1 -1
- package/dist/{legacy-names-BVA_sKnb.js → legacy-names-C0hZiM-7.js} +1 -1
- package/dist/{lifecycle-core-CcinwCvM.js → lifecycle-core-_BlNODTH.js} +9 -9
- package/dist/{links-C6mXo5Yj.js → links-CSaUKNKm.js} +1 -1
- package/dist/llm-slug-generator.js +27 -27
- package/dist/{local-roots-C0G03E-R.js → local-roots-JhQs5w0I.js} +3 -3
- package/dist/{logging-CMolPIQB.js → logging-B96FQvnn.js} +2 -2
- package/dist/{logs-cli--Wek899G.js → logs-cli-BEWOyW5R.js} +20 -20
- package/dist/{manager-Bmh-pcUv.js → manager-BT2SbOdg.js} +6 -6
- package/dist/{manager-CS1vxold.js → manager-BTtaJXdu.js} +13 -13
- package/dist/{manager-9Rt8-xIT.js → manager-TrK63P2M.js} +1 -1
- package/dist/{manager-Do0-i7vp.js → manager-ue49bRVP.js} +1 -1
- package/dist/{manifest-registry-B4I9g0CL.js → manifest-registry-D7Qup2Vq.js} +3 -3
- package/dist/{manifest-registry-Cc80pffV.js → manifest-registry-DsTUFMvZ.js} +1 -1
- package/dist/{markdown-tables-jlJYpF1X.js → markdown-tables-GTLvbzuR.js} +2 -2
- package/dist/{markdown-tables-D0bwB4O7.js → markdown-tables-ptfgMe6b.js} +1 -1
- package/dist/{memory-ofHIUCzf.js → memory-Czxk_hJw.js} +7 -7
- package/dist/{memory-BduQaKuC.js → memory-DJN1Q1jq.js} +2 -2
- package/dist/{memory-cli-LXH0BNmI.js → memory-cli-B-nQp5HP.js} +16 -16
- package/dist/{memory-cli-BCz9iNCM.js → memory-cli-C9ZqpaaB.js} +2 -2
- package/dist/{message-channel-j44ChSJV.js → message-channel-C_V8IAYx.js} +1 -1
- package/dist/{model-BBL3doiY.js → model-BKtw-Bqs.js} +1 -1
- package/dist/{model-catalog-D8YRs6r8.js → model-catalog-DKBhNiWm.js} +4 -4
- package/dist/{model-picker-CdmjvvmL.js → model-picker-DKzvan7c.js} +3 -3
- package/dist/{models-cli-CdL5Tf5E.js → models-cli-CuHQFbs7.js} +9 -9
- package/dist/{models-cli-DrJsggrX.js → models-cli-D8rsqzuW.js} +91 -91
- package/dist/{models-config-BCa11tVc.js → models-config-CFUwiu4W.js} +3 -3
- package/dist/{models-DTHdIg0A.js → models-oqT-RVMM.js} +2 -2
- package/dist/{node-cli-Dl-lvH1N.js → node-cli-CgWAxe-K.js} +43 -43
- package/dist/{node-service-O5CpXu6c.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-C9pjIduh.js → nodes-cli-CprJ5K63.js} +25 -25
- package/dist/{nodes-screen-B_D8bZhT.js → nodes-screen-JELuBMBi.js} +3 -3
- package/dist/{note-1QdZVD7W.js → note-CHrtEumO.js} +2 -2
- package/dist/{npm-registry-spec-BQ7yzKIT.js → npm-registry-spec-BXw_6vF6.js} +4 -4
- package/dist/{onboard-Cr1Rd93U.js → onboard-BICXrIV1.js} +20 -20
- package/dist/{onboard-3VcPRZV5.js → onboard-D-xPcbdk.js} +1 -1
- package/dist/{onboard-channels-CXqIlUcV.js → onboard-channels-CiLPgwMl.js} +13 -13
- package/dist/{onboard-channels-DmvTuYe_.js → onboard-channels-IZ52XV8A.js} +1 -1
- package/dist/{onboard-custom-DAD9D1fS.js → onboard-custom-Cla8O-Tv.js} +3 -3
- package/dist/{onboard-helpers-C5J9vSm2.js → onboard-helpers-D2mWJnFB.js} +11 -11
- package/dist/{onboard-hooks-D87tRcuX.js → onboard-hooks-DZD-nGLB.js} +11 -11
- package/dist/{onboard-remote-D3CWFQ0_.js → onboard-remote-Bi2BNRnh.js} +3 -3
- package/dist/{onboard-skills-CTv0hBJv.js → onboard-skills-C0XDXvWw.js} +5 -5
- package/dist/{onboarding-D_wPq7hv.js → onboarding-B-jxZvC2.js} +3 -3
- package/dist/{onboarding-Bop5peq2.js → onboarding-BmB9v20h.js} +19 -19
- package/dist/{onboarding.finalize-Pa0bEFjp.js → onboarding.finalize-BejpUEVe.js} +60 -60
- package/dist/{onboarding.finalize-DGwAMlRi.js → onboarding.finalize-DufFKTf4.js} +4 -4
- package/dist/{onboarding.gateway-config-aIrdqmcQ.js → onboarding.gateway-config-BmaAH8uo.js} +23 -23
- package/dist/{openai-model-default-BDH_OYY8.js → openai-model-default-BeRT9S75.js} +4 -4
- package/dist/{pairing-cli-PrIxvqnD.js → pairing-cli-DdtW6Nu-.js} +17 -17
- package/dist/{pairing-store-DmCi9E47.js → pairing-store-mmeniyUt.js} +5 -5
- package/dist/{pairing-token-BmIoXjHZ.js → pairing-token-CURbSHdi.js} +2 -2
- package/dist/{path-env-CRW1aXZp.js → path-env-DuQralyy.js} +3 -3
- package/dist/{paths-Cqn-zk3M.js → paths-BSzKwaxE.js} +1 -1
- package/dist/paths-BeAyfCRg.js +127 -0
- package/dist/{paths-CdGa1jlU.js → paths-CJcw9nbZ.js} +3 -3
- package/dist/{paths-DvXvD4Xu.js → paths-Dc6A9_vI.js} +2 -2
- package/dist/{pi-auth-json-DhbhmAvs.js → pi-auth-json-1Z1j1PDI.js} +1 -1
- package/dist/{pi-auth-json-ChKC--mV.js → pi-auth-json-D4Bl4hBw.js} +1 -1
- package/dist/{pi-embedded-hri4e4ie.js → pi-embedded-DoWU3tbW.js} +22 -239
- package/dist/{pi-embedded-helpers-VZo1D4Ck.js → pi-embedded-helpers-BRM8EM4P.js} +5 -5
- package/dist/{pi-tools.policy-DrRZdkk0.js → pi-tools.policy-BBHbN8Nh.js} +6 -6
- package/dist/{plugin-auto-enable-BV-thF8P.js → plugin-auto-enable-BCwyDNSP.js} +4 -4
- package/dist/{plugin-registry-CYEwOWqU.js → plugin-registry-BybhOEu2.js} +5 -5
- package/dist/{plugin-registry-q_UuFncy.js → plugin-registry-CFRFz2CF.js} +1 -1
- package/dist/plugin-sdk/agents/pi-embedded-runner/system-prompt.d.ts +0 -2
- package/dist/plugin-sdk/agents/system-prompt.d.ts +1 -2
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/middleware-transcript-update.d.ts +1 -8
- package/dist/plugin-sdk/auto-reply/reply/model-selection.d.ts +0 -3
- package/dist/plugin-sdk/auto-reply/reply/normalize-reply.d.ts +1 -3
- package/dist/plugin-sdk/auto-reply/reply/payload-middleware.d.ts +0 -2
- package/dist/plugin-sdk/auto-reply/reply/reply-dispatcher.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/typing-mode.d.ts +5 -3
- package/dist/plugin-sdk/auto-reply/tokens.d.ts +0 -3
- package/dist/plugin-sdk/auto-reply/types.d.ts +0 -3
- package/dist/plugin-sdk/gateway/outbound-filter.d.ts +6 -11
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/plugin-sdk/infra/agent-events.d.ts +0 -1
- package/dist/{plugins-BG2b7dR_.js → plugins-CcVzjOo_.js} +1 -1
- package/dist/{plugins-CYQOjCDt.js → plugins-DuuHorqi.js} +3 -3
- package/dist/{plugins-cli-DE_0PdqM.js → plugins-cli-D9jv4SGt.js} +8 -8
- package/dist/{plugins-cli-CR1PAkGv.js → plugins-cli-Dw_F4XTt.js} +86 -86
- package/dist/{ports-DfsXfAsq.js → ports-DRHSHvqY.js} +2 -2
- package/dist/{ports-LzI_-wEZ.js → ports-DqxP-bXz.js} +5 -5
- package/dist/{program-x8XxEZXE.js → program-BijlJds3.js} +13 -13
- package/dist/{program-context-CvgJOZ3Q.js → program-context-f_krhr6H.js} +39 -39
- package/dist/{progress-B6mhJhX6.js → progress-CyPyGCDn.js} +2 -2
- package/dist/{prompt-select-styled-CFeLUnsr.js → prompt-select-styled-D4Dl6PAx.js} +45 -45
- package/dist/{prompt-select-styled-BFV2QYJC.js → prompt-select-styled-wUs9hOXT.js} +4 -4
- package/dist/{prompt-style-DtQMGj0v.js → prompt-style-Cad0BDRS.js} +1 -1
- package/dist/{provider-auth-helpers-D2GLBV7U.js → provider-auth-helpers-B0LgxUJm.js} +1 -1
- package/dist/{provider-auth-helpers-C-Cv3SZA.js → provider-auth-helpers-Dqg9CSy6.js} +7 -7
- package/dist/{push-apns-9XQgEWxs.js → push-apns-C8U43QIp.js} +1 -1
- package/dist/{push-apns-DTqLWoEj.js → push-apns-DBG95KxK.js} +8 -8
- package/dist/{pw-ai-D5WlMgqy.js → pw-ai-BHSw4eGG.js} +8 -8
- package/dist/{pw-ai-Bb4P23-n.js → pw-ai-BW5obXRK.js} +18 -18
- package/dist/{qmd-manager-92cDmzSO.js → qmd-manager-C-J9Sfjk.js} +12 -12
- package/dist/{qmd-manager-D6ABQ2yd.js → qmd-manager-CTHJcHPq.js} +3 -3
- package/dist/{qr-cli-B_kge4ua.js → qr-cli-BIdgVMK1.js} +12 -12
- package/dist/{register.agent-C-p6kDhf.js → register.agent-B0UZREcL.js} +103 -103
- package/dist/{register.agent-D9FfFyh0.js → register.agent-BQa36aBT.js} +12 -12
- package/dist/register.configure-C2da871z.js +129 -0
- package/dist/{register.configure-CtbO9t7v.js → register.configure-DXxKMVFv.js} +11 -11
- package/dist/{register.maintenance-Dy8l8hKt.js → register.maintenance-CU2sJOVr.js} +106 -106
- package/dist/{register.maintenance-h-CVvMpP.js → register.maintenance-DUuHNER1.js} +12 -12
- package/dist/{register.message-CaOagrcp.js → register.message-DIDXm7JJ.js} +81 -81
- package/dist/{register.message-DFytf1Dr.js → register.message-zAQ9mzwS.js} +8 -8
- package/dist/{register.onboard-SunldfQB.js → register.onboard-BQrBlJMk.js} +45 -45
- package/dist/{register.onboard-BAQSWmTB.js → register.onboard-xApCQkav.js} +2 -2
- package/dist/{register.setup-D3uuohUQ.js → register.setup-C3DgnQee.js} +45 -45
- package/dist/{register.setup-BnuPTj2h.js → register.setup-CfJlyVIU.js} +2 -2
- package/dist/{register.status-health-sessions-CPcQpUNU.js → register.status-health-sessions-CZKtQH3R.js} +68 -68
- package/dist/{register.status-health-sessions-azKiEST-.js → register.status-health-sessions-D7eQHV4A.js} +3 -3
- package/dist/{register.subclis-Di2DRNVF.js → register.subclis-DBKLQ-vk.js} +9 -9
- package/dist/{registry-CtguoMhn.js → registry-DKJLAPDB.js} +4 -4
- package/dist/{replies-CgVOirGF.js → replies-BOy28KVL.js} +1 -1
- package/dist/{replies-pnMj7AtP.js → replies-BeK3uuQ8.js} +1 -1
- package/dist/{replies-BUaT9S6J.js → replies-C82xaXm3.js} +3 -3
- package/dist/{replies-CvuXRwhI.js → replies-P7jbK6Bo.js} +3 -3
- package/dist/{reply-prefix-ClUrRCRd.js → reply-prefix-xaWqfM9m.js} +1 -1
- package/dist/{resolve-route-BLDKso2x.js → resolve-route-CIS2tjpz.js} +1 -1
- package/dist/{resolve-route-C0EHjIMD.js → resolve-route-DKhx5C-P.js} +6 -6
- package/dist/{routes-BFfAPz_0.js → routes-BJ2iXVJF.js} +9 -9
- package/dist/{rpc-CQUsmQ6_.js → rpc-CSI4uFgj.js} +3 -3
- package/dist/{run-main-BhJ6M7oy.js → run-main-C_9MD69x.js} +20 -20
- package/dist/{runtime-guard-Btd35-OG.js → runtime-guard-BZ3_1QqS.js} +1 -1
- package/dist/{sandbox-sayuve7z.js → sandbox-CQU7Gcb9.js} +16 -16
- package/dist/{sandbox-cli-Dyh_eqHp.js → sandbox-cli-Ci90LP_X.js} +37 -37
- package/dist/{security-cli-B5XGCe-n.js → security-cli-BfOZ_cJN.js} +47 -47
- package/dist/{send-B-tsyoRw.js → send-BAKkoPOy.js} +10 -10
- package/dist/{send-dfhV1QIV.js → send-DulXmWcG.js} +5 -5
- package/dist/{server-context-hxl_K7eY.js → server-context-BsMQBnUG.js} +11 -11
- package/dist/{server-methods-MUFuMWc_.js → server-methods-B4kcazJq.js} +49 -381
- package/dist/{server-methods-3uA_KwN4.js → server-methods-BLH71I9g.js} +9 -341
- package/dist/{server-node-events-FUPulMjB.js → server-node-events-BercSdmp.js} +82 -82
- package/dist/{server-node-events-DkbyHj1T.js → server-node-events-DO4ug_A0.js} +9 -9
- package/dist/{service-B5aOZmQH.js → service-AP9pR9R5.js} +1 -1
- package/dist/{session-cost-usage-DQjHUno0.js → session-cost-usage-DYcv40ss.js} +3 -3
- package/dist/{session-utils-C6O0Db39.js → session-utils-0F9pB5d6.js} +15 -15
- package/dist/{sessions-oPVoK2gW.js → sessions-DQMaURzb.js} +16 -16
- package/dist/{shared-BJxR-kzm.js → shared-4Z8Ut8Cs.js} +5 -5
- package/dist/{shared-E4KDN3LG.js → shared-DmYHvtn2.js} +3 -3
- package/dist/{skill-commands-CfGPouRa.js → skill-commands-Cwrebyvj.js} +2 -2
- package/dist/{skill-commands-4afIEM1a.js → skill-commands-DP1fshwh.js} +4 -4
- package/dist/{skill-scanner-BGtq5jZi.js → skill-scanner-qMQf6-FN.js} +2 -2
- package/dist/{skills-Kt1PL_Um.js → skills-D0k4o0Ez.js} +2 -2
- package/dist/{skills-BF_e-fYt.js → skills-DL8DjveU.js} +6 -6
- package/dist/{skills-cli-BlFM1U3r.js → skills-cli-BkIH3HKr.js} +19 -19
- package/dist/{skills-install-miTQGOBQ.js → skills-install-C9uT4MR2.js} +9 -9
- package/dist/{skills-remote-Ch1B-1aN.js → skills-remote-Db5Wwr4s.js} +6 -6
- package/dist/{skills-status-CFVFYR-o.js → skills-status-Dx3Lf5iU.js} +4 -4
- package/dist/{sqlite-BKMdYqso.js → sqlite--aBEq1-J.js} +2 -2
- package/dist/{sqlite-CfMLToLW.js → sqlite-DBEvS-Ne.js} +4 -4
- package/dist/{ssrf-LaudpmHD.js → ssrf-Dcgaqg3U.js} +2 -2
- package/dist/{status-BNH-f3PA.js → status-3CIcz22o.js} +4 -4
- package/dist/{status-C7F7r-qN.js → status-BdrH4P1l.js} +1 -1
- package/dist/{status-B-XD80Yl.js → status-DA_sl7Yp.js} +32 -32
- package/dist/{status-CCgqMBwp.js → status-uVc7h7PN.js} +1 -1
- package/dist/{status.update-B9WCVHPy.js → status.update-CQ1vKrEg.js} +4 -4
- package/dist/{subagent-registry-z08a8MUS.js → subagent-registry-CgZDo35C.js} +24 -243
- package/dist/{subsystem-CgepNOk5.js → subsystem-CtH6J8AV.js} +1 -1
- package/dist/{symi-root-7ei1lwo0.js → symi-root-DueRHNOE.js} +1 -1
- package/dist/{synthesis-Dlweuq0p.js → synthesis-B_K7BSX3.js} +27 -27
- package/dist/{synthesis-ByjLMHMS.js → synthesis-DmdaBp-J.js} +5 -5
- package/dist/{synthesis-D4iCZvKx.js → synthesis-DwfzSD3_.js} +7 -7
- package/dist/{synthesis-CjFmYp54.js → synthesis-w1oM0_-6.js} +78 -78
- package/dist/{system-cli-Ccu9utFt.js → system-cli-5_JOcUt0.js} +19 -19
- package/dist/{systemd-ChKNxGyT.js → systemd-9LEEqibe.js} +3 -3
- package/dist/{systemd-hints-hoofHqb7.js → systemd-hints-CeavseQh.js} +4 -4
- package/dist/{systemd-linger-DLgi3jd0.js → systemd-linger-PqG8iGCt.js} +2 -2
- package/dist/{table-Cyd0-LaL.js → table-DkAQzCOR.js} +2 -2
- package/dist/{tailscale-D3KwzQUZ.js → tailscale-D7dC-5EX.js} +3 -3
- package/dist/{thinking-nf5YVDrR.js → thinking-CMIo8E_E.js} +1 -1
- package/dist/{tokens-B24nv23l.js → tokens-BBh6tlmO.js} +1 -4
- package/dist/{tokens-DfB8vBa4.js → tokens-BKbemuIk.js} +2 -5
- package/dist/{tokens-CGqnWNmv.js → tokens-CJgPtOxz.js} +1 -4
- package/dist/{tokens-DJQ4rO24.js → tokens-K3kGchJA.js} +1 -4
- package/dist/{tool-display-D1Hh5TqL.js → tool-display-Dr6VaTg5.js} +2 -2
- package/dist/{tool-loop-detection-BxrJfVQU.js → tool-loop-detection-CSSq5kkt.js} +4 -4
- package/dist/transcript-events-JGGQViao.js +17 -0
- package/dist/{trash-oWw0M_xA.js → trash-BjVrPcAx.js} +2 -2
- package/dist/{tui-DqMRn1zF.js → tui-Bnusp3Vd.js} +12 -12
- package/dist/{tui-cli-sRKxOjmC.js → tui-cli-BY8W9Yjm.js} +43 -43
- package/dist/{unified-runner-CBVGL54b.js → unified-runner-BPgxfuKU.js} +98 -316
- package/dist/{unified-runner-Uyw1gZOm.js → unified-runner-DzycRpag.js} +146 -365
- package/dist/{update-rop24lF7.js → update-BvDXKE6K.js} +3 -3
- package/dist/{update-check-CC111uwU.js → update-check-CZxZhEXr.js} +2 -2
- package/dist/{update-cli-CH7SLjSd.js → update-cli-C4I2k2u9.js} +12 -12
- package/dist/{update-cli-BbtFbkK5.js → update-cli-DYYKfrbM.js} +116 -116
- package/dist/{update-runner-B0L2a2rW.js → update-runner-C8L4XRQb.js} +6 -6
- package/dist/{utils-AQWIWjGu.js → utils-BU8jVQFM.js} +2 -2
- package/dist/{webhooks-cli-CFMpDwWL.js → webhooks-cli-CXbv4eB6.js} +17 -17
- package/dist/{widearea-dns-DxpPXWPv.js → widearea-dns-C5NqCQ3L.js} +2 -2
- package/dist/{with-timeout-Bxn0qVBQ.js → with-timeout-C0UtpXBj.js} +2 -2
- package/dist/{workspace-StbmAqYj.js → workspace-B_xyjOdv.js} +4 -4
- package/dist/{workspace-dirs-B5axjz_-.js → workspace-dirs-gn_0yzFP.js} +1 -1
- package/dist/{ws-FAiTi9-v.js → ws-CahTJvD6.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-iz9sMJ9d.js +0 -128
- package/dist/plugin-sdk/auto-reply/heartbeat.d.ts +0 -26
- package/dist/plugin-sdk/auto-reply/reply/middleware-heartbeat-strip.d.ts +0 -25
- package/dist/plugin-sdk/gateway/server-chat.d.ts +0 -49
- package/dist/register.configure-D69HXLo4.js +0 -129
- package/dist/{boolean-B8-BqKGQ.js → boolean-Wzu0-e0P.js} +0 -0
- package/dist/{boolean-BgXe2hyu.js → boolean-mcn6kL0s.js} +0 -0
- package/dist/{brew-ip7v32wW.js → brew-BoKmB5x9.js} +1 -1
- /package/dist/{chat-type-B2TfTsnW.js → chat-type-B7XD_ESN.js} +0 -0
- /package/dist/{chat-type-BoBpxitL.js → chat-type-BPBtOjer.js} +0 -0
- /package/dist/{chunk-Ds8SZRkS.js → chunk-5H33X8qU.js} +0 -0
- /package/dist/{command-format-CyXZlazG.js → command-format-BvAkTjTI.js} +0 -0
- /package/dist/{github-copilot-token-BUd9oA8x.js → github-copilot-token-B31ugq7R.js} +0 -0
- /package/dist/{input-provenance-iBlnbS1d.js → input-provenance-DsLesw6T.js} +0 -0
- /package/dist/{legacy-names-BlIw4lsD.js → legacy-names-sghWmXe3.js} +0 -0
- /package/dist/{local-roots-DtvYChMM.js → local-roots-WWcVq0Ma.js} +0 -0
- /package/dist/{redact-CozCe54d.js → redact-CSc_2Nka.js} +0 -0
- /package/dist/{redact-DPnDWsnT.js → redact-Dd8jrogi.js} +0 -0
- /package/dist/{secret-equal-DjTAoH50.js → secret-equal-D1BCVB1D.js} +0 -0
- /package/dist/{session-key-DUSb7CCb.js → session-key-B_ZVH1kE.js} +0 -0
- /package/dist/{ssrf-Cirmgays.js → ssrf-CC9kEPCT.js} +0 -0
- /package/dist/{tailnet-BruyvjMC.js → tailnet-LYvn9g3I.js} +0 -0
- /package/dist/{thinking-BTh3b5vY.js → thinking-177f26eg.js} +0 -0
- /package/dist/{transcript-events-BOK6eOU8.js → transcript-events-Ch7wLX-j.js} +0 -0
- /package/dist/{transcript-tools--a2pL_yH.js → transcript-tools-CrMLYORt.js} +0 -0
|
@@ -12,17 +12,16 @@ import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessa
|
|
|
12
12
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Bnr7QjVF.js";
|
|
13
13
|
import { s as pickPrimaryLanIPv4 } from "./net-DZ5Ayk-W.js";
|
|
14
14
|
import { i as normalizeInputProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
15
|
-
import { $ as normalizeCronJobCreate, B as ensureOutboundSessionEntry, Bt as applyModelOverrideToSessionEntry, C as buildGlassUiProfile,
|
|
15
|
+
import { $ as normalizeCronJobCreate, B as ensureOutboundSessionEntry, Bt as applyModelOverrideToSessionEntry, C as buildGlassUiProfile, E as abortEmbeddedPiRun, Et as scheduleGatewaySigusr1Restart, Ft as resolveSendPolicy, H as resolveOutboundTarget, Ht as parseVerboseOverride, I as listTasksInWorkdir, N as buildAgentTurnParams, O as waitForEmbeddedPiRunEnd, P as prepareReplyTurn, Pt as normalizeSendPolicy, Tn as registerAgentRunContext, V as resolveOutboundSessionRoute, Vt as applyVerboseOverride, W as normalizePollInput, _t as applyBrowserProxyPaths, a as listSubagentRunsForRequester, an as formatZonedTimestamp, c as clearSessionQueues, en as resolveAgentTimeoutMs, et as normalizeCronJobPatch, fn as resolveUserTimezone, i as listDescendantRunsForRequester, m as loadSymiPlugins, nn as BARE_SESSION_RESET_PROMPT, on as isAbortTrigger, rn as normalizeGroupActivation, sn as stopSubagentsForRequester, tn as prepareAgentRun, vt as persistBrowserProxyFiles, w as runUnifiedTurn, wn as onAgentEvent, x as createReplyDispatcher, y as getChannelActivity } from "./subagent-registry-CgZDo35C.js";
|
|
16
16
|
import { F as resolveMainSessionKey, I as resolveMainSessionKeyFromConfig, J as normalizeSessionDeliveryFields, N as resolveAgentMainSessionKey, P as resolveExplicitAgentSessionKey, R as snapshotSessionOrigin, S as stripEnvelopeFromMessages, _ as capArrayByJsonBytes, d as updateSessionStore, g as archiveSessionTranscripts, h as archiveFileOnDisk, o as loadSessionStore, t as extractDeliveryInfo, v as readSessionMessages, x as resolveSessionTranscriptCandidates, y as readSessionPreviewItemsFromTranscript } from "./sessions-7jk0D1BI.js";
|
|
17
17
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
18
18
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-BsavN1IH.js";
|
|
19
|
-
import { h as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
19
|
+
import { h as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-DcP6aVt4.js";
|
|
20
20
|
import { t as movePathToTrash } from "./trash-CF1G530Y.js";
|
|
21
21
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
22
|
-
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking,
|
|
22
|
+
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BDh5LPh-.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-CRdCnS44.js";
|
|
24
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
25
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DJQ4rO24.js";
|
|
24
|
+
import { t as getMemorySearchManager } from "./memory-DJN1Q1jq.js";
|
|
26
25
|
import { c as approveNodePairing, d as renamePairedNode, f as requestNodePairing, l as listNodePairing, m as verifyNodeToken, t as getRemoteSkillEligibility, u as rejectNodePairing } from "./skills-remote-DEkSSz2R.js";
|
|
27
26
|
import { g as isSystemEventContextChanged, h as enqueueSystemEvent, i as formatDoctorNonInteractiveHint, l as writeRestartSentinel, u as loadProviderUsageSummary } from "./redact-identifier-gZfj5mH2.js";
|
|
28
27
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-B6EAh6SV.js";
|
|
@@ -37,11 +36,11 @@ import { t as resolveChannelDefaultAccountId } from "./helpers-DlWXcOEI.js";
|
|
|
37
36
|
import { t as buildChannelAccountSnapshot } from "./status-C8iyvxFB.js";
|
|
38
37
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-LbRPhqLj.js";
|
|
39
38
|
import { c as resolveNodeCommandAllowlist, s as isNodeCommandAllowed } from "./audit-DEXQlMwn.js";
|
|
40
|
-
import { r as getStatusSummary } from "./status-
|
|
39
|
+
import { r as getStatusSummary } from "./status-BdrH4P1l.js";
|
|
41
40
|
import { r as createOutboundSendDeps } from "./outbound-send-deps-WKDU2JsO.js";
|
|
42
41
|
import { m as normalizeUpdateChannel } from "./update-check-C1JNxsic.js";
|
|
43
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
44
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
42
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-C8U43QIp.js";
|
|
43
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-BED0HDsS.js";
|
|
45
44
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-RCL-IJds.js";
|
|
46
45
|
import { t as resolveSystemRunCommand } from "./system-run-command-CkyUAE3i.js";
|
|
47
46
|
import { t as installSkill } from "./skills-install-BMhIk6vI.js";
|
|
@@ -404,331 +403,6 @@ function startGatewayConfigReloader(opts) {
|
|
|
404
403
|
} };
|
|
405
404
|
}
|
|
406
405
|
|
|
407
|
-
//#endregion
|
|
408
|
-
//#region src/gateway/server-chat.ts
|
|
409
|
-
function resolveHeartbeatContext(_runId, _sourceRunId) {}
|
|
410
|
-
function shouldHideHeartbeatChatOutput(_runId, _sourceRunId) {
|
|
411
|
-
return false;
|
|
412
|
-
}
|
|
413
|
-
function resolveHeartbeatAckMaxChars() {
|
|
414
|
-
return 0;
|
|
415
|
-
}
|
|
416
|
-
function createChatRunRegistry() {
|
|
417
|
-
const chatRunSessions = /* @__PURE__ */ new Map();
|
|
418
|
-
const add = (sessionId, entry) => {
|
|
419
|
-
const queue = chatRunSessions.get(sessionId);
|
|
420
|
-
if (queue) queue.push(entry);
|
|
421
|
-
else chatRunSessions.set(sessionId, [entry]);
|
|
422
|
-
};
|
|
423
|
-
const peek = (sessionId) => chatRunSessions.get(sessionId)?.[0];
|
|
424
|
-
const shift = (sessionId) => {
|
|
425
|
-
const queue = chatRunSessions.get(sessionId);
|
|
426
|
-
if (!queue || queue.length === 0) return;
|
|
427
|
-
const entry = queue.shift();
|
|
428
|
-
if (!queue.length) chatRunSessions.delete(sessionId);
|
|
429
|
-
return entry;
|
|
430
|
-
};
|
|
431
|
-
const remove = (sessionId, clientRunId, sessionKey) => {
|
|
432
|
-
const queue = chatRunSessions.get(sessionId);
|
|
433
|
-
if (!queue || queue.length === 0) return;
|
|
434
|
-
const idx = queue.findIndex((entry) => entry.clientRunId === clientRunId && (sessionKey ? entry.sessionKey === sessionKey : true));
|
|
435
|
-
if (idx < 0) return;
|
|
436
|
-
const [entry] = queue.splice(idx, 1);
|
|
437
|
-
if (!queue.length) chatRunSessions.delete(sessionId);
|
|
438
|
-
return entry;
|
|
439
|
-
};
|
|
440
|
-
const clear = () => {
|
|
441
|
-
chatRunSessions.clear();
|
|
442
|
-
};
|
|
443
|
-
return {
|
|
444
|
-
add,
|
|
445
|
-
peek,
|
|
446
|
-
shift,
|
|
447
|
-
remove,
|
|
448
|
-
clear
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
function createChatRunState() {
|
|
452
|
-
const registry = createChatRunRegistry();
|
|
453
|
-
const buffers = /* @__PURE__ */ new Map();
|
|
454
|
-
const deltaSentAt = /* @__PURE__ */ new Map();
|
|
455
|
-
const pendingDeltaText = /* @__PURE__ */ new Map();
|
|
456
|
-
const abortedRuns = /* @__PURE__ */ new Map();
|
|
457
|
-
const clear = () => {
|
|
458
|
-
registry.clear();
|
|
459
|
-
buffers.clear();
|
|
460
|
-
deltaSentAt.clear();
|
|
461
|
-
pendingDeltaText.clear();
|
|
462
|
-
abortedRuns.clear();
|
|
463
|
-
};
|
|
464
|
-
return {
|
|
465
|
-
registry,
|
|
466
|
-
buffers,
|
|
467
|
-
deltaSentAt,
|
|
468
|
-
pendingDeltaText,
|
|
469
|
-
abortedRuns,
|
|
470
|
-
clear
|
|
471
|
-
};
|
|
472
|
-
}
|
|
473
|
-
const TOOL_EVENT_RECIPIENT_TTL_MS = 600 * 1e3;
|
|
474
|
-
const TOOL_EVENT_RECIPIENT_FINAL_GRACE_MS = 30 * 1e3;
|
|
475
|
-
function createToolEventRecipientRegistry() {
|
|
476
|
-
const recipients = /* @__PURE__ */ new Map();
|
|
477
|
-
const prune = () => {
|
|
478
|
-
if (recipients.size === 0) return;
|
|
479
|
-
const now = Date.now();
|
|
480
|
-
for (const [runId, entry] of recipients) if (now >= (entry.finalizedAt ? entry.finalizedAt + TOOL_EVENT_RECIPIENT_FINAL_GRACE_MS : entry.updatedAt + TOOL_EVENT_RECIPIENT_TTL_MS)) recipients.delete(runId);
|
|
481
|
-
};
|
|
482
|
-
const add = (runId, connId) => {
|
|
483
|
-
if (!runId || !connId) return;
|
|
484
|
-
const now = Date.now();
|
|
485
|
-
const existing = recipients.get(runId);
|
|
486
|
-
if (existing) {
|
|
487
|
-
existing.connIds.add(connId);
|
|
488
|
-
existing.updatedAt = now;
|
|
489
|
-
} else recipients.set(runId, {
|
|
490
|
-
connIds: new Set([connId]),
|
|
491
|
-
updatedAt: now
|
|
492
|
-
});
|
|
493
|
-
prune();
|
|
494
|
-
};
|
|
495
|
-
const get = (runId) => {
|
|
496
|
-
const entry = recipients.get(runId);
|
|
497
|
-
if (!entry) return;
|
|
498
|
-
entry.updatedAt = Date.now();
|
|
499
|
-
prune();
|
|
500
|
-
return entry.connIds;
|
|
501
|
-
};
|
|
502
|
-
const markFinal = (runId) => {
|
|
503
|
-
const entry = recipients.get(runId);
|
|
504
|
-
if (!entry) return;
|
|
505
|
-
entry.finalizedAt = Date.now();
|
|
506
|
-
prune();
|
|
507
|
-
};
|
|
508
|
-
return {
|
|
509
|
-
add,
|
|
510
|
-
get,
|
|
511
|
-
markFinal
|
|
512
|
-
};
|
|
513
|
-
}
|
|
514
|
-
function createAgentEventHandler({ broadcast, broadcastToConnIds, nodeSendToSession, agentRunSeq, chatRunState, resolveSessionKeyForRun, clearAgentRunContext, toolEventRecipients }) {
|
|
515
|
-
const emitChatDelta = (sessionKey, clientRunId, sourceRunId, seq, text) => {
|
|
516
|
-
if (isSilentReplyText(text, SILENT_REPLY_TOKEN)) return;
|
|
517
|
-
const prev = chatRunState.buffers.get(clientRunId) ?? "";
|
|
518
|
-
chatRunState.buffers.set(clientRunId, prev + text);
|
|
519
|
-
if (shouldHideHeartbeatChatOutput(clientRunId, sourceRunId)) return;
|
|
520
|
-
const now = Date.now();
|
|
521
|
-
if (now - (chatRunState.deltaSentAt.get(clientRunId) ?? 0) < 150) {
|
|
522
|
-
chatRunState.pendingDeltaText.set(clientRunId, (chatRunState.pendingDeltaText.get(clientRunId) ?? "") + text);
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
const buffered = chatRunState.pendingDeltaText.get(clientRunId) ?? "";
|
|
526
|
-
chatRunState.pendingDeltaText.delete(clientRunId);
|
|
527
|
-
const fullText = buffered + text;
|
|
528
|
-
chatRunState.deltaSentAt.set(clientRunId, now);
|
|
529
|
-
const payload = {
|
|
530
|
-
runId: clientRunId,
|
|
531
|
-
sessionKey,
|
|
532
|
-
seq,
|
|
533
|
-
state: "delta",
|
|
534
|
-
...(/* @__PURE__ */ resolveHeartbeatContext(clientRunId, sourceRunId))?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
535
|
-
message: {
|
|
536
|
-
role: "assistant",
|
|
537
|
-
content: [{
|
|
538
|
-
type: "text",
|
|
539
|
-
text: fullText
|
|
540
|
-
}],
|
|
541
|
-
timestamp: now
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
broadcast("chat", payload, { dropIfSlow: true });
|
|
545
|
-
nodeSendToSession(sessionKey, "chat", payload);
|
|
546
|
-
};
|
|
547
|
-
const emitChatFinal = (sessionKey, clientRunId, sourceRunId, seq, jobState, error) => {
|
|
548
|
-
const remainingDelta = chatRunState.pendingDeltaText.get(clientRunId);
|
|
549
|
-
if (remainingDelta && !shouldHideHeartbeatChatOutput(clientRunId, sourceRunId)) {
|
|
550
|
-
const flushPayload = {
|
|
551
|
-
runId: clientRunId,
|
|
552
|
-
sessionKey,
|
|
553
|
-
seq,
|
|
554
|
-
state: "delta",
|
|
555
|
-
...(/* @__PURE__ */ resolveHeartbeatContext(clientRunId, sourceRunId))?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
556
|
-
message: {
|
|
557
|
-
role: "assistant",
|
|
558
|
-
content: [{
|
|
559
|
-
type: "text",
|
|
560
|
-
text: remainingDelta
|
|
561
|
-
}],
|
|
562
|
-
timestamp: Date.now()
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
broadcast("chat", flushPayload);
|
|
566
|
-
nodeSendToSession(sessionKey, "chat", flushPayload);
|
|
567
|
-
}
|
|
568
|
-
chatRunState.pendingDeltaText.delete(clientRunId);
|
|
569
|
-
const bufferedText = chatRunState.buffers.get(clientRunId)?.trim() ?? "";
|
|
570
|
-
const heartbeatCtx = /* @__PURE__ */ resolveHeartbeatContext(clientRunId, sourceRunId);
|
|
571
|
-
const isHeartbeatRun = !!heartbeatCtx?.isHeartbeat;
|
|
572
|
-
const heartbeatHidden = isHeartbeatRun && shouldHideHeartbeatChatOutput(clientRunId, sourceRunId);
|
|
573
|
-
const filterResult = isHeartbeatRun && !heartbeatHidden ? {
|
|
574
|
-
action: "deliver",
|
|
575
|
-
output: bufferedText,
|
|
576
|
-
reason: "deliver"
|
|
577
|
-
} : classifyOutboundMessage(bufferedText, {
|
|
578
|
-
isHeartbeat: heartbeatHidden,
|
|
579
|
-
heartbeatAckMaxChars: resolveHeartbeatAckMaxChars()
|
|
580
|
-
});
|
|
581
|
-
const text = filterResult.output.trim();
|
|
582
|
-
const shouldSuppressSilent = filterResult.action === "drop";
|
|
583
|
-
chatRunState.buffers.delete(clientRunId);
|
|
584
|
-
chatRunState.deltaSentAt.delete(clientRunId);
|
|
585
|
-
if (jobState === "done") {
|
|
586
|
-
const payload = {
|
|
587
|
-
runId: clientRunId,
|
|
588
|
-
sessionKey,
|
|
589
|
-
seq,
|
|
590
|
-
state: "final",
|
|
591
|
-
activeSubagentCount: countActiveRunsForSession(sessionKey),
|
|
592
|
-
...heartbeatCtx?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
593
|
-
message: text && !shouldSuppressSilent ? {
|
|
594
|
-
role: "assistant",
|
|
595
|
-
content: [{
|
|
596
|
-
type: "text",
|
|
597
|
-
text
|
|
598
|
-
}],
|
|
599
|
-
timestamp: Date.now()
|
|
600
|
-
} : void 0
|
|
601
|
-
};
|
|
602
|
-
broadcast("chat", payload);
|
|
603
|
-
nodeSendToSession(sessionKey, "chat", payload);
|
|
604
|
-
return;
|
|
605
|
-
}
|
|
606
|
-
const payload = {
|
|
607
|
-
runId: clientRunId,
|
|
608
|
-
sessionKey,
|
|
609
|
-
seq,
|
|
610
|
-
state: "error",
|
|
611
|
-
errorMessage: error ? formatForLog(error) : void 0,
|
|
612
|
-
...heartbeatCtx?.isHeartbeat ? { isHeartbeat: true } : {}
|
|
613
|
-
};
|
|
614
|
-
broadcast("chat", payload);
|
|
615
|
-
nodeSendToSession(sessionKey, "chat", payload);
|
|
616
|
-
};
|
|
617
|
-
const resolveToolVerboseLevel = (runId, sessionKey) => {
|
|
618
|
-
const runVerbose = normalizeVerboseLevel(getAgentRunContext(runId)?.verboseLevel);
|
|
619
|
-
if (runVerbose) return runVerbose;
|
|
620
|
-
if (!sessionKey) return "off";
|
|
621
|
-
try {
|
|
622
|
-
const { cfg, entry } = loadSessionEntry(sessionKey);
|
|
623
|
-
const sessionVerbose = normalizeVerboseLevel(entry?.verboseLevel);
|
|
624
|
-
if (sessionVerbose) return sessionVerbose;
|
|
625
|
-
return normalizeVerboseLevel(cfg.agents?.defaults?.verboseDefault) ?? "off";
|
|
626
|
-
} catch {
|
|
627
|
-
return "off";
|
|
628
|
-
}
|
|
629
|
-
};
|
|
630
|
-
return (evt) => {
|
|
631
|
-
const chatLink = chatRunState.registry.peek(evt.runId);
|
|
632
|
-
const eventSessionKey = typeof evt.sessionKey === "string" && evt.sessionKey.trim() ? evt.sessionKey : void 0;
|
|
633
|
-
const sessionKey = chatLink?.sessionKey ?? eventSessionKey ?? resolveSessionKeyForRun(evt.runId);
|
|
634
|
-
if (sessionKey?.startsWith("temp:")) return;
|
|
635
|
-
const clientRunId = chatLink?.clientRunId ?? evt.runId;
|
|
636
|
-
const eventRunId = chatLink?.clientRunId ?? evt.runId;
|
|
637
|
-
const eventForClients = chatLink ? {
|
|
638
|
-
...evt,
|
|
639
|
-
runId: eventRunId
|
|
640
|
-
} : evt;
|
|
641
|
-
const isAborted = chatRunState.abortedRuns.has(clientRunId) || chatRunState.abortedRuns.has(evt.runId);
|
|
642
|
-
const heartbeatAgentCtx = /* @__PURE__ */ resolveHeartbeatContext(clientRunId, evt.runId);
|
|
643
|
-
const agentPayload = {
|
|
644
|
-
...eventForClients,
|
|
645
|
-
...sessionKey ? { sessionKey } : {},
|
|
646
|
-
...heartbeatAgentCtx?.isHeartbeat ? { isHeartbeat: true } : {}
|
|
647
|
-
};
|
|
648
|
-
const last = agentRunSeq.get(evt.runId) ?? 0;
|
|
649
|
-
const isToolEvent = evt.stream === "tool";
|
|
650
|
-
const toolVerbose = isToolEvent ? resolveToolVerboseLevel(evt.runId, sessionKey) : "off";
|
|
651
|
-
const toolPayload = isToolEvent && toolVerbose !== "full" ? (() => {
|
|
652
|
-
const data = evt.data ? { ...evt.data } : {};
|
|
653
|
-
delete data.result;
|
|
654
|
-
delete data.partialResult;
|
|
655
|
-
return sessionKey ? {
|
|
656
|
-
...eventForClients,
|
|
657
|
-
sessionKey,
|
|
658
|
-
data
|
|
659
|
-
} : {
|
|
660
|
-
...eventForClients,
|
|
661
|
-
data
|
|
662
|
-
};
|
|
663
|
-
})() : agentPayload;
|
|
664
|
-
if (evt.seq !== last + 1) broadcast("agent", {
|
|
665
|
-
runId: eventRunId,
|
|
666
|
-
stream: "error",
|
|
667
|
-
ts: Date.now(),
|
|
668
|
-
sessionKey,
|
|
669
|
-
...heartbeatAgentCtx?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
670
|
-
data: {
|
|
671
|
-
reason: "seq gap",
|
|
672
|
-
expected: last + 1,
|
|
673
|
-
received: evt.seq
|
|
674
|
-
}
|
|
675
|
-
});
|
|
676
|
-
agentRunSeq.set(evt.runId, evt.seq);
|
|
677
|
-
if (isToolEvent) {
|
|
678
|
-
const recipients = toolEventRecipients.get(evt.runId);
|
|
679
|
-
if (recipients && recipients.size > 0) broadcastToConnIds("agent", toolPayload, recipients);
|
|
680
|
-
} else broadcast("agent", agentPayload);
|
|
681
|
-
const lifecyclePhase = evt.stream === "lifecycle" && typeof evt.data?.phase === "string" ? evt.data.phase : null;
|
|
682
|
-
if (lifecyclePhase === "start" && sessionKey && !isAborted) {
|
|
683
|
-
if (!(/* @__PURE__ */ resolveHeartbeatContext(clientRunId, evt.runId))?.isHeartbeat) broadcast("chat", {
|
|
684
|
-
runId: clientRunId,
|
|
685
|
-
sessionKey,
|
|
686
|
-
seq: evt.seq,
|
|
687
|
-
state: "thinking"
|
|
688
|
-
});
|
|
689
|
-
}
|
|
690
|
-
if (lifecyclePhase && sessionKey && sessionKey.includes(":subagent:")) {
|
|
691
|
-
if (lifecyclePhase === "start") broadcast("subagent", {
|
|
692
|
-
phase: "started",
|
|
693
|
-
sessionKey,
|
|
694
|
-
runId: clientRunId
|
|
695
|
-
});
|
|
696
|
-
else if (lifecyclePhase === "end" || lifecyclePhase === "error") broadcast("subagent", {
|
|
697
|
-
phase: "completed",
|
|
698
|
-
sessionKey,
|
|
699
|
-
runId: clientRunId
|
|
700
|
-
});
|
|
701
|
-
}
|
|
702
|
-
if (sessionKey) {
|
|
703
|
-
if (!isToolEvent || toolVerbose !== "off") nodeSendToSession(sessionKey, "agent", isToolEvent ? toolPayload : agentPayload);
|
|
704
|
-
if (!isAborted && evt.stream === "assistant" && typeof evt.data?.text === "string") {
|
|
705
|
-
const deltaText = typeof evt.data?.delta === "string" && evt.data.delta ? evt.data.delta : evt.data.text;
|
|
706
|
-
emitChatDelta(sessionKey, clientRunId, evt.runId, evt.seq, deltaText);
|
|
707
|
-
} else if (!isAborted && (lifecyclePhase === "end" || lifecyclePhase === "error")) if (chatLink) {
|
|
708
|
-
const finished = chatRunState.registry.shift(evt.runId);
|
|
709
|
-
if (!finished) {
|
|
710
|
-
clearAgentRunContext(evt.runId);
|
|
711
|
-
return;
|
|
712
|
-
}
|
|
713
|
-
emitChatFinal(finished.sessionKey, finished.clientRunId, evt.runId, evt.seq, lifecyclePhase === "error" ? "error" : "done", evt.data?.error);
|
|
714
|
-
} else emitChatFinal(sessionKey, eventRunId, evt.runId, evt.seq, lifecyclePhase === "error" ? "error" : "done", evt.data?.error);
|
|
715
|
-
else if (isAborted && (lifecyclePhase === "end" || lifecyclePhase === "error")) {
|
|
716
|
-
chatRunState.abortedRuns.delete(clientRunId);
|
|
717
|
-
chatRunState.abortedRuns.delete(evt.runId);
|
|
718
|
-
chatRunState.buffers.delete(clientRunId);
|
|
719
|
-
chatRunState.deltaSentAt.delete(clientRunId);
|
|
720
|
-
if (chatLink) chatRunState.registry.remove(evt.runId, clientRunId, sessionKey);
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
if (lifecyclePhase === "end" || lifecyclePhase === "error") {
|
|
724
|
-
toolEventRecipients.markFinal(evt.runId);
|
|
725
|
-
clearAgentRunContext(evt.runId);
|
|
726
|
-
agentRunSeq.delete(evt.runId);
|
|
727
|
-
agentRunSeq.delete(clientRunId);
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
}
|
|
731
|
-
|
|
732
406
|
//#endregion
|
|
733
407
|
//#region src/cron/run-log.ts
|
|
734
408
|
function resolveCronRunLogPath(params) {
|
|
@@ -822,14 +496,12 @@ function resolveChatRunExpiresAtMs(params) {
|
|
|
822
496
|
}
|
|
823
497
|
function broadcastChatAborted(ops, params) {
|
|
824
498
|
const { runId, sessionKey, stopReason, partialText } = params;
|
|
825
|
-
const heartbeatCtx = /* @__PURE__ */ resolveHeartbeatContext(runId);
|
|
826
499
|
const payload = {
|
|
827
500
|
runId,
|
|
828
501
|
sessionKey,
|
|
829
502
|
seq: (ops.agentRunSeq.get(runId) ?? 0) + 1,
|
|
830
503
|
state: "aborted",
|
|
831
504
|
stopReason,
|
|
832
|
-
...heartbeatCtx?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
833
505
|
message: partialText ? {
|
|
834
506
|
role: "assistant",
|
|
835
507
|
content: [{
|
|
@@ -4438,13 +4110,11 @@ function nextChatSeq(context, runId) {
|
|
|
4438
4110
|
}
|
|
4439
4111
|
function broadcastChatFinal(params) {
|
|
4440
4112
|
const seq = nextChatSeq({ agentRunSeq: params.context.agentRunSeq }, params.runId);
|
|
4441
|
-
const heartbeatCtx = /* @__PURE__ */ resolveHeartbeatContext(params.runId);
|
|
4442
4113
|
const payload = {
|
|
4443
4114
|
runId: params.runId,
|
|
4444
4115
|
sessionKey: params.sessionKey,
|
|
4445
4116
|
seq,
|
|
4446
4117
|
state: "final",
|
|
4447
|
-
...heartbeatCtx?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
4448
4118
|
message: params.message
|
|
4449
4119
|
};
|
|
4450
4120
|
params.context.broadcast("chat", payload);
|
|
@@ -4453,13 +4123,11 @@ function broadcastChatFinal(params) {
|
|
|
4453
4123
|
}
|
|
4454
4124
|
function broadcastChatError(params) {
|
|
4455
4125
|
const seq = nextChatSeq({ agentRunSeq: params.context.agentRunSeq }, params.runId);
|
|
4456
|
-
const heartbeatCtx = /* @__PURE__ */ resolveHeartbeatContext(params.runId);
|
|
4457
4126
|
const payload = {
|
|
4458
4127
|
runId: params.runId,
|
|
4459
4128
|
sessionKey: params.sessionKey,
|
|
4460
4129
|
seq,
|
|
4461
4130
|
state: "error",
|
|
4462
|
-
...heartbeatCtx?.isHeartbeat ? { isHeartbeat: true } : {},
|
|
4463
4131
|
errorMessage: params.errorMessage
|
|
4464
4132
|
};
|
|
4465
4133
|
params.context.broadcast("chat", payload);
|
|
@@ -7821,7 +7489,7 @@ const nodeHandlers = {
|
|
|
7821
7489
|
const p = params;
|
|
7822
7490
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7823
7491
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7824
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7492
|
+
const { handleNodeEvent } = await import("./server-node-events-DO4ug_A0.js");
|
|
7825
7493
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7826
7494
|
await handleNodeEvent({
|
|
7827
7495
|
deps: context.deps,
|
|
@@ -9794,4 +9462,4 @@ async function handleGatewayRequest(opts) {
|
|
|
9794
9462
|
}
|
|
9795
9463
|
|
|
9796
9464
|
//#endregion
|
|
9797
|
-
export {
|
|
9465
|
+
export { startGatewayConfigReloader as C, resolveCronRunLogPath as S, MAX_PAYLOAD_BYTES as _, loadFavoritesSet as a, abortChatRunById as b, resolveAssistantIdentity as c, formatError as d, loadVoiceWakeConfig as f, MAX_BUFFERED_BYTES as g, HEALTH_REFRESH_INTERVAL_MS as h, safeParseJson as i, listSystemPresence as l, DEDUPE_TTL_MS as m, handleGatewayRequest as n, reconcileFavorites as o, DEDUPE_MAX as p, broadcastPresenceSnapshot as r, DEFAULT_ASSISTANT_IDENTITY as s, coreGatewayHandlers as t, upsertPresence as u, TICK_INTERVAL_MS as v, appendCronRunLog as x, getHandshakeTimeoutMs as y };
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import
|
|
37
|
-
import "./
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
40
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
41
|
-
import "./diagnostic-
|
|
1
|
+
import { O as resolveOutboundTarget } from "./unified-runner-DzycRpag.js";
|
|
2
|
+
import "./registry-DKJLAPDB.js";
|
|
3
|
+
import "./paths-BSzKwaxE.js";
|
|
4
|
+
import "./utils-BU8jVQFM.js";
|
|
5
|
+
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
7
|
+
import { s as normalizeMainKey } from "./session-key-B_ZVH1kE.js";
|
|
8
|
+
import "./exec-DKyLtSjm.js";
|
|
9
|
+
import { d as resolveSessionAgentId } from "./agent-scope-B_oqIiaD.js";
|
|
10
|
+
import "./github-copilot-token-BTNK6Tcd.js";
|
|
11
|
+
import "./boolean-Wzu0-e0P.js";
|
|
12
|
+
import "./env-B97Ms861.js";
|
|
13
|
+
import "./pi-embedded-helpers-BRM8EM4P.js";
|
|
14
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
15
|
+
import "./manifest-registry-D7Qup2Vq.js";
|
|
16
|
+
import "./sandbox-CQU7Gcb9.js";
|
|
17
|
+
import "./chrome-owBWinlj.js";
|
|
18
|
+
import "./tailscale-D7dC-5EX.js";
|
|
19
|
+
import "./auth-BbwD4lRX.js";
|
|
20
|
+
import "./server-context-BsMQBnUG.js";
|
|
21
|
+
import "./frontmatter-B6IdJ7UK.js";
|
|
22
|
+
import "./skills-DL8DjveU.js";
|
|
23
|
+
import "./routes-BJ2iXVJF.js";
|
|
24
|
+
import "./redact-CSc_2Nka.js";
|
|
25
|
+
import "./errors-Z-WkF18Q.js";
|
|
26
|
+
import "./fs-safe-B6nMaZqV.js";
|
|
27
|
+
import "./paths-Dc6A9_vI.js";
|
|
28
|
+
import "./ssrf-CC9kEPCT.js";
|
|
29
|
+
import "./image-ops-C-gIIp7Q.js";
|
|
30
|
+
import "./ports-DqxP-bXz.js";
|
|
31
|
+
import "./trash-BjVrPcAx.js";
|
|
32
|
+
import { d as updateSessionStore } from "./sessions-DQMaURzb.js";
|
|
33
|
+
import "./dock-CnGWTXL4.js";
|
|
34
|
+
import "./message-channel-C_V8IAYx.js";
|
|
35
|
+
import { r as normalizeChannelId } from "./plugins-DuuHorqi.js";
|
|
36
|
+
import "./send-BAKkoPOy.js";
|
|
37
|
+
import "./paths-CJcw9nbZ.js";
|
|
38
|
+
import "./thinking-177f26eg.js";
|
|
39
|
+
import "./tokens-BKbemuIk.js";
|
|
40
|
+
import { t as deliverOutboundPayloads } from "./deliver-63FtOVMC.js";
|
|
41
|
+
import "./diagnostic-CwF3MnBL.js";
|
|
42
42
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
43
|
-
import "./models-config-
|
|
44
|
-
import "./pi-auth-json-
|
|
45
|
-
import "./session-cost-usage-
|
|
46
|
-
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
47
|
-
import "./with-timeout-
|
|
48
|
-
import "./reply-prefix-
|
|
49
|
-
import "./memory-
|
|
50
|
-
import "./manager-
|
|
51
|
-
import "./sqlite-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./markdown-tables-
|
|
54
|
-
import "./fetch-guard-
|
|
55
|
-
import "./local-roots-
|
|
56
|
-
import "./commands-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./client-
|
|
59
|
-
import "./call-
|
|
60
|
-
import "./pairing-token-
|
|
61
|
-
import "./tool-display-
|
|
62
|
-
import "./skills-remote-
|
|
63
|
-
import "./workspace-dirs-
|
|
43
|
+
import "./models-config-CFUwiu4W.js";
|
|
44
|
+
import "./pi-auth-json-1Z1j1PDI.js";
|
|
45
|
+
import "./session-cost-usage-DYcv40ss.js";
|
|
46
|
+
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-0F9pB5d6.js";
|
|
47
|
+
import "./with-timeout-C0UtpXBj.js";
|
|
48
|
+
import "./reply-prefix-xaWqfM9m.js";
|
|
49
|
+
import "./memory-Czxk_hJw.js";
|
|
50
|
+
import "./manager-BTtaJXdu.js";
|
|
51
|
+
import "./sqlite-DBEvS-Ne.js";
|
|
52
|
+
import "./chunk-DQGU0F8t.js";
|
|
53
|
+
import "./markdown-tables-GTLvbzuR.js";
|
|
54
|
+
import "./fetch-guard-DG6T0ZdL.js";
|
|
55
|
+
import "./local-roots-JhQs5w0I.js";
|
|
56
|
+
import "./commands-B3UrgxIz.js";
|
|
57
|
+
import "./commands-registry-W2GQIywv.js";
|
|
58
|
+
import "./client-ZZqt0H0-.js";
|
|
59
|
+
import "./call-Du4CT1Hp.js";
|
|
60
|
+
import "./pairing-token-CURbSHdi.js";
|
|
61
|
+
import "./tool-display-Dr6VaTg5.js";
|
|
62
|
+
import "./skills-remote-Db5Wwr4s.js";
|
|
63
|
+
import "./workspace-dirs-gn_0yzFP.js";
|
|
64
64
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
65
|
-
import "./model-catalog-
|
|
66
|
-
import "./skill-commands-
|
|
67
|
-
import "./pairing-store-
|
|
68
|
-
import "./exec-approvals-
|
|
69
|
-
import "./nodes-screen-
|
|
70
|
-
import "./control-service-
|
|
65
|
+
import "./model-catalog-DKBhNiWm.js";
|
|
66
|
+
import "./skill-commands-DP1fshwh.js";
|
|
67
|
+
import "./pairing-store-mmeniyUt.js";
|
|
68
|
+
import "./exec-approvals-CZOc8M5w.js";
|
|
69
|
+
import "./nodes-screen-JELuBMBi.js";
|
|
70
|
+
import "./control-service-CMVDL3Yl.js";
|
|
71
71
|
import "./stagger-BhvnarfO.js";
|
|
72
|
-
import "./channel-selection-
|
|
73
|
-
import "./delivery-queue-
|
|
74
|
-
import "./bindings-
|
|
75
|
-
import "./resolve-route-
|
|
76
|
-
import "./links-
|
|
72
|
+
import "./channel-selection-BvIcXQLj.js";
|
|
73
|
+
import "./delivery-queue-DDs84baU.js";
|
|
74
|
+
import "./bindings-9LSA3Jr1.js";
|
|
75
|
+
import "./resolve-route-DKhx5C-P.js";
|
|
76
|
+
import "./links-CSaUKNKm.js";
|
|
77
77
|
import "./cli-utils-CX1oQ81G.js";
|
|
78
|
-
import "./help-format-
|
|
79
|
-
import "./progress-
|
|
80
|
-
import "./memory-cli-
|
|
78
|
+
import "./help-format-BI_G2p1e.js";
|
|
79
|
+
import "./progress-CyPyGCDn.js";
|
|
80
|
+
import "./memory-cli-B-nQp5HP.js";
|
|
81
81
|
import "./logging-B5YNzZB9.js";
|
|
82
|
-
import "./replies-
|
|
83
|
-
import "./pi-tools.policy-
|
|
84
|
-
import "./model-
|
|
85
|
-
import "./deps-
|
|
86
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
87
|
-
import { t as agentCommand } from "./agent-
|
|
82
|
+
import "./replies-P7jbK6Bo.js";
|
|
83
|
+
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
84
|
+
import "./model-BKtw-Bqs.js";
|
|
85
|
+
import "./deps-DD_ZCq3v.js";
|
|
86
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-DBG95KxK.js";
|
|
87
|
+
import { t as agentCommand } from "./agent-pDOR_idq.js";
|
|
88
88
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-BpziI1pC.js";
|
|
89
89
|
import { randomUUID } from "node:crypto";
|
|
90
90
|
|
|
@@ -15,12 +15,12 @@ import "./client-CAz5aPpp.js";
|
|
|
15
15
|
import "./call-BocrIanP.js";
|
|
16
16
|
import "./message-channel-CNPAq1Tl.js";
|
|
17
17
|
import "./pairing-token-Bnr7QjVF.js";
|
|
18
|
-
import { H as resolveOutboundTarget } from "./subagent-registry-
|
|
18
|
+
import { H as resolveOutboundTarget } from "./subagent-registry-CgZDo35C.js";
|
|
19
19
|
import { d as updateSessionStore } from "./sessions-7jk0D1BI.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-Bq-Msc8Z.js";
|
|
21
21
|
import "./send-CLJ2KPVT.js";
|
|
22
22
|
import "./with-timeout-BsavN1IH.js";
|
|
23
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
23
|
+
import { t as deliverOutboundPayloads } from "./deliver-DcP6aVt4.js";
|
|
24
24
|
import "./diagnostic-BevbDWGa.js";
|
|
25
25
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
26
26
|
import "./pi-embedded-helpers-DnAXWUyj.js";
|
|
@@ -43,8 +43,8 @@ import "./paths-CNexk5_o.js";
|
|
|
43
43
|
import "./thinking-BDh5LPh-.js";
|
|
44
44
|
import "./models-config-BfmuswQ_.js";
|
|
45
45
|
import "./reply-prefix-CRdCnS44.js";
|
|
46
|
-
import "./memory-
|
|
47
|
-
import "./manager-
|
|
46
|
+
import "./memory-DJN1Q1jq.js";
|
|
47
|
+
import "./manager-TrK63P2M.js";
|
|
48
48
|
import "./sqlite-l3CZYU6t.js";
|
|
49
49
|
import "./chunk-BySyfaEr.js";
|
|
50
50
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -53,7 +53,7 @@ import "./local-roots-CkcUju_2.js";
|
|
|
53
53
|
import "./commands-CHkx0oTl.js";
|
|
54
54
|
import "./commands-registry-CY-QAK3n.js";
|
|
55
55
|
import "./tool-display-wSdT0Ynz.js";
|
|
56
|
-
import "./tokens-
|
|
56
|
+
import "./tokens-K3kGchJA.js";
|
|
57
57
|
import "./skills-remote-DEkSSz2R.js";
|
|
58
58
|
import { h as enqueueSystemEvent } from "./redact-identifier-gZfj5mH2.js";
|
|
59
59
|
import "./workspace-dirs-B6EAh6SV.js";
|
|
@@ -74,13 +74,13 @@ import "./links-Db3Rw0Tg.js";
|
|
|
74
74
|
import "./cli-utils-BqMwAlgf.js";
|
|
75
75
|
import "./help-format-DbbIlOje.js";
|
|
76
76
|
import "./progress-C4ck6JXh.js";
|
|
77
|
-
import "./memory-cli-
|
|
77
|
+
import "./memory-cli-C9ZqpaaB.js";
|
|
78
78
|
import "./logging-D0L9TWhE.js";
|
|
79
|
-
import "./replies-
|
|
79
|
+
import "./replies-BOy28KVL.js";
|
|
80
80
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
81
81
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-WKDU2JsO.js";
|
|
82
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
83
|
-
import { t as agentCommand } from "./agent-
|
|
82
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-C8U43QIp.js";
|
|
83
|
+
import { t as agentCommand } from "./agent-BED0HDsS.js";
|
|
84
84
|
import { randomUUID } from "node:crypto";
|
|
85
85
|
|
|
86
86
|
//#region src/gateway/server-node-events.ts
|