@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,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { i as resolveAgentConfig } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $a as DEFAULT_MAIN_KEY, Bi as logDebug, Es as shouldLogVerbose, Ia as listBindings, Qa as DEFAULT_AGENT_ID, co as sanitizeAgentId, eo as buildAgentMainSessionKey, io as normalizeAgentId, lo as DEFAULT_ACCOUNT_ID, to as buildAgentPeerSessionKey, u as resolveDefaultAgentId, uo as normalizeAccountId } from "./agent-scope-
|
|
2
|
+
import { $a as DEFAULT_MAIN_KEY, Bi as logDebug, Es as shouldLogVerbose, Ia as listBindings, Qa as DEFAULT_AGENT_ID, co as sanitizeAgentId, eo as buildAgentMainSessionKey, io as normalizeAgentId, lo as DEFAULT_ACCOUNT_ID, to as buildAgentPeerSessionKey, u as resolveDefaultAgentId, uo as normalizeAccountId } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
import { r as normalizeChatType } from "./conversation-label-BNq0hhpR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/resolve-route.ts
|
|
@@ -2,7 +2,7 @@ import { Pl as loadDotEnv, Yc as VERSION, hu as enableConsoleCapture, ka as asse
|
|
|
2
2
|
import "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import { I as emitCliBanner, Tn as installUnhandledRejectionHandler } from "./model-catalog-
|
|
5
|
+
import { I as emitCliBanner, Tn as installUnhandledRejectionHandler } from "./model-catalog-DOuyqwFa.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, At as getVerboseFlag, Dt as getFlagValue, Et as getCommandPath, Mt as hasHelpOrVersion, Ot as getPositiveIntFlagValue, S as formatUncaughtError, jt as hasFlag, kt as getPrimaryCommand, wt as normalizeWindowsArgv } 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 "./deps-
|
|
48
|
+
import "./deps-QnUngXA3.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -75,7 +75,7 @@ import "./replies-B5LeYSuO.js";
|
|
|
75
75
|
import "./prompt-style-Rmj3c-Ir.js";
|
|
76
76
|
import "./pairing-labels-u5J0k1yz.js";
|
|
77
77
|
import { t as ensureFasedAgentCliOnPath } from "./path-env-SMx0oPqi.js";
|
|
78
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
78
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CIiRwpQv.js";
|
|
79
79
|
import "./note-CNqZk-m3.js";
|
|
80
80
|
import "./doctor-config-flow-BHTw4J71.js";
|
|
81
81
|
import { n as ensureConfigReady } from "./config-guard-DvbdDOQX.js";
|
|
@@ -91,7 +91,7 @@ const routeHealth = {
|
|
|
91
91
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
92
92
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
93
93
|
if (timeoutMs === null) return false;
|
|
94
|
-
const { healthCommand } = await import("./health-
|
|
94
|
+
const { healthCommand } = await import("./health-BfGnSyOV.js").then((n) => n.a);
|
|
95
95
|
await healthCommand({
|
|
96
96
|
json,
|
|
97
97
|
timeoutMs,
|
|
@@ -112,7 +112,7 @@ const routeStatus = {
|
|
|
112
112
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
113
113
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
114
114
|
if (timeoutMs === null) return false;
|
|
115
|
-
const { statusCommand } = await import("./status-
|
|
115
|
+
const { statusCommand } = await import("./status-CrL7Hp3R.js").then((n) => n.t);
|
|
116
116
|
await statusCommand({
|
|
117
117
|
json,
|
|
118
118
|
deep,
|
|
@@ -151,7 +151,7 @@ const routeAgentsList = {
|
|
|
151
151
|
run: async (argv) => {
|
|
152
152
|
const json = hasFlag(argv, "--json");
|
|
153
153
|
const bindings = hasFlag(argv, "--bindings");
|
|
154
|
-
const { agentsListCommand } = await import("./agents-
|
|
154
|
+
const { agentsListCommand } = await import("./agents-BU4NqZkn.js");
|
|
155
155
|
await agentsListCommand({
|
|
156
156
|
json,
|
|
157
157
|
bindings
|
|
@@ -243,7 +243,7 @@ const routes = [
|
|
|
243
243
|
const pathArg = getCommandPositionals(argv)[2];
|
|
244
244
|
if (!pathArg) return false;
|
|
245
245
|
const json = hasFlag(argv, "--json");
|
|
246
|
-
const { runConfigGet } = await import("./config-cli-
|
|
246
|
+
const { runConfigGet } = await import("./config-cli-BrzPOli4.js");
|
|
247
247
|
await runConfigGet({
|
|
248
248
|
path: pathArg,
|
|
249
249
|
json
|
|
@@ -256,7 +256,7 @@ const routes = [
|
|
|
256
256
|
run: async (argv) => {
|
|
257
257
|
const pathArg = getCommandPositionals(argv)[2];
|
|
258
258
|
if (!pathArg) return false;
|
|
259
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
259
|
+
const { runConfigUnset } = await import("./config-cli-BrzPOli4.js");
|
|
260
260
|
await runConfigUnset({ path: pathArg });
|
|
261
261
|
return true;
|
|
262
262
|
}
|
|
@@ -270,7 +270,7 @@ const routes = [
|
|
|
270
270
|
const local = hasFlag(argv, "--local");
|
|
271
271
|
const json = hasFlag(argv, "--json");
|
|
272
272
|
const plain = hasFlag(argv, "--plain");
|
|
273
|
-
const { modelsListCommand } = await import("./models-
|
|
273
|
+
const { modelsListCommand } = await import("./models-ItVo4_FF.js");
|
|
274
274
|
await modelsListCommand({
|
|
275
275
|
all,
|
|
276
276
|
local,
|
|
@@ -301,7 +301,7 @@ const routes = [
|
|
|
301
301
|
const plain = hasFlag(argv, "--plain");
|
|
302
302
|
const check = hasFlag(argv, "--check");
|
|
303
303
|
const probe = hasFlag(argv, "--probe");
|
|
304
|
-
const { modelsStatusCommand } = await import("./models-
|
|
304
|
+
const { modelsStatusCommand } = await import("./models-ItVo4_FF.js");
|
|
305
305
|
await modelsStatusCommand({
|
|
306
306
|
json,
|
|
307
307
|
plain,
|
|
@@ -384,7 +384,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
384
384
|
assertSupportedRuntime();
|
|
385
385
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
386
386
|
enableConsoleCapture();
|
|
387
|
-
const { buildProgram } = await import("./program-
|
|
387
|
+
const { buildProgram } = await import("./program-C9wZbb_-.js");
|
|
388
388
|
const program = buildProgram();
|
|
389
389
|
installUnhandledRejectionHandler();
|
|
390
390
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -397,10 +397,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
397
397
|
const { getProgramContext } = await import("./program-context-CDFrVtWb.js").then((n) => n.n);
|
|
398
398
|
const ctx = getProgramContext(program);
|
|
399
399
|
if (ctx) {
|
|
400
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
400
|
+
const { registerCoreCliByName } = await import("./command-registry-mptWJW8S.js").then((n) => n.t);
|
|
401
401
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
402
402
|
}
|
|
403
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
403
|
+
const { registerSubCliByName } = await import("./register.subclis-DEnba1hq.js").then((n) => n.a);
|
|
404
404
|
await registerSubCliByName(program, primary);
|
|
405
405
|
}
|
|
406
406
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -408,7 +408,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
408
408
|
primary,
|
|
409
409
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
410
410
|
})) {
|
|
411
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
411
|
+
const { registerPluginCliCommands } = await import("./cli-DgHb9Vld.js");
|
|
412
412
|
const { loadConfig } = await import("./env-BegRUDBP.js").then((n) => n.qt);
|
|
413
413
|
registerPluginCliCommands(program, loadConfig());
|
|
414
414
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Af as PLUGIN_ADMIN_RPC_ACTION_METHODS, Lf as resolvePluginAdminRpcActionGrant, Mf as isPluginRuntimeSessionReadAllowed, Oa as loadPluginManifestRegistry, Pf as normalizePluginsConfig, Rf as resolvePluginAdminRpcActionSourceKeys, Xt as loadConfig, ll as validateRegistryNpmSpec } from "./env-BegRUDBP.js";
|
|
2
2
|
import { d as listChannelPluginCatalogEntries } from "./dangerous-name-matching-KjWdkw-p.js";
|
|
3
3
|
import { i as resolveBundledPluginSources } from "./update-CfW8YMNn.js";
|
|
4
|
-
import { n as buildPluginLifecycleReport } from "./lifecycle-
|
|
4
|
+
import { n as buildPluginLifecycleReport } from "./lifecycle-Dd-6tFQk.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/marketplace-update-review.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Df as resolvePluginAdminRpcActionGrant, Dn as loadConfig, Of as resolvePluginAdminRpcActionSourceKeys, Sf as isPluginRuntimeSessionReadAllowed, Vl as validateRegistryNpmSpec, ao as loadPluginManifestRegistry, bf as PLUGIN_ADMIN_RPC_ACTION_METHODS, wf as normalizePluginsConfig } from "./agent-scope-CrCe9L5D.js";
|
|
2
2
|
import { c as listChannelPluginCatalogEntries } from "./dangerous-name-matching-Ck2C5XzW.js";
|
|
3
3
|
import { i as resolveBundledPluginSources } from "./update-DSvuG3PT.js";
|
|
4
|
-
import { n as buildPluginLifecycleReport } from "./lifecycle-
|
|
4
|
+
import { n as buildPluginLifecycleReport } from "./lifecycle-DUPuKIvd.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/marketplace-update-review.ts
|
|
@@ -2,7 +2,7 @@ import { Cu as formatCliCommand, Gt as resolveMainSessionKey, Ru as resolveAgent
|
|
|
2
2
|
import { B as colorize, H as theme, V as isRich } from "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import { An as listSandboxBrowsers, Eo as resolveSandboxConfigForAgent, Mn as removeSandboxBrowserContainer, Nn as removeSandboxContainer, Oo as resolveSandboxToolPolicyForAgent, jn as listSandboxContainers } from "./model-catalog-
|
|
5
|
+
import { An as listSandboxBrowsers, Eo as resolveSandboxConfigForAgent, Mn as removeSandboxBrowserContainer, Nn as removeSandboxContainer, Oo as resolveSandboxToolPolicyForAgent, jn as listSandboxContainers } from "./model-catalog-DOuyqwFa.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, H as normalizeMainKey, L as buildAgentMainSessionKey, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, v as resolveStorePath } 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 "./deps-
|
|
48
|
+
import "./deps-QnUngXA3.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import { H as isRich, U as theme, V as colorize } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Dn as loadConfig, Et as loadSessionStore, Sn as resolveMainSessionKey, V as normalizeAnyChannelId, bn as resolveAgentMainSessionKey, dd as formatCliCommand, ef as INTERNAL_MESSAGE_CHANNEL, i as resolveAgentConfig } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { $ as listSandboxContainers, Q as listSandboxBrowsers, et as removeSandboxBrowserContainer, is as resolveSandboxConfigForAgent, os as resolveSandboxToolPolicyForAgent, tt as removeSandboxContainer } from "./reply-
|
|
5
|
+
import { $ as listSandboxContainers, Q as listSandboxBrowsers, et as removeSandboxBrowserContainer, is as resolveSandboxConfigForAgent, os as resolveSandboxToolPolicyForAgent, tt as removeSandboxContainer } from "./reply-DVGmtLPq.js";
|
|
6
6
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, w as parseAgentSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-Dbz4ciHO.js";
|
|
@@ -38,7 +38,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
38
38
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
39
39
|
import "./fetch-C7U6zkCW.js";
|
|
40
40
|
import "./delivery-queue-D3PC9MW-.js";
|
|
41
|
-
import "./deps-
|
|
41
|
+
import "./deps-sd-SQKYn.js";
|
|
42
42
|
import "./memory-_djkFopW.js";
|
|
43
43
|
import "./memory-search-DooAj6Eu.js";
|
|
44
44
|
import "./manager-bJh9XOLh.js";
|
|
@@ -2,7 +2,7 @@ import { _ as resolveStateDir, h as resolveOAuthDir, o as resolveConfigPath } fr
|
|
|
2
2
|
import { H as isRich, T as shortenHomePath, U as theme, w as shortenHomeInString } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Dn as loadConfig, En as createConfigIO, Na as createIcaclsResetCommand, Pa as formatIcaclsResetCommand, d as resolveDefaultAgentId, dd as formatCliCommand, eu as runExec } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-DVGmtLPq.js";
|
|
6
6
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-Dbz4ciHO.js";
|
|
@@ -38,7 +38,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
38
38
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
39
39
|
import "./fetch-C7U6zkCW.js";
|
|
40
40
|
import "./delivery-queue-D3PC9MW-.js";
|
|
41
|
-
import "./deps-
|
|
41
|
+
import "./deps-sd-SQKYn.js";
|
|
42
42
|
import "./memory-_djkFopW.js";
|
|
43
43
|
import "./memory-search-DooAj6Eu.js";
|
|
44
44
|
import "./manager-bJh9XOLh.js";
|
|
@@ -77,7 +77,7 @@ import "./skills-remote-DrJ8xN_q.js";
|
|
|
77
77
|
import "./skill-commands-Cvv0vOCD.js";
|
|
78
78
|
import "./prompt-style-CWAacuMq.js";
|
|
79
79
|
import "./pairing-labels-v1JixmOK.js";
|
|
80
|
-
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-
|
|
80
|
+
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-BNmzld5I.js";
|
|
81
81
|
import path from "node:path";
|
|
82
82
|
import fs from "node:fs/promises";
|
|
83
83
|
|
|
@@ -2,7 +2,7 @@ import { Cu as formatCliCommand, Gu as resolveDefaultAgentId, Xt as loadConfig,
|
|
|
2
2
|
import { C as shortenHomeInString, H as theme, V as isRich, w as shortenHomePath } 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-DOuyqwFa.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, Ct as resolveStateDir, J as DEFAULT_ACCOUNT_ID, V as normalizeAgentId, ft as resolveConfigPath, xt as resolveOAuthDir } 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 "./deps-
|
|
48
|
+
import "./deps-QnUngXA3.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -74,7 +74,7 @@ import "./progress-DkVYFLij.js";
|
|
|
74
74
|
import "./replies-B5LeYSuO.js";
|
|
75
75
|
import "./prompt-style-Rmj3c-Ir.js";
|
|
76
76
|
import "./pairing-labels-u5J0k1yz.js";
|
|
77
|
-
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-
|
|
77
|
+
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-ChF16w3M.js";
|
|
78
78
|
import path from "node:path";
|
|
79
79
|
import fs from "node:fs/promises";
|
|
80
80
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Va as resolveSlackBotToken, as as escapeRegExp, ws as logVerbose, za as resolveSlackAccount } from "./agent-scope-
|
|
2
|
+
import { Gt as loadConfig, Va as resolveSlackBotToken, as as escapeRegExp, ws as logVerbose, za as resolveSlackAccount } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-B9iqwm4b.js";
|
|
4
|
-
import { d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia } from "./media-
|
|
5
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
4
|
+
import { d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia } from "./media-CInvDVc0.js";
|
|
5
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CiQeXMLG.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-BRr7caFG.js";
|
|
8
8
|
import { WebClient } from "@slack/web-api";
|
|
9
9
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $n as resolveTelegramPreviewStreamMode, Ai as extractErrorCode, Gt as loadConfig, Jt as readConfigFileSnapshotForWrite, La as isTruthyEnvValue, Mi as formatUncaughtError, Na as resolveTelegramAccount, Pi as redactSensitiveText, Ss as danger, Xt as writeConfigFile, Yr as withFileLock$1, es as CONFIG_DIR, ji as formatErrorMessage, k as createSubsystemLogger, lo as DEFAULT_ACCOUNT_ID, ms as safeParseJson, na as listChannelPlugins, ta as getChannelPlugin, uo as normalizeAccountId, ws as logVerbose } from "./agent-scope-
|
|
3
|
-
import { f as resolveStateDir, h as resolveRequiredHomeDir, p as expandHomePrefix, u as resolveOAuthDir } from "./github-copilot-token-
|
|
4
|
-
import { C as normalizeMimeType, E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia, v as getFileExtension, x as isGifMedia } from "./media-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as resolveFetch } from "./fetch-
|
|
2
|
+
import { $n as resolveTelegramPreviewStreamMode, Ai as extractErrorCode, Gt as loadConfig, Jt as readConfigFileSnapshotForWrite, La as isTruthyEnvValue, Mi as formatUncaughtError, Na as resolveTelegramAccount, Pi as redactSensitiveText, Ss as danger, Xt as writeConfigFile, Yr as withFileLock$1, es as CONFIG_DIR, ji as formatErrorMessage, k as createSubsystemLogger, lo as DEFAULT_ACCOUNT_ID, ms as safeParseJson, na as listChannelPlugins, ta as getChannelPlugin, uo as normalizeAccountId, ws as logVerbose } from "./agent-scope-Bx0XQq3s.js";
|
|
3
|
+
import { f as resolveStateDir, h as resolveRequiredHomeDir, p as expandHomePrefix, u as resolveOAuthDir } from "./github-copilot-token-DYrFvncE.js";
|
|
4
|
+
import { C as normalizeMimeType, E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia, v as getFileExtension, x as isGifMedia } from "./media-CInvDVc0.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
6
|
+
import { t as resolveFetch } from "./fetch-BwkjkjT6.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-BRr7caFG.js";
|
|
8
8
|
import { n as normalizePollInput } from "./polls-CYTwXmA1.js";
|
|
9
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
9
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-BvC4RbBO.js";
|
|
10
10
|
import { t as makeProxyFetch } from "./proxy-DkRPPIHD.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
14
|
+
import fs$1, { readFileSync } from "node:fs";
|
|
15
15
|
import JSON5 from "json5";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
import process$1 from "node:process";
|
|
@@ -150,7 +150,7 @@ function getPairingAdapter(channelId) {
|
|
|
150
150
|
//#region src/plugin-sdk/json-store.ts
|
|
151
151
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
152
152
|
try {
|
|
153
|
-
const parsed = safeParseJson(await
|
|
153
|
+
const parsed = safeParseJson(await fs$1.promises.readFile(filePath, "utf-8"));
|
|
154
154
|
if (parsed == null) return {
|
|
155
155
|
value: fallback,
|
|
156
156
|
exists: true
|
|
@@ -172,14 +172,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
172
172
|
}
|
|
173
173
|
async function writeJsonFileAtomically(filePath, value) {
|
|
174
174
|
const dir = path.dirname(filePath);
|
|
175
|
-
await
|
|
175
|
+
await fs$1.promises.mkdir(dir, {
|
|
176
176
|
recursive: true,
|
|
177
177
|
mode: 448
|
|
178
178
|
});
|
|
179
179
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
180
|
-
await
|
|
181
|
-
await
|
|
182
|
-
await
|
|
180
|
+
await fs$1.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
181
|
+
await fs$1.promises.chmod(tmp, 384);
|
|
182
|
+
await fs$1.promises.rename(tmp, filePath);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
//#endregion
|
|
@@ -240,7 +240,7 @@ async function readPairingRequests(filePath) {
|
|
|
240
240
|
}
|
|
241
241
|
async function ensureJsonFile(filePath, fallback) {
|
|
242
242
|
try {
|
|
243
|
-
await
|
|
243
|
+
await fs$1.promises.access(filePath);
|
|
244
244
|
} catch {
|
|
245
245
|
await writeJsonFile(filePath, fallback);
|
|
246
246
|
}
|
|
@@ -533,7 +533,7 @@ function resolveCronStorePath(storePath) {
|
|
|
533
533
|
}
|
|
534
534
|
async function loadCronStore(storePath) {
|
|
535
535
|
try {
|
|
536
|
-
const raw = await
|
|
536
|
+
const raw = await fs$1.promises.readFile(storePath, "utf-8");
|
|
537
537
|
let parsed;
|
|
538
538
|
try {
|
|
539
539
|
parsed = JSON5.parse(raw);
|
|
@@ -557,14 +557,14 @@ async function loadCronStore(storePath) {
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
async function saveCronStore(storePath, store) {
|
|
560
|
-
await
|
|
560
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
561
561
|
const { randomBytes } = await import("node:crypto");
|
|
562
562
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
563
563
|
const json = JSON.stringify(store, null, 2);
|
|
564
|
-
await
|
|
565
|
-
await
|
|
564
|
+
await fs$1.promises.writeFile(tmp, json, "utf-8");
|
|
565
|
+
await fs$1.promises.rename(tmp, storePath);
|
|
566
566
|
try {
|
|
567
|
-
await
|
|
567
|
+
await fs$1.promises.copyFile(storePath, `${storePath}.bak`);
|
|
568
568
|
} catch {}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dr as retryAsync, Er as resolveRetryConfig, Fs as resolvePreferredFasedAgentTmpDir, Gt as loadConfig, Ja as normalizeDiscordToken, qa as resolveDiscordAccount } from "./agent-scope-
|
|
2
|
+
import { Dr as retryAsync, Er as resolveRetryConfig, Fs as resolvePreferredFasedAgentTmpDir, Gt as loadConfig, Ja as normalizeDiscordToken, qa as resolveDiscordAccount } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-B9iqwm4b.js";
|
|
4
|
-
import { T as maxBytesForKind, _ as extensionForMime, n as loadWebMedia, r as loadWebMediaRaw } from "./media-
|
|
5
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as resolveFetch } from "./fetch-
|
|
4
|
+
import { T as maxBytesForKind, _ as extensionForMime, n as loadWebMedia, r as loadWebMediaRaw } from "./media-CInvDVc0.js";
|
|
5
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-CiQeXMLG.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
7
|
+
import { t as resolveFetch } from "./fetch-BwkjkjT6.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CYTwXmA1.js";
|
|
9
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
10
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-BvC4RbBO.js";
|
|
10
|
+
import { t as convertMarkdownTables } from "./tables-CjmIs23-.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { promisify } from "node:util";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Wa as resolveIMessageAccount, ps as resolveUserPath, us as normalizeE164 } from "./agent-scope-
|
|
3
|
-
import { E as mediaKindFromMime } from "./media-
|
|
4
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
5
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
2
|
+
import { Gt as loadConfig, Wa as resolveIMessageAccount, ps as resolveUserPath, us as normalizeE164 } from "./agent-scope-Bx0XQq3s.js";
|
|
3
|
+
import { E as mediaKindFromMime } from "./media-CInvDVc0.js";
|
|
4
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
5
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BL6wK70V.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-CjmIs23-.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { createInterface } from "node:readline";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Ua as resolveSignalAccount } from "./agent-scope-
|
|
2
|
+
import { Gt as loadConfig, Ua as resolveSignalAccount } from "./agent-scope-Bx0XQq3s.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-CSsVRTTy.js";
|
|
4
|
-
import { E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR } from "./media-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
4
|
+
import { E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR } from "./media-CInvDVc0.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C-HEtwaC.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-ByUoGUeM.js";
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as resolveFetch } from "./fetch-
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BL6wK70V.js";
|
|
8
|
+
import { t as resolveFetch } from "./fetch-BwkjkjT6.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
11
11
|
function normalizeUrlForComparison(url) {
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Dn as loadConfig, F as createSubsystemLogger } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { Bi as registerBrowserRoutes, Gi as createBrowserRouteContext, Ki as resolveBrowserConfig, Ui as ensureExtensionRelayForProfiles, Wi as stopKnownBrowserProfiles, at as resolveBrowserControlAuth, it as ensureBrowserControlAuth, nt as installBrowserAuthMiddleware, rt as installBrowserCommonMiddleware } from "./reply-
|
|
5
|
+
import { Bi as registerBrowserRoutes, Gi as createBrowserRouteContext, Ki as resolveBrowserConfig, Ui as ensureExtensionRelayForProfiles, Wi as stopKnownBrowserProfiles, at as resolveBrowserControlAuth, it as ensureBrowserControlAuth, nt as installBrowserAuthMiddleware, rt as installBrowserCommonMiddleware } from "./reply-DVGmtLPq.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-sd-SQKYn.js";
|
|
41
41
|
import "./memory-_djkFopW.js";
|
|
42
42
|
import "./memory-search-DooAj6Eu.js";
|
|
43
43
|
import "./manager-bJh9XOLh.js";
|
|
@@ -2,7 +2,7 @@ import { Xt as loadConfig, a as createSubsystemLogger } 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 { Fn as installBrowserCommonMiddleware, In as ensureBrowserControlAuth, Ln as resolveBrowserControlAuth, Pn as installBrowserAuthMiddleware, Si as resolveBrowserConfig, bi as stopKnownBrowserProfiles, gi as registerBrowserRoutes, xi as createBrowserRouteContext, yi as ensureExtensionRelayForProfiles } from "./model-catalog-
|
|
5
|
+
import { Fn as installBrowserCommonMiddleware, In as ensureBrowserControlAuth, Ln as resolveBrowserControlAuth, Pn as installBrowserAuthMiddleware, Si as resolveBrowserConfig, bi as stopKnownBrowserProfiles, gi as registerBrowserRoutes, xi as createBrowserRouteContext, yi as ensureExtensionRelayForProfiles } from "./model-catalog-DOuyqwFa.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-QnUngXA3.js";
|
|
48
48
|
import "./frontmatter-BPHGMwFk.js";
|
|
49
49
|
import "./skills-2eSRzTmM.js";
|
|
50
50
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Ar as isCliProvider, Bu as resolveAgentEffectiveModelPrimary, Ft as resolveSessionResetPolicy, Gu as resolveDefaultAgentId, Ht as canonicalizeMainSessionAlias, Hu as resolveAgentModelFallbacksOverride, I as lookupContextTokens, Ir as resolveAllowedModelRef, Jc as supportsXHighThinking, Kc as normalizeThinkLevel, Kr as resolveThinkingDefault, Md as matchesSkillFilter, Mu as buildChannelAccountBindings, Nt as evaluateSessionFreshness, Rr as resolveConfiguredModelRef, Ru as resolveAgentConfig, Ut as resolveAgentMainSessionKey, Uu as resolveAgentSkillsFilter, Va as normalizeSecretInput, Vr as resolveHooksGmailModel, Vt as setSessionRuntimeModel, Wu as resolveAgentWorkspaceDir, X as loadSessionStore, Xl as normalizeWhatsAppTarget, Xt as loadConfig, _n as parseDurationMs, _t as cleanupArchivedSessionTranscripts, bd as logWarn, ht as archiveSessionTranscripts, kr as getModelRefStatus, od as ensureAgentWorkspace, rt as updateSessionStore, tu as resolveWhatsAppAccount, xa as withFileLock, zu as resolveAgentDir } from "./env-BegRUDBP.js";
|
|
3
3
|
import { O as truncateUtf16Safe, U as getChildLogger } from "./agent-paths-BI1hx-tF.js";
|
|
4
4
|
import { a as SILENT_REPLY_TOKEN } from "./send-DiY-R7xq.js";
|
|
5
|
-
import { $n as runSubagentAnnounceFlow, $r as normalizeOptionalSessionKey, At as enqueueCronTaskRunQueueItem, Bt as startCronTaskRunQueueStep, Ct as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Dt as completeCronTaskRunQueueStep, Ea as deliverOutboundPayloads, Et as clearExpiredCronTaskRunQueueLease, Ft as recoverExpiredCronTaskRunQueueLeases, Gi as resolveSessionDeliveryTarget, Gt as resolveCronRunLogPath, Ht as appendCronRunLog, Ji as getCliSessionId, Jn as spawnSubagentDirect, Jr as normalizeHttpWebhookUrl, Kt as resolveCronRunLogPruneOptions, Lt as retryCronTaskRunQueueExecuteStep, Mt as leaseCronTaskRunQueueExecuteSteps, Nt as readCronTaskRunQueue, Ot as cronTaskRunQueueGraphNodeIdFromStepId, Pt as recoverCronTaskRunQueueItem, Qr as normalizeOptionalAgentId, Rt as retryCronTaskRunQueueItem, St as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, Tt as cancelCronTaskRunQueueItem, Vt as summarizeCronTaskRunQueue, Wi as resolveOutboundTarget, Xi as runCliAgent, Yi as setCliSessionId, Yn as countActiveDescendantRuns, Zn as listDescendantRunsForRequester, Zr as inferLegacyName, _t as resolveTaskModelRole, ai as hasLegacyDeliveryHints, di as getHookType, do as resolveAgentAvatar, dt as resolveCronStyleNow, ei as normalizeOptionalText, er as enqueueSystemEvent, fi as isExternalHookSession, gt as plannerStrategyModelRole, ha as resolveSessionAuthProfileOverride, ii as buildDeliveryFromLegacyPayload, jt as finishCronTaskRunQueueItem, kt as cronTaskRunQueueGraphStepId, la as resolveAgentTimeoutMs, li as buildSafeExternalPrompt, mn as formatWalletCommandReply, na as buildOutboundSessionContext, ni as normalizeRequiredName, oi as stripLegacyDeliveryFields, pr as readLatestAssistantReply, qi as createOutboundSendDeps, ri as migrateLegacyCronPayload, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, ss as stripHeartbeatToken, t as loadModelCatalog, ti as normalizePayloadToSystemText, ua as runWithModelFallback, ui as detectSuspiciousPatterns, ur as requestHeartbeatNow, vt as taskExplicitModelRef, wt as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, xn as runEmbeddedPiAgent, xt as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, yt as computeNextRunAtMs, zt as retryCronTaskRunQueueStep } from "./model-catalog-
|
|
5
|
+
import { $n as runSubagentAnnounceFlow, $r as normalizeOptionalSessionKey, At as enqueueCronTaskRunQueueItem, Bt as startCronTaskRunQueueStep, Ct as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Dt as completeCronTaskRunQueueStep, Ea as deliverOutboundPayloads, Et as clearExpiredCronTaskRunQueueLease, Ft as recoverExpiredCronTaskRunQueueLeases, Gi as resolveSessionDeliveryTarget, Gt as resolveCronRunLogPath, Ht as appendCronRunLog, Ji as getCliSessionId, Jn as spawnSubagentDirect, Jr as normalizeHttpWebhookUrl, Kt as resolveCronRunLogPruneOptions, Lt as retryCronTaskRunQueueExecuteStep, Mt as leaseCronTaskRunQueueExecuteSteps, Nt as readCronTaskRunQueue, Ot as cronTaskRunQueueGraphNodeIdFromStepId, Pt as recoverCronTaskRunQueueItem, Qr as normalizeOptionalAgentId, Rt as retryCronTaskRunQueueItem, St as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, Tt as cancelCronTaskRunQueueItem, Vt as summarizeCronTaskRunQueue, Wi as resolveOutboundTarget, Xi as runCliAgent, Yi as setCliSessionId, Yn as countActiveDescendantRuns, Zn as listDescendantRunsForRequester, Zr as inferLegacyName, _t as resolveTaskModelRole, ai as hasLegacyDeliveryHints, di as getHookType, do as resolveAgentAvatar, dt as resolveCronStyleNow, ei as normalizeOptionalText, er as enqueueSystemEvent, fi as isExternalHookSession, gt as plannerStrategyModelRole, ha as resolveSessionAuthProfileOverride, ii as buildDeliveryFromLegacyPayload, jt as finishCronTaskRunQueueItem, kt as cronTaskRunQueueGraphStepId, la as resolveAgentTimeoutMs, li as buildSafeExternalPrompt, mn as formatWalletCommandReply, na as buildOutboundSessionContext, ni as normalizeRequiredName, oi as stripLegacyDeliveryFields, pr as readLatestAssistantReply, qi as createOutboundSendDeps, ri as migrateLegacyCronPayload, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, ss as stripHeartbeatToken, t as loadModelCatalog, ti as normalizePayloadToSystemText, ua as runWithModelFallback, ui as detectSuspiciousPatterns, ur as requestHeartbeatNow, vt as taskExplicitModelRef, wt as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, xn as runEmbeddedPiAgent, xt as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, yt as computeNextRunAtMs, zt as retryCronTaskRunQueueStep } from "./model-catalog-DOuyqwFa.js";
|
|
6
6
|
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-BDW-7D7s.js";
|
|
7
7
|
import { A as defaultRuntime, F as DEFAULT_AGENT_ID, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, Y as normalizeAccountId$1, m as resolveSessionTranscriptPath, q as toAgentStoreSessionKey, tt as isCronRunSessionKey, v as resolveStorePath, x as formatErrorMessage } from "./entry.js";
|
|
8
8
|
import { a as resolveAgentIdentity } from "./reply-prefix-CKOTLAs6.js";
|
|
@@ -16,7 +16,7 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-CIU45Ex
|
|
|
16
16
|
import { d as deriveSessionTotalTokens, f as hasNonzeroUsage, l as resolveModelCostConfig, o as estimateUsageCost } from "./session-cost-usage-Dzc2RiRn.js";
|
|
17
17
|
import { D as parseAbsoluteTimeMs, E as resolveDefaultCronStaggerMs, T as resolveCronStaggerMs, a as withTaskCoordinationRequest, c as matchingTrustedSourcesForTask, d as removeTrustedSource, f as setTrustedSourceActive, i as stopSourcePathInPolicy, l as mergeTrustedSources, n as planTaskExecutionPolicy, o as createTrustedSourceForJob, p as upsertTrustedSource, r as sourceRepairNodeIdForTool, s as listTrustedSources, t as applySourceGraphRepairToPolicy, u as recordTrustedSourceOutcome, w as normalizeCronStaggerMs } from "./task-planner-CkWt6WhX.js";
|
|
18
18
|
import { a as readChannelAllowFromStoreSync } from "./pairing-store-BCTPTLDg.js";
|
|
19
|
-
import { n as runHeartbeatOnce } from "./heartbeat-runner-
|
|
19
|
+
import { n as runHeartbeatOnce } from "./heartbeat-runner-CJZStXhx.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import crypto from "node:crypto";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { W as getChildLogger, k as truncateUtf16Safe } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Ci as resolveThinkingDefault, Dn as loadConfig, E as ensureAgentWorkspace, Et as loadSessionStore, Gt as archiveSessionTranscripts, Jn as parseDurationMs, N as matchesSkillFilter, Nt as updateSessionStore, Qa as withFileLock, Ru as normalizeWhatsAppTarget, Uu as resolveWhatsAppAccount, a as resolveAgentDir, au as logWarn, bd as buildChannelAccountBindings, bn as resolveAgentMainSessionKey, bo as normalizeSecretInput, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, dp as normalizeThinkLevel, fn as resolveSessionResetPolicy, ft as lookupContextTokens, hi as resolveConfiguredModelRef, i as resolveAgentConfig, l as resolveAgentSkillsFilter, o as resolveAgentEffectiveModelPrimary, oi as getModelRefStatus, pi as resolveAllowedModelRef, pp as supportsXHighThinking, qt as cleanupArchivedSessionTranscripts, si as isCliProvider, u as resolveAgentWorkspaceDir, un as evaluateSessionFreshness, vi as resolveHooksGmailModel, vn as setSessionRuntimeModel, yn as canonicalizeMainSessionAlias } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import { T as normalizeVerboseLevel } from "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { $r as runWithModelFallback, A as retryCronTaskRunQueueItem, Ai as stripLegacyDeliveryFields, C as finishCronTaskRunQueueItem, Ci as normalizeOptionalSessionKey, Ct as runCliAgent, D as recoverExpiredCronTaskRunQueueLeases, Di as migrateLegacyCronPayload, Dr as registerAgentRunContext, E as recoverCronTaskRunQueueItem, Ei as normalizeRequiredName, Et as loadModelCatalog, Fi as getHookType, Fr as readLatestAssistantReply, Ho as resolveAgentAvatar, Ii as isExternalHookSession, Jn as formatWalletCommandReply, L as resolveCronRunLogPath, M as startCronTaskRunQueueStep, N as summarizeCronTaskRunQueue, Ni as buildSafeExternalPrompt, Oi as buildDeliveryFromLegacyPayload, P as appendCronRunLog, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Pi as detectSuspiciousPatterns, Qi as buildOutboundSessionContext, R as resolveCronRunLogPruneOptions, Ra as stripHeartbeatToken, S as enqueueCronTaskRunQueueItem, Si as normalizeOptionalAgentId, Sr as runSubagentAnnounceFlow, St as setCliSessionId, T as readCronTaskRunQueue, Ti as normalizePayloadToSystemText, Wa as resolveSessionAuthProfileOverride, Xi as resolveOutboundTarget, Yr as resolveOutboundSessionRoute, Zi as resolveSessionDeliveryTarget, _ as cancelCronTaskRunQueueItem, _r as spawnSubagentDirect, b as cronTaskRunQueueGraphNodeIdFromStepId, br as listDescendantRunsForRequester, bt as createOutboundSendDeps, c as plannerStrategyModelRole, d as computeNextRunAtMs, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, fs as resolveAgentTimeoutMs, g as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, h as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, i as resolveCronStyleNow, ia as requestHeartbeatNow, j as retryCronTaskRunQueueStep, k as retryCronTaskRunQueueExecuteStep, ki as hasLegacyDeliveryHints, l as resolveTaskModelRole, m as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, p as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, rr as runEmbeddedPiAgent, to as deliverOutboundPayloads, u as taskExplicitModelRef, v as clearExpiredCronTaskRunQueueLease, vi as normalizeHttpWebhookUrl, vr as countActiveDescendantRuns, w as leaseCronTaskRunQueueExecuteSteps, wi as normalizeOptionalText, x as cronTaskRunQueueGraphStepId, xi as inferLegacyName, xt as getCliSessionId, y as completeCronTaskRunQueueStep } from "./reply-
|
|
5
|
+
import { $r as runWithModelFallback, A as retryCronTaskRunQueueItem, Ai as stripLegacyDeliveryFields, C as finishCronTaskRunQueueItem, Ci as normalizeOptionalSessionKey, Ct as runCliAgent, D as recoverExpiredCronTaskRunQueueLeases, Di as migrateLegacyCronPayload, Dr as registerAgentRunContext, E as recoverCronTaskRunQueueItem, Ei as normalizeRequiredName, Et as loadModelCatalog, Fi as getHookType, Fr as readLatestAssistantReply, Ho as resolveAgentAvatar, Ii as isExternalHookSession, Jn as formatWalletCommandReply, L as resolveCronRunLogPath, M as startCronTaskRunQueueStep, N as summarizeCronTaskRunQueue, Ni as buildSafeExternalPrompt, Oi as buildDeliveryFromLegacyPayload, P as appendCronRunLog, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Pi as detectSuspiciousPatterns, Qi as buildOutboundSessionContext, R as resolveCronRunLogPruneOptions, Ra as stripHeartbeatToken, S as enqueueCronTaskRunQueueItem, Si as normalizeOptionalAgentId, Sr as runSubagentAnnounceFlow, St as setCliSessionId, T as readCronTaskRunQueue, Ti as normalizePayloadToSystemText, Wa as resolveSessionAuthProfileOverride, Xi as resolveOutboundTarget, Yr as resolveOutboundSessionRoute, Zi as resolveSessionDeliveryTarget, _ as cancelCronTaskRunQueueItem, _r as spawnSubagentDirect, b as cronTaskRunQueueGraphNodeIdFromStepId, br as listDescendantRunsForRequester, bt as createOutboundSendDeps, c as plannerStrategyModelRole, d as computeNextRunAtMs, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, fs as resolveAgentTimeoutMs, g as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, h as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, i as resolveCronStyleNow, ia as requestHeartbeatNow, j as retryCronTaskRunQueueStep, k as retryCronTaskRunQueueExecuteStep, ki as hasLegacyDeliveryHints, l as resolveTaskModelRole, m as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, p as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, rr as runEmbeddedPiAgent, to as deliverOutboundPayloads, u as taskExplicitModelRef, v as clearExpiredCronTaskRunQueueLease, vi as normalizeHttpWebhookUrl, vr as countActiveDescendantRuns, w as leaseCronTaskRunQueueExecuteSteps, wi as normalizeOptionalText, x as cronTaskRunQueueGraphStepId, xi as inferLegacyName, xt as getCliSessionId, y as completeCronTaskRunQueueStep } from "./reply-DVGmtLPq.js";
|
|
6
6
|
import { h as normalizeAccountId$1, l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isCronRunSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime, n as formatErrorMessage } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import { u as SILENT_REPLY_TOKEN } from "./send-Dbz4ciHO.js";
|
|
@@ -18,7 +18,7 @@ import { C as parseAbsoluteTimeMs, S as resolveDefaultCronStaggerMs, a as withTa
|
|
|
18
18
|
import { a as readChannelAllowFromStoreSync } from "./pairing-store-BpOS9g5f.js";
|
|
19
19
|
import { d as deriveSessionTotalTokens, f as hasNonzeroUsage, l as resolveModelCostConfig, o as estimateUsageCost } from "./session-cost-usage-DQSpjhkP.js";
|
|
20
20
|
import { t as getRemoteSkillEligibility, v as getSkillsSnapshotVersion } from "./skills-remote-DrJ8xN_q.js";
|
|
21
|
-
import { n as runHeartbeatOnce } from "./heartbeat-runner-
|
|
21
|
+
import { n as runHeartbeatOnce } from "./heartbeat-runner-CY41VFZE.js";
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import crypto from "node:crypto";
|
|
@@ -2,7 +2,7 @@ import { D as pruneLegacyStoreKeys, E as loadSessionEntry, Kl as normalizeChanne
|
|
|
2
2
|
import "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import { Ea as deliverOutboundPayloads, Li as agentCommand, Wi as resolveOutboundTarget, er as enqueueSystemEvent, na as buildOutboundSessionContext, qi as createOutboundSendDeps, ur as requestHeartbeatNow } from "./model-catalog-
|
|
5
|
+
import { Ea as deliverOutboundPayloads, Li as agentCommand, Wi as resolveOutboundTarget, er as enqueueSystemEvent, na as buildOutboundSessionContext, qi as createOutboundSendDeps, ur as requestHeartbeatNow } from "./model-catalog-DOuyqwFa.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, H as normalizeMainKey } 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 "./deps-
|
|
48
|
+
import "./deps-QnUngXA3.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -75,7 +75,7 @@ import "./progress-DkVYFLij.js";
|
|
|
75
75
|
import "./replies-B5LeYSuO.js";
|
|
76
76
|
import "./prompt-style-Rmj3c-Ir.js";
|
|
77
77
|
import "./pairing-labels-u5J0k1yz.js";
|
|
78
|
-
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-
|
|
78
|
+
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-D3LvGnxE.js";
|
|
79
79
|
import { randomUUID } from "node:crypto";
|
|
80
80
|
|
|
81
81
|
//#region src/gateway/server-node-events.ts
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Dn as loadConfig, Nt as updateSessionStore, Pu as normalizeChannelId, it as resolveGatewaySessionStoreTarget, nt as loadSessionEntry, rt as pruneLegacyStoreKeys } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-
|
|
5
|
+
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-DVGmtLPq.js";
|
|
6
6
|
import { c as normalizeMainKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-Dbz4ciHO.js";
|
|
@@ -39,7 +39,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
39
39
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
40
40
|
import "./fetch-C7U6zkCW.js";
|
|
41
41
|
import "./delivery-queue-D3PC9MW-.js";
|
|
42
|
-
import "./deps-
|
|
42
|
+
import "./deps-sd-SQKYn.js";
|
|
43
43
|
import "./memory-_djkFopW.js";
|
|
44
44
|
import "./memory-search-DooAj6Eu.js";
|
|
45
45
|
import "./manager-bJh9XOLh.js";
|
|
@@ -78,7 +78,7 @@ import "./skills-remote-DrJ8xN_q.js";
|
|
|
78
78
|
import "./skill-commands-Cvv0vOCD.js";
|
|
79
79
|
import "./prompt-style-CWAacuMq.js";
|
|
80
80
|
import "./pairing-labels-v1JixmOK.js";
|
|
81
|
-
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-
|
|
81
|
+
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-3_V1yb6a.js";
|
|
82
82
|
import { randomUUID } from "node:crypto";
|
|
83
83
|
|
|
84
84
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-
|
|
1
|
+
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-Bx0XQq3s.js";
|
|
2
2
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-Dp_gOi-q.js";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
6
6
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
fs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: formatError(err) }, "failed saving WhatsApp creds");
|