@fased/fased 0.1.9 → 0.1.10
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-C4jz1huI.js → agents-CsxQP5xg.js} +8 -8
- package/dist/{attachment-normalize-C-VpVpLd.js → attachment-normalize-CSxeaVcP.js} +1 -1
- package/dist/{attachment-normalize-DijgHIHy.js → attachment-normalize-f9lQXrZo.js} +1 -1
- package/dist/{audio-preflight-CI7BIPwS.js → audio-preflight-BeJd4YPQ.js} +2 -2
- package/dist/{audio-preflight-U5m63Clr.js → audio-preflight-CVU3GLti.js} +2 -2
- package/dist/{audio-preflight-oqlL2Kux.js → audio-preflight-C_g_wQAc.js} +1 -1
- package/dist/{audio-preflight-C6Lb4XU1.js → audio-preflight-DBtzpOL_.js} +1 -1
- package/dist/{audio-preflight-DLGJBu9O.js → audio-preflight-DD1zXhwM.js} +2 -2
- package/dist/{audit-DwbVJt3i.js → audit-BB2lDlNb.js} +1 -1
- package/dist/{audit-BCtx-_dH.js → audit-CDgqnjys.js} +1 -1
- package/dist/{auth-DIBzLQ-S.js → auth-Bfgwy6TQ.js} +5 -5
- package/dist/{auth-choice-CEeiz47B.js → auth-choice-DbEAsUsi.js} +1 -1
- package/dist/{auth-choice-DOqXUqF_.js → auth-choice-DlcbJgp_.js} +1 -1
- package/dist/{auth-choice-prompt-yqlvFI-_.js → auth-choice-prompt-CcOEzXoi.js} +1 -1
- package/dist/{auth-choice-prompt-FJDk83bS.js → auth-choice-prompt-DMlwK9kF.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-CBfPvCCy.js → channel-web-CMZFjZzU.js} +1 -1
- package/dist/{channel-web-DaircVlX.js → channel-web-qHKfuCHE.js} +1 -1
- package/dist/{channels-BygboZOV.js → channels-BoOF2dAy.js} +6 -6
- package/dist/{channels-DgozxTBh.js → channels-DvT6s1kl.js} +6 -6
- package/dist/{channels-cli-DNz7gmOI.js → channels-cli-CNhEFKbn.js} +5 -5
- package/dist/{channels-cli-CY4n5HcO.js → channels-cli-NoUnbEgC.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CFgX3wef.js → cli-CE8pVYeA.js} +2 -2
- package/dist/{cli-63C0cETT.js → cli-Ctvy4-cz.js} +2 -2
- package/dist/{command-registry-DEiX9EPg.js → command-registry-fqlYdOTI.js} +9 -9
- package/dist/{completion-cli-CRwAyWQL.js → completion-cli-Bd9iPo4A.js} +1 -1
- package/dist/{completion-cli-BzQetGgr.js → completion-cli-CKzB1lB1.js} +2 -2
- package/dist/{config-cli-CPl1vPz0.js → config-cli-CQpqSVFS.js} +1 -1
- package/dist/{config-cli-C7vsh8Fg.js → config-cli-DUNkddbL.js} +1 -1
- package/dist/{configure-BEI_pe6B.js → configure-B2WT8-lE.js} +12 -12
- package/dist/{configure-C8lxNKpB.js → configure-DxDNasaD.js} +12 -12
- package/dist/control-ui/assets/app-wpJSg6bV.js.map +1 -1
- package/dist/{cron-cli-BqD_ZSEC.js → cron-cli-D3Dznk0V.js} +2 -2
- package/dist/{cron-cli-C7i4-Whp.js → cron-cli-DYWW7cv1.js} +2 -2
- package/dist/{daemon-cli-DFYzYoB8.js → daemon-cli-DDUjmEow.js} +1 -1
- package/dist/{daemon-cli-D0AP3mOg.js → daemon-cli-DFjCvbUo.js} +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/{deps-D9aJvXyD.js → deps-4rCQ5SBd.js} +1 -1
- package/dist/{deps-ddWLkZAO.js → deps-CBapZnsi.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-D_Yd_yWi.js → gateway-cli-BXl9lmch.js} +27 -27
- package/dist/{gateway-cli-BJkYYsGs.js → gateway-cli-CNCA_gcT.js} +27 -27
- package/dist/{health-DCFLGVDU.js → health-C_g99tp_.js} +2 -2
- package/dist/{health-gyJixAyN.js → health-DTTfLYjl.js} +2 -2
- package/dist/{heartbeat-runner-Bn9N5npL.js → heartbeat-runner-D04n14H-.js} +1 -1
- package/dist/{heartbeat-runner-BFUvc4Y_.js → heartbeat-runner-DXh84Wuy.js} +1 -1
- package/dist/{hooks-cli-CGj2FDai.js → hooks-cli-BDpBNlPV.js} +3 -3
- package/dist/{hooks-cli-BGFJQWmK.js → hooks-cli-FhVd5CE-.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{ipv4-CjO0_Ry3.js → ipv4-Citn8Cno.js} +2 -2
- package/dist/{ipv4-CBSPFYQB.js → ipv4-P47TSJIK.js} +2 -2
- package/dist/{lifecycle-DFvIF7r0.js → lifecycle-B4RibYD4.js} +1 -1
- package/dist/{lifecycle-BBNnNoX_.js → lifecycle-Bgh3V8Jt.js} +1 -1
- package/dist/{list.auth-overview-DySKd1cu.js → list.auth-overview-BQzrIpgk.js} +1 -1
- package/dist/{list.auth-overview-CpmtoN2D.js → list.auth-overview-fBVXihg0.js} +1 -1
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{model-catalog-DfLJlqO8.js → model-catalog-B2mRe6cZ.js} +6 -6
- package/dist/{models-BbfLyMBF.js → models-D8MTK6SG.js} +4 -4
- package/dist/{models-cli-Bu09lWlb.js → models-cli-Bl8xk6-0.js} +4 -4
- package/dist/{models-cli-DpmciZv6.js → models-cli-CXdCnyks.js} +5 -5
- package/dist/{node-cli-D6iG4Fev.js → node-cli-Cqh8buCU.js} +2 -2
- package/dist/{node-cli-GbiqR_FY.js → node-cli-DkgKrYS1.js} +2 -2
- package/dist/{onboard-BgU-rNfl.js → onboard-BD0MOrv7.js} +6 -6
- package/dist/{onboard-CViA2g_j.js → onboard-Dz8z4vBi.js} +6 -6
- package/dist/{onboard-channels-gHaSwzTd.js → onboard-channels-CPh2EJOi.js} +2 -2
- package/dist/{onboard-channels-BeKekf-a.js → onboard-channels-DUa2qkms.js} +2 -2
- package/dist/{onboard-search-DkOnHZm9.js → onboard-search-BnHMgV2k.js} +5 -5
- package/dist/{onboard-search-COuzKj6_.js → onboard-search-CqiDzWQw.js} +5 -5
- package/dist/{onboarding-CowfhJUD.js → onboarding-BC-5Pv9o.js} +7 -7
- package/dist/{onboarding-nabyJljA.js → onboarding-DgTB_zq7.js} +7 -7
- package/dist/{openresponses-http-D42SXipZ.js → openresponses-http-BQa9rI-N.js} +1 -1
- package/dist/{openresponses-http-C66CR36w.js → openresponses-http-BYiaPg-e.js} +2 -2
- package/dist/{openresponses-http-CdO4hFg_.js → openresponses-http-BirGBJTm.js} +2 -2
- package/dist/{openresponses-http-One5KNo8.js → openresponses-http-BsQmM8zM.js} +1 -1
- package/dist/{openresponses-http-BBydvP41.js → openresponses-http-CcawkBY4.js} +2 -2
- package/dist/{parent-default-help-82dOtJ5b.js → parent-default-help-CpfuGajV.js} +1 -1
- package/dist/{parent-default-help-iR__S_d8.js → parent-default-help-DbMf7NQe.js} +1 -1
- package/dist/{paths-Dwg5yVao.js → paths-BxKqczZV.js} +9 -9
- package/dist/{pi-embedded-BqhMzKsb.js → pi-embedded-Bapdl5Mb.js} +5 -5
- package/dist/{pi-embedded-DLEbV2ey.js → pi-embedded-DlBsi5bC.js} +14 -14
- package/dist/{plugin-registry-DgLnDYKc.js → plugin-registry-2aqMgXpl.js} +1 -1
- package/dist/{plugin-registry-DgnprUWu.js → plugin-registry-C7oTQytM.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-bl33qm06.js → audio-preflight-BbjERcpR.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-B3yRlgpY.js → audio-preflight-Vg4EuYfg.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-BmhttJUt.js → channel-web-JBsCrpEe.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-BkfMH5vT.js → openresponses-http-dj-a8V7Z.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-DVsmkLyj.js → openresponses-http-ihpGpya5.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-Cv_H-NDs.js → pi-model-discovery-runtime-CddkbYKA.js} +1 -1
- package/dist/plugin-sdk/{registry-Dpq_OloZ.js → registry-BhjWgT6A.js} +8 -8
- package/dist/plugin-sdk/{reply-ceu7kXX1.js → reply-CvmqbVx1.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-BcZw5R2P.js → status-DsTgMPSP.js} +5 -5
- package/dist/plugin-sdk/{web-DE0yQyjF.js → web-CLXmBst6.js} +1 -1
- package/dist/plugin-sdk/{web-D_ze88LT.js → web-DHSHEbWK.js} +2 -2
- package/dist/{plugins-cli-gUow1y1s.js → plugins-cli-CXa9m7-A.js} +5 -5
- package/dist/{plugins-cli-Bw8rkcLm.js → plugins-cli-Dj-p00ob.js} +5 -5
- package/dist/{program-D7MpzAVA.js → program-B3cXsVO0.js} +7 -7
- package/dist/{program-context-BnMmmcLR.js → program-context-Di7qiwOM.js} +24 -24
- package/dist/{prompt-select-styled-CZx9cLwR.js → prompt-select-styled-8KBIPNro.js} +4 -4
- package/dist/{prompt-select-styled-DEZExK7l.js → prompt-select-styled-C5o0Ff06.js} +4 -4
- package/dist/{pw-ai-Cjyb5RBL.js → pw-ai-BzOzOwqG.js} +1 -1
- package/dist/{register.agent-B9A7SDz_.js → register.agent-BYkIkPHf.js} +8 -8
- package/dist/{register.agent-DlatKWlA.js → register.agent-ll5ykI9x.js} +9 -9
- package/dist/{register.configure-Tez2eNbW.js → register.configure-C0GU1zbA.js} +12 -12
- package/dist/{register.configure-yNuOFQX6.js → register.configure-DubkYh7h.js} +12 -12
- package/dist/{register.maintenance-Q6YI5mk9.js → register.maintenance-Corgqhj5.js} +8 -8
- package/dist/{register.maintenance-BzVw1_e5.js → register.maintenance-Pz6desR4.js} +9 -9
- package/dist/{register.message-Cda69Xe6.js → register.message-COK8wYD_.js} +3 -3
- package/dist/{register.message-D9LYOvON.js → register.message-oi2ewJpl.js} +3 -3
- package/dist/{register.onboard-D1a2rQDh.js → register.onboard-C7ysxMn6.js} +14 -14
- package/dist/{register.onboard-BoLP06ui.js → register.onboard-zwRY0Dsh.js} +14 -14
- package/dist/{register.setup-DhppZhR2.js → register.setup-B1YGF1bz.js} +14 -14
- package/dist/{register.setup-D_qD7Gvk.js → register.setup-J2tUgD6C.js} +14 -14
- package/dist/{register.status-health-sessions-Csah3svc.js → register.status-health-sessions-DCazjMZa.js} +6 -6
- package/dist/{register.status-health-sessions-C0IsjCxS.js → register.status-health-sessions-DmjjMrJZ.js} +6 -6
- package/dist/{register.subclis-C4Dh6aQK.js → register.subclis-Bj8pFyAT.js} +16 -16
- package/dist/{reply-C3PsVpeQ.js → reply-DQfPM5ia.js} +6 -6
- package/dist/{run-main-XXpwNNGn.js → run-main-Cf6N-U3j.js} +14 -14
- package/dist/{runtime-helper-grants-BTCk3CzW.js → runtime-helper-grants-DONSfqWx.js} +1 -1
- package/dist/{runtime-helper-grants-C10OJEih.js → runtime-helper-grants-DzP6dgWv.js} +1 -1
- package/dist/{sandbox-cli-2MuBwFbv.js → sandbox-cli-CqUHfq55.js} +2 -2
- package/dist/{sandbox-cli-Bft002rK.js → sandbox-cli-DHHAXWD8.js} +2 -2
- package/dist/{security-cli-6CmGeQ7I.js → security-cli-CAEEYR8C.js} +3 -3
- package/dist/{security-cli-DpQep_pt.js → security-cli-DNlCSlQR.js} +3 -3
- package/dist/{server-OidOCKoj.js → server-B67PKank.js} +2 -2
- package/dist/{server-D62kYBqw.js → server-RYyJ2HTj.js} +2 -2
- package/dist/{server-cron-DYKXfeLU.js → server-cron-D7rN6EY6.js} +2 -2
- package/dist/{server-cron--g6K0O5V.js → server-cron-V9GBrg1S.js} +2 -2
- package/dist/{server-node-events-DSvH0zky.js → server-node-events-CAG2ic6e.js} +3 -3
- package/dist/{server-node-events-Csbl1Sw5.js → server-node-events-eh5LuLg6.js} +3 -3
- package/dist/{status-CEqTBWFX.js → status-BuGyo-1M.js} +4 -4
- package/dist/{status-cY8_nNEN.js → status-CTveTSuF.js} +1 -1
- package/dist/{status-DDWMOp5e.js → status-DIkbKBxH.js} +4 -4
- package/dist/{status-e52jwOFE.js → status-jb8w0SwX.js} +1 -1
- package/dist/{tui-K3OJBQvo.js → tui-Dinku0o-.js} +1 -1
- package/dist/{tui-cli-DEHMUby1.js → tui-cli-dq7xafwR.js} +3 -3
- package/dist/{tui-cli-CNL0cM4e.js → tui-cli-z5WV3SVg.js} +3 -3
- package/dist/{tui-B5xfA4bO.js → tui-lmdDZi6Y.js} +1 -1
- package/dist/{update-cli-BqiZ9j4m.js → update-cli-BdQ3mRGs.js} +10 -10
- package/dist/{update-cli-Cr7BTqe1.js → update-cli-Cq47v0X_.js} +9 -9
- package/dist/{update-runner-CycjY65W.js → update-runner-BnRMhKva.js} +1 -1
- package/dist/{update-runner-DcpjVgBR.js → update-runner-C0SU1jGT.js} +1 -1
- package/dist/{web-CLOmxVxX.js → web-B9YrSF5u.js} +2 -2
- package/dist/{web-6MnkoZyD.js → web-BmjUKJI0.js} +3 -3
- package/dist/{web-ChgN9rvX.js → web-D9wmjTDC.js} +3 -3
- package/dist/{web-D6CU81WZ.js → web-DaMiLN7K.js} +1 -1
- package/dist/{web-DhwWGdvc.js → web-sBExtZCA.js} +1 -1
- package/dist/{web-search-providers.runtime-D-uepqZ5.js → web-search-providers.runtime-TGCiBzhv.js} +1 -1
- package/dist/{web-search-providers.runtime-u6_OyUd6.js → web-search-providers.runtime-gM-8LIxg.js} +1 -1
- package/package.json +3 -1
- package/scripts/run-node.mjs +294 -0
- package/scripts/start-managed.sh +1528 -0
|
@@ -2,7 +2,7 @@ import { Ui as logWarn, wa as defaultRuntime } from "./agent-scope-DVw8mi_i.js";
|
|
|
2
2
|
import "./github-copilot-token-DYrFvncE.js";
|
|
3
3
|
import "./send-6RE7ZD_B.js";
|
|
4
4
|
import "./send-DD6K3WP6.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-Bapdl5Mb.js";
|
|
6
6
|
import "./diagnostic-DWKSfm_q.js";
|
|
7
7
|
import "./diagnostic-session-state-CexmAKza.js";
|
|
8
8
|
import "./send-BVmNzYrR.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { au as logWarn } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import "./commands-registry-DfzoWf4b.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-DQfPM5ia.js";
|
|
6
6
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import "./send-DI5jsj-s.js";
|
|
8
8
|
import "./send-Dg2_aoK-.js";
|
|
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
37
37
|
import "./outbound-attachment-BHTb_aF7.js";
|
|
38
38
|
import "./fetch-BJWQWfdf.js";
|
|
39
39
|
import "./delivery-queue-9lp1uujZ.js";
|
|
40
|
-
import { t as createDefaultDeps } from "./deps-
|
|
40
|
+
import { t as createDefaultDeps } from "./deps-CBapZnsi.js";
|
|
41
41
|
import "./memory-e9aOXNx1.js";
|
|
42
42
|
import "./memory-search-B8y2GTeB.js";
|
|
43
43
|
import "./manager-DI2w66Ae.js";
|
|
@@ -2,14 +2,14 @@ import { Sa as defaultRuntime, Vi as logWarn } from "./agent-scope-VtywltNx.js";
|
|
|
2
2
|
import "./github-copilot-token-CNsqwfnE.js";
|
|
3
3
|
import "./send-BIYMEcFp.js";
|
|
4
4
|
import "./send-vYtmO4dA.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-DlBsi5bC.js";
|
|
6
6
|
import "./reply-prefix-bCs4xRE_.js";
|
|
7
7
|
import "./diagnostic-BkUPEf9c.js";
|
|
8
8
|
import "./diagnostic-session-state-CL_QxyRg.js";
|
|
9
9
|
import "./send-DwTjxUii.js";
|
|
10
10
|
import "./media-D-hf-lm_.js";
|
|
11
11
|
import "./pi-model-discovery-DswPX2EG.js";
|
|
12
|
-
import "./paths-
|
|
12
|
+
import "./paths-BxKqczZV.js";
|
|
13
13
|
import "./ssrf-9SwDSKOO.js";
|
|
14
14
|
import "./path-alias-guards-Cft6Dvfn.js";
|
|
15
15
|
import "./fs-safe-Dvm0de7n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./github-copilot-token-Dy7Y_jbI.js";
|
|
2
2
|
import { la as logWarn, qo as defaultRuntime } from "./paths-tN5PnNK1.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-Bfgwy6TQ.js";
|
|
4
4
|
import "./send-DwNxlwDd.js";
|
|
5
5
|
import "./send-TMsshhGX.js";
|
|
6
6
|
import "./skill-commands-Bp7DhFz2.js";
|
|
@@ -2,7 +2,7 @@ import { bd as logWarn } from "./env-Dlz8aQHP.js";
|
|
|
2
2
|
import "./agent-paths-DUHGyU1s.js";
|
|
3
3
|
import "./send-Ditv1VfR.js";
|
|
4
4
|
import "./send-CWM2yWF6.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-B2mRe6cZ.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-CCp0C8w4.js";
|
|
@@ -45,7 +45,7 @@ import "./send-Dlj2DghK.js";
|
|
|
45
45
|
import "./outbound-attachment-D2ImFzcm.js";
|
|
46
46
|
import "./fetch-BqA-KBI4.js";
|
|
47
47
|
import "./delivery-queue-CMGPhIoF.js";
|
|
48
|
-
import { t as createDefaultDeps } from "./deps-
|
|
48
|
+
import { t as createDefaultDeps } from "./deps-4rCQ5SBd.js";
|
|
49
49
|
import "./frontmatter-DTw-J9er.js";
|
|
50
50
|
import "./skills-CzDvK09q.js";
|
|
51
51
|
import "./skills-remote-CM9uNuu4.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Gl as listChannelPlugins, Vf as CHAT_CHANNEL_ORDER, t as isTruthyEnvValue } from "./env-Dlz8aQHP.js";
|
|
2
2
|
import { d as listChannelPluginCatalogEntries } from "./dangerous-name-matching-ob0tR02Y.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-C7oTQytM.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/channel-options.ts
|
|
6
6
|
function dedupe(values) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cd as isTruthyEnvValue, Nu as listChannelPlugins, jf as CHAT_CHANNEL_ORDER } from "./agent-scope-CLn_Ws3B.js";
|
|
2
2
|
import { c as listChannelPluginCatalogEntries } from "./dangerous-name-matching-B2YH8EDF.js";
|
|
3
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-2aqMgXpl.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
|
});
|
|
@@ -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-sBExtZCA.js");
|
|
19111
19111
|
return await sendMessageWhatsApp(...args);
|
|
19112
19112
|
},
|
|
19113
19113
|
sendMessageTelegram: async (...args) => {
|
|
@@ -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-C_g_wQAc.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: {
|
|
@@ -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.10";
|
|
99021
99021
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
99022
99022
|
|
|
99023
99023
|
//#endregion
|
|
@@ -108640,7 +108640,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
108640
108640
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
108641
108641
|
let preflightTranscript;
|
|
108642
108642
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
108643
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
108643
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C_g_wQAc.js");
|
|
108644
108644
|
preflightTranscript = await transcribeFirstAudio({
|
|
108645
108645
|
ctx: {
|
|
108646
108646
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -111266,7 +111266,7 @@ function loadWebLoginQr() {
|
|
|
111266
111266
|
return webLoginQrPromise;
|
|
111267
111267
|
}
|
|
111268
111268
|
function loadWebChannel() {
|
|
111269
|
-
webChannelPromise ??= import("./web-
|
|
111269
|
+
webChannelPromise ??= import("./web-sBExtZCA.js");
|
|
111270
111270
|
return webChannelPromise;
|
|
111271
111271
|
}
|
|
111272
111272
|
function loadWhatsAppActions() {
|
|
@@ -12,7 +12,7 @@ import { t as redactIdentifier } from "./redact-identifier-CA9VAhZA.js";
|
|
|
12
12
|
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-DwTjxUii.js";
|
|
13
13
|
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-D-hf-lm_.js";
|
|
14
14
|
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-DswPX2EG.js";
|
|
15
|
-
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-
|
|
15
|
+
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-BxKqczZV.js";
|
|
16
16
|
import { i as isBlockedHostnameOrIp, o as normalizeHostname, t as SsrFBlockedError } from "./ssrf-9SwDSKOO.js";
|
|
17
17
|
import { n as redactSensitiveUrlLikeString, t as redactSensitiveUrl } from "./redact-sensitive-url-DAsCH1Zm.js";
|
|
18
18
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cft6Dvfn.js";
|
|
@@ -64,7 +64,7 @@ import { AddressLookupTableAccount, PublicKey, VersionedTransaction } from "@sol
|
|
|
64
64
|
import { Type } from "@sinclair/typebox";
|
|
65
65
|
import { Value } from "@sinclair/typebox/value";
|
|
66
66
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
67
|
-
import WebSocket, { WebSocket
|
|
67
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
68
68
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
69
69
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
70
70
|
import "@fedify/fedify";
|
|
@@ -16302,7 +16302,7 @@ var GatewayClient = class {
|
|
|
16302
16302
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
16303
16303
|
});
|
|
16304
16304
|
}
|
|
16305
|
-
this.ws = new WebSocket
|
|
16305
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
16306
16306
|
this.ws.on("open", () => {
|
|
16307
16307
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
16308
16308
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -16498,7 +16498,7 @@ var GatewayClient = class {
|
|
|
16498
16498
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
16499
16499
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
16500
16500
|
this.connectTimer = setTimeout(() => {
|
|
16501
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
16501
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
16502
16502
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
16503
16503
|
this.ws?.close(1008, "connect challenge timeout");
|
|
16504
16504
|
}, connectChallengeTimeoutMs);
|
|
@@ -16540,7 +16540,7 @@ var GatewayClient = class {
|
|
|
16540
16540
|
return null;
|
|
16541
16541
|
}
|
|
16542
16542
|
async request(method, params, opts) {
|
|
16543
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
16543
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
16544
16544
|
const id = randomUUID();
|
|
16545
16545
|
const frame = {
|
|
16546
16546
|
type: "req",
|
|
@@ -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-B9YrSF5u.js");
|
|
19110
19110
|
return await sendMessageWhatsApp(...args);
|
|
19111
19111
|
},
|
|
19112
19112
|
sendMessageTelegram: async (...args) => {
|
|
@@ -53525,7 +53525,7 @@ function isModuleNotFoundError(err) {
|
|
|
53525
53525
|
}
|
|
53526
53526
|
async function loadPwAiModule(mode) {
|
|
53527
53527
|
try {
|
|
53528
|
-
return await import("./pw-ai-
|
|
53528
|
+
return await import("./pw-ai-BzOzOwqG.js");
|
|
53529
53529
|
} catch (err) {
|
|
53530
53530
|
if (mode === "soft") return null;
|
|
53531
53531
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -53919,11 +53919,11 @@ function createProfileContext(opts, profile) {
|
|
|
53919
53919
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
53920
53920
|
const profileState = getProfileState();
|
|
53921
53921
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
53922
|
-
await (await import("./pw-ai-
|
|
53922
|
+
await (await import("./pw-ai-BzOzOwqG.js")).closePlaywrightBrowserConnection();
|
|
53923
53923
|
} catch {}
|
|
53924
53924
|
if (profileState.running) await stopRunningBrowser();
|
|
53925
53925
|
try {
|
|
53926
|
-
await (await import("./pw-ai-
|
|
53926
|
+
await (await import("./pw-ai-BzOzOwqG.js")).closePlaywrightBrowserConnection();
|
|
53927
53927
|
} catch {}
|
|
53928
53928
|
if (!fs.existsSync(userDataDir)) return {
|
|
53929
53929
|
moved: false,
|
|
@@ -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-CVU3GLti.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: {
|
|
@@ -97819,7 +97819,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
97819
97819
|
return super.registerClient(client);
|
|
97820
97820
|
}
|
|
97821
97821
|
createWebSocket(url) {
|
|
97822
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
97822
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
97823
97823
|
}
|
|
97824
97824
|
}
|
|
97825
97825
|
return new ProxyGatewayPlugin();
|
|
@@ -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.10";
|
|
99030
99030
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
99031
99031
|
|
|
99032
99032
|
//#endregion
|
|
@@ -108649,7 +108649,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
108649
108649
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
108650
108650
|
let preflightTranscript;
|
|
108651
108651
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
108652
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
108652
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CVU3GLti.js");
|
|
108653
108653
|
preflightTranscript = await transcribeFirstAudio({
|
|
108654
108654
|
ctx: {
|
|
108655
108655
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -111275,7 +111275,7 @@ function loadWebLoginQr() {
|
|
|
111275
111275
|
return webLoginQrPromise;
|
|
111276
111276
|
}
|
|
111277
111277
|
function loadWebChannel() {
|
|
111278
|
-
webChannelPromise ??= import("./web-
|
|
111278
|
+
webChannelPromise ??= import("./web-B9YrSF5u.js");
|
|
111279
111279
|
return webChannelPromise;
|
|
111280
111280
|
}
|
|
111281
111281
|
function loadWhatsAppActions() {
|
|
@@ -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-CLn_Ws3B.js";
|
|
3
|
-
import { Nt as loadFasedAgentPlugins } from "./reply-
|
|
3
|
+
import { Nt as loadFasedAgentPlugins } from "./reply-DQfPM5ia.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 { Gu as resolveDefaultAgentId, Wu as resolveAgentWorkspaceDir, Xt as loadConfig, a as createSubsystemLogger, p as getActivePluginRegistry } from "./env-Dlz8aQHP.js";
|
|
3
|
-
import { c as loadFasedAgentPlugins } from "./model-catalog-
|
|
3
|
+
import { c as loadFasedAgentPlugins } from "./model-catalog-B2mRe6cZ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/plugin-registry.ts
|
|
6
6
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -2,7 +2,7 @@ import { Ds as shouldLogVerbose, Ts as logVerbose } from "./context-ZGnpCM_T.js"
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-BQNCWVsm.js";
|
|
4
4
|
import "./send-BlzW_qBs.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-DsTgMPSP.js";
|
|
6
6
|
import "./paths-eIxEUaFJ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-D0bfWZMK.js";
|
|
@@ -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-CvmqbVx1.js";
|
|
2
2
|
import { Gc as logVerbose, qc as shouldLogVerbose } from "./runtime-x71O5s-N.js";
|
|
3
3
|
import "./github-copilot-token-CVC_19vl.js";
|
|
4
4
|
import "./send-BhMMKWOk.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-BhjWgT6A.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-CvmqbVx1.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-x71O5s-N.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-DY9n8pqC.js";
|
|
@@ -2,7 +2,7 @@ import "./context-ZGnpCM_T.js";
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-BQNCWVsm.js";
|
|
4
4
|
import "./send-BlzW_qBs.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-DsTgMPSP.js";
|
|
6
6
|
import "./paths-eIxEUaFJ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-D0bfWZMK.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-CvmqbVx1.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-x71O5s-N.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-BhMMKWOk.js";
|
|
@@ -25,7 +25,7 @@ import "./markdown-tables-BPDFC99a.js";
|
|
|
25
25
|
import "./render-DzUFCfck.js";
|
|
26
26
|
import "./tables-CBeKgNEN.js";
|
|
27
27
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CzHPZvQ9.js";
|
|
28
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
28
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-JBsCrpEe.js";
|
|
29
29
|
import "./commands-registry-rxhYCn3h.js";
|
|
30
30
|
import "./pi-model-discovery-Bt88hotH.js";
|
|
31
31
|
import "./send-DEQVHEZ4.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-CvmqbVx1.js";
|
|
2
2
|
import { To as logWarn, zc as defaultRuntime } from "./runtime-x71O5s-N.js";
|
|
3
3
|
import "./github-copilot-token-CVC_19vl.js";
|
|
4
4
|
import "./send-BhMMKWOk.js";
|
|
@@ -2,7 +2,7 @@ import { ga as defaultRuntime, ma as logWarn } from "./context-ZGnpCM_T.js";
|
|
|
2
2
|
import "./github-copilot-token-BMocqO3v.js";
|
|
3
3
|
import "./send-BQNCWVsm.js";
|
|
4
4
|
import "./send-BlzW_qBs.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-DsTgMPSP.js";
|
|
6
6
|
import "./paths-eIxEUaFJ.js";
|
|
7
7
|
import "./ssrf-CZsNT0Hn.js";
|
|
8
8
|
import "./reply-prefix-D0bfWZMK.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-BhjWgT6A.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$1 = json5) {
|
|
20427
20427
|
try {
|
|
20428
20428
|
return {
|
|
20429
20429
|
ok: true,
|
|
20430
|
-
parsed: json5.parse(raw)
|
|
20430
|
+
parsed: json5$1.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-CddkbYKA.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.10";
|
|
4082
4082
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
4083
4083
|
|
|
4084
4084
|
//#endregion
|
|
@@ -20534,7 +20534,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
20534
20534
|
function createDefaultDeps() {
|
|
20535
20535
|
return {
|
|
20536
20536
|
sendMessageWhatsApp: async (...args) => {
|
|
20537
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
20537
|
+
const { sendMessageWhatsApp } = await import("./web-DHSHEbWK.js");
|
|
20538
20538
|
return await sendMessageWhatsApp(...args);
|
|
20539
20539
|
},
|
|
20540
20540
|
sendMessageTelegram: async (...args) => {
|
|
@@ -82803,7 +82803,7 @@ async function preflightDiscordMessage(params) {
|
|
|
82803
82803
|
let preflightTranscript;
|
|
82804
82804
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
82805
82805
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
82806
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
82806
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Vg4EuYfg.js");
|
|
82807
82807
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
82808
82808
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
82809
82809
|
ctx: {
|
|
@@ -100632,7 +100632,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
100632
100632
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
100633
100633
|
let preflightTranscript;
|
|
100634
100634
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
100635
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
100635
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Vg4EuYfg.js");
|
|
100636
100636
|
preflightTranscript = await transcribeFirstAudio({
|
|
100637
100637
|
ctx: {
|
|
100638
100638
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -103258,7 +103258,7 @@ function loadWebLoginQr() {
|
|
|
103258
103258
|
return webLoginQrPromise;
|
|
103259
103259
|
}
|
|
103260
103260
|
function loadWebChannel() {
|
|
103261
|
-
webChannelPromise ??= import("./web-
|
|
103261
|
+
webChannelPromise ??= import("./web-DHSHEbWK.js");
|
|
103262
103262
|
return webChannelPromise;
|
|
103263
103263
|
}
|
|
103264
103264
|
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.10";
|
|
5
|
+
export declare const FASED_DISPLAY_VERSION = "v0.1.10";
|
|
6
6
|
export declare function formatFasedDisplayLine(): string;
|