@bitseek/claw 1.3.10-beta.1 → 1.3.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/{acp-cli-BW0Dvkhh.js → acp-cli-BKsxHhdT.js} +2 -2
- package/dist/{acp-cli-Bt83My-G.js → acp-cli-KBNX_uXy.js} +2 -2
- package/dist/{agents-CfwaUUzc.js → agents-CSco3QCV.js} +5 -5
- package/dist/{agents.config-DHX7f-II.js → agents.config-Dzz_a9Mp.js} +1 -1
- package/dist/{agents.config-YFwIb3TI.js → agents.config-LYVTdqX3.js} +1 -1
- package/dist/{audio-preflight-Be5qvEQA.js → audio-preflight-0cqr2ck2.js} +3 -3
- package/dist/{audio-preflight-CRllHcyv.js → audio-preflight-COA5tnZv.js} +3 -3
- package/dist/{audio-preflight-BxZJpmRQ.js → audio-preflight-CoLgRr1u.js} +3 -3
- package/dist/{audio-preflight-UJQ0M6Hl.js → audio-preflight-q7ZFguqv.js} +3 -3
- package/dist/{audio-transcription-runner-Dnkt3gmf.js → audio-transcription-runner--RGWC8nR.js} +1 -1
- package/dist/{audio-transcription-runner-_HLf10kW.js → audio-transcription-runner-BLpgvFWB.js} +1 -1
- package/dist/{audio-transcription-runner-DVI-SHAn.js → audio-transcription-runner-CrM5-5xi.js} +1 -1
- package/dist/{audio-transcription-runner-WwCG9VCF.js → audio-transcription-runner-s4TXhBuF.js} +1 -1
- package/dist/{audit-Ct605ugr.js → audit-D013ewlH.js} +3 -3
- package/dist/{audit-D-QnHZqm.js → audit-l_hNB_7d.js} +3 -3
- package/dist/{auth-choice-CYJe-sOy.js → auth-choice-BRVQOSOG.js} +2 -2
- package/dist/{auth-choice-C2N-LUBR.js → auth-choice-DzsegmXk.js} +2 -2
- package/dist/{banner-C4GZFnfu.js → banner-CZb1jHEj.js} +1 -1
- package/dist/{browser-cli-DGLAbUwi.js → browser-cli-DtLO_KqJ.js} +3 -3
- package/dist/{browser-cli-D2wMcHia.js → browser-cli-VBhMcj3d.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +5 -5
- package/dist/bundled/session-memory/handler.js +5 -5
- package/dist/{call-Dx2aHVrt.js → call-BxxjyXST.js} +1 -1
- package/dist/{call-BdLuBL48.js → call-DU_f0KMj.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-MWKuSMlJ.js → channel-options-BpjOUwv4.js} +1 -1
- package/dist/{channel-options-Df9B8tD2.js → channel-options-CwgtYRMM.js} +1 -1
- package/dist/{channel-web-CmZ5LJFz.js → channel-web-Cv_ZFOZJ.js} +2 -2
- package/dist/{channel-web-CZj36UOq.js → channel-web-DekWEF-x.js} +2 -2
- package/dist/{channels-cli-CrpfRxVo.js → channels-cli-C8u7RwGw.js} +13 -13
- package/dist/{channels-cli-DV6Cp2_m.js → channels-cli-d0TsshWJ.js} +13 -13
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-IXAHPzCM.js → cli-Bte8NFEF.js} +8 -8
- package/dist/{cli-Fm20on0Y.js → cli-H2qqzBh-.js} +8 -8
- package/dist/{client-DVME2dNA.js → client-Ct3INy6Q.js} +1 -0
- package/dist/{client-CluJsNRo.js → client-zj7haqMb.js} +1 -0
- package/dist/{command-registry-C3Gr6QIZ.js → command-registry-C7RGVIsP.js} +11 -11
- package/dist/{completion-cli-DcmfM_XB.js → completion-cli-CtlUQOU1.js} +1 -1
- package/dist/{completion-cli-D96BgcqD.js → completion-cli-D9Bs9sNg.js} +2 -2
- package/dist/{config-cli-DXlVuWUo.js → config-cli-7YppRhHT.js} +1 -1
- package/dist/{config-cli-CR5YWpNX.js → config-cli-BgT87I31.js} +1 -1
- package/dist/{configure-CwQnyhnv.js → configure-CyZK-h8l.js} +6 -6
- package/dist/{configure-BXys8MUC.js → configure-DIknS6D2.js} +6 -6
- package/dist/control-ui/assets/{index-ixU5putu.js → index-BX-BH831.js} +408 -362
- package/dist/control-ui/assets/index-BX-BH831.js.map +1 -0
- package/dist/control-ui/assets/{index-EvU5ZebS.css → index-CG7TGGhP.css} +1 -1
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-CDE1OFDG.js → cron-cli-CF5BP-n7.js} +3 -3
- package/dist/{cron-cli-GqIWWgiC.js → cron-cli-DXGeT8Mw.js} +3 -3
- package/dist/{daemon-cli-D73VJA_5.js → daemon-cli-0g2nkiie.js} +2 -2
- package/dist/{daemon-cli-CEmNv817.js → daemon-cli-CYtFdzXW.js} +2 -2
- package/dist/daemon-cli.js +1 -0
- package/dist/{dashboard-DTlNIb75.js → dashboard-BzxWDKE9.js} +1 -1
- package/dist/{dashboard-DvN1mA5u.js → dashboard-EG5nMcy-.js} +1 -1
- package/dist/{deliver-UlKfF5ki.js → deliver-CjCvs92K.js} +1 -1
- package/dist/{deliver-CeItj33i.js → deliver-DkGKUNSW.js} +1 -1
- package/dist/{deliver-BR94HzGu.js → deliver-DvxmGKU7.js} +1 -1
- package/dist/{deliver-Ed6oj5Hr.js → deliver-nnwtUHe4.js} +1 -1
- package/dist/{devices-cli-BE_t6kEW.js → devices-cli-BMNzYzfw.js} +2 -2
- package/dist/{devices-cli-DolMfE77.js → devices-cli-DhkpGf9W.js} +2 -2
- package/dist/{doctor-completion-DiVJuSS4.js → doctor-completion-59O1eGAD.js} +1 -1
- package/dist/{doctor-completion-nOnIa5ym.js → doctor-completion-D1YQPRLZ.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-cli-qbLlzazr.js → exec-approvals-cli-Cfh3OhWq.js} +4 -4
- package/dist/{exec-approvals-cli-xVv5uofa.js → exec-approvals-cli-CoxiMlt5.js} +4 -4
- package/dist/extensionAPI.js +5 -5
- package/dist/{gateway-cli-jZ-EpLEa.js → gateway-cli-DneVvyuB.js} +33 -25
- package/dist/{gateway-cli-C1IqQHY2.js → gateway-cli-RrWvU33e.js} +33 -25
- package/dist/{gateway-rpc-CEueWk1E.js → gateway-rpc-DSDDTb9T.js} +1 -1
- package/dist/{gateway-rpc-yBoALaWH.js → gateway-rpc-DiWvH8Pq.js} +1 -1
- package/dist/{health-DeofgoIV.js → health-BEGEjMAH.js} +3 -3
- package/dist/{health-DOGcHcgN.js → health-BPybWGw9.js} +3 -3
- package/dist/{hooks-cli-Dh_3-NNe.js → hooks-cli-Cigd_Wfj.js} +9 -9
- package/dist/{hooks-cli-BfA8a5jt.js → hooks-cli-f7lcBr1x.js} +9 -9
- package/dist/{image-XqGcCt9q.js → image-5kjT0Ifv.js} +1 -1
- package/dist/{image-HyFl8MrD.js → image-BsWoO0mu.js} +1 -1
- package/dist/{image-BKHeF2sO.js → image-Cboo5_y3.js} +1 -1
- package/dist/{image-DcfdUryQ.js → image-Cj831azd.js} +1 -1
- package/dist/index.js +13 -13
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{logs-cli-p5kAh0qi.js → logs-cli-Clchi69N.js} +3 -3
- package/dist/{logs-cli-Dv8TRwyI.js → logs-cli-Dsmur7V7.js} +3 -3
- package/dist/{models-x91yp20X.js → models-DpcOB3vj.js} +3 -3
- package/dist/{models-cli-DsaQe3L8.js → models-cli-Bi4rH3wA.js} +10 -10
- package/dist/{models-cli-Of0Dt4T3.js → models-cli-DUzbk_7x.js} +9 -9
- package/dist/{node-cli-Do62XUPs.js → node-cli-Bw3p8-Sf.js} +1 -1
- package/dist/{node-cli-BabqC8Zy.js → node-cli-CP6SmQRY.js} +1 -1
- package/dist/{node-command-policy-CcKer6vK.js → node-command-policy-B6a4rlIk.js} +1 -1
- package/dist/{node-command-policy-Dk_UuHKt.js → node-command-policy-DDNdYXwK.js} +1 -1
- package/dist/{nodes-cli-Dpzu3xiW.js → nodes-cli-Bl9i1yqi.js} +3 -3
- package/dist/{nodes-cli-pFODdHtG.js → nodes-cli-Cd4bT0G_.js} +3 -3
- package/dist/{npm-resolution-tKQdyyrr.js → npm-resolution-B-kbVjrb.js} +1 -1
- package/dist/{npm-resolution-Dh42ChiK.js → npm-resolution-Dlw89aWh.js} +1 -1
- package/dist/{onboard-vOB2yRup.js → onboard-B45AuSWn.js} +3 -3
- package/dist/{onboard-pwWKjijO.js → onboard-Cu0G7EAR.js} +3 -3
- package/dist/{onboard-channels-BVZJDmqk.js → onboard-channels-DHx-uZCo.js} +2 -2
- package/dist/{onboard-channels-zkzv3Yvo.js → onboard-channels-Dmrl0eA6.js} +2 -2
- package/dist/{onboard-helpers-DLQ_XMs1.js → onboard-helpers-D37MuS-y.js} +1 -1
- package/dist/{onboard-helpers-Oi4C_OMX.js → onboard-helpers-DEzzN6tA.js} +1 -1
- package/dist/{onboard-remote-C1-vrrIn.js → onboard-remote-C03eTxXO.js} +1 -1
- package/dist/{onboard-remote-XXaOoJYC.js → onboard-remote-C_jBXm-z.js} +1 -1
- package/dist/{onboard-skills-C8Mue7Px.js → onboard-skills-D7ZRTLs3.js} +1 -1
- package/dist/{onboard-skills-BxC5udud.js → onboard-skills-VGug58zB.js} +1 -1
- package/dist/{onboarding-W2AiGqjG.js → onboarding-VPTSOvzr.js} +7 -7
- package/dist/{onboarding-Dqr7aZ7Y.js → onboarding-ZExAuMgK.js} +7 -7
- package/dist/{onboarding.finalize-QfwQJFMM.js → onboarding.finalize-DfoOvZxa.js} +13 -13
- package/dist/{onboarding.finalize-DIWji8d4.js → onboarding.finalize-DyZzlCN9.js} +14 -14
- package/dist/{onboarding.gateway-config-CsSayEFl.js → onboarding.gateway-config-33VygMXh.js} +4 -4
- package/dist/{onboarding.gateway-config-DImrb8_4.js → onboarding.gateway-config-DYozawla.js} +4 -4
- package/dist/{pi-embedded-D_5_WIVV.js → pi-embedded-CLpkFzke.js} +21 -13
- package/dist/{pi-embedded-DO73FSrv.js → pi-embedded-JvXxFqT7.js} +21 -13
- package/dist/{pi-embedded-helpers-J2caGJww.js → pi-embedded-helpers-CKEoEHoe.js} +13 -1
- package/dist/{pi-embedded-helpers-DeshJQRZ.js → pi-embedded-helpers-CYvB-mUe.js} +13 -1
- package/dist/{pi-embedded-helpers-C6qtvkzL.js → pi-embedded-helpers-CrqtHYYD.js} +13 -1
- package/dist/{pi-embedded-helpers-BvHlsuFU.js → pi-embedded-helpers-DQudcPte.js} +13 -1
- package/dist/{plugin-registry-fStNzAh6.js → plugin-registry-D8mx10Uh.js} +1 -1
- package/dist/{plugin-registry-BTbNdUJI.js → plugin-registry-gZUfqcq8.js} +1 -1
- package/dist/plugin-sdk/agents/pi-embedded-helpers/errors.d.ts +6 -0
- package/dist/plugin-sdk/agents/pi-embedded-helpers.d.ts +1 -1
- package/dist/plugin-sdk/{audio-preflight-CnShZx3d.js → audio-preflight-DbFTsm9v.js} +3 -3
- package/dist/plugin-sdk/{audio-transcription-runner-02Kf0QEw.js → audio-transcription-runner-BP6ArtIg.js} +1 -1
- package/dist/plugin-sdk/{channel-web-kSEIZEuw.js → channel-web-DugGqCi6.js} +2 -2
- package/dist/plugin-sdk/{deliver-TLuU1nrG.js → deliver-DjyqqLGN.js} +1 -1
- package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +1 -0
- package/dist/plugin-sdk/gateway/protocol/schema/protocol-schemas.d.ts +1 -0
- package/dist/plugin-sdk/{image-DthA-2Bt.js → image-B73NNIZF.js} +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/plugin-sdk/{pi-embedded-helpers-5SLsxaPD.js → pi-embedded-helpers-Cb9NLnv7.js} +13 -1
- package/dist/plugin-sdk/{reply-B_uFeTht.js → reply-BetOKhtK.js} +21 -13
- package/dist/plugin-sdk/{web-CY6oM5WK.js → web-C_bWyLWF.js} +6 -6
- package/dist/{plugins-cli-Co-nvd9J.js → plugins-cli-BT_YdHlo.js} +9 -9
- package/dist/{plugins-cli-CJH6AKMz.js → plugins-cli-CL2MrWZt.js} +9 -9
- package/dist/{program-CNpQbt0K.js → program-DIvdihfF.js} +14 -14
- package/dist/{program-context-CGNIVn8U.js → program-context-DFXBN0ZY.js} +31 -31
- package/dist/{prompt-select-styled-CnF7G9nh.js → prompt-select-styled-D6W6ZbLn.js} +6 -6
- package/dist/{prompt-select-styled-CIRPu5Ka.js → prompt-select-styled-Do1qynXW.js} +6 -6
- package/dist/{provider-auth-helpers-DjIygYv_.js → provider-auth-helpers-59RRb092.js} +1 -1
- package/dist/{provider-auth-helpers-CNUvu0a0.js → provider-auth-helpers-BEYTbEO-.js} +1 -1
- package/dist/{push-apns-D80k7T9j.js → push-apns-BK4xHeAC.js} +1 -1
- package/dist/{push-apns-BgQum9Gy.js → push-apns-Cr1-03ZS.js} +1 -1
- package/dist/{register.agent-Bhyoci3o.js → register.agent-FsyQ2Nm4.js} +13 -13
- package/dist/{register.agent-kfyfQI8T.js → register.agent-K6fKhk-d.js} +14 -14
- package/dist/{register.configure-B7NHNcfM.js → register.configure-CCQ90-H1.js} +16 -16
- package/dist/{register.configure-B5HCAfdz.js → register.configure-DS8ihv8X.js} +16 -16
- package/dist/{register.maintenance-BD1oDxC-.js → register.maintenance-DT2aoHXy.js} +16 -16
- package/dist/{register.maintenance-C1PaIvLI.js → register.maintenance-Dnr1w5A1.js} +15 -15
- package/dist/{register.message-CveEoRPg.js → register.message-BLhsi48W.js} +9 -9
- package/dist/{register.message-D-1QnCw_.js → register.message-p-nIqAYY.js} +9 -9
- package/dist/{register.onboard-DxdKBYPa.js → register.onboard-CC50fpnA.js} +5 -5
- package/dist/{register.onboard-DTH8w4yg.js → register.onboard-pMGHuLqk.js} +5 -5
- package/dist/{register.setup-B0xOuiw1.js → register.setup-CP__vdzh.js} +5 -5
- package/dist/{register.setup-B_QzzqYV.js → register.setup-CwMkpOf-.js} +5 -5
- package/dist/{register.start-csWISzdo.js → register.start-CZMSVRfr.js} +4 -4
- package/dist/{register.start-BKHJP2Is.js → register.start-K1LpFGp0.js} +4 -4
- package/dist/{register.status-health-sessions-DdoDk6tI.js → register.status-health-sessions-C3RoepIh.js} +12 -12
- package/dist/{register.status-health-sessions-QfEbhT67.js → register.status-health-sessions-Dr1-y3qs.js} +12 -12
- package/dist/{register.subclis-C6ixj03Z.js → register.subclis-B9f3-nRB.js} +21 -21
- package/dist/{reply-DkwQo3LK.js → reply-Cm66z0-z.js} +24 -17
- package/dist/{rpc-Ca9dlA9v.js → rpc-CclOFzPV.js} +1 -1
- package/dist/{rpc-CI7SPdeS.js → rpc-rTqBtgDp.js} +1 -1
- package/dist/{run-main-CiyxqGgu.js → run-main-B6QZLb6Z.js} +21 -21
- package/dist/{secrets-cli-DEGkMLrT.js → secrets-cli-CfmktxZw.js} +3 -3
- package/dist/{secrets-cli-DVRKrzox.js → secrets-cli-i2YWj3kH.js} +3 -3
- package/dist/{security-cli-608Hrkk0.js → security-cli-50tLKbQX.js} +4 -4
- package/dist/{security-cli-D4O7OC12.js → security-cli-B-t3jhRM.js} +4 -4
- package/dist/{server-node-events-CXwSn_of.js → server-node-events-DIZCYbQS.js} +9 -9
- package/dist/{server-node-events-DC1BMCVn.js → server-node-events-p6pocXHJ.js} +9 -9
- package/dist/{status-CBRTQ939.js → status-Bk0e2K3D.js} +5 -5
- package/dist/{status-BB7xEcRf.js → status-DeOsbp6k.js} +5 -5
- package/dist/{subagent-registry-BcuTxEMl.js → subagent-registry-ChrhyhQ5.js} +24 -17
- package/dist/{system-cli-CFkPJfOG.js → system-cli-BNHXiAuw.js} +3 -3
- package/dist/{system-cli-C0Ed85zv.js → system-cli-im47tHnN.js} +3 -3
- package/dist/{tui-B7dzJD1I.js → tui-BqRCX-bp.js} +3 -3
- package/dist/{tui-BRtGtxGi.js → tui-DhEGvFT0.js} +3 -3
- package/dist/{tui-cli-CjdbITUY.js → tui-cli-Bjx0DKT6.js} +4 -4
- package/dist/{tui-cli-q5z-00Hw.js → tui-cli-Bo7syV8j.js} +4 -4
- package/dist/{update-cli-BBJFl04y.js → update-cli-CGZx-QNj.js} +15 -15
- package/dist/{update-cli-B4lljwO3.js → update-cli-Cwwll1Xd.js} +16 -16
- package/dist/{update-runner-D60XSU4r.js → update-runner-meF3Yj68.js} +1 -1
- package/dist/{update-runner-DyCzzM9h.js → update-runner-sLKFIJY-.js} +1 -1
- package/dist/{web-BxoxUANA.js → web-C8qeseGa.js} +5 -5
- package/dist/{web-DLuhYIW3.js → web-CUoANEo6.js} +5 -5
- package/dist/{web-T0rbkNL4.js → web-Dyvr-ZYW.js} +9 -9
- package/dist/{web-DXuCeyJX.js → web-pvjSSXiL.js} +9 -9
- package/docs/plans/2026-03-27-bitseek-topup-modal-design.md +52 -0
- package/package.json +1 -1
- package/dist/control-ui/assets/index-ixU5putu.js.map +0 -1
|
@@ -32,22 +32,22 @@ import "./accounts-MEuVJDoB.js";
|
|
|
32
32
|
import "./bindings-BDScuSfd.js";
|
|
33
33
|
import "./send-BLv3U-2N.js";
|
|
34
34
|
import "./send-BUqXYyi5.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-ChrhyhQ5.js";
|
|
36
36
|
import "./paths-oIurw4YQ.js";
|
|
37
37
|
import "./chat-envelope-AUuZAcrC.js";
|
|
38
|
-
import "./client-
|
|
39
|
-
import "./call-
|
|
38
|
+
import "./client-Ct3INy6Q.js";
|
|
39
|
+
import "./call-BxxjyXST.js";
|
|
40
40
|
import "./pairing-token-fCKTYUJ-.js";
|
|
41
41
|
import "./net-B1yWST2Q.js";
|
|
42
42
|
import "./tailnet-D67wyPIH.js";
|
|
43
43
|
import "./tokens-COy2Fxku.js";
|
|
44
44
|
import "./with-timeout-DUosdGNq.js";
|
|
45
|
-
import "./deliver-
|
|
45
|
+
import "./deliver-DkGKUNSW.js";
|
|
46
46
|
import "./diagnostic-BS_rmYNQ.js";
|
|
47
47
|
import "./diagnostic-session-state-B5Z0I32_.js";
|
|
48
48
|
import "./send-BLyXZjPe.js";
|
|
49
49
|
import "./image-ops-_2-6WZ4r.js";
|
|
50
|
-
import "./pi-embedded-helpers-
|
|
50
|
+
import "./pi-embedded-helpers-CrqtHYYD.js";
|
|
51
51
|
import "./sandbox-ClasEjRW.js";
|
|
52
52
|
import "./tool-catalog-CDe8aNjS.js";
|
|
53
53
|
import "./chrome-F8yPeLCk.js";
|
|
@@ -70,9 +70,9 @@ import "./exec-approvals-allowlist-Dgb12MXc.js";
|
|
|
70
70
|
import "./exec-safe-bin-runtime-policy-BfybDm-q.js";
|
|
71
71
|
import "./model-catalog-D4hoiCav.js";
|
|
72
72
|
import "./fetch-BZWXCGP2.js";
|
|
73
|
-
import "./audio-transcription-runner
|
|
73
|
+
import "./audio-transcription-runner--RGWC8nR.js";
|
|
74
74
|
import "./fetch-guard-BplMfPrm.js";
|
|
75
|
-
import "./image-
|
|
75
|
+
import "./image-BsWoO0mu.js";
|
|
76
76
|
import "./tool-display-sVaWRESD.js";
|
|
77
77
|
import "./api-key-rotation-D7ptHGeX.js";
|
|
78
78
|
import "./proxy-fetch-ReVzadXq.js";
|
|
@@ -108,7 +108,7 @@ import "./resolve-route-rhGDrrKc.js";
|
|
|
108
108
|
import "./pi-tools.policy-DwPGGCBG.js";
|
|
109
109
|
import "./proxy-BmxJF3Z2.js";
|
|
110
110
|
import "./replies-9B0e_W0H.js";
|
|
111
|
-
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
111
|
+
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-D37MuS-y.js";
|
|
112
112
|
import "./prompt-style-lCXEOxSK.js";
|
|
113
113
|
import "./pairing-labels-BUGAt7vg.js";
|
|
114
114
|
import "./session-meta-Cyjw6vgH.js";
|
|
@@ -122,20 +122,20 @@ import "./progress-ctu3wJgA.js";
|
|
|
122
122
|
import "./constants-By6nxsIT.js";
|
|
123
123
|
import "./context-window-guard-aKoSfdAy.js";
|
|
124
124
|
import "./note-fYPH2CN3.js";
|
|
125
|
-
import { r as installCompletion } from "./completion-cli-
|
|
126
|
-
import "./register.subclis-
|
|
127
|
-
import "./command-registry-
|
|
125
|
+
import { r as installCompletion } from "./completion-cli-D9Bs9sNg.js";
|
|
126
|
+
import "./register.subclis-B9f3-nRB.js";
|
|
127
|
+
import "./command-registry-C7RGVIsP.js";
|
|
128
128
|
import "./program-context-BqyLhTGk.js";
|
|
129
129
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BsUgG6nU.js";
|
|
130
130
|
import "./runtime-guard-Bif49nR1.js";
|
|
131
131
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
132
132
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DVgFh5bF.js";
|
|
133
133
|
import { t as resolveGatewayService } from "./service-DdLDWk4F.js";
|
|
134
|
-
import { r as healthCommand } from "./health-
|
|
134
|
+
import { r as healthCommand } from "./health-BPybWGw9.js";
|
|
135
135
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-hAbiBedq.js";
|
|
136
136
|
import { t as formatHealthCheckFailure } from "./health-format-alQl4_LL.js";
|
|
137
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
138
|
-
import { t as runTui } from "./tui-
|
|
137
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-59O1eGAD.js";
|
|
138
|
+
import { t as runTui } from "./tui-BqRCX-bp.js";
|
|
139
139
|
import path from "node:path";
|
|
140
140
|
import os from "node:os";
|
|
141
141
|
import fs from "node:fs/promises";
|
package/dist/{onboarding.gateway-config-CsSayEFl.js → onboarding.gateway-config-33VygMXh.js}
RENAMED
|
@@ -25,15 +25,15 @@ import "./accounts-MEuVJDoB.js";
|
|
|
25
25
|
import "./bindings-BDScuSfd.js";
|
|
26
26
|
import "./paths-oIurw4YQ.js";
|
|
27
27
|
import "./chat-envelope-AUuZAcrC.js";
|
|
28
|
-
import "./client-
|
|
29
|
-
import "./call-
|
|
28
|
+
import "./client-Ct3INy6Q.js";
|
|
29
|
+
import "./call-BxxjyXST.js";
|
|
30
30
|
import "./pairing-token-fCKTYUJ-.js";
|
|
31
31
|
import "./net-B1yWST2Q.js";
|
|
32
32
|
import "./tailnet-D67wyPIH.js";
|
|
33
33
|
import { a as findTailscaleBinary } from "./tailscale-DwvUI5Bb.js";
|
|
34
|
-
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
34
|
+
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-D37MuS-y.js";
|
|
35
35
|
import "./prompt-style-lCXEOxSK.js";
|
|
36
|
-
import { t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
36
|
+
import { t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DDNdYXwK.js";
|
|
37
37
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-BMbKD3zl.js";
|
|
38
38
|
|
|
39
39
|
//#region src/wizard/onboarding.gateway-config.ts
|
package/dist/{onboarding.gateway-config-DImrb8_4.js → onboarding.gateway-config-DYozawla.js}
RENAMED
|
@@ -28,12 +28,12 @@ import "./accounts-BCjTJFfj.js";
|
|
|
28
28
|
import "./bindings-DNdADT2U.js";
|
|
29
29
|
import "./paths-BpvWYoSF.js";
|
|
30
30
|
import "./chat-envelope-D2ZROPtK.js";
|
|
31
|
-
import "./client-
|
|
32
|
-
import "./call-
|
|
31
|
+
import "./client-zj7haqMb.js";
|
|
32
|
+
import "./call-DU_f0KMj.js";
|
|
33
33
|
import "./pairing-token-D0ttfvQD.js";
|
|
34
|
-
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
34
|
+
import { h as randomToken, u as normalizeGatewayTokenInput, y as validateGatewayPasswordInput } from "./onboard-helpers-DEzzN6tA.js";
|
|
35
35
|
import "./prompt-style-BCDsARgg.js";
|
|
36
|
-
import { t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
36
|
+
import { t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-B6a4rlIk.js";
|
|
37
37
|
import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-C2zHiwbK.js";
|
|
38
38
|
|
|
39
39
|
//#region src/wizard/onboarding.gateway-config.ts
|
|
@@ -24,16 +24,16 @@ import { t as buildChannelAccountBindings } from "./bindings-O-6Zk868.js";
|
|
|
24
24
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-CqFbFIiM.js";
|
|
25
25
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-Cv6lP0Si.js";
|
|
26
26
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
27
|
-
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
27
|
+
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-nnwtUHe4.js";
|
|
28
28
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-C_D18W4d.js";
|
|
29
29
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DBPrVBk3.js";
|
|
30
30
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DyuYc06u.js";
|
|
31
31
|
import { $ as readChannelAllowFromStore, A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as mergeDmAllowFromSources, K as firstDefined$1, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveGroupAllowFromSources, Z as toLocationContext, _ as resolveTelegramFetch, a as reactMessageTelegram, at as listPairingChannels, b as loadCronStore, 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 expandTextLinks, k as buildTypingThreadParams, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as readJsonFileWithFallback, o as sendMessageTelegram, ot as isVoiceCompatibleAudio, p as markdownToTelegramChunks, q as isSenderIdAllowed, 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 buildSenderName, x as resolveCronStorePath, y as withTelegramApiErrorLogging, z as resolveTelegramReplyId } from "./send-BmmFVPIu.js";
|
|
32
32
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-HE_T1HTk.js";
|
|
33
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
33
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-s4TXhBuF.js";
|
|
34
34
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-D1nlOTjb.js";
|
|
35
35
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-BFpK0lDc.js";
|
|
36
|
-
import { $ as
|
|
36
|
+
import { $ as expandPolicyWithPluginGroups, A as isRawApiErrorPayload, B as createBrowserRouteContext, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as resolveChatUiHintForError, G as ensureBrowserControlAuth, H as resolveBrowserConfig, I as sanitizeUserFacingText, J as trimToUndefined$1, K as resolveBrowserControlAuth, L as ensureSandboxWorkspaceForSession, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as collectExplicitAllowlist, R as resolveSandboxContext, S as isBillingAssistantError, T as isContextOverflowError, U as resolveProfile, V as registerBrowserRoutes, W as getBridgeAuthForPort, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as compileGlobPatterns, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as ensureSessionHeader, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as resolveToolProfilePolicy, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as expandToolGroups, o as normalizeTextForComparison, ot as matchesAnyGlobPattern, p as isGoogleModelApi, q as resolveGatewayCredentialsFromConfig, r as pickFallbackThinkingLevel, rt as normalizeToolName, s as sanitizeSessionMessagesImages, st as buildBootstrapContextFiles, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as resolveSandboxRuntimeStatus } from "./pi-embedded-helpers-CYvB-mUe.js";
|
|
37
37
|
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-Rj4dB_5x.js";
|
|
38
38
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-B8SYlKe5.js";
|
|
39
39
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Daixum0F.js";
|
|
@@ -50,7 +50,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
50
50
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-ByYgonIF.js";
|
|
51
51
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BJ8nEaNP.js";
|
|
52
52
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BcOnJa2q.js";
|
|
53
|
-
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
53
|
+
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-Cj831azd.js";
|
|
54
54
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-D7xM1Q4J.js";
|
|
55
55
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CYFFedEH.js";
|
|
56
56
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-D-NNwY-r.js";
|
|
@@ -7816,6 +7816,7 @@ const ChatEventSchema = Type.Object({
|
|
|
7816
7816
|
]),
|
|
7817
7817
|
message: Type.Optional(Type.Unknown()),
|
|
7818
7818
|
errorMessage: Type.Optional(Type.String()),
|
|
7819
|
+
uiHint: Type.Optional(Type.String()),
|
|
7819
7820
|
usage: Type.Optional(Type.Unknown()),
|
|
7820
7821
|
stopReason: Type.Optional(Type.String())
|
|
7821
7822
|
}, { additionalProperties: false });
|
|
@@ -9715,7 +9716,7 @@ async function routeReply(params) {
|
|
|
9715
9716
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9716
9717
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9717
9718
|
try {
|
|
9718
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9719
|
+
const { deliverOutboundPayloads } = await import("./deliver-nnwtUHe4.js").then((n) => n.n);
|
|
9719
9720
|
const outboundSession = buildOutboundSessionContext({
|
|
9720
9721
|
cfg,
|
|
9721
9722
|
agentId: resolvedAgentId,
|
|
@@ -14273,7 +14274,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14273
14274
|
}
|
|
14274
14275
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14275
14276
|
try {
|
|
14276
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14277
|
+
const { deliverOutboundPayloads } = await import("./deliver-nnwtUHe4.js").then((n) => n.n);
|
|
14277
14278
|
await deliverOutboundPayloads({
|
|
14278
14279
|
cfg,
|
|
14279
14280
|
channel: normalizedChannel,
|
|
@@ -49773,7 +49774,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
49773
49774
|
return;
|
|
49774
49775
|
}
|
|
49775
49776
|
try {
|
|
49776
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
49777
|
+
const { deliverOutboundPayloads } = await import("./deliver-nnwtUHe4.js").then((n) => n.n);
|
|
49777
49778
|
const outboundSession = buildOutboundSessionContext({
|
|
49778
49779
|
cfg: params.cfg,
|
|
49779
49780
|
sessionKey: params.sessionKey
|
|
@@ -54715,7 +54716,7 @@ async function describeStickerImage(params) {
|
|
|
54715
54716
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
54716
54717
|
try {
|
|
54717
54718
|
const buffer = await fs.readFile(imagePath);
|
|
54718
|
-
const { describeImageWithModel } = await import("./image-
|
|
54719
|
+
const { describeImageWithModel } = await import("./image-Cj831azd.js").then((n) => n.n);
|
|
54719
54720
|
return (await describeImageWithModel({
|
|
54720
54721
|
buffer,
|
|
54721
54722
|
fileName: "sticker.webp",
|
|
@@ -56469,7 +56470,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
56469
56470
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
56470
56471
|
let transcript;
|
|
56471
56472
|
if (needsPreflightTranscription) try {
|
|
56472
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56473
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-COA5tnZv.js");
|
|
56473
56474
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
56474
56475
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
56475
56476
|
ctx: {
|
|
@@ -61011,7 +61012,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
61011
61012
|
function createDefaultDeps() {
|
|
61012
61013
|
return {
|
|
61013
61014
|
sendMessageWhatsApp: async (...args) => {
|
|
61014
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
61015
|
+
const { sendMessageWhatsApp } = await import("./web-C8qeseGa.js");
|
|
61015
61016
|
return await sendMessageWhatsApp(...args);
|
|
61016
61017
|
},
|
|
61017
61018
|
sendMessageTelegram: async (...args) => {
|
|
@@ -76490,7 +76491,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
76490
76491
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
76491
76492
|
let preflightTranscript;
|
|
76492
76493
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
76493
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
76494
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-COA5tnZv.js");
|
|
76494
76495
|
preflightTranscript = await transcribeFirstAudio({
|
|
76495
76496
|
ctx: {
|
|
76496
76497
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -79275,7 +79276,7 @@ function loadWebLoginQr() {
|
|
|
79275
79276
|
return webLoginQrPromise;
|
|
79276
79277
|
}
|
|
79277
79278
|
function loadWebChannel() {
|
|
79278
|
-
webChannelPromise ??= import("./web-
|
|
79279
|
+
webChannelPromise ??= import("./web-C8qeseGa.js");
|
|
79279
79280
|
return webChannelPromise;
|
|
79280
79281
|
}
|
|
79281
79282
|
function loadWhatsAppActions() {
|
|
@@ -88127,6 +88128,11 @@ function handleAgentEnd(ctx) {
|
|
|
88127
88128
|
const lastAssistant = ctx.state.lastAssistant;
|
|
88128
88129
|
const isError = isAssistantMessage(lastAssistant) && lastAssistant.stopReason === "error";
|
|
88129
88130
|
if (isError && lastAssistant) {
|
|
88131
|
+
const uiHint = resolveChatUiHintForError({
|
|
88132
|
+
provider: lastAssistant.provider,
|
|
88133
|
+
model: lastAssistant.model,
|
|
88134
|
+
rawError: lastAssistant.errorMessage
|
|
88135
|
+
});
|
|
88130
88136
|
const errorText = (formatAssistantErrorText(lastAssistant, {
|
|
88131
88137
|
cfg: ctx.params.config,
|
|
88132
88138
|
sessionKey: ctx.params.sessionKey,
|
|
@@ -88140,6 +88146,7 @@ function handleAgentEnd(ctx) {
|
|
|
88140
88146
|
data: {
|
|
88141
88147
|
phase: "error",
|
|
88142
88148
|
error: errorText,
|
|
88149
|
+
...uiHint ? { uiHint } : {},
|
|
88143
88150
|
endedAt: Date.now()
|
|
88144
88151
|
}
|
|
88145
88152
|
});
|
|
@@ -88147,7 +88154,8 @@ function handleAgentEnd(ctx) {
|
|
|
88147
88154
|
stream: "lifecycle",
|
|
88148
88155
|
data: {
|
|
88149
88156
|
phase: "error",
|
|
88150
|
-
error: errorText
|
|
88157
|
+
error: errorText,
|
|
88158
|
+
...uiHint ? { uiHint } : {}
|
|
88151
88159
|
}
|
|
88152
88160
|
});
|
|
88153
88161
|
} else {
|
|
@@ -21,16 +21,16 @@ import { t as buildChannelAccountBindings } from "./bindings-DkNVAvqg.js";
|
|
|
21
21
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-BLje6ijm.js";
|
|
22
22
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-BhQVAABr.js";
|
|
23
23
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CFRVlPvh.js";
|
|
24
|
-
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
24
|
+
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-DvxmGKU7.js";
|
|
25
25
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-3CTZSIlz.js";
|
|
26
26
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-iIgQ4O9h.js";
|
|
27
27
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-ChZmWEdr.js";
|
|
28
28
|
import { $ as readChannelAllowFromStore, A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as mergeDmAllowFromSources, K as firstDefined$1, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveGroupAllowFromSources, Z as toLocationContext, _ as resolveTelegramFetch, a as reactMessageTelegram, at as listPairingChannels, b as loadCronStore, 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 expandTextLinks, k as buildTypingThreadParams, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as readJsonFileWithFallback, o as sendMessageTelegram, ot as isVoiceCompatibleAudio, p as markdownToTelegramChunks, q as isSenderIdAllowed, 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 buildSenderName, x as resolveCronStorePath, y as withTelegramApiErrorLogging, z as resolveTelegramReplyId } from "./send-BKGU5ru4.js";
|
|
29
29
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CSEI4iE1.js";
|
|
30
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
30
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-BLpgvFWB.js";
|
|
31
31
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DdoTtx72.js";
|
|
32
32
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-CAvovyXo.js";
|
|
33
|
-
import { $ as
|
|
33
|
+
import { $ as expandPolicyWithPluginGroups, A as isRawApiErrorPayload, B as createBrowserRouteContext, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as resolveChatUiHintForError, G as ensureBrowserControlAuth, H as resolveBrowserConfig, I as sanitizeUserFacingText, J as trimToUndefined$1, K as resolveBrowserControlAuth, L as ensureSandboxWorkspaceForSession, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as collectExplicitAllowlist, R as resolveSandboxContext, S as isBillingAssistantError, T as isContextOverflowError, U as resolveProfile, V as registerBrowserRoutes, W as getBridgeAuthForPort, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as compileGlobPatterns, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as ensureSessionHeader, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as resolveToolProfilePolicy, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as expandToolGroups, o as normalizeTextForComparison, ot as matchesAnyGlobPattern, p as isGoogleModelApi, q as resolveGatewayCredentialsFromConfig, r as pickFallbackThinkingLevel, rt as normalizeToolName, s as sanitizeSessionMessagesImages, st as buildBootstrapContextFiles, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as resolveSandboxRuntimeStatus } from "./pi-embedded-helpers-CKEoEHoe.js";
|
|
34
34
|
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-DPJGe_wm.js";
|
|
35
35
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Dqjpw7tL.js";
|
|
36
36
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CV563R7u.js";
|
|
@@ -47,7 +47,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
47
47
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Bq_-a4up.js";
|
|
48
48
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-CWj711f4.js";
|
|
49
49
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BU9gpqtT.js";
|
|
50
|
-
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
50
|
+
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-5kjT0Ifv.js";
|
|
51
51
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-6en6KJc_.js";
|
|
52
52
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BVa_Fx_T.js";
|
|
53
53
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-0TjzpVEX.js";
|
|
@@ -7812,6 +7812,7 @@ const ChatEventSchema = Type.Object({
|
|
|
7812
7812
|
]),
|
|
7813
7813
|
message: Type.Optional(Type.Unknown()),
|
|
7814
7814
|
errorMessage: Type.Optional(Type.String()),
|
|
7815
|
+
uiHint: Type.Optional(Type.String()),
|
|
7815
7816
|
usage: Type.Optional(Type.Unknown()),
|
|
7816
7817
|
stopReason: Type.Optional(Type.String())
|
|
7817
7818
|
}, { additionalProperties: false });
|
|
@@ -9711,7 +9712,7 @@ async function routeReply(params) {
|
|
|
9711
9712
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9712
9713
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9713
9714
|
try {
|
|
9714
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9715
|
+
const { deliverOutboundPayloads } = await import("./deliver-DvxmGKU7.js").then((n) => n.n);
|
|
9715
9716
|
const outboundSession = buildOutboundSessionContext({
|
|
9716
9717
|
cfg,
|
|
9717
9718
|
agentId: resolvedAgentId,
|
|
@@ -14269,7 +14270,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14269
14270
|
}
|
|
14270
14271
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14271
14272
|
try {
|
|
14272
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14273
|
+
const { deliverOutboundPayloads } = await import("./deliver-DvxmGKU7.js").then((n) => n.n);
|
|
14273
14274
|
await deliverOutboundPayloads({
|
|
14274
14275
|
cfg,
|
|
14275
14276
|
channel: normalizedChannel,
|
|
@@ -49769,7 +49770,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
49769
49770
|
return;
|
|
49770
49771
|
}
|
|
49771
49772
|
try {
|
|
49772
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
49773
|
+
const { deliverOutboundPayloads } = await import("./deliver-DvxmGKU7.js").then((n) => n.n);
|
|
49773
49774
|
const outboundSession = buildOutboundSessionContext({
|
|
49774
49775
|
cfg: params.cfg,
|
|
49775
49776
|
sessionKey: params.sessionKey
|
|
@@ -54711,7 +54712,7 @@ async function describeStickerImage(params) {
|
|
|
54711
54712
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
54712
54713
|
try {
|
|
54713
54714
|
const buffer = await fs.readFile(imagePath);
|
|
54714
|
-
const { describeImageWithModel } = await import("./image-
|
|
54715
|
+
const { describeImageWithModel } = await import("./image-5kjT0Ifv.js").then((n) => n.n);
|
|
54715
54716
|
return (await describeImageWithModel({
|
|
54716
54717
|
buffer,
|
|
54717
54718
|
fileName: "sticker.webp",
|
|
@@ -56465,7 +56466,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
56465
56466
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
56466
56467
|
let transcript;
|
|
56467
56468
|
if (needsPreflightTranscription) try {
|
|
56468
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56469
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CoLgRr1u.js");
|
|
56469
56470
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
56470
56471
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
56471
56472
|
ctx: {
|
|
@@ -61007,7 +61008,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
61007
61008
|
function createDefaultDeps() {
|
|
61008
61009
|
return {
|
|
61009
61010
|
sendMessageWhatsApp: async (...args) => {
|
|
61010
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
61011
|
+
const { sendMessageWhatsApp } = await import("./web-CUoANEo6.js");
|
|
61011
61012
|
return await sendMessageWhatsApp(...args);
|
|
61012
61013
|
},
|
|
61013
61014
|
sendMessageTelegram: async (...args) => {
|
|
@@ -76480,7 +76481,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
76480
76481
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
76481
76482
|
let preflightTranscript;
|
|
76482
76483
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
76483
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
76484
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CoLgRr1u.js");
|
|
76484
76485
|
preflightTranscript = await transcribeFirstAudio({
|
|
76485
76486
|
ctx: {
|
|
76486
76487
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -79265,7 +79266,7 @@ function loadWebLoginQr() {
|
|
|
79265
79266
|
return webLoginQrPromise;
|
|
79266
79267
|
}
|
|
79267
79268
|
function loadWebChannel() {
|
|
79268
|
-
webChannelPromise ??= import("./web-
|
|
79269
|
+
webChannelPromise ??= import("./web-CUoANEo6.js");
|
|
79269
79270
|
return webChannelPromise;
|
|
79270
79271
|
}
|
|
79271
79272
|
function loadWhatsAppActions() {
|
|
@@ -88117,6 +88118,11 @@ function handleAgentEnd(ctx) {
|
|
|
88117
88118
|
const lastAssistant = ctx.state.lastAssistant;
|
|
88118
88119
|
const isError = isAssistantMessage(lastAssistant) && lastAssistant.stopReason === "error";
|
|
88119
88120
|
if (isError && lastAssistant) {
|
|
88121
|
+
const uiHint = resolveChatUiHintForError({
|
|
88122
|
+
provider: lastAssistant.provider,
|
|
88123
|
+
model: lastAssistant.model,
|
|
88124
|
+
rawError: lastAssistant.errorMessage
|
|
88125
|
+
});
|
|
88120
88126
|
const errorText = (formatAssistantErrorText(lastAssistant, {
|
|
88121
88127
|
cfg: ctx.params.config,
|
|
88122
88128
|
sessionKey: ctx.params.sessionKey,
|
|
@@ -88130,6 +88136,7 @@ function handleAgentEnd(ctx) {
|
|
|
88130
88136
|
data: {
|
|
88131
88137
|
phase: "error",
|
|
88132
88138
|
error: errorText,
|
|
88139
|
+
...uiHint ? { uiHint } : {},
|
|
88133
88140
|
endedAt: Date.now()
|
|
88134
88141
|
}
|
|
88135
88142
|
});
|
|
@@ -88137,7 +88144,8 @@ function handleAgentEnd(ctx) {
|
|
|
88137
88144
|
stream: "lifecycle",
|
|
88138
88145
|
data: {
|
|
88139
88146
|
phase: "error",
|
|
88140
|
-
error: errorText
|
|
88147
|
+
error: errorText,
|
|
88148
|
+
...uiHint ? { uiHint } : {}
|
|
88141
88149
|
}
|
|
88142
88150
|
});
|
|
88143
88151
|
} else {
|
|
@@ -6084,8 +6084,20 @@ function formatBillingErrorMessage(provider, model) {
|
|
|
6084
6084
|
return "⚠️ API provider returned a billing error — your API key has run out of credits or has an insufficient balance. Check your provider's billing dashboard and top up or switch to a different API key.";
|
|
6085
6085
|
}
|
|
6086
6086
|
const BILLING_ERROR_USER_MESSAGE = formatBillingErrorMessage();
|
|
6087
|
+
const CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED = "bitseek_topup_required";
|
|
6087
6088
|
const RATE_LIMIT_ERROR_USER_MESSAGE = "⚠️ API rate limit reached. Please try again later.";
|
|
6088
6089
|
const OVERLOADED_ERROR_USER_MESSAGE = "The AI service is temporarily overloaded. Please try again in a moment.";
|
|
6090
|
+
const BITSEEK_TOPUP_TRIGGER_TEXT = "credits not enough";
|
|
6091
|
+
function isBitSeekAutoModel(provider, model) {
|
|
6092
|
+
return provider?.trim().toLowerCase() === "bitseek" && model?.trim().toLowerCase() === "auto";
|
|
6093
|
+
}
|
|
6094
|
+
function resolveChatUiHintForError(params) {
|
|
6095
|
+
const rawError = params.rawError?.trim();
|
|
6096
|
+
if (!rawError) return;
|
|
6097
|
+
if (!isBitSeekAutoModel(params.provider, params.model)) return;
|
|
6098
|
+
if (!rawError.toLowerCase().includes(BITSEEK_TOPUP_TRIGGER_TEXT)) return;
|
|
6099
|
+
return CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED;
|
|
6100
|
+
}
|
|
6089
6101
|
function formatRateLimitOrOverloadedErrorCopy(raw) {
|
|
6090
6102
|
if (isRateLimitErrorMessage(raw)) return RATE_LIMIT_ERROR_USER_MESSAGE;
|
|
6091
6103
|
if (isOverloadedErrorMessage(raw)) return OVERLOADED_ERROR_USER_MESSAGE;
|
|
@@ -7144,4 +7156,4 @@ function validateAnthropicTurns(messages) {
|
|
|
7144
7156
|
}
|
|
7145
7157
|
|
|
7146
7158
|
//#endregion
|
|
7147
|
-
export {
|
|
7159
|
+
export { expandPolicyWithPluginGroups as $, isRawApiErrorPayload as A, createBrowserRouteContext as B, isCloudCodeAssistFormatError as C, isFailoverErrorMessage as D, isFailoverAssistantError as E, resolveChatUiHintForError as F, ensureBrowserControlAuth as G, resolveBrowserConfig as H, sanitizeUserFacingText as I, trimToUndefined as J, resolveBrowserControlAuth as K, ensureSandboxWorkspaceForSession as L, isTransientHttpError as M, parseImageDimensionError as N, isLikelyContextOverflowError as O, parseImageSizeError as P, collectExplicitAllowlist as Q, resolveSandboxContext as R, isBillingAssistantError as S, isContextOverflowError as T, resolveProfile as U, registerBrowserRoutes as V, getBridgeAuthForPort as W, applyOwnerOnlyToolPolicy as X, resolveSandboxConfigForAgent as Y, buildPluginToolGroups as Z, formatBillingErrorMessage as _, isMessagingToolDuplicateNormalized as a, compileGlobPatterns as at, isAuthAssistantError as b, extractToolCallsFromAssistant as c, ensureSessionHeader as ct, downgradeOpenAIFunctionCallReasoningPairs as d, sanitizeGoogleTurnOrdering as dt, mergeAlsoAllowPolicy as et, downgradeOpenAIReasoningBlocks as f, formatAssistantErrorText as g, classifyFailoverReason as h, isMessagingToolDuplicate as i, resolveToolProfilePolicy as it, isTimeoutErrorMessage as j, isRateLimitAssistantError as k, extractToolResultId as l, resolveBootstrapMaxChars as lt, BILLING_ERROR_USER_MESSAGE as m, validateGeminiTurns as n, expandToolGroups as nt, normalizeTextForComparison as o, matchesAnyGlobPattern as ot, isGoogleModelApi as p, resolveGatewayCredentialsFromConfig as q, pickFallbackThinkingLevel as r, normalizeToolName as rt, sanitizeSessionMessagesImages as s, buildBootstrapContextFiles as st, validateAnthropicTurns as t, stripPluginOnlyAllowlist as tt, sanitizeToolCallIdsForCloudCodeAssist as u, resolveBootstrapTotalMaxChars as ut, formatRawAssistantErrorForUi as v, isCompactionFailureError as w, isAuthPermanentErrorMessage as x, getApiErrorPayloadFingerprint as y, resolveSandboxRuntimeStatus as z };
|
|
@@ -6086,8 +6086,20 @@ function formatBillingErrorMessage(provider, model) {
|
|
|
6086
6086
|
return "⚠️ API provider returned a billing error — your API key has run out of credits or has an insufficient balance. Check your provider's billing dashboard and top up or switch to a different API key.";
|
|
6087
6087
|
}
|
|
6088
6088
|
const BILLING_ERROR_USER_MESSAGE = formatBillingErrorMessage();
|
|
6089
|
+
const CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED = "bitseek_topup_required";
|
|
6089
6090
|
const RATE_LIMIT_ERROR_USER_MESSAGE = "⚠️ API rate limit reached. Please try again later.";
|
|
6090
6091
|
const OVERLOADED_ERROR_USER_MESSAGE = "The AI service is temporarily overloaded. Please try again in a moment.";
|
|
6092
|
+
const BITSEEK_TOPUP_TRIGGER_TEXT = "credits not enough";
|
|
6093
|
+
function isBitSeekAutoModel(provider, model) {
|
|
6094
|
+
return provider?.trim().toLowerCase() === "bitseek" && model?.trim().toLowerCase() === "auto";
|
|
6095
|
+
}
|
|
6096
|
+
function resolveChatUiHintForError(params) {
|
|
6097
|
+
const rawError = params.rawError?.trim();
|
|
6098
|
+
if (!rawError) return;
|
|
6099
|
+
if (!isBitSeekAutoModel(params.provider, params.model)) return;
|
|
6100
|
+
if (!rawError.toLowerCase().includes(BITSEEK_TOPUP_TRIGGER_TEXT)) return;
|
|
6101
|
+
return CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED;
|
|
6102
|
+
}
|
|
6091
6103
|
function formatRateLimitOrOverloadedErrorCopy(raw) {
|
|
6092
6104
|
if (isRateLimitErrorMessage(raw)) return RATE_LIMIT_ERROR_USER_MESSAGE;
|
|
6093
6105
|
if (isOverloadedErrorMessage(raw)) return OVERLOADED_ERROR_USER_MESSAGE;
|
|
@@ -7146,4 +7158,4 @@ function validateAnthropicTurns(messages) {
|
|
|
7146
7158
|
}
|
|
7147
7159
|
|
|
7148
7160
|
//#endregion
|
|
7149
|
-
export {
|
|
7161
|
+
export { expandPolicyWithPluginGroups as $, isRawApiErrorPayload as A, createBrowserRouteContext as B, isCloudCodeAssistFormatError as C, isFailoverErrorMessage as D, isFailoverAssistantError as E, resolveChatUiHintForError as F, ensureBrowserControlAuth as G, resolveBrowserConfig as H, sanitizeUserFacingText as I, trimToUndefined as J, resolveBrowserControlAuth as K, ensureSandboxWorkspaceForSession as L, isTransientHttpError as M, parseImageDimensionError as N, isLikelyContextOverflowError as O, parseImageSizeError as P, collectExplicitAllowlist as Q, resolveSandboxContext as R, isBillingAssistantError as S, isContextOverflowError as T, resolveProfile as U, registerBrowserRoutes as V, getBridgeAuthForPort as W, applyOwnerOnlyToolPolicy as X, resolveSandboxConfigForAgent as Y, buildPluginToolGroups as Z, formatBillingErrorMessage as _, isMessagingToolDuplicateNormalized as a, compileGlobPatterns as at, isAuthAssistantError as b, extractToolCallsFromAssistant as c, ensureSessionHeader as ct, downgradeOpenAIFunctionCallReasoningPairs as d, sanitizeGoogleTurnOrdering as dt, mergeAlsoAllowPolicy as et, downgradeOpenAIReasoningBlocks as f, formatAssistantErrorText as g, classifyFailoverReason as h, isMessagingToolDuplicate as i, resolveToolProfilePolicy as it, isTimeoutErrorMessage as j, isRateLimitAssistantError as k, extractToolResultId as l, resolveBootstrapMaxChars as lt, BILLING_ERROR_USER_MESSAGE as m, validateGeminiTurns as n, expandToolGroups as nt, normalizeTextForComparison as o, matchesAnyGlobPattern as ot, isGoogleModelApi as p, resolveGatewayCredentialsFromConfig as q, pickFallbackThinkingLevel as r, normalizeToolName as rt, sanitizeSessionMessagesImages as s, buildBootstrapContextFiles as st, validateAnthropicTurns as t, stripPluginOnlyAllowlist as tt, sanitizeToolCallIdsForCloudCodeAssist as u, resolveBootstrapTotalMaxChars as ut, formatRawAssistantErrorForUi as v, isCompactionFailureError as w, isAuthPermanentErrorMessage as x, getApiErrorPayloadFingerprint as y, resolveSandboxRuntimeStatus as z };
|
|
@@ -187,8 +187,20 @@ function formatBillingErrorMessage(provider, model) {
|
|
|
187
187
|
return "⚠️ API provider returned a billing error — your API key has run out of credits or has an insufficient balance. Check your provider's billing dashboard and top up or switch to a different API key.";
|
|
188
188
|
}
|
|
189
189
|
const BILLING_ERROR_USER_MESSAGE = formatBillingErrorMessage();
|
|
190
|
+
const CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED = "bitseek_topup_required";
|
|
190
191
|
const RATE_LIMIT_ERROR_USER_MESSAGE = "⚠️ API rate limit reached. Please try again later.";
|
|
191
192
|
const OVERLOADED_ERROR_USER_MESSAGE = "The AI service is temporarily overloaded. Please try again in a moment.";
|
|
193
|
+
const BITSEEK_TOPUP_TRIGGER_TEXT = "credits not enough";
|
|
194
|
+
function isBitSeekAutoModel(provider, model) {
|
|
195
|
+
return provider?.trim().toLowerCase() === "bitseek" && model?.trim().toLowerCase() === "auto";
|
|
196
|
+
}
|
|
197
|
+
function resolveChatUiHintForError(params) {
|
|
198
|
+
const rawError = params.rawError?.trim();
|
|
199
|
+
if (!rawError) return;
|
|
200
|
+
if (!isBitSeekAutoModel(params.provider, params.model)) return;
|
|
201
|
+
if (!rawError.toLowerCase().includes(BITSEEK_TOPUP_TRIGGER_TEXT)) return;
|
|
202
|
+
return CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED;
|
|
203
|
+
}
|
|
192
204
|
function formatRateLimitOrOverloadedErrorCopy(raw) {
|
|
193
205
|
if (isRateLimitErrorMessage(raw)) return RATE_LIMIT_ERROR_USER_MESSAGE;
|
|
194
206
|
if (isOverloadedErrorMessage(raw)) return OVERLOADED_ERROR_USER_MESSAGE;
|
|
@@ -1247,4 +1259,4 @@ function validateAnthropicTurns(messages) {
|
|
|
1247
1259
|
}
|
|
1248
1260
|
|
|
1249
1261
|
//#endregion
|
|
1250
|
-
export { isRawApiErrorPayload as A,
|
|
1262
|
+
export { isRawApiErrorPayload as A, resolveBootstrapTotalMaxChars as B, isCloudCodeAssistFormatError as C, isFailoverErrorMessage as D, isFailoverAssistantError as E, resolveChatUiHintForError as F, sanitizeUserFacingText as I, buildBootstrapContextFiles as L, isTransientHttpError as M, parseImageDimensionError as N, isLikelyContextOverflowError as O, parseImageSizeError as P, ensureSessionHeader as R, isBillingAssistantError as S, isContextOverflowError as T, sanitizeGoogleTurnOrdering as V, formatBillingErrorMessage as _, isMessagingToolDuplicateNormalized as a, isAuthAssistantError as b, extractToolCallsFromAssistant as c, downgradeOpenAIFunctionCallReasoningPairs as d, downgradeOpenAIReasoningBlocks as f, formatAssistantErrorText as g, classifyFailoverReason as h, isMessagingToolDuplicate as i, isTimeoutErrorMessage as j, isRateLimitAssistantError as k, extractToolResultId as l, BILLING_ERROR_USER_MESSAGE as m, validateGeminiTurns as n, normalizeTextForComparison as o, isGoogleModelApi as p, pickFallbackThinkingLevel as r, sanitizeSessionMessagesImages as s, validateAnthropicTurns as t, sanitizeToolCallIdsForCloudCodeAssist as u, formatRawAssistantErrorForUi as v, isCompactionFailureError as w, isAuthPermanentErrorMessage as x, getApiErrorPayloadFingerprint as y, resolveBootstrapMaxChars as z };
|
|
@@ -187,8 +187,20 @@ function formatBillingErrorMessage(provider, model) {
|
|
|
187
187
|
return "⚠️ API provider returned a billing error — your API key has run out of credits or has an insufficient balance. Check your provider's billing dashboard and top up or switch to a different API key.";
|
|
188
188
|
}
|
|
189
189
|
const BILLING_ERROR_USER_MESSAGE = formatBillingErrorMessage();
|
|
190
|
+
const CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED = "bitseek_topup_required";
|
|
190
191
|
const RATE_LIMIT_ERROR_USER_MESSAGE = "⚠️ API rate limit reached. Please try again later.";
|
|
191
192
|
const OVERLOADED_ERROR_USER_MESSAGE = "The AI service is temporarily overloaded. Please try again in a moment.";
|
|
193
|
+
const BITSEEK_TOPUP_TRIGGER_TEXT = "credits not enough";
|
|
194
|
+
function isBitSeekAutoModel(provider, model) {
|
|
195
|
+
return provider?.trim().toLowerCase() === "bitseek" && model?.trim().toLowerCase() === "auto";
|
|
196
|
+
}
|
|
197
|
+
function resolveChatUiHintForError(params) {
|
|
198
|
+
const rawError = params.rawError?.trim();
|
|
199
|
+
if (!rawError) return;
|
|
200
|
+
if (!isBitSeekAutoModel(params.provider, params.model)) return;
|
|
201
|
+
if (!rawError.toLowerCase().includes(BITSEEK_TOPUP_TRIGGER_TEXT)) return;
|
|
202
|
+
return CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED;
|
|
203
|
+
}
|
|
192
204
|
function formatRateLimitOrOverloadedErrorCopy(raw) {
|
|
193
205
|
if (isRateLimitErrorMessage(raw)) return RATE_LIMIT_ERROR_USER_MESSAGE;
|
|
194
206
|
if (isOverloadedErrorMessage(raw)) return OVERLOADED_ERROR_USER_MESSAGE;
|
|
@@ -1247,4 +1259,4 @@ function validateAnthropicTurns(messages) {
|
|
|
1247
1259
|
}
|
|
1248
1260
|
|
|
1249
1261
|
//#endregion
|
|
1250
|
-
export { isRawApiErrorPayload as A,
|
|
1262
|
+
export { isRawApiErrorPayload as A, resolveBootstrapTotalMaxChars as B, isCloudCodeAssistFormatError as C, isFailoverErrorMessage as D, isFailoverAssistantError as E, resolveChatUiHintForError as F, sanitizeUserFacingText as I, buildBootstrapContextFiles as L, isTransientHttpError as M, parseImageDimensionError as N, isLikelyContextOverflowError as O, parseImageSizeError as P, ensureSessionHeader as R, isBillingAssistantError as S, isContextOverflowError as T, sanitizeGoogleTurnOrdering as V, formatBillingErrorMessage as _, isMessagingToolDuplicateNormalized as a, isAuthAssistantError as b, extractToolCallsFromAssistant as c, downgradeOpenAIFunctionCallReasoningPairs as d, downgradeOpenAIReasoningBlocks as f, formatAssistantErrorText as g, classifyFailoverReason as h, isMessagingToolDuplicate as i, isTimeoutErrorMessage as j, isRateLimitAssistantError as k, extractToolResultId as l, BILLING_ERROR_USER_MESSAGE as m, validateGeminiTurns as n, normalizeTextForComparison as o, isGoogleModelApi as p, pickFallbackThinkingLevel as r, sanitizeSessionMessagesImages as s, validateAnthropicTurns as t, sanitizeToolCallIdsForCloudCodeAssist as u, formatRawAssistantErrorForUi as v, isCompactionFailureError as w, isAuthPermanentErrorMessage as x, getApiErrorPayloadFingerprint as y, resolveBootstrapMaxChars as z };
|
|
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
|
|
|
3
3
|
import { M as loadConfig } from "./auth-profiles-Dgxwr8Sa.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-YUWhK3d-.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-C4Fq5HtN.js";
|
|
6
|
-
import { _ as loadOpenClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { _ as loadOpenClawPlugins } from "./subagent-registry-ChrhyhQ5.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { dt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { dt as loadOpenClawPlugins } from "./reply-Cm66z0-z.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Bn65aC59.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-6SmBCR59.js";
|
|
5
5
|
import { Wt as loadConfig } from "./model-selection-Cg3prWqt.js";
|
|
@@ -3,6 +3,12 @@ import type { OpenClawConfig } from "../../config/config.js";
|
|
|
3
3
|
import type { FailoverReason } from "./types.js";
|
|
4
4
|
export declare function formatBillingErrorMessage(provider?: string, model?: string): string;
|
|
5
5
|
export declare const BILLING_ERROR_USER_MESSAGE: string;
|
|
6
|
+
export declare const CHAT_UI_HINT_BITSEEK_TOPUP_REQUIRED = "bitseek_topup_required";
|
|
7
|
+
export declare function resolveChatUiHintForError(params: {
|
|
8
|
+
provider?: string;
|
|
9
|
+
model?: string;
|
|
10
|
+
rawError?: string;
|
|
11
|
+
}): string | undefined;
|
|
6
12
|
export declare function isContextOverflowError(errorMessage?: string): boolean;
|
|
7
13
|
export declare function isLikelyContextOverflowError(errorMessage?: string): boolean;
|
|
8
14
|
export declare function isCompactionFailureError(errorMessage?: string): boolean;
|