@symerian/symi 3.4.25 → 3.4.27
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-N_J2cDO6.js → agent-CiqPWDUd.js} +18 -18
- package/dist/{agent-CQlyTNu-.js → agent-DOOj3Gzb.js} +1 -1
- package/dist/{agent-scope-DOrZjOnW.js → agent-scope-Bnsyyeci.js} +18 -18
- package/dist/{agents-1xmRO246.js → agents-BBQfFoen.js} +2 -2
- package/dist/{agents.config-BJ9RIQlb.js → agents.config-Dm3oLpYK.js} +1 -1
- package/dist/{audit-DCwHws4M.js → audit-BSX7fMfc.js} +20 -20
- package/dist/{auth-choice-Ryx7oj6G.js → auth-choice-BYbTjWcs.js} +1 -1
- package/dist/{auth-choice-DwXdS4c2.js → auth-choice-rhBmet5i.js} +11 -11
- package/dist/{auth-profiles-Ce7R_25e.js → auth-profiles-D5nYBj_Z.js} +2 -2
- package/dist/{auth-token-DgRRSbEX.js → auth-token-CAV1oLQG.js} +3 -3
- package/dist/{banner-CxMQaUgh.js → banner-C1qG5Rm9.js} +1 -1
- package/dist/{browser-cli-C3hfJNZy.js → browser-cli-De8jg4-F.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-BouPakqe.js → call-CW8U1BPq.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-n9C_ovb1.js → channel-options-BsXUgCMq.js} +1 -1
- package/dist/{channel-options-WR29vfWK.js → channel-options-CJD7jwYg.js} +1 -1
- package/dist/{channels-cli-DbFGI3vF.js → channels-cli-Bao4VNbH.js} +57 -57
- package/dist/{channels-cli-Cs-Uq67O.js → channels-cli-Dxn5n9e4.js} +7 -7
- package/dist/{chrome-B7-rO4i9.js → chrome-BKUACyeO.js} +7 -7
- package/dist/{chrome-C_I81hbq.js → chrome-DPjznJQ-.js} +7 -7
- package/dist/{chrome-rzK8edU7.js → chrome-pFBxO63W.js} +2 -2
- package/dist/{cli-D55pCJ8Q.js → cli-CrhLSz3t.js} +4 -4
- package/dist/{cli-7ceDvtPc.js → cli-WP38F9C5.js} +45 -45
- package/dist/{client-BzUAFrla.js → client-T5P9umyG.js} +1 -1
- package/dist/{command-registry-DAy62yhH.js → command-registry-DoXcG7FZ.js} +10 -10
- package/dist/{commands-registry-VfAQOVZO.js → commands-registry-BjcGLk4v.js} +1 -1
- package/dist/{completion-cli-Bc1jojml.js → completion-cli-C0SXi7ya.js} +12 -12
- package/dist/{completion-cli-Bh-Y2NVp.js → completion-cli-DaWi3_ux.js} +2 -2
- package/dist/{config-D7SS4vdk.js → config-D-PYSlE8.js} +2 -2
- package/dist/{config-cli-DupKETmw.js → config-cli-DS67KtKf.js} +4 -4
- package/dist/{config-cli-BxRcn2oD.js → config-cli-DXKm0pS5.js} +1 -1
- package/dist/{config-guard-BGAQzX2K.js → config-guard-xLTTFANi.js} +6 -6
- package/dist/{config-validation-COcIIMNe.js → config-validation-C4wGq3rz.js} +1 -1
- package/dist/{configure-0XYm59w7.js → configure-B99YJJb0.js} +14 -14
- package/dist/{configure-BilM_Fgn.js → configure-CzO4_jJJ.js} +2 -2
- package/dist/{consolidate-DI20-Wtn.js → consolidate-BB4BOQIN.js} +6 -6
- package/dist/{control-service-Ry7Le68N.js → control-service-y53w3Jzy.js} +4 -4
- package/dist/{control-ui-assets-DuDhl0co.js → control-ui-assets-Dryy7mCE.js} +1 -1
- package/dist/{cron-cli-DHFgjr_X.js → cron-cli-BMblAFRK.js} +7 -7
- package/dist/{daemon-cli-fC2R9YZd.js → daemon-cli-BJGNf5qV.js} +11 -11
- package/dist/{daemon-runtime-tZgIbDPz.js → daemon-runtime-u4p9jsEF.js} +10 -10
- package/dist/{deliver-DB4v0Tyl.js → deliver-C79-Umbk.js} +2 -2
- package/dist/{deliver-oWGJwzFf.js → deliver-Cjyb6h4g.js} +4 -4
- package/dist/{deliver-DyO3QD8O.js → deliver-DTRkeYm3.js} +4 -4
- package/dist/{deps-BlmO-MfQ.js → deps-UA1UBhl7.js} +1 -1
- package/dist/{devices-cli-DtkKN4l0.js → devices-cli-wsTs-nti.js} +6 -6
- package/dist/{diagnostics-tVJR9V0_.js → diagnostics-oW0LBW-t.js} +5 -5
- package/dist/{directory-cli-Bfy_ejW2.js → directory-cli-D8As6t8Z.js} +3 -3
- package/dist/{dm-policy-shared-CBlUyDSX.js → dm-policy-shared-DRJrFKqJ.js} +1 -1
- package/dist/{dns-cli-DzKaV6NZ.js → dns-cli-BKOTBn3n.js} +3 -3
- package/dist/{docs-cli-a90_8wuN.js → docs-cli-D5j7Nmz2.js} +1 -1
- package/dist/{doctor-completion-BZJWX3Dr.js → doctor-completion-B1YCzbvi.js} +1 -1
- package/dist/{doctor-completion-B6OPl_GZ.js → doctor-completion-mev5PRjN.js} +2 -2
- package/dist/{doctor-config-flow-30ZEvATb.js → doctor-config-flow-Uv41seME.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-C3gZAwV8.js → exec-approvals-cli-B4ry9s5r.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- package/dist/{file-lock-BVUYnlQv.js → file-lock-2AecMjCa.js} +8 -8
- package/dist/{fs-safe-BdejYjW8.js → fs-safe-B0Is-oLk.js} +6 -6
- package/dist/{gateway-cli-CyhLb-zS.js → gateway-cli-B3JVj_dv.js} +98 -98
- package/dist/{gateway-cli-DQhYa6AL.js → gateway-cli-Chnp6icp.js} +10 -10
- package/dist/{gateway-rpc-DNq7EMhm.js → gateway-rpc-CLzM6ugo.js} +1 -1
- package/dist/{glass-ui-ws-SJVljtUx.js → glass-ui-ws--GjxFRyX.js} +67 -67
- package/dist/{glass-ui-ws-CLDbMDPk.js → glass-ui-ws-5o8dvEZO.js} +8 -8
- package/dist/{health-DZ0aipDZ.js → health-D2th0Ip6.js} +4 -4
- package/dist/{hooks-cli-BMRj13QU.js → hooks-cli-B4Nvp9AV.js} +59 -59
- package/dist/{hooks-cli-BVtdP5x7.js → hooks-cli-B_sZth4r.js} +5 -5
- package/dist/{image-ops-L70xVnpG.js → image-ops-BzCBIakN.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-CXsOujVt.js → inspect-U3g9owQ8.js} +4 -4
- package/dist/{install-safe-path-D5gi-nfu.js → install-safe-path-BwMMOh9z.js} +11 -11
- package/dist/{installs-DF_LhGX6.js → installs-vdi1BESF.js} +10 -10
- package/dist/{internal-DVCddhhN.js → internal-csqU78gW.js} +9 -9
- package/dist/{lifecycle-core-Bvdl2ShM.js → lifecycle-core-BfmNlC-k.js} +5 -5
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{local-roots-CgDCgCuM.js → local-roots-2Jb79HZ8.js} +1 -1
- package/dist/{logs-cli-mdSEYBKS.js → logs-cli-COZzdFu6.js} +7 -7
- package/dist/{manager-BhIaahpm.js → manager-BfbQb9qM.js} +1 -1
- package/dist/{manager-DhHNnMyK.js → manager-Bryhc0Ip.js} +1 -1
- package/dist/{manager-BIt2_nlu.js → manager-C5FGNRjL.js} +1 -1
- package/dist/{manager-BLg6zbeA.js → manager-DyYRwHZt.js} +15 -15
- package/dist/{memory-BENbCb4f.js → memory-Cypj1lBQ.js} +2 -2
- package/dist/{memory-B4DsKRSc.js → memory-DgDnTEcB.js} +5 -5
- package/dist/{memory-cli-DotHyA76.js → memory-cli-CfJkD7mO.js} +12 -12
- package/dist/{memory-cli-BIjwqjBx.js → memory-cli-DB7UIev4.js} +2 -2
- package/dist/{model-DsMHOvMn.js → model-DbILYCfo.js} +1 -1
- package/dist/{model-auth-1EAQvYRv.js → model-auth-_C07_3Yr.js} +2 -2
- package/dist/{model-catalog-DQTmHZK7.js → model-catalog-CeqDEWGz.js} +3 -3
- package/dist/{model-picker-D4TY_tPx.js → model-picker-C_f6MALt.js} +5 -5
- package/dist/{model-selection-7wdmO-Iw.js → model-selection-CCTzD29o.js} +1 -1
- package/dist/{models-CmToZKBp.js → models-Bpqeds64.js} +2 -2
- package/dist/{models-cli-CZgkOUZB.js → models-cli-BUWfj5iJ.js} +55 -55
- package/dist/{models-cli-Di7iKhD4.js → models-cli-Bc47WFhD.js} +6 -6
- package/dist/{models-config-CRnTzdFs.js → models-config-Dp5-tBqs.js} +8 -8
- package/dist/{node-cli-BXv9SEDG.js → node-cli-BdjmGI32.js} +27 -27
- package/dist/{node-service-CrDVFWQl.js → node-service-DphkTjBV.js} +1 -1
- package/dist/{nodes-cli-Cim3ANNU.js → nodes-cli-BChJzcKY.js} +10 -10
- package/dist/{nodes-screen-De9ma6e1.js → nodes-screen-Cp5QP3ET.js} +4 -4
- package/dist/{npm-registry-spec-YMWTMnm_.js → npm-registry-spec-CqVgiBCf.js} +9 -9
- package/dist/{onboard-BXI02b3e.js → onboard-BbfERyKU.js} +1 -1
- package/dist/{onboard-CuLvp4Ds.js → onboard-C0nMMiiS.js} +15 -15
- package/dist/{onboard-channels-A6_QP7MR.js → onboard-channels-CMp9YXHC.js} +1 -1
- package/dist/{onboard-channels-E5NIYGJz.js → onboard-channels-CmsfVut5.js} +4 -4
- package/dist/{onboard-custom-BrtjWDlX.js → onboard-custom-BfHczxx0.js} +3 -3
- package/dist/{onboard-helpers---sZ9pdZ.js → onboard-helpers-OB_xKQze.js} +8 -8
- package/dist/{onboard-hooks-CtIRdncr.js → onboard-hooks-BA22KYCG.js} +1 -1
- package/dist/{onboard-remote-BUB3VPBP.js → onboard-remote-Dv2Uz8Ru.js} +1 -1
- package/dist/{onboard-skills-Cs3BZ4VJ.js → onboard-skills-BzxofI4T.js} +3 -3
- package/dist/{onboarding-BeYl1Egj.js → onboarding-DoYMfCjS.js} +3 -3
- package/dist/{onboarding-BWMBA6cP.js → onboarding-vgZFhH5N.js} +12 -12
- package/dist/{onboarding.finalize-CH8dBgA2.js → onboarding.finalize-BYHDzz2i.js} +31 -31
- package/dist/{onboarding.finalize-Bk-XW8b3.js → onboarding.finalize-Dj0xG8pk.js} +4 -4
- package/dist/{onboarding.gateway-config-arRNxrI9.js → onboarding.gateway-config-CDRLfIZM.js} +8 -8
- package/dist/{openai-model-default-XudD4Xik.js → openai-model-default-Dl21Ivjc.js} +2 -2
- package/dist/{pairing-cli-NDavTm1_.js → pairing-cli-C2_Zobhz.js} +5 -5
- package/dist/{pairing-store-BNhJOnWn.js → pairing-store-Be-ZQK87.js} +1 -1
- package/dist/{pairing-token-Dcy37-4s.js → pairing-token-B703A1U3.js} +7 -7
- package/dist/{paths-DObzwe08.js → paths-BWqg8NZT.js} +1 -1
- package/dist/{pi-auth-json-Db8XJVGL.js → pi-auth-json-D-vdh-nY.js} +6 -6
- package/dist/{pi-embedded-0I7WdtRz.js → pi-embedded-C7mJzGIf.js} +59 -13
- package/dist/{pi-embedded-helpers-B5cWV7_y.js → pi-embedded-helpers-y3vJmW6T.js} +6 -6
- package/dist/{pi-tools.policy-BdGVEMZn.js → pi-tools.policy-ji-L-Mpv.js} +3 -3
- package/dist/{plugin-auto-enable-B_lNp6yM.js → plugin-auto-enable-Ctbn2w4Q.js} +1 -1
- package/dist/{plugin-registry-DovNSdK0.js → plugin-registry-D2ZbwBU_.js} +3 -3
- package/dist/{plugin-registry-CAdIrLmG.js → plugin-registry-pKaJ4ltN.js} +1 -1
- package/dist/plugin-sdk/agents/pi-tools.types.d.ts +1 -2
- package/dist/plugin-sdk/agents/tools/availability-filter.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/common.d.ts +30 -0
- package/dist/{plugins-cli-ZG4PxNTC.js → plugins-cli-CoHiV4BX.js} +54 -54
- package/dist/{plugins-cli-JzKO-vmR.js → plugins-cli-uo8lcB7v.js} +5 -5
- package/dist/{ports-gxLM5ahL.js → ports-CB_Iu83U.js} +2 -2
- package/dist/{ports-C3ZSkRGq.js → ports-ukrEAkOP.js} +1 -1
- package/dist/{program-context-ByiEP1Lk.js → program-context-B1ZbQmLL.js} +38 -38
- package/dist/{program-BbfU4idg.js → program-rzYjZKRz.js} +10 -10
- package/dist/{prompt-select-styled-DvrG_zWV.js → prompt-select-styled-CX0v66wx.js} +38 -38
- package/dist/{prompt-select-styled-CWH2Mcrb.js → prompt-select-styled-F6P-rvFI.js} +4 -4
- package/dist/{provider-auth-helpers-CMQexdSl.js → provider-auth-helpers-Ck98bkHV.js} +1 -1
- package/dist/{provider-auth-helpers-2x7YxT5F.js → provider-auth-helpers-_jn9PngO.js} +6 -6
- package/dist/{push-apns-CtWwPxRj.js → push-apns-BtMtpzEm.js} +1 -1
- package/dist/{push-apns-eGdGU3r7.js → push-apns-CmeoBcIQ.js} +4 -4
- package/dist/{pw-ai-BOOB8qoi.js → pw-ai-BFS9ezWe.js} +1 -1
- package/dist/{pw-ai-tgngV3iZ.js → pw-ai-CQJsGI1b.js} +7 -7
- package/dist/{pw-ai-Cx-Ko_FL.js → pw-ai-D2pEVS5n.js} +1 -1
- package/dist/{qmd-manager-qV_04VKG.js → qmd-manager-DawTY2mB.js} +19 -19
- package/dist/{qr-cli-Vo1XL6B2.js → qr-cli-DKowtQcM.js} +3 -3
- package/dist/{register.agent-Dwkya1rv.js → register.agent-0hWBZXD7.js} +67 -67
- package/dist/{register.agent-DZE9NBNx.js → register.agent-_UqSBmt5.js} +9 -9
- package/dist/{register.configure-DCpbCHR0.js → register.configure-CgQ6sqtQ.js} +70 -70
- package/dist/{register.configure-CD8WkXo8.js → register.configure-KrTtvKSp.js} +8 -8
- package/dist/{register.maintenance-CxVeo_7j.js → register.maintenance-DDSfzFoo.js} +9 -9
- package/dist/{register.maintenance-Bqjj77CZ.js → register.maintenance-DjZeknO6.js} +67 -67
- package/dist/{register.message-tcJN7-E3.js → register.message-DSwwDcGi.js} +5 -5
- package/dist/{register.message-uhAmNxoO.js → register.message-DTZJ5OiL.js} +47 -47
- package/dist/{register.onboard-F6d_Wrv1.js → register.onboard-B8k5phG7.js} +25 -25
- package/dist/{register.onboard-Rm5t0yxX.js → register.onboard-BToIZTIS.js} +2 -2
- package/dist/{register.setup-CcHxpsUT.js → register.setup-1fexz2oW.js} +28 -28
- package/dist/{register.setup-C2datfZK.js → register.setup-BdUewOo1.js} +2 -2
- package/dist/{register.status-health-sessions-DIUDRMqm.js → register.status-health-sessions-0RyA2cXf.js} +41 -41
- package/dist/{register.status-health-sessions-DFVjS9Hy.js → register.status-health-sessions-eBaeXIvo.js} +3 -3
- package/dist/{register.subclis-D9uGnVGm.js → register.subclis-tX3BslaT.js} +9 -9
- package/dist/{replies-DzsYQ8Md.js → replies-D3cffD5N.js} +1 -1
- package/dist/{reply-prefix-BFNeXT65.js → reply-prefix-CtZtkTJK.js} +1 -1
- package/dist/{resolve-route-Zww0Y-HJ.js → resolve-route-B0i_o4Fo.js} +1 -1
- package/dist/{routes-C-rIjd8Z.js → routes-zpAUwtCG.js} +10 -10
- package/dist/{rpc-BkFkeuJ6.js → rpc-DhsDKVo-.js} +1 -1
- package/dist/{run-main-HkbyvIDy.js → run-main-DIl_Kl0B.js} +17 -17
- package/dist/{sandbox-Dx8IMw-E.js → sandbox-DQCaejcD.js} +18 -18
- package/dist/{sandbox-cli-BFkLKdlk.js → sandbox-cli-CbvyZs1z.js} +13 -13
- package/dist/{security-cli-BEpQ_rO1.js → security-cli-CbJxNYZx.js} +29 -29
- package/dist/{send-Cxu1tl56.js → send-QscYkkNh.js} +7 -7
- package/dist/{server-context--mmXXEkE.js → server-context-CXVq7gZ7.js} +5 -5
- package/dist/{server-methods-DJ8eiTu1.js → server-methods-CpFBGxWI.js} +6 -6
- package/dist/{server-methods-RtjWUhkv.js → server-methods-DPxjPGr0.js} +58 -58
- package/dist/{server-node-events-CT8fFtBQ.js → server-node-events-2SUW10k3.js} +6 -6
- package/dist/{server-node-events-DQ1iCUgY.js → server-node-events-B_BPbi7z.js} +48 -48
- package/dist/{service-CyEDtYLq.js → service-Cm4-5AH9.js} +15 -15
- package/dist/{session-dirs-CXErIzZq.js → session-dirs-BypCYFN3.js} +2 -2
- package/dist/{session-utils-BZnPW904.js → session-utils-lXjJoBxe.js} +14 -14
- package/dist/{sessions-optZRB57.js → sessions-aSo5jsmg.js} +10 -10
- package/dist/{shared-DJFwvlUi.js → shared-BI-gOZsD.js} +3 -3
- package/dist/{shared-Ctok0Bcs.js → shared-DDX_4ypC.js} +1 -1
- package/dist/{skill-commands-yPirQFOb.js → skill-commands-C9WuAfb2.js} +4 -4
- package/dist/{skill-scanner-BBwesm0w.js → skill-scanner-CFqMkfZW.js} +5 -5
- package/dist/{skills-BwDmcZdt.js → skills-CYcBtLGH.js} +4 -4
- package/dist/{skills-cli-gC5ETdly.js → skills-cli-BgyaAQoj.js} +7 -7
- package/dist/{skills-install-CLN_Ks5r.js → skills-install-MGsx6q5Z.js} +3 -3
- package/dist/{skills-remote-bz71Bstn.js → skills-remote-BcRQTDsZ.js} +3 -3
- package/dist/{skills-status-iltfI_bO.js → skills-status-CbSdFlvm.js} +1 -1
- package/dist/{sqlite-Cod7C5ba.js → sqlite-BpogPlQW.js} +5 -5
- package/dist/{status-Cpz64Vy_.js → status-BVYDUlnp.js} +1 -1
- package/dist/{status-CuMBp54T.js → status-C-r9JpJf.js} +23 -23
- package/dist/{status-EAjzyREy.js → status-DIJvpgEm.js} +3 -3
- package/dist/{status-CoqGtHXq.js → status-DbNNmkNB.js} +1 -1
- package/dist/{status.update-F4CbQCxF.js → status.update-EyslEZkn.js} +3 -3
- package/dist/{subagent-registry-Dkif1XYO.js → subagent-registry-DWemyjbN.js} +52 -6
- package/dist/{symi-root-BQ0IpoW2.js → symi-root-DeCVdZB4.js} +2 -2
- package/dist/{synthesis-D3fpp3Vu.js → synthesis-BdTiornP.js} +4 -4
- package/dist/{synthesis-CpsURf9J.js → synthesis-BxYzOZUA.js} +4 -4
- package/dist/{synthesis-CKKZrrYd.js → synthesis-C7RlvHEs.js} +45 -45
- package/dist/{synthesis-B0PXRiiM.js → synthesis-DQ7Y6OE0.js} +4 -4
- package/dist/{system-cli-DMKzffe3.js → system-cli-DgOvK_kU.js} +7 -7
- package/dist/{systemd-DRpQb_L1.js → systemd-B2nTr3Y2.js} +5 -5
- package/dist/{systemd-hints-DR4u43WA.js → systemd-hints-DtOWJT_2.js} +6 -6
- package/dist/{systemd-linger-BQQl5RXN.js → systemd-linger-CWi5l8Nt.js} +1 -1
- package/dist/{tui-CqrM_Fj2.js → tui-D7ms_iQ4.js} +7 -7
- package/dist/{tui-cli-BsqRmqTX.js → tui-cli-DNvAqIYN.js} +19 -19
- package/dist/{unified-runner-DZAjU6aB.js → unified-runner-BIUJm_Iv.js} +150 -104
- package/dist/{unified-runner-DkPztkL8.js → unified-runner-DPWNhQQA.js} +59 -13
- package/dist/{update-check-CxBGAP1E.js → update-check-CduiCxPo.js} +5 -5
- package/dist/{update-cli-Bgk30eoA.js → update-cli-BM-A3cIZ.js} +9 -9
- package/dist/{update-cli-t7W6vcQY.js → update-cli-GKXF83cS.js} +77 -77
- package/dist/{update-CWEjB8uS.js → update-pddgyV7i.js} +3 -3
- package/dist/{update-runner-C4Uy75eP.js → update-runner-BMYqz1dl.js} +15 -15
- package/dist/{webhooks-cli-Dp-pp0Sf.js → webhooks-cli-BPPmnDCj.js} +4 -4
- package/dist/{with-timeout-B5zAsivw.js → with-timeout-D1qzvPE0.js} +1 -1
- package/dist/{workspace-dirs-jKFQf7of.js → workspace-dirs-DCICLTHx.js} +1 -1
- package/dist/{wsl-DMA0sTvh.js → wsl-Sed675xh.js} +2 -2
- package/package.json +1 -1
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
import { $t as getAgentRunContext, B as normalizeOptionalText, Bt as countActiveRunsForSession, Cn as classifyOutboundMessage, Ct as DEFAULT_INPUT_IMAGE_MIMES, D as resolveOutboundSessionRoute, Dt as extractImageContentFromSource, En as runWithModelFallback, Et as extractFileContentFromSource, G as hasLegacyDeliveryHints, Gt as resolveAgentTimeoutMs, H as normalizeRequiredName, Ht as listDescendantRunsForRequester, K as stripLegacyDeliveryFields, Kt as runSubagentAnnounceFlow, L as inferLegacyName, M as resetDirectoryCache, O as resolveOutboundTarget, Ot as normalizeMimeList, P as normalizeHttpWebhookUrl, Q as isExternalHookSession, Qt as emitAgentEvent, R as normalizeOptionalAgentId, S as createSymiTools, Sn as CommandLane, St as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tt as DEFAULT_INPUT_TIMEOUT_MS, U as migrateLegacyCronPayload, V as normalizePayloadToSystemText, Vt as initSubagentRegistry, W as buildDeliveryFromLegacyPayload, X as detectSuspiciousPatterns, Y as buildSafeExternalPrompt, Z as getHookType, Zt as clearAgentRunContext, _n as getActiveTaskCount, a as getPluginToolMeta, at as markGatewaySigusr1RestartHandled, bn as setCommandLaneConcurrency, c as handleSlackHttpRequest, cn as ToolInputError, ct as setPreRestartDeferralCheck, d as buildHistoryContextFromEntries, dn as resolveUserTimeFormat, en as onAgentEvent, fn as resolveUserTimezone, h as getTotalPendingReplies, in as getActiveEmbeddedRunCount, it as isGatewaySigusr1RestartExternallyAllowed, k as resolveSessionDeliveryTarget, kt as resolveInputFileLimits, l as readJsonBodyWithLimit, n as applyToolPolicyPipeline, nt as deferGatewayRestartUntilIdle, qt as readLatestAssistantReply, r as buildDefaultToolPolicyPipelineSteps, rt as emitGatewayRestart, s as loadSymiPlugins, sn as registerUnhandledRejectionHandler, st as setGatewaySigusr1RestartPolicy, t as runAgentTurn, tn as registerAgentRunContext, tt as consumeGatewaySigusr1RestartAuthorization, u as requestBodyErrorToText, un as formatUserTime, vn as getTotalQueueSize, w as resolveAnnounceTargetFromKey, wn as resolveModelProfile, wt as DEFAULT_INPUT_MAX_REDIRECTS, xn as waitForActiveTasks, yn as resetAllLanes, z as normalizeOptionalSessionKey, zt as countActiveDescendantRuns } from "./unified-runner-
|
|
1
|
+
import { $t as getAgentRunContext, B as normalizeOptionalText, Bt as countActiveRunsForSession, Cn as classifyOutboundMessage, Ct as DEFAULT_INPUT_IMAGE_MIMES, D as resolveOutboundSessionRoute, Dt as extractImageContentFromSource, En as runWithModelFallback, Et as extractFileContentFromSource, G as hasLegacyDeliveryHints, Gt as resolveAgentTimeoutMs, H as normalizeRequiredName, Ht as listDescendantRunsForRequester, K as stripLegacyDeliveryFields, Kt as runSubagentAnnounceFlow, L as inferLegacyName, M as resetDirectoryCache, O as resolveOutboundTarget, Ot as normalizeMimeList, P as normalizeHttpWebhookUrl, Q as isExternalHookSession, Qt as emitAgentEvent, R as normalizeOptionalAgentId, S as createSymiTools, Sn as CommandLane, St as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tt as DEFAULT_INPUT_TIMEOUT_MS, U as migrateLegacyCronPayload, V as normalizePayloadToSystemText, Vt as initSubagentRegistry, W as buildDeliveryFromLegacyPayload, X as detectSuspiciousPatterns, Y as buildSafeExternalPrompt, Z as getHookType, Zt as clearAgentRunContext, _n as getActiveTaskCount, a as getPluginToolMeta, at as markGatewaySigusr1RestartHandled, bn as setCommandLaneConcurrency, c as handleSlackHttpRequest, cn as ToolInputError, ct as setPreRestartDeferralCheck, d as buildHistoryContextFromEntries, dn as resolveUserTimeFormat, en as onAgentEvent, fn as resolveUserTimezone, h as getTotalPendingReplies, in as getActiveEmbeddedRunCount, it as isGatewaySigusr1RestartExternallyAllowed, k as resolveSessionDeliveryTarget, kt as resolveInputFileLimits, l as readJsonBodyWithLimit, n as applyToolPolicyPipeline, nt as deferGatewayRestartUntilIdle, qt as readLatestAssistantReply, r as buildDefaultToolPolicyPipelineSteps, rt as emitGatewayRestart, s as loadSymiPlugins, sn as registerUnhandledRejectionHandler, st as setGatewaySigusr1RestartPolicy, t as runAgentTurn, tn as registerAgentRunContext, tt as consumeGatewaySigusr1RestartAuthorization, u as requestBodyErrorToText, un as formatUserTime, vn as getTotalQueueSize, w as resolveAnnounceTargetFromKey, wn as resolveModelProfile, wt as DEFAULT_INPUT_MAX_REDIRECTS, xn as waitForActiveTasks, yn as resetAllLanes, z as normalizeOptionalSessionKey, zt as countActiveDescendantRuns } from "./unified-runner-BIUJm_Iv.js";
|
|
2
2
|
import { A as isRich, E as setVerbose, H as createInternalHookEvent, M as getChildLogger, N as getLogger, P as getResolvedLoggerSettings, U as registerInternalHook, V as clearInternalHooks, W as triggerInternalHook, j as theme, k as colorize, m as createEmptyPluginRegistry, r as DEFAULT_CHAT_CHANNEL } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort, v as expandHomePrefix } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { h as resolveUserPath, s as ensureDir, t as CONFIG_DIR, v as shortenHomePath, x as truncateUtf16Safe } from "./utils-CTPsqyE_.js";
|
|
5
5
|
import { a as setConsoleSubsystemFilter, f as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-D5nYBj_Z.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
8
8
|
import { b as isSubagentSessionKey, c as resolveAgentIdFromSessionKey, d as toAgentRequestSessionKey, f as toAgentStoreSessionKey, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-DUSb7CCb.js";
|
|
9
|
-
import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-
|
|
9
|
+
import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-DeCVdZB4.js";
|
|
10
10
|
import { i as logDebug, n as runExec, s as logWarn, t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
11
|
-
import { C as ensureAgentWorkspace, D as resolveDefaultAgentWorkspaceDir, O as resolveWorkspaceTemplateDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig, s as resolveAgentSkillsFilter } from "./agent-scope-
|
|
12
|
-
import { C as DEFAULT_MODEL, S as DEFAULT_CONTEXT_TOKENS, b as resolveThinkingDefault, f as resolveAllowedModelRef, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, s as isCliProvider, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
11
|
+
import { C as ensureAgentWorkspace, D as resolveDefaultAgentWorkspaceDir, O as resolveWorkspaceTemplateDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig, s as resolveAgentSkillsFilter } from "./agent-scope-Bnsyyeci.js";
|
|
12
|
+
import { C as DEFAULT_MODEL, S as DEFAULT_CONTEXT_TOKENS, b as resolveThinkingDefault, f as resolveAllowedModelRef, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, s as isCliProvider, w as DEFAULT_PROVIDER } from "./model-selection-CCTzD29o.js";
|
|
13
13
|
import { n as isPidAlive } from "./process-scoped-map-lWFQjQ3p.js";
|
|
14
|
-
import "./file-lock-
|
|
14
|
+
import "./file-lock-2AecMjCa.js";
|
|
15
15
|
import "./agent-paths-BbZSGrUA.js";
|
|
16
|
-
import "./pi-embedded-helpers-
|
|
17
|
-
import { M as resolveSubagentMaxConcurrent, N as VERSION, P as resolveRuntimeServiceVersion, f as parseDurationMs, i as loadConfig, j as resolveAgentMaxConcurrent, l as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
16
|
+
import "./pi-embedded-helpers-y3vJmW6T.js";
|
|
17
|
+
import { M as resolveSubagentMaxConcurrent, N as VERSION, P as resolveRuntimeServiceVersion, f as parseDurationMs, i as loadConfig, j as resolveAgentMaxConcurrent, l as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-D-PYSlE8.js";
|
|
18
18
|
import "./boolean-CbZoNRMn.js";
|
|
19
19
|
import { n as logAcceptedEnvOption, t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
20
20
|
import "./shell-env-Dc3iU7HK.js";
|
|
21
21
|
import { l as isTestDefaultMemorySlotDisabled } from "./manifest-registry-D1MLZEjS.js";
|
|
22
22
|
import { a as isPathInsideWithRealpath } from "./legacy-names-BQ9vKISY.js";
|
|
23
|
-
import { S as resolveToolProfilePolicy, _ as collectExplicitAllowlist, b as mergeAlsoAllowPolicy } from "./sandbox-
|
|
24
|
-
import "./chrome-
|
|
23
|
+
import { S as resolveToolProfilePolicy, _ as collectExplicitAllowlist, b as mergeAlsoAllowPolicy } from "./sandbox-DQCaejcD.js";
|
|
24
|
+
import "./chrome-pFBxO63W.js";
|
|
25
25
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-DpKBMIvx.js";
|
|
26
26
|
import { t as safeEqualSecret } from "./secret-equal-CbntzRkh.js";
|
|
27
27
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-XKACsamF.js";
|
|
28
28
|
import { a as isTrustedProxyAddress, d as resolveGatewayListenHosts, f as resolveHostName, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as rawDataToString, u as resolveGatewayBindHost } from "./ws-C7Ktmt-R.js";
|
|
29
29
|
import { a as resolveGatewayAuth, c as createAuthRateLimiter, i as isLocalDirectRequest, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, t as assertGatewayAuthConfigured } from "./auth-Bkx-QuRN.js";
|
|
30
|
-
import { g as mergeGatewayTailscaleConfig, h as ensureGatewayStartupAuth } from "./server-context
|
|
30
|
+
import { g as mergeGatewayTailscaleConfig, h as ensureGatewayStartupAuth } from "./server-context-CXVq7gZ7.js";
|
|
31
31
|
import { d as hasBinary } from "./frontmatter-B_jqcova.js";
|
|
32
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
33
|
-
import "./routes-
|
|
32
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-CYcBtLGH.js";
|
|
33
|
+
import "./routes-zpAUwtCG.js";
|
|
34
34
|
import "./redact-B3O-RBO1.js";
|
|
35
35
|
import { a as isErrno, n as formatErrorMessage } from "./errors-bI7Tdx75.js";
|
|
36
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
37
|
-
import "./paths-
|
|
36
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B0Is-oLk.js";
|
|
37
|
+
import "./paths-BWqg8NZT.js";
|
|
38
38
|
import { t as SsrFBlockedError } from "./ssrf-DOZRI5XH.js";
|
|
39
|
-
import { c as detectMime } from "./image-ops-
|
|
40
|
-
import { a as inspectPortUsage, r as ensurePortAvailable, s as formatPortDiagnostics } from "./ports-
|
|
39
|
+
import { c as detectMime } from "./image-ops-BzCBIakN.js";
|
|
40
|
+
import { a as inspectPortUsage, r as ensurePortAvailable, s as formatPortDiagnostics } from "./ports-CB_Iu83U.js";
|
|
41
41
|
import "./trash-_YhavPQI.js";
|
|
42
|
-
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, M as evaluateSessionFreshness, P as resolveSessionResetPolicy, U as resolveMainSessionKeyFromConfig, Y as cleanStaleLockFiles, _ as mergeDeliveryContext, d as updateSessionStore, h as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
42
|
+
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, M as evaluateSessionFreshness, P as resolveSessionResetPolicy, U as resolveMainSessionKeyFromConfig, Y as cleanStaleLockFiles, _ as mergeDeliveryContext, d as updateSessionStore, h as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-aSo5jsmg.js";
|
|
43
43
|
import "./dock-hF45sewN.js";
|
|
44
44
|
import { _ as normalizeGatewayClientMode, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient } from "./message-channel-DgjXWzf-.js";
|
|
45
45
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
46
|
-
import "./send-
|
|
46
|
+
import "./send-QscYkkNh.js";
|
|
47
47
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
48
48
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-COroyVA5.js";
|
|
49
49
|
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-0yh2UnJq.js";
|
|
50
|
-
import { _ as runGlobalGatewayStopSafely, h as getGlobalHookRunner, t as deliverOutboundPayloads } from "./deliver-
|
|
50
|
+
import { _ as runGlobalGatewayStopSafely, h as getGlobalHookRunner, t as deliverOutboundPayloads } from "./deliver-C79-Umbk.js";
|
|
51
51
|
import { c as startDiagnosticHeartbeat, l as stopDiagnosticHeartbeat, u as isDiagnosticsEnabled } from "./diagnostic-DbT9t0Sh.js";
|
|
52
52
|
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
53
|
-
import "./model-auth-
|
|
53
|
+
import "./model-auth-_C07_3Yr.js";
|
|
54
54
|
import "./github-copilot-token-D-FdDfee.js";
|
|
55
|
-
import "./models-config-
|
|
56
|
-
import "./pi-auth-json-
|
|
55
|
+
import "./models-config-Dp5-tBqs.js";
|
|
56
|
+
import "./pi-auth-json-D-vdh-nY.js";
|
|
57
57
|
import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-cost-usage-D6Ocwmq1.js";
|
|
58
|
-
import { C as enqueueSystemEvent, a as loadCombinedSessionStoreForGateway, f as formatRestartSentinelMessage, i as listSessionsFromStore, m as summarizeRestartSentinel, o as loadSessionEntry, u as consumeRestartSentinel, x as lookupContextTokens } from "./session-utils-
|
|
59
|
-
import { r as getMachineDisplayName } from "./with-timeout-
|
|
60
|
-
import { a as resolveAgentIdentity } from "./reply-prefix-
|
|
61
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
62
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
63
|
-
import "./sqlite-
|
|
58
|
+
import { C as enqueueSystemEvent, a as loadCombinedSessionStoreForGateway, f as formatRestartSentinelMessage, i as listSessionsFromStore, m as summarizeRestartSentinel, o as loadSessionEntry, u as consumeRestartSentinel, x as lookupContextTokens } from "./session-utils-lXjJoBxe.js";
|
|
59
|
+
import { r as getMachineDisplayName } from "./with-timeout-D1qzvPE0.js";
|
|
60
|
+
import { a as resolveAgentIdentity } from "./reply-prefix-CtZtkTJK.js";
|
|
61
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-DgDnTEcB.js";
|
|
62
|
+
import { c as resolveMemorySearchConfig } from "./manager-DyYRwHZt.js";
|
|
63
|
+
import "./sqlite-BpogPlQW.js";
|
|
64
64
|
import "./chunk-BxfKjCUx.js";
|
|
65
65
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
66
66
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-JHxT9355.js";
|
|
67
|
-
import "./local-roots-
|
|
67
|
+
import "./local-roots-2Jb79HZ8.js";
|
|
68
68
|
import { n as isRestartEnabled } from "./commands-DUzLGgEZ.js";
|
|
69
|
-
import "./commands-registry-
|
|
70
|
-
import { $t as verifyDeviceToken, B as validateExecApprovalResolveParams, Ht as approveDevicePairing, It as PROTOCOL_VERSION, Jt as requestDevicePairing, Lt as ErrorCodes, Qt as updatePairedDeviceMetadata, Rt as errorShape, T as validateConnectParams, Ut as ensureDeviceToken, Vt as buildDeviceAuthPayload, Wt as getPairedDevice, an as verifyDeviceSignature, en as roleScopesAllow, in as normalizeDevicePublicKeyBase64Url, n as formatValidationErrors, nn as deriveDeviceIdFromPublicKey, ot as validateRequestFrame, z as validateExecApprovalRequestParams } from "./client-
|
|
71
|
-
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-
|
|
72
|
-
import "./pairing-token-
|
|
69
|
+
import "./commands-registry-BjcGLk4v.js";
|
|
70
|
+
import { $t as verifyDeviceToken, B as validateExecApprovalResolveParams, Ht as approveDevicePairing, It as PROTOCOL_VERSION, Jt as requestDevicePairing, Lt as ErrorCodes, Qt as updatePairedDeviceMetadata, Rt as errorShape, T as validateConnectParams, Ut as ensureDeviceToken, Vt as buildDeviceAuthPayload, Wt as getPairedDevice, an as verifyDeviceSignature, en as roleScopesAllow, in as normalizeDevicePublicKeyBase64Url, n as formatValidationErrors, nn as deriveDeviceIdFromPublicKey, ot as validateRequestFrame, z as validateExecApprovalRequestParams } from "./client-T5P9umyG.js";
|
|
71
|
+
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-CW8U1BPq.js";
|
|
72
|
+
import "./pairing-token-B703A1U3.js";
|
|
73
73
|
import "./tool-display-DFOL6UQ9.js";
|
|
74
|
-
import { _ as registerSkillsChangeListener, a as refreshRemoteNodeBins, g as getSkillsSnapshotVersion, i as refreshRemoteBinsForConnectedNodes, n as primeRemoteSkillsCache, o as removeRemoteNodeInfo, p as updatePairedNodeMetadata, r as recordRemoteNodeInfo, s as setSkillsRemoteRegistry, t as getRemoteSkillEligibility } from "./skills-remote-
|
|
75
|
-
import "./workspace-dirs-
|
|
74
|
+
import { _ as registerSkillsChangeListener, a as refreshRemoteNodeBins, g as getSkillsSnapshotVersion, i as refreshRemoteBinsForConnectedNodes, n as primeRemoteSkillsCache, o as removeRemoteNodeInfo, p as updatePairedNodeMetadata, r as recordRemoteNodeInfo, s as setSkillsRemoteRegistry, t as getRemoteSkillEligibility } from "./skills-remote-BcRQTDsZ.js";
|
|
75
|
+
import "./workspace-dirs-DCICLTHx.js";
|
|
76
76
|
import "./pi-model-discovery-ClQLvlCW.js";
|
|
77
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
78
|
-
import "./skill-commands-
|
|
79
|
-
import "./pairing-store-
|
|
77
|
+
import { n as loadModelCatalog } from "./model-catalog-CeqDEWGz.js";
|
|
78
|
+
import "./skill-commands-C9WuAfb2.js";
|
|
79
|
+
import "./pairing-store-Be-ZQK87.js";
|
|
80
80
|
import { t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-DioSaIeH.js";
|
|
81
|
-
import "./nodes-screen-
|
|
81
|
+
import "./nodes-screen-Cp5QP3ET.js";
|
|
82
82
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-_37Bn-Jb.js";
|
|
83
|
-
import "./control-service-
|
|
83
|
+
import "./control-service-y53w3Jzy.js";
|
|
84
84
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-DUVGiPYV.js";
|
|
85
85
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DF4bza2Q.js";
|
|
86
86
|
import "./delivery-queue-RUd4NhRw.js";
|
|
87
87
|
import { t as buildChannelAccountBindings } from "./bindings-CLS_owm_.js";
|
|
88
|
-
import "./resolve-route-
|
|
88
|
+
import "./resolve-route-B0i_o4Fo.js";
|
|
89
89
|
import { t as formatDocsLink } from "./links-TQwptN6q.js";
|
|
90
90
|
import { n as runCommandWithRuntime } from "./cli-utils-tNdOjVQI.js";
|
|
91
91
|
import { t as formatHelpExamples } from "./help-format-CPT6NY3h.js";
|
|
92
92
|
import { n as withProgress } from "./progress-HNhsbm0E.js";
|
|
93
|
-
import "./memory-cli-
|
|
93
|
+
import "./memory-cli-CfJkD7mO.js";
|
|
94
94
|
import "./logging-Czh4x_NQ.js";
|
|
95
|
-
import "./replies-
|
|
96
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-
|
|
97
|
-
import "./model-
|
|
98
|
-
import { t as createDefaultDeps } from "./deps-
|
|
95
|
+
import "./replies-D3cffD5N.js";
|
|
96
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-ji-L-Mpv.js";
|
|
97
|
+
import "./model-DbILYCfo.js";
|
|
98
|
+
import { t as createDefaultDeps } from "./deps-UA1UBhl7.js";
|
|
99
99
|
import { t as ensureSymiCliOnPath } from "./path-env-DV7jtyFi.js";
|
|
100
100
|
import "./runtime-guard-DfRLODeV.js";
|
|
101
|
-
import { t as forceFreePortAndWait } from "./ports-
|
|
101
|
+
import { t as forceFreePortAndWait } from "./ports-ukrEAkOP.js";
|
|
102
102
|
import "./catalog-DsC3JTw1.js";
|
|
103
|
-
import "./skills-status-
|
|
103
|
+
import "./skills-status-CbSdFlvm.js";
|
|
104
104
|
import { n as inheritOptionFromParent } from "./command-options-nJfiotBs.js";
|
|
105
105
|
import "./prompt-style-BEDZROvQ.js";
|
|
106
106
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DgsKk072.js";
|
|
107
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
108
|
-
import "./install-safe-path-
|
|
109
|
-
import "./skill-scanner-
|
|
107
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-Ctbn2w4Q.js";
|
|
108
|
+
import "./install-safe-path-BwMMOh9z.js";
|
|
109
|
+
import "./skill-scanner-CFqMkfZW.js";
|
|
110
110
|
import "./channels-status-issues-mROqdfm_.js";
|
|
111
|
-
import "./daemon-runtime-
|
|
112
|
-
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers
|
|
113
|
-
import "./systemd-
|
|
114
|
-
import "./service-
|
|
115
|
-
import "./lifecycle-core-
|
|
116
|
-
import "./systemd-hints-
|
|
111
|
+
import "./daemon-runtime-u4p9jsEF.js";
|
|
112
|
+
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-OB_xKQze.js";
|
|
113
|
+
import "./systemd-B2nTr3Y2.js";
|
|
114
|
+
import "./service-Cm4-5AH9.js";
|
|
115
|
+
import "./lifecycle-core-BfmNlC-k.js";
|
|
116
|
+
import "./systemd-hints-DtOWJT_2.js";
|
|
117
117
|
import { t as parsePort$1 } from "./parse-port-Bi7Gqqv0.js";
|
|
118
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
119
|
-
import "./diagnostics-
|
|
118
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-BJGNf5qV.js";
|
|
119
|
+
import "./diagnostics-oW0LBW-t.js";
|
|
120
120
|
import "./table-D902H0x3.js";
|
|
121
121
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-CK7KqIOE.js";
|
|
122
|
-
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-
|
|
123
|
-
import { c as resolveNodeCommandAllowlist, l as probeGateway, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./audit-
|
|
122
|
+
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DDX_4ypC.js";
|
|
123
|
+
import { c as resolveNodeCommandAllowlist, l as probeGateway, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./audit-BSX7fMfc.js";
|
|
124
124
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-C44-sj_H.js";
|
|
125
|
-
import { r as pickGatewaySelfPresence } from "./status-
|
|
126
|
-
import { i as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-
|
|
127
|
-
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
128
|
-
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-
|
|
129
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
130
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
131
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
125
|
+
import { r as pickGatewaySelfPresence } from "./status-C-r9JpJf.js";
|
|
126
|
+
import { i as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-D2th0Ip6.js";
|
|
127
|
+
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Dryy7mCE.js";
|
|
128
|
+
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CduiCxPo.js";
|
|
129
|
+
import { t as runOnboardingWizard } from "./onboarding-vgZFhH5N.js";
|
|
130
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-DPxjPGr0.js";
|
|
131
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-CmeoBcIQ.js";
|
|
132
132
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-D91ZFrEZ.js";
|
|
133
|
-
import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-
|
|
133
|
+
import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-CiqPWDUd.js";
|
|
134
134
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-CocVWWDn.js";
|
|
135
|
-
import { s as loadAgentIdentityFromWorkspace } from "./agents.config-
|
|
136
|
-
import "./dm-policy-shared-
|
|
137
|
-
import "./node-service-
|
|
138
|
-
import "./status.update-
|
|
139
|
-
import "./skills-install-
|
|
140
|
-
import "./update-runner-
|
|
141
|
-
import { t as resolveAgentSessionDirs } from "./session-dirs-
|
|
135
|
+
import { s as loadAgentIdentityFromWorkspace } from "./agents.config-Dm3oLpYK.js";
|
|
136
|
+
import "./dm-policy-shared-DRJrFKqJ.js";
|
|
137
|
+
import "./node-service-DphkTjBV.js";
|
|
138
|
+
import "./status.update-EyslEZkn.js";
|
|
139
|
+
import "./skills-install-MGsx6q5Z.js";
|
|
140
|
+
import "./update-runner-BMYqz1dl.js";
|
|
141
|
+
import { t as resolveAgentSessionDirs } from "./session-dirs-BypCYFN3.js";
|
|
142
142
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-YJl3L-5e.js";
|
|
143
143
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
144
144
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -148,7 +148,7 @@ import * as fsSync from "node:fs";
|
|
|
148
148
|
import fs from "node:fs";
|
|
149
149
|
import os from "node:os";
|
|
150
150
|
import JSON5 from "json5";
|
|
151
|
-
import
|
|
151
|
+
import fsPromises from "node:fs/promises";
|
|
152
152
|
import { spawn } from "node:child_process";
|
|
153
153
|
import { z } from "zod";
|
|
154
154
|
import net from "node:net";
|
|
@@ -1138,7 +1138,7 @@ function shouldSkipCheck(allowInTests) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
async function readState(statePath) {
|
|
1140
1140
|
try {
|
|
1141
|
-
const raw = await
|
|
1141
|
+
const raw = await fsPromises.readFile(statePath, "utf-8");
|
|
1142
1142
|
const parsed = JSON.parse(raw);
|
|
1143
1143
|
return parsed && typeof parsed === "object" ? parsed : {};
|
|
1144
1144
|
} catch {
|
|
@@ -1146,8 +1146,8 @@ async function readState(statePath) {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
async function writeState(statePath, state) {
|
|
1149
|
-
await
|
|
1150
|
-
await
|
|
1149
|
+
await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
|
|
1150
|
+
await fsPromises.writeFile(statePath, JSON.stringify(state, null, 2), "utf-8");
|
|
1151
1151
|
}
|
|
1152
1152
|
function sameUpdateAvailable(a, b) {
|
|
1153
1153
|
if (a === b) return true;
|
|
@@ -6556,7 +6556,7 @@ function normalizeAgentPayload(payload) {
|
|
|
6556
6556
|
async function startBrowserControlServerIfEnabled() {
|
|
6557
6557
|
if (isTruthyEnvValue(process.env.SYMI_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
6558
6558
|
const override = process.env.SYMI_BROWSER_CONTROL_MODULE?.trim();
|
|
6559
|
-
const mod = override ? await import(override) : await import("./control-service-
|
|
6559
|
+
const mod = override ? await import(override) : await import("./control-service-y53w3Jzy.js").then((n) => n.t);
|
|
6560
6560
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
6561
6561
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
6562
6562
|
if (!start) return null;
|
|
@@ -6783,7 +6783,7 @@ async function resolveFileWithinRoot(rootReal, urlPath) {
|
|
|
6783
6783
|
if (normalized.endsWith("/")) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
6784
6784
|
const candidate = path.join(rootReal, rel);
|
|
6785
6785
|
try {
|
|
6786
|
-
const st = await
|
|
6786
|
+
const st = await fsPromises.lstat(candidate);
|
|
6787
6787
|
if (st.isSymbolicLink()) return null;
|
|
6788
6788
|
if (st.isDirectory()) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
6789
6789
|
} catch {}
|
|
@@ -6820,8 +6820,8 @@ async function resolveA2uiRoot() {
|
|
|
6820
6820
|
for (const dir of candidates) try {
|
|
6821
6821
|
const indexPath = path.join(dir, "index.html");
|
|
6822
6822
|
const bundlePath = path.join(dir, "a2ui.bundle.js");
|
|
6823
|
-
await
|
|
6824
|
-
await
|
|
6823
|
+
await fsPromises.stat(indexPath);
|
|
6824
|
+
await fsPromises.stat(bundlePath);
|
|
6825
6825
|
return dir;
|
|
6826
6826
|
} catch {}
|
|
6827
6827
|
return null;
|
|
@@ -6830,7 +6830,7 @@ async function resolveA2uiRootReal() {
|
|
|
6830
6830
|
if (cachedA2uiRootReal !== void 0 && (cachedA2uiRootReal !== null || Date.now() - cachedA2uiResolvedAtMs < A2UI_ROOT_RETRY_NULL_AFTER_MS)) return cachedA2uiRootReal;
|
|
6831
6831
|
if (!resolvingA2uiRoot) resolvingA2uiRoot = (async () => {
|
|
6832
6832
|
const root = await resolveA2uiRoot();
|
|
6833
|
-
cachedA2uiRootReal = root ? await
|
|
6833
|
+
cachedA2uiRootReal = root ? await fsPromises.realpath(root) : null;
|
|
6834
6834
|
cachedA2uiResolvedAtMs = Date.now();
|
|
6835
6835
|
resolvingA2uiRoot = null;
|
|
6836
6836
|
return cachedA2uiRootReal;
|
|
@@ -7051,13 +7051,13 @@ function normalizeBasePath(rawPath) {
|
|
|
7051
7051
|
}
|
|
7052
7052
|
async function prepareCanvasRoot(rootDir) {
|
|
7053
7053
|
await ensureDir(rootDir);
|
|
7054
|
-
const rootReal = await
|
|
7054
|
+
const rootReal = await fsPromises.realpath(rootDir);
|
|
7055
7055
|
try {
|
|
7056
7056
|
const indexPath = path.join(rootReal, "index.html");
|
|
7057
|
-
await
|
|
7057
|
+
await fsPromises.stat(indexPath);
|
|
7058
7058
|
} catch {
|
|
7059
7059
|
try {
|
|
7060
|
-
await
|
|
7060
|
+
await fsPromises.writeFile(path.join(rootReal, "index.html"), defaultIndexHTML(), "utf8");
|
|
7061
7061
|
} catch {}
|
|
7062
7062
|
}
|
|
7063
7063
|
return rootReal;
|
|
@@ -9994,7 +9994,7 @@ function resolveGatewayOwnerStatus(pid, payload, platform) {
|
|
|
9994
9994
|
}
|
|
9995
9995
|
async function readLockPayload(lockPath) {
|
|
9996
9996
|
try {
|
|
9997
|
-
const raw = await
|
|
9997
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
9998
9998
|
const parsed = JSON.parse(raw);
|
|
9999
9999
|
if (typeof parsed.pid !== "number") return null;
|
|
10000
10000
|
if (typeof parsed.createdAt !== "string") return null;
|
|
@@ -10028,11 +10028,11 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
10028
10028
|
const staleMs = opts.staleMs ?? DEFAULT_STALE_MS;
|
|
10029
10029
|
const platform = opts.platform ?? process.platform;
|
|
10030
10030
|
const { lockPath, configPath } = resolveGatewayLockPath(env);
|
|
10031
|
-
await
|
|
10031
|
+
await fsPromises.mkdir(path.dirname(lockPath), { recursive: true });
|
|
10032
10032
|
const startedAt = Date.now();
|
|
10033
10033
|
let lastPayload = null;
|
|
10034
10034
|
while (Date.now() - startedAt < timeoutMs) try {
|
|
10035
|
-
const handle = await
|
|
10035
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
10036
10036
|
const startTime = platform === "linux" ? readLinuxStartTime(process.pid) : null;
|
|
10037
10037
|
const payload = {
|
|
10038
10038
|
pid: process.pid,
|
|
@@ -10046,7 +10046,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
10046
10046
|
configPath,
|
|
10047
10047
|
release: async () => {
|
|
10048
10048
|
await handle.close().catch(() => void 0);
|
|
10049
|
-
await
|
|
10049
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
10050
10050
|
}
|
|
10051
10051
|
};
|
|
10052
10052
|
} catch (err) {
|
|
@@ -10055,7 +10055,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
10055
10055
|
const ownerPid = lastPayload?.pid;
|
|
10056
10056
|
const ownerStatus = ownerPid ? resolveGatewayOwnerStatus(ownerPid, lastPayload, platform) : "unknown";
|
|
10057
10057
|
if (ownerStatus === "dead" && ownerPid) {
|
|
10058
|
-
await
|
|
10058
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
10059
10059
|
continue;
|
|
10060
10060
|
}
|
|
10061
10061
|
if (ownerStatus !== "alive") {
|
|
@@ -10065,13 +10065,13 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
10065
10065
|
stale = Number.isFinite(createdAt) ? Date.now() - createdAt > staleMs : false;
|
|
10066
10066
|
}
|
|
10067
10067
|
if (!stale) try {
|
|
10068
|
-
const st = await
|
|
10068
|
+
const st = await fsPromises.stat(lockPath);
|
|
10069
10069
|
stale = Date.now() - st.mtimeMs > staleMs;
|
|
10070
10070
|
} catch {
|
|
10071
10071
|
stale = true;
|
|
10072
10072
|
}
|
|
10073
10073
|
if (stale) {
|
|
10074
|
-
await
|
|
10074
|
+
await fsPromises.rm(lockPath, { force: true });
|
|
10075
10075
|
continue;
|
|
10076
10076
|
}
|
|
10077
10077
|
}
|
|
@@ -11969,7 +11969,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
11969
11969
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
11970
11970
|
if (!minimalTestGateway) (async () => {
|
|
11971
11971
|
const { recoverPendingDeliveries } = await import("./delivery-queue-RUd4NhRw.js").then((n) => n.n);
|
|
11972
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
11972
|
+
const { deliverOutboundPayloads } = await import("./deliver-C79-Umbk.js").then((n) => n.n);
|
|
11973
11973
|
await recoverPendingDeliveries({
|
|
11974
11974
|
deliver: deliverOutboundPayloads,
|
|
11975
11975
|
log: log.child("delivery-recovery"),
|
|
@@ -12042,7 +12042,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12042
12042
|
});
|
|
12043
12043
|
let glassUiBridgeCleanup = null;
|
|
12044
12044
|
if (!minimalTestGateway) {
|
|
12045
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws
|
|
12045
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws--GjxFRyX.js");
|
|
12046
12046
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12047
12047
|
wss: glassUiWss,
|
|
12048
12048
|
context: gatewayRequestContext,
|
|
@@ -26,7 +26,7 @@ import "./pairing-token-B-OTYROz.js";
|
|
|
26
26
|
import { t as safeEqualSecret } from "./secret-equal-CDUVxXmp.js";
|
|
27
27
|
import { a as isValidIPv4, c as resolveClientIp, d as resolveHostName, f as rawDataToString, i as isTrustedProxyAddress, l as resolveGatewayBindHost, n as isLoopbackHost, o as normalizeHostHeader, t as isLoopbackAddress, u as resolveGatewayListenHosts } from "./net-TZUXtwGR.js";
|
|
28
28
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-B2SPYrh4.js";
|
|
29
|
-
import { Cn as getAgentRunContext, Ct as emitGatewayRestart, D as getActiveEmbeddedRunCount, Dt as setGatewaySigusr1RestartPolicy, F as createSymiTools, Gt as DEFAULT_INPUT_IMAGE_MAX_BYTES, H as resolveOutboundTarget, J as runWithModelFallback, Jt as DEFAULT_INPUT_TIMEOUT_MS, K as resetDirectoryCache, Kt as DEFAULT_INPUT_IMAGE_MIMES, L as readLatestAssistantReply, M as resolveModelProfile, Ot as setPreRestartDeferralCheck, Q as normalizeHttpWebhookUrl, Qt as resolveInputFileLimits, R as resolveAnnounceTargetFromKey, S as getTotalPendingReplies, Sn as emitAgentEvent, St as deferGatewayRestartUntilIdle, T as runAgentTurn, Tn as registerAgentRunContext, Tt as markGatewaySigusr1RestartHandled, U as resolveSessionDeliveryTarget, V as resolveOutboundSessionRoute, Wt as registerUnhandledRejectionHandler, Xt as extractImageContentFromSource, Yt as extractFileContentFromSource, Zt as normalizeMimeList, _ as requestBodyErrorToText, _n as resetAllLanes, at as normalizePayloadToSystemText, bn as CommandLane, cn as ToolInputError, ct as buildDeliveryFromLegacyPayload, dn as resolveUserTimeFormat, en as resolveAgentTimeoutMs, f as getPluginToolMeta, fn as resolveUserTimezone, g as readJsonBodyWithLimit, gn as getTotalQueueSize, gt as isExternalHookSession, h as handleSlackHttpRequest, hn as getActiveTaskCount, ht as getHookType, i as listDescendantRunsForRequester, it as normalizeOptionalText, j as classifyOutboundMessage, l as applyToolPolicyPipeline, lt as hasLegacyDeliveryHints, m as loadSymiPlugins, mt as detectSuspiciousPatterns, n as countActiveRunsForSession, nt as normalizeOptionalAgentId, ot as normalizeRequiredName, pt as buildSafeExternalPrompt, qt as DEFAULT_INPUT_MAX_REDIRECTS, r as initSubagentRegistry, rt as normalizeOptionalSessionKey, s as runSubagentAnnounceFlow, st as migrateLegacyCronPayload, t as countActiveDescendantRuns, tt as inferLegacyName, u as buildDefaultToolPolicyPipelineSteps, un as formatUserTime, ut as stripLegacyDeliveryFields, v as buildHistoryContextFromEntries, vn as setCommandLaneConcurrency, wn as onAgentEvent, wt as isGatewaySigusr1RestartExternallyAllowed, xn as clearAgentRunContext, xt as consumeGatewaySigusr1RestartAuthorization, yn as waitForActiveTasks } from "./subagent-registry-
|
|
29
|
+
import { Cn as getAgentRunContext, Ct as emitGatewayRestart, D as getActiveEmbeddedRunCount, Dt as setGatewaySigusr1RestartPolicy, F as createSymiTools, Gt as DEFAULT_INPUT_IMAGE_MAX_BYTES, H as resolveOutboundTarget, J as runWithModelFallback, Jt as DEFAULT_INPUT_TIMEOUT_MS, K as resetDirectoryCache, Kt as DEFAULT_INPUT_IMAGE_MIMES, L as readLatestAssistantReply, M as resolveModelProfile, Ot as setPreRestartDeferralCheck, Q as normalizeHttpWebhookUrl, Qt as resolveInputFileLimits, R as resolveAnnounceTargetFromKey, S as getTotalPendingReplies, Sn as emitAgentEvent, St as deferGatewayRestartUntilIdle, T as runAgentTurn, Tn as registerAgentRunContext, Tt as markGatewaySigusr1RestartHandled, U as resolveSessionDeliveryTarget, V as resolveOutboundSessionRoute, Wt as registerUnhandledRejectionHandler, Xt as extractImageContentFromSource, Yt as extractFileContentFromSource, Zt as normalizeMimeList, _ as requestBodyErrorToText, _n as resetAllLanes, at as normalizePayloadToSystemText, bn as CommandLane, cn as ToolInputError, ct as buildDeliveryFromLegacyPayload, dn as resolveUserTimeFormat, en as resolveAgentTimeoutMs, f as getPluginToolMeta, fn as resolveUserTimezone, g as readJsonBodyWithLimit, gn as getTotalQueueSize, gt as isExternalHookSession, h as handleSlackHttpRequest, hn as getActiveTaskCount, ht as getHookType, i as listDescendantRunsForRequester, it as normalizeOptionalText, j as classifyOutboundMessage, l as applyToolPolicyPipeline, lt as hasLegacyDeliveryHints, m as loadSymiPlugins, mt as detectSuspiciousPatterns, n as countActiveRunsForSession, nt as normalizeOptionalAgentId, ot as normalizeRequiredName, pt as buildSafeExternalPrompt, qt as DEFAULT_INPUT_MAX_REDIRECTS, r as initSubagentRegistry, rt as normalizeOptionalSessionKey, s as runSubagentAnnounceFlow, st as migrateLegacyCronPayload, t as countActiveDescendantRuns, tt as inferLegacyName, u as buildDefaultToolPolicyPipelineSteps, un as formatUserTime, ut as stripLegacyDeliveryFields, v as buildHistoryContextFromEntries, vn as setCommandLaneConcurrency, wn as onAgentEvent, wt as isGatewaySigusr1RestartExternallyAllowed, xn as clearAgentRunContext, xt as consumeGatewaySigusr1RestartAuthorization, yn as waitForActiveTasks } from "./subagent-registry-DWemyjbN.js";
|
|
30
30
|
import { D as resolveSessionResetPolicy, F as resolveMainSessionKey, H as cleanStaleLockFiles, I as resolveMainSessionKeyFromConfig, K as mergeDeliveryContext, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, T as evaluateSessionFreshness, W as deliveryContextFromSession, d as updateSessionStore, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-DHPf5TzB.js";
|
|
31
31
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
32
32
|
import "./send-BBfSp-8Q.js";
|
|
@@ -56,8 +56,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
56
56
|
import "./github-copilot-token-B5y4__YM.js";
|
|
57
57
|
import "./models-config-Br7EjqgG.js";
|
|
58
58
|
import { a as resolveAgentIdentity } from "./reply-prefix-DV3KhOhL.js";
|
|
59
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
60
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
59
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-Cypj1lBQ.js";
|
|
60
|
+
import { c as resolveMemorySearchConfig } from "./manager-BfbQb9qM.js";
|
|
61
61
|
import "./sqlite-9jF_eajd.js";
|
|
62
62
|
import "./chunk-B2lBXhR0.js";
|
|
63
63
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -88,7 +88,7 @@ import { t as formatDocsLink } from "./links-BDe4dm1J.js";
|
|
|
88
88
|
import { n as runCommandWithRuntime } from "./cli-utils-BhfE5XS2.js";
|
|
89
89
|
import { t as formatHelpExamples } from "./help-format-CbgFRc-H.js";
|
|
90
90
|
import { n as withProgress } from "./progress-CqV5lJkt.js";
|
|
91
|
-
import "./memory-cli-
|
|
91
|
+
import "./memory-cli-DB7UIev4.js";
|
|
92
92
|
import "./logging-BeW3kpQA.js";
|
|
93
93
|
import "./replies-LM-arXEE.js";
|
|
94
94
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-4gtz_Ipq.js";
|
|
@@ -115,17 +115,17 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
115
115
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CpsMsILL.js";
|
|
116
116
|
import { c as resolveNodeCommandAllowlist, l as probeGateway, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./audit-CXT_jhD1.js";
|
|
117
117
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-C1pYo2mP.js";
|
|
118
|
-
import { i as pickGatewaySelfPresence } from "./status-
|
|
118
|
+
import { i as pickGatewaySelfPresence } from "./status-BVYDUlnp.js";
|
|
119
119
|
import { a as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-CXUnVb6i.js";
|
|
120
120
|
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-Bms6Lw6N.js";
|
|
121
121
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C_5Ba0OA.js";
|
|
122
122
|
import { t as ensureSymiCliOnPath } from "./path-env-BbA98xsH.js";
|
|
123
123
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BVu0zSCT.js";
|
|
124
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
125
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
126
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
124
|
+
import { t as runOnboardingWizard } from "./onboarding-DoYMfCjS.js";
|
|
125
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-CpFBGxWI.js";
|
|
126
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-BtMtpzEm.js";
|
|
127
127
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-B7WinJkq.js";
|
|
128
|
-
import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-
|
|
128
|
+
import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-DOOj3Gzb.js";
|
|
129
129
|
import { s as loadAgentIdentityFromWorkspace } from "./agents.config-DJ6HOh-6.js";
|
|
130
130
|
import "./dm-policy-shared-CES9K2AU.js";
|
|
131
131
|
import "./node-service-t7V5EmEq.js";
|
|
@@ -12037,7 +12037,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12037
12037
|
});
|
|
12038
12038
|
let glassUiBridgeCleanup = null;
|
|
12039
12039
|
if (!minimalTestGateway) {
|
|
12040
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
12040
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-5o8dvEZO.js");
|
|
12041
12041
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12042
12042
|
wss: glassUiWss,
|
|
12043
12043
|
context: gatewayRequestContext,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
2
|
-
import { n as callGateway } from "./call-
|
|
2
|
+
import { n as callGateway } from "./call-CW8U1BPq.js";
|
|
3
3
|
import { n as withProgress } from "./progress-HNhsbm0E.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/gateway-rpc.ts
|