@fased/fased 0.1.29 → 0.1.31
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/CHANGELOG.md +7 -0
- package/dist/{active-listener-Dmc7Xtuo.js → active-listener-Bw8DT1EX.js} +1 -1
- package/dist/{agent-scope-BYecP9O5.js → agent-scope-Bx0XQq3s.js} +124 -124
- package/dist/{agents-QMBcc8LJ.js → agents-B7oe96FC.js} +8 -8
- package/dist/{attachment-normalize-DwmM8lOf.js → attachment-normalize-B-UXOsKN.js} +1 -1
- package/dist/{attachment-normalize-BMCew2Ey.js → attachment-normalize-Ch3m3gW7.js} +1 -1
- package/dist/{audio-preflight-CTI1mqLA.js → audio-preflight-BLnXSrbe.js} +1 -1
- package/dist/{audio-preflight-CJGUVWFw.js → audio-preflight-DWAgAnFF.js} +2 -2
- package/dist/{audio-preflight-CNlrMezK.js → audio-preflight-DWXq2U0B.js} +2 -2
- package/dist/{audio-preflight-C_vYWlCY.js → audio-preflight-JeAEvjmi.js} +2 -2
- package/dist/{audio-preflight-C7z6lGot.js → audio-preflight-UFD3iTyT.js} +31 -31
- package/dist/{audit-Bxa7rPQ-.js → audit-C11zzpna.js} +1 -1
- package/dist/{audit-Bfagv6Q_.js → audit-uEYwrVh1.js} +1 -1
- package/dist/{auth-choice-sv4bQ9hn.js → auth-choice-CvM0GCEt.js} +1 -1
- package/dist/{auth-choice-CifBEhbT.js → auth-choice-fxfJkTWE.js} +1 -1
- package/dist/{auth-choice-prompt-B_-nyE2Q.js → auth-choice-prompt-CZWGTWFF.js} +1 -1
- package/dist/{auth-choice-prompt-CCj2g7-t.js → auth-choice-prompt-DgZ_-DFR.js} +1 -1
- package/dist/{auth-BnPTjUVe.js → auth-miYdUxcO.js} +5 -5
- 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-D69hLBEQ.js → channel-activity-BvC4RbBO.js} +1 -1
- package/dist/{channel-web-DEL7MdSZ.js → channel-web-CEpBiX-Q.js} +1 -1
- package/dist/{channel-web-IeOqPSI7.js → channel-web-DRFSKnVi.js} +1 -1
- package/dist/{channels-B4mOixPh.js → channels-Bzj2_yUj.js} +6 -6
- package/dist/{channels-3joUoQXH.js → channels-CY1sX0bz.js} +6 -6
- package/dist/{channels-cli-UrsljhH0.js → channels-cli-BruuPCkp.js} +5 -5
- package/dist/{channels-cli-BKOmeL07.js → channels-cli-CRfpkLwo.js} +5 -5
- package/dist/{chunk-KatG8h1H.js → chunk-CiQeXMLG.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Aorf7_c_.js → cli-BXBAZCT8.js} +2 -2
- package/dist/{cli-Cf9cX445.js → cli-BgodEMPl.js} +2 -2
- package/dist/{command-registry-DSG9UhC4.js → command-registry-CU64eZmw.js} +9 -9
- package/dist/{commands-registry-CG-_VuYC.js → commands-registry-t0hu8c_Z.js} +1 -1
- package/dist/{completion-cli-BacXX8YP.js → completion-cli-CWke3Y2I.js} +1 -1
- package/dist/{completion-cli-atZPWxpk.js → completion-cli-DNlt3cBf.js} +2 -2
- package/dist/{config-cli-CAylLKEL.js → config-cli-BugbkifH.js} +1 -1
- package/dist/{config-cli-B6hmwh3V.js → config-cli-DTLNqY4I.js} +1 -1
- package/dist/{config-eval-DxNYxraZ.js → config-eval-CLXDBlCw.js} +3 -3
- package/dist/{configure-CFGxKEvE.js → configure-BYcI4db_.js} +12 -12
- package/dist/{configure-IVfhSGuI.js → configure-XZxBL9XF.js} +12 -12
- package/dist/control-ui/assets/app-DXYMrRJ9.js.map +1 -1
- package/dist/{cron-cli-C_WdKzEb.js → cron-cli-BAT3nsi8.js} +2 -2
- package/dist/{cron-cli-BH5kAloM.js → cron-cli-BzceMqJm.js} +2 -2
- package/dist/{daemon-cli-DVu8h_ms.js → daemon-cli-5_eqnI7H.js} +77 -38
- package/dist/{daemon-cli-tLppiRYp.js → daemon-cli-JvoxFHRy.js} +77 -38
- package/dist/daemon-cli.js +76 -37
- package/dist/{deps-ByxeDZxS.js → deps-BWahcXVa.js} +1 -1
- package/dist/{deps-D7pGfos8.js → deps-CkOczIqw.js} +1 -1
- package/dist/{diagnostic-BYQE13k1.js → diagnostic-C6MSQFZF.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-CYWabNXm.js → fetch-BwkjkjT6.js} +1 -1
- package/dist/{fetch-guard-CNlKZ01R.js → fetch-guard-DdMratk8.js} +1 -1
- package/dist/{filesystem-manager-CWbYjhcQ.js → filesystem-manager-B8V6mEya.js} +4 -4
- package/dist/{fs-safe-T802CTm-.js → fs-safe-CrX7hR24.js} +2 -2
- package/dist/{gateway-cli-DNHD_N4M.js → gateway-cli-D0rc9BQT.js} +27 -27
- package/dist/{gateway-cli-sPMmhMYS.js → gateway-cli-DZwQlnd-.js} +27 -27
- package/dist/{github-copilot-token-eyrRGmGp.js → github-copilot-token-DYrFvncE.js} +8 -8
- package/dist/{health-Cn7Uypmr.js → health-CtFbngOI.js} +2 -2
- package/dist/{health-Ds6nghRW.js → health-Dx0abJui.js} +2 -2
- package/dist/{heartbeat-runner-DZd7FWr_.js → heartbeat-runner-CnzA9MCj.js} +1 -1
- package/dist/{heartbeat-runner-DPf55KvT.js → heartbeat-runner-DBcCEPYX.js} +1 -1
- package/dist/{hooks-cli-Ds0rAsrn.js → hooks-cli-C4nrKQB8.js} +3 -3
- package/dist/{hooks-cli-CklgZPuq.js → hooks-cli-ED4F4hgZ.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{internal-CGfrGFGR.js → internal-QlbJb-4V.js} +3 -3
- package/dist/{ipv4-woqSIZCG.js → ipv4-BiVsHcPZ.js} +2 -2
- package/dist/{ipv4-QXi6T-GC.js → ipv4-p6oBdL3i.js} +2 -2
- package/dist/{lifecycle-CDyiQkdm.js → lifecycle-DN1VLZsk.js} +1 -1
- package/dist/{lifecycle-Bt1wvv49.js → lifecycle-DXPbWOOF.js} +1 -1
- package/dist/{list.auth-overview-DTmoeKoz.js → list.auth-overview-SGV043-s.js} +1 -1
- package/dist/{list.auth-overview-BZLsTF6m.js → list.auth-overview-qQ-PSQWI.js} +1 -1
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{login-H3-M4-wp.js → login-BGt2KP5c.js} +2 -2
- package/dist/{login-qr-DIly-pBD.js → login-qr-CDDF5Ark.js} +3 -3
- package/dist/{manager-ZRPdFyMZ.js → manager-BfodMNDG.js} +8 -8
- package/dist/{markdown-tables-KcZiNfqg.js → markdown-tables-C-HEtwaC.js} +1 -1
- package/dist/{media-93Hw7QIY.js → media-CInvDVc0.js} +5 -5
- package/dist/{memory-search-CueDEO0U.js → memory-search-BZt8FFLW.js} +2 -2
- package/dist/{model-catalog-CKJx3TlL.js → model-catalog-DTeRSOlM.js} +6 -6
- package/dist/{models-B3gfHQID.js → models-DNWCoAr6.js} +4 -4
- package/dist/{models-cli-DTH6o8Ah.js → models-cli-6JDQwXLP.js} +4 -4
- package/dist/{models-cli-C7_F9hA_.js → models-cli-8Ogt1Nai.js} +5 -5
- package/dist/{node-cli-CuA0F8du.js → node-cli-B5XUZW_F.js} +2 -2
- package/dist/{node-cli-BrZNQWK0.js → node-cli-BPQ4Bj27.js} +2 -2
- package/dist/{onboard-wtRNFZSO.js → onboard-Bkmx2_JM.js} +6 -6
- package/dist/{onboard-BLjJLsrb.js → onboard-CoIQYNfB.js} +6 -6
- package/dist/{onboard-channels-CpYQ-jzg.js → onboard-channels-6l52GEWY.js} +2 -2
- package/dist/{onboard-channels-BpexXVlv.js → onboard-channels-B-CHfy-_.js} +2 -2
- package/dist/{onboard-search-CudukQ0P.js → onboard-search-CXl_FBtA.js} +5 -5
- package/dist/{onboard-search-D4eUoAEq.js → onboard-search-DitZYPTM.js} +5 -5
- package/dist/{onboarding-DZphW3tC.js → onboarding-BAdN-hFD.js} +7 -7
- package/dist/{onboarding-beY-khSY.js → onboarding-DnPBiIlf.js} +7 -7
- package/dist/{openresponses-http-COlqXAAY.js → openresponses-http-C4uMHFQG.js} +2 -2
- package/dist/{openresponses-http-YZhTuhkt.js → openresponses-http-CWOcu9i9.js} +31 -31
- package/dist/{openresponses-http-BDR_C5c5.js → openresponses-http-CdFdfFbo.js} +1 -1
- package/dist/{openresponses-http-lRWgsixx.js → openresponses-http-CgJamjpH.js} +2 -2
- package/dist/{openresponses-http-C3HFR4b5.js → openresponses-http-cj2oimfW.js} +2 -2
- package/dist/{outbound-C7mwBvhN.js → outbound-CfdOHhpP.js} +6 -6
- package/dist/{outbound-attachment-DILp822M.js → outbound-attachment-BL6wK70V.js} +2 -2
- package/dist/{parent-default-help-D6zpkza-.js → parent-default-help-BT7FBzs-.js} +1 -1
- package/dist/{parent-default-help-BHi1y6z-.js → parent-default-help-ecMFlg2S.js} +1 -1
- package/dist/{path-alias-guards-DyTCSx8q.js → path-alias-guards-Dalcwl5X.js} +1 -1
- package/dist/{paths-DBTQPSY5.js → paths-BrYFwmxy.js} +22 -22
- package/dist/{paths-6Y-iET7k.js → paths-DGN5lNb7.js} +9 -9
- package/dist/{pi-embedded-B6SkkATJ.js → pi-embedded-BMW4AO0b.js} +239 -239
- package/dist/{pi-embedded-e2Be1Pic.js → pi-embedded-YWZsPSdf.js} +14 -14
- package/dist/{pi-model-discovery--TE7j7VE.js → pi-model-discovery-C1CAe7eM.js} +7 -7
- package/dist/pi-model-discovery-runtime-C34IWfDn.js +5 -0
- package/dist/{plugin-registry-CAsF45o1.js → plugin-registry-CwfvRSs4.js} +1 -1
- package/dist/{plugin-registry-D8bNkXOq.js → plugin-registry-DA_1IBe0.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BMNjQ8Qw.js → audio-preflight-B-GNQeK0.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BjpOTfAA.js → audio-preflight-DeP8VHC6.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-Dd48mC59.js → channel-web-QaRgsb6f.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-iXBH6NN_.js → openresponses-http-BISP9-A6.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-xYU4ta96.js → openresponses-http-DenlQldm.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DaiqegxK.js → pi-model-discovery-runtime-CwXjrUIM.js} +1 -1
- package/dist/plugin-sdk/{registry-D1bAj51G.js → registry-C90cYLNB.js} +8 -8
- package/dist/plugin-sdk/{reply-CwbNFNQd.js → reply-DQSn23Jt.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-sQR6iMdb.js → status-CkAJPulJ.js} +5 -5
- package/dist/plugin-sdk/{web-Q7_F3_66.js → web-0HkZCM7O.js} +2 -2
- package/dist/plugin-sdk/{web-BWOUsR2H.js → web-Cav7vEAd.js} +1 -1
- package/dist/{plugins-cli-CmFo39YO.js → plugins-cli-CIumz1mA.js} +5 -5
- package/dist/{plugins-cli-b28IZl2q.js → plugins-cli-NtgUFN5F.js} +5 -5
- package/dist/{program-b-bJ3jAf.js → program-CSz1D1dG.js} +7 -7
- package/dist/{program-context-C8TpaeJh.js → program-context-DI-GvkMR.js} +24 -24
- package/dist/{prompt-select-styled--unDG0y5.js → prompt-select-styled-n_A35tSP.js} +4 -4
- package/dist/{prompt-select-styled-BBW8ExAu.js → prompt-select-styled-vQMrGEwY.js} +4 -4
- package/dist/{pw-ai-4dv28kg0.js → pw-ai-AEM6NhZt.js} +5 -5
- package/dist/{pw-ai-DuNzIjgi.js → pw-ai-BaQ88hEN.js} +1 -1
- package/dist/{qmd-manager-DA3v0Y-t.js → qmd-manager-CVbI17-v.js} +5 -5
- package/dist/{qmd-scope-Byk5KlGv.js → qmd-scope-CL7VCB5M.js} +1 -1
- package/dist/{query-expansion-CGVFZR8O.js → query-expansion-DrMLz38Q.js} +2 -2
- package/dist/{register.agent-DXdz6bc0.js → register.agent-CpHR4A6v.js} +8 -8
- package/dist/{register.agent-te7qVBoR.js → register.agent-DD-U7oGb.js} +9 -9
- package/dist/{register.configure-DjSmILA-.js → register.configure-C3qRt8Z2.js} +12 -12
- package/dist/{register.configure-u_mElz3G.js → register.configure-CsmE4__F.js} +12 -12
- package/dist/{register.maintenance-CKx-2ze7.js → register.maintenance-C1pTDCfr.js} +9 -9
- package/dist/{register.maintenance-BMe88N2s.js → register.maintenance-Dw9XWs6B.js} +8 -8
- package/dist/{register.message-D3P3PbvS.js → register.message-C5H4BaZR.js} +3 -3
- package/dist/{register.message-CWpF1VfE.js → register.message-D1vEgAqq.js} +3 -3
- package/dist/{register.onboard-DtcpAkW4.js → register.onboard-C2ZqqRHb.js} +14 -14
- package/dist/{register.onboard-0rmVJjLc.js → register.onboard-Dd5wooum.js} +14 -14
- package/dist/{register.setup-C5agvuLZ.js → register.setup-S47GDXlI.js} +14 -14
- package/dist/{register.setup-Do3sWvmu.js → register.setup-wdsoq3BF.js} +14 -14
- package/dist/{register.status-health-sessions-DTOl2ffn.js → register.status-health-sessions-BoN2hOA8.js} +6 -6
- package/dist/{register.status-health-sessions-C3wrI8Rw.js → register.status-health-sessions-C876VSZh.js} +6 -6
- package/dist/{register.subclis-BmntpHBV.js → register.subclis-BT84Bn-_.js} +16 -16
- package/dist/{replies-oXYe4wxf.js → replies-DEtI8EHM.js} +2 -2
- package/dist/{reply-5d_FBb8m.js → reply-jrONH9Y7.js} +6 -6
- package/dist/{reply-prefix-DZjj9KHV.js → reply-prefix-DVyUjzCQ.js} +1 -1
- package/dist/{resolve-route-D3-NnOVE.js → resolve-route-Dc1L-NXd.js} +1 -1
- package/dist/{run-main-D9Fxy0Hu.js → run-main-C6XcZlLi.js} +14 -14
- package/dist/{runtime-helper-grants-BQYP50-i.js → runtime-helper-grants-Jas30vI5.js} +1 -1
- package/dist/{runtime-helper-grants-CqyGNc1k.js → runtime-helper-grants-kih7jkmx.js} +1 -1
- package/dist/{sandbox-cli-g26xYeMo.js → sandbox-cli-Bfj6NbE1.js} +2 -2
- package/dist/{sandbox-cli-Kf_iEEKT.js → sandbox-cli-C9wECeaH.js} +2 -2
- package/dist/{security-cli-BXd-xPab.js → security-cli-B1c376KU.js} +3 -3
- package/dist/{security-cli-JBJPJKU6.js → security-cli-Dz7uvFDt.js} +3 -3
- package/dist/{send-BqgaWpoE.js → send-BohOQw4n.js} +4 -4
- package/dist/{send-B-sa1Rzn.js → send-CqQ88clX.js} +18 -18
- package/dist/{send-DQ3s5E33.js → send-D2IXnEJl.js} +7 -7
- package/dist/{send-C1YtjPQb.js → send-D8eFKkkd.js} +5 -5
- package/dist/{send-Bhj3bXKi.js → send-Ps08x526.js} +5 -5
- package/dist/{server-DLj_G1sk.js → server-B2nRkZJD.js} +2 -2
- package/dist/{server-DTznnzCB.js → server-DYUU_xzp.js} +2 -2
- package/dist/{server-cron-B_5Pv8wt.js → server-cron-BgVg0Xr0.js} +2 -2
- package/dist/{server-cron-9NKGTvdH.js → server-cron-DiMWX26M.js} +2 -2
- package/dist/{server-node-events-HUAm9HRK.js → server-node-events-BTIgBj-Y.js} +3 -3
- package/dist/{server-node-events-BQbTcvb4.js → server-node-events-CD7PjM02.js} +3 -3
- package/dist/{session-CYgXtJQQ.js → session-Cz9lOeBe.js} +5 -5
- package/dist/{skill-commands-HOHDwVYx.js → skill-commands-LW0SeGsB.js} +24 -24
- package/dist/{status-C5BT3ShE.js → status-C1h5Ta_q.js} +4 -4
- package/dist/{status-BgIeE_GN.js → status-CnhP8fx7.js} +4 -4
- package/dist/{status-CCDLtWaH.js → status-DkMo6n1P.js} +1 -1
- package/dist/{status-CRSeqOJk.js → status-aMuRqtjs.js} +1 -1
- package/dist/{tables-BQMYTcw_.js → tables-CjmIs23-.js} +1 -1
- package/dist/{target-errors-iZTI1Fwr.js → target-errors-C3MQ1_UT.js} +2 -2
- package/dist/{tool-loop-detection-CqQip5ev.js → tool-loop-detection-CSfX9pJE.js} +2 -2
- package/dist/{tui-BUcLlnJf.js → tui-BuCSCKXc.js} +1 -1
- package/dist/{tui-CpFLYQvY.js → tui-DM671Mke.js} +1 -1
- package/dist/{tui-cli-CBpiAWOs.js → tui-cli-Cfw5R0S8.js} +3 -3
- package/dist/{tui-cli-BVCujDMk.js → tui-cli-DjI4QOzV.js} +3 -3
- package/dist/{update-cli-Bm9PtTTq.js → update-cli-BL1PUycr.js} +15 -15
- package/dist/{update-cli-Cg1NsSYC.js → update-cli-Bl5opT2O.js} +14 -14
- package/dist/{update-runner-giHs-roY.js → update-runner-BNiDZKyO.js} +38 -4
- package/dist/{update-runner-E5f53ziH.js → update-runner-Col2sOeF.js} +38 -4
- package/dist/{web-z6nfuAFN.js → web-0I3YFoDZ.js} +1 -1
- package/dist/{web-DHzdcD5k.js → web-Blq5sWxH.js} +35 -35
- package/dist/{web-fv_H8Fvb.js → web-C7I6HVNX.js} +2 -2
- package/dist/{web-D6QmuJSZ.js → web-D-gMdQkD.js} +3 -3
- package/dist/{web-C-SCrRnf.js → web-_igiL4AE.js} +3 -3
- package/dist/{web-search-providers.runtime-C-08aAIL.js → web-search-providers.runtime-CzUamtQl.js} +1 -1
- package/dist/{web-search-providers.runtime-BWcxW5PE.js → web-search-providers.runtime-pv7Jv2d6.js} +1 -1
- package/dist/{whatsapp-actions-CrVrn3wF.js → whatsapp-actions-oa93ddRw.js} +12 -12
- 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/src/brand.ts +1 -1
- package/src/canvas-host/a2ui/.bundle.hash +1 -1
- package/src/cli/daemon-cli/lifecycle.ts +23 -0
- package/src/cli/daemon-cli/restart-health.ts +37 -1
- package/src/cli/daemon-cli/status.gather.ts +37 -3
- package/src/cli/update-cli/progress.ts +2 -2
- package/src/cli/update-cli/update-command.ts +4 -3
- package/src/infra/update-global.ts +47 -0
- package/src/infra/update-runner.ts +10 -2
- package/dist/pi-model-discovery-runtime-DD55ZBCk.js +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as normalizeE164, i as CONFIG_DIR, v as pathExists } from "./agent-paths-DmOVZE7g.js";
|
|
2
2
|
import { $l as runCommandWithTimeout, B as listChatChannels, Bd as listDiscordAccountIds, Dd as listSlackAccountIds, F as createSubsystemLogger, Fd as resolveSignalAccount, Hd as resolveDefaultDiscordAccountId, Hu as resolveDefaultWhatsAppAccountId, Id as listIMessageAccountIds, L as formatChannelPrimerLine, Ld as resolveDefaultIMessageAccountId, Mu as getChannelPlugin, Nd as listSignalAccountIds, Nu as listChannelPlugins, Od as resolveDefaultSlackAccountId, Pd as resolveDefaultSignalAccountId, R as formatChannelSelectionLine, Rd as resolveIMessageAccount, Ud as resolveDiscordAccount, Vu as listWhatsAppAccountIds, Wu as resolveWhatsAppAuthDir, _d as resolveDefaultTelegramAccountId, d as resolveDefaultAgentId, dd as formatCliCommand, gd as listTelegramAccountIds, kd as resolveSlackAccount, ld as stripAnsi, mo as resolveFasedAgentPackageRootSync, ou as extractArchive, u as resolveAgentWorkspaceDir, vd as resolveTelegramAccount, wl as installPluginFromNpmSpec } from "./agent-scope-CrCe9L5D.js";
|
|
3
|
-
import { Ft as resolveSlackUserAllowlist, It as resolveSlackChannelAllowlist, Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger, mn as resolveDiscordChannelAllowlist, pn as resolveDiscordUserAllowlist, zt as detectBinary } from "./reply-
|
|
3
|
+
import { Ft as resolveSlackUserAllowlist, It as resolveSlackChannelAllowlist, Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger, mn as resolveDiscordChannelAllowlist, pn as resolveDiscordUserAllowlist, zt as detectBinary } from "./reply-jrONH9Y7.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-LmCHAJTQ.js";
|
|
5
5
|
import { dt as normalizeDiscordSlug } from "./send-BdbzQtpU.js";
|
|
6
6
|
import { i as isBlockedHostnameOrIp } from "./ssrf-Blf4NrHS.js";
|
|
@@ -12,7 +12,7 @@ import { t as resolveBrewExecutable } from "./brew-C52GeCeh.js";
|
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BvDnvwsE.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-BkfuwL4G.js";
|
|
14
14
|
import { t as buildNpmResolutionInstallFields } from "./installs-8bxu3Tg4.js";
|
|
15
|
-
import { o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
15
|
+
import { o as finalizeInstalledPluginConfig } from "./lifecycle-DN1VLZsk.js";
|
|
16
16
|
import { t as fetchTelegramChatId } from "./api-DLdLLQm_.js";
|
|
17
17
|
import fs, { createWriteStream, readFileSync } from "node:fs";
|
|
18
18
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $c as installPluginFromNpmSpec, $d as resolveDiscordAccount, $l as listWhatsAppAccountIds, Au as resolveTelegramAccount, Cu as formatCliCommand, Gd as resolveSignalAccount, Gl as listChannelPlugins, Gu as resolveDefaultAgentId, Jd as resolveIMessageAccount, Kd as listIMessageAccountIds, Ld as listSlackAccountIds, Ou as listTelegramAccountIds, Qd as resolveDefaultDiscordAccountId, Rd as resolveDefaultSlackAccountId, Ud as listSignalAccountIds, Wd as resolveDefaultSignalAccountId, Wl as getChannelPlugin, Wu as resolveAgentWorkspaceDir, Xd as listDiscordAccountIds, a as createSubsystemLogger, c as formatChannelSelectionLine, eu as resolveDefaultWhatsAppAccountId, ku as resolveDefaultTelegramAccountId, md as runCommandWithTimeout, nu as resolveWhatsAppAuthDir, pd as resolveFasedAgentPackageRootSync, qd as resolveDefaultIMessageAccountId, s as formatChannelPrimerLine, u as listChatChannels, xl as extractArchive, xu as stripAnsi, zd as resolveSlackAccount } from "./env-BegRUDBP.js";
|
|
2
2
|
import { _ as pathExists, g as normalizeE164, i as CONFIG_DIR } from "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import { dt as normalizeDiscordSlug } from "./send-D52Cqe9Z.js";
|
|
4
|
-
import { Oi as createPluginLoaderLogger, Qt as resolveDiscordUserAllowlist, V as resolveDiscordChannelAllowlist, Zt as resolveSlackUserAllowlist, c as loadFasedAgentPlugins, p as detectBinary, u as resolveSlackChannelAllowlist } from "./model-catalog-
|
|
4
|
+
import { Oi as createPluginLoaderLogger, Qt as resolveDiscordUserAllowlist, V as resolveDiscordChannelAllowlist, Zt as resolveSlackUserAllowlist, c as loadFasedAgentPlugins, p as detectBinary, u as resolveSlackChannelAllowlist } from "./model-catalog-DTeRSOlM.js";
|
|
5
5
|
import { J as DEFAULT_ACCOUNT_ID, Y as normalizeAccountId } from "./entry.js";
|
|
6
6
|
import { i as isBlockedHostnameOrIp } from "./ssrf-CqV2hisj.js";
|
|
7
7
|
import { d as listChannelPluginCatalogEntries, f as resolveChannelPluginExpectedPluginIds, l as formatChannelPluginCatalogSelectionHint, s as isChannelConfigured, u as formatChannelPluginCatalogStatusLine } from "./dangerous-name-matching-KjWdkw-p.js";
|
|
@@ -12,7 +12,7 @@ import { t as loginWeb } from "./login-BHnQlzyK.js";
|
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BfdkoReO.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-CK2zjW1B.js";
|
|
14
14
|
import { t as buildNpmResolutionInstallFields } from "./installs-C05yaQSr.js";
|
|
15
|
-
import { o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
15
|
+
import { o as finalizeInstalledPluginConfig } from "./lifecycle-DXPbWOOF.js";
|
|
16
16
|
import { t as fetchTelegramChatId } from "./api-uvDKewCP.js";
|
|
17
17
|
import { spawn } from "node:child_process";
|
|
18
18
|
import os from "node:os";
|
|
@@ -2,7 +2,7 @@ import { $c as installPluginFromNpmSpec, Wa as coerceSecretRef, pd as resolveFas
|
|
|
2
2
|
import { i as CONFIG_DIR, p as isRecord, x as resolveUserPath } from "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import "./model-catalog-
|
|
5
|
+
import "./model-catalog-DTeRSOlM.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import "./reply-prefix-CKOTLAs6.js";
|
|
8
8
|
import "./memory-DwzB7ik7.js";
|
|
@@ -44,7 +44,7 @@ import "./send-tByitNFq.js";
|
|
|
44
44
|
import "./outbound-attachment-DjAMOo70.js";
|
|
45
45
|
import "./fetch-C1-cYcji.js";
|
|
46
46
|
import "./delivery-queue-D7zHbNm4.js";
|
|
47
|
-
import "./deps-
|
|
47
|
+
import "./deps-CkOczIqw.js";
|
|
48
48
|
import "./frontmatter-BPHGMwFk.js";
|
|
49
49
|
import "./skills-2eSRzTmM.js";
|
|
50
50
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -75,10 +75,10 @@ import "./prompt-style-Rmj3c-Ir.js";
|
|
|
75
75
|
import "./pairing-labels-u5J0k1yz.js";
|
|
76
76
|
import { t as enablePluginInConfig } from "./enable-CK2zjW1B.js";
|
|
77
77
|
import { t as buildNpmResolutionInstallFields } from "./installs-C05yaQSr.js";
|
|
78
|
-
import "./status-
|
|
78
|
+
import "./status-DkMo6n1P.js";
|
|
79
79
|
import "./update-CfW8YMNn.js";
|
|
80
|
-
import { o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
81
|
-
import { t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-
|
|
80
|
+
import { o as finalizeInstalledPluginConfig } from "./lifecycle-DXPbWOOF.js";
|
|
81
|
+
import { t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-pv7Jv2d6.js";
|
|
82
82
|
import path from "node:path";
|
|
83
83
|
import fs from "node:fs";
|
|
84
84
|
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import { S as resolveUserPath, i as CONFIG_DIR, m as isRecord } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Co as coerceSecretRef, mo as resolveFasedAgentPackageRootSync, wl as installPluginFromNpmSpec } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-jrONH9Y7.js";
|
|
6
6
|
import "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import "./send-Dbz4ciHO.js";
|
|
8
8
|
import "./send-BdbzQtpU.js";
|
|
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
37
37
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
38
38
|
import "./fetch-C7U6zkCW.js";
|
|
39
39
|
import "./delivery-queue-D3PC9MW-.js";
|
|
40
|
-
import "./deps-
|
|
40
|
+
import "./deps-BWahcXVa.js";
|
|
41
41
|
import "./memory-_djkFopW.js";
|
|
42
42
|
import "./memory-search-DooAj6Eu.js";
|
|
43
43
|
import "./manager-bJh9XOLh.js";
|
|
@@ -78,10 +78,10 @@ import "./prompt-style-CWAacuMq.js";
|
|
|
78
78
|
import "./pairing-labels-v1JixmOK.js";
|
|
79
79
|
import { t as enablePluginInConfig } from "./enable-BkfuwL4G.js";
|
|
80
80
|
import { t as buildNpmResolutionInstallFields } from "./installs-8bxu3Tg4.js";
|
|
81
|
-
import "./status-
|
|
81
|
+
import "./status-aMuRqtjs.js";
|
|
82
82
|
import "./update-DSvuG3PT.js";
|
|
83
|
-
import { o as finalizeInstalledPluginConfig } from "./lifecycle-
|
|
84
|
-
import { t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-
|
|
83
|
+
import { o as finalizeInstalledPluginConfig } from "./lifecycle-DN1VLZsk.js";
|
|
84
|
+
import { t as resolvePluginWebSearchProviders } from "./web-search-providers.runtime-CzUamtQl.js";
|
|
85
85
|
import fs from "node:fs";
|
|
86
86
|
import path from "node:path";
|
|
87
87
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as resolveStateDir, u as resolveGatewayPort } from "./paths-C9FmTW1x.js";
|
|
2
2
|
import { S as resolveUserPath, U as theme } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Ga as ensureAuthProfileStore, Mn as writeConfigFile, Zr as collectConfigServiceEnvVars, d as resolveDefaultAgentId, dd as formatCliCommand, fr as ensureActiveMemoryPluginAllowlisted, kn as readConfigFileSnapshot, u as resolveAgentWorkspaceDir } from "./agent-scope-CrCe9L5D.js";
|
|
4
|
-
import { Bt as detectBrowserOpenSupport, Ht as formatControlUiSshHint, Jt as openUrl, Lt as DEFAULT_WORKSPACE, Mo as runFederationAutoConnectOnce, Qo as findTailscaleBinary, Qt as resolveControlUiLinks, Rt as applyWizardMetadata, Vt as ensureWorkspaceAndSessions, Wt as handleOnboardingRepair, Xo as enableTailscaleFunnel, Xt as probeGatewayReachable, Yt as printWizardHeader, Zo as enableTailscaleServe, Zt as randomToken, en as summarizeExistingConfig, nn as waitForGatewayReachable, qt as normalizeGatewayTokenInput, tn as validateGatewayPasswordInput, xo as normalizeControlUiBasePath, yo as CONTROL_UI_BOOT_CHECK_PATH } from "./reply-
|
|
4
|
+
import { Bt as detectBrowserOpenSupport, Ht as formatControlUiSshHint, Jt as openUrl, Lt as DEFAULT_WORKSPACE, Mo as runFederationAutoConnectOnce, Qo as findTailscaleBinary, Qt as resolveControlUiLinks, Rt as applyWizardMetadata, Vt as ensureWorkspaceAndSessions, Wt as handleOnboardingRepair, Xo as enableTailscaleFunnel, Xt as probeGatewayReachable, Yt as printWizardHeader, Zo as enableTailscaleServe, Zt as randomToken, en as summarizeExistingConfig, nn as waitForGatewayReachable, qt as normalizeGatewayTokenInput, tn as validateGatewayPasswordInput, xo as normalizeControlUiBasePath, yo as CONTROL_UI_BOOT_CHECK_PATH } from "./reply-jrONH9Y7.js";
|
|
5
5
|
import { d as defaultRuntime, f as restoreTerminalState, s as redactSensitiveText } from "./errors-Dx3S3Nrp.js";
|
|
6
6
|
import { a as resolveSignerdBinaryPath, n as installSignerdBinary, o as restartLocalSocketSigner, r as migrateLocalSignerKeystoreToMaterialDir, t as configureWalletForOnboarding } from "./onboarding.wallet-Bm7ylNHl.js";
|
|
7
7
|
import { i as resolveLocalSignerRunAsUser, n as resolveLocalSignerBackendSocketPath, o as resolveLocalSignerSocketPath, r as resolveLocalSignerMaterialRootDir, t as ensureWalletStateDir } from "./wallet-runtime-config-BlRWvEER.js";
|
|
@@ -17,14 +17,14 @@ import { a as resolveHostedOnboardingGatewayStartupMode, i as resolveGatewayStar
|
|
|
17
17
|
import { d as buildSystemdUnit, r as isSystemdUserServiceAvailable } from "./systemd-6vRLjUEu.js";
|
|
18
18
|
import { t as resolveGatewayService } from "./service-DRKrlJSw.js";
|
|
19
19
|
import { n as auditGatewayServiceConfig, t as SERVICE_AUDIT_CODES } from "./service-audit-1anzCSV2.js";
|
|
20
|
-
import { a as promptRemoteGatewayConfig, n as getTailscaleMissingBinNoteLines, r as setupSkills, t as validateIPv4AddressInput, u as promptCustomApiConfig } from "./ipv4-
|
|
21
|
-
import { o as waitForHostedDashboardBrowserPath } from "./health-
|
|
22
|
-
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-
|
|
23
|
-
import { t as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
20
|
+
import { a as promptRemoteGatewayConfig, n as getTailscaleMissingBinNoteLines, r as setupSkills, t as validateIPv4AddressInput, u as promptCustomApiConfig } from "./ipv4-p6oBdL3i.js";
|
|
21
|
+
import { o as waitForHostedDashboardBrowserPath } from "./health-Dx0abJui.js";
|
|
22
|
+
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-CvM0GCEt.js";
|
|
23
|
+
import { t as promptAuthChoiceGrouped } from "./auth-choice-prompt-DgZ_-DFR.js";
|
|
24
24
|
import { n as logConfigUpdated } from "./logging-Dv2wthF_.js";
|
|
25
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
25
|
+
import { n as setupChannels } from "./onboard-channels-6l52GEWY.js";
|
|
26
26
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-BC1bVD00.js";
|
|
27
|
-
import { t as runTui } from "./tui-
|
|
27
|
+
import { t as runTui } from "./tui-BuCSCKXc.js";
|
|
28
28
|
import fs from "node:fs";
|
|
29
29
|
import os from "node:os";
|
|
30
30
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cu as formatCliCommand, Fn as ensureActiveMemoryPluginAllowlisted, Gu as resolveDefaultAgentId, Qt as readConfigFileSnapshot, Wu as resolveAgentWorkspaceDir, br as collectConfigServiceEnvVars, ma as ensureAuthProfileStore, tn as writeConfigFile } from "./env-BegRUDBP.js";
|
|
2
2
|
import { H as theme, x as resolveUserPath } from "./agent-paths-BI1hx-tF.js";
|
|
3
|
-
import { A as waitForGatewayReachable, C as printWizardHeader, E as resolveControlUiLinks, Ha as CONTROL_UI_BOOT_CHECK_PATH, O as summarizeExistingConfig, S as openUrl, T as randomToken, Wa as normalizeControlUiBasePath, bo as enableTailscaleServe, d as DEFAULT_WORKSPACE, f as applyWizardMetadata, g as formatControlUiSshHint, h as ensureWorkspaceAndSessions, k as validateGatewayPasswordInput, m as detectBrowserOpenSupport, to as runFederationAutoConnectOnce, v as handleOnboardingRepair, w as probeGatewayReachable, x as normalizeGatewayTokenInput, xo as findTailscaleBinary, yo as enableTailscaleFunnel } from "./model-catalog-
|
|
3
|
+
import { A as waitForGatewayReachable, C as printWizardHeader, E as resolveControlUiLinks, Ha as CONTROL_UI_BOOT_CHECK_PATH, O as summarizeExistingConfig, S as openUrl, T as randomToken, Wa as normalizeControlUiBasePath, bo as enableTailscaleServe, d as DEFAULT_WORKSPACE, f as applyWizardMetadata, g as formatControlUiSshHint, h as ensureWorkspaceAndSessions, k as validateGatewayPasswordInput, m as detectBrowserOpenSupport, to as runFederationAutoConnectOnce, v as handleOnboardingRepair, w as probeGatewayReachable, x as normalizeGatewayTokenInput, xo as findTailscaleBinary, yo as enableTailscaleFunnel } from "./model-catalog-DTeRSOlM.js";
|
|
4
4
|
import { A as defaultRuntime, Ct as resolveStateDir, E as redactSensitiveText, gt as resolveGatewayPort, j as restoreTerminalState } from "./entry.js";
|
|
5
5
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-BW03TVj8.js";
|
|
6
6
|
import { a as resolveSignerdBinaryPath, n as installSignerdBinary, o as restartLocalSocketSigner, r as migrateLocalSignerKeystoreToMaterialDir, t as configureWalletForOnboarding } from "./onboarding.wallet-DdUB2dTR.js";
|
|
@@ -16,14 +16,14 @@ import { a as resolveHostedOnboardingGatewayStartupMode, i as resolveGatewayStar
|
|
|
16
16
|
import { d as buildSystemdUnit, r as isSystemdUserServiceAvailable } from "./systemd-CWa7eQgH.js";
|
|
17
17
|
import { t as resolveGatewayService } from "./service-CPGs_iPU.js";
|
|
18
18
|
import { n as auditGatewayServiceConfig, t as SERVICE_AUDIT_CODES } from "./service-audit-Daqv2ulM.js";
|
|
19
|
-
import { a as promptRemoteGatewayConfig, n as getTailscaleMissingBinNoteLines, r as setupSkills, t as validateIPv4AddressInput, u as promptCustomApiConfig } from "./ipv4-
|
|
20
|
-
import { s as waitForHostedDashboardBrowserPath } from "./health-
|
|
21
|
-
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-
|
|
22
|
-
import { t as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
19
|
+
import { a as promptRemoteGatewayConfig, n as getTailscaleMissingBinNoteLines, r as setupSkills, t as validateIPv4AddressInput, u as promptCustomApiConfig } from "./ipv4-BiVsHcPZ.js";
|
|
20
|
+
import { s as waitForHostedDashboardBrowserPath } from "./health-CtFbngOI.js";
|
|
21
|
+
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-fxfJkTWE.js";
|
|
22
|
+
import { t as promptAuthChoiceGrouped } from "./auth-choice-prompt-CZWGTWFF.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-DZ32I_SP.js";
|
|
24
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
24
|
+
import { n as setupChannels } from "./onboard-channels-B-CHfy-_.js";
|
|
25
25
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-ZNYrC7lo.js";
|
|
26
|
-
import { t as runTui } from "./tui-
|
|
26
|
+
import { t as runTui } from "./tui-DM671Mke.js";
|
|
27
27
|
import { spawn, spawnSync } from "node:child_process";
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { bd as logWarn } from "./env-BegRUDBP.js";
|
|
|
2
2
|
import "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import { Ai as buildAgentMessageFromConversationEntries, Ii as resolveAssistantStreamDeltaText, Li as agentCommand, _a as resolveAgentIdForRequest, an as DEFAULT_INPUT_IMAGE_MAX_BYTES, ba as setSseHeaders, cn as DEFAULT_INPUT_TIMEOUT_MS, dn as normalizeMimeList, fn as resolveInputFileLimits, ia as emitAgentEvent, ki as handleGatewayPostJsonEndpoint, ln as extractFileContentFromSource, oa as onAgentEvent, on as DEFAULT_INPUT_IMAGE_MIMES, sn as DEFAULT_INPUT_MAX_REDIRECTS, un as extractImageContentFromSource, va as resolveSessionKey, xa as writeDone, ya as sendJson } from "./model-catalog-
|
|
5
|
+
import { Ai as buildAgentMessageFromConversationEntries, Ii as resolveAssistantStreamDeltaText, Li as agentCommand, _a as resolveAgentIdForRequest, an as DEFAULT_INPUT_IMAGE_MAX_BYTES, ba as setSseHeaders, cn as DEFAULT_INPUT_TIMEOUT_MS, dn as normalizeMimeList, fn as resolveInputFileLimits, ia as emitAgentEvent, ki as handleGatewayPostJsonEndpoint, ln as extractFileContentFromSource, oa as onAgentEvent, on as DEFAULT_INPUT_IMAGE_MIMES, sn as DEFAULT_INPUT_MAX_REDIRECTS, un as extractImageContentFromSource, va as resolveSessionKey, xa as writeDone, ya as sendJson } from "./model-catalog-DTeRSOlM.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-CKOTLAs6.js";
|
|
@@ -45,7 +45,7 @@ import "./send-tByitNFq.js";
|
|
|
45
45
|
import "./outbound-attachment-DjAMOo70.js";
|
|
46
46
|
import "./fetch-C1-cYcji.js";
|
|
47
47
|
import "./delivery-queue-D7zHbNm4.js";
|
|
48
|
-
import { t as createDefaultDeps } from "./deps-
|
|
48
|
+
import { t as createDefaultDeps } from "./deps-CkOczIqw.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { Ui as logWarn, wa as defaultRuntime } from "./agent-scope-
|
|
2
|
-
import "./github-copilot-token-
|
|
3
|
-
import "./send-
|
|
4
|
-
import "./send-
|
|
5
|
-
import { $ as emitAgentEvent, B as DEFAULT_INPUT_IMAGE_MIMES, G as normalizeMimeList, H as DEFAULT_INPUT_TIMEOUT_MS, K as resolveInputFileLimits, U as extractFileContentFromSource, V as DEFAULT_INPUT_MAX_REDIRECTS, W as extractImageContentFromSource, a as agentCommand, at as setSseHeaders, et as onAgentEvent, i as resolveAssistantStreamDeltaText, it as sendJson, n as handleGatewayPostJsonEndpoint, nt as resolveAgentIdForRequest, ot as writeDone, r as buildAgentMessageFromConversationEntries, rt as resolveSessionKey, tt as createDefaultDeps, z as DEFAULT_INPUT_IMAGE_MAX_BYTES } from "./pi-embedded-
|
|
6
|
-
import "./diagnostic-
|
|
1
|
+
import { Ui as logWarn, wa as defaultRuntime } from "./agent-scope-Bx0XQq3s.js";
|
|
2
|
+
import "./github-copilot-token-DYrFvncE.js";
|
|
3
|
+
import "./send-BohOQw4n.js";
|
|
4
|
+
import "./send-D2IXnEJl.js";
|
|
5
|
+
import { $ as emitAgentEvent, B as DEFAULT_INPUT_IMAGE_MIMES, G as normalizeMimeList, H as DEFAULT_INPUT_TIMEOUT_MS, K as resolveInputFileLimits, U as extractFileContentFromSource, V as DEFAULT_INPUT_MAX_REDIRECTS, W as extractImageContentFromSource, a as agentCommand, at as setSseHeaders, et as onAgentEvent, i as resolveAssistantStreamDeltaText, it as sendJson, n as handleGatewayPostJsonEndpoint, nt as resolveAgentIdForRequest, ot as writeDone, r as buildAgentMessageFromConversationEntries, rt as resolveSessionKey, tt as createDefaultDeps, z as DEFAULT_INPUT_IMAGE_MAX_BYTES } from "./pi-embedded-BMW4AO0b.js";
|
|
6
|
+
import "./diagnostic-C6MSQFZF.js";
|
|
7
7
|
import "./diagnostic-session-state-CexmAKza.js";
|
|
8
|
-
import "./send-
|
|
9
|
-
import "./media-
|
|
10
|
-
import "./pi-model-discovery
|
|
11
|
-
import "./paths-
|
|
8
|
+
import "./send-CqQ88clX.js";
|
|
9
|
+
import "./media-CInvDVc0.js";
|
|
10
|
+
import "./pi-model-discovery-C1CAe7eM.js";
|
|
11
|
+
import "./paths-BrYFwmxy.js";
|
|
12
12
|
import "./ssrf-DYsl9qoS.js";
|
|
13
|
-
import "./reply-prefix-
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./fs-safe-
|
|
16
|
-
import "./skill-commands-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./markdown-tables-
|
|
19
|
-
import "./send-
|
|
20
|
-
import "./fetch-guard-
|
|
21
|
-
import "./outbound-attachment-
|
|
22
|
-
import "./fetch-
|
|
23
|
-
import "./memory-search-
|
|
24
|
-
import "./manager-
|
|
25
|
-
import "./query-expansion-
|
|
26
|
-
import "./target-errors-
|
|
13
|
+
import "./reply-prefix-DVyUjzCQ.js";
|
|
14
|
+
import "./path-alias-guards-Dalcwl5X.js";
|
|
15
|
+
import "./fs-safe-CrX7hR24.js";
|
|
16
|
+
import "./skill-commands-LW0SeGsB.js";
|
|
17
|
+
import "./chunk-CiQeXMLG.js";
|
|
18
|
+
import "./markdown-tables-C-HEtwaC.js";
|
|
19
|
+
import "./send-Ps08x526.js";
|
|
20
|
+
import "./fetch-guard-DdMratk8.js";
|
|
21
|
+
import "./outbound-attachment-BL6wK70V.js";
|
|
22
|
+
import "./fetch-BwkjkjT6.js";
|
|
23
|
+
import "./memory-search-BZt8FFLW.js";
|
|
24
|
+
import "./manager-BfodMNDG.js";
|
|
25
|
+
import "./query-expansion-DrMLz38Q.js";
|
|
26
|
+
import "./target-errors-C3MQ1_UT.js";
|
|
27
27
|
import "./render-BRr7caFG.js";
|
|
28
|
-
import "./commands-registry-
|
|
29
|
-
import "./config-eval-
|
|
30
|
-
import "./send-
|
|
31
|
-
import "./resolve-route-
|
|
32
|
-
import "./channel-activity-
|
|
33
|
-
import "./tables-
|
|
28
|
+
import "./commands-registry-t0hu8c_Z.js";
|
|
29
|
+
import "./config-eval-CLXDBlCw.js";
|
|
30
|
+
import "./send-D8eFKkkd.js";
|
|
31
|
+
import "./resolve-route-Dc1L-NXd.js";
|
|
32
|
+
import "./channel-activity-BvC4RbBO.js";
|
|
33
|
+
import "./tables-CjmIs23-.js";
|
|
34
34
|
import "./proxy-DkRPPIHD.js";
|
|
35
35
|
import "./config-CtKjZZ4x.js";
|
|
36
|
-
import "./replies-
|
|
36
|
+
import "./replies-DEtI8EHM.js";
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
import { z } from "zod";
|
|
39
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./github-copilot-token-Dy7Y_jbI.js";
|
|
2
2
|
import { la as logWarn, qo as defaultRuntime } from "./paths-CfLHb30A.js";
|
|
3
|
-
import { B as extractImageContentFromSource, F as DEFAULT_INPUT_IMAGE_MAX_BYTES, H as resolveInputFileLimits, I as DEFAULT_INPUT_IMAGE_MIMES, L as DEFAULT_INPUT_MAX_REDIRECTS, R as DEFAULT_INPUT_TIMEOUT_MS, V as normalizeMimeList, X as emitAgentEvent, Z as onAgentEvent, a as agentCommand, at as sendJson, i as resolveAssistantStreamDeltaText, it as resolveSessionKey, n as handleGatewayPostJsonEndpoint, nt as createDefaultDeps, ot as setSseHeaders, r as buildAgentMessageFromConversationEntries, rt as resolveAgentIdForRequest, st as writeDone, z as extractFileContentFromSource } from "./auth-
|
|
3
|
+
import { B as extractImageContentFromSource, F as DEFAULT_INPUT_IMAGE_MAX_BYTES, H as resolveInputFileLimits, I as DEFAULT_INPUT_IMAGE_MIMES, L as DEFAULT_INPUT_MAX_REDIRECTS, R as DEFAULT_INPUT_TIMEOUT_MS, V as normalizeMimeList, X as emitAgentEvent, Z as onAgentEvent, a as agentCommand, at as sendJson, i as resolveAssistantStreamDeltaText, it as resolveSessionKey, n as handleGatewayPostJsonEndpoint, nt as createDefaultDeps, ot as setSseHeaders, r as buildAgentMessageFromConversationEntries, rt as resolveAgentIdForRequest, st as writeDone, z as extractFileContentFromSource } from "./auth-miYdUxcO.js";
|
|
4
4
|
import "./send-CATaWrzb.js";
|
|
5
5
|
import "./send-Dh1OzXJR.js";
|
|
6
6
|
import "./skill-commands-DrPVL-fM.js";
|
|
@@ -2,14 +2,14 @@ import { Sa as defaultRuntime, Vi as logWarn } from "./agent-scope-QCjbZusO.js";
|
|
|
2
2
|
import "./github-copilot-token-CNsqwfnE.js";
|
|
3
3
|
import "./send-BL6uivCv.js";
|
|
4
4
|
import "./send-BRzujRf3.js";
|
|
5
|
-
import { B as DEFAULT_INPUT_IMAGE_MIMES, G as normalizeMimeList, H as DEFAULT_INPUT_TIMEOUT_MS, K as resolveInputFileLimits, U as extractFileContentFromSource, V as DEFAULT_INPUT_MAX_REDIRECTS, W as extractImageContentFromSource, a as agentCommand, at as sendJson, et as emitAgentEvent, i as resolveAssistantStreamDeltaText, it as resolveSessionKey, n as handleGatewayPostJsonEndpoint, nt as createDefaultDeps, ot as setSseHeaders, r as buildAgentMessageFromConversationEntries, rt as resolveAgentIdForRequest, st as writeDone, tt as onAgentEvent, z as DEFAULT_INPUT_IMAGE_MAX_BYTES } from "./pi-embedded-
|
|
5
|
+
import { B as DEFAULT_INPUT_IMAGE_MIMES, G as normalizeMimeList, H as DEFAULT_INPUT_TIMEOUT_MS, K as resolveInputFileLimits, U as extractFileContentFromSource, V as DEFAULT_INPUT_MAX_REDIRECTS, W as extractImageContentFromSource, a as agentCommand, at as sendJson, et as emitAgentEvent, i as resolveAssistantStreamDeltaText, it as resolveSessionKey, n as handleGatewayPostJsonEndpoint, nt as createDefaultDeps, ot as setSseHeaders, r as buildAgentMessageFromConversationEntries, rt as resolveAgentIdForRequest, st as writeDone, tt as onAgentEvent, z as DEFAULT_INPUT_IMAGE_MAX_BYTES } from "./pi-embedded-YWZsPSdf.js";
|
|
6
6
|
import "./reply-prefix-Dtgue6NM.js";
|
|
7
7
|
import "./diagnostic-IcOSmaHW.js";
|
|
8
8
|
import "./diagnostic-session-state-CL_QxyRg.js";
|
|
9
9
|
import "./send-CRPZnP3g.js";
|
|
10
10
|
import "./media-Byi2a0IF.js";
|
|
11
11
|
import "./pi-model-discovery-CoOUKWxg.js";
|
|
12
|
-
import "./paths-
|
|
12
|
+
import "./paths-DGN5lNb7.js";
|
|
13
13
|
import "./ssrf-9SwDSKOO.js";
|
|
14
14
|
import "./path-alias-guards-DrlQyXxM.js";
|
|
15
15
|
import "./fs-safe-WbnfJj7r.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { au as logWarn } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { Er as onAgentEvent, G as DEFAULT_INPUT_TIMEOUT_MS, H as DEFAULT_INPUT_IMAGE_MAX_BYTES, J as normalizeMimeList, Ja as sendJson, K as extractFileContentFromSource, Ka as resolveAgentIdForRequest, U as DEFAULT_INPUT_IMAGE_MIMES, W as DEFAULT_INPUT_MAX_REDIRECTS, Xa as writeDone, Y as resolveInputFileLimits, Ya as setSseHeaders, ft as handleGatewayPostJsonEndpoint, ht as agentCommand, mt as resolveAssistantStreamDeltaText, pt as buildAgentMessageFromConversationEntries, q as extractImageContentFromSource, qa as resolveSessionKey, wr as emitAgentEvent } from "./reply-
|
|
5
|
+
import { Er as onAgentEvent, G as DEFAULT_INPUT_TIMEOUT_MS, H as DEFAULT_INPUT_IMAGE_MAX_BYTES, J as normalizeMimeList, Ja as sendJson, K as extractFileContentFromSource, Ka as resolveAgentIdForRequest, U as DEFAULT_INPUT_IMAGE_MIMES, W as DEFAULT_INPUT_MAX_REDIRECTS, Xa as writeDone, Y as resolveInputFileLimits, Ya as setSseHeaders, ft as handleGatewayPostJsonEndpoint, ht as agentCommand, mt as resolveAssistantStreamDeltaText, pt as buildAgentMessageFromConversationEntries, q as extractImageContentFromSource, qa as resolveSessionKey, wr as emitAgentEvent } from "./reply-jrONH9Y7.js";
|
|
6
6
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import "./send-Dbz4ciHO.js";
|
|
8
8
|
import "./send-BdbzQtpU.js";
|
|
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
37
37
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
38
38
|
import "./fetch-C7U6zkCW.js";
|
|
39
39
|
import "./delivery-queue-D3PC9MW-.js";
|
|
40
|
-
import { t as createDefaultDeps } from "./deps-
|
|
40
|
+
import { t as createDefaultDeps } from "./deps-BWahcXVa.js";
|
|
41
41
|
import "./memory-_djkFopW.js";
|
|
42
42
|
import "./memory-search-DooAj6Eu.js";
|
|
43
43
|
import "./manager-bJh9XOLh.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Ms as getChildLogger, as as escapeRegExp, k as createSubsystemLogger, ys as toWhatsappJid } from "./agent-scope-
|
|
2
|
+
import { Gt as loadConfig, Ms as getChildLogger, as as escapeRegExp, k as createSubsystemLogger, ys as toWhatsappJid } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-CSsVRTTy.js";
|
|
4
4
|
import { t as redactIdentifier } from "./redact-identifier-Cy6Tnhkn.js";
|
|
5
|
-
import { n as loadWebMedia } from "./media-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
5
|
+
import { n as loadWebMedia } from "./media-CInvDVc0.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-CYTwXmA1.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
10
|
-
import { n as formatError } from "./session-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-CjmIs23-.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-Bw8DT1EX.js";
|
|
10
|
+
import { n as formatError } from "./session-Cz9lOeBe.js";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ds as resolveConfigDir } from "./agent-scope-
|
|
2
|
-
import { _ as extensionForMime, g as detectMime, n as loadWebMedia } from "./media-
|
|
1
|
+
import { ds as resolveConfigDir } from "./agent-scope-Bx0XQq3s.js";
|
|
2
|
+
import { _ as extensionForMime, g as detectMime, n as loadWebMedia } from "./media-CInvDVc0.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Gl as listChannelPlugins, Vf as CHAT_CHANNEL_ORDER, t as isTruthyEnvValue } from "./env-BegRUDBP.js";
|
|
2
2
|
import { d as listChannelPluginCatalogEntries } from "./dangerous-name-matching-KjWdkw-p.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DA_1IBe0.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/channel-options.ts
|
|
6
6
|
function dedupe(values) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cd as isTruthyEnvValue, Nu as listChannelPlugins, jf as CHAT_CHANNEL_ORDER } from "./agent-scope-CrCe9L5D.js";
|
|
2
2
|
import { c as listChannelPluginCatalogEntries } from "./dangerous-name-matching-Ck2C5XzW.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CwfvRSs4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/channel-options.ts
|
|
6
6
|
function dedupe(values) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Di as BOUNDARY_PATH_ALIAS_POLICIES, Oi as resolveBoundaryPath, Wi as isNotFoundPathError } from "./agent-scope-
|
|
1
|
+
import { Di as BOUNDARY_PATH_ALIAS_POLICIES, Oi as resolveBoundaryPath, Wi as isNotFoundPathError } from "./agent-scope-Bx0XQq3s.js";
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Gt as loadConfig, Ni as isErrno, Wi as isNotFoundPathError, es as CONFIG_DIR, k as createSubsystemLogger } from "./agent-scope-
|
|
1
|
+
import { Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Gt as loadConfig, Ni as isErrno, Wi as isNotFoundPathError, es as CONFIG_DIR, k as createSubsystemLogger } from "./agent-scope-Bx0XQq3s.js";
|
|
2
2
|
import { a as resolvePinnedHostnameWithPolicy, c as isLoopbackIpAddress, l as normalizeIpAddress, s as isIpInCidr } from "./ssrf-DYsl9qoS.js";
|
|
3
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
3
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CrX7hR24.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs";
|
|
8
8
|
import { createHmac } from "node:crypto";
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
10
10
|
import { createServer } from "node:http";
|
|
11
11
|
import net from "node:net";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -270,7 +270,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
270
270
|
let extensionWs = null;
|
|
271
271
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
272
272
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
273
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
273
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
274
274
|
let extensionDisconnectCleanupTimer = null;
|
|
275
275
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
276
276
|
const flushExtensionReconnectWaiters = (connected) => {
|
|
@@ -321,7 +321,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
321
321
|
let nextExtensionId = 1;
|
|
322
322
|
const sendToExtension = async (payload) => {
|
|
323
323
|
const ws = extensionWs;
|
|
324
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
324
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
325
325
|
ws.send(JSON.stringify(payload));
|
|
326
326
|
return await new Promise((resolve, reject) => {
|
|
327
327
|
const timer = setTimeout(() => {
|
|
@@ -338,12 +338,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
338
338
|
const broadcastToCdpClients = (evt) => {
|
|
339
339
|
const msg = JSON.stringify(evt);
|
|
340
340
|
for (const ws of cdpClients) {
|
|
341
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
341
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
342
342
|
ws.send(msg);
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
const sendResponseToCdp = (ws, res) => {
|
|
346
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
346
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
347
347
|
ws.send(JSON.stringify(res));
|
|
348
348
|
};
|
|
349
349
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -553,7 +553,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
553
553
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
554
554
|
return;
|
|
555
555
|
}
|
|
556
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
556
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
557
557
|
try {
|
|
558
558
|
extensionWs.terminate();
|
|
559
559
|
} catch {}
|
|
@@ -590,7 +590,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
590
590
|
clearExtensionDisconnectCleanupTimer();
|
|
591
591
|
flushExtensionReconnectWaiters(true);
|
|
592
592
|
const ping = setInterval(() => {
|
|
593
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
593
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
594
594
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
595
595
|
}, 5e3);
|
|
596
596
|
ws.on("message", (data) => {
|
|
@@ -932,7 +932,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
932
932
|
}
|
|
933
933
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
934
934
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
935
|
-
const ws = new WebSocket(wsUrl, {
|
|
935
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
936
936
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
937
937
|
...Object.keys(headers).length ? { headers } : {}
|
|
938
938
|
});
|
|
@@ -1140,7 +1140,7 @@ async function snapshotAria(opts) {
|
|
|
1140
1140
|
const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
|
|
1141
1141
|
function resolveLsofCommandSync() {
|
|
1142
1142
|
for (const candidate of LSOF_CANDIDATES) try {
|
|
1143
|
-
|
|
1143
|
+
fs$1.accessSync(candidate, fs$1.constants.X_OK);
|
|
1144
1144
|
return candidate;
|
|
1145
1145
|
} catch {}
|
|
1146
1146
|
return "lsof";
|
|
@@ -1255,7 +1255,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1255
1255
|
]);
|
|
1256
1256
|
function exists$1(filePath) {
|
|
1257
1257
|
try {
|
|
1258
|
-
return
|
|
1258
|
+
return fs$1.existsSync(filePath);
|
|
1259
1259
|
} catch {
|
|
1260
1260
|
return false;
|
|
1261
1261
|
}
|
|
@@ -1398,7 +1398,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
function readDesktopExecLine(desktopPath) {
|
|
1400
1400
|
try {
|
|
1401
|
-
const lines =
|
|
1401
|
+
const lines = fs$1.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1402
1402
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1403
1403
|
} catch {}
|
|
1404
1404
|
return null;
|
|
@@ -1658,8 +1658,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
function safeReadJson(filePath) {
|
|
1660
1660
|
try {
|
|
1661
|
-
if (!
|
|
1662
|
-
const raw =
|
|
1661
|
+
if (!fs$1.existsSync(filePath)) return null;
|
|
1662
|
+
const raw = fs$1.readFileSync(filePath, "utf-8");
|
|
1663
1663
|
const parsed = JSON.parse(raw);
|
|
1664
1664
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1665
1665
|
return parsed;
|
|
@@ -1668,8 +1668,8 @@ function safeReadJson(filePath) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
}
|
|
1670
1670
|
function safeWriteJson(filePath, data) {
|
|
1671
|
-
|
|
1672
|
-
|
|
1671
|
+
fs$1.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1672
|
+
fs$1.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1673
1673
|
}
|
|
1674
1674
|
function setDeep(obj, keys, value) {
|
|
1675
1675
|
let node = obj;
|
|
@@ -1796,7 +1796,7 @@ function decorateFasedAgentProfile(userDataDir, opts) {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
safeWriteJson(preferencesPath, prefs);
|
|
1798
1798
|
try {
|
|
1799
|
-
|
|
1799
|
+
fs$1.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1800
1800
|
} catch {}
|
|
1801
1801
|
}
|
|
1802
1802
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1812,7 +1812,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1812
1812
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1813
1813
|
function exists(filePath) {
|
|
1814
1814
|
try {
|
|
1815
|
-
return
|
|
1815
|
+
return fs$1.existsSync(filePath);
|
|
1816
1816
|
} catch {
|
|
1817
1817
|
return false;
|
|
1818
1818
|
}
|
|
@@ -1858,7 +1858,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1858
1858
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1859
1859
|
return await new Promise((resolve) => {
|
|
1860
1860
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1861
|
-
const ws = new WebSocket(wsUrl, {
|
|
1861
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1862
1862
|
handshakeTimeout: timeoutMs,
|
|
1863
1863
|
...Object.keys(headers).length ? { headers } : {}
|
|
1864
1864
|
});
|
|
@@ -1892,7 +1892,7 @@ async function launchFasedAgentChrome(resolved, profile) {
|
|
|
1892
1892
|
const exe = resolveBrowserExecutable(resolved);
|
|
1893
1893
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
1894
1894
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
1895
|
-
|
|
1895
|
+
fs$1.mkdirSync(userDataDir, { recursive: true });
|
|
1896
1896
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_FASED_BROWSER_COLOR).toUpperCase());
|
|
1897
1897
|
const spawnOnce = () => {
|
|
1898
1898
|
const args = [
|
|
@@ -9,7 +9,7 @@ import { createHmac } from "node:crypto";
|
|
|
9
9
|
import { execFileSync, spawn } from "node:child_process";
|
|
10
10
|
import { createServer } from "node:http";
|
|
11
11
|
import net from "node:net";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -270,7 +270,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
270
270
|
let extensionWs = null;
|
|
271
271
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
272
272
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
273
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
273
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
274
274
|
let extensionDisconnectCleanupTimer = null;
|
|
275
275
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
276
276
|
const flushExtensionReconnectWaiters = (connected) => {
|
|
@@ -321,7 +321,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
321
321
|
let nextExtensionId = 1;
|
|
322
322
|
const sendToExtension = async (payload) => {
|
|
323
323
|
const ws = extensionWs;
|
|
324
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
324
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
325
325
|
ws.send(JSON.stringify(payload));
|
|
326
326
|
return await new Promise((resolve, reject) => {
|
|
327
327
|
const timer = setTimeout(() => {
|
|
@@ -338,12 +338,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
338
338
|
const broadcastToCdpClients = (evt) => {
|
|
339
339
|
const msg = JSON.stringify(evt);
|
|
340
340
|
for (const ws of cdpClients) {
|
|
341
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
341
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
342
342
|
ws.send(msg);
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
const sendResponseToCdp = (ws, res) => {
|
|
346
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
346
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
347
347
|
ws.send(JSON.stringify(res));
|
|
348
348
|
};
|
|
349
349
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -553,7 +553,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
553
553
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
554
554
|
return;
|
|
555
555
|
}
|
|
556
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
556
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
557
557
|
try {
|
|
558
558
|
extensionWs.terminate();
|
|
559
559
|
} catch {}
|
|
@@ -590,7 +590,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
590
590
|
clearExtensionDisconnectCleanupTimer();
|
|
591
591
|
flushExtensionReconnectWaiters(true);
|
|
592
592
|
const ping = setInterval(() => {
|
|
593
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
593
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
594
594
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
595
595
|
}, 5e3);
|
|
596
596
|
ws.on("message", (data) => {
|
|
@@ -932,7 +932,7 @@ async function fetchOk(url, timeoutMs = 1500, init) {
|
|
|
932
932
|
}
|
|
933
933
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
934
934
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
935
|
-
const ws = new WebSocket(wsUrl, {
|
|
935
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
936
936
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
937
937
|
...Object.keys(headers).length ? { headers } : {}
|
|
938
938
|
});
|
|
@@ -1858,7 +1858,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1858
1858
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1859
1859
|
return await new Promise((resolve) => {
|
|
1860
1860
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1861
|
-
const ws = new WebSocket(wsUrl, {
|
|
1861
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1862
1862
|
handshakeTimeout: timeoutMs,
|
|
1863
1863
|
...Object.keys(headers).length ? { headers } : {}
|
|
1864
1864
|
});
|