@fased/fased 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{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-BU4NqZkn.js} +8 -8
- package/dist/{attachment-normalize-BMCew2Ey.js → attachment-normalize-3_V1yb6a.js} +1 -1
- package/dist/{attachment-normalize-DwmM8lOf.js → attachment-normalize-D3LvGnxE.js} +1 -1
- package/dist/{audio-preflight-CTI1mqLA.js → audio-preflight-B4hZi0X5.js} +1 -1
- package/dist/{audio-preflight-C_vYWlCY.js → audio-preflight-DcQrkXYr.js} +2 -2
- package/dist/{audio-preflight-C7z6lGot.js → audio-preflight-MUfVeIPT.js} +31 -31
- package/dist/{audio-preflight-CJGUVWFw.js → audio-preflight-YPQKo93v.js} +2 -2
- package/dist/{audio-preflight-CNlrMezK.js → audio-preflight-r8PHFHTe.js} +2 -2
- package/dist/{audit-Bfagv6Q_.js → audit-BNmzld5I.js} +1 -1
- package/dist/{audit-Bxa7rPQ-.js → audit-ChF16w3M.js} +1 -1
- package/dist/{auth-BnPTjUVe.js → auth-DGXGqcN7.js} +5 -5
- package/dist/{auth-choice-sv4bQ9hn.js → auth-choice-BJGGTOYU.js} +1 -1
- package/dist/{auth-choice-CifBEhbT.js → auth-choice-UvbBnRhr.js} +1 -1
- package/dist/{auth-choice-prompt-B_-nyE2Q.js → auth-choice-prompt-9uH2hSjM.js} +1 -1
- package/dist/{auth-choice-prompt-CCj2g7-t.js → auth-choice-prompt-CPoTg_-G.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-D69hLBEQ.js → channel-activity-BvC4RbBO.js} +1 -1
- package/dist/{channel-web-IeOqPSI7.js → channel-web-0wKGD4yD.js} +1 -1
- package/dist/{channel-web-DEL7MdSZ.js → channel-web-DLD1undh.js} +1 -1
- package/dist/{channels-B4mOixPh.js → channels-B9bvlD7y.js} +6 -6
- package/dist/{channels-3joUoQXH.js → channels-CBT56Ap7.js} +6 -6
- package/dist/{channels-cli-BKOmeL07.js → channels-cli-CK1qojpR.js} +5 -5
- package/dist/{channels-cli-UrsljhH0.js → channels-cli-D6ioLe8o.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-ByaZFcQl.js} +2 -2
- package/dist/{cli-Cf9cX445.js → cli-DgHb9Vld.js} +2 -2
- package/dist/{command-registry-DSG9UhC4.js → command-registry-mptWJW8S.js} +9 -9
- package/dist/{commands-registry-CG-_VuYC.js → commands-registry-t0hu8c_Z.js} +1 -1
- package/dist/{completion-cli-atZPWxpk.js → completion-cli-BRvgVQzN.js} +2 -2
- package/dist/{completion-cli-BacXX8YP.js → completion-cli-DyJbXhbh.js} +1 -1
- package/dist/{config-cli-CAylLKEL.js → config-cli-BrzPOli4.js} +1 -1
- package/dist/{config-cli-B6hmwh3V.js → config-cli-R0TQZDi7.js} +1 -1
- package/dist/{config-eval-DxNYxraZ.js → config-eval-CLXDBlCw.js} +3 -3
- package/dist/{configure-CFGxKEvE.js → configure-Bt3nH-_I.js} +12 -12
- package/dist/{configure-IVfhSGuI.js → configure-pREf12zB.js} +12 -12
- package/dist/control-ui/assets/app-DXYMrRJ9.js.map +1 -1
- package/dist/{cron-cli-C_WdKzEb.js → cron-cli-BIYfBpRP.js} +2 -2
- package/dist/{cron-cli-BH5kAloM.js → cron-cli-zdoRLQ0m.js} +2 -2
- package/dist/{daemon-cli-tLppiRYp.js → daemon-cli-Cj4_RgEM.js} +1 -1
- package/dist/{daemon-cli-DVu8h_ms.js → daemon-cli-LLGP6g2r.js} +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/{deps-D7pGfos8.js → deps-QnUngXA3.js} +1 -1
- package/dist/{deps-ByxeDZxS.js → deps-sd-SQKYn.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-Cn3STpYX.js} +27 -27
- package/dist/{gateway-cli-sPMmhMYS.js → gateway-cli-yfNsUzH6.js} +27 -27
- package/dist/{github-copilot-token-eyrRGmGp.js → github-copilot-token-DYrFvncE.js} +8 -8
- package/dist/{health-Cn7Uypmr.js → health-BfGnSyOV.js} +2 -2
- package/dist/{health-Ds6nghRW.js → health-DcurJYny.js} +2 -2
- package/dist/{heartbeat-runner-DPf55KvT.js → heartbeat-runner-CJZStXhx.js} +1 -1
- package/dist/{heartbeat-runner-DZd7FWr_.js → heartbeat-runner-CY41VFZE.js} +1 -1
- package/dist/{hooks-cli-CklgZPuq.js → hooks-cli-DpkFISKR.js} +3 -3
- package/dist/{hooks-cli-Ds0rAsrn.js → hooks-cli-WtC65axA.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{internal-CGfrGFGR.js → internal-QlbJb-4V.js} +3 -3
- package/dist/{ipv4-QXi6T-GC.js → ipv4-BkY__Z0A.js} +2 -2
- package/dist/{ipv4-woqSIZCG.js → ipv4-CdRPraPM.js} +2 -2
- package/dist/{lifecycle-CDyiQkdm.js → lifecycle-DUPuKIvd.js} +1 -1
- package/dist/{lifecycle-Bt1wvv49.js → lifecycle-Dd-6tFQk.js} +1 -1
- package/dist/{list.auth-overview-BZLsTF6m.js → list.auth-overview-CE2_GQ-8.js} +1 -1
- package/dist/{list.auth-overview-DTmoeKoz.js → list.auth-overview-DcdJySBi.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-DOuyqwFa.js} +6 -6
- package/dist/{models-B3gfHQID.js → models-ItVo4_FF.js} +4 -4
- package/dist/{models-cli-DTH6o8Ah.js → models-cli-DKEzhF9X.js} +4 -4
- package/dist/{models-cli-C7_F9hA_.js → models-cli-YznPWFUE.js} +5 -5
- package/dist/{node-cli-CuA0F8du.js → node-cli-CZaJUGYu.js} +2 -2
- package/dist/{node-cli-BrZNQWK0.js → node-cli-qkHTKDmW.js} +2 -2
- package/dist/{onboard-BLjJLsrb.js → onboard--COJdfXc.js} +6 -6
- package/dist/{onboard-wtRNFZSO.js → onboard-Cpw2fP2S.js} +6 -6
- package/dist/{onboard-channels-CpYQ-jzg.js → onboard-channels-BH6atgy1.js} +2 -2
- package/dist/{onboard-channels-BpexXVlv.js → onboard-channels-CbQgdo3k.js} +2 -2
- package/dist/{onboard-search-D4eUoAEq.js → onboard-search-Bg8qvHBV.js} +5 -5
- package/dist/{onboard-search-CudukQ0P.js → onboard-search-BxaAdq5U.js} +5 -5
- package/dist/{onboarding-DZphW3tC.js → onboarding-B-_4gKpN.js} +7 -7
- package/dist/{onboarding-beY-khSY.js → onboarding-DiuUZg9l.js} +7 -7
- package/dist/{openresponses-http-BDR_C5c5.js → openresponses-http-BNIAyGrH.js} +1 -1
- package/dist/{openresponses-http-COlqXAAY.js → openresponses-http-BVdja8Nj.js} +2 -2
- package/dist/{openresponses-http-lRWgsixx.js → openresponses-http-DGAqU5K9.js} +2 -2
- package/dist/{openresponses-http-C3HFR4b5.js → openresponses-http-DhBER2sI.js} +2 -2
- package/dist/{openresponses-http-YZhTuhkt.js → openresponses-http-svQwMBaq.js} +31 -31
- 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-BHi1y6z-.js → parent-default-help-B2mCEhav.js} +1 -1
- package/dist/{parent-default-help-D6zpkza-.js → parent-default-help-DUqMyqko.js} +1 -1
- package/dist/{path-alias-guards-DyTCSx8q.js → path-alias-guards-Dalcwl5X.js} +1 -1
- package/dist/{paths-6Y-iET7k.js → paths-DGN5lNb7.js} +9 -9
- package/dist/{paths-DBTQPSY5.js → paths-zdeD1PNp.js} +13 -13
- package/dist/{pi-embedded-B6SkkATJ.js → pi-embedded-CrKlYvWM.js} +234 -234
- package/dist/{pi-embedded-e2Be1Pic.js → pi-embedded-DPl5Aqw4.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-BBzitaxQ.js} +1 -1
- package/dist/{plugin-registry-D8bNkXOq.js → plugin-registry-CIiRwpQv.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BjpOTfAA.js → audio-preflight-B-__-RfZ.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BMNjQ8Qw.js → audio-preflight-DcJUk03P.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-Dd48mC59.js → channel-web-DoGtD0PQ.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-xYU4ta96.js → openresponses-http-DQWJE95u.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-iXBH6NN_.js → openresponses-http-VFgg_bR4.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-D4WNXysa.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-sQR6iMdb.js → status-BlX9jStp.js} +5 -5
- package/dist/plugin-sdk/{web-BWOUsR2H.js → web-CEucw6Dl.js} +1 -1
- package/dist/plugin-sdk/{web-Q7_F3_66.js → web-Cr8AJx43.js} +2 -2
- package/dist/{plugins-cli-CmFo39YO.js → plugins-cli-B9w9SKYa.js} +5 -5
- package/dist/{plugins-cli-b28IZl2q.js → plugins-cli-CdRa6xYi.js} +5 -5
- package/dist/{program-b-bJ3jAf.js → program-C9wZbb_-.js} +7 -7
- package/dist/{program-context-C8TpaeJh.js → program-context-Dc8hoANx.js} +24 -24
- package/dist/{prompt-select-styled-BBW8ExAu.js → prompt-select-styled-9E7HlPjk.js} +4 -4
- package/dist/{prompt-select-styled--unDG0y5.js → prompt-select-styled-oUCALY2N.js} +4 -4
- package/dist/{pw-ai-4dv28kg0.js → pw-ai-5b6U6vNE.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-BhoMAqJe.js} +8 -8
- package/dist/{register.agent-te7qVBoR.js → register.agent-Dty2GQos.js} +9 -9
- package/dist/{register.configure-DjSmILA-.js → register.configure-CjQhBudl.js} +12 -12
- package/dist/{register.configure-u_mElz3G.js → register.configure-DZl7w5Se.js} +12 -12
- package/dist/{register.maintenance-BMe88N2s.js → register.maintenance-C9_UzTyI.js} +8 -8
- package/dist/{register.maintenance-CKx-2ze7.js → register.maintenance-CGFQEESj.js} +9 -9
- package/dist/{register.message-CWpF1VfE.js → register.message-C3BTjmhg.js} +3 -3
- package/dist/{register.message-D3P3PbvS.js → register.message-DnrC31ZC.js} +3 -3
- package/dist/{register.onboard-0rmVJjLc.js → register.onboard-DIxJ1bFs.js} +14 -14
- package/dist/{register.onboard-DtcpAkW4.js → register.onboard-DzO2dNpB.js} +14 -14
- package/dist/{register.setup-C5agvuLZ.js → register.setup-B5Ji_Smo.js} +14 -14
- package/dist/{register.setup-Do3sWvmu.js → register.setup-Cd8rXata.js} +14 -14
- package/dist/{register.status-health-sessions-DTOl2ffn.js → register.status-health-sessions-CUw6awJ6.js} +6 -6
- package/dist/{register.status-health-sessions-C3wrI8Rw.js → register.status-health-sessions-CYpKmq3y.js} +6 -6
- package/dist/{register.subclis-BmntpHBV.js → register.subclis-DEnba1hq.js} +16 -16
- package/dist/{replies-oXYe4wxf.js → replies-DEtI8EHM.js} +2 -2
- package/dist/{reply-5d_FBb8m.js → reply-DVGmtLPq.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-BqiU1shU.js} +14 -14
- package/dist/{runtime-helper-grants-BQYP50-i.js → runtime-helper-grants-BQl2Y_KJ.js} +1 -1
- package/dist/{runtime-helper-grants-CqyGNc1k.js → runtime-helper-grants-CHz5azhO.js} +1 -1
- package/dist/{sandbox-cli-Kf_iEEKT.js → sandbox-cli-BLWfhZh2.js} +2 -2
- package/dist/{sandbox-cli-g26xYeMo.js → sandbox-cli-C7tRjHGl.js} +2 -2
- package/dist/{security-cli-JBJPJKU6.js → security-cli-0-5Vgk1A.js} +3 -3
- package/dist/{security-cli-BXd-xPab.js → security-cli-DGCfCHzM.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-DTznnzCB.js → server-BMZYE37o.js} +2 -2
- package/dist/{server-DLj_G1sk.js → server-DamsmTjm.js} +2 -2
- package/dist/{server-cron-B_5Pv8wt.js → server-cron-BUWyjpTV.js} +2 -2
- package/dist/{server-cron-9NKGTvdH.js → server-cron-DC9t05LU.js} +2 -2
- package/dist/{server-node-events-HUAm9HRK.js → server-node-events-C3IOxSF_.js} +3 -3
- package/dist/{server-node-events-BQbTcvb4.js → server-node-events-cusaGrcY.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-CRSeqOJk.js → status-B39ZJFhD.js} +1 -1
- package/dist/{status-C5BT3ShE.js → status-CrL7Hp3R.js} +4 -4
- package/dist/{status-BgIeE_GN.js → status-Dlt3xwcf.js} +4 -4
- package/dist/{status-CCDLtWaH.js → status-Doqt5wXN.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-DdPEVWjR.js} +1 -1
- package/dist/{tui-CpFLYQvY.js → tui-R-P_OV8J.js} +1 -1
- package/dist/{tui-cli-BVCujDMk.js → tui-cli-BgihXvs7.js} +3 -3
- package/dist/{tui-cli-CBpiAWOs.js → tui-cli-ChpP9FsL.js} +3 -3
- package/dist/{update-cli-Cg1NsSYC.js → update-cli-DPdSuHZT.js} +14 -14
- package/dist/{update-cli-Bm9PtTTq.js → update-cli-DVCjSLYw.js} +15 -15
- package/dist/{update-runner-E5f53ziH.js → update-runner-COs-YDhT.js} +38 -4
- package/dist/{update-runner-giHs-roY.js → update-runner-DNPfs265.js} +38 -4
- package/dist/{web-C-SCrRnf.js → web-B2SWpLdC.js} +3 -3
- package/dist/{web-z6nfuAFN.js → web-BHp_2XHP.js} +1 -1
- package/dist/{web-D6QmuJSZ.js → web-D8bq1XRX.js} +3 -3
- package/dist/{web-DHzdcD5k.js → web-DQuQBwMr.js} +35 -35
- package/dist/{web-search-providers.runtime-BWcxW5PE.js → web-search-providers.runtime-BD9Vp8eD.js} +1 -1
- package/dist/{web-search-providers.runtime-C-08aAIL.js → web-search-providers.runtime-CiOoq6G3.js} +1 -1
- package/dist/{web-fv_H8Fvb.js → web-vGE7qeF-.js} +2 -2
- 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 +6 -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 +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -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/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,10 +1,10 @@
|
|
|
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";
|
|
@@ -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
|
}
|
|
@@ -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 = [
|