wednesdayai 0.4.12-dev.703 → 0.4.12-dev.704
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/{agent-scope-F7drwIgy.js → agent-scope-BGnYrze_.js} +3 -3
- package/dist/{agent-turn-runner-nWCLOjLp.js → agent-turn-runner-DqMoXRuU.js} +5 -5
- package/dist/{api-key-rotation-BP2NSDlP.js → api-key-rotation-C04Xj5nW.js} +2 -2
- package/dist/{audio-preflight-BqDFj2Ws.js → audio-preflight--JCKSyRB.js} +27 -27
- package/dist/{audio-transcription-runner-SSnrYiq8.js → audio-transcription-runner-DOckW8KR.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-IR8qx5kt.js → channel-activity-BVqxcijC.js} +3 -3
- package/dist/{chrome-Dc923fsB.js → chrome-NdTR0Suj.js} +23 -23
- package/dist/{chunk-CuqMDQNC.js → chunk-odx78Acg.js} +3 -3
- package/dist/{command-queue-Dbv34rZN.js → command-queue-BG3CzKrI.js} +1 -1
- package/dist/{commands-registry-gy0GLwWR.js → commands-registry-BEs7FrhT.js} +2 -2
- package/dist/{deliver-C4Z63vgB.js → deliver-BdqSGMEa.js} +24 -24
- package/dist/{diagnostic-BHAlpG8z.js → diagnostic-BwoKR7Xi.js} +5 -5
- package/dist/{fetch-JP3BwRE3.js → fetch-DvY0ue_6.js} +8 -8
- package/dist/{fetch-guard-C4lEpM_9.js → fetch-guard-ri_5BFBs.js} +3 -3
- package/dist/{frontmatter-CNGr4YHw.js → frontmatter-Cw33lRgS.js} +3 -3
- package/dist/{fs-safe-BJgtqC5p.js → fs-safe-BNnzOM9C.js} +4 -4
- package/dist/{github-copilot-token-zGOMIGSh.js → github-copilot-token-WSjo05vB.js} +7 -7
- package/dist/{image-ops-B--THHJC.js → image-ops-pgAg_j4y.js} +1 -1
- package/dist/{ir-tsZDlE0-.js → ir-BHU3uh9A.js} +5 -5
- package/dist/{legacy-names-CBlBMsC7.js → legacy-names-DFLXH7MA.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{logger-D7ojOVG0.js → logger-CkGiQRm7.js} +1 -1
- package/dist/{manager-nGC13TuB.js → manager-BUV9VkNZ.js} +12 -12
- package/dist/{markdown-tables-D9T2Ko0c.js → markdown-tables-D6t-eoFa.js} +2 -2
- package/dist/{model-selection-DZMms8JA.js → model-selection-DhXu1Q4_.js} +82 -82
- package/dist/{outbound-attachment-6FKwUHkE.js → outbound-attachment-C6U86gij.js} +2 -2
- package/dist/{outbound-message-hooks-CN_2VR3u.js → outbound-message-hooks-ClZq2IiI.js} +3 -3
- package/dist/{path-alias-guards-Bpl7jW13.js → path-alias-guards-y8gxUSMu.js} +1 -1
- package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
- package/dist/{pi-embedded-CQloEk2m.js → pi-embedded-B8eDIvpq.js} +176 -176
- package/dist/{pi-embedded-helpers-BEYLnz1t.js → pi-embedded-helpers-BKVOw8ZC.js} +24 -24
- package/dist/{pi-embedded-utils-Cff_00Q1.js → pi-embedded-utils-dzSLPKQ1.js} +3 -3
- package/dist/{pi-model-discovery-DWGauIf8.js → pi-model-discovery-C3dMscCT.js} +7 -7
- package/dist/plugin-sdk/{agent-scope-BeUdw1gJ.js → agent-scope-CEEynY4W.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-oQ89afhJ.js → agent-scope-DuxkVlZ-.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-B6RKsZU3.js +61 -0
- package/dist/plugin-sdk/agent-turn-execute-BDRcxLgW.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CDH2OClz.js → agent-turn-runner-BJWQz-gA.js} +6 -6
- package/dist/plugin-sdk/{agent-turn-runner-C9Ll5QSC.js → agent-turn-runner-CS_9t8FO.js} +6 -6
- package/dist/plugin-sdk/agent-turn-runner-CzRmfMqm.js +11 -0
- package/dist/plugin-sdk/{api-key-rotation-DBFUeaE4.js → api-key-rotation-BYZhrCU3.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CXgGGVWn.js → api-key-rotation-C-kEOoei.js} +2 -2
- package/dist/plugin-sdk/{artifacts-CsH5S6T7.js → artifacts-BR0G7jgh.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DT1RNzj0.js → audio-preflight-BOlD50bz.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-CTGR5Hsd.js +28 -0
- package/dist/plugin-sdk/{audio-preflight-DwOfW2wS.js → audio-preflight-DKGcwiIP.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-JGf9MAOA.js → audio-transcription-runner-C6_AucCP.js} +11 -11
- package/dist/plugin-sdk/{audio-transcription-runner-CNdDOHDD.js → audio-transcription-runner-DEwdraKH.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-C5n3KjJR.js → auth-profiles-B80FVM6n.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles-C_lsRyPw.js → auth-profiles-BqSPZl3H.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-UKizAHW8.js → channel-activity-BuWLq6ts.js} +3 -3
- package/dist/plugin-sdk/{channel-activity-CQ4sk3hC.js → channel-activity-CPP4IJ8j.js} +3 -3
- package/dist/plugin-sdk/{chrome-DgUMKrr1.js → chrome-Dio0wrAv.js} +4 -4
- package/dist/plugin-sdk/{chrome-a1SYKLWC.js → chrome-nWku6ryP.js} +4 -4
- package/dist/plugin-sdk/{chunk-BIyxDSyO.js → chunk-BjBBoHSQ.js} +6 -6
- package/dist/plugin-sdk/{chunk-CeoUVs5K.js → chunk-CXNOkk_w.js} +3 -3
- package/dist/plugin-sdk/{chunk-DaqKWnuH.js → chunk-HpUuRSbr.js} +4 -4
- package/dist/plugin-sdk/{command-detection-QNHptKSJ.js → command-detection-C2mTIN0M.js} +85 -85
- package/dist/plugin-sdk/{command-queue-D38UhuK9.js → command-queue-CZblXUNl.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DNiG-3U6.js → command-queue-DRNi0Iq1.js} +8 -8
- package/dist/plugin-sdk/{command-queue-Df7MhgUx.js → command-queue-oI3bsfFo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CA1olmQZ.js → commands-registry-B5LWTAu3.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-BMtROFJo.js → commands-registry-C5lbBMQS.js} +3 -3
- package/dist/plugin-sdk/{commands-registry-osjh0Rhk.js → commands-registry-CjulKOu8.js} +6 -6
- package/dist/plugin-sdk/{config-DOY8NkH8.js → config-CFfrK92W.js} +7 -7
- package/dist/plugin-sdk/{deliver-BwrjhyjB.js → deliver-BmNkbjkg.js} +11 -11
- package/dist/plugin-sdk/deliver-D7FDyEYC.js +32 -0
- package/dist/plugin-sdk/deliver-Dk3XJhoF.js +32 -0
- package/dist/plugin-sdk/{deliver-Jovxpus7.js → deliver-NV7I9o8B.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DHcuLQ06.js → diagnostic-5AC0iM1n.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-BwHttr8I.js → diagnostic-CLEhveRO.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-mAxbFQHT.js → diagnostic-DqBP7fk9.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-session-state-CxVUBLHW.js → diagnostic-session-state-ZELApkcq.js} +1 -1
- package/dist/plugin-sdk/{fetch-DBpdlEqi.js → fetch-Cb4UmAkA.js} +7 -7
- package/dist/plugin-sdk/{fetch-BKb3qUv8.js → fetch-CbHYT-hn.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-D39-ff0z.js → fetch-guard-BzugbfpZ.js} +3 -3
- package/dist/plugin-sdk/{fetch-guard-DlWfki0g.js → fetch-guard-Cbfi49RA.js} +4 -4
- package/dist/plugin-sdk/{fetch-timeout-Bftlxkgu.js → fetch-timeout-C_ox1u3l.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-MgrkXibA.js → fs-safe-5miLMTNQ.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-DwFzR-43.js → fs-safe-BbukgmJs.js} +3 -3
- package/dist/plugin-sdk/{hook-runner-global-7dXl1XmR.js → hook-runner-global-B14CF25I.js} +2 -2
- package/dist/plugin-sdk/{image-ops-Ds3TYUBA.js → image-ops-Deabe2XL.js} +2 -2
- package/dist/plugin-sdk/{image-ops-BRc6SYbt.js → image-ops-beo_JiSv.js} +2 -2
- package/dist/plugin-sdk/{inbound-context-B6ovxuzF.js → inbound-context-DVane3Zi.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-CwFlacLK.js → ir-CG1ZJvEL.js} +5 -5
- package/dist/plugin-sdk/{ir-C76Butsn.js → ir-DvNnbzRJ.js} +5 -5
- package/dist/plugin-sdk/{local-roots-Bj6ufCy4.js → local-roots-K7o6fRdl.js} +7 -7
- package/dist/plugin-sdk/{logger-COjxz0oP.js → logger-DjkYAAwO.js} +1 -1
- package/dist/plugin-sdk/{logger-k-GQ-YhX.js → logger-qbelrLm7.js} +1 -1
- package/dist/plugin-sdk/{manager-MhRo_Y53.js → manager-BLjtt5-a.js} +8 -8
- package/dist/plugin-sdk/{manager-D_xKED_P.js → manager-CtpBjZ6_.js} +8 -8
- package/dist/plugin-sdk/manager-Rskloqo2.js +16 -0
- package/dist/plugin-sdk/manager-nDSdkr_r.js +16 -0
- package/dist/plugin-sdk/markdown-tables-4LuMGoDL.js +10 -0
- package/dist/plugin-sdk/{markdown-tables-nC8ncMEv.js → markdown-tables-DK-jmrsM.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-C9S5LJE6.js → markdown-tables-UtpXDc0t.js} +3 -3
- package/dist/plugin-sdk/{outbound-attachment-DYb2ouJr.js → outbound-attachment-765m3HRN.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-CUXAsLsK.js → outbound-attachment-BJBF5SSr.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-Bg-e0wJT.js → outbound-message-hooks-D3KenJeF.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BsvpbjFQ.js → path-alias-guards-CfZ68Gx1.js} +1 -1
- package/dist/plugin-sdk/{path-alias-guards-DuUj5pOa.js → path-alias-guards-DXgdWlVV.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DxreQHBo.js → pi-embedded-helpers-BHyLigAA.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-helpers-B035viJt.js → pi-embedded-helpers-qFbUJ-VN.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-Ckrw1zyA.js → pi-embedded-utils-BfL7nQ-7.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-utils-CuF2a8B_.js → pi-embedded-utils-Bm-VMQvJ.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-vyiJ0WCg.js → pi-model-discovery-BHxWerwc.js} +6 -6
- package/dist/plugin-sdk/{pi-model-discovery-lbme_6ZY.js → pi-model-discovery-CtIzq4SZ.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-DoON6s_y.js → pi-model-discovery-FLUIEwh4.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-B0eRZ0GX.js +61 -0
- package/dist/plugin-sdk/provider-dispatcher-W1pkLKIg.js +61 -0
- package/dist/plugin-sdk/{provider-image-JOxAggPa.js → provider-image-BPSs4wqU.js} +5 -5
- package/dist/plugin-sdk/provider-image-BXeNvw5h.js +22 -0
- package/dist/plugin-sdk/provider-image-CoUtlZPn.js +22 -0
- package/dist/plugin-sdk/{provider-image-DmOszP1h.js → provider-image-DdGFXNcm.js} +5 -5
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/plugin-sdk/proxy-Bem5Ja8O.js +7 -0
- package/dist/plugin-sdk/{proxy-CJSKrzHc.js → proxy-C18DroLg.js} +2 -2
- package/dist/plugin-sdk/{proxy-env-Bi6F7qH_.js → proxy-env-Dof0ndb_.js} +2 -2
- package/dist/plugin-sdk/{proxy-fetch-BVHQlQ0b.js → proxy-fetch-D7HnSmzd.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-DR97MzBf.js → proxy-fetch-tDXPwHrY.js} +1 -1
- package/dist/plugin-sdk/{proxy-sWIy8aWT.js → proxy-vuhge5P0.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BtJHSLu5.js → pw-ai-0mmw3fTw.js} +10 -10
- package/dist/plugin-sdk/{pw-ai-Co1cAo_x.js → pw-ai-CVqwMy3L.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-BUZkDo-2.js → qmd-manager-CbKMbQqy.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Yj4sdDks.js → qmd-manager-FOnSMxsG.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-Dd_SnHAV.js → query-expansion-Czn3UuZE.js} +3 -3
- package/dist/plugin-sdk/{query-expansion-6YaEe4is.js → query-expansion-DsO05YlE.js} +3 -3
- package/dist/plugin-sdk/{recorder-DCKCn66f.js → recorder-5bzf6ySQ.js} +4 -4
- package/dist/plugin-sdk/{recorder-fSGqEPiN.js → recorder-B8eUr4qo.js} +4 -4
- package/dist/plugin-sdk/{redact-BqJzVqZS.js → redact-BN7L2dg6.js} +1 -1
- package/dist/plugin-sdk/{redact-Bi7p4BwQ.js → redact-Cys_2lrs.js} +1 -1
- package/dist/plugin-sdk/{registry-BAGNI7rT.js → registry-MeZym4lM.js} +7 -7
- package/dist/plugin-sdk/replies-BOUte8J3.js +25 -0
- package/dist/plugin-sdk/replies-BUH8kIfV.js +25 -0
- package/dist/plugin-sdk/{replies-QdHoPz--.js → replies-DkvzoPb0.js} +4 -4
- package/dist/plugin-sdk/{replies-D1R5YpXH.js → replies-Dq8vnfCv.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-B_Ac2F5C.js → reply-directives-CNkQ10XJ.js} +2 -2
- package/dist/plugin-sdk/{reply-directives-C2CFDtpy.js → reply-directives-D-GVQbm2.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-Vmv16GEM.js → reply-prefix-BnhAAeIw.js} +1 -1
- package/dist/plugin-sdk/reply-prefix-CyT5pXEH.js +7 -0
- package/dist/plugin-sdk/{reply-prefix-BicsLWcm.js → reply-prefix-p0F2JPGu.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-Bm-xctoN.js → resolve-route-B-_3aGVu.js} +6 -6
- package/dist/plugin-sdk/{resolve-route-D628GK2e.js → resolve-route-DeggwjWG.js} +5 -5
- package/dist/plugin-sdk/{resolve-route-Cpk4y9HZ.js → resolve-route-DzFbdLUE.js} +4 -4
- package/dist/plugin-sdk/{run-with-concurrency-jmsjZzF_.js → run-with-concurrency-ILVrq3D3.js} +1 -1
- package/dist/plugin-sdk/runs--99AlLJ4.js +25 -0
- package/dist/plugin-sdk/runs-BgcfLuqD.js +25 -0
- package/dist/plugin-sdk/{runs-CK-hc7Zt.js → runs-CfIZFuVN.js} +8 -8
- package/dist/plugin-sdk/{runs-B08Pf58t.js → runs-GYfRm1wm.js} +7 -7
- package/dist/plugin-sdk/{send-CJaXVbN1.js → send-11C4Ciys.js} +6 -6
- package/dist/plugin-sdk/{send-9tt88Cos.js → send-B5n5UHEj.js} +19 -19
- package/dist/plugin-sdk/send-BSMWkFUt.js +24 -0
- package/dist/plugin-sdk/send-BxpmMyy_.js +25 -0
- package/dist/plugin-sdk/{send-B185UKV9.js → send-BzYNrJe2.js} +14 -14
- package/dist/plugin-sdk/{send-DpOu5jYA.js → send-CMdCjWsm.js} +20 -20
- package/dist/plugin-sdk/send-CR06c-zQ.js +23 -0
- package/dist/plugin-sdk/send-CRsXDc8m.js +24 -0
- package/dist/plugin-sdk/{send-BQ2_sGJc.js → send-CilSx61t.js} +13 -13
- package/dist/plugin-sdk/{send-DGLXr2LH.js → send-D9b2K_jS.js} +8 -8
- package/dist/plugin-sdk/send-DGIuROFn.js +23 -0
- package/dist/plugin-sdk/send-DWgKIysx.js +27 -0
- package/dist/plugin-sdk/{send-D2YHGuuw.js → send-DoNV4ASm.js} +7 -7
- package/dist/plugin-sdk/{send-BLYC96aw.js → send-Dp2tRhNb.js} +6 -6
- package/dist/plugin-sdk/send-RwdG7mzi.js +25 -0
- package/dist/plugin-sdk/{send-BWpmSHCb.js → send-TkRZ83nq.js} +8 -8
- package/dist/plugin-sdk/{send-BZmyU4ku.js → send-VImHlXZJ.js} +9 -9
- package/dist/plugin-sdk/{send-DK8kuk3o.js → send-Y056GDch.js} +6 -6
- package/dist/plugin-sdk/send-sS36OO9x.js +27 -0
- package/dist/plugin-sdk/{send-CFqkd3U6.js → send-xTho5Weh.js} +7 -7
- package/dist/plugin-sdk/{session-meta-Bgk5sfbA.js → session-meta-D7wvEO0P.js} +2 -2
- package/dist/plugin-sdk/session-meta-J9PgeT7E.js +10 -0
- package/dist/plugin-sdk/{session-meta-sdu80P7z.js → session-meta-g4bndbGh.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-BYl06bB2.js → skill-commands-C6GZcZCO.js} +5 -5
- package/dist/plugin-sdk/{skill-commands-DslzFiF-.js → skill-commands-D6cK0kno.js} +6 -6
- package/dist/plugin-sdk/skill-commands-DBvWVUnQ.js +14 -0
- package/dist/plugin-sdk/{skills-Cxhgf7RS.js → skills-CjJsBgbl.js} +6 -6
- package/dist/plugin-sdk/{skills-CK4ps21y.js → skills-DYR5x5Gr.js} +6 -6
- package/dist/plugin-sdk/{ssrf-C6tFUn-U.js → ssrf-DR9xWewb.js} +2 -2
- package/dist/plugin-sdk/{store-yyHwOn7K.js → store-Bt0zQRQl.js} +2 -2
- package/dist/plugin-sdk/{store-B3fH9LYD.js → store-Cy3Dzpbu.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-79qX0iO4.js +61 -0
- package/dist/plugin-sdk/subagent-registry-BaawB60T.js +61 -0
- package/dist/plugin-sdk/{subsystem-D7nM2AoW.js → subsystem-B8AkdtCZ.js} +4 -4
- package/dist/plugin-sdk/{subsystem-rgYCdGI1.js → subsystem-BJwpOj_m.js} +4 -4
- package/dist/plugin-sdk/{tables-CWATSMdp.js → tables-DBa8HzDM.js} +1 -1
- package/dist/plugin-sdk/{tables-CAn8Uiv7.js → tables-DHN3rZ24.js} +1 -1
- package/dist/plugin-sdk/testing.js +55 -55
- package/dist/plugin-sdk/{tokens-DTNAbGed.js → tokens-BZ4pmyi4.js} +1 -1
- package/dist/plugin-sdk/{tokens-cnVX9Q87.js → tokens-D7bndIFM.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-hidML3Zn.js → tool-loop-detection-O55eXW7t.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-fff6kmkP.js → tool-loop-detection-VTqBeC_h.js} +1 -1
- package/dist/plugin-sdk/{tools-BYRFeM5o.js → tools-Bx_bU8Ko.js} +93 -93
- package/dist/plugin-sdk/user-run-recording-B_LG8df9.js +11 -0
- package/dist/plugin-sdk/{user-run-recording-BgXqB78i.js → user-run-recording-CQENQmgV.js} +2 -2
- package/dist/plugin-sdk/{user-run-recording-DBN9MLgl.js → user-run-recording-DepmpAdE.js} +3 -3
- package/dist/{provider-image-tTArxp_m.js → provider-image-BqxdhC84.js} +5 -5
- package/dist/{proxy-B2bQVN0b.js → proxy-CJMip70P.js} +1 -1
- package/dist/{proxy-env-b209l87p.js → proxy-env-BBllD0qI.js} +2 -2
- package/dist/{proxy-fetch-CNzfDJKL.js → proxy-fetch-C4a8MwFs.js} +1 -1
- package/dist/{pw-ai-Dt4AEbVC.js → pw-ai-DTklTcfl.js} +14 -14
- package/dist/{qmd-manager-Bk4YLrFZ.js → qmd-manager-yHQXCPr6.js} +10 -10
- package/dist/{query-expansion-DKwGIeDe.js → query-expansion-DJVKyeDw.js} +5 -5
- package/dist/{recorder-BWzqo70i.js → recorder-BESd9rZt.js} +4 -4
- package/dist/{redact-BFxpQajB.js → redact-D8fpDrdk.js} +1 -1
- package/dist/{replies-BKYeJ-lN.js → replies-LVVUM-gg.js} +4 -4
- package/dist/{reply-directives-MtuQmZ3x.js → reply-directives-CZPJmH1t.js} +2 -2
- package/dist/{reply-prefix-BivNEMUT.js → reply-prefix-r6A18fKP.js} +1 -1
- package/dist/{resolve-route-BxKedPkn.js → resolve-route-Cnxsmfj5.js} +5 -5
- package/dist/{run-with-concurrency-DNTVyFZm.js → run-with-concurrency-VoSJL2UI.js} +4 -4
- package/dist/{runs-Bfd3xo6Q.js → runs-vS0SOF8v.js} +8 -8
- package/dist/{send-is_ecMF8.js → send-BRRJAJM9.js} +25 -25
- package/dist/{send-DEMG5oDJ.js → send-C0_Cahgz.js} +8 -8
- package/dist/{send-DWgzW_VE.js → send-CyDzxMSP.js} +6 -6
- package/dist/{send-7ZbQnb3_.js → send-D8garnHE.js} +7 -7
- package/dist/{send-BxB9kMh0.js → send-DTHoJI7v.js} +6 -6
- package/dist/{session-meta-Bq4VCJl1.js → session-meta-Du0u83SI.js} +2 -2
- package/dist/{skill-commands-BeW5zYf3.js → skill-commands-DycP7LkE.js} +9 -9
- package/dist/{skills-CoDdFrlM.js → skills-C-1FVOPz.js} +21 -21
- package/dist/{store-BMD4fV1_.js → store-q3G7wCsG.js} +2 -2
- package/dist/{subsystem-CtVr6mhM.js → subsystem-iTNW5QQR.js} +60 -60
- package/dist/{tables-77QYYFpZ.js → tables-Epd9B-UQ.js} +1 -1
- package/dist/{tokens-Cu6l17bG.js → tokens-iu44eB15.js} +1 -1
- package/dist/{tool-loop-detection-CyJWzj_y.js → tool-loop-detection-B_CTZm9s.js} +2 -2
- package/dist/{user-run-recording-_9PhRwgi.js → user-run-recording-DU3V9-R7.js} +2 -2
- package/dist/{workspace-DNApJm8a.js → workspace-TtYCbjn0.js} +9 -9
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-CJ36gcjc.js +0 -61
- package/dist/plugin-sdk/agent-turn-execute-MCfUSNAn.js +0 -61
- package/dist/plugin-sdk/agent-turn-runner-CxTKSm01.js +0 -11
- package/dist/plugin-sdk/audio-preflight-CvfZay92.js +0 -28
- package/dist/plugin-sdk/deliver-Cs4Z-yfq.js +0 -32
- package/dist/plugin-sdk/deliver-Cvf-McDg.js +0 -32
- package/dist/plugin-sdk/manager-BMV4GnjN.js +0 -16
- package/dist/plugin-sdk/manager-BxgZBJqX.js +0 -16
- package/dist/plugin-sdk/markdown-tables-BfxWyPNL.js +0 -10
- package/dist/plugin-sdk/provider-dispatcher-CmuWLups.js +0 -61
- package/dist/plugin-sdk/provider-dispatcher-DNwnSw41.js +0 -61
- package/dist/plugin-sdk/provider-image-DXbrbBES.js +0 -22
- package/dist/plugin-sdk/provider-image-QXB69xur.js +0 -22
- package/dist/plugin-sdk/proxy-D8NLdDcu.js +0 -7
- package/dist/plugin-sdk/replies-Be239YFg.js +0 -25
- package/dist/plugin-sdk/replies-CFdGwJzf.js +0 -25
- package/dist/plugin-sdk/reply-prefix-BNDj6UL_.js +0 -7
- package/dist/plugin-sdk/runs-DYKrmhVM.js +0 -25
- package/dist/plugin-sdk/runs-vOx1d_ks.js +0 -25
- package/dist/plugin-sdk/send-BbBjb8Y6.js +0 -27
- package/dist/plugin-sdk/send-BeGT-pg6.js +0 -23
- package/dist/plugin-sdk/send-CnAE3Jo0.js +0 -24
- package/dist/plugin-sdk/send-D0F57nZU.js +0 -23
- package/dist/plugin-sdk/send-DiZVGsNc.js +0 -27
- package/dist/plugin-sdk/send-Q46WVgnx.js +0 -25
- package/dist/plugin-sdk/send-j6u0up7Q.js +0 -24
- package/dist/plugin-sdk/send-mvIDllNB.js +0 -25
- package/dist/plugin-sdk/session-meta-GZHIw3Fv.js +0 -10
- package/dist/plugin-sdk/skill-commands-CQmHbw9e.js +0 -14
- package/dist/plugin-sdk/subagent-registry-C5F7F59N.js +0 -61
- package/dist/plugin-sdk/subagent-registry-dkpySBIy.js +0 -61
- package/dist/plugin-sdk/user-run-recording-ZaA2WM4L.js +0 -11
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ci as markAuthProfileGood, Ei as resolveAuthStorePathForDisplay, Oi as resolveAuthProfileDisplayLabel, Si as listProfilesForProvider, Ti as saveAuthProfileStore, ai as calculateAuthProfileCooldownMs, bi as suggestOAuthProfileIdForLegacyDefault, ci as isProfileInCooldown, di as resolveProfilesUnavailableReason, fi as resolveApiKeyForProfile, ii as resolveAuthProfileOrder, li as markAuthProfileFailure, oi as clearExpiredCooldowns, si as getSoonestCooldownExpiry, ui as markAuthProfileUsed, wi as ensureAuthProfileStore, xi as dedupeProfileIds, yi as formatAuthDoctorHint } from "./registry-
|
|
1
|
+
import { Ci as markAuthProfileGood, Ei as resolveAuthStorePathForDisplay, Oi as resolveAuthProfileDisplayLabel, Si as listProfilesForProvider, Ti as saveAuthProfileStore, ai as calculateAuthProfileCooldownMs, bi as suggestOAuthProfileIdForLegacyDefault, ci as isProfileInCooldown, di as resolveProfilesUnavailableReason, fi as resolveApiKeyForProfile, ii as resolveAuthProfileOrder, li as markAuthProfileFailure, oi as clearExpiredCooldowns, si as getSoonestCooldownExpiry, ui as markAuthProfileUsed, wi as ensureAuthProfileStore, xi as dedupeProfileIds, yi as formatAuthDoctorHint } from "./registry-MeZym4lM.js";
|
|
2
2
|
import "./paths-DnKvZ6zt.js";
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./run-with-concurrency-
|
|
6
|
-
import "./logger-
|
|
3
|
+
import "./agent-scope-CEEynY4W.js";
|
|
4
|
+
import "./subsystem-BJwpOj_m.js";
|
|
5
|
+
import "./run-with-concurrency-ILVrq3D3.js";
|
|
6
|
+
import "./logger-DjkYAAwO.js";
|
|
7
7
|
import "./github-copilot-token-pUhYl0t8.js";
|
|
8
8
|
|
|
9
9
|
export { ensureAuthProfileStore };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as formatErrorMessage } from "./proxy-env-
|
|
2
|
-
import { Gr as retryAsync, Wr as resolveRetryConfig } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { a as formatErrorMessage } from "./proxy-env-Dof0ndb_.js";
|
|
2
|
+
import { Gr as retryAsync, Wr as resolveRetryConfig } from "./registry-MeZym4lM.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BJwpOj_m.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { ns as resolveRetryConfig, rs as retryAsync } from "./config-
|
|
3
|
-
import { m as formatErrorMessage } from "./ssrf-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-B8AkdtCZ.js";
|
|
2
|
+
import { ns as resolveRetryConfig, rs as retryAsync } from "./config-CFfrK92W.js";
|
|
3
|
+
import { m as formatErrorMessage } from "./ssrf-DR9xWewb.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as isPathInside, k as isNotFoundPathError, t as createSubsystemLogger, wt as resolvePreferredOpenClawTmpDir, z as CONFIG_DIR } from "./subsystem-
|
|
2
|
-
import { $ as normalizeIpAddress, J as isIpInCidr, Q as isPrivateOrLoopbackIpAddress, Z as isLoopbackIpAddress, n as loadConfig } from "./config-
|
|
3
|
-
import { _ as isErrno, c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-
|
|
4
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
1
|
+
import { A as isPathInside, k as isNotFoundPathError, t as createSubsystemLogger, wt as resolvePreferredOpenClawTmpDir, z as CONFIG_DIR } from "./subsystem-B8AkdtCZ.js";
|
|
2
|
+
import { $ as normalizeIpAddress, J as isIpInCidr, Q as isPrivateOrLoopbackIpAddress, Z as isLoopbackIpAddress, n as loadConfig } from "./config-CFfrK92W.js";
|
|
3
|
+
import { _ as isErrno, c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-DR9xWewb.js";
|
|
4
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BbukgmJs.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as resolvePinnedHostnameWithPolicy, c as isErrno, h as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
2
|
-
import { Gt as loadConfig, bn as normalizeIpAddress, hn as isIpInCidr, vn as isLoopbackIpAddress, yn as isPrivateOrLoopbackIpAddress } from "./registry-
|
|
3
|
-
import { it as isPathInside, pt as resolvePreferredOpenClawTmpDir, rt as isNotFoundPathError, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
4
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
1
|
+
import { _ as resolvePinnedHostnameWithPolicy, c as isErrno, h as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-Dof0ndb_.js";
|
|
2
|
+
import { Gt as loadConfig, bn as normalizeIpAddress, hn as isIpInCidr, vn as isLoopbackIpAddress, yn as isPrivateOrLoopbackIpAddress } from "./registry-MeZym4lM.js";
|
|
3
|
+
import { it as isPathInside, pt as resolvePreferredOpenClawTmpDir, rt as isNotFoundPathError, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-BJwpOj_m.js";
|
|
4
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-5miLMTNQ.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { createHmac } from "node:crypto";
|
|
7
7
|
import fs from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-KIDAzMH-.js";
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./config-
|
|
2
|
+
import "./subsystem-B8AkdtCZ.js";
|
|
3
|
+
import "./agent-scope-DuxkVlZ-.js";
|
|
4
|
+
import "./config-CFfrK92W.js";
|
|
5
5
|
import "./github-copilot-token-BzpcrxaW.js";
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./artifacts-
|
|
8
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, r as chunkByParagraph, s as chunkTextWithMode, t as __resetChunkDeliveryDeprecationStateForTests, u as resolveChunkNewlinePacking } from "./chunk-
|
|
6
|
+
import "./logger-qbelrLm7.js";
|
|
7
|
+
import "./artifacts-BR0G7jgh.js";
|
|
8
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, r as chunkByParagraph, s as chunkTextWithMode, t as __resetChunkDeliveryDeprecationStateForTests, u as resolveChunkNewlinePacking } from "./chunk-CXNOkk_w.js";
|
|
9
9
|
|
|
10
10
|
export { __resetChunkDeliveryDeprecationStateForTests, chunkByNewline, chunkByParagraph, chunkMarkdownText, chunkMarkdownTextWithMode, chunkText, chunkTextWithMode, resolveChunkDelivery, resolveChunkMode, resolveChunkNewlinePacking, resolveTextChunkLimit };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { X as normalizeAccountId } from "./agent-scope-
|
|
3
|
-
import { _a as resolveAccountEntry, ya as INTERNAL_MESSAGE_CHANNEL } from "./config-
|
|
1
|
+
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-B8AkdtCZ.js";
|
|
2
|
+
import { X as normalizeAccountId } from "./agent-scope-DuxkVlZ-.js";
|
|
3
|
+
import { _a as resolveAccountEntry, ya as INTERNAL_MESSAGE_CHANNEL } from "./config-CFfrK92W.js";
|
|
4
4
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-DQqVJhbI.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/chunk.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Ea as resolveAccountEntry, Oa as INTERNAL_MESSAGE_CHANNEL } from "./registry-
|
|
3
|
-
import { Y as normalizeAccountId } from "./agent-scope-
|
|
4
|
-
import { n as avoidTrailingHighSurrogateBreak, r as chunkTextByBreakResolver, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-Dof0ndb_.js";
|
|
2
|
+
import { Ea as resolveAccountEntry, Oa as INTERNAL_MESSAGE_CHANNEL } from "./registry-MeZym4lM.js";
|
|
3
|
+
import { Y as normalizeAccountId } from "./agent-scope-CEEynY4W.js";
|
|
4
|
+
import { n as avoidTrailingHighSurrogateBreak, r as chunkTextByBreakResolver, t as createSubsystemLogger } from "./subsystem-BJwpOj_m.js";
|
|
5
5
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-FDYDS-Om.js";
|
|
6
6
|
|
|
7
7
|
//#region src/auto-reply/chunk.ts
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-KIDAzMH-.js";
|
|
2
|
-
import { $ as resolveUserPath, Ct as normalizeLogLevel, Et as consumeRootOptionToken, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, Tt as FLAG_TERMINATOR, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$1, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-
|
|
2
|
+
import { $ as resolveUserPath, Ct as normalizeLogLevel, Et as consumeRootOptionToken, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, Tt as FLAG_TERMINATOR, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$1, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-B8AkdtCZ.js";
|
|
3
3
|
import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
|
|
4
|
-
import { $ as getSubagentDepth, A as resolveAgentModelFallbackValues, B as normalizeAgentId, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveLinkedPeerIdForChannel, H as resolveAgentIdFromSessionKey, J as toAgentStoreSessionKey, K as resolveThreadSessionKeys, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as deriveSessionChatType, R as classifySessionKeyShape, S as filterBootstrapFilesForSession, U as resolveCanonicalIdentity, V as normalizeMainKey, W as resolveConfiguredCanonicalIdentity, X as normalizeAccountId$3, Y as DEFAULT_ACCOUNT_ID, Z as normalizeOptionalAccountId, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as isAcpSessionKey, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as resolveThreadParentSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as isSubagentSessionKey, o as resolveAgentSkillsFilter, q as sanitizeAgentId, r as resolveAgentConfig, rt as parseAgentSessionKey, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, tt as isCronSessionKey, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as isValidAgentId } from "./agent-scope-
|
|
5
|
-
import { $a as resetConfigOverrides, $i as normalizeWhatsAppTarget, $n as sanitizeJsonb, $s as coerceSecretRef, Aa as GATEWAY_CLIENT_NAMES, Ai as buildChannelAccountBindings, An as writeJsonAtomic, Ao as mapStreamingModeToSlackLegacyDraftStreamMode, Ar as resolveSessionResetPolicy, As as parseDotPath, B as ASSISTANT_IDENTITY_COLORS, Ba as optionalStringEnum, Bi as resolveSlackAppToken, Bn as drainPendingPrimaryWrites, Bo as findNormalizedProviderValue, Br as resolveMainSessionKey, Bs as listProfilesForProvider, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as isMarkdownCapableMessageChannel, Cn as INPUT_PROVENANCE_KIND_VALUES, Co as unwrapKnownShellMultiplexerInvocation, Cr as makeZeroUsageSnapshot, Cs as resolveProfilesUnavailableReason, Ct as normalizeAnyChannelId, Da as resolveMessageChannel, Dn as jsonUtf8Bytes, Do as resolveSafeBinProfiles, Dr as resolveSessionKey, Ds as describeUnknownError$1, Dt as getActiveGatewayPluginRegistry, Ea as resolveGatewayMessageChannel, Ei as listTelegramAccountIds, En as normalizeInputProvenance, Eo as normalizeSafeBinProfileFixtures, Er as SESSION_RUN_STATUSES, Es as resolveSecretRefValues, Et as resolveChannelConfigId, Fa as acquireSessionWriteLock, Fo as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Fr as resolveFreshSessionTotalTokens, Fs as formatCliCommand, Ft as createPluginRegistry, Gi as resolveSignalAccount, Go as parseModelRef, Gs as resolveOpenClawAgentDir, Ha as applyTargetToParams, Hi as listEnabledSignalAccounts, Hn as hydrateSessionManagerFromDb, Ho as modelKey, Hr as getChannelPlugin, Hs as ensureAuthProfileStore, Ht as matchPluginCommand, Ia as resolveSessionLockMaxHoldFromTimeout, In as resolveAndPersistSessionFile, Io as resolveAgentMaxConcurrent, Ir as setSessionRuntimeModel, Is as resolveCliName, It as normalizePluginHttpPath, Ja as discardBufferedPluginTaskPasses, Jn as TASK_RUN_STATUSES, Jo as resolveModelRefFromString, Ko as resolveConfiguredModelRef, La as readTaskWorkStates, Ln as withPreservationWriterPermit, Lo as buildAllowedModelSet, Lr as canonicalizeMainSessionAlias, Lt as buildPluginHealthReport, Ma as normalizeHyphenSlug, Mn as extractDeliveryInfo, Mo as resolveSlackNativeStreaming, Mr as resolveThreadFlag, Mt as setActivePluginRegistry, Na as normalizeStringEntries, Nn as parseSessionThreadInfo, No as resolveSlackStreamingMode, Nr as DEFAULT_RESET_TRIGGERS, Ns as secretRefKey, Nt as addRegisteredPluginApi, Oa as GATEWAY_CLIENT_IDS, Oi as resolveTelegramAccount, On as createAsyncLock, Oo as applyMergePatch, Or as evaluateSessionFreshness, Os as isNonEmptyString, Ot as getActivePluginRegistry, Pa as normalizeStringEntriesLower, Pn as appendAssistantMessageToSessionTranscript, Pr as mergeSessionEntry, Pt as clearRegisteredPluginApis, Qa as getConfigOverrides, Qi as isWhatsAppGroupJid, Ra as channelTargetSchema, Ri as resolveSlackAccount, Rn as isJsonlSessionBackend, Ro as buildConfiguredAllowlistKeys, Rr as resolveAgentMainSessionKey, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as isInternalMessageChannel, Sn as parseInlineDirectives$1, So as unwrapKnownDispatchWrapperInvocation, Sr as hasNonzeroUsage, Ss as markAuthProfileUsed, St as listChatChannels, Ta as normalizeMessageChannel, Ti as listEnabledTelegramAccounts, Tn as hasInterSessionUserProvenance, To as SAFE_BIN_PROFILES, Tt as normalizeChatChannelId, Ua as actionHasTarget, Un as emitSessionTranscriptUpdate, Uo as normalizeModelRef$2, Ur as listChannelPlugins, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as stringEnum, Vi as resolveSlackBotToken, Vn as DB_SESSION_HYDRATION_LIMIT, Vo as isCliProvider, Vr as deriveSessionMetaPatch, Vs as markAuthProfileGood, Vt as listPluginCommands, Wa as actionRequiresTarget, Wn as onSessionTranscriptUpdate, Wo as normalizeProviderId, Wr as normalizeChannelId$1, Ws as resolveAuthStorePathForDisplay, Xa as replaceBufferedPluginTaskPasses, Xo as resolveSubagentSpawnModelSelection, Xt as createInternalHookEvent, Ya as listBufferedPluginTaskPasses, Yo as resolveReasoningDefault, Ys as resolveAuthProfileDisplayLabel, Za as RecoveryAdmissionError, Zo as resolveThinkingDefault, Zs as normalizeSecretInput, Zt as triggerInternalHook, _ as resolveTelegramCustomCommands, _a as resolveAccountEntry, _n as normalizeAccountId$4, _o as resolveAllowlistCandidatePath, _r as isDiagnosticsEnabled, _t as safeStatSync, a as writeConfigFile, ac as splitTrailingAuthProfile, an as recordSessionMetaFromInbound, ao as unsetConfigValueAtPath, ar as toJsonValue$1, as as createOllamaStreamFn, at as isPathWithinRoot, ba as isDeliverableMessageChannel, bn as countToolResults, bo as isDispatchWrapperExecutable, br as derivePromptTokens, bs as isProfileInCooldown, bt as CHAT_CHANNEL_ORDER, cc as DEFAULT_PROVIDER, cn as updateSessionStore, co as listWritableExplicitTrustedSafeBinDirs, cr as buildInboundUserContextPrefix, cs as buildStreamErrorAssistantMessage, ct as loadPluginManifestRegistry, da as resolveDiscordAccount, dc as resolveShellEnvFallbackTimeoutMs, dn as resolveCacheTtlMs$1, do as analyzeShellCommand, dr as resolveTimezone, ds as getCustomProviderApiKey, dt as isBundledChannelEnabledByChannelConfig, ea as hasAnyWhatsAppAuth, ec as hasConfiguredSecretInput, en as getActivePreservationLease, eo as setConfigOverride, er as sha256, fa as normalizeDiscordToken, fc as isTruthyEnvValue, fn as deliveryContextFromSession, fo as buildEnforcedShellCommand, fr as resolveSenderLabel, fs as requireApiKey, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, gn as normalizeSessionDeliveryFields, go as matchAllowlist, gr as emitDiagnosticEvent, gs as resolveAuthProfileOrder, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as resolveChannelGroupToolsPolicy, hn as normalizeDeliveryContext, ho as DEFAULT_SAFE_BINS, hs as resolveModelAuthMode, ht as discoverOpenClawPlugins, ic as resolveSecretInputRef, in as readSessionUpdatedAt, io as setConfigValueAtPath, ir as mergePromptContributions, is as OLLAMA_NATIVE_BASE_URL, it as isAvatarHttpUrl, ja as normalizeAtHashSlug, jn as parseDurationMs, jo as resolveDiscordPreviewStreamMode, jr as resolveSessionResetType, jt as requireActivePluginRegistry, ka as GATEWAY_CLIENT_MODES, ki as resolveTelegramToken, kn as readJsonFile, ko as isSafeExecutableValue, kr as resolveChannelResetConfig, ks as isRecord$2, kt as getActivePluginRegistryKey, la as listEnabledDiscordAccounts, lc as VERSION, li as normalizeSignalMessagingTarget, ln as updateSessionStoreEntry, lo as normalizeTrustedSafeBinDirs, lr as formatUtcTimestamp, ls as buildUsageWithNoCost, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as resolveChannelGroupRequireMention, mc as resolveOwnerDisplaySetting, mn as mergeDeliveryContext, mo as splitCommandChain, ms as resolveEnvApiKey, mt as resolveMemorySlotDecision, n as loadConfig, nc as normalizeResolvedSecretInputString, ni as resolveSlackChannelId, nn as isPreservationArmed, no as getConfigValueAtPath, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as resolveIMessageAccount, oc as DEFAULT_CONTEXT_TOKENS, oi as getChannelDock, on as syncConfiguredSessionTranscriptToRuntime, oo as getTrustedSafeBinDirs, os as buildAssistantMessage, ot as isSupportedLocalAvatarExtension, pa as resolveChannelGroupPolicy, pc as parseBooleanValue$1, pn as deliveryContextKey, po as isWindowsPlatform, ps as resolveApiKeyForProvider, pt as resolveEffectiveEnableState, qn as TASK_RUN_MODES, qo as resolveDefaultModelForAgent, qs as withFileLock, r as readConfigFileSnapshot, ra as resolveWhatsAppAccount, rn as loadSessionStore, ro as parseConfigPath, rs as retryAsync, rt as isAvatarDataUrl, sa as createDiscordActionGate, sc as DEFAULT_MODEL, si as listChannelDocks, sn as updateLastRoute, so as isTrustedSafeBinPath, sr as buildInboundMetaSystemPrompt, ss as buildAssistantMessageWithZeroUsage, st as validateJsonSchemaValue, ti as parseSlackTarget, tn as getConfiguredSessionStorageRuntime, to as unsetConfigOverride, tr as createCurrentUserPromptEnvelope, uc as getShellPathFromLoginShell, un as isCacheEnabled, uo as validateSafeBinArgv, ur as formatZonedTimestamp, us as getApiKeyForModel, ut as applyTestPluginDefaults, va as resolveGroupSessionKey, vn as archiveSessionTranscripts, vo as resolveCommandResolutionFromArgv, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as listDeliverableMessageChannels, wi as createTelegramActionGate, wn as applyInputProvenanceToUserMessage, wo as splitShellArgs, wr as normalizeUsage, ws as resolveApiKeyForProfile, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as isGatewayMessageChannel, xn as extractToolCallNames, xo as isShellWrapperExecutable, xr as deriveSessionTotalTokens, xs as markAuthProfileFailure, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as INTERNAL_MESSAGE_CHANNEL, yn as capArrayByJsonBytes, yo as extractShellWrapperInlineCommand, ys as getSoonestCooldownExpiry, za as channelTargetsSchema, zi as resolveSlackReplyToMode, zn as createPrimaryWriteInterceptor, zo as buildModelAliasIndex, zr as resolveExplicitAgentSessionKey, zs as dedupeProfileIds, zt as executePluginCommand } from "./config-
|
|
4
|
+
import { $ as getSubagentDepth, A as resolveAgentModelFallbackValues, B as normalizeAgentId, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveLinkedPeerIdForChannel, H as resolveAgentIdFromSessionKey, J as toAgentStoreSessionKey, K as resolveThreadSessionKeys, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as deriveSessionChatType, R as classifySessionKeyShape, S as filterBootstrapFilesForSession, U as resolveCanonicalIdentity, V as normalizeMainKey, W as resolveConfiguredCanonicalIdentity, X as normalizeAccountId$3, Y as DEFAULT_ACCOUNT_ID, Z as normalizeOptionalAccountId, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as isAcpSessionKey, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as resolveThreadParentSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as isSubagentSessionKey, o as resolveAgentSkillsFilter, q as sanitizeAgentId, r as resolveAgentConfig, rt as parseAgentSessionKey, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, tt as isCronSessionKey, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as isValidAgentId } from "./agent-scope-DuxkVlZ-.js";
|
|
5
|
+
import { $a as resetConfigOverrides, $i as normalizeWhatsAppTarget, $n as sanitizeJsonb, $s as coerceSecretRef, Aa as GATEWAY_CLIENT_NAMES, Ai as buildChannelAccountBindings, An as writeJsonAtomic, Ao as mapStreamingModeToSlackLegacyDraftStreamMode, Ar as resolveSessionResetPolicy, As as parseDotPath, B as ASSISTANT_IDENTITY_COLORS, Ba as optionalStringEnum, Bi as resolveSlackAppToken, Bn as drainPendingPrimaryWrites, Bo as findNormalizedProviderValue, Br as resolveMainSessionKey, Bs as listProfilesForProvider, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as isMarkdownCapableMessageChannel, Cn as INPUT_PROVENANCE_KIND_VALUES, Co as unwrapKnownShellMultiplexerInvocation, Cr as makeZeroUsageSnapshot, Cs as resolveProfilesUnavailableReason, Ct as normalizeAnyChannelId, Da as resolveMessageChannel, Dn as jsonUtf8Bytes, Do as resolveSafeBinProfiles, Dr as resolveSessionKey, Ds as describeUnknownError$1, Dt as getActiveGatewayPluginRegistry, Ea as resolveGatewayMessageChannel, Ei as listTelegramAccountIds, En as normalizeInputProvenance, Eo as normalizeSafeBinProfileFixtures, Er as SESSION_RUN_STATUSES, Es as resolveSecretRefValues, Et as resolveChannelConfigId, Fa as acquireSessionWriteLock, Fo as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Fr as resolveFreshSessionTotalTokens, Fs as formatCliCommand, Ft as createPluginRegistry, Gi as resolveSignalAccount, Go as parseModelRef, Gs as resolveOpenClawAgentDir, Ha as applyTargetToParams, Hi as listEnabledSignalAccounts, Hn as hydrateSessionManagerFromDb, Ho as modelKey, Hr as getChannelPlugin, Hs as ensureAuthProfileStore, Ht as matchPluginCommand, Ia as resolveSessionLockMaxHoldFromTimeout, In as resolveAndPersistSessionFile, Io as resolveAgentMaxConcurrent, Ir as setSessionRuntimeModel, Is as resolveCliName, It as normalizePluginHttpPath, Ja as discardBufferedPluginTaskPasses, Jn as TASK_RUN_STATUSES, Jo as resolveModelRefFromString, Ko as resolveConfiguredModelRef, La as readTaskWorkStates, Ln as withPreservationWriterPermit, Lo as buildAllowedModelSet, Lr as canonicalizeMainSessionAlias, Lt as buildPluginHealthReport, Ma as normalizeHyphenSlug, Mn as extractDeliveryInfo, Mo as resolveSlackNativeStreaming, Mr as resolveThreadFlag, Mt as setActivePluginRegistry, Na as normalizeStringEntries, Nn as parseSessionThreadInfo, No as resolveSlackStreamingMode, Nr as DEFAULT_RESET_TRIGGERS, Ns as secretRefKey, Nt as addRegisteredPluginApi, Oa as GATEWAY_CLIENT_IDS, Oi as resolveTelegramAccount, On as createAsyncLock, Oo as applyMergePatch, Or as evaluateSessionFreshness, Os as isNonEmptyString, Ot as getActivePluginRegistry, Pa as normalizeStringEntriesLower, Pn as appendAssistantMessageToSessionTranscript, Pr as mergeSessionEntry, Pt as clearRegisteredPluginApis, Qa as getConfigOverrides, Qi as isWhatsAppGroupJid, Ra as channelTargetSchema, Ri as resolveSlackAccount, Rn as isJsonlSessionBackend, Ro as buildConfiguredAllowlistKeys, Rr as resolveAgentMainSessionKey, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as isInternalMessageChannel, Sn as parseInlineDirectives$1, So as unwrapKnownDispatchWrapperInvocation, Sr as hasNonzeroUsage, Ss as markAuthProfileUsed, St as listChatChannels, Ta as normalizeMessageChannel, Ti as listEnabledTelegramAccounts, Tn as hasInterSessionUserProvenance, To as SAFE_BIN_PROFILES, Tt as normalizeChatChannelId, Ua as actionHasTarget, Un as emitSessionTranscriptUpdate, Uo as normalizeModelRef$2, Ur as listChannelPlugins, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as stringEnum, Vi as resolveSlackBotToken, Vn as DB_SESSION_HYDRATION_LIMIT, Vo as isCliProvider, Vr as deriveSessionMetaPatch, Vs as markAuthProfileGood, Vt as listPluginCommands, Wa as actionRequiresTarget, Wn as onSessionTranscriptUpdate, Wo as normalizeProviderId, Wr as normalizeChannelId$1, Ws as resolveAuthStorePathForDisplay, Xa as replaceBufferedPluginTaskPasses, Xo as resolveSubagentSpawnModelSelection, Xt as createInternalHookEvent, Ya as listBufferedPluginTaskPasses, Yo as resolveReasoningDefault, Ys as resolveAuthProfileDisplayLabel, Za as RecoveryAdmissionError, Zo as resolveThinkingDefault, Zs as normalizeSecretInput, Zt as triggerInternalHook, _ as resolveTelegramCustomCommands, _a as resolveAccountEntry, _n as normalizeAccountId$4, _o as resolveAllowlistCandidatePath, _r as isDiagnosticsEnabled, _t as safeStatSync, a as writeConfigFile, ac as splitTrailingAuthProfile, an as recordSessionMetaFromInbound, ao as unsetConfigValueAtPath, ar as toJsonValue$1, as as createOllamaStreamFn, at as isPathWithinRoot, ba as isDeliverableMessageChannel, bn as countToolResults, bo as isDispatchWrapperExecutable, br as derivePromptTokens, bs as isProfileInCooldown, bt as CHAT_CHANNEL_ORDER, cc as DEFAULT_PROVIDER, cn as updateSessionStore, co as listWritableExplicitTrustedSafeBinDirs, cr as buildInboundUserContextPrefix, cs as buildStreamErrorAssistantMessage, ct as loadPluginManifestRegistry, da as resolveDiscordAccount, dc as resolveShellEnvFallbackTimeoutMs, dn as resolveCacheTtlMs$1, do as analyzeShellCommand, dr as resolveTimezone, ds as getCustomProviderApiKey, dt as isBundledChannelEnabledByChannelConfig, ea as hasAnyWhatsAppAuth, ec as hasConfiguredSecretInput, en as getActivePreservationLease, eo as setConfigOverride, er as sha256, fa as normalizeDiscordToken, fc as isTruthyEnvValue, fn as deliveryContextFromSession, fo as buildEnforcedShellCommand, fr as resolveSenderLabel, fs as requireApiKey, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, gn as normalizeSessionDeliveryFields, go as matchAllowlist, gr as emitDiagnosticEvent, gs as resolveAuthProfileOrder, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as resolveChannelGroupToolsPolicy, hn as normalizeDeliveryContext, ho as DEFAULT_SAFE_BINS, hs as resolveModelAuthMode, ht as discoverOpenClawPlugins, ic as resolveSecretInputRef, in as readSessionUpdatedAt, io as setConfigValueAtPath, ir as mergePromptContributions, is as OLLAMA_NATIVE_BASE_URL, it as isAvatarHttpUrl, ja as normalizeAtHashSlug, jn as parseDurationMs, jo as resolveDiscordPreviewStreamMode, jr as resolveSessionResetType, jt as requireActivePluginRegistry, ka as GATEWAY_CLIENT_MODES, ki as resolveTelegramToken, kn as readJsonFile, ko as isSafeExecutableValue, kr as resolveChannelResetConfig, ks as isRecord$2, kt as getActivePluginRegistryKey, la as listEnabledDiscordAccounts, lc as VERSION, li as normalizeSignalMessagingTarget, ln as updateSessionStoreEntry, lo as normalizeTrustedSafeBinDirs, lr as formatUtcTimestamp, ls as buildUsageWithNoCost, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as resolveChannelGroupRequireMention, mc as resolveOwnerDisplaySetting, mn as mergeDeliveryContext, mo as splitCommandChain, ms as resolveEnvApiKey, mt as resolveMemorySlotDecision, n as loadConfig, nc as normalizeResolvedSecretInputString, ni as resolveSlackChannelId, nn as isPreservationArmed, no as getConfigValueAtPath, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as resolveIMessageAccount, oc as DEFAULT_CONTEXT_TOKENS, oi as getChannelDock, on as syncConfiguredSessionTranscriptToRuntime, oo as getTrustedSafeBinDirs, os as buildAssistantMessage, ot as isSupportedLocalAvatarExtension, pa as resolveChannelGroupPolicy, pc as parseBooleanValue$1, pn as deliveryContextKey, po as isWindowsPlatform, ps as resolveApiKeyForProvider, pt as resolveEffectiveEnableState, qn as TASK_RUN_MODES, qo as resolveDefaultModelForAgent, qs as withFileLock, r as readConfigFileSnapshot, ra as resolveWhatsAppAccount, rn as loadSessionStore, ro as parseConfigPath, rs as retryAsync, rt as isAvatarDataUrl, sa as createDiscordActionGate, sc as DEFAULT_MODEL, si as listChannelDocks, sn as updateLastRoute, so as isTrustedSafeBinPath, sr as buildInboundMetaSystemPrompt, ss as buildAssistantMessageWithZeroUsage, st as validateJsonSchemaValue, ti as parseSlackTarget, tn as getConfiguredSessionStorageRuntime, to as unsetConfigOverride, tr as createCurrentUserPromptEnvelope, uc as getShellPathFromLoginShell, un as isCacheEnabled, uo as validateSafeBinArgv, ur as formatZonedTimestamp, us as getApiKeyForModel, ut as applyTestPluginDefaults, va as resolveGroupSessionKey, vn as archiveSessionTranscripts, vo as resolveCommandResolutionFromArgv, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as listDeliverableMessageChannels, wi as createTelegramActionGate, wn as applyInputProvenanceToUserMessage, wo as splitShellArgs, wr as normalizeUsage, ws as resolveApiKeyForProfile, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as isGatewayMessageChannel, xn as extractToolCallNames, xo as isShellWrapperExecutable, xr as deriveSessionTotalTokens, xs as markAuthProfileFailure, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as INTERNAL_MESSAGE_CHANNEL, yn as capArrayByJsonBytes, yo as extractShellWrapperInlineCommand, ys as getSoonestCooldownExpiry, za as channelTargetsSchema, zi as resolveSlackReplyToMode, zn as createPrimaryWriteInterceptor, zo as buildModelAliasIndex, zr as resolveExplicitAgentSessionKey, zs as dedupeProfileIds, zt as executePluginCommand } from "./config-CFfrK92W.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BzpcrxaW.js";
|
|
7
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
8
|
-
import { c as resolveSessionFilePathOptions, d as resolveSessionTranscriptsDirForAgent, f as resolveStorePath, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, s as resolveSessionFilePath } from "./artifacts-
|
|
7
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-qbelrLm7.js";
|
|
8
|
+
import { c as resolveSessionFilePathOptions, d as resolveSessionTranscriptsDirForAgent, f as resolveStorePath, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, s as resolveSessionFilePath } from "./artifacts-BR0G7jgh.js";
|
|
9
9
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
10
|
-
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-
|
|
11
|
-
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, f as KeyedAsyncQueue, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime } from "./agent-turn-runner-
|
|
10
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-D9b2K_jS.js";
|
|
11
|
+
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, f as KeyedAsyncQueue, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime } from "./agent-turn-runner-BJWQz-gA.js";
|
|
12
12
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BVVZ4csV.js";
|
|
13
13
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CiGIllmg.js";
|
|
14
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
15
|
-
import { a as isBlockedHostnameOrIp, d as collectErrorGraphCandidates, g as hasErrnoCode, h as formatUncaughtError, l as normalizeHostname, m as formatErrorMessage, p as formatErrorChainMessage, t as SsrFBlockedError, v as readErrorName } from "./ssrf-
|
|
16
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-
|
|
14
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-BN7L2dg6.js";
|
|
15
|
+
import { a as isBlockedHostnameOrIp, d as collectErrorGraphCandidates, g as hasErrnoCode, h as formatUncaughtError, l as normalizeHostname, m as formatErrorMessage, p as formatErrorChainMessage, t as SsrFBlockedError, v as readErrorName } from "./ssrf-DR9xWewb.js";
|
|
16
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-CPP4IJ8j.js";
|
|
17
17
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-Cs7e44no.js";
|
|
18
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
19
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
20
|
-
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-
|
|
21
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
22
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
18
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DXgdWlVV.js";
|
|
19
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BbukgmJs.js";
|
|
20
|
+
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-Deabe2XL.js";
|
|
21
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BzugbfpZ.js";
|
|
22
|
+
import { r as makeProxyFetch } from "./proxy-fetch-tDXPwHrY.js";
|
|
23
23
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-BQnigH8P.js";
|
|
24
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
25
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
24
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-K7o6fRdl.js";
|
|
25
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-DvNnbzRJ.js";
|
|
26
26
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-DQqVJhbI.js";
|
|
27
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
28
|
-
import { t as resolveMarkdownTableMode } from "./markdown-tables-
|
|
29
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
30
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, Ct as isSenderIdAllowed, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, St as firstDefined$1, T as recordUpdate, Tt as resolveGroupAllowFromSources, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as upsertChannelPairingRequest, a as reactMessageTelegram, b as wrapFileReferencesInHtml, bt as getPairingAdapter, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, gt as removeChannelAllowFromStoreEntry, h as isTelegramClientRejection, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readChannelAllowFromStore, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as parseTelegramTarget, p as isRecoverableTelegramNetworkError, pt as addChannelAllowFromStoreEntry, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveTelegramTargetChatType, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, v as markdownToTelegramHtml, vt as readJsonFileWithFallback, w as recordState, wt as mergeDmAllowFromSources, x as fingerprintTelegramToken, xt as listPairingChannels, y as renderTelegramHtmlText, yt as writeJsonFileAtomically, z as buildTelegramParentPeer } from "./send-
|
|
32
|
-
import { $ as expandToolGroups, A as isTransientHttpError, B as registerBrowserRoutes, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as isTimeoutErrorMessage, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRateLimitAssistantError, P as isAuthPermanentErrorMessage, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeImageBlocks, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, ft as sanitizeToolResultImages, g as formatAssistantErrorText, h as classifyFailoverReason, ht as estimateBase64DecodedBytes, it as buildBootstrapContextFiles, j as parseImageDimensionError, k as isRawApiErrorPayload, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, mt as canonicalizeBase64, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, pt as resolveImageSanitizationLimits, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isContextOverflowError, x as isBillingAssistantError, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-
|
|
33
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
34
|
-
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, 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, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-
|
|
35
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-
|
|
36
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
37
|
-
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-
|
|
38
|
-
import { c as resolveSandboxInputPath, d as applySkillEnvOverrides, f as applySkillEnvOverridesFromSnapshot, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, o as assertMediaNotDataUrl, r as loadWorkspaceSkillEntries, s as assertSandboxPath, u as resolveSandboxedMediaSource } from "./skills-
|
|
39
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-
|
|
40
|
-
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-
|
|
41
|
-
import { _ as resolveProviderRuntimeIdentity, c as deriveInboundMessageHookContext, d as toInternalMessageTranscribedContext, f as toPluginMessageContext, g as resolveProviderPromptCacheKey, h as buildPluginTurnIdentity, l as toInternalMessagePreprocessedContext, m as buildPluginRuntimeIdentity, n as initializeGlobalHookRunner, o as applyMessageSendingHook, p as toPluginMessageReceivedEvent, r as promptBuildResultToContribution, s as createMessageSentEmitter, t as getGlobalHookRunner, u as toInternalMessageReceivedContext, v as fireAndForgetHook } from "./hook-runner-global-
|
|
42
|
-
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
43
|
-
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-
|
|
27
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-CXNOkk_w.js";
|
|
28
|
+
import { t as resolveMarkdownTableMode } from "./markdown-tables-DK-jmrsM.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-DHN3rZ24.js";
|
|
30
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-Y056GDch.js";
|
|
31
|
+
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, Ct as isSenderIdAllowed, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, St as firstDefined$1, T as recordUpdate, Tt as resolveGroupAllowFromSources, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as upsertChannelPairingRequest, a as reactMessageTelegram, b as wrapFileReferencesInHtml, bt as getPairingAdapter, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, gt as removeChannelAllowFromStoreEntry, h as isTelegramClientRejection, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readChannelAllowFromStore, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as parseTelegramTarget, p as isRecoverableTelegramNetworkError, pt as addChannelAllowFromStoreEntry, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveTelegramTargetChatType, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, v as markdownToTelegramHtml, vt as readJsonFileWithFallback, w as recordState, wt as mergeDmAllowFromSources, x as fingerprintTelegramToken, xt as listPairingChannels, y as renderTelegramHtmlText, yt as writeJsonFileAtomically, z as buildTelegramParentPeer } from "./send-CilSx61t.js";
|
|
32
|
+
import { $ as expandToolGroups, A as isTransientHttpError, B as registerBrowserRoutes, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as isTimeoutErrorMessage, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRateLimitAssistantError, P as isAuthPermanentErrorMessage, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeImageBlocks, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, ft as sanitizeToolResultImages, g as formatAssistantErrorText, h as classifyFailoverReason, ht as estimateBase64DecodedBytes, it as buildBootstrapContextFiles, j as parseImageDimensionError, k as isRawApiErrorPayload, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, mt as canonicalizeBase64, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, pt as resolveImageSanitizationLimits, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isContextOverflowError, x as isBillingAssistantError, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-BHyLigAA.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-xTho5Weh.js";
|
|
34
|
+
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, 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, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-DEwdraKH.js";
|
|
35
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-BnhAAeIw.js";
|
|
36
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-D7bndIFM.js";
|
|
37
|
+
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-C6GZcZCO.js";
|
|
38
|
+
import { c as resolveSandboxInputPath, d as applySkillEnvOverrides, f as applySkillEnvOverridesFromSnapshot, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, o as assertMediaNotDataUrl, r as loadWorkspaceSkillEntries, s as assertSandboxPath, u as resolveSandboxedMediaSource } from "./skills-CjJsBgbl.js";
|
|
39
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-Dio0wrAv.js";
|
|
40
|
+
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-NV7I9o8B.js";
|
|
41
|
+
import { _ as resolveProviderRuntimeIdentity, c as deriveInboundMessageHookContext, d as toInternalMessageTranscribedContext, f as toPluginMessageContext, g as resolveProviderPromptCacheKey, h as buildPluginTurnIdentity, l as toInternalMessagePreprocessedContext, m as buildPluginRuntimeIdentity, n as initializeGlobalHookRunner, o as applyMessageSendingHook, p as toPluginMessageReceivedEvent, r as promptBuildResultToContribution, s as createMessageSentEmitter, t as getGlobalHookRunner, u as toInternalMessageReceivedContext, v as fireAndForgetHook } from "./hook-runner-global-B14CF25I.js";
|
|
42
|
+
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-Bt0zQRQl.js";
|
|
43
|
+
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-B5LWTAu3.js";
|
|
44
44
|
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-FnAYAFD8.js";
|
|
45
45
|
import { t as redactIdentifier } from "./redact-identifier-COJGJSys.js";
|
|
46
46
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-DwyIZ8dH.js";
|
|
47
|
-
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-
|
|
47
|
+
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-CLEhveRO.js";
|
|
48
48
|
import { n as getDiagnosticSessionState, o as redactChannelCorrelation } from "./diagnostic-session-state-BJKtT9MA.js";
|
|
49
49
|
import { t as CommandLane } from "./lanes-CIgsHd2u.js";
|
|
50
|
-
import { a as enqueueCommandInLane, i as clearCommandLane, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
51
|
-
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-
|
|
52
|
-
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-
|
|
53
|
-
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
50
|
+
import { a as enqueueCommandInLane, i as clearCommandLane, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-oI3bsfFo.js";
|
|
51
|
+
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-CtIzq4SZ.js";
|
|
52
|
+
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-DdGFXNcm.js";
|
|
53
|
+
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-Bm-VMQvJ.js";
|
|
54
54
|
import { n as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CcqKLbvR.js";
|
|
55
|
-
import { _ as onAgentEvent, a as queueEmbeddedPiMessage, c as handleMessageEnd, d as emitEmbeddedAgentEvent, f as buildCodeSpanIndex, g as emitAgentEvent, h as clearAgentRunContext, i as isEmbeddedPiRunStreaming, l as handleMessageStart, m as endModelCall, n as clearActiveEmbeddedRun, o as setActiveEmbeddedRun, p as createInlineCodeState, r as isEmbeddedPiRunActive, s as waitForEmbeddedPiRunEnd, t as abortEmbeddedPiRun, u as handleMessageUpdate, v as registerAgentRunContext } from "./runs-
|
|
56
|
-
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
57
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
58
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
59
|
-
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { t as createTelegramPollingTransport } from "./proxy-
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
63
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
55
|
+
import { _ as onAgentEvent, a as queueEmbeddedPiMessage, c as handleMessageEnd, d as emitEmbeddedAgentEvent, f as buildCodeSpanIndex, g as emitAgentEvent, h as clearAgentRunContext, i as isEmbeddedPiRunStreaming, l as handleMessageStart, m as endModelCall, n as clearActiveEmbeddedRun, o as setActiveEmbeddedRun, p as createInlineCodeState, r as isEmbeddedPiRunActive, s as waitForEmbeddedPiRunEnd, t as abortEmbeddedPiRun, u as handleMessageUpdate, v as registerAgentRunContext } from "./runs-GYfRm1wm.js";
|
|
56
|
+
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-B8eUr4qo.js";
|
|
57
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-Dp2tRhNb.js";
|
|
58
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-D-GVQbm2.js";
|
|
59
|
+
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-CQENQmgV.js";
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DzFbdLUE.js";
|
|
61
|
+
import { t as createTelegramPollingTransport } from "./proxy-vuhge5P0.js";
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-Dq8vnfCv.js";
|
|
63
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-D7wvEO0P.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-CtpBjZ6_.js";
|
|
65
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-Czn3UuZE.js";
|
|
66
66
|
import { createRequire } from "node:module";
|
|
67
67
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
68
68
|
import * as path$1 from "node:path";
|
|
69
69
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
70
70
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
71
|
-
import
|
|
71
|
+
import json5 from "json5";
|
|
72
72
|
import os, { homedir } from "node:os";
|
|
73
73
|
import * as fs$2 from "node:fs/promises";
|
|
74
74
|
import fs$1, { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -16809,7 +16809,7 @@ async function sendTranscriptEcho(params) {
|
|
|
16809
16809
|
}
|
|
16810
16810
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
16811
16811
|
try {
|
|
16812
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
16812
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dk3XJhoF.js");
|
|
16813
16813
|
await deliverOutboundPayloads({
|
|
16814
16814
|
cfg,
|
|
16815
16815
|
channel: normalizedChannel,
|
|
@@ -24466,7 +24466,7 @@ async function routeReply(params) {
|
|
|
24466
24466
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
24467
24467
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
24468
24468
|
try {
|
|
24469
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
24469
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dk3XJhoF.js");
|
|
24470
24470
|
const outboundSession = buildOutboundSessionContext({
|
|
24471
24471
|
cfg,
|
|
24472
24472
|
agentId: resolvedAgentId,
|
|
@@ -26649,7 +26649,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
26649
26649
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
26650
26650
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
26651
26651
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
26652
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
26652
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-BDRcxLgW.js");
|
|
26653
26653
|
await runner.claimAndExecute({
|
|
26654
26654
|
workId: id,
|
|
26655
26655
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -27932,7 +27932,7 @@ async function handleHeartbeatError(params) {
|
|
|
27932
27932
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
27933
27933
|
async function ackAnnounceExecuted(payload) {
|
|
27934
27934
|
if (payload.kind !== "announce") return;
|
|
27935
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
27935
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-79qX0iO4.js");
|
|
27936
27936
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
27937
27937
|
await markSubagentAnnounceExecuted(runId);
|
|
27938
27938
|
} catch {}
|
|
@@ -28179,7 +28179,7 @@ function normalizeSessionKey(value) {
|
|
|
28179
28179
|
function readSessionStore(storePath) {
|
|
28180
28180
|
try {
|
|
28181
28181
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
28182
|
-
const parsed =
|
|
28182
|
+
const parsed = json5.parse(raw);
|
|
28183
28183
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
28184
28184
|
} catch {}
|
|
28185
28185
|
return {};
|
|
@@ -28408,7 +28408,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
28408
28408
|
let subagentRegistryAccessPromise;
|
|
28409
28409
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
28410
28410
|
function loadSubagentRegistryAccess() {
|
|
28411
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
28411
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-79qX0iO4.js").catch((err) => {
|
|
28412
28412
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
28413
28413
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
28414
28414
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -31284,7 +31284,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
31284
31284
|
await ensureOpenClawModelsJson(cfg);
|
|
31285
31285
|
} catch {}
|
|
31286
31286
|
try {
|
|
31287
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
31287
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-BHxWerwc.js");
|
|
31288
31288
|
const agentDir = resolveOpenClawAgentDir();
|
|
31289
31289
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
31290
31290
|
applyDiscoveredContextWindows({
|
|
@@ -41669,7 +41669,7 @@ async function createModelSelectionState(params) {
|
|
|
41669
41669
|
}
|
|
41670
41670
|
}
|
|
41671
41671
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
41672
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
41672
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-B80FVM6n.js");
|
|
41673
41673
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
41674
41674
|
const providerKey = normalizeProviderId(provider);
|
|
41675
41675
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -59945,7 +59945,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
59945
59945
|
return;
|
|
59946
59946
|
}
|
|
59947
59947
|
try {
|
|
59948
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
59948
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dk3XJhoF.js");
|
|
59949
59949
|
const outboundSession = buildOutboundSessionContext({
|
|
59950
59950
|
cfg: params.cfg,
|
|
59951
59951
|
sessionKey: params.sessionKey
|
|
@@ -64737,7 +64737,7 @@ async function describeStickerImage(params) {
|
|
|
64737
64737
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
64738
64738
|
try {
|
|
64739
64739
|
const buffer = await fs$1.readFile(imagePath);
|
|
64740
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
64740
|
+
const { describeImageWithModel } = await import("./provider-image-BXeNvw5h.js");
|
|
64741
64741
|
return (await describeImageWithModel({
|
|
64742
64742
|
buffer,
|
|
64743
64743
|
fileName: "sticker.webp",
|
|
@@ -66005,7 +66005,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
66005
66005
|
let transcript;
|
|
66006
66006
|
let carry;
|
|
66007
66007
|
if (needsPreflightTranscription) try {
|
|
66008
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66008
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CTGR5Hsd.js");
|
|
66009
66009
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
66010
66010
|
if (uploadable.length > 0) {
|
|
66011
66011
|
const preflight = await transcribeFirstAudio({
|
|
@@ -73088,23 +73088,23 @@ function createDefaultDeps() {
|
|
|
73088
73088
|
};
|
|
73089
73089
|
},
|
|
73090
73090
|
sendMessageTelegram: async (...args) => {
|
|
73091
|
-
const { sendMessageTelegram } = await import("./send-
|
|
73091
|
+
const { sendMessageTelegram } = await import("./send-DWgKIysx.js");
|
|
73092
73092
|
return await sendMessageTelegram(...args);
|
|
73093
73093
|
},
|
|
73094
73094
|
sendMessageDiscord: async (...args) => {
|
|
73095
|
-
const { sendMessageDiscord } = await import("./send-
|
|
73095
|
+
const { sendMessageDiscord } = await import("./send-B5n5UHEj.js");
|
|
73096
73096
|
return await sendMessageDiscord(...args);
|
|
73097
73097
|
},
|
|
73098
73098
|
sendMessageSlack: async (...args) => {
|
|
73099
|
-
const { sendMessageSlack } = await import("./send-
|
|
73099
|
+
const { sendMessageSlack } = await import("./send-DGIuROFn.js");
|
|
73100
73100
|
return await sendMessageSlack(...args);
|
|
73101
73101
|
},
|
|
73102
73102
|
sendMessageSignal: async (...args) => {
|
|
73103
|
-
const { sendMessageSignal } = await import("./send-
|
|
73103
|
+
const { sendMessageSignal } = await import("./send-CRsXDc8m.js");
|
|
73104
73104
|
return await sendMessageSignal(...args);
|
|
73105
73105
|
},
|
|
73106
73106
|
sendMessageIMessage: async (...args) => {
|
|
73107
|
-
const { sendMessageIMessage } = await import("./send-
|
|
73107
|
+
const { sendMessageIMessage } = await import("./send-RwdG7mzi.js");
|
|
73108
73108
|
return await sendMessageIMessage(...args);
|
|
73109
73109
|
}
|
|
73110
73110
|
};
|
|
@@ -84549,7 +84549,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
84549
84549
|
}
|
|
84550
84550
|
let commandsRegistry;
|
|
84551
84551
|
async function getCommandsRegistry() {
|
|
84552
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
84552
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CjulKOu8.js");
|
|
84553
84553
|
return commandsRegistry;
|
|
84554
84554
|
}
|
|
84555
84555
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -84879,14 +84879,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
84879
84879
|
const channelName = channelInfo?.name;
|
|
84880
84880
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
84881
84881
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
84882
|
-
import("./resolve-route-
|
|
84882
|
+
import("./resolve-route-B-_3aGVu.js"),
|
|
84883
84883
|
import("./inbound-context-BmQfexVy.js"),
|
|
84884
|
-
import("./provider-dispatcher-
|
|
84884
|
+
import("./provider-dispatcher-W1pkLKIg.js")
|
|
84885
84885
|
]);
|
|
84886
84886
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
84887
84887
|
import("./conversation-label-TAXJpeGu.js"),
|
|
84888
|
-
import("./reply-prefix-
|
|
84889
|
-
import("./session-meta-
|
|
84888
|
+
import("./reply-prefix-CyT5pXEH.js"),
|
|
84889
|
+
import("./session-meta-J9PgeT7E.js")
|
|
84890
84890
|
]);
|
|
84891
84891
|
const route = resolveAgentRoute({
|
|
84892
84892
|
cfg,
|
|
@@ -84951,9 +84951,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
84951
84951
|
});
|
|
84952
84952
|
const deliverSlashPayloads = async (replies) => {
|
|
84953
84953
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
84954
|
-
import("./replies-
|
|
84955
|
-
import("./chunk-
|
|
84956
|
-
import("./markdown-tables-
|
|
84954
|
+
import("./replies-BOUte8J3.js"),
|
|
84955
|
+
import("./chunk-BjBBoHSQ.js"),
|
|
84956
|
+
import("./markdown-tables-4LuMGoDL.js")
|
|
84957
84957
|
]);
|
|
84958
84958
|
await deliverSlackSlashReplies({
|
|
84959
84959
|
replies,
|
|
@@ -85007,7 +85007,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
85007
85007
|
let nativeCommands = [];
|
|
85008
85008
|
if (nativeEnabled) {
|
|
85009
85009
|
reg = await getCommandsRegistry();
|
|
85010
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
85010
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DBvWVUnQ.js")).listSkillCommandsForAgents({ cfg }) : [];
|
|
85011
85011
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
85012
85012
|
skillCommands,
|
|
85013
85013
|
provider: "slack"
|
|
@@ -85526,7 +85526,7 @@ async function auditTelegramGroupMembership(params) {
|
|
|
85526
85526
|
groups: [],
|
|
85527
85527
|
elapsedMs: Date.now() - started
|
|
85528
85528
|
};
|
|
85529
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
85529
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-Bem5Ja8O.js")).makeProxyFetch(params.proxyUrl) : fetch;
|
|
85530
85530
|
const { fetchWithTimeout } = await import("./fetch-timeout-DyPq8Phs.js");
|
|
85531
85531
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
85532
85532
|
const groups = [];
|
|
@@ -88053,7 +88053,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
88053
88053
|
let audioPreflightCarry;
|
|
88054
88054
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
88055
88055
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
88056
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
88056
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CTGR5Hsd.js");
|
|
88057
88057
|
const preflight = await transcribeFirstAudio({
|
|
88058
88058
|
ctx: {
|
|
88059
88059
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -92447,7 +92447,7 @@ async function getMemorySearchManager(params) {
|
|
|
92447
92447
|
if (cached) return { manager: cached };
|
|
92448
92448
|
}
|
|
92449
92449
|
try {
|
|
92450
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
92450
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CbKMbQqy.js");
|
|
92451
92451
|
const primary = await QmdMemoryManager.create({
|
|
92452
92452
|
cfg: params.cfg,
|
|
92453
92453
|
agentId: params.agentId,
|
|
@@ -92459,7 +92459,7 @@ async function getMemorySearchManager(params) {
|
|
|
92459
92459
|
const wrapper = new FallbackMemoryManager({
|
|
92460
92460
|
primary,
|
|
92461
92461
|
fallbackFactory: async () => {
|
|
92462
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
92462
|
+
const { MemoryIndexManager } = await import("./manager-nDSdkr_r.js");
|
|
92463
92463
|
return await MemoryIndexManager.get(params);
|
|
92464
92464
|
}
|
|
92465
92465
|
}, () => {
|
|
@@ -92474,7 +92474,7 @@ async function getMemorySearchManager(params) {
|
|
|
92474
92474
|
}
|
|
92475
92475
|
}
|
|
92476
92476
|
try {
|
|
92477
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
92477
|
+
const { MemoryIndexManager } = await import("./manager-nDSdkr_r.js");
|
|
92478
92478
|
return { manager: await MemoryIndexManager.get(params) };
|
|
92479
92479
|
} catch (err) {
|
|
92480
92480
|
return {
|
|
@@ -93521,7 +93521,7 @@ function createPluginRuntime(options = {}) {
|
|
|
93521
93521
|
workStates: readTaskWorkStates
|
|
93522
93522
|
},
|
|
93523
93523
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
93524
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
93524
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-B_LG8df9.js")).startUserSessionRun(params) }
|
|
93525
93525
|
};
|
|
93526
93526
|
Object.defineProperty(runtime, "analysis", {
|
|
93527
93527
|
enumerable: true,
|
|
@@ -95027,7 +95027,7 @@ async function recordLoopOutcome(args) {
|
|
|
95027
95027
|
if (!args.ctx?.sessionKey) return;
|
|
95028
95028
|
try {
|
|
95029
95029
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuiQDC7d.js");
|
|
95030
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
95030
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-VTqBeC_h.js");
|
|
95031
95031
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
95032
95032
|
sessionKey: args.ctx.sessionKey,
|
|
95033
95033
|
sessionId: args.ctx?.agentId
|
|
@@ -95054,8 +95054,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
95054
95054
|
const params = args.params;
|
|
95055
95055
|
if (args.ctx?.sessionKey) {
|
|
95056
95056
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuiQDC7d.js");
|
|
95057
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
95058
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
95057
|
+
const { logToolLoopAction } = await import("./diagnostic-5AC0iM1n.js");
|
|
95058
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-VTqBeC_h.js");
|
|
95059
95059
|
const sessionState = getDiagnosticSessionState({
|
|
95060
95060
|
sessionKey: args.ctx.sessionKey,
|
|
95061
95061
|
sessionId: args.ctx?.agentId
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-Dof0ndb_.js";
|
|
2
|
+
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-DqBP7fk9.js";
|
|
3
3
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
4
4
|
|
|
5
5
|
//#region src/process/command-queue.ts
|