@fased/fased 0.1.7 → 0.1.8
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/{agents-BXU9IcWH.js → agents-DwCO6NnA.js} +8 -8
- package/dist/{attachment-normalize-x4Ux17as.js → attachment-normalize-BThHHmYi.js} +1 -1
- package/dist/{attachment-normalize-DKH1oE8s.js → attachment-normalize-pIK6rDHb.js} +1 -1
- package/dist/{audio-preflight-CvaoCA_8.js → audio-preflight-BmenqREC.js} +2 -2
- package/dist/{audio-preflight-DBgIlNKd.js → audio-preflight-CtzbNnfZ.js} +2 -2
- package/dist/{audio-preflight-BEQG8UFz.js → audio-preflight-Cu868f1k.js} +2 -2
- package/dist/{audio-preflight-BxGl0Qnk.js → audio-preflight-D62-CT4N.js} +1 -1
- package/dist/{audio-preflight-BdetVpLT.js → audio-preflight-DA8SrvM2.js} +1 -1
- package/dist/{audit-CuMeLD52.js → audit-BxHRQIN8.js} +1 -1
- package/dist/{audit-B-qrO0Wn.js → audit-CnK7wIm9.js} +1 -1
- package/dist/{auth-DFd6xNTa.js → auth-BMdDuztj.js} +5 -5
- package/dist/{auth-choice-C7OWIYZu.js → auth-choice-CHRs2Rw9.js} +1 -1
- package/dist/{auth-choice-DHR5p1_0.js → auth-choice-DBjNH_BP.js} +1 -1
- package/dist/{auth-choice-prompt-CT1bnaSn.js → auth-choice-prompt-DfXNL21h.js} +1 -1
- package/dist/{auth-choice-prompt-CRA7hqZR.js → auth-choice-prompt-Du2-OcAs.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-BuE6HFqd.js → channel-web-BepAvz_s.js} +1 -1
- package/dist/{channel-web-CWkkek7A.js → channel-web-D77vS1iO.js} +1 -1
- package/dist/{channels-BjMs_PdQ.js → channels-B_BjON4x.js} +6 -6
- package/dist/{channels-cli-DFU1jl6H.js → channels-cli-Bpl1dmDv.js} +5 -5
- package/dist/{channels-cli-BhEfQtHV.js → channels-cli-DtbctFlt.js} +5 -5
- package/dist/{channels-hZ0HwkI-.js → channels-iZ-YYQTu.js} +6 -6
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CH7SWVF0.js → cli-BKsYOtC-.js} +2 -2
- package/dist/{cli-DzWCT00p.js → cli-DncjAPd-.js} +2 -2
- package/dist/{command-registry-Bjddtanz.js → command-registry-DCkbELqY.js} +9 -9
- package/dist/{completion-cli-BtcwDFkI.js → completion-cli-CDWe7E4Q.js} +2 -2
- package/dist/{completion-cli-BhApWwF3.js → completion-cli-D1YzzbFH.js} +1 -1
- package/dist/{config-cli-BzcLANMJ.js → config-cli-5wBMglIp.js} +1 -1
- package/dist/{config-cli--kWGlPId.js → config-cli-CKxgXXJn.js} +1 -1
- package/dist/{configure-CpmXNC6S.js → configure-BSagvCQi.js} +12 -12
- package/dist/{configure-DyRoNyva.js → configure-tjnZoHbH.js} +12 -12
- package/dist/control-ui/assets/app-wpJSg6bV.js.map +1 -1
- package/dist/{cron-cli-M5m8r5Ks.js → cron-cli-Cair4mxk.js} +2 -2
- package/dist/{cron-cli-E0sJDbQC.js → cron-cli-D8WuN_MW.js} +2 -2
- package/dist/{daemon-cli-YqLiZbHd.js → daemon-cli-Bk9izNkp.js} +1 -1
- package/dist/{daemon-cli-CpPhdBu_.js → daemon-cli-u83GPvJb.js} +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/{deps-Bhe7tE5b.js → deps-CXL0cKfx.js} +1 -1
- package/dist/{deps-Cf8AO2Jl.js → deps-CkKBKwiW.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-Dyi-0jB7.js → gateway-cli-BecFFnkx.js} +27 -27
- package/dist/{gateway-cli-Bm4oEILk.js → gateway-cli-CIPA5kfD.js} +27 -27
- package/dist/{health-B0ocd5_7.js → health-C4tIs4co.js} +2 -2
- package/dist/{health-BR3YdW7e.js → health-CigJCcxc.js} +2 -2
- package/dist/{heartbeat-runner-DG4lxaMi.js → heartbeat-runner-BfNtAkhj.js} +1 -1
- package/dist/{heartbeat-runner-BxEr5p-B.js → heartbeat-runner-BxJRI-ok.js} +1 -1
- package/dist/{hooks-cli-CcYi6Meg.js → hooks-cli-DOPq-2S9.js} +3 -3
- package/dist/{hooks-cli-DAwTxXol.js → hooks-cli-DVDhSqfA.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{ipv4-B66XuVF2.js → ipv4-7GxPQU1a.js} +2 -2
- package/dist/{ipv4-D-YfF_6B.js → ipv4-B3Lf_nah.js} +2 -2
- package/dist/{lifecycle-BdgmCwOH.js → lifecycle-DyTUqkfI.js} +1 -1
- package/dist/{lifecycle-DYLCSzbm.js → lifecycle-duGb--MA.js} +1 -1
- package/dist/{list.auth-overview-DdJbVRca.js → list.auth-overview-DPErLb6u.js} +1 -1
- package/dist/{list.auth-overview-BvYVlQtn.js → list.auth-overview-Dm5I_0EV.js} +1 -1
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{model-catalog-lQaOfBE-.js → model-catalog-B2p9s4Er.js} +6 -6
- package/dist/{models-cli-DHt1kVgh.js → models-cli-BF-p0H_t.js} +4 -4
- package/dist/{models-cli-DFD-1f3D.js → models-cli-C41-F2sc.js} +5 -5
- package/dist/{models-B9J_ISvy.js → models-qmUJnK7w.js} +4 -4
- package/dist/{node-cli-f8fszkMt.js → node-cli-BqxqWjp6.js} +2 -2
- package/dist/{node-cli-L1DolFeK.js → node-cli-vZn4fYEF.js} +2 -2
- package/dist/{onboard-DypY_GcI.js → onboard-CQL8Muxf.js} +6 -6
- package/dist/{onboard-channels-D70mVu4u.js → onboard-channels-61p02q6d.js} +2 -2
- package/dist/{onboard-channels-CNR5vpem.js → onboard-channels-BhdodRRF.js} +2 -2
- package/dist/{onboard-search-D1UMq97d.js → onboard-search-BstGI4Dp.js} +5 -5
- package/dist/{onboard-search-D7qJeTpU.js → onboard-search-DgmS5zLq.js} +5 -5
- package/dist/{onboard-BpMyfmxm.js → onboard-w2VmKfGS.js} +6 -6
- package/dist/{onboarding-IQNYxMZv.js → onboarding-BspKdGse.js} +7 -7
- package/dist/{onboarding-BN0l0fEG.js → onboarding-eTXlIMDl.js} +7 -7
- package/dist/{openresponses-http-OG-PTsfj.js → openresponses-http-BEAQXjSc.js} +1 -1
- package/dist/{openresponses-http-Ca_VkkUO.js → openresponses-http-CtIzhBuO.js} +2 -2
- package/dist/{openresponses-http-DRoxNJDn.js → openresponses-http-DyOJG_Ah.js} +2 -2
- package/dist/{openresponses-http-DmUn-sBq.js → openresponses-http-V_kiD0Nv.js} +1 -1
- package/dist/{openresponses-http-BWaEyxbw.js → openresponses-http-uJ_W4xvc.js} +2 -2
- package/dist/{parent-default-help-nQkLN59s.js → parent-default-help-BNl8PCBb.js} +1 -1
- package/dist/{parent-default-help-C4hFBYdp.js → parent-default-help-CzTYW-j9.js} +1 -1
- package/dist/{paths-u2LpgAgg.js → paths-Dy-XkwXd.js} +9 -9
- package/dist/{pi-embedded-Cgz0aF7F.js → pi-embedded-CVNzMh8u.js} +14 -14
- package/dist/{pi-embedded-C0-jaJQC.js → pi-embedded-CiKHoPuO.js} +5 -5
- package/dist/{plugin-registry-kvu2vTlI.js → plugin-registry-BNUW2v4j.js} +1 -1
- package/dist/{plugin-registry-BjAcamlw.js → plugin-registry-D_YGIUAK.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-NoLY3lFb.js → audio-preflight-Blpcv1f2.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BXKoMvE4.js → audio-preflight-DxXxOX_-.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-CUD1tjTH.js → channel-web-Dkkw7jD3.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-BCtIUgJw.js → openresponses-http-C3sKJy0s.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-DGjl6tRS.js → openresponses-http-D2MCAX-U.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-CtHwbtuL.js → pi-model-discovery-runtime-CH-CO0X9.js} +1 -1
- package/dist/plugin-sdk/{registry-Cobn8xFK.js → registry-DM7FXZZa.js} +8 -8
- package/dist/plugin-sdk/{reply-CW_RclRx.js → reply-Cc_88l-g.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-BGqZJhO9.js → status-Nui317wc.js} +5 -5
- package/dist/plugin-sdk/{web-CAhsmUFC.js → web-PczC1Ak6.js} +2 -2
- package/dist/plugin-sdk/{web-BcubWWyi.js → web-_l4wf5nP.js} +1 -1
- package/dist/{plugins-cli-Dmll6xIT.js → plugins-cli-D81hxuh9.js} +5 -5
- package/dist/{plugins-cli-o9k6u4OW.js → plugins-cli-nknuRmvs.js} +5 -5
- package/dist/{program-6lOdYKR9.js → program-BQpiZH21.js} +7 -7
- package/dist/{program-context-C42FCMNW.js → program-context-B0x4BUV8.js} +24 -24
- package/dist/{prompt-select-styled-DlC6cyby.js → prompt-select-styled-BV1aj5gS.js} +4 -4
- package/dist/{prompt-select-styled-B2dC3tHt.js → prompt-select-styled-BtpiSheR.js} +4 -4
- package/dist/{pw-ai-CnqTC4jE.js → pw-ai-6QaP0hPt.js} +1 -1
- package/dist/{register.agent-DC6MKUEL.js → register.agent-BsmSx_pm.js} +9 -9
- package/dist/{register.agent-DnOZLI3p.js → register.agent-CO8q2hFB.js} +8 -8
- package/dist/{register.configure-CnGpcmyF.js → register.configure-Bq7iYj-x.js} +12 -12
- package/dist/{register.configure-Cd0rOLe3.js → register.configure-DfaqxWBT.js} +12 -12
- package/dist/{register.maintenance-BEpc0bUS.js → register.maintenance-D1iDNjQk.js} +9 -9
- package/dist/{register.maintenance-B0BE5jt1.js → register.maintenance-Q-UtYMNq.js} +8 -8
- package/dist/{register.message-CrN4JbEz.js → register.message-B8bjpucd.js} +3 -3
- package/dist/{register.message-BvvKjnSX.js → register.message-DljE3-Mf.js} +3 -3
- package/dist/{register.onboard-iqLNTLjC.js → register.onboard-BZTz7PYj.js} +14 -14
- package/dist/{register.onboard-Bwt9lm1m.js → register.onboard-CtolofNY.js} +14 -14
- package/dist/{register.setup-CB_R0h_V.js → register.setup-B4fpM_01.js} +14 -14
- package/dist/{register.setup-EmqOYKK2.js → register.setup-DVlK2U2T.js} +14 -14
- package/dist/{register.status-health-sessions-BoBTAeqV.js → register.status-health-sessions-QrAzuMof.js} +6 -6
- package/dist/{register.status-health-sessions-DClbfNjH.js → register.status-health-sessions-eOxTUk6p.js} +6 -6
- package/dist/{register.subclis-BF4_0JMU.js → register.subclis-BmxHrVY8.js} +16 -16
- package/dist/{reply-CX9VPlln.js → reply-D-tBbqAr.js} +6 -6
- package/dist/{run-main-CThaWUvV.js → run-main-CCbbX6Qw.js} +14 -14
- package/dist/{runtime-helper-grants-BufIO2tr.js → runtime-helper-grants-BfdCLaEe.js} +1 -1
- package/dist/{runtime-helper-grants-C0Mk9r5E.js → runtime-helper-grants-CCSEkpWg.js} +1 -1
- package/dist/{sandbox-cli-BReFF5oT.js → sandbox-cli-BhYOk9T3.js} +2 -2
- package/dist/{sandbox-cli-UBjaU6i2.js → sandbox-cli-C0BGxMgU.js} +2 -2
- package/dist/{security-cli-CkZVXeiw.js → security-cli-Cejk5K5y.js} +3 -3
- package/dist/{security-cli-DxaQKA7Y.js → security-cli-kV0FmrPZ.js} +3 -3
- package/dist/{server-umfRB3x2.js → server-Dxnx0w2b.js} +2 -2
- package/dist/{server-Cs8KPjZX.js → server-aQ9Lrqxm.js} +2 -2
- package/dist/{server-cron-pNyieu85.js → server-cron-Lrd-82-a.js} +2 -2
- package/dist/{server-cron-Zy8cb8ks.js → server-cron-MwapLJj6.js} +2 -2
- package/dist/{server-node-events-BW4Vf7BE.js → server-node-events-Byb1U0WO.js} +3 -3
- package/dist/{server-node-events-D1JnvYov.js → server-node-events-CJJ7DvNR.js} +3 -3
- package/dist/{status-BygLTNLr.js → status-BmRiaP4X.js} +1 -1
- package/dist/{status-y-sppr84.js → status-C2w0aknQ.js} +4 -4
- package/dist/{status-C6emRuFP.js → status-CZ0kM1xe.js} +4 -4
- package/dist/{status-il3OytTW.js → status-sghOLKoX.js} +1 -1
- package/dist/{tui-o8BG_MAy.js → tui-BmU34PW9.js} +1 -1
- package/dist/{tui-Bn8TEK1I.js → tui-ChKdGdIF.js} +1 -1
- package/dist/{tui-cli-BLed1oLd.js → tui-cli-CjtzTERS.js} +3 -3
- package/dist/{tui-cli-B5shx16M.js → tui-cli-qkfrOHyR.js} +3 -3
- package/dist/{update-cli-858O3DKh.js → update-cli-Bnaq9gX-.js} +9 -9
- package/dist/{update-cli-B9YL3uQz.js → update-cli-qeDwPrcW.js} +10 -10
- package/dist/{update-runner-Bm6TX818.js → update-runner-BKNdPQ9w.js} +1 -1
- package/dist/{update-runner-DvVKP6XV.js → update-runner-BzxFJ9rs.js} +1 -1
- package/dist/{web-7_9qLuyz.js → web-B9li-kqJ.js} +1 -1
- package/dist/{web-BdFDJyKO.js → web-BY54D29H.js} +3 -3
- package/dist/{web-Dy_9_uro.js → web-Ch89cdSv.js} +3 -3
- package/dist/{web-5lMv14Xu.js → web-DGRSjCdp.js} +2 -2
- package/dist/{web-C88SAD-E.js → web-dfcINNyN.js} +1 -1
- package/dist/{web-search-providers.runtime-BeOSV7m5.js → web-search-providers.runtime-DMmCCAlM.js} +1 -1
- package/dist/{web-search-providers.runtime-CaR9nIKX.js → web-search-providers.runtime-DTPUP8Hn.js} +1 -1
- 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 +2 -1
- package/scripts/fased-launcher-runtime.mjs +141 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./github-copilot-token-Dy7Y_jbI.js";
|
|
2
2
|
import { la as logWarn, qo as defaultRuntime } from "./paths-BUCFHJmO.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-BMdDuztj.js";
|
|
4
4
|
import "./send-BxU5XAFE.js";
|
|
5
5
|
import "./send-Bm0FH4-a.js";
|
|
6
6
|
import "./skill-commands-Ccc9Yxgp.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-DehUhJeR.js";
|
|
3
3
|
import { au as logWarn } from "./agent-scope-BzMewrdo.js";
|
|
4
4
|
import "./commands-registry-Mv6eoFxA.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-D-tBbqAr.js";
|
|
6
6
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import "./send-Ca5lbyFp.js";
|
|
8
8
|
import "./send-BEPgLtSo.js";
|
|
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
37
37
|
import "./outbound-attachment-DiomS2sA.js";
|
|
38
38
|
import "./fetch-rmwO5euh.js";
|
|
39
39
|
import "./delivery-queue-Dkj1Op-g.js";
|
|
40
|
-
import { t as createDefaultDeps } from "./deps-
|
|
40
|
+
import { t as createDefaultDeps } from "./deps-CXL0cKfx.js";
|
|
41
41
|
import "./memory-olAV6G3D.js";
|
|
42
42
|
import "./memory-search-BgCvrJIZ.js";
|
|
43
43
|
import "./manager-FNGnQzSH.js";
|
|
@@ -2,13 +2,13 @@ import { Ui as logWarn, wa as defaultRuntime } from "./agent-scope-CBVhrRFZ.js";
|
|
|
2
2
|
import "./github-copilot-token-eyrRGmGp.js";
|
|
3
3
|
import "./send-EP8T_Bs5.js";
|
|
4
4
|
import "./send-B3_-GAjm.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-
|
|
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-CVNzMh8u.js";
|
|
6
6
|
import "./diagnostic-M5KcAjRA.js";
|
|
7
7
|
import "./diagnostic-session-state-CexmAKza.js";
|
|
8
8
|
import "./send-BVl6R_EI.js";
|
|
9
9
|
import "./media-DddbPrAI.js";
|
|
10
10
|
import "./pi-model-discovery-CVpeIYsN.js";
|
|
11
|
-
import "./paths-
|
|
11
|
+
import "./paths-Dy-XkwXd.js";
|
|
12
12
|
import "./ssrf-DYsl9qoS.js";
|
|
13
13
|
import "./reply-prefix-izhZHKPV.js";
|
|
14
14
|
import "./path-alias-guards-CpoCpUGn.js";
|
|
@@ -2,7 +2,7 @@ import { Sa as defaultRuntime, Vi as logWarn } from "./agent-scope-CXpvDcoM.js";
|
|
|
2
2
|
import "./github-copilot-token-CNsqwfnE.js";
|
|
3
3
|
import "./send-CehSJ03U.js";
|
|
4
4
|
import "./send-Dmq_MOco.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-CiKHoPuO.js";
|
|
6
6
|
import "./reply-prefix-BblRzrRE.js";
|
|
7
7
|
import "./diagnostic-iOlS3G13.js";
|
|
8
8
|
import "./diagnostic-session-state-CL_QxyRg.js";
|
|
@@ -2,7 +2,7 @@ import { bd as logWarn } from "./env-DIG6VoF6.js";
|
|
|
2
2
|
import "./agent-paths-CLZll_t_.js";
|
|
3
3
|
import "./send-BHhqEgcT.js";
|
|
4
4
|
import "./send-CMh3hPgo.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-B2p9s4Er.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-DMB_b4XT.js";
|
|
@@ -45,7 +45,7 @@ import "./send-wyxuu8bK.js";
|
|
|
45
45
|
import "./outbound-attachment-DaGkUnrV.js";
|
|
46
46
|
import "./fetch-DRHJR7E-.js";
|
|
47
47
|
import "./delivery-queue-oKt9Ta2z.js";
|
|
48
|
-
import { t as createDefaultDeps } from "./deps-
|
|
48
|
+
import { t as createDefaultDeps } from "./deps-CkKBKwiW.js";
|
|
49
49
|
import "./frontmatter-DRLnUoN-.js";
|
|
50
50
|
import "./skills-BdZ8jM9Y.js";
|
|
51
51
|
import "./skills-remote-DUa5w_GR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cd as isTruthyEnvValue, Nu as listChannelPlugins, jf as CHAT_CHANNEL_ORDER } from "./agent-scope-BzMewrdo.js";
|
|
2
2
|
import { c as listChannelPluginCatalogEntries } from "./dangerous-name-matching-CIQVIima.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D_YGIUAK.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/channel-options.ts
|
|
6
6
|
function dedupe(values) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Gl as listChannelPlugins, Vf as CHAT_CHANNEL_ORDER, t as isTruthyEnvValue } from "./env-DIG6VoF6.js";
|
|
2
2
|
import { d as listChannelPluginCatalogEntries } from "./dangerous-name-matching-DHOassIs.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BNUW2v4j.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/channel-options.ts
|
|
6
6
|
function dedupe(values) {
|
|
@@ -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
|
});
|
|
@@ -11,7 +11,7 @@ import { t as redactIdentifier } from "./redact-identifier-Cy6Tnhkn.js";
|
|
|
11
11
|
import { $ as readChannelAllowFromStore, A as extractTelegramLocation, B as normalizeAllowFrom$2, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as mergeDmAllowFromSources, H as resolveSenderAllowMatch, I as resolveTelegramReplyId, J as toLocationContext, K as resolveGroupAllowFromSources, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as firstDefined$2, V as normalizeDmAllowFromWithStore$1, W as isSenderIdAllowed, X as resolveCronStorePath, Y as loadCronStore, Z as saveCronStore, _ as resolveTelegramFetch, a as reactMessageTelegram, at as listPairingChannels, b as buildGroupLabel, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as wasSentByBot, et as removeChannelAllowFromStoreEntry, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as getPairingAdapter, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as readJsonFileWithFallback, o as sendMessageTelegram, ot as isVoiceCompatibleAudio, p as markdownToTelegramChunks, q as formatLocationText, r as deleteMessageTelegram, rt as writeJsonFileAtomically, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as upsertChannelPairingRequest, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BVl6R_EI.js";
|
|
12
12
|
import { E as mediaKindFromMime, S as kindFromMime, _ as extensionForMime, a as buildImageResizeSideGrid, b as isAudioFileName, c as MediaFetchError, g as detectMime, h as getDefaultMediaLocalRoots, i as IMAGE_REDUCE_QUALITY_STEPS, l as fetchRemoteMedia, m as getAgentScopedMediaLocalRoots, n as loadWebMedia, o as getImageMetadata, s as resizeToJpeg, t as getDefaultLocalRoots, u as readResponseWithLimit, v as getFileExtension, w as MAX_IMAGE_BYTES, x as isGifMedia, y as imageMimeFromFormat } from "./media-DddbPrAI.js";
|
|
13
13
|
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-CVpeIYsN.js";
|
|
14
|
-
import { B as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, C as assertBrowserNavigationAllowed, D as fetchJson$1, E as appendCdpPath, F as isLoopbackHost, G as DEFAULT_FASED_BROWSER_COLOR, H as DEFAULT_AI_SNAPSHOT_MAX_CHARS, I as isSecureWebSocketUrl, K as DEFAULT_FASED_BROWSER_ENABLED, L as isTrustedProxyAddress, M as stopChromeExtensionRelayServer, N as rawDataToString, O as fetchOk, P as isLoopbackAddress, R as resolveClientIp, S as InvalidBrowserNavigationUrlError, T as withBrowserNavigationPolicy, U as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, W as DEFAULT_BROWSER_EVALUATE_ENABLED, _ as captureScreenshot, b as normalizeCdpWsUrl, c as normalizeBrowserFormField, d as isChromeReachable, f as launchFasedAgentChrome, g as resolveLsofCommandSync, h as resolveBrowserExecutableForPlatform, i as resolveExistingPathsWithinRoot, j as ensureChromeExtensionRelayServer, m as stopFasedAgentChrome, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, p as resolveFasedAgentUserDataDir, q as DEFAULT_FASED_BROWSER_PROFILE_NAME, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR, u as isChromeCdpReady, v as createTargetViaCdp, w as assertBrowserNavigationResultAllowed, x as snapshotAria, z as resolveForwardedClientIp } from "./paths-
|
|
14
|
+
import { B as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, C as assertBrowserNavigationAllowed, D as fetchJson$1, E as appendCdpPath, F as isLoopbackHost, G as DEFAULT_FASED_BROWSER_COLOR, H as DEFAULT_AI_SNAPSHOT_MAX_CHARS, I as isSecureWebSocketUrl, K as DEFAULT_FASED_BROWSER_ENABLED, L as isTrustedProxyAddress, M as stopChromeExtensionRelayServer, N as rawDataToString, O as fetchOk, P as isLoopbackAddress, R as resolveClientIp, S as InvalidBrowserNavigationUrlError, T as withBrowserNavigationPolicy, U as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, W as DEFAULT_BROWSER_EVALUATE_ENABLED, _ as captureScreenshot, b as normalizeCdpWsUrl, c as normalizeBrowserFormField, d as isChromeReachable, f as launchFasedAgentChrome, g as resolveLsofCommandSync, h as resolveBrowserExecutableForPlatform, i as resolveExistingPathsWithinRoot, j as ensureChromeExtensionRelayServer, m as stopFasedAgentChrome, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, p as resolveFasedAgentUserDataDir, q as DEFAULT_FASED_BROWSER_PROFILE_NAME, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR, u as isChromeCdpReady, v as createTargetViaCdp, w as assertBrowserNavigationResultAllowed, x as snapshotAria, z as resolveForwardedClientIp } from "./paths-Dy-XkwXd.js";
|
|
15
15
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DYsl9qoS.js";
|
|
16
16
|
import { n as redactSensitiveUrlLikeString, t as redactSensitiveUrl } from "./redact-sensitive-url-Dp_gOi-q.js";
|
|
17
17
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-izhZHKPV.js";
|
|
@@ -65,7 +65,7 @@ import { AddressLookupTableAccount, PublicKey, VersionedTransaction } from "@sol
|
|
|
65
65
|
import { Type } from "@sinclair/typebox";
|
|
66
66
|
import { Value } from "@sinclair/typebox/value";
|
|
67
67
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
68
|
-
import WebSocket, { WebSocket
|
|
68
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
69
69
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
70
70
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
71
71
|
import "@fedify/fedify";
|
|
@@ -16303,7 +16303,7 @@ var GatewayClient = class {
|
|
|
16303
16303
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
16304
16304
|
});
|
|
16305
16305
|
}
|
|
16306
|
-
this.ws = new WebSocket
|
|
16306
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
16307
16307
|
this.ws.on("open", () => {
|
|
16308
16308
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
16309
16309
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -16499,7 +16499,7 @@ var GatewayClient = class {
|
|
|
16499
16499
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
16500
16500
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
16501
16501
|
this.connectTimer = setTimeout(() => {
|
|
16502
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
16502
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
16503
16503
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
16504
16504
|
this.ws?.close(1008, "connect challenge timeout");
|
|
16505
16505
|
}, connectChallengeTimeoutMs);
|
|
@@ -16541,7 +16541,7 @@ var GatewayClient = class {
|
|
|
16541
16541
|
return null;
|
|
16542
16542
|
}
|
|
16543
16543
|
async request(method, params, opts) {
|
|
16544
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
16544
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
16545
16545
|
const id = randomUUID();
|
|
16546
16546
|
const frame = {
|
|
16547
16547
|
type: "req",
|
|
@@ -19107,7 +19107,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
19107
19107
|
function createDefaultDeps() {
|
|
19108
19108
|
return {
|
|
19109
19109
|
sendMessageWhatsApp: async (...args) => {
|
|
19110
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
19110
|
+
const { sendMessageWhatsApp } = await import("./web-DGRSjCdp.js");
|
|
19111
19111
|
return await sendMessageWhatsApp(...args);
|
|
19112
19112
|
},
|
|
19113
19113
|
sendMessageTelegram: async (...args) => {
|
|
@@ -53526,7 +53526,7 @@ function isModuleNotFoundError(err) {
|
|
|
53526
53526
|
}
|
|
53527
53527
|
async function loadPwAiModule(mode) {
|
|
53528
53528
|
try {
|
|
53529
|
-
return await import("./pw-ai-
|
|
53529
|
+
return await import("./pw-ai-6QaP0hPt.js");
|
|
53530
53530
|
} catch (err) {
|
|
53531
53531
|
if (mode === "soft") return null;
|
|
53532
53532
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -53920,11 +53920,11 @@ function createProfileContext(opts, profile) {
|
|
|
53920
53920
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
53921
53921
|
const profileState = getProfileState();
|
|
53922
53922
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
53923
|
-
await (await import("./pw-ai-
|
|
53923
|
+
await (await import("./pw-ai-6QaP0hPt.js")).closePlaywrightBrowserConnection();
|
|
53924
53924
|
} catch {}
|
|
53925
53925
|
if (profileState.running) await stopRunningBrowser();
|
|
53926
53926
|
try {
|
|
53927
|
-
await (await import("./pw-ai-
|
|
53927
|
+
await (await import("./pw-ai-6QaP0hPt.js")).closePlaywrightBrowserConnection();
|
|
53928
53928
|
} catch {}
|
|
53929
53929
|
if (!syncFs.existsSync(userDataDir)) return {
|
|
53930
53930
|
moved: false,
|
|
@@ -91720,7 +91720,7 @@ async function preflightDiscordMessage(params) {
|
|
|
91720
91720
|
let preflightTranscript;
|
|
91721
91721
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
91722
91722
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
91723
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
91723
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CtzbNnfZ.js");
|
|
91724
91724
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
91725
91725
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
91726
91726
|
ctx: {
|
|
@@ -97810,7 +97810,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
97810
97810
|
return super.registerClient(client);
|
|
97811
97811
|
}
|
|
97812
97812
|
createWebSocket(url) {
|
|
97813
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
97813
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
97814
97814
|
}
|
|
97815
97815
|
}
|
|
97816
97816
|
return new ProxyGatewayPlugin();
|
|
@@ -99017,7 +99017,7 @@ async function waitForTransportReady(params) {
|
|
|
99017
99017
|
|
|
99018
99018
|
//#endregion
|
|
99019
99019
|
//#region src/brand.ts
|
|
99020
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
99020
|
+
const FASED_PRODUCT_VERSION = "0.1.8";
|
|
99021
99021
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
99022
99022
|
|
|
99023
99023
|
//#endregion
|
|
@@ -108630,7 +108630,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
108630
108630
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
108631
108631
|
let preflightTranscript;
|
|
108632
108632
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
108633
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
108633
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CtzbNnfZ.js");
|
|
108634
108634
|
preflightTranscript = await transcribeFirstAudio({
|
|
108635
108635
|
ctx: {
|
|
108636
108636
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -111256,7 +111256,7 @@ function loadWebLoginQr() {
|
|
|
111256
111256
|
return webLoginQrPromise;
|
|
111257
111257
|
}
|
|
111258
111258
|
function loadWebChannel() {
|
|
111259
|
-
webChannelPromise ??= import("./web-
|
|
111259
|
+
webChannelPromise ??= import("./web-DGRSjCdp.js");
|
|
111260
111260
|
return webChannelPromise;
|
|
111261
111261
|
}
|
|
111262
111262
|
function loadWhatsAppActions() {
|
|
@@ -19106,7 +19106,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
19106
19106
|
function createDefaultDeps() {
|
|
19107
19107
|
return {
|
|
19108
19108
|
sendMessageWhatsApp: async (...args) => {
|
|
19109
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
19109
|
+
const { sendMessageWhatsApp } = await import("./web-B9li-kqJ.js");
|
|
19110
19110
|
return await sendMessageWhatsApp(...args);
|
|
19111
19111
|
},
|
|
19112
19112
|
sendMessageTelegram: async (...args) => {
|
|
@@ -91729,7 +91729,7 @@ async function preflightDiscordMessage(params) {
|
|
|
91729
91729
|
let preflightTranscript;
|
|
91730
91730
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
91731
91731
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
91732
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
91732
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-D62-CT4N.js");
|
|
91733
91733
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
91734
91734
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
91735
91735
|
ctx: {
|
|
@@ -99026,7 +99026,7 @@ async function waitForTransportReady(params) {
|
|
|
99026
99026
|
|
|
99027
99027
|
//#endregion
|
|
99028
99028
|
//#region src/brand.ts
|
|
99029
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
99029
|
+
const FASED_PRODUCT_VERSION = "0.1.8";
|
|
99030
99030
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
99031
99031
|
|
|
99032
99032
|
//#endregion
|
|
@@ -108639,7 +108639,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
108639
108639
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
108640
108640
|
let preflightTranscript;
|
|
108641
108641
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
108642
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
108642
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-D62-CT4N.js");
|
|
108643
108643
|
preflightTranscript = await transcribeFirstAudio({
|
|
108644
108644
|
ctx: {
|
|
108645
108645
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -111265,7 +111265,7 @@ function loadWebLoginQr() {
|
|
|
111265
111265
|
return webLoginQrPromise;
|
|
111266
111266
|
}
|
|
111267
111267
|
function loadWebChannel() {
|
|
111268
|
-
webChannelPromise ??= import("./web-
|
|
111268
|
+
webChannelPromise ??= import("./web-B9li-kqJ.js");
|
|
111269
111269
|
return webChannelPromise;
|
|
111270
111270
|
}
|
|
111271
111271
|
function loadWhatsAppActions() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Gu as resolveDefaultAgentId, Wu as resolveAgentWorkspaceDir, Xt as loadConfig, a as createSubsystemLogger, p as getActivePluginRegistry } from "./env-DIG6VoF6.js";
|
|
3
|
-
import { c as loadFasedAgentPlugins } from "./model-catalog-
|
|
3
|
+
import { c as loadFasedAgentPlugins } from "./model-catalog-B2p9s4Er.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/plugin-registry.ts
|
|
6
6
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Dn as loadConfig, F as createSubsystemLogger, U as getActivePluginRegistry, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BzMewrdo.js";
|
|
3
|
-
import { Nt as loadFasedAgentPlugins } from "./reply-
|
|
3
|
+
import { Nt as loadFasedAgentPlugins } from "./reply-D-tBbqAr.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/plugin-registry.ts
|
|
6
6
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as normalizeMediaAttachments, E as isAudioAttachment, S as createMediaAttachmentCache, T as runCapability, w as resolveMediaAttachmentLocalRoots, x as buildProviderRegistry } from "./reply-
|
|
1
|
+
import { C as normalizeMediaAttachments, E as isAudioAttachment, S as createMediaAttachmentCache, T as runCapability, w as resolveMediaAttachmentLocalRoots, x as buildProviderRegistry } from "./reply-Cc_88l-g.js";
|
|
2
2
|
import { Gc as logVerbose, qc as shouldLogVerbose } from "./runtime-D0lNnUbQ.js";
|
|
3
3
|
import "./github-copilot-token-CVC_19vl.js";
|
|
4
4
|
import "./send-Cz1xtc1B.js";
|
|
@@ -2,7 +2,7 @@ import { Ds as shouldLogVerbose, Ts as logVerbose } from "./context-CJ6V3psI.js"
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-_rDlEq6o.js";
|
|
4
4
|
import "./send-DtzHFAyi.js";
|
|
5
|
-
import { A as buildProviderRegistry, F as isAudioAttachment, M as normalizeMediaAttachments, N as resolveMediaAttachmentLocalRoots, P as runCapability, j as createMediaAttachmentCache } from "./status-
|
|
5
|
+
import { A as buildProviderRegistry, F as isAudioAttachment, M as normalizeMediaAttachments, N as resolveMediaAttachmentLocalRoots, P as runCapability, j as createMediaAttachmentCache } from "./status-Nui317wc.js";
|
|
6
6
|
import "./paths-BWMjKGHZ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-C73OwMSd.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DEFAULT_ACCOUNT_ID, i as formatCliCommand, o as normalizeAccountId, t as getChatChannelMeta } from "./registry-
|
|
1
|
+
import { a as DEFAULT_ACCOUNT_ID, i as formatCliCommand, o as normalizeAccountId, t as getChatChannelMeta } from "./registry-DM7FXZZa.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugins/config-schema.ts
|
|
4
4
|
function error(message) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as resolveInboundDebounceMs, B as enqueueSystemEvent, D as dispatchReplyWithBufferedBlockDispatcher, Dt as resolveMentionGating, Et as shouldAckReactionForWhatsApp, Ft as buildHistoryContextFromEntries, Ht as buildMentionRegexes, L as normalizeGroupActivation, M as shouldComputeCommandAuthorized, N as registerUnhandledRejectionHandler, Nt as resolveEnvelopeFormatOptions, Pt as DEFAULT_GROUP_HISTORY_LIMIT, R as parseActivationCommand, Ut as normalizeMentionText, Vt as recordPendingHistoryEntryIfEnabled, an as readStoreAllowFromForDmPolicy, b as sleepWithAbort, fn as resolveDefaultGroupPolicy, j as hasControlCommand, jt as formatInboundEnvelope, k as createInboundDebouncer, mn as warnMissingProviderGroupPolicyFallbackOnce, on as resolveDmGroupAccessWithCommandGate, pn as resolveOpenProviderRuntimeGroupPolicy, sn as resolveDmGroupAccessWithLists, t as getReplyFromConfig, tn as createDedupeCache, ut as buildPairingReply, y as computeBackoff, z as formatDurationPrecise } from "./reply-
|
|
1
|
+
import { A as resolveInboundDebounceMs, B as enqueueSystemEvent, D as dispatchReplyWithBufferedBlockDispatcher, Dt as resolveMentionGating, Et as shouldAckReactionForWhatsApp, Ft as buildHistoryContextFromEntries, Ht as buildMentionRegexes, L as normalizeGroupActivation, M as shouldComputeCommandAuthorized, N as registerUnhandledRejectionHandler, Nt as resolveEnvelopeFormatOptions, Pt as DEFAULT_GROUP_HISTORY_LIMIT, R as parseActivationCommand, Ut as normalizeMentionText, Vt as recordPendingHistoryEntryIfEnabled, an as readStoreAllowFromForDmPolicy, b as sleepWithAbort, fn as resolveDefaultGroupPolicy, j as hasControlCommand, jt as formatInboundEnvelope, k as createInboundDebouncer, mn as warnMissingProviderGroupPolicyFallbackOnce, on as resolveDmGroupAccessWithCommandGate, pn as resolveOpenProviderRuntimeGroupPolicy, sn as resolveDmGroupAccessWithLists, t as getReplyFromConfig, tn as createDedupeCache, ut as buildPairingReply, y as computeBackoff, z as formatDurationPrecise } from "./reply-Cc_88l-g.js";
|
|
2
2
|
import { $c as getChildLogger, C as updateLastRoute, Ca as resolveWhatsAppAccount, Ea as getWebAuthAgeMs, Gc as logVerbose, Ic as createSubsystemLogger, Is as resolveGroupSessionKey, La as formatCliCommand, Ma as readWebSelfId, S as recordSessionMetaFromInbound, _s as buildGroupHistoryKey, b as loadSessionStore, bc as jidToE164, fc as clamp, ft as loadConfig, hs as buildAgentMainSessionKey, jc as toWhatsappJid, kc as sleep, ls as resolveChannelGroupPolicy, ms as DEFAULT_MAIN_KEY, ot as resolveStorePath, qc as shouldLogVerbose, ul as normalizeChatChannelId, us as resolveChannelGroupRequireMention, wc as resolveJidToE164, ws as DEFAULT_ACCOUNT_ID, x as readSessionUpdatedAt, xc as normalizeE164, yc as isSelfChatMode, ys as normalizeAgentId, zc as defaultRuntime } from "./runtime-D0lNnUbQ.js";
|
|
3
3
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-C_6JDrWW.js";
|
|
4
4
|
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-BFTJiT2S.js";
|
|
@@ -2,7 +2,7 @@ import "./context-CJ6V3psI.js";
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-_rDlEq6o.js";
|
|
4
4
|
import "./send-DtzHFAyi.js";
|
|
5
|
-
import { n as buildCommandsMessagePaginated, r as buildHelpMessage, t as buildCommandsMessage } from "./status-
|
|
5
|
+
import { n as buildCommandsMessagePaginated, r as buildHelpMessage, t as buildCommandsMessage } from "./status-Nui317wc.js";
|
|
6
6
|
import "./paths-BWMjKGHZ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-C73OwMSd.js";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as resolveSlackUserAllowlist, $t as listDevicePairing, At as summarizeMapping, Bt as recordPendingHistoryEntry, Ct as createTypingCallbacks, Dt as resolveMentionGating, Et as shouldAckReactionForWhatsApp, G as attachFooterText, Gt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, H as processLineMessage, It as buildPendingHistoryContextFromMap, Jt as isRequestBodyLimitError, Kt as RequestBodyLimitError, Lt as clearHistoryEntries, Mt as formatInboundFromLabel, Ot as resolveMentionGatingWithBypass, Pt as DEFAULT_GROUP_HISTORY_LIMIT, Qt as approveDevicePairing, Rt as clearHistoryEntriesIfEnabled, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as logTypingFailure, Tt as shouldAckReaction, U as stripMarkdown, V as hasMarkdownToConvert, Vt as recordPendingHistoryEntryIfEnabled, W as createReceiptCard, Wt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Xt as readRequestBodyWithLimit, Yt as readJsonBodyWithLimit, Zt as requestBodyErrorToText, _ as resolveDefaultLineAccountId, _n as formatAllowlistMatchMeta, _t as stringEnum, an as readStoreAllowFromForDmPolicy, at as autoBindSpawnedDiscordSubagent, bn as BLUEBUBBLES_ACTION_NAMES, bt as logAckFailure, cn as resolveEffectiveAllowFromLists, ct as isDangerousNameMatchingEnabled, dn as resolveAllowlistProviderRuntimeGroupPolicy, dt as formatDocsLink, en as rejectDevicePairing, et as resolveSlackChannelAllowlist, fn as resolveDefaultGroupPolicy, ft as registerAcpRuntimeBackend, g as normalizeAccountId$1, gn as registerPluginHttpRoute, gt as optionalStringEnum, h as listLineAccountIds, hn as assertOkOrThrowHttpError, ht as buildMediaPayload, in as DM_GROUP_ACCESS_REASON, it as collectDiscordAuditChannelIds, kt as mergeAllowlist, ln as resolveControlCommandGate, lt as issuePairingChallenge, mn as warnMissingProviderGroupPolicyFallbackOnce, mt as AcpRuntimeError, nn as extractToolSend, nt as resolveDiscordUserAllowlist, on as resolveDmGroupAccessWithCommandGate, ot as listThreadBindingsBySessionKey, pn as resolveOpenProviderRuntimeGroupPolicy, pt as unregisterAcpRuntimeBackend, qt as installRequestBodyLimitGuard, rn as withTempDownloadPath, rt as resolveDiscordChannelAllowlist, sn as resolveDmGroupAccessWithLists, st as unbindThreadBindingsBySessionKey, tn as createDedupeCache, tt as detectBinary, un as GROUP_POLICY_BLOCKED_LABEL, v as resolveLineAccount, vn as resolveAllowlistMatchSimple, vt as recordInboundSession, wt as removeAckReactionAfterReply, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as logInboundDrop, yn as BLUEBUBBLES_ACTIONS, yt as resolveChannelMediaMaxBytes, zt as evictOldHistoryKeys } from "./reply-
|
|
1
|
+
import { $ as resolveSlackUserAllowlist, $t as listDevicePairing, At as summarizeMapping, Bt as recordPendingHistoryEntry, Ct as createTypingCallbacks, Dt as resolveMentionGating, Et as shouldAckReactionForWhatsApp, G as attachFooterText, Gt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, H as processLineMessage, It as buildPendingHistoryContextFromMap, Jt as isRequestBodyLimitError, Kt as RequestBodyLimitError, Lt as clearHistoryEntries, Mt as formatInboundFromLabel, Ot as resolveMentionGatingWithBypass, Pt as DEFAULT_GROUP_HISTORY_LIMIT, Qt as approveDevicePairing, Rt as clearHistoryEntriesIfEnabled, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as logTypingFailure, Tt as shouldAckReaction, U as stripMarkdown, V as hasMarkdownToConvert, Vt as recordPendingHistoryEntryIfEnabled, W as createReceiptCard, Wt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Xt as readRequestBodyWithLimit, Yt as readJsonBodyWithLimit, Zt as requestBodyErrorToText, _ as resolveDefaultLineAccountId, _n as formatAllowlistMatchMeta, _t as stringEnum, an as readStoreAllowFromForDmPolicy, at as autoBindSpawnedDiscordSubagent, bn as BLUEBUBBLES_ACTION_NAMES, bt as logAckFailure, cn as resolveEffectiveAllowFromLists, ct as isDangerousNameMatchingEnabled, dn as resolveAllowlistProviderRuntimeGroupPolicy, dt as formatDocsLink, en as rejectDevicePairing, et as resolveSlackChannelAllowlist, fn as resolveDefaultGroupPolicy, ft as registerAcpRuntimeBackend, g as normalizeAccountId$1, gn as registerPluginHttpRoute, gt as optionalStringEnum, h as listLineAccountIds, hn as assertOkOrThrowHttpError, ht as buildMediaPayload, in as DM_GROUP_ACCESS_REASON, it as collectDiscordAuditChannelIds, kt as mergeAllowlist, ln as resolveControlCommandGate, lt as issuePairingChallenge, mn as warnMissingProviderGroupPolicyFallbackOnce, mt as AcpRuntimeError, nn as extractToolSend, nt as resolveDiscordUserAllowlist, on as resolveDmGroupAccessWithCommandGate, ot as listThreadBindingsBySessionKey, pn as resolveOpenProviderRuntimeGroupPolicy, pt as unregisterAcpRuntimeBackend, qt as installRequestBodyLimitGuard, rn as withTempDownloadPath, rt as resolveDiscordChannelAllowlist, sn as resolveDmGroupAccessWithLists, st as unbindThreadBindingsBySessionKey, tn as createDedupeCache, tt as detectBinary, un as GROUP_POLICY_BLOCKED_LABEL, v as resolveLineAccount, vn as resolveAllowlistMatchSimple, vt as recordInboundSession, wt as removeAckReactionAfterReply, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as logInboundDrop, yn as BLUEBUBBLES_ACTIONS, yt as resolveChannelMediaMaxBytes, zt as evictOldHistoryKeys } from "./reply-Cc_88l-g.js";
|
|
2
2
|
import { $i as normalizeWhatsAppMessagingTarget, $o as resolveSignalAccount, Ai as listDiscordDirectoryGroupsFromConfig, Bo as isTruthyEnvValue, Bt as GroupPolicySchema, Ca as resolveWhatsAppAccount, Ct as MSTeamsConfigSchema, Ec as safeParseJson, Et as TelegramConfigSchema, Fi as listTelegramDirectoryPeersFromConfig, Go as resolveDefaultSlackAccountId, Gt as TtsConfigSchema, Ha as resolveDefaultTelegramAccountId, Ho as buildSlackThreadingToolContext, Ht as MarkdownTableModeSchema, Ii as listWhatsAppDirectoryGroupsFromConfig, It as ToolPolicySchema, Jt as normalizeAllowFrom, Ko as resolveSlackAccount, Kt as TtsModeSchema, La as formatCliCommand, Lc as stripAnsi, Li as listWhatsAppDirectoryPeersFromConfig, Lr as acquireFileLock, Lt as BlockStreamingCoalesceSchema, Mi as listSlackDirectoryGroupsFromConfig, Ni as listSlackDirectoryPeersFromConfig, Pi as listTelegramDirectoryGroupsFromConfig, Qi as normalizeWhatsAppAllowFromEntries, Qo as resolveDefaultSignalAccountId, Ri as looksLikeSlackTargetId, Rr as withFileLock, Rt as DmConfigSchema, Sa as resolveDefaultWhatsAppAccountId, Sc as pathExists, Ss as resolveThreadSessionKeys, St as IMessageConfigSchema, Ts as normalizeAccountId, Tt as SlackConfigSchema, Ua as resolveTelegramAccount, Uo as listEnabledSlackAccounts, Ut as ReplyRuntimeConfigSchemaShape, Va as listTelegramAccountIds, Vt as MarkdownConfigSchema, Wo as listSlackAccountIds, Wt as TtsAutoSchema, Xi as resolveWhatsAppMentionStripPatterns, Yi as resolveWhatsAppGroupIntroHint, Yt as requireOpenAllowFrom, Zi as looksLikeWhatsAppTargetId, Zo as listSignalAccountIds, _a as resolveTelegramGroupToolPolicy, aa as normalizeSignalMessagingTarget, bt as DiscordConfigSchema, ca as resolveDiscordGroupRequireMention, da as resolveGoogleChatGroupToolPolicy, dc as CONFIG_DIR, dl as normalizePluginHttpPath, ea as looksLikeHandleOrPhoneTarget, el as registerLogTransport, es as listIMessageAccountIds, fa as resolveIMessageGroupRequireMention, fc as clamp, fi as formatErrorMessage, fs as resolveToolsBySender, ga as resolveTelegramGroupRequireMention, gc as escapeRegExp, ha as resolveSlackGroupToolPolicy, hi as redactSensitiveText, ia as looksLikeSignalTargetId, il as getChatChannelMeta, is as listDiscordAccountIds, ji as listDiscordDirectoryPeersFromConfig, kc as sleep, la as resolveDiscordGroupToolPolicy, ma as resolveSlackGroupRequireMention, na as isWhatsAppGroupJid, ns as resolveIMessageAccount, oa as resolveBlueBubblesGroupRequireMention, os as resolveDefaultDiscordAccountId, pa as resolveIMessageGroupToolPolicy, qo as resolveSlackReplyToMode, qt as TtsProviderSchema, ra as normalizeWhatsAppTarget, rl as resolvePreferredFasedAgentTmpDir, sa as resolveBlueBubblesGroupToolPolicy, ss as resolveDiscordAccount, t as getActivePluginRegistry, ta as trimMessagingTarget, ts as resolveDefaultIMessageAccountId, ua as resolveGoogleChatGroupRequireMention, va as resolveWhatsAppGroupRequireMention, vc as isRecord, vi as extractArchive, wa as resolveWhatsAppAuthDir, ws as DEFAULT_ACCOUNT_ID, wt as SignalConfigSchema, xa as listWhatsAppAccountIds, xc as normalizeE164, xt as GoogleChatConfigSchema, ya as resolveWhatsAppGroupToolPolicy, yo as runCommandWithTimeout, yt as WhatsAppConfigSchema, zi as normalizeSlackMessagingTarget, zt as DmPolicySchema } from "./runtime-D0lNnUbQ.js";
|
|
3
3
|
import "./github-copilot-token-CVC_19vl.js";
|
|
4
4
|
import { At as resolveNestedAllowlistDecision, Dt as normalizeChannelSlug, Et as buildChannelKeyCandidates, Ot as resolveChannelEntryMatch, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveChannelEntryMatchWithFallback } from "./send-Cz1xtc1B.js";
|
|
@@ -25,7 +25,7 @@ import "./markdown-tables-DrqOehvV.js";
|
|
|
25
25
|
import "./render-DzUFCfck.js";
|
|
26
26
|
import "./tables-BL0394Ec.js";
|
|
27
27
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-wMCn-Kl0.js";
|
|
28
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
28
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-Dkkw7jD3.js";
|
|
29
29
|
import "./commands-registry-CJVBINrb.js";
|
|
30
30
|
import "./pi-model-discovery-6Xnk3IMC.js";
|
|
31
31
|
import "./send-BAnr9sW7.js";
|
|
@@ -2,7 +2,7 @@ import { ga as defaultRuntime, ma as logWarn } from "./context-CJ6V3psI.js";
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-_rDlEq6o.js";
|
|
4
4
|
import "./send-DtzHFAyi.js";
|
|
5
|
-
import { B as extractFileContentFromSource, H as normalizeMimeList, I as DEFAULT_INPUT_IMAGE_MAX_BYTES, L as DEFAULT_INPUT_IMAGE_MIMES, Q as onAgentEvent, R as DEFAULT_INPUT_MAX_REDIRECTS, U as resolveInputFileLimits, V as extractImageContentFromSource, Z as emitAgentEvent, a as buildAgentMessageFromConversationEntries, at as resolveSessionKey, ct as writeDone, i as handleGatewayPostJsonEndpoint, it as resolveAgentIdForRequest, o as resolveAssistantStreamDeltaText, ot as sendJson, rt as createDefaultDeps, s as agentCommand, st as setSseHeaders, z as DEFAULT_INPUT_TIMEOUT_MS } from "./status-
|
|
5
|
+
import { B as extractFileContentFromSource, H as normalizeMimeList, I as DEFAULT_INPUT_IMAGE_MAX_BYTES, L as DEFAULT_INPUT_IMAGE_MIMES, Q as onAgentEvent, R as DEFAULT_INPUT_MAX_REDIRECTS, U as resolveInputFileLimits, V as extractImageContentFromSource, Z as emitAgentEvent, a as buildAgentMessageFromConversationEntries, at as resolveSessionKey, ct as writeDone, i as handleGatewayPostJsonEndpoint, it as resolveAgentIdForRequest, o as resolveAssistantStreamDeltaText, ot as sendJson, rt as createDefaultDeps, s as agentCommand, st as setSseHeaders, z as DEFAULT_INPUT_TIMEOUT_MS } from "./status-Nui317wc.js";
|
|
6
6
|
import "./paths-BWMjKGHZ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-C73OwMSd.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as emitAgentEvent, I as onAgentEvent, J as resolveSessionKey, K as createDefaultDeps, X as setSseHeaders, Y as sendJson, Z as writeDone, a as DEFAULT_INPUT_TIMEOUT_MS, c as normalizeMimeList, d as handleGatewayPostJsonEndpoint, f as buildAgentMessageFromConversationEntries, i as DEFAULT_INPUT_MAX_REDIRECTS, l as resolveInputFileLimits, m as agentCommand, n as DEFAULT_INPUT_IMAGE_MAX_BYTES, o as extractFileContentFromSource, p as resolveAssistantStreamDeltaText, q as resolveAgentIdForRequest, r as DEFAULT_INPUT_IMAGE_MIMES, s as extractImageContentFromSource } from "./reply-
|
|
1
|
+
import { F as emitAgentEvent, I as onAgentEvent, J as resolveSessionKey, K as createDefaultDeps, X as setSseHeaders, Y as sendJson, Z as writeDone, a as DEFAULT_INPUT_TIMEOUT_MS, c as normalizeMimeList, d as handleGatewayPostJsonEndpoint, f as buildAgentMessageFromConversationEntries, i as DEFAULT_INPUT_MAX_REDIRECTS, l as resolveInputFileLimits, m as agentCommand, n as DEFAULT_INPUT_IMAGE_MAX_BYTES, o as extractFileContentFromSource, p as resolveAssistantStreamDeltaText, q as resolveAgentIdForRequest, r as DEFAULT_INPUT_IMAGE_MIMES, s as extractImageContentFromSource } from "./reply-Cc_88l-g.js";
|
|
2
2
|
import { To as logWarn, zc as defaultRuntime } from "./runtime-D0lNnUbQ.js";
|
|
3
3
|
import "./github-copilot-token-CVC_19vl.js";
|
|
4
4
|
import "./send-Cz1xtc1B.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeProviderId, r as ensureAuthProfileStore } from "./registry-
|
|
1
|
+
import { n as normalizeProviderId, r as ensureAuthProfileStore } from "./registry-DM7FXZZa.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -4,7 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import chalk, { Chalk } from "chalk";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -404,7 +404,7 @@ function readLoggingConfig() {
|
|
|
404
404
|
try {
|
|
405
405
|
if (!fs.existsSync(configPath)) return;
|
|
406
406
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
407
|
-
const logging =
|
|
407
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
408
408
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
409
409
|
return logging;
|
|
410
410
|
} catch {
|
|
@@ -3115,7 +3115,7 @@ function loadPluginManifest(rootDir) {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
let raw;
|
|
3117
3117
|
try {
|
|
3118
|
-
raw =
|
|
3118
|
+
raw = JSON5.parse(fs.readFileSync(opened.fd, "utf-8"));
|
|
3119
3119
|
} catch (err) {
|
|
3120
3120
|
return {
|
|
3121
3121
|
ok: false,
|
|
@@ -13799,7 +13799,7 @@ const defaultResolver = {
|
|
|
13799
13799
|
resolvedPath,
|
|
13800
13800
|
rootRealDir
|
|
13801
13801
|
}),
|
|
13802
|
-
parseJson: (raw) =>
|
|
13802
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
13803
13803
|
};
|
|
13804
13804
|
/**
|
|
13805
13805
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -20412,7 +20412,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
20412
20412
|
function normalizeDeps(overrides = {}) {
|
|
20413
20413
|
return {
|
|
20414
20414
|
fs: overrides.fs ?? fs,
|
|
20415
|
-
json5: overrides.json5 ??
|
|
20415
|
+
json5: overrides.json5 ?? JSON5,
|
|
20416
20416
|
env: overrides.env ?? process.env,
|
|
20417
20417
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
20418
20418
|
configPath: overrides.configPath ?? "",
|
|
@@ -20423,11 +20423,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
20423
20423
|
if (env !== process.env) return;
|
|
20424
20424
|
loadDotEnv({ quiet: true });
|
|
20425
20425
|
}
|
|
20426
|
-
function parseConfigJson5(raw, json5
|
|
20426
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
20427
20427
|
try {
|
|
20428
20428
|
return {
|
|
20429
20429
|
ok: true,
|
|
20430
|
-
parsed: json5
|
|
20430
|
+
parsed: json5.parse(raw)
|
|
20431
20431
|
};
|
|
20432
20432
|
} catch (err) {
|
|
20433
20433
|
return {
|
|
@@ -21298,7 +21298,7 @@ async function loadContextCache() {
|
|
|
21298
21298
|
await ensureFasedModelsJson(cfg);
|
|
21299
21299
|
} catch {}
|
|
21300
21300
|
try {
|
|
21301
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-
|
|
21301
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-runtime-CH-CO0X9.js");
|
|
21302
21302
|
const agentDir = resolveFasedAgentDir();
|
|
21303
21303
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
21304
21304
|
applyDiscoveredContextWindows({
|
|
@@ -4078,7 +4078,7 @@ async function resolveDiscordUserAllowlist(params) {
|
|
|
4078
4078
|
|
|
4079
4079
|
//#endregion
|
|
4080
4080
|
//#region src/brand.ts
|
|
4081
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
4081
|
+
const FASED_PRODUCT_VERSION = "0.1.8";
|
|
4082
4082
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
4083
4083
|
|
|
4084
4084
|
//#endregion
|
|
@@ -20524,7 +20524,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
20524
20524
|
function createDefaultDeps() {
|
|
20525
20525
|
return {
|
|
20526
20526
|
sendMessageWhatsApp: async (...args) => {
|
|
20527
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
20527
|
+
const { sendMessageWhatsApp } = await import("./web-PczC1Ak6.js");
|
|
20528
20528
|
return await sendMessageWhatsApp(...args);
|
|
20529
20529
|
},
|
|
20530
20530
|
sendMessageTelegram: async (...args) => {
|
|
@@ -82793,7 +82793,7 @@ async function preflightDiscordMessage(params) {
|
|
|
82793
82793
|
let preflightTranscript;
|
|
82794
82794
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
82795
82795
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
82796
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
82796
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Blpcv1f2.js");
|
|
82797
82797
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
82798
82798
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
82799
82799
|
ctx: {
|
|
@@ -100622,7 +100622,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
100622
100622
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
100623
100623
|
let preflightTranscript;
|
|
100624
100624
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
100625
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
100625
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Blpcv1f2.js");
|
|
100626
100626
|
preflightTranscript = await transcribeFirstAudio({
|
|
100627
100627
|
ctx: {
|
|
100628
100628
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -103248,7 +103248,7 @@ function loadWebLoginQr() {
|
|
|
103248
103248
|
return webLoginQrPromise;
|
|
103249
103249
|
}
|
|
103250
103250
|
function loadWebChannel() {
|
|
103251
|
-
webChannelPromise ??= import("./web-
|
|
103251
|
+
webChannelPromise ??= import("./web-PczC1Ak6.js");
|
|
103252
103252
|
return webChannelPromise;
|
|
103253
103253
|
}
|
|
103254
103254
|
function loadWhatsAppActions() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const FASED_BRAND_NAME = "Fased";
|
|
2
2
|
export declare const FASED_AGENT_NAME = "Fased Agent";
|
|
3
3
|
export declare const FASED_CONTROL_NAME = "Fased Control";
|
|
4
|
-
export declare const FASED_PRODUCT_VERSION = "0.1.
|
|
5
|
-
export declare const FASED_DISPLAY_VERSION = "v0.1.
|
|
4
|
+
export declare const FASED_PRODUCT_VERSION = "0.1.8";
|
|
5
|
+
export declare const FASED_DISPLAY_VERSION = "v0.1.8";
|
|
6
6
|
export declare function formatFasedDisplayLine(): string;
|