@fased/fased 0.1.21 → 0.1.23
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/README.md +9 -2
- package/dist/{active-listener-B_AAz_Nv.js → active-listener-CILIY2ox.js} +1 -1
- package/dist/{agent-scope-Cb1u7HE7.js → agent-scope-DwKyukUg.js} +124 -124
- package/dist/{agents-BwDWbvDH.js → agents-J1fRpMRy.js} +8 -8
- package/dist/{attachment-normalize-C9F-gS4-.js → attachment-normalize-CJWQWDbC.js} +1 -1
- package/dist/{attachment-normalize-C9w24bkb.js → attachment-normalize-Din9M1Y4.js} +1 -1
- package/dist/{audio-preflight-DGoGnRdo.js → audio-preflight-CiHBO6op.js} +31 -31
- package/dist/{audio-preflight-Dg10mePo.js → audio-preflight-D3I9e121.js} +2 -2
- package/dist/{audio-preflight-QMOvUkXH.js → audio-preflight-Dpmj_mYE.js} +1 -1
- package/dist/{audio-preflight-DnHScDmF.js → audio-preflight-fOBO0I4S.js} +2 -2
- package/dist/{audio-preflight-CTs9Ta27.js → audio-preflight-tHKngO6z.js} +1 -1
- package/dist/{audit-DJOyIBeV.js → audit-BGrhx_IL.js} +1 -1
- package/dist/{audit-DmYUk4AC.js → audit-DQyLAEfl.js} +1 -1
- package/dist/{auth-7Dkf1_CI.js → auth-C4Rs_Ca4.js} +5 -5
- package/dist/{auth-choice-D9LWnNpF.js → auth-choice-BTahePAl.js} +1 -1
- package/dist/{auth-choice-DbTYwdGn.js → auth-choice-ioJ3htvR.js} +1 -1
- package/dist/{auth-choice-prompt-D5YuCYf7.js → auth-choice-prompt-Cigxs_6f.js} +1 -1
- package/dist/{auth-choice-prompt-DFyVEU7J.js → auth-choice-prompt-Db0yW_LH.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +31 -31
- package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +31 -31
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-DY_GHJwO.js → channel-activity-D17GYsMz.js} +1 -1
- package/dist/{channel-web-CAJ_OiB2.js → channel-web-CclBHrhb.js} +1 -1
- package/dist/{channel-web-X3OJcLB2.js → channel-web-DIRVjokt.js} +1 -1
- package/dist/{channels-D9Oj681h.js → channels-A880gMB8.js} +6 -6
- package/dist/{channels-BqOjEy1R.js → channels-DWuoO75L.js} +6 -6
- package/dist/{channels-cli-DKRuJbjY.js → channels-cli-54FnZFBp.js} +5 -5
- package/dist/{channels-cli-D5hZAzoE.js → channels-cli-HVr7lRa7.js} +5 -5
- package/dist/{chunk-Cj87uJLo.js → chunk-DfA5CGzI.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-ClS8EuDK.js → cli-C8OGL6Ju.js} +2 -2
- package/dist/{cli-Dm0682Gu.js → cli-cnJ-Fwbu.js} +2 -2
- package/dist/{command-registry-C2wqEo64.js → command-registry-BHCwSxmh.js} +9 -9
- package/dist/{commands-registry-Du1VUNqv.js → commands-registry-ShBrc7Zz.js} +1 -1
- package/dist/{completion-cli-B9mW_que.js → completion-cli-BsgojaxZ.js} +2 -2
- package/dist/{completion-cli-DCvm9Xp-.js → completion-cli-DuqDB42S.js} +1 -1
- package/dist/{config-cli-680jTQ3-.js → config-cli-B62owpbq.js} +1 -1
- package/dist/{config-cli-1SYvQdhO.js → config-cli-nRzwa31Y.js} +1 -1
- package/dist/{config-eval-BVvNsPGB.js → config-eval-B5XXAbrm.js} +3 -3
- package/dist/{configure-BfhVLgNf.js → configure-ByLqSsRA.js} +12 -12
- package/dist/{configure-DQLQp2nb.js → configure-CbMYLFUm.js} +12 -12
- package/dist/control-ui/assets/app-DXYMrRJ9.js.map +1 -1
- package/dist/{cron-cli-C4hgRvYJ.js → cron-cli-CLNLFdxi.js} +2 -2
- package/dist/{cron-cli-DQjdHktC.js → cron-cli-CM9CM1GR.js} +2 -2
- package/dist/{daemon-cli-DWhAXx5H.js → daemon-cli-9ids8mMV.js} +1 -1
- package/dist/{daemon-cli-B3OUkSy6.js → daemon-cli-w15TQchq.js} +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/{deps-RXAe1X5s.js → deps-BVNeN6gT.js} +1 -1
- package/dist/{deps-DdP-Hmxc.js → deps-Uo5boHSY.js} +1 -1
- package/dist/{diagnostic-D6XQAXl4.js → diagnostic-B4NKiC20.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-BKzFOgku.js → fetch-BH7uURYM.js} +1 -1
- package/dist/{fetch-guard-B3bzvmt4.js → fetch-guard-DqpQMLwE.js} +1 -1
- package/dist/{filesystem-manager-CrDoOIOx.js → filesystem-manager-DKU5F0fA.js} +4 -4
- package/dist/{fs-safe-DcQcXS6I.js → fs-safe-CwUdejUJ.js} +2 -2
- package/dist/{gateway-cli-Y450jJFF.js → gateway-cli-C9Os2Z5s.js} +27 -27
- package/dist/{gateway-cli-CHukRtBG.js → gateway-cli-CLFeYf4s.js} +27 -27
- package/dist/{github-copilot-token-DYrFvncE.js → github-copilot-token-eyrRGmGp.js} +8 -8
- package/dist/{health-Db548DTY.js → health-CghndVpq.js} +2 -2
- package/dist/{health-C-AsEUPg.js → health-GSYUFoyr.js} +2 -2
- package/dist/{heartbeat-runner-CE9O7xVk.js → heartbeat-runner-1b23y_3_.js} +1 -1
- package/dist/{heartbeat-runner-DAPP5ojq.js → heartbeat-runner-DPtasJ9O.js} +1 -1
- package/dist/{hooks-cli-DpllVSSB.js → hooks-cli-BXZ0yiOV.js} +3 -3
- package/dist/{hooks-cli-ApL31lTH.js → hooks-cli-_VHugcqb.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{internal-B3yITtDC.js → internal-CU3wrcPl.js} +3 -3
- package/dist/{ipv4-Bh1H98-c.js → ipv4-Cb1Ofo1o.js} +2 -2
- package/dist/{ipv4-D88X6kcK.js → ipv4-h9TrAq_w.js} +2 -2
- package/dist/{lifecycle-D2VlrxY8.js → lifecycle-CBewhyXk.js} +1 -1
- package/dist/{lifecycle-C5O_poBp.js → lifecycle-CV1zHjpj.js} +1 -1
- package/dist/{list.auth-overview-DQUc2B2l.js → list.auth-overview-C8izvpBJ.js} +1 -1
- package/dist/{list.auth-overview-N9tbnvNE.js → list.auth-overview-CvPcpBIP.js} +1 -1
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{login-BPi6GEMh.js → login-DmSOJJZh.js} +2 -2
- package/dist/{login-qr-BaJ9M5z6.js → login-qr-gY230e9k.js} +3 -3
- package/dist/{manager-C05ypUW3.js → manager-Cxjfnksb.js} +8 -8
- package/dist/{markdown-tables-CBLut_ie.js → markdown-tables-DFtTedxN.js} +1 -1
- package/dist/{media-DUBmlR9u.js → media-DZj8v0oe.js} +5 -5
- package/dist/{memory-search-tdsFhtIi.js → memory-search-BxRjHrXP.js} +2 -2
- package/dist/{model-catalog-BQ5G4eK6.js → model-catalog-Iu_LUOVA.js} +6 -6
- package/dist/{models-BObC-MWx.js → models-DqMgO-Ak.js} +4 -4
- package/dist/{models-cli-Bcjaf4CI.js → models-cli-C7WASQac.js} +4 -4
- package/dist/{models-cli-r2llwGBO.js → models-cli-D6H_Kt3i.js} +5 -5
- package/dist/{node-cli-B5TpzQ6U.js → node-cli-B8DI8VK2.js} +2 -2
- package/dist/{node-cli-B8V8ar0H.js → node-cli-CGwktXpe.js} +2 -2
- package/dist/{onboard-C6Z7OaQ8.js → onboard-BR6vBv2I.js} +6 -6
- package/dist/{onboard-D8EOxPOn.js → onboard-C-fjU4uC.js} +6 -6
- package/dist/{onboard-channels-C4gBvkYQ.js → onboard-channels-B3tCPpRS.js} +2 -2
- package/dist/{onboard-channels-CDr6F5Rc.js → onboard-channels-C1UyGFfb.js} +2 -2
- package/dist/{onboard-search-BzpbxIgm.js → onboard-search-CjU6w3Sm.js} +5 -5
- package/dist/{onboard-search-BDLus6nY.js → onboard-search-Ds5KeCF_.js} +5 -5
- package/dist/{onboarding-CIjqOjDq.js → onboarding-BL3becPO.js} +181 -35
- package/dist/{onboarding-DjXH2-ro.js → onboarding-DGAQeYgr.js} +181 -35
- package/dist/{openresponses-http-C9x0SEG6.js → openresponses-http-Bcy1YyQY.js} +2 -2
- package/dist/{openresponses-http-eMouHu_v.js → openresponses-http-DIR_t4i1.js} +31 -31
- package/dist/{openresponses-http-DU9S_V_8.js → openresponses-http-DxsL0uBk.js} +1 -1
- package/dist/{openresponses-http-NFMdHWOs.js → openresponses-http-IVnQ_wz0.js} +2 -2
- package/dist/{openresponses-http-BA2nkk7t.js → openresponses-http-Qb_KOtcX.js} +1 -1
- package/dist/{outbound-BF3W1nJQ.js → outbound-BtgGTj4E.js} +6 -6
- package/dist/{outbound-attachment-CZV6JZkx.js → outbound-attachment-NKTzAe-U.js} +2 -2
- package/dist/{parent-default-help-zu6kW9Un.js → parent-default-help-BJGqN88G.js} +1 -1
- package/dist/{parent-default-help-k4GD2-UF.js → parent-default-help-XXsayZks.js} +1 -1
- package/dist/{path-alias-guards--dquYHnR.js → path-alias-guards-BgsM3Cb3.js} +1 -1
- package/dist/{paths-BGX-IMoI.js → paths-57KGLbK2.js} +22 -22
- package/dist/{pi-embedded-DPElH0OZ.js → pi-embedded-CZAiurHo.js} +5 -5
- package/dist/{pi-embedded-Pkm2p81t.js → pi-embedded-qk5CdQmR.js} +239 -239
- package/dist/{pi-model-discovery-DYwyxntg.js → pi-model-discovery-CfcnLOyX.js} +7 -7
- package/dist/pi-model-discovery-runtime-D85aZCOu.js +5 -0
- package/dist/{plugin-registry-DEewJtHt.js → plugin-registry-Bw0a_OGC.js} +1 -1
- package/dist/{plugin-registry-DfO1RfZv.js → plugin-registry-Dqk6vxYj.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-a_1hr0Eg.js → audio-preflight-BO8XDtTk.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-L8bE2tgB.js → audio-preflight-DK-6iXZY.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-BNlpZrWA.js → channel-web-DgXfvJo-.js} +1 -1
- package/dist/plugin-sdk/command-status.js +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{openresponses-http-DuRGQn_a.js → openresponses-http-DBFqruTK.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-BBdkt744.js → openresponses-http-RBdNxv8F.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-FgSYY3zE.js → pi-model-discovery-runtime-BWcaNxzp.js} +1 -1
- package/dist/plugin-sdk/{registry-DyRgZdL8.js → registry-DXXOSq_V.js} +8 -8
- package/dist/plugin-sdk/{reply-DclM907b.js → reply-Bb9pzXn4.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-EnvYKAtO.js → status-CHo58oXD.js} +5 -5
- package/dist/plugin-sdk/{web-C0nKlODk.js → web-B-fwFsth.js} +1 -1
- package/dist/plugin-sdk/{web-BrtGwPHN.js → web-BIIifta2.js} +2 -2
- package/dist/{plugins-cli-BU7lm9mm.js → plugins-cli-BKlKaixI.js} +5 -5
- package/dist/{plugins-cli-Be4GLYdI.js → plugins-cli-dvRFoJCC.js} +5 -5
- package/dist/{program-B78oSJVp.js → program-P-9mYfYw.js} +7 -7
- package/dist/{program-context-DpABaPXE.js → program-context-DZ2qDI4u.js} +24 -24
- package/dist/{prompt-select-styled-DI5ODziX.js → prompt-select-styled-CdVuqLJH.js} +4 -4
- package/dist/{prompt-select-styled-DmcQ0_hv.js → prompt-select-styled-DHjjwvXl.js} +4 -4
- package/dist/{pw-ai-42y3optV.js → pw-ai-CmgZwdpF.js} +5 -5
- package/dist/{qmd-manager-BPz-XVY5.js → qmd-manager-B4jAaAzx.js} +5 -5
- package/dist/{qmd-scope-D2okAldm.js → qmd-scope-BdblEj4C.js} +1 -1
- package/dist/{query-expansion-f4DE13gJ.js → query-expansion-JhTilyB1.js} +2 -2
- package/dist/{register.agent-FC9A__Az.js → register.agent-Be3pMMEj.js} +8 -8
- package/dist/{register.agent-DOychJ9q.js → register.agent-rgc26ryI.js} +9 -9
- package/dist/{register.configure-ybGicOMR.js → register.configure-BKYZzj-a.js} +12 -12
- package/dist/{register.configure-i3gbc5Cc.js → register.configure-DUgwZXRG.js} +12 -12
- package/dist/{register.maintenance-CYX_k6x1.js → register.maintenance-CEB2_x4K.js} +8 -8
- package/dist/{register.maintenance-MPPzwTam.js → register.maintenance-OE1jM64G.js} +9 -9
- package/dist/{register.message-D6NFTigk.js → register.message-CUE4ZFjr.js} +3 -3
- package/dist/{register.message-C_Q6o32_.js → register.message-vxrokTGv.js} +3 -3
- package/dist/{register.onboard-DqR_m0_p.js → register.onboard-Cyymwvc3.js} +14 -14
- package/dist/{register.onboard-PbsAD-eY.js → register.onboard-Dg3786vL.js} +14 -14
- package/dist/{register.setup-COidGsw2.js → register.setup-B6uH9Fkv.js} +14 -14
- package/dist/{register.setup-DMqotP6N.js → register.setup-BNk3o4bu.js} +14 -14
- package/dist/{register.status-health-sessions-CeY5Pzgk.js → register.status-health-sessions-DXgm8jTd.js} +6 -6
- package/dist/{register.status-health-sessions-CPBz-3k7.js → register.status-health-sessions-n5YTxXMt.js} +6 -6
- package/dist/{register.subclis-Dxe0Sco3.js → register.subclis-h2rwp41b.js} +16 -16
- package/dist/{replies-Bn06Bh1x.js → replies-afs2sQ1G.js} +2 -2
- package/dist/{reply-701mJB_S.js → reply-C6zXCUnw.js} +6 -6
- package/dist/{reply-prefix-DwrVxkMY.js → reply-prefix-CG0zciBg.js} +1 -1
- package/dist/{resolve-route-B4dOoe-E.js → resolve-route-DZkIcri6.js} +1 -1
- package/dist/{run-main-BvouUOJB.js → run-main-BW1xk67k.js} +14 -14
- package/dist/{runtime-helper-grants-CjDNw01t.js → runtime-helper-grants-BotyKHoQ.js} +1 -1
- package/dist/{runtime-helper-grants-B5q5llgE.js → runtime-helper-grants-DlthXnch.js} +1 -1
- package/dist/{sandbox-cli-MNviI01s.js → sandbox-cli-B74LKmmu.js} +2 -2
- package/dist/{sandbox-cli-DKUHq66f.js → sandbox-cli-DVrOgz6X.js} +2 -2
- package/dist/{security-cli-C4J7sHdd.js → security-cli-B_v3gSPc.js} +3 -3
- package/dist/{security-cli-D2jFeCER.js → security-cli-DUh-3-R1.js} +3 -3
- package/dist/{send-vR6HwT94.js → send-CABrQiXU.js} +4 -4
- package/dist/{send-BQMxv218.js → send-CUYy-rA3.js} +7 -7
- package/dist/{send-kLcLFjb8.js → send-DE1no-h6.js} +5 -5
- package/dist/{send-BsajjIj8.js → send-iIy3frXq.js} +5 -5
- package/dist/{send-Da1hCe1A.js → send-lQXOUIaW.js} +18 -18
- package/dist/{server-CvQUqV31.js → server-BWmtB5RG.js} +2 -2
- package/dist/{server-BRsV4GHd.js → server-CVXoSpqC.js} +2 -2
- package/dist/{server-cron-BV2pPZ-O.js → server-cron-D0oLzDes.js} +2 -2
- package/dist/{server-cron-C-3djfm_.js → server-cron-DBSvrOWz.js} +2 -2
- package/dist/{server-node-events-Ce-RXuis.js → server-node-events-BGkUHSkq.js} +3 -3
- package/dist/{server-node-events-Bi8FQeYu.js → server-node-events-TmYB-LGW.js} +3 -3
- package/dist/{session-ZMAktQw4.js → session-TK9Idt8g.js} +5 -5
- package/dist/{skill-commands-BP6zVlmg.js → skill-commands-CCjZMCdx.js} +24 -24
- package/dist/{status-DoLjTnlQ.js → status-C1qehkux.js} +1 -1
- package/dist/{status-CIb_4gfm.js → status-CGYle9wh.js} +4 -4
- package/dist/{status-D9As1GK-.js → status-DVTZ42Xi.js} +1 -1
- package/dist/{status-BiHSisy7.js → status-hNS_-DU5.js} +4 -4
- package/dist/{tables-DMwrn7NN.js → tables-H4kq3TrS.js} +1 -1
- package/dist/{target-errors-CR_hozUt.js → target-errors-9BsSMzQY.js} +2 -2
- package/dist/{tool-loop-detection-DZ-oTJiQ.js → tool-loop-detection-D4MYRJWP.js} +2 -2
- package/dist/{tui-BpbyDMEE.js → tui-ARPlmctm.js} +1 -1
- package/dist/{tui-D9armVLc.js → tui-D6_aw9hu.js} +1 -1
- package/dist/{tui-cli-lN5CL6pA.js → tui-cli-CDBUp2y3.js} +3 -3
- package/dist/{tui-cli-A_j8l8a3.js → tui-cli-CYkhnUmj.js} +3 -3
- package/dist/{update-cli-DRefGXK8.js → update-cli-CVPEyzw1.js} +10 -10
- package/dist/{update-cli-B8_evObo.js → update-cli-ChNYv3li.js} +9 -9
- package/dist/{update-runner-DnLLf66O.js → update-runner-CMe4a4QF.js} +1 -1
- package/dist/{update-runner-Bd7n68kz.js → update-runner-dCQywbJs.js} +1 -1
- package/dist/{web-D-SMykKz.js → web-BIREWy8I.js} +35 -35
- package/dist/{web-778GrijN.js → web-Bly-ch0b.js} +1 -1
- package/dist/{web-CPKh7bSP.js → web-BvK9MRcp.js} +1 -1
- package/dist/{web-DEuBtNld.js → web-CCLojlog.js} +3 -3
- package/dist/{web-Z5JZl5Nc.js → web-CvJzsQ59.js} +3 -3
- package/dist/{web-search-providers.runtime-AAOfSU2b.js → web-search-providers.runtime-BCjJQLBJ.js} +1 -1
- package/dist/{web-search-providers.runtime-DcgcyEiV.js → web-search-providers.runtime-DCy32Tl0.js} +1 -1
- package/dist/{whatsapp-actions-favixTth.js → whatsapp-actions-C0w9GEJM.js} +12 -12
- package/docs/install/index.md +8 -1
- package/docs/install/installer.md +9 -6
- package/docs/install/vps.md +9 -2
- package/docs/start/wizard.md +9 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/pi-model-discovery-runtime-BhaI9PU2.js +0 -5
|
@@ -1840,8 +1840,8 @@ function registerCronWorkerCommand(cron) {
|
|
|
1840
1840
|
try {
|
|
1841
1841
|
const [{ loadConfig }, { createDefaultDeps }, { buildGatewayCronService }] = await Promise.all([
|
|
1842
1842
|
import("./agent-scope-DHrLr5OF.js").then((n) => n.wn),
|
|
1843
|
-
import("./deps-
|
|
1844
|
-
import("./server-cron-
|
|
1843
|
+
import("./deps-BVNeN6gT.js").then((n) => n.r),
|
|
1844
|
+
import("./server-cron-DBSvrOWz.js").then((n) => n.n)
|
|
1845
1845
|
]);
|
|
1846
1846
|
const workerId = typeof opts.workerId === "string" && opts.workerId.trim() ? opts.workerId.trim() : `task-worker:${process.pid}`;
|
|
1847
1847
|
const maxRuns = parsePositiveInt(opts.maxRuns, 1);
|
|
@@ -1837,8 +1837,8 @@ function registerCronWorkerCommand(cron) {
|
|
|
1837
1837
|
try {
|
|
1838
1838
|
const [{ loadConfig }, { createDefaultDeps }, { buildGatewayCronService }] = await Promise.all([
|
|
1839
1839
|
import("./env-C77feXxI.js").then((n) => n.qt),
|
|
1840
|
-
import("./deps-
|
|
1841
|
-
import("./server-cron-
|
|
1840
|
+
import("./deps-Uo5boHSY.js").then((n) => n.r),
|
|
1841
|
+
import("./server-cron-D0oLzDes.js").then((n) => n.n)
|
|
1842
1842
|
]);
|
|
1843
1843
|
const workerId = typeof opts.workerId === "string" && opts.workerId.trim() ? opts.workerId.trim() : `task-worker:${process.pid}`;
|
|
1844
1844
|
const maxRuns = parsePositiveInt(opts.maxRuns, 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Cf as GATEWAY_CLIENT_MODES, Cu as formatCliCommand, Qt as readConfigFileSnapshot, Xt as loadConfig, Yt as createConfigIO, tn as writeConfigFile, wf as GATEWAY_CLIENT_NAMES } from "./env-C77feXxI.js";
|
|
3
3
|
import { B as colorize, G as getResolvedLoggerSettings, H as theme, T as sleep, V as isRich, w as shortenHomePath } from "./agent-paths-BI1hx-tF.js";
|
|
4
|
-
import { E as resolveControlUiLinks, T as randomToken, Vn as resolveGatewayAuth } from "./model-catalog-
|
|
4
|
+
import { E as resolveControlUiLinks, T as randomToken, Vn as resolveGatewayAuth } from "./model-catalog-Iu_LUOVA.js";
|
|
5
5
|
import { A as defaultRuntime, Ct as resolveStateDir, _t as resolveIsNixMode, ft as resolveConfigPath, gt as resolveGatewayPort } from "./entry.js";
|
|
6
6
|
import { f as classifyPortListener, l as inspectPortUsage, p as formatPortDiagnostics } from "./chrome-bxkNKPA7.js";
|
|
7
7
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CGlWbWK9.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { _ as resolveStateDir, d as resolveIsNixMode, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-C9FmTW1x.js";
|
|
3
3
|
import { E as sleep, H as isRich, K as getResolvedLoggerSettings, T as shortenHomePath, U as theme, V as colorize } from "./agent-paths-DmOVZE7g.js";
|
|
4
4
|
import { Dn as loadConfig, En as createConfigIO, Mn as writeConfigFile, dd as formatCliCommand, kn as readConfigFileSnapshot, mf as GATEWAY_CLIENT_NAMES, pf as GATEWAY_CLIENT_MODES } from "./agent-scope-DHrLr5OF.js";
|
|
5
|
-
import { Qt as resolveControlUiLinks, Zt as randomToken, lt as resolveGatewayAuth } from "./reply-
|
|
5
|
+
import { Qt as resolveControlUiLinks, Zt as randomToken, lt as resolveGatewayAuth } from "./reply-C6zXCUnw.js";
|
|
6
6
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import { f as inspectPortUsage, g as formatPortDiagnostics, h as classifyPortListener } from "./chrome-mXtDMFyZ.js";
|
|
8
8
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-CxIqR5zC.js";
|
package/dist/daemon-cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as resolveGatewayPort, p as resolveStateDir, s as resolveConfigPath, u as resolveIsNixMode } from "./github-copilot-token-Dy7Y_jbI.js";
|
|
2
2
|
import { Ct as writeConfigFile, Fs as theme, Go as isSupportedNodeVersion, Ls as getResolvedLoggerSettings, Ns as colorize, Ps as isRich, Qa as GATEWAY_CLIENT_NAMES, Wo as VERSION, Za as GATEWAY_CLIENT_MODES, Zo as collectConfigServiceEnvVars, _t as createConfigIO, bs as shortenHomePath, bt as readConfigFileSnapshot, ns as formatCliCommand, qo as defaultRuntime, vt as loadConfig, xs as sleep } from "./paths-OUJyk-5R.js";
|
|
3
|
-
import { Ct as formatDocsLink, St as resolveLegacyGatewayLaunchAgentLabels, _t as resolveGatewayLaunchAgentLabel, bt as resolveGatewaySystemdServiceName, dt as callGateway, ft as resolveGatewayCredentialsFromConfig, gt as GATEWAY_SERVICE_MARKER, ht as GATEWAY_SERVICE_KIND, lt as randomToken, mt as GATEWAY_LAUNCH_AGENT_LABEL, pt as loadGatewayTlsRuntime, t as resolveGatewayAuth, ut as resolveControlUiLinks, vt as resolveGatewayProfileSuffix, xt as resolveGatewayWindowsTaskName, y as withProgress, yt as resolveGatewayServiceDescription } from "./auth-
|
|
3
|
+
import { Ct as formatDocsLink, St as resolveLegacyGatewayLaunchAgentLabels, _t as resolveGatewayLaunchAgentLabel, bt as resolveGatewaySystemdServiceName, dt as callGateway, ft as resolveGatewayCredentialsFromConfig, gt as GATEWAY_SERVICE_MARKER, ht as GATEWAY_SERVICE_KIND, lt as randomToken, mt as GATEWAY_LAUNCH_AGENT_LABEL, pt as loadGatewayTlsRuntime, t as resolveGatewayAuth, ut as resolveControlUiLinks, vt as resolveGatewayProfileSuffix, xt as resolveGatewayWindowsTaskName, y as withProgress, yt as resolveGatewayServiceDescription } from "./auth-C4Rs_Ca4.js";
|
|
4
4
|
import "./send-D96gGRQz.js";
|
|
5
5
|
import "./send-BFoI9HuU.js";
|
|
6
6
|
import "./skill-commands-DvoCSQnx.js";
|
|
@@ -23,7 +23,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({
|
|
|
23
23
|
function createDefaultDeps() {
|
|
24
24
|
return {
|
|
25
25
|
sendMessageWhatsApp: async (...args) => {
|
|
26
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
26
|
+
const { sendMessageWhatsApp } = await import("./web-CvJzsQ59.js");
|
|
27
27
|
return await sendMessageWhatsApp(...args);
|
|
28
28
|
},
|
|
29
29
|
sendMessageTelegram: async (...args) => {
|
|
@@ -23,7 +23,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({
|
|
|
23
23
|
function createDefaultDeps() {
|
|
24
24
|
return {
|
|
25
25
|
sendMessageWhatsApp: async (...args) => {
|
|
26
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
26
|
+
const { sendMessageWhatsApp } = await import("./web-CCLojlog.js");
|
|
27
27
|
return await sendMessageWhatsApp(...args);
|
|
28
28
|
},
|
|
29
29
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Pi as redactSensitiveText, k as createSubsystemLogger } from "./agent-scope-
|
|
2
|
+
import { Pi as redactSensitiveText, k as createSubsystemLogger } from "./agent-scope-DwKyukUg.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-CexmAKza.js";
|
|
4
4
|
import { t as redactIdentifier } from "./redact-identifier-Cy6Tnhkn.js";
|
|
5
5
|
|
package/dist/entry.js
CHANGED
|
@@ -1671,7 +1671,7 @@ if (!isMainModule({
|
|
|
1671
1671
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1672
1672
|
process$1.argv = parsed.argv;
|
|
1673
1673
|
}
|
|
1674
|
-
import("./run-main-
|
|
1674
|
+
import("./run-main-BW1xk67k.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1675
1675
|
console.error("[fased] Failed to start CLI:", formatUncaughtError(error));
|
|
1676
1676
|
process$1.exitCode = 1;
|
|
1677
1677
|
});
|
package/dist/extensionAPI.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Pt as resolveSessionFilePath, Rt as resolveStorePath, S as ensureAgentW
|
|
|
2
2
|
import "./github-copilot-token-CNsqwfnE.js";
|
|
3
3
|
import "./send-CFSRf7De.js";
|
|
4
4
|
import "./send-gtmn6YeH.js";
|
|
5
|
-
import { $ as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
5
|
+
import { $ as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-CZAiurHo.js";
|
|
6
6
|
import { a as resolveAgentIdentity } from "./reply-prefix-Bitnsmpd.js";
|
|
7
7
|
import "./diagnostic-_BiQ6GgD.js";
|
|
8
8
|
import "./diagnostic-session-state-CL_QxyRg.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as bindAbortRelay } from "./fetch-timeout-ByUoGUeM.js";
|
|
2
|
-
import { n as normalizeRequestInitHeadersForFetch } from "./fetch-guard-
|
|
2
|
+
import { n as normalizeRequestInitHeadersForFetch } from "./fetch-guard-DqpQMLwE.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/fetch.ts
|
|
5
5
|
const wrapFetchWithAbortSignalMarker = Symbol.for("fased.fetch.abort-signal-wrapped");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ui as logWarn } from "./agent-scope-
|
|
1
|
+
import { Ui as logWarn } from "./agent-scope-DwKyukUg.js";
|
|
2
2
|
import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-DYsl9qoS.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-ByUoGUeM.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import "./github-copilot-token-
|
|
3
|
-
import { t as resolveMemorySearchConfig } from "./memory-search-
|
|
4
|
-
import { c as normalizeExtraMemoryPaths, l as normalizeRelPath, n as chunkMarkdown, o as isMemoryPath, s as listMemoryFiles, t as buildFileEntry } from "./internal-
|
|
1
|
+
import { l as resolveAgentWorkspaceDir } from "./agent-scope-DwKyukUg.js";
|
|
2
|
+
import "./github-copilot-token-eyrRGmGp.js";
|
|
3
|
+
import { t as resolveMemorySearchConfig } from "./memory-search-BxRjHrXP.js";
|
|
4
|
+
import { c as normalizeExtraMemoryPaths, l as normalizeRelPath, n as chunkMarkdown, o as isMemoryPath, s as listMemoryFiles, t as buildFileEntry } from "./internal-CU3wrcPl.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ei as sameFileIdentity, Gi as isPathInside, Ki as isSymlinkOpenError, Wi as isNotFoundPathError } from "./agent-scope-
|
|
2
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards
|
|
1
|
+
import { Ei as sameFileIdentity, Gi as isPathInside, Ki as isSymlinkOpenError, Wi as isNotFoundPathError } from "./agent-scope-DwKyukUg.js";
|
|
2
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BgsM3Cb3.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { constants } from "node:fs";
|
|
@@ -2,7 +2,7 @@ import { _ as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
2
2
|
import { A as isPlainObject, F as logVerbose, G as getLogger, H as isRich, K as getResolvedLoggerSettings, L as setVerbose, S as resolveUserPath, T as shortenHomePath, U as theme, V as colorize, d as ensureDir, i as CONFIG_DIR, k as truncateUtf16Safe, o as clamp } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { $ as listAgentsForGateway, $a as isPidAlive, $f as createInternalHookEvent, $l as runCommandWithTimeout, A as resolveDefaultAgentWorkspaceDir, Af as CHANNEL_IDS, An as readConfigFileSnapshotForWrite, B as listChatChannels, Bt as mergeDeliveryContext, C as DEFAULT_SOUL_FILENAME, Cd as isTruthyEnvValue, Ci as resolveThinkingDefault, Cn as resolveMainSessionKeyFromConfig, Co as coerceSecretRef, Ct as emitSessionTranscriptUpdate, Dn as loadConfig, E as ensureAgentWorkspace, Ec as listProviderBrandManifests, En as createConfigIO, Et as loadSessionStore, F as createSubsystemLogger, Ff as formatControlPlaneActor, Ga as ensureAuthProfileStore, Gf as isNodeRoleMethod, Gt as archiveSessionTranscripts, Hr as applyLegacyMigrations, Ht as normalizeSessionDeliveryFields, Hu as resolveDefaultWhatsAppAccountId, I as runtimeForLogger, If as resolveControlPlaneActor, Ii as resolveLmStudioApiBase, Jt as readSessionMessages, Ju as logoutWeb, Kt as capArrayByJsonBytes, Lf as summarizeChangedPaths, Li as resolveOllamaApiBase, Mn as writeConfigFile, Mu as getChannelPlugin, Nf as getMutatingAdminRpcAuditHistorySnapshot, Nl as sameFileIdentity, Nn as validateConfigObjectWithPlugins, Nt as updateSessionStore, Nu as listChannelPlugins, O as isWorkspaceOnboardingCompleted, Oa as runTasksWithConcurrency, Of as resolvePluginAdminRpcActionSourceKeys, On as parseConfigJson5, Pf as logMutatingAdminRpcAudit, Pn as FasedAgentSchema, Pu as normalizeChannelId, Q as invalidateCombinedSessionStoreCache, Qd as isSessionCompactionCheckpointArtifactName, Qr as buildTalkConfigResponse, Qt as stripEnvelopeFromMessages, Rf as consumeMutatingAdminRpcBudget, Rt as deliveryContextFromSession, S as DEFAULT_MEMORY_FILENAME, Sn as resolveMainSessionKey, T as DEFAULT_USER_FILENAME, Tc as isStandardProviderModelRef, Tn as migrateLegacyConfig, U as getActivePluginRegistry, Vr as applyMergePatch, Wa as upsertAuthProfileWithLock, Wf as authorizeOperatorScopesForMethod, Wt as archiveFileOnDisk, Wu as resolveWhatsAppAuthDir, X as canonicalizeSpawnedByForAgent, Xf as getPluginCommandSpecs, Xt as resolveSessionTranscriptCandidates, Ya as updateAuthProfileStoreWithLock, Yt as readSessionPreviewItemsFromTranscript, Za as resolveAuthStorePathForDisplay, Zf as listPluginCommands, Zt as stripEnvelopeFromMessage, _i as resolveExplicitConfiguredModelRef, _t as extractDeliveryInfo, a as resolveAgentDir, ad as setConsoleSubsystemFilter, an as normalizeInputProvenance, ao as loadPluginManifestRegistry, at as resolveSessionModelIdentityRef, au as logWarn, b as DEFAULT_IDENTITY_FILENAME, bl as VERSION, bn as resolveAgentMainSessionKey, bo as normalizeSecretInput, cf as normalizeMessageChannel, ci as modelKey, cp as formatXHighModelHint, ct as cleanupSessionCompactionSnapshot, d as resolveDefaultAgentId, da as resolveProfileUnusableUntilForDisplay, dd as formatCliCommand, df as GATEWAY_CLIENT_CAPS, dp as normalizeThinkLevel, dt as persistSessionCompactionCheckpoint, ef as INTERNAL_MESSAGE_CHANNEL, ei as resolveAgentMaxConcurrent, en as stripInlineDirectiveTagsForDisplay, et as listSessionsFromStore, eu as runExec, ff as GATEWAY_CLIENT_IDS, fp as resolveModelThinkingCapability, g as DEFAULT_AGENTS_FILENAME, gi as resolveDefaultModelForAgent, gn as mergeSessionEntry, gu as isPathInside, hf as hasGatewayClientCap, hu as isNotFoundPathError, io as clearPluginManifestRegistryCache, ip as resolveAgentModelPrimaryValue, it as resolveGatewaySessionStoreTarget, j as resolveWorkspaceTemplateDir, jf as CHAT_CHANNEL_ORDER, jn as resolveConfigSnapshotHash, ju as snapshotSessionOrigin, kn as readConfigFileSnapshot, lt as getSessionCompactionCheckpoint, m as resolveSessionAgentId, mf as GATEWAY_CLIENT_NAMES, n as listAgentEntries, nf as isGatewayCliClient, np as triggerInternalHook, nt as loadSessionEntry, nu as logDebug, od as setConsoleTimestampPrefix, of as isWebchatClient, ot as resolveSessionModelRef, pf as GATEWAY_CLIENT_MODES, pi as resolveAllowedModelRef, po as resolveFasedAgentPackageRoot, pp as supportsXHighThinking, q as createEmptyPluginRegistry, r as listAgentIds, rf as isGatewayMessageChannel, ro as normalizeProviderId, rt as pruneLegacyStoreKeys, sp as formatThinkingLevels, st as captureSessionCompactionSnapshot, tf as isDeliverableMessageChannel, ti as resolveSubagentMaxConcurrent, tn as stripInlineDirectiveTagsFromMessageForDisplay, tt as loadCombinedSessionStoreForGateway, u as resolveAgentWorkspaceDir, ut as listSessionCompactionCheckpoints, v as DEFAULT_BOOTSTRAP_FILENAME, vo as isPrivateNetworkBaseUrl, vt as parseSessionThreadInfo, w as DEFAULT_TOOLS_FILENAME, wd as logAcceptedEnvOption, wl as installPluginFromNpmSpec, wt as onSessionTranscriptUpdate, x as DEFAULT_MEMORY_ALT_FILENAME, xi as resolveSubagentConfiguredModelSelection, xl as resolveRuntimeServiceVersion, xn as resolveExplicitAgentSessionKey, y as DEFAULT_HEARTBEAT_FILENAME, zf as ADMIN_SCOPE$3 } from "./agent-scope-DHrLr5OF.js";
|
|
4
4
|
import { C as normalizeReasoningLevel, S as normalizeElevatedLevel, T as normalizeVerboseLevel, m as resolveNativeCommandName, o as listChatCommandsForConfig, w as normalizeUsageDisplay, y as isRestartEnabled } from "./commands-registry-BRvZQ1jh.js";
|
|
5
|
-
import { $a as applyHookMappings, $i as resolveOutboundChannelPlugin, $n as isAbortRequestText, $o as getTailnetHostname, Aa as resetAllLanes, Ao as startDiagnosticStabilityRecorder, Ar as createRunningTaskRun, At as deriveModelMetadata, Ba as buildCredentialScopedAllowedModelSet, Bo as buildCanvasScopedHostUrl, Br as loadProviderUsageSummary, Ca as textToSpeech, Co as ensureControlUiAssetsBuilt, Cr as clearAgentRunContext, Do as resolveControlUiRootSync, Dr as registerAgentRunContext, Ea as getActiveTaskCount, Eo as resolveControlUiRootOverrideSync, Er as onAgentEvent, Et as loadModelCatalog, F as readCronRunLogEntriesPage, Fo as CANVAS_WS_PATH, Ga as getAcpSessionManager, Go as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, Gr as normalizeGroupActivation, Gt as handleReset, Ha as filterModelCatalogByProviders, Hi as startBrowserControlServiceFromConfig, Hn as dispatchInboundMessage, I as readCronRunLogEntriesPageAll, Io as injectCanvasLiveReload, Ir as resolveAnnounceTargetFromKey, Jo as disableTailscaleFunnel, Jr as ensureOutboundSessionEntry, Kn as normalizeSendPolicy, Ko as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, L as resolveCronRunLogPath, Li as applyBrowserProxyPaths, Lo as normalizeUrlPath, Ma as waitForActiveTasks, Mr as recordTaskRunAccountingByRunId, Na as getMachineDisplayName, No as startFederationAutoConnect, Nr as recordTaskRunProgressByRunId, Nt as loadFasedAgentPlugins, O as removeCronTaskRunQueueItems, Oa as getTotalQueueSize, Oo as getDiagnosticStabilitySnapshot, Or as sweepStaleRunContexts, Ot as loadProviderExtensionCatalogIndex, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Po as CANVAS_HOST_PATH, Pr as setDetachedTaskDeliveryStatusByRunId, Qa as resolveHooksConfig, Qi as buildOutboundSessionContext, Ra as stripHeartbeatToken, Ri as persistBrowserProxyFiles, Ro as resolveFileWithinRoot, Rr as taskRecordBelongsToAgent, Sa as setTtsProvider, So as resolveAssistantAvatarUrl, T as readCronTaskRunQueue, Ta as OPENAI_TTS_VOICES, Tr as getAgentRunContext, Tt as parseVerboseOverride, Ua as CommandLane, Un as createReplyDispatcher, Va as buildUsableModelProviderSet, Vi as createBrowserControlContext, Vn as formatZonedTimestamp, Vo as mintCanvasCapabilityToken, Wn as getTotalPendingReplies, Wr as clearSessionQueues, Xi as resolveOutboundTarget, Xn as parseMiningChatCommand, Xo as enableTailscaleFunnel, Yn as executeMiningChatCommand, Yo as disableTailscaleServe, Yr as resolveOutboundSessionRoute, Za as normalizeHookDispatchSessionKey, Zi as resolveSessionDeliveryTarget, Zo as enableTailscaleServe, Zr as resetDirectoryCache, _a as resolveTtsAutoMode, _i as writeRestartSentinel, a as DEFAULT_OAUTH_WARN_MS, ai as isGatewaySigusr1RestartExternallyAllowed, ao as getGlobalHookRunner, ar as getActiveEmbeddedRunCount, ba as resolveTtsProviderOrder, bi as normalizeCronJobPatch, ca as resolvePluginTools, ci as setGatewaySigusr1RestartPolicy, co as applyAgentConfig, cr as resolveToolDisplay, ct as isLocalDirectRequest, da as clearBootstrapSnapshot, di as consumeRestartSentinel, dn as computeBackoff, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, eo as resolveHookMappings, er as stopSubagentsForRequester, f as readCronTaskRunDetail, fa as getTtsProvider, fi as formatDoctorNonInteractiveHint, fn as sleepWithAbort, fo as pruneAgentConfig, fs as resolveAgentTimeoutMs, ga as resolveTtsApiKey, ha as listTtsPersonas, hi as summarizeRestartSentinel, hn as unbindThreadBindingsBySessionKey, ho as ControlUiLoginService, ht as agentCommand, ia as requestHeartbeatNow, ii as emitGatewayRestart, io as resolveReplyToMode, ir as abortEmbeddedPiRun, ja as setCommandLaneConcurrency, jo as stopDiagnosticStabilityRecorder, jr as failTaskRunByRunId, ka as markGatewayDraining, ko as normalizeDiagnosticStabilityQuery, kr as completeTaskRunByRunId, li as setPreRestartDeferralCheck, lt as resolveGatewayAuth, ma as isTtsProviderConfigured, mr as resolveEffectiveToolPolicy, n as BARE_SESSION_RESET_PROMPT, ni as consumeGatewaySigusr1RestartAuthorization, o as buildAuthHealthSummary, oi as markGatewaySigusr1RestartHandled, oo as runGlobalGatewayStopSafely, or as waitForEmbeddedPiRunEnd, ot as assertGatewayAuthConfigured, pa as isTtsEnabled, pi as formatRestartSentinelMessage, po as cleanAgentModelProviders, qn as resolveSendPolicy, qo as createAuthRateLimiter, ri as deferGatewayRestartUntilIdle, ro as normalizeReplyPayloadsForDelivery, sa as getPluginToolMeta, si as scheduleGatewaySigusr1Restart, so as resolveAssistantIdentity, st as authorizeGatewayConnect, ta as isSystemEventContextChanged, ti as collectEnabledInsecureOrDangerousFlags, to as deliverOutboundPayloads, ua as getChannelAgentToolMeta, ui as triggerFasedAgentRestart, uo as findAgentEntryIndex, ur as registerUnhandledRejectionHandler, ut as createHooksRequestHandler, va as resolveTtsConfig, vo as resolveControlUiPublicHost, vt as resolveAgentDeliveryPlan, wa as OPENAI_TTS_MODELS, wt as applyVerboseOverride, xa as setTtsEnabled, xo as normalizeControlUiBasePath, ya as resolveTtsPrefsPath, yi as normalizeCronJobCreate, yr as initSubagentRegistry, yt as resolveAgentOutboundTarget, za as resolveUserTimezone, zi as createBrowserRouteDispatcher, zo as CANVAS_CAPABILITY_TTL_MS, zr as applyModelOverrideToSessionEntry } from "./reply-
|
|
5
|
+
import { $a as applyHookMappings, $i as resolveOutboundChannelPlugin, $n as isAbortRequestText, $o as getTailnetHostname, Aa as resetAllLanes, Ao as startDiagnosticStabilityRecorder, Ar as createRunningTaskRun, At as deriveModelMetadata, Ba as buildCredentialScopedAllowedModelSet, Bo as buildCanvasScopedHostUrl, Br as loadProviderUsageSummary, Ca as textToSpeech, Co as ensureControlUiAssetsBuilt, Cr as clearAgentRunContext, Do as resolveControlUiRootSync, Dr as registerAgentRunContext, Ea as getActiveTaskCount, Eo as resolveControlUiRootOverrideSync, Er as onAgentEvent, Et as loadModelCatalog, F as readCronRunLogEntriesPage, Fo as CANVAS_WS_PATH, Ga as getAcpSessionManager, Go as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, Gr as normalizeGroupActivation, Gt as handleReset, Ha as filterModelCatalogByProviders, Hi as startBrowserControlServiceFromConfig, Hn as dispatchInboundMessage, I as readCronRunLogEntriesPageAll, Io as injectCanvasLiveReload, Ir as resolveAnnounceTargetFromKey, Jo as disableTailscaleFunnel, Jr as ensureOutboundSessionEntry, Kn as normalizeSendPolicy, Ko as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, L as resolveCronRunLogPath, Li as applyBrowserProxyPaths, Lo as normalizeUrlPath, Ma as waitForActiveTasks, Mr as recordTaskRunAccountingByRunId, Na as getMachineDisplayName, No as startFederationAutoConnect, Nr as recordTaskRunProgressByRunId, Nt as loadFasedAgentPlugins, O as removeCronTaskRunQueueItems, Oa as getTotalQueueSize, Oo as getDiagnosticStabilitySnapshot, Or as sweepStaleRunContexts, Ot as loadProviderExtensionCatalogIndex, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Po as CANVAS_HOST_PATH, Pr as setDetachedTaskDeliveryStatusByRunId, Qa as resolveHooksConfig, Qi as buildOutboundSessionContext, Ra as stripHeartbeatToken, Ri as persistBrowserProxyFiles, Ro as resolveFileWithinRoot, Rr as taskRecordBelongsToAgent, Sa as setTtsProvider, So as resolveAssistantAvatarUrl, T as readCronTaskRunQueue, Ta as OPENAI_TTS_VOICES, Tr as getAgentRunContext, Tt as parseVerboseOverride, Ua as CommandLane, Un as createReplyDispatcher, Va as buildUsableModelProviderSet, Vi as createBrowserControlContext, Vn as formatZonedTimestamp, Vo as mintCanvasCapabilityToken, Wn as getTotalPendingReplies, Wr as clearSessionQueues, Xi as resolveOutboundTarget, Xn as parseMiningChatCommand, Xo as enableTailscaleFunnel, Yn as executeMiningChatCommand, Yo as disableTailscaleServe, Yr as resolveOutboundSessionRoute, Za as normalizeHookDispatchSessionKey, Zi as resolveSessionDeliveryTarget, Zo as enableTailscaleServe, Zr as resetDirectoryCache, _a as resolveTtsAutoMode, _i as writeRestartSentinel, a as DEFAULT_OAUTH_WARN_MS, ai as isGatewaySigusr1RestartExternallyAllowed, ao as getGlobalHookRunner, ar as getActiveEmbeddedRunCount, ba as resolveTtsProviderOrder, bi as normalizeCronJobPatch, ca as resolvePluginTools, ci as setGatewaySigusr1RestartPolicy, co as applyAgentConfig, cr as resolveToolDisplay, ct as isLocalDirectRequest, da as clearBootstrapSnapshot, di as consumeRestartSentinel, dn as computeBackoff, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, eo as resolveHookMappings, er as stopSubagentsForRequester, f as readCronTaskRunDetail, fa as getTtsProvider, fi as formatDoctorNonInteractiveHint, fn as sleepWithAbort, fo as pruneAgentConfig, fs as resolveAgentTimeoutMs, ga as resolveTtsApiKey, ha as listTtsPersonas, hi as summarizeRestartSentinel, hn as unbindThreadBindingsBySessionKey, ho as ControlUiLoginService, ht as agentCommand, ia as requestHeartbeatNow, ii as emitGatewayRestart, io as resolveReplyToMode, ir as abortEmbeddedPiRun, ja as setCommandLaneConcurrency, jo as stopDiagnosticStabilityRecorder, jr as failTaskRunByRunId, ka as markGatewayDraining, ko as normalizeDiagnosticStabilityQuery, kr as completeTaskRunByRunId, li as setPreRestartDeferralCheck, lt as resolveGatewayAuth, ma as isTtsProviderConfigured, mr as resolveEffectiveToolPolicy, n as BARE_SESSION_RESET_PROMPT, ni as consumeGatewaySigusr1RestartAuthorization, o as buildAuthHealthSummary, oi as markGatewaySigusr1RestartHandled, oo as runGlobalGatewayStopSafely, or as waitForEmbeddedPiRunEnd, ot as assertGatewayAuthConfigured, pa as isTtsEnabled, pi as formatRestartSentinelMessage, po as cleanAgentModelProviders, qn as resolveSendPolicy, qo as createAuthRateLimiter, ri as deferGatewayRestartUntilIdle, ro as normalizeReplyPayloadsForDelivery, sa as getPluginToolMeta, si as scheduleGatewaySigusr1Restart, so as resolveAssistantIdentity, st as authorizeGatewayConnect, ta as isSystemEventContextChanged, ti as collectEnabledInsecureOrDangerousFlags, to as deliverOutboundPayloads, ua as getChannelAgentToolMeta, ui as triggerFasedAgentRestart, uo as findAgentEntryIndex, ur as registerUnhandledRejectionHandler, ut as createHooksRequestHandler, va as resolveTtsConfig, vo as resolveControlUiPublicHost, vt as resolveAgentDeliveryPlan, wa as OPENAI_TTS_MODELS, wt as applyVerboseOverride, xa as setTtsEnabled, xo as normalizeControlUiBasePath, ya as resolveTtsPrefsPath, yi as normalizeCronJobCreate, yr as initSubagentRegistry, yt as resolveAgentOutboundTarget, za as resolveUserTimezone, zi as createBrowserRouteDispatcher, zo as CANVAS_CAPABILITY_TTL_MS, zr as applyModelOverrideToSessionEntry } from "./reply-C6zXCUnw.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
7
7
|
import { C as isSubagentSessionKey, c as normalizeMainKey, f as toAgentRequestSessionKey, h as normalizeAccountId, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, s as normalizeAgentId, t as DEFAULT_AGENT_ID, w as parseAgentSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
8
8
|
import { a as isErrno, d as defaultRuntime, l as compileSafeRegex, n as formatErrorMessage, s as redactSensitiveText } from "./errors-Dx3S3Nrp.js";
|
|
@@ -42,7 +42,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
42
42
|
import "./outbound-attachment-CsXJwFsg.js";
|
|
43
43
|
import "./fetch-CnCPOuq7.js";
|
|
44
44
|
import { c as redactOutboundTargetInText, s as formatOutboundTargetForLog } from "./delivery-queue-DKRjVFlq.js";
|
|
45
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
45
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-BVNeN6gT.js";
|
|
46
46
|
import { t as getMemorySearchManager } from "./memory-DDpj0IVA.js";
|
|
47
47
|
import "./memory-search-BwYkW6_V.js";
|
|
48
48
|
import "./manager-BmONwMiP.js";
|
|
@@ -82,7 +82,7 @@ import { a as refreshRemoteNodeBins, c as approveNodePairing, d as removePairedN
|
|
|
82
82
|
import { n as listSkillCommandsForAgents } from "./skill-commands-QW8zKXC_.js";
|
|
83
83
|
import "./prompt-style-CWAacuMq.js";
|
|
84
84
|
import "./pairing-labels-D2yOKhoV.js";
|
|
85
|
-
import "./channel-web-
|
|
85
|
+
import "./channel-web-DIRVjokt.js";
|
|
86
86
|
import { i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-R3FlTlJn.js";
|
|
87
87
|
import "./outbound-DIee7LFn.js";
|
|
88
88
|
import "./session-hHLfAOAa.js";
|
|
@@ -101,47 +101,47 @@ import "./service-Bsg622jp.js";
|
|
|
101
101
|
import "./service-audit-BRLbvcxT.js";
|
|
102
102
|
import "./shared-Cg_Qr7wd.js";
|
|
103
103
|
import { t as parsePort$1 } from "./parse-port-DdAxyRwV.js";
|
|
104
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
104
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-w15TQchq.js";
|
|
105
105
|
import "./diagnostics-BkyuWtqz.js";
|
|
106
106
|
import "./table-DQLeG14F.js";
|
|
107
107
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BiR0O1D-.js";
|
|
108
108
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DyD7nHT8.js";
|
|
109
|
-
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-
|
|
110
|
-
import { c as detectCustomApiCompatibility, f as discoverGatewayBeacons, i as installSkill, o as CustomApiError, s as applyCustomApiConfig } from "./ipv4-
|
|
111
|
-
import { i as pickGatewaySelfPresence, n as getStatusSummary, r as resolveAcpxMcpBridgeStatus } from "./status-
|
|
112
|
-
import { c as createGatewayStartupTrace, n as getGatewayLivenessHealthSnapshot, r as getHealthSnapshot, s as styleHealthChannelLine, t as formatHealthChannelLines } from "./health-
|
|
113
|
-
import { i as startHeartbeatRunner, r as setHeartbeatsEnabled } from "./heartbeat-runner-
|
|
109
|
+
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-DQyLAEfl.js";
|
|
110
|
+
import { c as detectCustomApiCompatibility, f as discoverGatewayBeacons, i as installSkill, o as CustomApiError, s as applyCustomApiConfig } from "./ipv4-Cb1Ofo1o.js";
|
|
111
|
+
import { i as pickGatewaySelfPresence, n as getStatusSummary, r as resolveAcpxMcpBridgeStatus } from "./status-hNS_-DU5.js";
|
|
112
|
+
import { c as createGatewayStartupTrace, n as getGatewayLivenessHealthSnapshot, r as getHealthSnapshot, s as styleHealthChannelLine, t as formatHealthChannelLines } from "./health-GSYUFoyr.js";
|
|
113
|
+
import { i as startHeartbeatRunner, r as setHeartbeatsEnabled } from "./heartbeat-runner-1b23y_3_.js";
|
|
114
114
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-xTT04LKM.js";
|
|
115
|
-
import { _ as configureOllamaProvider, g as configureLmStudioProvider, r as applyAuthChoice, v as configureVllmProvider } from "./auth-choice-
|
|
116
|
-
import { a as normalizeLegacyOnboardAuthChoice } from "./auth-choice-prompt-
|
|
115
|
+
import { _ as configureOllamaProvider, g as configureLmStudioProvider, r as applyAuthChoice, v as configureVllmProvider } from "./auth-choice-BTahePAl.js";
|
|
116
|
+
import { a as normalizeLegacyOnboardAuthChoice } from "./auth-choice-prompt-Db0yW_LH.js";
|
|
117
117
|
import "./provider-env-vars-C_Hu9Pbq.js";
|
|
118
118
|
import "./enable-D3_YPNIT.js";
|
|
119
119
|
import "./logging-Dv2wthF_.js";
|
|
120
120
|
import { t as buildNpmResolutionInstallFields } from "./installs-DDbnXe4x.js";
|
|
121
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
121
|
+
import { t as buildPluginStatusReport } from "./status-DVTZ42Xi.js";
|
|
122
122
|
import "./update-Dew6hqdf.js";
|
|
123
|
-
import { a as executePluginUpdateLifecycle, i as executePluginUninstallLifecycle, o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
124
|
-
import { r as getChannelOnboardingAdapter } from "./onboard-channels-
|
|
125
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
123
|
+
import { a as executePluginUpdateLifecycle, i as executePluginUninstallLifecycle, o as finalizeInstalledPluginConfig } from "./lifecycle-CBewhyXk.js";
|
|
124
|
+
import { r as getChannelOnboardingAdapter } from "./onboard-channels-B3tCPpRS.js";
|
|
125
|
+
import { t as runOnboardingWizard } from "./onboarding-BL3becPO.js";
|
|
126
126
|
import { t as loadWorkspaceHookEntries } from "./workspace-BS4dd6yQ.js";
|
|
127
127
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-BielXMUB.js";
|
|
128
|
-
import "./tui-
|
|
129
|
-
import { c as sendApnsBackgroundWake, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as normalizeApnsEnvironment, l as formatForLog, n as parseMessageWithAttachments, o as resolveApnsAuthConfigFromEnv, p as setGatewayWsLogStyle, r as loadApnsRegistration, s as sendApnsAlert, t as normalizeRpcAttachmentsToChatAttachments, u as logWs } from "./attachment-normalize-
|
|
128
|
+
import "./tui-D6_aw9hu.js";
|
|
129
|
+
import { c as sendApnsBackgroundWake, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as normalizeApnsEnvironment, l as formatForLog, n as parseMessageWithAttachments, o as resolveApnsAuthConfigFromEnv, p as setGatewayWsLogStyle, r as loadApnsRegistration, s as sendApnsAlert, t as normalizeRpcAttachmentsToChatAttachments, u as logWs } from "./attachment-normalize-CJWQWDbC.js";
|
|
130
130
|
import "./gmail-setup-utils-DgQ9vAIk.js";
|
|
131
131
|
import { n as startGmailWatcher, r as stopGmailWatcher } from "./gmail-watcher-Cc8Tox8p.js";
|
|
132
|
-
import { r as runCronIsolatedAgentTurn, t as buildGatewayCronService } from "./server-cron-
|
|
132
|
+
import { r as runCronIsolatedAgentTurn, t as buildGatewayCronService } from "./server-cron-DBSvrOWz.js";
|
|
133
133
|
import { t as buildChannelAccountSnapshot } from "./status-B_B3c70w.js";
|
|
134
134
|
import "./node-service-DhGH8GuH.js";
|
|
135
135
|
import "./channels-status-issues-DYs3uRFt.js";
|
|
136
136
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner } from "./status.update-BPiwyBsT.js";
|
|
137
|
-
import { o as buildModelCatalogStatus, t as resolveProviderAuthOverview } from "./list.auth-overview-
|
|
137
|
+
import { o as buildModelCatalogStatus, t as resolveProviderAuthOverview } from "./list.auth-overview-CvPcpBIP.js";
|
|
138
138
|
import { t as WizardCancelledError } from "./prompts-CbbpEiEO.js";
|
|
139
139
|
import { a as matchSystemRunApprovalBindingV1, i as buildSystemRunApprovalBindingV1, n as resolveSystemRunApprovalRequestContext, o as missingSystemRunApprovalBindingV1, r as resolveSystemRunApprovalRuntimeContext, s as toSystemRunApprovalMismatchError } from "./system-run-approval-context-BOeXoNZV.js";
|
|
140
|
-
import { a as resolvePluginMarketplaceEntry, i as buildPluginMarketplaceReport, n as setPluginAdminRpcActionGrant, o as buildPluginMarketplaceUpdateReview, r as setPluginRuntimeSessionReadGrant, s as formatPluginMarketplaceUpdateReviewWarnings } from "./runtime-helper-grants-
|
|
140
|
+
import { a as resolvePluginMarketplaceEntry, i as buildPluginMarketplaceReport, n as setPluginAdminRpcActionGrant, o as buildPluginMarketplaceUpdateReview, r as setPluginRuntimeSessionReadGrant, s as formatPluginMarketplaceUpdateReviewWarnings } from "./runtime-helper-grants-DlthXnch.js";
|
|
141
141
|
import { n as runGmailSetup } from "./gmail-ops-D5kiP6o1.js";
|
|
142
|
-
import { n as resolveRuntimeWebSearchProviders, r as sortWebSearchProvidersForAutoDetect, t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-
|
|
142
|
+
import { n as resolveRuntimeWebSearchProviders, r as sortWebSearchProvidersForAutoDetect, t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-DCy32Tl0.js";
|
|
143
143
|
import { a as buildSkillsMarketplaceRows, n as buildWalletActionsGrant, r as clearSkillWalletGrantConfig, t as applySkillWalletGrantConfig } from "./skills-wallet-grant-BQ3RJWRG.js";
|
|
144
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
144
|
+
import { t as runGatewayUpdate } from "./update-runner-CMe4a4QF.js";
|
|
145
145
|
import * as fsSync from "node:fs";
|
|
146
146
|
import fs from "node:fs";
|
|
147
147
|
import os from "node:os";
|
|
@@ -14196,7 +14196,7 @@ const nodeHandlers = {
|
|
|
14196
14196
|
const p = params;
|
|
14197
14197
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
14198
14198
|
await respondUnavailableOnThrow(respond, async () => {
|
|
14199
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
14199
|
+
const { handleNodeEvent } = await import("./server-node-events-TmYB-LGW.js");
|
|
14200
14200
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
14201
14201
|
await handleNodeEvent({
|
|
14202
14202
|
deps: context.deps,
|
|
@@ -21324,7 +21324,7 @@ async function startGmailWatcherWithLogs(params) {
|
|
|
21324
21324
|
async function startBrowserControlServerIfEnabled() {
|
|
21325
21325
|
if (isTruthyEnvValue(process.env.FASED_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
21326
21326
|
const override = process.env.FASED_BROWSER_CONTROL_MODULE?.trim();
|
|
21327
|
-
const mod = override ? await import(override) : await import("./server-
|
|
21327
|
+
const mod = override ? await import(override) : await import("./server-CVXoSpqC.js");
|
|
21328
21328
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
21329
21329
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
21330
21330
|
if (!start) return null;
|
|
@@ -21898,7 +21898,7 @@ function createGatewayBroadcaster(params) {
|
|
|
21898
21898
|
//#region src/gateway/server-http-lazy.ts
|
|
21899
21899
|
let serverHttpModulePromise = null;
|
|
21900
21900
|
function loadServerHttpModule() {
|
|
21901
|
-
serverHttpModulePromise ??= import("./reply-
|
|
21901
|
+
serverHttpModulePromise ??= import("./reply-C6zXCUnw.js").then((n) => n.dt);
|
|
21902
21902
|
return serverHttpModulePromise;
|
|
21903
21903
|
}
|
|
21904
21904
|
function handleGatewayProbeRequest(req, res, opts) {
|
|
@@ -22777,7 +22777,7 @@ async function startGatewaySidecars(params) {
|
|
|
22777
22777
|
}
|
|
22778
22778
|
if (params.cfg.hooks?.gmail?.model) try {
|
|
22779
22779
|
const { DEFAULT_MODEL, DEFAULT_PROVIDER } = await import("./defaults-CzImVi0V.js").then((n) => n.i);
|
|
22780
|
-
const { loadModelCatalog } = await import("./reply-
|
|
22780
|
+
const { loadModelCatalog } = await import("./reply-C6zXCUnw.js").then((n) => n.Dt);
|
|
22781
22781
|
const { getModelRefStatus, resolveConfiguredModelRef, resolveHooksGmailModel } = await import("./agent-scope-DHrLr5OF.js").then((n) => n.li);
|
|
22782
22782
|
const hooksModelRef = resolveHooksGmailModel({
|
|
22783
22783
|
cfg: params.cfg,
|
|
@@ -24776,7 +24776,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
24776
24776
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
24777
24777
|
if (!minimalTestGateway) (async () => {
|
|
24778
24778
|
const { recoverPendingDeliveries } = await import("./delivery-queue-DKRjVFlq.js").then((n) => n.n);
|
|
24779
|
-
const { deliverOutboundPayloads } = await import("./reply-
|
|
24779
|
+
const { deliverOutboundPayloads } = await import("./reply-C6zXCUnw.js").then((n) => n.no);
|
|
24780
24780
|
await recoverPendingDeliveries({
|
|
24781
24781
|
deliver: deliverOutboundPayloads,
|
|
24782
24782
|
log: log.child("delivery-recovery"),
|
|
@@ -3,7 +3,7 @@ import { B as colorize, G as getResolvedLoggerSettings, H as theme, I as setVerb
|
|
|
3
3
|
import { r as normalizeChatType } from "./conversation-label-DEoJ9tbZ.js";
|
|
4
4
|
import { a as SILENT_REPLY_TOKEN, s as isSilentReplyText } from "./send-D7X0_iFp.js";
|
|
5
5
|
import "./send-BFEd4vCM.js";
|
|
6
|
-
import { $a as startDiagnosticStabilityRecorder, $i as applyModelOverrideToSessionEntry, $o as setCommandLaneConcurrency, Aa as resolveAssistantIdentity, B as sleepWithAbort, Bi as resolveAgentDeliveryPlan, Bn as isLocalDirectRequest, Bo as resolveTtsConfig, Br as triggerFasedAgentRestart, Ca as resolveHooksConfig, Cn as getActiveEmbeddedRunCount, Di as resolvePluginTools, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Ea as deliverOutboundPayloads, Ei as getPluginToolMeta, En as registerUnhandledRejectionHandler, Er as ensureOutboundSessionEntry, Fa as pruneAgentConfig, Fo as isTtsEnabled, Fr as isGatewaySigusr1RestartExternallyAllowed, Ga as resolveAssistantAvatarUrl, Gi as resolveSessionDeliveryTarget, Gn as resolveEffectiveToolPolicy, Go as textToSpeech, Gr as summarizeRestartSentinel, Gt as resolveCronRunLogPath, Hn as createHooksRequestHandler, Ho as resolveTtsProviderOrder, Hr as formatDoctorNonInteractiveHint, Ia as cleanAgentModelProviders, Io as isTtsProviderConfigured, Ir as markGatewaySigusr1RestartHandled, It as removeCronTaskRunQueueItems, Jo as getActiveTaskCount, Ka as ensureControlUiAssetsBuilt, Ki as resolveOutboundChannelPlugin, Ko as OPENAI_TTS_MODELS, Li as agentCommand, Lo as listTtsPersonas, Lr as scheduleGatewaySigusr1Restart, Mr as consumeGatewaySigusr1RestartAuthorization, Na as findAgentEntryIndex, No as clearBootstrapSnapshot, Nr as deferGatewayRestartUntilIdle, Nt as readCronTaskRunQueue, Oa as normalizeReplyPayloadsForDelivery, Po as getTtsProvider, Pr as emitGatewayRestart, Qa as normalizeDiagnosticStabilityQuery, Qi as resolveSendPolicy, Qo as resetAllLanes, Ra as ControlUiLoginService, Rn as assertGatewayAuthConfigured, Ro as resolveTtsApiKey, Rr as setGatewaySigusr1RestartPolicy, Sa as normalizeHookDispatchSessionKey, Sn as abortEmbeddedPiRun, So as getTailnetHostname, Sr as normalizeGroupActivation, Ta as resolveHookMappings, Ti as resolveToolDisplay, Uo as setTtsEnabled, Ur as formatRestartSentinelMessage, Ut as readCronRunLogEntriesPage, Va as resolveControlUiPublicHost, Vi as resolveAgentOutboundTarget, Vn as resolveGatewayAuth, Vo as resolveTtsPrefsPath, Vr as consumeRestartSentinel, Wa as normalizeControlUiBasePath, Wi as resolveOutboundTarget, Wo as setTtsProvider, Wt as readCronRunLogEntriesPageAll, Xa as resolveControlUiRootSync, Xn as initSubagentRegistry, Xo as getTotalQueueSize, Xr as normalizeCronJobPatch, Ya as resolveControlUiRootOverrideSync, Yr as normalizeCronJobCreate, Za as getDiagnosticStabilitySnapshot, Zi as normalizeSendPolicy, Zo as markGatewayDraining, _i as createBrowserControlContext, _o as disableTailscaleFunnel, _r as loadProviderUsageSummary, a as deriveModelMetadata, aa as getAgentRunContext, ao as injectCanvasLiveReload, ar as createRunningTaskRun, at as createReplyDispatcher, bn as stopSubagentsForRequester, bo as enableTailscaleServe, bt as readCronTaskRunDetail, c as loadFasedAgentPlugins, ca as sweepStaleRunContexts, co as CANVAS_CAPABILITY_TTL_MS, cr as recordTaskRunProgressByRunId, cs as resolveUserTimezone, ea as applyVerboseOverride, eo as stopDiagnosticStabilityRecorder, er as enqueueSystemEvent, es as waitForActiveTasks, fa as buildCredentialScopedAllowedModelSet, ft as DEFAULT_OAUTH_WARN_MS, ga as getAcpSessionManager, gn as parseMiningChatCommand, go as createAuthRateLimiter, gr as taskRecordBelongsToAgent, hi as createBrowserRouteDispatcher, hn as executeMiningChatCommand, ho as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, ht as unbindThreadBindingsBySessionKey, io as CANVAS_WS_PATH, ir as completeTaskRunByRunId, it as dispatchInboundMessage, ja as applyAgentConfig, jr as collectEnabledInsecureOrDangerousFlags, ka as resolveReplyToMode, kr as resetDirectoryCache, la as resolveAgentTimeoutMs, lo as buildCanvasScopedHostUrl, lr as setDetachedTaskDeliveryStatusByRunId, ls as getGlobalHookRunner, lt as BARE_SESSION_RESET_PROMPT, ma as filterModelCatalogByProviders, mi as persistBrowserProxyFiles, mo as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, mr as resolveAnnounceTargetFromKey, na as buildOutboundSessionContext, no as startFederationAutoConnect, ns as getMachineDisplayName, oa as onAgentEvent, oo as normalizeUrlPath, or as failTaskRunByRunId, ot as getTotalPendingReplies, pa as buildUsableModelProviderSet, pi as applyBrowserProxyPaths, pt as buildAuthHealthSummary, qo as OPENAI_TTS_VOICES, qr as writeRestartSentinel, qt as formatZonedTimestamp, r as loadProviderExtensionCatalogIndex, ra as clearAgentRunContext, ro as CANVAS_HOST_PATH, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, so as resolveFileWithinRoot, sr as recordTaskRunAccountingByRunId, ss as stripHeartbeatToken, t as loadModelCatalog, ta as parseVerboseOverride, tr as isSystemEventContextChanged, ts as CommandLane, uo as mintCanvasCapabilityToken, ur as requestHeartbeatNow, us as runGlobalGatewayStopSafely, vi as startBrowserControlServiceFromConfig, vo as disableTailscaleServe, wa as applyHookMappings, wn as waitForEmbeddedPiRunEnd, wr as getChannelAgentToolMeta, xr as clearSessionQueues, y as handleReset, yn as isAbortRequestText, yo as enableTailscaleFunnel, z as computeBackoff, zn as authorizeGatewayConnect, zo as resolveTtsAutoMode, zr as setPreRestartDeferralCheck } from "./model-catalog-
|
|
6
|
+
import { $a as startDiagnosticStabilityRecorder, $i as applyModelOverrideToSessionEntry, $o as setCommandLaneConcurrency, Aa as resolveAssistantIdentity, B as sleepWithAbort, Bi as resolveAgentDeliveryPlan, Bn as isLocalDirectRequest, Bo as resolveTtsConfig, Br as triggerFasedAgentRestart, Ca as resolveHooksConfig, Cn as getActiveEmbeddedRunCount, Di as resolvePluginTools, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Ea as deliverOutboundPayloads, Ei as getPluginToolMeta, En as registerUnhandledRejectionHandler, Er as ensureOutboundSessionEntry, Fa as pruneAgentConfig, Fo as isTtsEnabled, Fr as isGatewaySigusr1RestartExternallyAllowed, Ga as resolveAssistantAvatarUrl, Gi as resolveSessionDeliveryTarget, Gn as resolveEffectiveToolPolicy, Go as textToSpeech, Gr as summarizeRestartSentinel, Gt as resolveCronRunLogPath, Hn as createHooksRequestHandler, Ho as resolveTtsProviderOrder, Hr as formatDoctorNonInteractiveHint, Ia as cleanAgentModelProviders, Io as isTtsProviderConfigured, Ir as markGatewaySigusr1RestartHandled, It as removeCronTaskRunQueueItems, Jo as getActiveTaskCount, Ka as ensureControlUiAssetsBuilt, Ki as resolveOutboundChannelPlugin, Ko as OPENAI_TTS_MODELS, Li as agentCommand, Lo as listTtsPersonas, Lr as scheduleGatewaySigusr1Restart, Mr as consumeGatewaySigusr1RestartAuthorization, Na as findAgentEntryIndex, No as clearBootstrapSnapshot, Nr as deferGatewayRestartUntilIdle, Nt as readCronTaskRunQueue, Oa as normalizeReplyPayloadsForDelivery, Po as getTtsProvider, Pr as emitGatewayRestart, Qa as normalizeDiagnosticStabilityQuery, Qi as resolveSendPolicy, Qo as resetAllLanes, Ra as ControlUiLoginService, Rn as assertGatewayAuthConfigured, Ro as resolveTtsApiKey, Rr as setGatewaySigusr1RestartPolicy, Sa as normalizeHookDispatchSessionKey, Sn as abortEmbeddedPiRun, So as getTailnetHostname, Sr as normalizeGroupActivation, Ta as resolveHookMappings, Ti as resolveToolDisplay, Uo as setTtsEnabled, Ur as formatRestartSentinelMessage, Ut as readCronRunLogEntriesPage, Va as resolveControlUiPublicHost, Vi as resolveAgentOutboundTarget, Vn as resolveGatewayAuth, Vo as resolveTtsPrefsPath, Vr as consumeRestartSentinel, Wa as normalizeControlUiBasePath, Wi as resolveOutboundTarget, Wo as setTtsProvider, Wt as readCronRunLogEntriesPageAll, Xa as resolveControlUiRootSync, Xn as initSubagentRegistry, Xo as getTotalQueueSize, Xr as normalizeCronJobPatch, Ya as resolveControlUiRootOverrideSync, Yr as normalizeCronJobCreate, Za as getDiagnosticStabilitySnapshot, Zi as normalizeSendPolicy, Zo as markGatewayDraining, _i as createBrowserControlContext, _o as disableTailscaleFunnel, _r as loadProviderUsageSummary, a as deriveModelMetadata, aa as getAgentRunContext, ao as injectCanvasLiveReload, ar as createRunningTaskRun, at as createReplyDispatcher, bn as stopSubagentsForRequester, bo as enableTailscaleServe, bt as readCronTaskRunDetail, c as loadFasedAgentPlugins, ca as sweepStaleRunContexts, co as CANVAS_CAPABILITY_TTL_MS, cr as recordTaskRunProgressByRunId, cs as resolveUserTimezone, ea as applyVerboseOverride, eo as stopDiagnosticStabilityRecorder, er as enqueueSystemEvent, es as waitForActiveTasks, fa as buildCredentialScopedAllowedModelSet, ft as DEFAULT_OAUTH_WARN_MS, ga as getAcpSessionManager, gn as parseMiningChatCommand, go as createAuthRateLimiter, gr as taskRecordBelongsToAgent, hi as createBrowserRouteDispatcher, hn as executeMiningChatCommand, ho as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, ht as unbindThreadBindingsBySessionKey, io as CANVAS_WS_PATH, ir as completeTaskRunByRunId, it as dispatchInboundMessage, ja as applyAgentConfig, jr as collectEnabledInsecureOrDangerousFlags, ka as resolveReplyToMode, kr as resetDirectoryCache, la as resolveAgentTimeoutMs, lo as buildCanvasScopedHostUrl, lr as setDetachedTaskDeliveryStatusByRunId, ls as getGlobalHookRunner, lt as BARE_SESSION_RESET_PROMPT, ma as filterModelCatalogByProviders, mi as persistBrowserProxyFiles, mo as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, mr as resolveAnnounceTargetFromKey, na as buildOutboundSessionContext, no as startFederationAutoConnect, ns as getMachineDisplayName, oa as onAgentEvent, oo as normalizeUrlPath, or as failTaskRunByRunId, ot as getTotalPendingReplies, pa as buildUsableModelProviderSet, pi as applyBrowserProxyPaths, pt as buildAuthHealthSummary, qo as OPENAI_TTS_VOICES, qr as writeRestartSentinel, qt as formatZonedTimestamp, r as loadProviderExtensionCatalogIndex, ra as clearAgentRunContext, ro as CANVAS_HOST_PATH, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, so as resolveFileWithinRoot, sr as recordTaskRunAccountingByRunId, ss as stripHeartbeatToken, t as loadModelCatalog, ta as parseVerboseOverride, tr as isSystemEventContextChanged, ts as CommandLane, uo as mintCanvasCapabilityToken, ur as requestHeartbeatNow, us as runGlobalGatewayStopSafely, vi as startBrowserControlServiceFromConfig, vo as disableTailscaleServe, wa as applyHookMappings, wn as waitForEmbeddedPiRunEnd, wr as getChannelAgentToolMeta, xr as clearSessionQueues, y as handleReset, yn as isAbortRequestText, yo as enableTailscaleFunnel, z as computeBackoff, zn as authorizeGatewayConnect, zo as resolveTtsAutoMode, zr as setPreRestartDeferralCheck } from "./model-catalog-Iu_LUOVA.js";
|
|
7
7
|
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER } from "./defaults-BDW-7D7s.js";
|
|
8
8
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
9
9
|
import { A as defaultRuntime, B as classifySessionKeyShape, Ct as resolveStateDir, E as redactSensitiveText, F as DEFAULT_AGENT_ID, H as normalizeMainKey, J as DEFAULT_ACCOUNT_ID, K as toAgentRequestSessionKey, O as compileSafeRegex, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, Y as normalizeAccountId, _ as resolveSessionTranscriptsDirForAgent, f as resolveSessionFilePath, ft as resolveConfigPath, gt as resolveGatewayPort, ht as resolveGatewayLockDir, it as parseAgentSessionKey, lt as STATE_DIR, p as resolveSessionFilePathOptions, rt as isSubagentSessionKey, st as CONFIG_PATH, ut as isNixMode, v as resolveStorePath, w as isErrno, x as formatErrorMessage } from "./entry.js";
|
|
@@ -49,7 +49,7 @@ import "./send-C-su1wPZ.js";
|
|
|
49
49
|
import "./outbound-attachment-Bh4FmcYg.js";
|
|
50
50
|
import "./fetch-BVvWzHT_.js";
|
|
51
51
|
import { c as redactOutboundTargetInText, s as formatOutboundTargetForLog } from "./delivery-queue-55Cityuq.js";
|
|
52
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
52
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-Uo5boHSY.js";
|
|
53
53
|
import "./frontmatter-D2UNJikU.js";
|
|
54
54
|
import { i as loadWorkspaceSkillEntries, x as resolveSkillSource } from "./skills-Dis31awJ.js";
|
|
55
55
|
import { a as refreshRemoteNodeBins, c as approveNodePairing, d as removePairedNode, f as renamePairedNode, g as listAgentWorkspaceDirs, h as verifyNodeToken, i as refreshRemoteBinsForConnectedNodes, l as listNodePairing, m as updatePairedNodeMetadata, n as primeRemoteSkillsCache, o as removeRemoteNodeInfo, p as requestNodePairing, r as recordRemoteNodeInfo, s as setSkillsRemoteRegistry, t as getRemoteSkillEligibility, u as rejectNodePairing, y as registerSkillsChangeListener } from "./skills-remote-CIAB0AXm.js";
|
|
@@ -83,7 +83,7 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-Uo2v4O19.js";
|
|
|
83
83
|
import "./outbound-J0QDqY1V.js";
|
|
84
84
|
import "./session-CU97gi8v.js";
|
|
85
85
|
import "./resolve-outbound-target-BvzPT2MG.js";
|
|
86
|
-
import "./channel-web-
|
|
86
|
+
import "./channel-web-CclBHrhb.js";
|
|
87
87
|
import { i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-BZSPpQlU.js";
|
|
88
88
|
import "./login-CuawnITW.js";
|
|
89
89
|
import { t as ensureFasedAgentCliOnPath } from "./path-env-BeuN3Box.js";
|
|
@@ -97,47 +97,47 @@ import "./service-2JBjv-ge.js";
|
|
|
97
97
|
import "./service-audit-COK5O0cM.js";
|
|
98
98
|
import "./shared-CACaO8zY.js";
|
|
99
99
|
import { t as parsePort$1 } from "./parse-port-DcD14yHo.js";
|
|
100
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
100
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-9ids8mMV.js";
|
|
101
101
|
import "./diagnostics-CqDqfqR_.js";
|
|
102
102
|
import "./table-C0Mj2A8W.js";
|
|
103
103
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-bcNTZ-ys.js";
|
|
104
104
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-A9Lwung1.js";
|
|
105
|
-
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-
|
|
106
|
-
import { c as detectCustomApiCompatibility, f as discoverGatewayBeacons, i as installSkill, o as CustomApiError, s as applyCustomApiConfig } from "./ipv4-
|
|
107
|
-
import { a as pickGatewaySelfPresence, i as resolveAcpxMcpBridgeStatus, r as getStatusSummary } from "./status-
|
|
108
|
-
import { c as styleHealthChannelLine, l as createGatewayStartupTrace, n as getGatewayLivenessHealthSnapshot, r as getHealthSnapshot, t as formatHealthChannelLines } from "./health-
|
|
109
|
-
import { i as startHeartbeatRunner, r as setHeartbeatsEnabled } from "./heartbeat-runner-
|
|
105
|
+
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-BGrhx_IL.js";
|
|
106
|
+
import { c as detectCustomApiCompatibility, f as discoverGatewayBeacons, i as installSkill, o as CustomApiError, s as applyCustomApiConfig } from "./ipv4-h9TrAq_w.js";
|
|
107
|
+
import { a as pickGatewaySelfPresence, i as resolveAcpxMcpBridgeStatus, r as getStatusSummary } from "./status-CGYle9wh.js";
|
|
108
|
+
import { c as styleHealthChannelLine, l as createGatewayStartupTrace, n as getGatewayLivenessHealthSnapshot, r as getHealthSnapshot, t as formatHealthChannelLines } from "./health-CghndVpq.js";
|
|
109
|
+
import { i as startHeartbeatRunner, r as setHeartbeatsEnabled } from "./heartbeat-runner-DPtasJ9O.js";
|
|
110
110
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, g as resolveUpdateChannelDisplay, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-B8tvVfAm.js";
|
|
111
|
-
import { _ as configureOllamaProvider, g as configureLmStudioProvider, r as applyAuthChoice, v as configureVllmProvider } from "./auth-choice-
|
|
112
|
-
import { a as normalizeLegacyOnboardAuthChoice } from "./auth-choice-prompt-
|
|
111
|
+
import { _ as configureOllamaProvider, g as configureLmStudioProvider, r as applyAuthChoice, v as configureVllmProvider } from "./auth-choice-ioJ3htvR.js";
|
|
112
|
+
import { a as normalizeLegacyOnboardAuthChoice } from "./auth-choice-prompt-Cigxs_6f.js";
|
|
113
113
|
import "./provider-env-vars-BrmxUwDz.js";
|
|
114
114
|
import "./enable-C4xB2A3x.js";
|
|
115
115
|
import "./logging-DZ32I_SP.js";
|
|
116
116
|
import { t as buildNpmResolutionInstallFields } from "./installs-Cha8QIzO.js";
|
|
117
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
117
|
+
import { t as buildPluginStatusReport } from "./status-C1qehkux.js";
|
|
118
118
|
import "./update-D4rhRm3D.js";
|
|
119
|
-
import { a as executePluginUpdateLifecycle, i as executePluginUninstallLifecycle, o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
120
|
-
import { r as getChannelOnboardingAdapter } from "./onboard-channels-
|
|
121
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
119
|
+
import { a as executePluginUpdateLifecycle, i as executePluginUninstallLifecycle, o as finalizeInstalledPluginConfig } from "./lifecycle-CV1zHjpj.js";
|
|
120
|
+
import { r as getChannelOnboardingAdapter } from "./onboard-channels-C1UyGFfb.js";
|
|
121
|
+
import { t as runOnboardingWizard } from "./onboarding-DGAQeYgr.js";
|
|
122
122
|
import { t as loadWorkspaceHookEntries } from "./workspace-wzqcYYcP.js";
|
|
123
123
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DRZciWMZ.js";
|
|
124
|
-
import "./tui-
|
|
125
|
-
import { c as sendApnsBackgroundWake, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as normalizeApnsEnvironment, l as formatForLog, n as parseMessageWithAttachments, o as resolveApnsAuthConfigFromEnv, p as setGatewayWsLogStyle, r as loadApnsRegistration, s as sendApnsAlert, t as normalizeRpcAttachmentsToChatAttachments, u as logWs } from "./attachment-normalize-
|
|
124
|
+
import "./tui-ARPlmctm.js";
|
|
125
|
+
import { c as sendApnsBackgroundWake, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as normalizeApnsEnvironment, l as formatForLog, n as parseMessageWithAttachments, o as resolveApnsAuthConfigFromEnv, p as setGatewayWsLogStyle, r as loadApnsRegistration, s as sendApnsAlert, t as normalizeRpcAttachmentsToChatAttachments, u as logWs } from "./attachment-normalize-Din9M1Y4.js";
|
|
126
126
|
import "./gmail-setup-utils-DW4uUI1l.js";
|
|
127
127
|
import { n as startGmailWatcher, r as stopGmailWatcher } from "./gmail-watcher-Co2zjkB7.js";
|
|
128
|
-
import { r as runCronIsolatedAgentTurn, t as buildGatewayCronService } from "./server-cron-
|
|
128
|
+
import { r as runCronIsolatedAgentTurn, t as buildGatewayCronService } from "./server-cron-D0oLzDes.js";
|
|
129
129
|
import { t as buildChannelAccountSnapshot } from "./status-S_7YJ-Og.js";
|
|
130
130
|
import "./node-service-Bst0DpMM.js";
|
|
131
131
|
import "./channels-status-issues-BSIStb_F.js";
|
|
132
132
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner } from "./status.update-BZhzEFaJ.js";
|
|
133
|
-
import { o as buildModelCatalogStatus, t as resolveProviderAuthOverview } from "./list.auth-overview-
|
|
133
|
+
import { o as buildModelCatalogStatus, t as resolveProviderAuthOverview } from "./list.auth-overview-C8izvpBJ.js";
|
|
134
134
|
import { t as WizardCancelledError } from "./prompts-DdS4bZNt.js";
|
|
135
135
|
import { a as matchSystemRunApprovalBindingV1, i as buildSystemRunApprovalBindingV1, n as resolveSystemRunApprovalRequestContext, o as missingSystemRunApprovalBindingV1, r as resolveSystemRunApprovalRuntimeContext, s as toSystemRunApprovalMismatchError } from "./system-run-approval-context-CfhhhSiA.js";
|
|
136
|
-
import { a as resolvePluginMarketplaceEntry, i as buildPluginMarketplaceReport, n as setPluginAdminRpcActionGrant, o as buildPluginMarketplaceUpdateReview, r as setPluginRuntimeSessionReadGrant, s as formatPluginMarketplaceUpdateReviewWarnings } from "./runtime-helper-grants-
|
|
136
|
+
import { a as resolvePluginMarketplaceEntry, i as buildPluginMarketplaceReport, n as setPluginAdminRpcActionGrant, o as buildPluginMarketplaceUpdateReview, r as setPluginRuntimeSessionReadGrant, s as formatPluginMarketplaceUpdateReviewWarnings } from "./runtime-helper-grants-BotyKHoQ.js";
|
|
137
137
|
import { n as runGmailSetup } from "./gmail-ops-BZ0n3mgU.js";
|
|
138
|
-
import { n as resolveRuntimeWebSearchProviders, r as sortWebSearchProvidersForAutoDetect, t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-
|
|
138
|
+
import { n as resolveRuntimeWebSearchProviders, r as sortWebSearchProvidersForAutoDetect, t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-BCjJQLBJ.js";
|
|
139
139
|
import { a as buildSkillsMarketplaceRows, n as buildWalletActionsGrant, r as clearSkillWalletGrantConfig, t as applySkillWalletGrantConfig } from "./skills-wallet-grant-DT7kE8cb.js";
|
|
140
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
140
|
+
import { t as runGatewayUpdate } from "./update-runner-dCQywbJs.js";
|
|
141
141
|
import { n as forceFreePortAndWait } from "./ports-B1mU0VJ1.js";
|
|
142
142
|
import { spawn, spawnSync } from "node:child_process";
|
|
143
143
|
import os from "node:os";
|
|
@@ -14193,7 +14193,7 @@ const nodeHandlers = {
|
|
|
14193
14193
|
const p = params;
|
|
14194
14194
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
14195
14195
|
await respondUnavailableOnThrow(respond, async () => {
|
|
14196
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
14196
|
+
const { handleNodeEvent } = await import("./server-node-events-BGkUHSkq.js");
|
|
14197
14197
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
14198
14198
|
await handleNodeEvent({
|
|
14199
14199
|
deps: context.deps,
|
|
@@ -21321,7 +21321,7 @@ async function startGmailWatcherWithLogs(params) {
|
|
|
21321
21321
|
async function startBrowserControlServerIfEnabled() {
|
|
21322
21322
|
if (isTruthyEnvValue(process.env.FASED_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
21323
21323
|
const override = process.env.FASED_BROWSER_CONTROL_MODULE?.trim();
|
|
21324
|
-
const mod = override ? await import(override) : await import("./server-
|
|
21324
|
+
const mod = override ? await import(override) : await import("./server-BWmtB5RG.js");
|
|
21325
21325
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
21326
21326
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
21327
21327
|
if (!start) return null;
|
|
@@ -21895,7 +21895,7 @@ function createGatewayBroadcaster(params) {
|
|
|
21895
21895
|
//#region src/gateway/server-http-lazy.ts
|
|
21896
21896
|
let serverHttpModulePromise = null;
|
|
21897
21897
|
function loadServerHttpModule() {
|
|
21898
|
-
serverHttpModulePromise ??= import("./model-catalog-
|
|
21898
|
+
serverHttpModulePromise ??= import("./model-catalog-Iu_LUOVA.js").then((n) => n.Un);
|
|
21899
21899
|
return serverHttpModulePromise;
|
|
21900
21900
|
}
|
|
21901
21901
|
function handleGatewayProbeRequest(req, res, opts) {
|
|
@@ -22774,7 +22774,7 @@ async function startGatewaySidecars(params) {
|
|
|
22774
22774
|
}
|
|
22775
22775
|
if (params.cfg.hooks?.gmail?.model) try {
|
|
22776
22776
|
const { DEFAULT_MODEL, DEFAULT_PROVIDER } = await import("./defaults-BDW-7D7s.js").then((n) => n.i);
|
|
22777
|
-
const { loadModelCatalog } = await import("./model-catalog-
|
|
22777
|
+
const { loadModelCatalog } = await import("./model-catalog-Iu_LUOVA.js").then((n) => n.n);
|
|
22778
22778
|
const { getModelRefStatus, resolveConfiguredModelRef, resolveHooksGmailModel } = await import("./env-C77feXxI.js").then((n) => n.Mr);
|
|
22779
22779
|
const hooksModelRef = resolveHooksGmailModel({
|
|
22780
22780
|
cfg: params.cfg,
|
|
@@ -24773,7 +24773,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
24773
24773
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
24774
24774
|
if (!minimalTestGateway) (async () => {
|
|
24775
24775
|
const { recoverPendingDeliveries } = await import("./delivery-queue-55Cityuq.js").then((n) => n.n);
|
|
24776
|
-
const { deliverOutboundPayloads } = await import("./model-catalog-
|
|
24776
|
+
const { deliverOutboundPayloads } = await import("./model-catalog-Iu_LUOVA.js").then((n) => n.Da);
|
|
24777
24777
|
await recoverPendingDeliveries({
|
|
24778
24778
|
deliver: deliverOutboundPayloads,
|
|
24779
24779
|
log: log.child("delivery-recovery"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/home-dir.ts
|
|
7
7
|
function normalize(value) {
|
|
@@ -112,7 +112,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
112
112
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
113
113
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
114
114
|
try {
|
|
115
|
-
return
|
|
115
|
+
return syncFs.existsSync(candidate);
|
|
116
116
|
} catch {
|
|
117
117
|
return false;
|
|
118
118
|
}
|
|
@@ -129,7 +129,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
129
129
|
const stateOverride = env.FASED_STATE_DIR?.trim();
|
|
130
130
|
const existing = [path.join(stateDir, CONFIG_FILENAME)].find((candidate) => {
|
|
131
131
|
try {
|
|
132
|
-
return
|
|
132
|
+
return syncFs.existsSync(candidate);
|
|
133
133
|
} catch {
|
|
134
134
|
return false;
|
|
135
135
|
}
|
|
@@ -192,8 +192,8 @@ function resolveGatewayPort(cfg, env = process.env) {
|
|
|
192
192
|
//#region src/infra/json-file.ts
|
|
193
193
|
function loadJsonFile(pathname) {
|
|
194
194
|
try {
|
|
195
|
-
if (!
|
|
196
|
-
const raw =
|
|
195
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
196
|
+
const raw = syncFs.readFileSync(pathname, "utf8");
|
|
197
197
|
return JSON.parse(raw);
|
|
198
198
|
} catch {
|
|
199
199
|
return;
|
|
@@ -201,12 +201,12 @@ function loadJsonFile(pathname) {
|
|
|
201
201
|
}
|
|
202
202
|
function saveJsonFile(pathname, data) {
|
|
203
203
|
const dir = path.dirname(pathname);
|
|
204
|
-
if (!
|
|
204
|
+
if (!syncFs.existsSync(dir)) syncFs.mkdirSync(dir, {
|
|
205
205
|
recursive: true,
|
|
206
206
|
mode: 448
|
|
207
207
|
});
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
209
|
+
syncFs.chmodSync(pathname, 384);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Cf as GATEWAY_CLIENT_MODES, Cu as formatCliCommand, Gl as listChannelPlugins, Gu as resolveDefaultAgentId, Mu as buildChannelAccountBindings, Pu as resolvePreferredAccountId, Qf as PAIRING_SCOPE, Wl as getChannelPlugin, X as loadSessionStore, Xf as APPROVALS_SCOPE, Xt as loadConfig, Yf as ADMIN_SCOPE, hd as runExec, t as isTruthyEnvValue, wf as GATEWAY_CLIENT_NAMES } from "./env-C77feXxI.js";
|
|
3
3
|
import { H as theme, V as isRich, j as info } from "./agent-paths-BI1hx-tF.js";
|
|
4
|
-
import { Co as getTailscaleBinary, So as getTailnetHostname } from "./model-catalog-
|
|
4
|
+
import { Co as getTailscaleBinary, So as getTailnetHostname } from "./model-catalog-Iu_LUOVA.js";
|
|
5
5
|
import { V as normalizeAgentId, v as resolveStorePath, x as formatErrorMessage } from "./entry.js";
|
|
6
6
|
import { t as rawDataToString } from "./ws-DiFJ3zRB.js";
|
|
7
7
|
import { a as publicKeyRawBase64UrlFromPem, o as signDevicePayload, t as createEphemeralDeviceIdentity } from "./device-identity-ZHUQ6a8N.js";
|
|
@@ -9,7 +9,7 @@ import { Wn as buildDeviceAuthPayload, n as callGateway, t as buildGatewayConnec
|
|
|
9
9
|
import { n as withProgress } from "./progress-DkVYFLij.js";
|
|
10
10
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BfdkoReO.js";
|
|
11
11
|
import { t as projectSafeChannelAccountSnapshotFields } from "./account-snapshot-fields-DIVNL3Ah.js";
|
|
12
|
-
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-
|
|
12
|
+
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-DPtasJ9O.js";
|
|
13
13
|
import { WebSocket as WebSocket$1 } from "ws";
|
|
14
14
|
|
|
15
15
|
//#region src/gateway/server-startup-readiness.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as isRich, M as info, U as theme } from "./agent-paths-DmOVZE7g.js";
|
|
2
2
|
import { Bf as APPROVALS_SCOPE, Cd as isTruthyEnvValue, Dn as loadConfig, Et as loadSessionStore, Hf as PAIRING_SCOPE, Mu as getChannelPlugin, Nu as listChannelPlugins, Sd as resolvePreferredAccountId, bd as buildChannelAccountBindings, d as resolveDefaultAgentId, dd as formatCliCommand, eu as runExec, mf as GATEWAY_CLIENT_NAMES, pf as GATEWAY_CLIENT_MODES, zf as ADMIN_SCOPE } from "./agent-scope-DHrLr5OF.js";
|
|
3
|
-
import { $o as getTailnetHostname, es as getTailscaleBinary } from "./reply-
|
|
3
|
+
import { $o as getTailnetHostname, es as getTailscaleBinary } from "./reply-C6zXCUnw.js";
|
|
4
4
|
import { s as normalizeAgentId } from "./session-key-LmCHAJTQ.js";
|
|
5
5
|
import { n as formatErrorMessage } from "./errors-Dx3S3Nrp.js";
|
|
6
6
|
import { g as resolveStorePath } from "./chat-envelope-D_wSv26N.js";
|
|
@@ -10,7 +10,7 @@ import { Wn as buildDeviceAuthPayload, n as callGateway, t as buildGatewayConnec
|
|
|
10
10
|
import { n as withProgress } from "./progress-DZRfIFVb.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BvDnvwsE.js";
|
|
12
12
|
import { t as projectSafeChannelAccountSnapshotFields } from "./account-snapshot-fields-BgmEQ0wd.js";
|
|
13
|
-
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-
|
|
13
|
+
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-1b23y_3_.js";
|
|
14
14
|
import { WebSocket as WebSocket$1 } from "ws";
|
|
15
15
|
|
|
16
16
|
//#region src/gateway/server-startup-readiness.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as escapeRegExp } from "./agent-paths-DmOVZE7g.js";
|
|
2
2
|
import { Dn as loadConfig, Et as loadSessionStore, F as createSubsystemLogger, Jn as parseDurationMs, Mu as getChannelPlugin, Nt as updateSessionStore, bn as resolveAgentMainSessionKey, d as resolveDefaultAgentId, i as resolveAgentConfig, jt as saveSessionStore, u as resolveAgentWorkspaceDir, y as DEFAULT_HEARTBEAT_FILENAME, yn as canonicalizeMainSessionAlias } from "./agent-scope-DHrLr5OF.js";
|
|
3
|
-
import { Da as getQueueSize, Fa as DEFAULT_HEARTBEAT_EVERY, Ia as isHeartbeatContentEffectivelyEmpty, Ji as resolveHeartbeatDeliveryTarget, La as resolveHeartbeatPrompt$1, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Qi as buildOutboundSessionContext, Ra as stripHeartbeatToken, Ua as CommandLane, Yi as resolveHeartbeatSenderContext, aa as setHeartbeatWakeHandler, ia as requestHeartbeatNow, na as peekSystemEventEntries, oa as resolveHeartbeatReasonKind, r as appendCronStyleCurrentTimeLine, t as getReplyFromConfig, to as deliverOutboundPayloads, za as resolveUserTimezone } from "./reply-
|
|
3
|
+
import { Da as getQueueSize, Fa as DEFAULT_HEARTBEAT_EVERY, Ia as isHeartbeatContentEffectivelyEmpty, Ji as resolveHeartbeatDeliveryTarget, La as resolveHeartbeatPrompt$1, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Qi as buildOutboundSessionContext, Ra as stripHeartbeatToken, Ua as CommandLane, Yi as resolveHeartbeatSenderContext, aa as setHeartbeatWakeHandler, ia as requestHeartbeatNow, na as peekSystemEventEntries, oa as resolveHeartbeatReasonKind, r as appendCronStyleCurrentTimeLine, t as getReplyFromConfig, to as deliverOutboundPayloads, za as resolveUserTimezone } from "./reply-C6zXCUnw.js";
|
|
4
4
|
import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-LmCHAJTQ.js";
|
|
5
5
|
import { d as defaultRuntime, i as hasErrnoCode, n as formatErrorMessage } from "./errors-Dx3S3Nrp.js";
|
|
6
6
|
import { l as HEARTBEAT_TOKEN } from "./send-C5_fB8YQ.js";
|