wednesdayai 0.6.1-dev.32 → 0.6.1-dev.33
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/README.md +1 -1
- package/dist/{agent-3FzVgs63.js → agent-2N9tEN3b.js} +26 -26
- package/dist/{agent-BRCd10MY.js → agent-B9sehkTT.js} +33 -33
- package/dist/{agent-DWnmq11O.js → agent-C31FKy1u.js} +11 -11
- package/dist/{agent-turn-execute-BFxbgU1N.js → agent-turn-execute-VfgfznZ9.js} +46 -46
- package/dist/{agent-turn-runner-T5NCMyJ_.js → agent-turn-runner-BUl_5WBC.js} +5 -5
- package/dist/{agent-turn-runner-CSA2LtLh.js → agent-turn-runner-D6au_ann.js} +6 -6
- package/dist/{agent-turn-runner-B4cl3TsM.js → agent-turn-runner-Pc5bI_FG.js} +6 -6
- package/dist/{auth-5so61ncT.js → auth-kjIpJLfy.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +32 -32
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +31 -31
- package/dist/bundled/session-memory/handler.js +32 -32
- package/dist/{call-DVys4c4T.js → call-CrRxRh7U.js} +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{plugin-sdk/chrome-BqXrH3aN.js → chrome-B_WMQAhO.js} +32 -32
- package/dist/{chrome-CQUZm4YB.js → chrome-Dhi-l6wT.js} +6 -6
- package/dist/{chrome-DqTgSmFm.js → chrome-DnhfF77Z.js} +6 -6
- package/dist/{command-queue-BSbitNdP.js → command-queue-AIWqKnVD.js} +1 -1
- package/dist/{command-queue-DogAVmq_.js → command-queue-CYUdNrXN.js} +1 -1
- package/dist/{command-queue-D3kWdijx.js → command-queue-Ctuw0Dti.js} +1 -1
- package/dist/control-ui-v2/assets/{AgentsView-BHoDo1L_.js → AgentsView-BykJAM_R.js} +1 -1
- package/dist/control-ui-v2/assets/{AutomationsView-CkkUCwky.js → AutomationsView-DC7X5Cuq.js} +1 -1
- package/dist/control-ui-v2/assets/Badge-BThfbCAq.js +1 -0
- package/dist/control-ui-v2/assets/{Button-CAmVftjk.js → Button-sKbvzDVv.js} +1 -1
- package/dist/control-ui-v2/assets/{ChannelsView-C9mkTqc6.js → ChannelsView-HkWy9hsS.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfigForm-LRLk4KUb.js → ConfigForm-BJ2kFOXh.js} +1 -1
- package/dist/control-ui-v2/assets/{ConfirmDialog-F2xUWFqq.js → ConfirmDialog-CdyUa20w.js} +1 -1
- package/dist/control-ui-v2/assets/{DataTable-DOMUEHUS.js → DataTable-DYjiiFEO.js} +1 -1
- package/dist/control-ui-v2/assets/{DebugView-Brby9otE.js → DebugView-BBnZon9I.js} +1 -1
- package/dist/control-ui-v2/assets/{Dialog-GhMZjPwr.js → Dialog-C3D58UYL.js} +1 -1
- package/dist/control-ui-v2/assets/{DreamsView-DY7ted1D.js → DreamsView-DrwwXxFE.js} +1 -1
- package/dist/control-ui-v2/assets/{EntityLink-CrtCt-Qs.js → EntityLink-Z9K13Z04.js} +1 -1
- package/dist/control-ui-v2/assets/{FilterPills-CkHzGD5G.js → FilterPills-KLG4v-tl.js} +1 -1
- package/dist/control-ui-v2/assets/{InstancesView-CFs-ov6N.js → InstancesView-LuIMblfp.js} +1 -1
- package/dist/control-ui-v2/assets/{LearningView-BTIvp31K.js → LearningView-C2puhMj4.js} +1 -1
- package/dist/control-ui-v2/assets/{LogsView-BuFHneew.js → LogsView-Dy215edw.js} +1 -1
- package/dist/control-ui-v2/assets/{NodesView-7y8z5Q_T.js → NodesView-B71zmfhs.js} +1 -1
- package/dist/control-ui-v2/assets/{OverviewView-CIhAnOeN.js → OverviewView-JLhTfCru.js} +1 -1
- package/dist/control-ui-v2/assets/{Panel-BSfoMFU-.js → Panel-D78gp_RZ.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginMount-Cr2vPF1o.js → PluginMount-DYlgGaMj.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPageView-BM2wjaCs.js → PluginPageView-Bg02Y5T6.js} +1 -1
- package/dist/control-ui-v2/assets/{PluginPanels-CrZnLVxd.js → PluginPanels-BleAmjiK.js} +1 -1
- package/dist/control-ui-v2/assets/{RunsView-B3eXHaoR.js → RunsView-BSGqEHKy.js} +1 -1
- package/dist/control-ui-v2/assets/{SessionsView-Bg4wx4lK.js → SessionsView-CMPY9Hgt.js} +1 -1
- package/dist/control-ui-v2/assets/{SettingsView-DGF7hzQG.js → SettingsView-D4QcuA0E.js} +1 -1
- package/dist/control-ui-v2/assets/{SkillsView-Cg7pJC7c.js → SkillsView-BWwsXZqF.js} +1 -1
- package/dist/control-ui-v2/assets/{Stat-lXrvX_LU.js → Stat-CXVUEU8q.js} +1 -1
- package/dist/control-ui-v2/assets/{StatusDot-mq9dIxHu.js → StatusDot-BOn9P0HR.js} +1 -1
- package/dist/control-ui-v2/assets/{StorageView-DwpkJ4z3.js → StorageView-Bn5jFxV6.js} +1 -1
- package/dist/control-ui-v2/assets/{UpdatedAgo-C4M24VEo.js → UpdatedAgo-CGh7wGn5.js} +1 -1
- package/dist/control-ui-v2/assets/{UsageView-Chdv6FaY.js → UsageView-D8N9_FXE.js} +1 -1
- package/dist/control-ui-v2/assets/{config-store-Cl6ZDEWe.js → config-store-CvkpUhCj.js} +1 -1
- package/dist/control-ui-v2/assets/{format-B5-CxWkB.js → format-CDdlmhUx.js} +1 -1
- package/dist/control-ui-v2/assets/{gateway-features-cO4oPTtR.js → gateway-features-BO759ssE.js} +1 -1
- package/dist/control-ui-v2/assets/{index-CJgogGns.js → index-DbvFKOkE.js} +1 -1
- package/dist/control-ui-v2/assets/{links-Cc4kr7jc.js → links-CQf0Dstl.js} +2 -2
- package/dist/control-ui-v2/assets/{run-rows-B5xQqo0g.js → run-rows-B7a70RYo.js} +1 -1
- package/dist/control-ui-v2/assets/runs-store-CBxmiHic.js +1 -0
- package/dist/control-ui-v2/assets/{use-gateway-query-DkXhPwE7.js → use-gateway-query-Dd6G1xB1.js} +1 -1
- package/dist/control-ui-v2/index.html +7 -7
- package/dist/{credentials-BwbcjFrG.js → credentials-By3Y4AcL.js} +3 -3
- package/dist/daemon-cli.js +10 -10
- package/dist/{deliver-D5-592ul.js → deliver-BNwRhCqc.js} +28 -28
- package/dist/{deliver-uol2d4WF.js → deliver-CZ0gpdcA.js} +6 -6
- package/dist/{deliver-DI3pbsEG.js → deliver-lAcWrtsj.js} +8 -8
- package/dist/{diagnostic-BZYYYnMx.js → diagnostic-DJ11ZJIJ.js} +3 -3
- package/dist/{diagnostic-CjNtSJJy.js → diagnostic-Dlx1Uind.js} +3 -3
- package/dist/{diagnostic-DutvZ2o1.js → diagnostic-dKeDyhIs.js} +1 -1
- package/dist/{plugin-sdk/errors-CVfTQSbb.js → errors-0-at0aYV.js} +1 -1
- package/dist/{errors-BRYMqzPb.js → errors-7NHaEHOi.js} +1 -1
- package/dist/extensionAPI.js +24 -24
- package/dist/{fences-DdMLzXvz.js → fences-BXndK9rN.js} +2 -2
- package/dist/{fences-Dtk43Q2a.js → fences-Z8d1dj8p.js} +16 -16
- package/dist/{fences-DxsYNv6D.js → fences-qAryzYhN.js} +1 -1
- package/dist/{fetch-guard-CIElogmD.js → fetch-guard-C1e2uLCm.js} +2 -2
- package/dist/{fetch-guard-huDqYgcZ.js → fetch-guard-DVq681NM.js} +2 -2
- package/dist/{fetch-guard-BfFAgAdL.js → fetch-guard-jXOgaL7k.js} +2 -2
- package/dist/{frontmatter-DHBTRDiB.js → frontmatter-CzhUc9Ri.js} +5 -5
- package/dist/{fs-safe-BXAFIPNF.js → fs-safe-B9UKPVRL.js} +2 -2
- package/dist/{fs-safe-QppbBgli.js → fs-safe-BFMvT9d3.js} +1 -1
- package/dist/{fs-safe-CyG0wflg.js → fs-safe-DMWtsz4J.js} +26 -26
- package/dist/{group-DNWpfMve.js → group-Dvl8dfJ2.js} +6 -6
- package/dist/{legacy-names-6uH6aLhq.js → legacy-names-chsmo2vs.js} +26 -26
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{manager-DEELDila.js → manager-CIl1uCF4.js} +5 -5
- package/dist/{manager-Dv0046Wp.js → manager-Cd7Dgpw3.js} +16 -16
- package/dist/{manager-BNDUt5V7.js → manager-Edt-T8Bi.js} +3 -3
- package/dist/{model-selection-DfBJgjil.js → model-selection-BkyEkRcd.js} +1 -1
- package/dist/{model-selection-BKz1FEg5.js → model-selection-ik2bHbgK.js} +82 -82
- package/dist/{net-B0Jtxfrs.js → net-DJsykMK1.js} +1 -1
- package/dist/{nudge-D6njZF1b.js → nudge-D3beOdMV.js} +6 -6
- package/dist/{nudge-iXg_oCkW.js → nudge-Dg8Pe_sD.js} +9 -9
- package/dist/{nudge-D6LqS1z9.js → nudge-DyQYIOed.js} +32 -32
- package/dist/{outbound-attachment-DkplciK0.js → outbound-attachment-C3f9uSt-.js} +4 -4
- package/dist/{outbound-attachment-6hHA3eSm.js → outbound-attachment-DQtDt9Ne.js} +9 -9
- package/dist/{outbound-attachment-DFE9e7Dz.js → outbound-attachment-DwgRvpkl.js} +7 -7
- package/dist/{pi-embedded-CM4cbQEb.js → pi-embedded-BUj1tpxL.js} +40 -40
- package/dist/{pi-embedded-BJeshpuP.js → pi-embedded-DRpnAuxu.js} +229 -229
- package/dist/{pi-model-discovery-CEEWv-kw.js → pi-model-discovery-DnTVd1y8.js} +1 -1
- package/dist/{pi-model-discovery-Dy1iZEn3.js → pi-model-discovery-MJKT8QcH.js} +1 -1
- package/dist/{pi-model-discovery-BzUe_TlM.js → pi-model-discovery-ihTZFn93.js} +7 -7
- package/dist/plugin-sdk/{agent-CUhnjg2h.js → agent-CACbclxE.js} +33 -33
- package/dist/plugin-sdk/{agent-turn-execute-0wNK8kb-.js → agent-turn-execute-BKMaKZMH.js} +52 -52
- package/dist/plugin-sdk/{agent-turn-runner-Bc1Wdfjl.js → agent-turn-runner-Dfbuq8sa.js} +6 -6
- package/dist/{chrome-D5VU16Pm.js → plugin-sdk/chrome-CRKazKtD.js} +7 -7
- package/dist/plugin-sdk/{command-queue-BuyhMwmf.js → command-queue-CYthkMHd.js} +1 -1
- package/dist/plugin-sdk/{deliver-BbYD9jbj.js → deliver-Bh_zU4gN.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-YH_V803S.js → diagnostic-DUBIUJLy.js} +3 -3
- package/dist/{errors-CK3mNfUZ.js → plugin-sdk/errors-BYlk21G9.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BiQARj-q.js → fetch-guard-tC95Od8D.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CGzRyGpY.js → fs-safe-DkRYPO9h.js} +2 -2
- package/dist/plugin-sdk/{image-ops-BrERoy-B.js → image-ops-BwFCJNka.js} +2 -2
- package/dist/plugin-sdk/{manager-DPJBcR4V.js → manager-BFK04-sl.js} +5 -5
- package/dist/plugin-sdk/{model-auth-BtSCt2Us.js → model-auth-5dizn5pk.js} +6 -6
- package/dist/plugin-sdk/{models-config-GBg5F8hJ.js → models-config-Q1RpJb2l.js} +2 -2
- package/dist/plugin-sdk/{nudge-DRCem0PL.js → nudge-RygJmKvJ.js} +10 -10
- package/dist/plugin-sdk/{openai-compatible-video-5WcKNGBU.js → openai-compatible-video-Dcy2Li9N.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-DTKZLRZQ.js → outbound-attachment-BzyByi-v.js} +7 -7
- package/dist/plugin-sdk/{pi-embedded-helpers-CuwPxkvz.js → pi-embedded-helpers-BFhpUeAU.js} +13 -13
- package/dist/plugin-sdk/{pi-embedded-utils-C8Mld73X.js → pi-embedded-utils-DwU_Dm_t.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DF78NwCY.js → pi-model-discovery-JhPOgHc2.js} +1 -1
- package/dist/plugin-sdk/provider-media-understanding.js +16 -16
- package/dist/plugin-sdk/{pw-ai-DE9_F3UT.js → pw-ai-CetM9Gvn.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Be0AD8g6.js → qmd-manager-D-4-ofwq.js} +6 -6
- package/dist/plugin-sdk/{qmd-scope-ChYVD8_V.js → qmd-scope-C2Q-gYkx.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-D7KVLAEI.js → query-expansion-WqJIYjMY.js} +2 -2
- package/dist/plugin-sdk/{recorder-CYbCMbkp.js → recorder-Buet60MM.js} +2 -2
- package/dist/{redact-DU9QXIsh.js → plugin-sdk/redact-BsmP2_ML.js} +1 -1
- package/dist/plugin-sdk/{reply-directives-C8nS86oo.js → reply-directives-vq-0__VY.js} +2 -2
- package/dist/plugin-sdk/{runs-DaXWESgL.js → runs-Bo9ZU_tS.js} +7 -7
- package/dist/plugin-sdk/{send-DNtB7RqD.js → send-C7mdLoxn.js} +5 -5
- package/dist/plugin-sdk/{send-A18Yldb9.js → send-O0_QKrFT.js} +4 -4
- package/dist/plugin-sdk/{sessions-CaOQHLR9.js → sessions-DBkZJFck.js} +3 -3
- package/dist/plugin-sdk/{ssrf-BUsxUAWv.js → ssrf-DwUheH8N.js} +1 -1
- package/dist/{subsystem-DoQFckDJ.js → plugin-sdk/subsystem-DGPv0F8I.js} +5 -5
- package/dist/plugin-sdk/{tool-loop-detection-CofD0zz1.js → tool-loop-detection-CJnz5pAZ.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-BHcbX_ct.js → user-run-recording-CcRIjxcn.js} +2 -2
- package/dist/plugin-sdk/{ws-fpqheALb.js → ws-BmHfUkZI.js} +1 -1
- package/dist/{ports-B3BTfmE-.js → ports-af3jAFGh.js} +2 -2
- package/dist/{progress-CuNmfDlK.js → progress-CmedxTqJ.js} +3 -3
- package/dist/{proxy-env-CHdvLB3R.js → proxy-env-B9kcG28B.js} +1 -1
- package/dist/{proxy-env-E2mZELS1.js → proxy-env-Catj9Viz.js} +1 -1
- package/dist/{proxy-env-Dayk9Sh-.js → proxy-env-DQFy-pBt.js} +1 -1
- package/dist/{pw-ai-mN-uQx62.js → pw-ai-BWm3mCae.js} +9 -9
- package/dist/{pw-ai-BV3I_k2z.js → pw-ai-CDg9EuQp.js} +5 -5
- package/dist/{pw-ai--9RsLl-I.js → pw-ai-DoQ300T0.js} +11 -11
- package/dist/{qmd-manager-IBVkRbDA.js → qmd-manager-DFBcLXne.js} +6 -6
- package/dist/{qmd-manager-B4bmSWg6.js → qmd-manager-DbHyIFsT.js} +4 -4
- package/dist/{qmd-manager-pXzVcStZ.js → qmd-manager-jGcc2exw.js} +9 -9
- package/dist/{qmd-scope-C-qiTyK0.js → qmd-scope-D25aU1jR.js} +1 -1
- package/dist/{qmd-scope-CyWbQgiS.js → qmd-scope-DMUA3Vq9.js} +1 -1
- package/dist/{qmd-scope-C3LDIy_f.js → qmd-scope-DxmwIijL.js} +1 -1
- package/dist/{query-expansion-DUYY60_G.js → query-expansion-BC9pRVpQ.js} +1 -1
- package/dist/{query-expansion-BfJwCH-1.js → query-expansion-DJ7rNitK.js} +2 -2
- package/dist/{query-expansion-DOdiE1jh.js → query-expansion-Dji7d64T.js} +13 -13
- package/dist/{recorder-BaUTigy-.js → recorder-CBd8Sa3f.js} +2 -2
- package/dist/{recorder-DbOS8cq-.js → recorder-ciEoXXwJ.js} +2 -2
- package/dist/{recorder-tm_DPmVq.js → recorder-jtfym7ix.js} +1 -1
- package/dist/{plugin-sdk/redact-SduMExGO.js → redact-BvO7EAk7.js} +1 -1
- package/dist/{redact-C4XKILzo.js → redact-LOuk7TRy.js} +1 -1
- package/dist/{reply-directives-lb54XxBO.js → reply-directives-BZPLXOax.js} +14 -14
- package/dist/{reply-directives-Cjv6usSI.js → reply-directives-CD8SVo0d.js} +49 -49
- package/dist/{reply-directives-DQdLCsf7.js → reply-directives-CzQd7ai4.js} +9 -9
- package/dist/{runs-C6ZLA3dQ.js → runs-CKVgIXbm.js} +7 -7
- package/dist/{runs-Bfh4gXhE.js → runs-CW-qjeWY.js} +8 -8
- package/dist/{runs-CRfwfxl9.js → runs-CX5t6UjO.js} +5 -5
- package/dist/{send-DhxoS0EQ.js → send-BClohEtC.js} +5 -5
- package/dist/{send-x0brK-7B.js → send-Bb4J4QPH.js} +4 -4
- package/dist/{send-DdufVWN0.js → send-Bn1WCNeb.js} +4 -4
- package/dist/{send-CQXAcrXk.js → send-C9EWa4Gn.js} +3 -3
- package/dist/{send-DgX5MIBr.js → send-CpXb_hwQ.js} +5 -5
- package/dist/{send-CDE-Y46D.js → send-DkfdQWGD.js} +4 -4
- package/dist/{sessions-DFfMZLkJ.js → sessions-C98njXHy.js} +1 -1
- package/dist/{sessions-CoqAntnj.js → sessions-Dwd5H-eS.js} +5 -5
- package/dist/{subsystem-DY5Ww-lX.js → subsystem-BntNuBAj.js} +4 -4
- package/dist/{plugin-sdk/subsystem-Btq0amiz.js → subsystem-cFv2jJm-.js} +70 -70
- package/dist/{tool-loop-detection-CtOkwPJY.js → tool-loop-detection-9fAxiikd.js} +2 -2
- package/dist/{tool-loop-detection-C8jnlLQJ.js → tool-loop-detection-BMpeJ2DE.js} +1 -1
- package/dist/{user-run-recording-Dw1uyV3d.js → user-run-recording-BsWiQH6f.js} +1 -1
- package/dist/{user-run-recording-D-qMoYVy.js → user-run-recording-CisdKSzW.js} +2 -2
- package/dist/{user-run-recording-UvvXT13r.js → user-run-recording-DBqvoOPn.js} +2 -2
- package/dist/web-client/assets/{hast-util-from-dom-SbSARCyf.js → hast-util-from-dom-CUZ3hAh_.js} +1 -1
- package/dist/web-client/assets/{hast-util-to-mdast-C1n0gLxk.js → hast-util-to-mdast-DsCIyZ_Y.js} +1 -1
- package/dist/web-client/assets/{index-UZef_CpP.js → index-BvHk50NK.js} +2 -2
- package/dist/web-client/index.html +1 -1
- package/dist/{ws-kGFg1v4B.js → ws-B4SUb9f_.js} +1 -1
- package/dist/{ws-BJ7VU-8f.js → ws-BOnegOZK.js} +1 -1
- package/extensions/a2a/package.json +1 -1
- 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/identity-oidc/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/kokoro/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/ui-surfaces/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 +3 -1
- package/dist/control-ui-v2/assets/Badge-Ckq3aEJa.js +0 -1
- package/dist/control-ui-v2/assets/runs-store-D8Ckq4AP.js +0 -1
- package/dist/github-copilot-token-Bm6yG6tw.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/docs/reference/templates/BOOT.md +0 -11
- /package/dist/{config-1om7Pwz0.js → config-CM9p9U7m.js} +0 -0
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ WednesdayAI is built around a **stable interaction kernel** — a small, fast co
|
|
|
64
64
|
- **Capability plugins** — Speech-to-text, text-to-speech, memory, RAG, model providers, tools
|
|
65
65
|
- **Agent runtime adapters** — OpenClaw-style runners, Codex, process runners, HTTP agents
|
|
66
66
|
|
|
67
|
-
Multi-agent orchestration ships in the core, not as a plugin: config can declare **agent teams** with a lead and internal specialists, the lead delegates to its members with `sessions_spawn`, and per-agent settings decide whether people can reach an agent directly and whether delegated turns inherit the requester's identity. See [Sub-agents](https://docs.wednesdayai.dev/tools/subagents) and the [Configuration Reference](https://docs.wednesdayai.dev/admin/gateway/configuration-reference).
|
|
67
|
+
Multi-agent orchestration ships in the core, not as a plugin: config can declare **agent teams** with a lead and internal specialists, the lead delegates to its members with `sessions_spawn`, and per-agent settings decide whether people can reach an agent directly and whether delegated turns inherit the requester's identity. See [Sub-agents](https://docs.wednesdayai.dev/users/tools/subagents) and the [Configuration Reference](https://docs.wednesdayai.dev/admin/gateway/configuration-reference).
|
|
68
68
|
|
|
69
69
|
Core owns the contracts. You own the experience. The plugin-facing surfaces are versioned kernel
|
|
70
70
|
contracts; see [docs.wednesdayai.dev/developers/plugins/contracts](https://docs.wednesdayai.dev/developers/plugins/contracts) before changing one. Porting a plugin written for upstream OpenClaw? Check the [hook parity map](https://docs.wednesdayai.dev/developers/plugins/hook-parity) first.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { Ca as listAgentIds, Da as resolveAgentWorkspaceDir, Ea as resolveAgentSkillsFilter, En as updateSessionStore, Fr as INTERNAL_MESSAGE_CHANNEL, H as loadConfig, Ir as isDeliverableMessageChannel, Jn as resolveSessionTranscriptPath, Kn as resolveSessionFilePath, Lr as isGatewayMessageChannel, Nn as loadSessionStore, Oa as resolveDefaultAgentId, Rr as isInternalMessageChannel, Ta as resolveAgentDir, Ur as resolveMessageChannel, Va as ensureAgentWorkspace, Vr as normalizeMessageChannel, Xn as resolveStorePath, _a as DEFAULT_PROVIDER, a as isCliProvider, c as normalizeProviderId, d as resolveDefaultModelForAgent, do as normalizeAgentId, fo as normalizeMainKey, fr as getChannelPlugin, ga as DEFAULT_MODEL, h as resolveThinkingDefault, ha as DEFAULT_CONTEXT_TOKENS, io as buildAgentMainSessionKey, ja as resolveSessionAgentId, ka as resolveEffectiveModelFallbacks, mo as resolveAgentIdFromSessionKey, mr as normalizeChannelId, o as modelKey, qn as resolveSessionFilePathOptions, qr as normalizeAccountId, rr as setSessionRuntimeModel, s as normalizeModelRef, t as buildAllowedModelSet, ta as ensureAuthProfileStore, tr as mergeSessionEntry, u as resolveConfiguredModelRef, xr as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { Ca as listAgentIds, Da as resolveAgentWorkspaceDir, Ea as resolveAgentSkillsFilter, En as updateSessionStore, Fr as INTERNAL_MESSAGE_CHANNEL, H as loadConfig, Ir as isDeliverableMessageChannel, Jn as resolveSessionTranscriptPath, Kn as resolveSessionFilePath, Lr as isGatewayMessageChannel, Nn as loadSessionStore, Oa as resolveDefaultAgentId, Rr as isInternalMessageChannel, Ta as resolveAgentDir, Ur as resolveMessageChannel, Va as ensureAgentWorkspace, Vr as normalizeMessageChannel, Xn as resolveStorePath, _a as DEFAULT_PROVIDER, a as isCliProvider, c as normalizeProviderId, d as resolveDefaultModelForAgent, do as normalizeAgentId, fo as normalizeMainKey, fr as getChannelPlugin, ga as DEFAULT_MODEL, h as resolveThinkingDefault, ha as DEFAULT_CONTEXT_TOKENS, io as buildAgentMainSessionKey, ja as resolveSessionAgentId, ka as resolveEffectiveModelFallbacks, mo as resolveAgentIdFromSessionKey, mr as normalizeChannelId, o as modelKey, qn as resolveSessionFilePathOptions, qr as normalizeAccountId, rr as setSessionRuntimeModel, s as normalizeModelRef, t as buildAllowedModelSet, ta as ensureAuthProfileStore, tr as mergeSessionEntry, u as resolveConfiguredModelRef, xr as formatCliCommand } from "./model-selection-BkyEkRcd.js";
|
|
2
2
|
import "./paths-B_gs59ga.js";
|
|
3
3
|
import { o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { A as WorkspaceLaneDeniedError, C as resolveSendPolicy, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveAcpDispatchPolicyError, T as formatAgentInternalEventsForPrompt, _ as applyVerboseOverride, b as getSkillsSnapshotVersion, c as setCliSessionId, d as resolveSessionDeliveryTarget, f as resolveMessageChannelSelection, g as applyModelOverrideToSessionEntry, h as clearSessionAuthProfileOverride, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as runCliAgent, m as FailoverError, n as getAgentRuntimeCommandSecretTargetIds, o as buildSessionRunContext, p as runWithModelFallback, r as resolveCommandSecretRefsViaGateway, s as getCliSessionId, t as runEmbeddedPiAgent, u as resolveOutboundTarget, v as resolveRunSenderIdentity, w as resolveAgentTimeoutMs, x as resolveAcpAgentPolicyError, y as getRemoteSkillEligibility } from "./pi-embedded-
|
|
4
|
+
import { A as WorkspaceLaneDeniedError, C as resolveSendPolicy, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveAcpDispatchPolicyError, T as formatAgentInternalEventsForPrompt, _ as applyVerboseOverride, b as getSkillsSnapshotVersion, c as setCliSessionId, d as resolveSessionDeliveryTarget, f as resolveMessageChannelSelection, g as applyModelOverrideToSessionEntry, h as clearSessionAuthProfileOverride, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as runCliAgent, m as FailoverError, n as getAgentRuntimeCommandSecretTargetIds, o as buildSessionRunContext, p as runWithModelFallback, r as resolveCommandSecretRefsViaGateway, s as getCliSessionId, t as runEmbeddedPiAgent, u as resolveOutboundTarget, v as resolveRunSenderIdentity, w as resolveAgentTimeoutMs, x as resolveAcpAgentPolicyError, y as getRemoteSkillEligibility } from "./pi-embedded-BUj1tpxL.js";
|
|
5
5
|
import "./github-copilot-token-C-29TbW-.js";
|
|
6
|
-
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-
|
|
6
|
+
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-CzQd7ai4.js";
|
|
7
7
|
import "./diagnostic-events-q1w77c25.js";
|
|
8
|
-
import { A as evaluateSessionFreshness, L as resolveExplicitAgentSessionKey, M as resolveSessionResetPolicy, N as resolveSessionResetType, i as appendAssistantMessageToSessionTranscript, j as resolveChannelResetConfig, k as resolveSessionKey, n as parseSessionThreadInfo, r as resolveAndPersistSessionFile, v as deriveSessionTotalTokens, y as hasNonzeroUsage } from "./sessions-
|
|
9
|
-
import "./diagnostic-
|
|
8
|
+
import { A as evaluateSessionFreshness, L as resolveExplicitAgentSessionKey, M as resolveSessionResetPolicy, N as resolveSessionResetType, i as appendAssistantMessageToSessionTranscript, j as resolveChannelResetConfig, k as resolveSessionKey, n as parseSessionThreadInfo, r as resolveAndPersistSessionFile, v as deriveSessionTotalTokens, y as hasNonzeroUsage } from "./sessions-C98njXHy.js";
|
|
9
|
+
import "./diagnostic-dKeDyhIs.js";
|
|
10
10
|
import "./diagnostic-session-state-jW46P4IL.js";
|
|
11
11
|
import "./redact-CEFvBGJg.js";
|
|
12
|
-
import "./command-queue-
|
|
13
|
-
import "./fences-
|
|
14
|
-
import "./pi-model-discovery-
|
|
15
|
-
import { T as resolveContextTokensForModel, U as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, x as loadChannelOutboundAdapter } from "./deliver-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./ws-
|
|
18
|
-
import "./fs-safe-
|
|
12
|
+
import "./command-queue-CYUdNrXN.js";
|
|
13
|
+
import "./fences-qAryzYhN.js";
|
|
14
|
+
import "./pi-model-discovery-MJKT8QcH.js";
|
|
15
|
+
import { T as resolveContextTokensForModel, U as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, x as loadChannelOutboundAdapter } from "./deliver-CZ0gpdcA.js";
|
|
16
|
+
import "./chrome-B_WMQAhO.js";
|
|
17
|
+
import "./ws-B4SUb9f_.js";
|
|
18
|
+
import "./fs-safe-BFMvT9d3.js";
|
|
19
19
|
import "./errors-yyPKpoXR.js";
|
|
20
|
-
import "./proxy-env-
|
|
21
|
-
import "./nudge-
|
|
22
|
-
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
23
|
-
import "./outbound-attachment-
|
|
24
|
-
import "./fetch-guard-
|
|
25
|
-
import "./manager-
|
|
26
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
27
|
-
import "./recorder-
|
|
28
|
-
import "./agent-turn-runner-
|
|
29
|
-
import "./send-
|
|
30
|
-
import "./send-
|
|
31
|
-
import "./query-expansion-
|
|
20
|
+
import "./proxy-env-DQFy-pBt.js";
|
|
21
|
+
import "./nudge-Dg8Pe_sD.js";
|
|
22
|
+
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-CX5t6UjO.js";
|
|
23
|
+
import "./outbound-attachment-C3f9uSt-.js";
|
|
24
|
+
import "./fetch-guard-C1e2uLCm.js";
|
|
25
|
+
import "./manager-Edt-T8Bi.js";
|
|
26
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-BsWiQH6f.js";
|
|
27
|
+
import "./recorder-jtfym7ix.js";
|
|
28
|
+
import "./agent-turn-runner-BUl_5WBC.js";
|
|
29
|
+
import "./send-Bb4J4QPH.js";
|
|
30
|
+
import "./send-C9EWa4Gn.js";
|
|
31
|
+
import "./query-expansion-BC9pRVpQ.js";
|
|
32
32
|
import crypto from "node:crypto";
|
|
33
33
|
|
|
34
34
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -129,11 +129,11 @@ function createDefaultDeps() {
|
|
|
129
129
|
};
|
|
130
130
|
}),
|
|
131
131
|
sendMessageSignal: async (...args) => {
|
|
132
|
-
const { sendMessageSignal } = await import("./send-
|
|
132
|
+
const { sendMessageSignal } = await import("./send-Bb4J4QPH.js").then((n) => n.i);
|
|
133
133
|
return await sendMessageSignal(...args);
|
|
134
134
|
},
|
|
135
135
|
sendMessageIMessage: async (...args) => {
|
|
136
|
-
const { sendMessageIMessage } = await import("./send-
|
|
136
|
+
const { sendMessageIMessage } = await import("./send-C9EWa4Gn.js").then((n) => n.n);
|
|
137
137
|
return await sendMessageIMessage(...args);
|
|
138
138
|
}
|
|
139
139
|
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { $i as resolveSessionAgentId, An as normalizeProviderId, At as setSessionRuntimeModel, Cn as buildAllowedModelSet, Ct as resolveStorePath, Dn as isCliProvider, Ft as getChannelPlugin, Gi as listAgentIds, Ji as resolveAgentSkillsFilter, Ln as resolveThinkingDefault, Lo as formatCliCommand, Lt as normalizeChannelId, Mn as resolveConfiguredModelRef, Nn as resolveDefaultModelForAgent, On as modelKey, Ot as mergeSessionEntry, Qa as buildAgentMainSessionKey, Ti as ensureAuthProfileStore, Ua as ensureAgentWorkspace, Xi as resolveDefaultAgentId, Yi as resolveAgentWorkspaceDir, Zi as resolveEffectiveModelFallbacks, a as isGatewayMessageChannel, ao as normalizeAgentId, bt as resolveSessionFilePathOptions, co as resolveAgentIdFromSessionKey, d as resolveMessageChannel, et as updateSessionStore, i as isDeliverableMessageChannel, ia as DEFAULT_PROVIDER, in as loadConfig, kn as normalizeModelRef, l as normalizeMessageChannel, na as DEFAULT_CONTEXT_TOKENS, nn as normalizeAccountId, o as isInternalMessageChannel, oo as normalizeMainKey, qi as resolveAgentDir, r as INTERNAL_MESSAGE_CHANNEL, ra as DEFAULT_MODEL, st as loadSessionStore, xt as resolveSessionTranscriptPath, yt as resolveSessionFilePath } from "./group-
|
|
1
|
+
import { $i as resolveSessionAgentId, An as normalizeProviderId, At as setSessionRuntimeModel, Cn as buildAllowedModelSet, Ct as resolveStorePath, Dn as isCliProvider, Ft as getChannelPlugin, Gi as listAgentIds, Ji as resolveAgentSkillsFilter, Ln as resolveThinkingDefault, Lo as formatCliCommand, Lt as normalizeChannelId, Mn as resolveConfiguredModelRef, Nn as resolveDefaultModelForAgent, On as modelKey, Ot as mergeSessionEntry, Qa as buildAgentMainSessionKey, Ti as ensureAuthProfileStore, Ua as ensureAgentWorkspace, Xi as resolveDefaultAgentId, Yi as resolveAgentWorkspaceDir, Zi as resolveEffectiveModelFallbacks, a as isGatewayMessageChannel, ao as normalizeAgentId, bt as resolveSessionFilePathOptions, co as resolveAgentIdFromSessionKey, d as resolveMessageChannel, et as updateSessionStore, i as isDeliverableMessageChannel, ia as DEFAULT_PROVIDER, in as loadConfig, kn as normalizeModelRef, l as normalizeMessageChannel, na as DEFAULT_CONTEXT_TOKENS, nn as normalizeAccountId, o as isInternalMessageChannel, oo as normalizeMainKey, qi as resolveAgentDir, r as INTERNAL_MESSAGE_CHANNEL, ra as DEFAULT_MODEL, st as loadSessionStore, xt as resolveSessionTranscriptPath, yt as resolveSessionFilePath } from "./group-Dvl8dfJ2.js";
|
|
2
2
|
import "./paths-2qlGWRjc.js";
|
|
3
|
-
import { o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./progress-
|
|
3
|
+
import { o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BntNuBAj.js";
|
|
4
|
+
import "./progress-CmedxTqJ.js";
|
|
5
5
|
import "./github-copilot-token-ChvUJEAY.js";
|
|
6
|
-
import { A as WorkspaceLaneDeniedError, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveSendPolicy, T as formatAgentInternalEventsForPrompt, _ as resolveRunSenderIdentity, a as buildSessionRunContext, b as resolveAcpAgentPolicyError, c as runCliAgent, d as resolveMessageChannelSelection, f as runWithModelFallback, g as applyVerboseOverride, h as applyModelOverrideToSessionEntry, i as resolveCommandSecretRefsViaGateway, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as resolveOutboundTarget, m as clearSessionAuthProfileOverride, n as runEmbeddedPiAgent, o as getCliSessionId, p as FailoverError, r as getAgentRuntimeCommandSecretTargetIds, s as setCliSessionId, u as resolveSessionDeliveryTarget, v as getRemoteSkillEligibility, w as resolveAgentTimeoutMs, x as resolveAcpDispatchPolicyError, y as getSkillsSnapshotVersion } from "./agent-turn-execute-
|
|
7
|
-
import { At as hasNonzeroUsage, Bt as resolveSessionKey, Ht as resolveChannelResetConfig, Jt as resolveExplicitAgentSessionKey, Ut as resolveSessionResetPolicy, Vt as evaluateSessionFreshness, Wt as resolveSessionResetType, c as parseSessionThreadInfo, kt as deriveSessionTotalTokens, l as resolveAndPersistSessionFile, u as appendAssistantMessageToSessionTranscript } from "./credentials-
|
|
6
|
+
import { A as WorkspaceLaneDeniedError, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveSendPolicy, T as formatAgentInternalEventsForPrompt, _ as resolveRunSenderIdentity, a as buildSessionRunContext, b as resolveAcpAgentPolicyError, c as runCliAgent, d as resolveMessageChannelSelection, f as runWithModelFallback, g as applyVerboseOverride, h as applyModelOverrideToSessionEntry, i as resolveCommandSecretRefsViaGateway, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as resolveOutboundTarget, m as clearSessionAuthProfileOverride, n as runEmbeddedPiAgent, o as getCliSessionId, p as FailoverError, r as getAgentRuntimeCommandSecretTargetIds, s as setCliSessionId, u as resolveSessionDeliveryTarget, v as getRemoteSkillEligibility, w as resolveAgentTimeoutMs, x as resolveAcpDispatchPolicyError, y as getSkillsSnapshotVersion } from "./agent-turn-execute-VfgfznZ9.js";
|
|
7
|
+
import { At as hasNonzeroUsage, Bt as resolveSessionKey, Ht as resolveChannelResetConfig, Jt as resolveExplicitAgentSessionKey, Ut as resolveSessionResetPolicy, Vt as evaluateSessionFreshness, Wt as resolveSessionResetType, c as parseSessionThreadInfo, kt as deriveSessionTotalTokens, l as resolveAndPersistSessionFile, u as appendAssistantMessageToSessionTranscript } from "./credentials-By3Y4AcL.js";
|
|
8
8
|
import "./diagnostic-events-DqojT7DQ.js";
|
|
9
|
-
import "./redact-
|
|
10
|
-
import "./errors-
|
|
11
|
-
import "./call-
|
|
12
|
-
import "./auth-
|
|
13
|
-
import "./net-
|
|
14
|
-
import "./ports-
|
|
15
|
-
import "./agent-turn-runner-
|
|
16
|
-
import "./nudge-
|
|
17
|
-
import "./recorder-
|
|
18
|
-
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-
|
|
19
|
-
import "./diagnostic-
|
|
9
|
+
import "./redact-BvO7EAk7.js";
|
|
10
|
+
import "./errors-7NHaEHOi.js";
|
|
11
|
+
import "./call-CrRxRh7U.js";
|
|
12
|
+
import "./auth-kjIpJLfy.js";
|
|
13
|
+
import "./net-DJsykMK1.js";
|
|
14
|
+
import "./ports-af3jAFGh.js";
|
|
15
|
+
import "./agent-turn-runner-D6au_ann.js";
|
|
16
|
+
import "./nudge-D3beOdMV.js";
|
|
17
|
+
import "./recorder-CBd8Sa3f.js";
|
|
18
|
+
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-BZPLXOax.js";
|
|
19
|
+
import "./diagnostic-Dlx1Uind.js";
|
|
20
20
|
import "./diagnostic-session-state-DEJtdORi.js";
|
|
21
|
-
import "./command-queue-
|
|
22
|
-
import "./fences-
|
|
23
|
-
import "./pi-model-discovery-
|
|
24
|
-
import { U as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, m as loadChannelOutboundAdapter, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, v as resolveContextTokensForModel } from "./deliver-
|
|
25
|
-
import "./chrome-
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./proxy-env-
|
|
28
|
-
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
29
|
-
import "./outbound-attachment-
|
|
30
|
-
import "./fetch-guard-
|
|
31
|
-
import "./manager-
|
|
32
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
33
|
-
import "./send-
|
|
34
|
-
import "./send-
|
|
35
|
-
import "./query-expansion-
|
|
21
|
+
import "./command-queue-Ctuw0Dti.js";
|
|
22
|
+
import "./fences-BXndK9rN.js";
|
|
23
|
+
import "./pi-model-discovery-DnTVd1y8.js";
|
|
24
|
+
import { U as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, m as loadChannelOutboundAdapter, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, v as resolveContextTokensForModel } from "./deliver-lAcWrtsj.js";
|
|
25
|
+
import "./chrome-DnhfF77Z.js";
|
|
26
|
+
import "./fs-safe-B9UKPVRL.js";
|
|
27
|
+
import "./proxy-env-B9kcG28B.js";
|
|
28
|
+
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-CKVgIXbm.js";
|
|
29
|
+
import "./outbound-attachment-DwgRvpkl.js";
|
|
30
|
+
import "./fetch-guard-DVq681NM.js";
|
|
31
|
+
import "./manager-CIl1uCF4.js";
|
|
32
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-CisdKSzW.js";
|
|
33
|
+
import "./send-CpXb_hwQ.js";
|
|
34
|
+
import "./send-Bn1WCNeb.js";
|
|
35
|
+
import "./query-expansion-DJ7rNitK.js";
|
|
36
36
|
import crypto from "node:crypto";
|
|
37
37
|
|
|
38
38
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -133,11 +133,11 @@ function createDefaultDeps() {
|
|
|
133
133
|
};
|
|
134
134
|
}),
|
|
135
135
|
sendMessageSignal: async (...args) => {
|
|
136
|
-
const { sendMessageSignal } = await import("./send-
|
|
136
|
+
const { sendMessageSignal } = await import("./send-CpXb_hwQ.js").then((n) => n.i);
|
|
137
137
|
return await sendMessageSignal(...args);
|
|
138
138
|
},
|
|
139
139
|
sendMessageIMessage: async (...args) => {
|
|
140
|
-
const { sendMessageIMessage } = await import("./send-
|
|
140
|
+
const { sendMessageIMessage } = await import("./send-Bn1WCNeb.js").then((n) => n.n);
|
|
141
141
|
return await sendMessageIMessage(...args);
|
|
142
142
|
}
|
|
143
143
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $n as setSessionRuntimeModel, Ca as resolveAgentSkillsFilter, Ea as resolveEffectiveModelFallbacks, H as loadConfig, Hn as resolveSessionFilePath, Kn as resolveStorePath, Lr as normalizeMessageChannel, Mr as isDeliverableMessageChannel, Nr as isGatewayMessageChannel, Oa as resolveSessionAgentId, Pr as isInternalMessageChannel, Sn as updateSessionStore, Ta as resolveDefaultAgentId, Un as resolveSessionFilePathOptions, Ur as normalizeAccountId, Wn as resolveSessionTranscriptPath, Xi as ensureAuthProfileStore, Zn as mergeSessionEntry, _r as formatCliCommand, a as isCliProvider, ba as resolveAgentDir, c as normalizeProviderId, cr as getChannelPlugin, d as resolveDefaultModelForAgent, da as DEFAULT_MODEL, fa as DEFAULT_PROVIDER, h as resolveThinkingDefault, jr as INTERNAL_MESSAGE_CHANNEL, kn as loadSessionStore, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, u as resolveConfiguredModelRef, ua as DEFAULT_CONTEXT_TOKENS, ur as normalizeChannelId, va as listAgentIds, wa as resolveAgentWorkspaceDir, zr as resolveMessageChannel } from "./model-selection-
|
|
3
|
-
import { o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { G as resolveAgentIdFromSessionKey, H as normalizeAgentId, P as buildAgentMainSessionKey, U as normalizeMainKey, g as ensureAgentWorkspace } from "./legacy-names-
|
|
5
|
-
import { A as WorkspaceLaneDeniedError, C as resolveSendPolicy, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveAcpDispatchPolicyError, T as formatAgentInternalEventsForPrompt, _ as applyVerboseOverride, b as getSkillsSnapshotVersion, c as setCliSessionId, d as resolveSessionDeliveryTarget, f as resolveMessageChannelSelection, g as applyModelOverrideToSessionEntry, h as clearSessionAuthProfileOverride, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as runCliAgent, m as FailoverError, n as getAgentRuntimeCommandSecretTargetIds, o as buildSessionRunContext, p as runWithModelFallback, r as resolveCommandSecretRefsViaGateway, s as getCliSessionId, t as runEmbeddedPiAgent, u as resolveOutboundTarget, v as resolveRunSenderIdentity, w as resolveAgentTimeoutMs, x as resolveAcpAgentPolicyError, y as getRemoteSkillEligibility } from "./pi-embedded-
|
|
6
|
-
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-
|
|
7
|
-
import { A as evaluateSessionFreshness, L as resolveExplicitAgentSessionKey, M as resolveSessionResetPolicy, N as resolveSessionResetType, i as appendAssistantMessageToSessionTranscript, j as resolveChannelResetConfig, k as resolveSessionKey, n as parseSessionThreadInfo, r as resolveAndPersistSessionFile, v as deriveSessionTotalTokens, y as hasNonzeroUsage } from "./sessions-
|
|
8
|
-
import { T as resolveContextTokensForModel, W as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, x as loadChannelOutboundAdapter } from "./deliver-
|
|
9
|
-
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
10
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
2
|
+
import { $n as setSessionRuntimeModel, Ca as resolveAgentSkillsFilter, Ea as resolveEffectiveModelFallbacks, H as loadConfig, Hn as resolveSessionFilePath, Kn as resolveStorePath, Lr as normalizeMessageChannel, Mr as isDeliverableMessageChannel, Nr as isGatewayMessageChannel, Oa as resolveSessionAgentId, Pr as isInternalMessageChannel, Sn as updateSessionStore, Ta as resolveDefaultAgentId, Un as resolveSessionFilePathOptions, Ur as normalizeAccountId, Wn as resolveSessionTranscriptPath, Xi as ensureAuthProfileStore, Zn as mergeSessionEntry, _r as formatCliCommand, a as isCliProvider, ba as resolveAgentDir, c as normalizeProviderId, cr as getChannelPlugin, d as resolveDefaultModelForAgent, da as DEFAULT_MODEL, fa as DEFAULT_PROVIDER, h as resolveThinkingDefault, jr as INTERNAL_MESSAGE_CHANNEL, kn as loadSessionStore, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, u as resolveConfiguredModelRef, ua as DEFAULT_CONTEXT_TOKENS, ur as normalizeChannelId, va as listAgentIds, wa as resolveAgentWorkspaceDir, zr as resolveMessageChannel } from "./model-selection-ik2bHbgK.js";
|
|
3
|
+
import { o as defaultRuntime, t as createSubsystemLogger } from "./subsystem-cFv2jJm-.js";
|
|
4
|
+
import { G as resolveAgentIdFromSessionKey, H as normalizeAgentId, P as buildAgentMainSessionKey, U as normalizeMainKey, g as ensureAgentWorkspace } from "./legacy-names-chsmo2vs.js";
|
|
5
|
+
import { A as WorkspaceLaneDeniedError, C as resolveSendPolicy, D as toAcpRuntimeError, E as getAcpSessionManager, M as resolveWorkspaceLaneForTurn, O as withTimeout, S as resolveAcpDispatchPolicyError, T as formatAgentInternalEventsForPrompt, _ as applyVerboseOverride, b as getSkillsSnapshotVersion, c as setCliSessionId, d as resolveSessionDeliveryTarget, f as resolveMessageChannelSelection, g as applyModelOverrideToSessionEntry, h as clearSessionAuthProfileOverride, j as resolveWorkspaceLaneConfig, k as loadModelCatalog, l as runCliAgent, m as FailoverError, n as getAgentRuntimeCommandSecretTargetIds, o as buildSessionRunContext, p as runWithModelFallback, r as resolveCommandSecretRefsViaGateway, s as getCliSessionId, t as runEmbeddedPiAgent, u as resolveOutboundTarget, v as resolveRunSenderIdentity, w as resolveAgentTimeoutMs, x as resolveAcpAgentPolicyError, y as getRemoteSkillEligibility } from "./pi-embedded-DRpnAuxu.js";
|
|
6
|
+
import { c as formatXHighModelHint, f as normalizeThinkLevel, g as supportsXHighThinking, m as normalizeVerboseLevel, ot as buildWorkspaceSkillSnapshot, s as formatThinkingLevels, ut as skillsSnapshotSourceDiffers } from "./reply-directives-CD8SVo0d.js";
|
|
7
|
+
import { A as evaluateSessionFreshness, L as resolveExplicitAgentSessionKey, M as resolveSessionResetPolicy, N as resolveSessionResetType, i as appendAssistantMessageToSessionTranscript, j as resolveChannelResetConfig, k as resolveSessionKey, n as parseSessionThreadInfo, r as resolveAndPersistSessionFile, v as deriveSessionTotalTokens, y as hasNonzeroUsage } from "./sessions-Dwd5H-eS.js";
|
|
8
|
+
import { T as resolveContextTokensForModel, W as buildOutboundSessionContext, a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads, x as loadChannelOutboundAdapter } from "./deliver-BNwRhCqc.js";
|
|
9
|
+
import { v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-CW-qjeWY.js";
|
|
10
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-DBqvoOPn.js";
|
|
11
11
|
import crypto from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/cli/outbound-send-mapping.ts
|
|
@@ -108,11 +108,11 @@ function createDefaultDeps() {
|
|
|
108
108
|
};
|
|
109
109
|
}),
|
|
110
110
|
sendMessageSignal: async (...args) => {
|
|
111
|
-
const { sendMessageSignal } = await import("./send-
|
|
111
|
+
const { sendMessageSignal } = await import("./send-BClohEtC.js").then((n) => n.i);
|
|
112
112
|
return await sendMessageSignal(...args);
|
|
113
113
|
},
|
|
114
114
|
sendMessageIMessage: async (...args) => {
|
|
115
|
-
const { sendMessageIMessage } = await import("./send-
|
|
115
|
+
const { sendMessageIMessage } = await import("./send-DkfdQWGD.js").then((n) => n.n);
|
|
116
116
|
return await sendMessageIMessage(...args);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as updateLastRoute, $a as buildAgentPeerSessionKey, $i as resolveSessionAgentId, $n as resolveEnvApiKey, $t as mergeDeliveryContext, A as clearRegisteredPluginApis, Aa as normalizeAtHashSlug, Ai as readProcessElapsedSeconds, An as normalizeProviderId, Ao as runExec, Ar as normalizeScpRemoteHost, B as getRegisteredSpeechProviders, Bi as acceptsInheritedIdentity, Bo as docsSiteUrl, Br as isDispatchWrapperExecutable, Bt as isWhatsAppGroupJid, C as getActiveGatewayPluginRegistry, Ca as actionHasTarget, Ci as listProfilesForProvider, Cn as buildAllowedModelSet, Co as isCronSessionKey, Cr as unsetConfigValueAtPath, Ct as resolveStorePath, D as requireActivePluginRegistry, Da as listBufferedPluginTaskPasses, Di as resolveOpenClawAgentDir, Dn as isCliProvider, Do as resolveThreadParentSessionKey, Dr as mergeInboundPathRoots, Dt as DEFAULT_RESET_TRIGGERS, Ea as discardBufferedPluginTaskPasses, Ei as resolveAuthStorePathForDisplay, En as findNormalizedProviderValue, Eo as parseAgentSessionKey, Er as isInboundPathAllowed, F as executePluginCommand, Fi as hasConfiguredSecretInput, Fn as resolveReasoningDefault, Fo as logWarn, Fr as DEFAULT_SAFE_BINS, Ft as getChannelPlugin, G as createInternalHookEvent, Ga as loadWorkspaceBootstrapFiles, Gi as listAgentIds, Gn as buildAssistantMessage, Gr as parseDurationMs, Gt as resolveChannelGroupPolicy, H as isBuiltinTtsProvider, Hi as isAgentUserFacing, Hn as retryAsync, Hr as unwrapKnownDispatchWrapperInvocation, Ht as hasAnyWhatsAppAuth, I as listPluginCommands, Ia as DEFAULT_AGENT_WORKSPACE_DIR, Ii as normalizeResolvedSecretInputString, In as resolveSubagentSpawnModelSelection, Io as VERSION, Ir as matchAllowlist, It as listChannelPlugins, J as createConversationReadQuery, Ja as DEFAULT_AGENT_ID, Ji as resolveAgentSkillsFilter, Jn as buildUsageWithNoCost, Jt as resolveAccountEntry, K as triggerInternalHook, Ka as resolveOpenClawPackageRoot, Ki as resolveAgentConfig, Kn as buildAssistantMessageWithZeroUsage, Kt as resolveChannelGroupRequireMention, L as matchPluginCommand, La as DEFAULT_BOOTSTRAP_FILENAME, Ln as resolveThinkingDefault, Lo as formatCliCommand, Lr as resolveAllowlistCandidatePath, Lt as normalizeChannelId$1, M as normalizePluginHttpPath, Ma as resolveAgentModelFallbackValues, Mn as resolveConfiguredModelRef, Mo as logDebug, Mt as getChannelDock, N as buildPluginHealthReport, Na as resolveAgentModelPrimaryValue, Ni as normalizeSecretInput, Nn as resolveDefaultModelForAgent, No as logError, Nr as secretRefKey, Nt as listChannelDocks, O as setActivePluginRegistry, Oa as replaceBufferedPluginTaskPasses, Oi as withFileLock$1, On as modelKey, Oo as stripAgentSessionKeyPrefix, Or as resolveIMessageAttachmentRoots, Ot as mergeSessionEntry, P as clearPluginCommands, Pa as toAgentModelListLike, Pi as coerceSecretRef, Pn as resolveModelRefFromString, Po as logInfo, Pr as resolveExecPolicyPreset, Pt as normalizeSignalMessagingTarget, Q as recordSessionMetaFromInbound, Qa as buildAgentMainSessionKey, Qi as resolveRunModelFallbacksOverride, Qn as resolveApiKeyForProvider, Qt as deliveryContextKey, R as registerPluginCommand, Ra as DEFAULT_HEARTBEAT_FILENAME, Ri as resolveSecretInputRef, Ro as resolveCliName, Rr as resolveCommandResolutionFromArgv, Rt as listEnabledSignalAccounts, S as resolveChannelConfigId, Sa as applyTargetToParams, Si as dedupeProfileIds, Sn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, So as isAcpSessionKey, Sr as setConfigValueAtPath, T as getActivePluginRegistryKey, Ti as ensureAuthProfileStore, Tn as buildModelAliasIndex, To as isSubagentSessionKey, Tr as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Tt as resolveSessionLockMaxHoldFromTimeout, U as replaceSpeechProviders, Ua as ensureAgentWorkspace, Ui as isInternalAgentSessionKey, Un as OLLAMA_NATIVE_BASE_URL, Ur as unwrapKnownShellMultiplexerInvocation, Ut as resolveWhatsAppAccount, V as getSpeechProvider, Vi as hasConfiguredModelFallbacks, Vr as isShellWrapperExecutable, Vt as normalizeWhatsAppTarget, W as normalizeProviderId$1, Wa as filterBootstrapFilesForSession, Wn as createOllamaStreamFn, Wt as resolveIMessageAccount, Xa as DEVICE_SENDER_PREFIX, Xi as resolveDefaultAgentId, Xn as getCustomProviderApiKey, Xt as normalizeChatType, Y as getConversationReadQuery, Ya as DEFAULT_MAIN_KEY, Yi as resolveAgentWorkspaceDir, Yn as getApiKeyForModel, Yt as resolveConversationLabel, Z as requireSessionStorageRuntime, Zn as requireApiKey, Zt as deliveryContextFromSession, _ as getChatChannelMeta, _i as isPathInside, _n as splitCommandChain, _o as normalizeOptionalAccountId, _r as resetConfigOverrides, _t as SESSION_RUN_STORE_FILE_NAME, aa as getShellPathFromLoginShell, ai as buildChannelAccountBindings, an as readConfigFileSnapshot, ao as normalizeAgentId, ar as isProfileInCooldown, at as prepareConfiguredSessionStorageRuntimeActivation, b as normalizeChannelId$2, ba as optionalStringEnum, bn as normalizeSafeBinProfileFixtures, bo as WAKE_GATE_SESSION_KEY_SEGMENT, br as getConfigValueAtPath, bt as resolveSessionFilePathOptions, c as listDeliverableMessageChannels, ca as parseBooleanValue$1, cn as createConfigIO, co as resolveAgentIdFromSessionKey, cr as resolveProfilesUnavailableReason, ct as loadSessionStoreFromDisk, d as resolveMessageChannel, da as getRuntimeConfigSnapshot, di as applyTestPluginDefaults, dn as listWritableExplicitTrustedSafeBinDirs, do as resolveThreadSessionKeys, dr as describeUnknownError$1, ea as resolveSessionAgentIds, en as normalizeDeliveryContext, eo as classifySessionKeyShape, er as resolveModelAuthMode, et as updateSessionStore, f as GATEWAY_CLIENT_IDS, fa as applyMergePatch, fi as isBundledChannelEnabledByChannelConfig, fn as normalizeTrustedSafeBinDirs, fo as sanitizeAgentId, fr as isNonEmptyString, ft as parseSessionIndexRecordKey, g as CHAT_CHANNEL_ORDER, gi as discoverOpenClawPlugins, gn as isWindowsPlatform, go as normalizeAccountId$1, gr as getConfigOverrides, gt as SAFE_SESSION_ID_RE, hi as resolveMemorySlotDecision, hn as buildEnforcedShellCommand, ho as DEFAULT_ACCOUNT_ID, hr as runTasksWithConcurrency, i as isDeliverableMessageChannel, ia as DEFAULT_PROVIDER, in as loadConfig, io as isValidAgentId, ir as getSoonestCooldownExpiry, it as commitPreparedConfiguredSessionStorageRuntimeActivation, j as createPluginRegistry, ja as normalizeStringEntries, ji as resolveAuthProfileDisplayLabel, jn as parseModelRef, jo as spawnWithFallback, jr as parseNonNegativeByteSize, jt as deriveSessionMetaPatch, k as addRegisteredPluginApi, ka as RecoveryAdmissionError, ki as isPidAlive, kn as normalizeModelRef$1, ko as runCommandWithTimeout, kr as resolveIMessageRemoteAttachmentRoots, kt as resolveFreshSessionTotalTokens, l as normalizeMessageChannel, la as resolveOwnerDisplaySetting, li as loadPluginManifestRegistry, ln as getTrustedSafeBinDirs, lo as resolveCanonicalIdentity, lr as resolveApiKeyForProfile, lt as readSessionUpdatedAt, m as GATEWAY_CLIENT_NAMES, mi as resolveEffectiveEnableState, mn as analyzeShellCommand, mo as toAgentStoreSessionKey, mr as parseDotPath, n as resolveParentSessionGroupId, na as DEFAULT_CONTEXT_TOKENS, nt as closeConfiguredSessionStorageRuntime, o as isInternalMessageChannel, oa as resolveShellEnvFallbackTimeoutMs, oi as listBindings, on as readConfigFileSnapshotForWrite, oo as normalizeMainKey, or as markAuthProfileFailure, ot as refreshConfiguredSessionBindingEntry, p as GATEWAY_CLIENT_MODES, pa as readTaskWorkStates, pi as normalizePluginsConfig, pn as validateSafeBinArgv, po as sessionKeyAgentMatches, pr as isRecord$1, q as StorageReadAccessError, qi as resolveAgentDir, qn as buildStreamErrorAssistantMessage, qt as resolveChannelGroupToolsPolicy, r as INTERNAL_MESSAGE_CHANNEL, ra as DEFAULT_MODEL, rn as CtxProjectionCorruptionError, ro as isKnownAgentMainSessionKey, rr as resolveAuthProfileOrder, rt as closeReplacedConfiguredSessionStorageRuntime, s as isMarkdownCapableMessageChannel, sa as isTruthyEnvValue, si as validateJsonSchemaValue, sn as writeConfigFile, so as normalizeToken$1, sr as markAuthProfileUsed, st as loadSessionStore, t as resolveGroupSessionKey, tn as normalizeSessionDeliveryFields, tr as resolveModelProviderConfig, tt as updateSessionStoreEntry, u as resolveGatewayMessageChannel, ua as advanceRuntimeConfigSnapshot, ui as BUNDLED_ENABLED_BY_DEFAULT, un as isTrustedSafeBinPath, uo as resolveConfiguredCanonicalIdentity, ur as resolveSecretRefValues, ut as getConfiguredSessionStorageRuntime, v as listChatChannels, va as channelTargetSchema, vi as safeStatSync, vn as splitShellArgs, vr as setConfigOverride, w as getActivePluginRegistry, wa as actionRequiresTarget, wi as markAuthProfileGood, wn as buildConfiguredAllowlistKeys, wr as validateConfigObjectWithPlugins, wt as acquireSessionWriteLock, x as normalizeChatChannelId, xa as stringEnum, xn as resolveSafeBinProfiles, xo as getSubagentDepth, xr as parseConfigPath, xt as resolveSessionTranscriptPath, y as normalizeAnyChannelId, ya as channelTargetsSchema, yi as readManifestNamespace, yn as SAFE_BIN_PROFILES, yr as unsetConfigOverride, yt as resolveSessionFilePath, z as BUILTIN_TTS_PROVIDER_IDS, zi as splitTrailingAuthProfile, zo as DOCS_SITE_URL, zr as extractShellWrapperInlineCommand, zt as resolveSignalAccount } from "./group-
|
|
2
|
+
import { $ as updateLastRoute, $a as buildAgentPeerSessionKey, $i as resolveSessionAgentId, $n as resolveEnvApiKey, $t as mergeDeliveryContext, A as clearRegisteredPluginApis, Aa as normalizeAtHashSlug, Ai as readProcessElapsedSeconds, An as normalizeProviderId, Ao as runExec, Ar as normalizeScpRemoteHost, B as getRegisteredSpeechProviders, Bi as acceptsInheritedIdentity, Bo as docsSiteUrl, Br as isDispatchWrapperExecutable, Bt as isWhatsAppGroupJid, C as getActiveGatewayPluginRegistry, Ca as actionHasTarget, Ci as listProfilesForProvider, Cn as buildAllowedModelSet, Co as isCronSessionKey, Cr as unsetConfigValueAtPath, Ct as resolveStorePath, D as requireActivePluginRegistry, Da as listBufferedPluginTaskPasses, Di as resolveOpenClawAgentDir, Dn as isCliProvider, Do as resolveThreadParentSessionKey, Dr as mergeInboundPathRoots, Dt as DEFAULT_RESET_TRIGGERS, Ea as discardBufferedPluginTaskPasses, Ei as resolveAuthStorePathForDisplay, En as findNormalizedProviderValue, Eo as parseAgentSessionKey, Er as isInboundPathAllowed, F as executePluginCommand, Fi as hasConfiguredSecretInput, Fn as resolveReasoningDefault, Fo as logWarn, Fr as DEFAULT_SAFE_BINS, Ft as getChannelPlugin, G as createInternalHookEvent, Ga as loadWorkspaceBootstrapFiles, Gi as listAgentIds, Gn as buildAssistantMessage, Gr as parseDurationMs, Gt as resolveChannelGroupPolicy, H as isBuiltinTtsProvider, Hi as isAgentUserFacing, Hn as retryAsync, Hr as unwrapKnownDispatchWrapperInvocation, Ht as hasAnyWhatsAppAuth, I as listPluginCommands, Ia as DEFAULT_AGENT_WORKSPACE_DIR, Ii as normalizeResolvedSecretInputString, In as resolveSubagentSpawnModelSelection, Io as VERSION, Ir as matchAllowlist, It as listChannelPlugins, J as createConversationReadQuery, Ja as DEFAULT_AGENT_ID, Ji as resolveAgentSkillsFilter, Jn as buildUsageWithNoCost, Jt as resolveAccountEntry, K as triggerInternalHook, Ka as resolveOpenClawPackageRoot, Ki as resolveAgentConfig, Kn as buildAssistantMessageWithZeroUsage, Kt as resolveChannelGroupRequireMention, L as matchPluginCommand, La as DEFAULT_BOOTSTRAP_FILENAME, Ln as resolveThinkingDefault, Lo as formatCliCommand, Lr as resolveAllowlistCandidatePath, Lt as normalizeChannelId$1, M as normalizePluginHttpPath, Ma as resolveAgentModelFallbackValues, Mn as resolveConfiguredModelRef, Mo as logDebug, Mt as getChannelDock, N as buildPluginHealthReport, Na as resolveAgentModelPrimaryValue, Ni as normalizeSecretInput, Nn as resolveDefaultModelForAgent, No as logError, Nr as secretRefKey, Nt as listChannelDocks, O as setActivePluginRegistry, Oa as replaceBufferedPluginTaskPasses, Oi as withFileLock$1, On as modelKey, Oo as stripAgentSessionKeyPrefix, Or as resolveIMessageAttachmentRoots, Ot as mergeSessionEntry, P as clearPluginCommands, Pa as toAgentModelListLike, Pi as coerceSecretRef, Pn as resolveModelRefFromString, Po as logInfo, Pr as resolveExecPolicyPreset, Pt as normalizeSignalMessagingTarget, Q as recordSessionMetaFromInbound, Qa as buildAgentMainSessionKey, Qi as resolveRunModelFallbacksOverride, Qn as resolveApiKeyForProvider, Qt as deliveryContextKey, R as registerPluginCommand, Ra as DEFAULT_HEARTBEAT_FILENAME, Ri as resolveSecretInputRef, Ro as resolveCliName, Rr as resolveCommandResolutionFromArgv, Rt as listEnabledSignalAccounts, S as resolveChannelConfigId, Sa as applyTargetToParams, Si as dedupeProfileIds, Sn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, So as isAcpSessionKey, Sr as setConfigValueAtPath, T as getActivePluginRegistryKey, Ti as ensureAuthProfileStore, Tn as buildModelAliasIndex, To as isSubagentSessionKey, Tr as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Tt as resolveSessionLockMaxHoldFromTimeout, U as replaceSpeechProviders, Ua as ensureAgentWorkspace, Ui as isInternalAgentSessionKey, Un as OLLAMA_NATIVE_BASE_URL, Ur as unwrapKnownShellMultiplexerInvocation, Ut as resolveWhatsAppAccount, V as getSpeechProvider, Vi as hasConfiguredModelFallbacks, Vr as isShellWrapperExecutable, Vt as normalizeWhatsAppTarget, W as normalizeProviderId$1, Wa as filterBootstrapFilesForSession, Wn as createOllamaStreamFn, Wt as resolveIMessageAccount, Xa as DEVICE_SENDER_PREFIX, Xi as resolveDefaultAgentId, Xn as getCustomProviderApiKey, Xt as normalizeChatType, Y as getConversationReadQuery, Ya as DEFAULT_MAIN_KEY, Yi as resolveAgentWorkspaceDir, Yn as getApiKeyForModel, Yt as resolveConversationLabel, Z as requireSessionStorageRuntime, Zn as requireApiKey, Zt as deliveryContextFromSession, _ as getChatChannelMeta, _i as isPathInside, _n as splitCommandChain, _o as normalizeOptionalAccountId, _r as resetConfigOverrides, _t as SESSION_RUN_STORE_FILE_NAME, aa as getShellPathFromLoginShell, ai as buildChannelAccountBindings, an as readConfigFileSnapshot, ao as normalizeAgentId, ar as isProfileInCooldown, at as prepareConfiguredSessionStorageRuntimeActivation, b as normalizeChannelId$2, ba as optionalStringEnum, bn as normalizeSafeBinProfileFixtures, bo as WAKE_GATE_SESSION_KEY_SEGMENT, br as getConfigValueAtPath, bt as resolveSessionFilePathOptions, c as listDeliverableMessageChannels, ca as parseBooleanValue$1, cn as createConfigIO, co as resolveAgentIdFromSessionKey, cr as resolveProfilesUnavailableReason, ct as loadSessionStoreFromDisk, d as resolveMessageChannel, da as getRuntimeConfigSnapshot, di as applyTestPluginDefaults, dn as listWritableExplicitTrustedSafeBinDirs, do as resolveThreadSessionKeys, dr as describeUnknownError$1, ea as resolveSessionAgentIds, en as normalizeDeliveryContext, eo as classifySessionKeyShape, er as resolveModelAuthMode, et as updateSessionStore, f as GATEWAY_CLIENT_IDS, fa as applyMergePatch, fi as isBundledChannelEnabledByChannelConfig, fn as normalizeTrustedSafeBinDirs, fo as sanitizeAgentId, fr as isNonEmptyString, ft as parseSessionIndexRecordKey, g as CHAT_CHANNEL_ORDER, gi as discoverOpenClawPlugins, gn as isWindowsPlatform, go as normalizeAccountId$1, gr as getConfigOverrides, gt as SAFE_SESSION_ID_RE, hi as resolveMemorySlotDecision, hn as buildEnforcedShellCommand, ho as DEFAULT_ACCOUNT_ID, hr as runTasksWithConcurrency, i as isDeliverableMessageChannel, ia as DEFAULT_PROVIDER, in as loadConfig, io as isValidAgentId, ir as getSoonestCooldownExpiry, it as commitPreparedConfiguredSessionStorageRuntimeActivation, j as createPluginRegistry, ja as normalizeStringEntries, ji as resolveAuthProfileDisplayLabel, jn as parseModelRef, jo as spawnWithFallback, jr as parseNonNegativeByteSize, jt as deriveSessionMetaPatch, k as addRegisteredPluginApi, ka as RecoveryAdmissionError, ki as isPidAlive, kn as normalizeModelRef$1, ko as runCommandWithTimeout, kr as resolveIMessageRemoteAttachmentRoots, kt as resolveFreshSessionTotalTokens, l as normalizeMessageChannel, la as resolveOwnerDisplaySetting, li as loadPluginManifestRegistry, ln as getTrustedSafeBinDirs, lo as resolveCanonicalIdentity, lr as resolveApiKeyForProfile, lt as readSessionUpdatedAt, m as GATEWAY_CLIENT_NAMES, mi as resolveEffectiveEnableState, mn as analyzeShellCommand, mo as toAgentStoreSessionKey, mr as parseDotPath, n as resolveParentSessionGroupId, na as DEFAULT_CONTEXT_TOKENS, nt as closeConfiguredSessionStorageRuntime, o as isInternalMessageChannel, oa as resolveShellEnvFallbackTimeoutMs, oi as listBindings, on as readConfigFileSnapshotForWrite, oo as normalizeMainKey, or as markAuthProfileFailure, ot as refreshConfiguredSessionBindingEntry, p as GATEWAY_CLIENT_MODES, pa as readTaskWorkStates, pi as normalizePluginsConfig, pn as validateSafeBinArgv, po as sessionKeyAgentMatches, pr as isRecord$1, q as StorageReadAccessError, qi as resolveAgentDir, qn as buildStreamErrorAssistantMessage, qt as resolveChannelGroupToolsPolicy, r as INTERNAL_MESSAGE_CHANNEL, ra as DEFAULT_MODEL, rn as CtxProjectionCorruptionError, ro as isKnownAgentMainSessionKey, rr as resolveAuthProfileOrder, rt as closeReplacedConfiguredSessionStorageRuntime, s as isMarkdownCapableMessageChannel, sa as isTruthyEnvValue, si as validateJsonSchemaValue, sn as writeConfigFile, so as normalizeToken$1, sr as markAuthProfileUsed, st as loadSessionStore, t as resolveGroupSessionKey, tn as normalizeSessionDeliveryFields, tr as resolveModelProviderConfig, tt as updateSessionStoreEntry, u as resolveGatewayMessageChannel, ua as advanceRuntimeConfigSnapshot, ui as BUNDLED_ENABLED_BY_DEFAULT, un as isTrustedSafeBinPath, uo as resolveConfiguredCanonicalIdentity, ur as resolveSecretRefValues, ut as getConfiguredSessionStorageRuntime, v as listChatChannels, va as channelTargetSchema, vi as safeStatSync, vn as splitShellArgs, vr as setConfigOverride, w as getActivePluginRegistry, wa as actionRequiresTarget, wi as markAuthProfileGood, wn as buildConfiguredAllowlistKeys, wr as validateConfigObjectWithPlugins, wt as acquireSessionWriteLock, x as normalizeChatChannelId, xa as stringEnum, xn as resolveSafeBinProfiles, xo as getSubagentDepth, xr as parseConfigPath, xt as resolveSessionTranscriptPath, y as normalizeAnyChannelId, ya as channelTargetsSchema, yi as readManifestNamespace, yn as SAFE_BIN_PROFILES, yr as unsetConfigOverride, yt as resolveSessionFilePath, z as BUILTIN_TTS_PROVIDER_IDS, zi as splitTrailingAuthProfile, zo as DOCS_SITE_URL, zr as extractShellWrapperInlineCommand, zt as resolveSignalAccount } from "./group-Dvl8dfJ2.js";
|
|
3
3
|
import { a as resolveGatewayLockDir, c as resolveOAuthDir, d as expandHomePrefix, o as resolveGatewayPort, p as resolveRequiredHomeDir, r as resolveConfigPath, u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
4
|
-
import { $ as openBoundaryFileSync, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, I as theme, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFile, S as shortenHomeInString, T as sliceUtf16Safe, U as normalizeLogLevel, V as appendFileLog, Y as isBlockedObjectKey, _ as normalizeE164, a as createNonExitingRuntime, at as isNotFoundPathError, b as resolveUserPath, ct as normalizeWindowsPathForComparison, d as clampInt, dt as isDangerousHostEnvVarName, g as isRecord$2, gt as resolvePreferredOpenClawTmpDir, j as setVerbose, k as logVerbose, m as escapeRegExp, o as defaultRuntime, st as isSymlinkOpenError, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$2, x as safeParseJson } from "./subsystem-
|
|
4
|
+
import { $ as openBoundaryFileSync, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, I as theme, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFile, S as shortenHomeInString, T as sliceUtf16Safe, U as normalizeLogLevel, V as appendFileLog, Y as isBlockedObjectKey, _ as normalizeE164, a as createNonExitingRuntime, at as isNotFoundPathError, b as resolveUserPath, ct as normalizeWindowsPathForComparison, d as clampInt, dt as isDangerousHostEnvVarName, g as isRecord$2, gt as resolvePreferredOpenClawTmpDir, j as setVerbose, k as logVerbose, m as escapeRegExp, o as defaultRuntime, st as isSymlinkOpenError, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$2, x as safeParseJson } from "./subsystem-BntNuBAj.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { g as resolveGatewaySystemdServiceName, i as detectBinary, n as withProgressTotals, p as resolveGatewayLaunchAgentLabel, r as killProcessTree$1, t as withProgress, y as formatDocsLink } from "./progress-
|
|
6
|
+
import { g as resolveGatewaySystemdServiceName, i as detectBinary, n as withProgressTotals, p as resolveGatewayLaunchAgentLabel, r as killProcessTree$1, t as withProgress, y as formatDocsLink } from "./progress-CmedxTqJ.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-ChvUJEAY.js";
|
|
8
|
-
import { $ as attachPgPoolErrorListeners, A as promptBuildResultToContribution, At as hasNonzeroUsage, B as sessionLikelyHasOversizedToolResults, Bt as resolveSessionKey, Ct as stripMessageCarriers, D as getGlobalPluginRegistry, Dt as resolveSenderLabel, E as getGlobalHookRunner, Et as resolveTimezone, F as DB_SESSION_HYDRATION_LIMIT, Ft as normalizeCronStaggerMs, G as CHARS_PER_TOKEN_ESTIMATE$2, Gt as resolveThreadFlag, H as TOOL_RESULT_TEXT_WEIGHT, Ht as resolveChannelResetConfig, I as eventOrder, It as resolveDefaultCronStaggerMs, J as estimateContextChars$1, K as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Kt as canonicalizeMainSessionAlias, L as pickLeaf, Lt as parseAbsoluteTimeMs, M as buildPluginTurnIdentity, Mt as normalizeUsage, N as resolveProviderPromptCacheKey, Nt as inferLegacyName, O as initializeGlobalHookRunner, Ot as derivePromptTokens, P as resolveProviderRuntimeIdentity, Pt as normalizeHttpWebhookUrl, Q as parseInlineDirectives$1, R as capToolResultContent, Rt as SESSION_RUN_CONTEXT_MAX_NAMES, S as sanitizeToolCallIdsForCloudCodeAssist, St as messageTime, T as normalizeInputProvenance, Tt as formatZonedTimestamp, U as truncateTextHeadTail, Ut as resolveSessionResetPolicy, V as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Vt as evaluateSessionFreshness, W as truncateToolResultToChars, Wt as resolveSessionResetType, X as getToolResultText$1, Xt as isPrimarySessionTranscriptFileName, Y as estimateMessageCharsCached, Yt as resolveMainSessionKey, Z as isToolResultMessage, Zt as isSessionArchiveArtifactName, _ as repairToolUseResultPairing, _t as collectInboundUserContext, b as stripToolResultDetails, bt as getMessageIngress, c as parseSessionThreadInfo, ct as HIDDEN_HEARTBEAT_CUSTOM_TYPE, d as resolveMirroredTranscriptText, dt as sanitizeJsonb, et as createSessionStorageRuntimeFromConfig, f as openDbSessionManager, ft as sha256, g as openRawToolResultStash, gt as buildInboundMetaSystemPrompt, h as guardSessionManager, ht as toJsonValue$1, i as createAsyncLock, j as buildPluginRuntimeIdentity, jt as makeZeroUsageSnapshot, k as hasHookForPlugin, kt as deriveSessionTotalTokens, l as resolveAndPersistSessionFile, lt as sanitizeAppendEntry, m as drainPendingPrimaryWrites, mt as mergePromptContributions, nt as validateCtxStorage, o as writeJsonAtomic, ot as deriveLegacyActorIdentity, p as runSerializedBySession, pt as createCurrentUserPromptEnvelope, q as createMessageCharEstimateCache, qt as resolveAgentMainSessionKey, r as trimToUndefined, rt as buildEqualityProjection, s as extractDeliveryInfo, st as CREATE_CTX_STORAGE_OWNER_SQL, t as resolveGatewayCredentialsFromConfig, tt as resolveSessionStorageConfig, u as appendAssistantMessageToSessionTranscript, ut as extractLegacyTranscriptEntryFields, v as sanitizeToolCallInputs, vt as renderInboundUserContext, w as hasInterSessionUserProvenance, wt as formatMessageStamp, x as canonicalToolCallIdBase, xt as isRepresentableEpochMs, y as sanitizeToolUseResultPairing, yt as attachMessageIngress, z as HARD_MAX_TOOL_RESULT_CHARS } from "./credentials-
|
|
8
|
+
import { $ as attachPgPoolErrorListeners, A as promptBuildResultToContribution, At as hasNonzeroUsage, B as sessionLikelyHasOversizedToolResults, Bt as resolveSessionKey, Ct as stripMessageCarriers, D as getGlobalPluginRegistry, Dt as resolveSenderLabel, E as getGlobalHookRunner, Et as resolveTimezone, F as DB_SESSION_HYDRATION_LIMIT, Ft as normalizeCronStaggerMs, G as CHARS_PER_TOKEN_ESTIMATE$2, Gt as resolveThreadFlag, H as TOOL_RESULT_TEXT_WEIGHT, Ht as resolveChannelResetConfig, I as eventOrder, It as resolveDefaultCronStaggerMs, J as estimateContextChars$1, K as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Kt as canonicalizeMainSessionAlias, L as pickLeaf, Lt as parseAbsoluteTimeMs, M as buildPluginTurnIdentity, Mt as normalizeUsage, N as resolveProviderPromptCacheKey, Nt as inferLegacyName, O as initializeGlobalHookRunner, Ot as derivePromptTokens, P as resolveProviderRuntimeIdentity, Pt as normalizeHttpWebhookUrl, Q as parseInlineDirectives$1, R as capToolResultContent, Rt as SESSION_RUN_CONTEXT_MAX_NAMES, S as sanitizeToolCallIdsForCloudCodeAssist, St as messageTime, T as normalizeInputProvenance, Tt as formatZonedTimestamp, U as truncateTextHeadTail, Ut as resolveSessionResetPolicy, V as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Vt as evaluateSessionFreshness, W as truncateToolResultToChars, Wt as resolveSessionResetType, X as getToolResultText$1, Xt as isPrimarySessionTranscriptFileName, Y as estimateMessageCharsCached, Yt as resolveMainSessionKey, Z as isToolResultMessage, Zt as isSessionArchiveArtifactName, _ as repairToolUseResultPairing, _t as collectInboundUserContext, b as stripToolResultDetails, bt as getMessageIngress, c as parseSessionThreadInfo, ct as HIDDEN_HEARTBEAT_CUSTOM_TYPE, d as resolveMirroredTranscriptText, dt as sanitizeJsonb, et as createSessionStorageRuntimeFromConfig, f as openDbSessionManager, ft as sha256, g as openRawToolResultStash, gt as buildInboundMetaSystemPrompt, h as guardSessionManager, ht as toJsonValue$1, i as createAsyncLock, j as buildPluginRuntimeIdentity, jt as makeZeroUsageSnapshot, k as hasHookForPlugin, kt as deriveSessionTotalTokens, l as resolveAndPersistSessionFile, lt as sanitizeAppendEntry, m as drainPendingPrimaryWrites, mt as mergePromptContributions, nt as validateCtxStorage, o as writeJsonAtomic, ot as deriveLegacyActorIdentity, p as runSerializedBySession, pt as createCurrentUserPromptEnvelope, q as createMessageCharEstimateCache, qt as resolveAgentMainSessionKey, r as trimToUndefined, rt as buildEqualityProjection, s as extractDeliveryInfo, st as CREATE_CTX_STORAGE_OWNER_SQL, t as resolveGatewayCredentialsFromConfig, tt as resolveSessionStorageConfig, u as appendAssistantMessageToSessionTranscript, ut as extractLegacyTranscriptEntryFields, v as sanitizeToolCallInputs, vt as renderInboundUserContext, w as hasInterSessionUserProvenance, wt as formatMessageStamp, x as canonicalToolCallIdBase, xt as isRepresentableEpochMs, y as sanitizeToolUseResultPairing, yt as attachMessageIngress, z as HARD_MAX_TOOL_RESULT_CHARS } from "./credentials-By3Y4AcL.js";
|
|
9
9
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-DqojT7DQ.js";
|
|
10
|
-
import { t as redactSensitiveText } from "./redact-
|
|
11
|
-
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
10
|
+
import { t as redactSensitiveText } from "./redact-BvO7EAk7.js";
|
|
11
|
+
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-7NHaEHOi.js";
|
|
12
12
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-YVxlGEnI.js";
|
|
13
|
-
import { a as gatewayErrorReason, c as SESSION_LABEL_MAX_LENGTH, i as resolveLeastPrivilegeOperatorScopesForMethod, l as issueDeviceBootstrapToken, n as callGatewayLeastPrivilege, o as gatewayErrorShapeOf, r as randomIdempotencyKey, s as validateSecretsResolveResult, t as callGateway } from "./call-
|
|
14
|
-
import { n as isLoopbackHost } from "./net-
|
|
15
|
-
import { r as resolveLsofCommandSync } from "./ports-
|
|
16
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
17
|
-
import { _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as clearActiveCoordinationDepth, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-
|
|
13
|
+
import { a as gatewayErrorReason, c as SESSION_LABEL_MAX_LENGTH, i as resolveLeastPrivilegeOperatorScopesForMethod, l as issueDeviceBootstrapToken, n as callGatewayLeastPrivilege, o as gatewayErrorShapeOf, r as randomIdempotencyKey, s as validateSecretsResolveResult, t as callGateway } from "./call-CrRxRh7U.js";
|
|
14
|
+
import { n as isLoopbackHost } from "./net-DJsykMK1.js";
|
|
15
|
+
import { r as resolveLsofCommandSync } from "./ports-af3jAFGh.js";
|
|
16
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-D6au_ann.js";
|
|
17
|
+
import { _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as clearActiveCoordinationDepth, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-D3beOdMV.js";
|
|
18
18
|
import { t as redactIdentifier } from "./redact-identifier-Am95JIl0.js";
|
|
19
19
|
import { t as CommandLane } from "./lanes-_0Z4lnRk.js";
|
|
20
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
21
|
-
import { $ as resolveSandboxRuntimeStatus, A as classifyFailoverReason, At as listCoreToolIds, B as isFailoverAssistantError, Bt as isSilentReplyText, C as resolveImageSanitizationLimits, Ct as collectExplicitAllowlist, D as downgradeOpenAIReasoningBlocks, Dt as expandToolGroups, E as downgradeOpenAIFunctionCallReasoningPairs, Et as stripPluginOnlyAllowlist, F as isAuthAssistantError, Ft as resolveBootstrapTotalMaxChars, G as isTransientHttpError, H as isLikelyContextOverflowError, I as isBillingAssistantError, It as sanitizeGoogleTurnOrdering, J as sanitizeUserFacingText, K as parseImageDimensionError, L as isCloudCodeAssistFormatError, Lt as HEARTBEAT_TOKEN, M as formatBillingErrorMessage, Mt as matchesAnyGlobPattern, N as formatRawAssistantErrorForUi, Nt as buildBootstrapContextFiles, O as isGoogleModelApi, Ot as normalizeToolName, P as getApiErrorPayloadFingerprint, Pt as resolveBootstrapMaxChars, Q as resolveSandboxContext, R as isCompactionFailureError, Rt as SILENT_REPLY_TOKEN, S as sanitizeToolResultImages, St as buildPluginToolGroups, T as estimateBase64DecodedBytes, Tt as mergeAlsoAllowPolicy, U as isRateLimitAssistantError, V as isFailoverErrorMessage, Vt as stripSilentToken, W as isRawApiErrorPayload, X as isTimeoutErrorMessage, Y as isAuthPermanentErrorMessage, Z as ensureSandboxWorkspaceForSession, _t as applySkillEnvOverridesFromSnapshot, a as validateGeminiTurns, at as buildWorkspaceSkillCommandSpecs, b as sanitizeSessionMessagesImages, bt as resolveSandboxConfigForAgent, c as formatXHighModelHint, ct as resolveManagedSkillsDir, d as normalizeReasoningLevel, dt as resolvePluginSkillDirs, et as createBrowserRouteContext, f as normalizeThinkLevel, ft as assertMediaNotDataUrl, g as supportsXHighThinking, gt as applySkillEnvOverrides, h as resolveResponseUsageMode, ht as resolveSandboxedMediaSource, i as validateAnthropicTurns, it as getBridgeAuthForPort, j as formatAssistantErrorText, jt as compileGlobPatterns, k as BILLING_ERROR_USER_MESSAGE, kt as resolveToolProfilePolicy, l as listThinkingLevels, lt as resolveSkillsPromptForRun, m as normalizeVerboseLevel, mt as resolveSandboxInputPath, n as splitMediaFromOutput, nt as resolveBrowserConfig, o as pickFallbackThinkingLevel, ot as buildWorkspaceSkillSnapshot, p as normalizeUsageDisplay, pt as assertSandboxPath, q as parseImageSizeError, r as extractTextFromChatContent, rt as resolveProfile, s as formatThinkingLevels, st as loadWorkspaceSkillEntries, t as parseReplyDirectives, tt as registerBrowserRoutes, u as normalizeElevatedLevel, ut as skillsSnapshotSourceDiffers, v as isMessagingToolDuplicateNormalized, vt as ensureBrowserControlAuth, w as canonicalizeBase64, wt as expandPolicyWithPluginGroups, x as sanitizeImageBlocks, xt as applyOwnerOnlyToolPolicy, y as normalizeTextForComparison, yt as resolveBrowserControlAuth, z as isContextOverflowError, zt as isSilentReplyPrefixText } from "./reply-directives-
|
|
20
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-CBd8Sa3f.js";
|
|
21
|
+
import { $ as resolveSandboxRuntimeStatus, A as classifyFailoverReason, At as listCoreToolIds, B as isFailoverAssistantError, Bt as isSilentReplyText, C as resolveImageSanitizationLimits, Ct as collectExplicitAllowlist, D as downgradeOpenAIReasoningBlocks, Dt as expandToolGroups, E as downgradeOpenAIFunctionCallReasoningPairs, Et as stripPluginOnlyAllowlist, F as isAuthAssistantError, Ft as resolveBootstrapTotalMaxChars, G as isTransientHttpError, H as isLikelyContextOverflowError, I as isBillingAssistantError, It as sanitizeGoogleTurnOrdering, J as sanitizeUserFacingText, K as parseImageDimensionError, L as isCloudCodeAssistFormatError, Lt as HEARTBEAT_TOKEN, M as formatBillingErrorMessage, Mt as matchesAnyGlobPattern, N as formatRawAssistantErrorForUi, Nt as buildBootstrapContextFiles, O as isGoogleModelApi, Ot as normalizeToolName, P as getApiErrorPayloadFingerprint, Pt as resolveBootstrapMaxChars, Q as resolveSandboxContext, R as isCompactionFailureError, Rt as SILENT_REPLY_TOKEN, S as sanitizeToolResultImages, St as buildPluginToolGroups, T as estimateBase64DecodedBytes, Tt as mergeAlsoAllowPolicy, U as isRateLimitAssistantError, V as isFailoverErrorMessage, Vt as stripSilentToken, W as isRawApiErrorPayload, X as isTimeoutErrorMessage, Y as isAuthPermanentErrorMessage, Z as ensureSandboxWorkspaceForSession, _t as applySkillEnvOverridesFromSnapshot, a as validateGeminiTurns, at as buildWorkspaceSkillCommandSpecs, b as sanitizeSessionMessagesImages, bt as resolveSandboxConfigForAgent, c as formatXHighModelHint, ct as resolveManagedSkillsDir, d as normalizeReasoningLevel, dt as resolvePluginSkillDirs, et as createBrowserRouteContext, f as normalizeThinkLevel, ft as assertMediaNotDataUrl, g as supportsXHighThinking, gt as applySkillEnvOverrides, h as resolveResponseUsageMode, ht as resolveSandboxedMediaSource, i as validateAnthropicTurns, it as getBridgeAuthForPort, j as formatAssistantErrorText, jt as compileGlobPatterns, k as BILLING_ERROR_USER_MESSAGE, kt as resolveToolProfilePolicy, l as listThinkingLevels, lt as resolveSkillsPromptForRun, m as normalizeVerboseLevel, mt as resolveSandboxInputPath, n as splitMediaFromOutput, nt as resolveBrowserConfig, o as pickFallbackThinkingLevel, ot as buildWorkspaceSkillSnapshot, p as normalizeUsageDisplay, pt as assertSandboxPath, q as parseImageSizeError, r as extractTextFromChatContent, rt as resolveProfile, s as formatThinkingLevels, st as loadWorkspaceSkillEntries, t as parseReplyDirectives, tt as registerBrowserRoutes, u as normalizeElevatedLevel, ut as skillsSnapshotSourceDiffers, v as isMessagingToolDuplicateNormalized, vt as ensureBrowserControlAuth, w as canonicalizeBase64, wt as expandPolicyWithPluginGroups, x as sanitizeImageBlocks, xt as applyOwnerOnlyToolPolicy, y as normalizeTextForComparison, yt as resolveBrowserControlAuth, z as isContextOverflowError, zt as isSilentReplyPrefixText } from "./reply-directives-BZPLXOax.js";
|
|
22
22
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CFRVlPvh.js";
|
|
23
|
-
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-
|
|
23
|
+
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-Dlx1Uind.js";
|
|
24
24
|
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-DEJtdORi.js";
|
|
25
|
-
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-
|
|
26
|
-
import { S as MAX_IMAGE_BYTES, _ as getFileExtension, b as kindFromMime, d as MEDIA_MAX_BYTES, g as extensionForMime, h as detectMime, m as saveMediaBuffer, n as isSafeFenceBreak, p as getMediaDir, r as parseFenceSpans, s as getImageMetadata, t as findFenceSpanAt, u as resizeToJpeg, v as imageMimeFromFormat, w as mediaKindFromMime, x as normalizeMimeType$1, y as isAudioFileName } from "./fences-
|
|
27
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
28
|
-
import { A as stripLeadingInboundMetadata, B as buildTargetResolverSignature, C as deriveInboundMessageHookContext, D as toPluginMessageContext, E as toInternalMessageTranscribedContext, F as isRenderablePayload, G as ensureOpenClawModelsJson, H as normalizeTargetForProvider, I as shouldSuppressMessagingToolReplies, K as resolveLedTeam, L as shouldSuppressReasoningPayload, M as applyReplyThreading, N as filterMessagingToolDuplicates, O as toPluginMessageReceivedEvent, P as filterMessagingToolMediaDuplicates, R as createReplyToModeFilterForChannel, S as transcriptEntriesToMessages, T as toInternalMessageReceivedContext, U as buildOutboundSessionContext, V as normalizeChannelTargetInput, W as resolveOutboundSessionId, _ as lookupContextTokens, b as sleepWithAbort, c as createMessageSentEmitter, d as capArrayByJsonBytes, f as jsonUtf8Bytes, g as extractToolCallNames, h as countToolResults, j as applyReplyTagsToPayload, k as fireAndForgetHook, l as stampReplyActivity, m as loadChannelOutboundAdapter, o as normalizeReplyPayloadsForDelivery, p as throwIfAborted$1, q as resolveTeamRoster, s as applyMessageSendingHook, t as deliverOutboundPayloads, u as loadCombinedSessionStoreForGateway, v as resolveContextTokensForModel, w as toInternalMessagePreprocessedContext, x as readFullTranscriptEntriesFromBackend, y as computeBackoff, z as resolveReplyToMode } from "./deliver-
|
|
29
|
-
import { M as resolveExistingPathsWithinRoot, S as ensureChromeExtensionRelayServer, j as DEFAULT_UPLOAD_DIR, z as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-
|
|
30
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, l as PATH_ALIAS_POLICIES, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
31
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
25
|
+
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-Ctuw0Dti.js";
|
|
26
|
+
import { S as MAX_IMAGE_BYTES, _ as getFileExtension, b as kindFromMime, d as MEDIA_MAX_BYTES, g as extensionForMime, h as detectMime, m as saveMediaBuffer, n as isSafeFenceBreak, p as getMediaDir, r as parseFenceSpans, s as getImageMetadata, t as findFenceSpanAt, u as resizeToJpeg, v as imageMimeFromFormat, w as mediaKindFromMime, x as normalizeMimeType$1, y as isAudioFileName } from "./fences-BXndK9rN.js";
|
|
27
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DnTVd1y8.js";
|
|
28
|
+
import { A as stripLeadingInboundMetadata, B as buildTargetResolverSignature, C as deriveInboundMessageHookContext, D as toPluginMessageContext, E as toInternalMessageTranscribedContext, F as isRenderablePayload, G as ensureOpenClawModelsJson, H as normalizeTargetForProvider, I as shouldSuppressMessagingToolReplies, K as resolveLedTeam, L as shouldSuppressReasoningPayload, M as applyReplyThreading, N as filterMessagingToolDuplicates, O as toPluginMessageReceivedEvent, P as filterMessagingToolMediaDuplicates, R as createReplyToModeFilterForChannel, S as transcriptEntriesToMessages, T as toInternalMessageReceivedContext, U as buildOutboundSessionContext, V as normalizeChannelTargetInput, W as resolveOutboundSessionId, _ as lookupContextTokens, b as sleepWithAbort, c as createMessageSentEmitter, d as capArrayByJsonBytes, f as jsonUtf8Bytes, g as extractToolCallNames, h as countToolResults, j as applyReplyTagsToPayload, k as fireAndForgetHook, l as stampReplyActivity, m as loadChannelOutboundAdapter, o as normalizeReplyPayloadsForDelivery, p as throwIfAborted$1, q as resolveTeamRoster, s as applyMessageSendingHook, t as deliverOutboundPayloads, u as loadCombinedSessionStoreForGateway, v as resolveContextTokensForModel, w as toInternalMessagePreprocessedContext, x as readFullTranscriptEntriesFromBackend, y as computeBackoff, z as resolveReplyToMode } from "./deliver-lAcWrtsj.js";
|
|
29
|
+
import { M as resolveExistingPathsWithinRoot, S as ensureChromeExtensionRelayServer, j as DEFAULT_UPLOAD_DIR, z as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-DnhfF77Z.js";
|
|
30
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, l as PATH_ALIAS_POLICIES, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-B9UKPVRL.js";
|
|
31
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-B9kcG28B.js";
|
|
32
32
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CGwuoZjW.js";
|
|
33
|
-
import { A as formatToolSummary, C as extractAssistantThinking, D as stripDowngradedToolCallText, E as isAssistantMessage, M as stripReasoningTagsFromText, O as stripMinimaxToolCallXml, S as extractAssistantText$1, T as inferToolMetaFromArgs, _ as createInlineCodeState, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as buildCodeSpanIndex, h as emitEmbeddedAgentEvent, i as endInFlightEmbeddedAttempt, j as resolveToolDisplay, k as stripThinkingTagsFromText, l as setActiveEmbeddedRun, m as endModelCall, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, w as formatReasoningMessage, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
34
|
-
import { C as getDefaultMediaLocalRoots, S as getAgentScopedMediaLocalRoots, _ as resolveChunkNewlinePacking, a as resolveMarkdownTableMode, b as fetchRemoteMedia, c as loadWebMediaRaw, d as chunkMarkdownText, f as chunkMarkdownTextWithMode, g as resolveChunkMode, h as resolveChunkDelivery, l as chunkByNewline, m as chunkTextWithMode, o as getDefaultLocalRoots, p as chunkText, s as loadWebMedia, v as resolveTextChunkLimit, x as readResponseWithLimit, y as MediaFetchError } from "./outbound-attachment-
|
|
35
|
-
import { a as bindAbortRelay, i as resolveProxyFetchFromEnv, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
36
|
-
import { i as executeWithApiKeyRotation, n as resolveMemorySearchConfig, r as collectProviderApiKeysForExecution } from "./manager-
|
|
37
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
38
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal, u as resolveFetch } from "./send-
|
|
39
|
-
import { a as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, c as normalizeIMessageHandle, i as createIMessageRpcClient, l as parseIMessageTarget, o as formatIMessageChatTarget, r as convertMarkdownTables, s as isAllowedIMessageSender, t as sendMessageIMessage } from "./send-
|
|
40
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
41
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
33
|
+
import { A as formatToolSummary, C as extractAssistantThinking, D as stripDowngradedToolCallText, E as isAssistantMessage, M as stripReasoningTagsFromText, O as stripMinimaxToolCallXml, S as extractAssistantText$1, T as inferToolMetaFromArgs, _ as createInlineCodeState, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as buildCodeSpanIndex, h as emitEmbeddedAgentEvent, i as endInFlightEmbeddedAttempt, j as resolveToolDisplay, k as stripThinkingTagsFromText, l as setActiveEmbeddedRun, m as endModelCall, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, w as formatReasoningMessage, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-CKVgIXbm.js";
|
|
34
|
+
import { C as getDefaultMediaLocalRoots, S as getAgentScopedMediaLocalRoots, _ as resolveChunkNewlinePacking, a as resolveMarkdownTableMode, b as fetchRemoteMedia, c as loadWebMediaRaw, d as chunkMarkdownText, f as chunkMarkdownTextWithMode, g as resolveChunkMode, h as resolveChunkDelivery, l as chunkByNewline, m as chunkTextWithMode, o as getDefaultLocalRoots, p as chunkText, s as loadWebMedia, v as resolveTextChunkLimit, x as readResponseWithLimit, y as MediaFetchError } from "./outbound-attachment-DwgRvpkl.js";
|
|
35
|
+
import { a as bindAbortRelay, i as resolveProxyFetchFromEnv, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DVq681NM.js";
|
|
36
|
+
import { i as executeWithApiKeyRotation, n as resolveMemorySearchConfig, r as collectProviderApiKeysForExecution } from "./manager-CIl1uCF4.js";
|
|
37
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-CisdKSzW.js";
|
|
38
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal, u as resolveFetch } from "./send-CpXb_hwQ.js";
|
|
39
|
+
import { a as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, c as normalizeIMessageHandle, i as createIMessageRpcClient, l as parseIMessageTarget, o as formatIMessageChatTarget, r as convertMarkdownTables, s as isAllowedIMessageSender, t as sendMessageIMessage } from "./send-Bn1WCNeb.js";
|
|
40
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-DJ7rNitK.js";
|
|
41
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-D25aU1jR.js";
|
|
42
42
|
import { createRequire } from "node:module";
|
|
43
43
|
import fs, { constants, existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
44
44
|
import os, { homedir } from "node:os";
|
|
45
45
|
import * as path$1 from "node:path";
|
|
46
46
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
47
|
-
import
|
|
47
|
+
import json5 from "json5";
|
|
48
48
|
import * as fs$2 from "node:fs/promises";
|
|
49
49
|
import fs$1, { open } from "node:fs/promises";
|
|
50
50
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
@@ -4756,7 +4756,7 @@ async function linkIdentity(params) {
|
|
|
4756
4756
|
const log$69 = createSubsystemLogger("model-catalog");
|
|
4757
4757
|
const modelCatalogPromiseState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.modelCatalogPromise"));
|
|
4758
4758
|
const hasLoggedModelCatalogErrorState = resolveProcessScopedMap(Symbol.for("openclaw.agents.model-catalog.hasLoggedModelCatalogError"));
|
|
4759
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
4759
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DnTVd1y8.js").then((n) => n.r);
|
|
4760
4760
|
let importPiSdk = defaultImportPiSdk;
|
|
4761
4761
|
function getModelCatalogPromise() {
|
|
4762
4762
|
return modelCatalogPromiseState.get("value") ?? null;
|
|
@@ -13190,7 +13190,7 @@ async function routeReply(params) {
|
|
|
13190
13190
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13191
13191
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13192
13192
|
try {
|
|
13193
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13193
|
+
const { deliverOutboundPayloads } = await import("./deliver-lAcWrtsj.js").then((n) => n.n);
|
|
13194
13194
|
const outboundSession = buildOutboundSessionContext({
|
|
13195
13195
|
cfg,
|
|
13196
13196
|
agentId: resolvedAgentId,
|
|
@@ -14524,7 +14524,7 @@ function normalizeSessionKey(value) {
|
|
|
14524
14524
|
function readSessionStore(storePath) {
|
|
14525
14525
|
try {
|
|
14526
14526
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
14527
|
-
const parsed =
|
|
14527
|
+
const parsed = json5.parse(raw);
|
|
14528
14528
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
14529
14529
|
} catch {}
|
|
14530
14530
|
return {};
|
|
@@ -18065,7 +18065,7 @@ async function sendTranscriptEcho(params) {
|
|
|
18065
18065
|
}
|
|
18066
18066
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
18067
18067
|
try {
|
|
18068
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
18068
|
+
const { deliverOutboundPayloads } = await import("./deliver-lAcWrtsj.js").then((n) => n.n);
|
|
18069
18069
|
await deliverOutboundPayloads({
|
|
18070
18070
|
cfg,
|
|
18071
18071
|
channel: normalizedChannel,
|
|
@@ -37079,7 +37079,7 @@ async function createModelSelectionState(params) {
|
|
|
37079
37079
|
}
|
|
37080
37080
|
}
|
|
37081
37081
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
37082
|
-
const { ensureAuthProfileStore } = await import("./group-
|
|
37082
|
+
const { ensureAuthProfileStore } = await import("./group-Dvl8dfJ2.js").then((n) => n.nr);
|
|
37083
37083
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
37084
37084
|
const providerKey = normalizeProviderId(provider);
|
|
37085
37085
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -55259,7 +55259,7 @@ async function loadCronStore(storePath) {
|
|
|
55259
55259
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
55260
55260
|
let parsed;
|
|
55261
55261
|
try {
|
|
55262
|
-
parsed =
|
|
55262
|
+
parsed = json5.parse(raw);
|
|
55263
55263
|
} catch (err) {
|
|
55264
55264
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
55265
55265
|
}
|
|
@@ -56886,7 +56886,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
56886
56886
|
return;
|
|
56887
56887
|
}
|
|
56888
56888
|
try {
|
|
56889
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
56889
|
+
const { deliverOutboundPayloads } = await import("./deliver-lAcWrtsj.js").then((n) => n.n);
|
|
56890
56890
|
const outboundSession = buildOutboundSessionContext({
|
|
56891
56891
|
cfg: params.cfg,
|
|
56892
56892
|
sessionKey: params.sessionKey
|
|
@@ -65960,7 +65960,7 @@ function createRuntimeChannel() {
|
|
|
65960
65960
|
reply: {
|
|
65961
65961
|
dispatchReplyWithBufferedBlockDispatcher,
|
|
65962
65962
|
dispatchInboundMessage,
|
|
65963
|
-
agentCommandFromIngress: async (...args) => (await import("./agent-
|
|
65963
|
+
agentCommandFromIngress: async (...args) => (await import("./agent-B9sehkTT.js")).agentCommandFromIngress(...args),
|
|
65964
65964
|
dispatchReplyWithDispatcher,
|
|
65965
65965
|
createReplyDispatcherWithTyping,
|
|
65966
65966
|
resolveEffectiveMessagesConfig,
|
|
@@ -66389,7 +66389,7 @@ async function getMemorySearchManager(params) {
|
|
|
66389
66389
|
if (cached) return { manager: cached };
|
|
66390
66390
|
}
|
|
66391
66391
|
try {
|
|
66392
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
66392
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DFBcLXne.js");
|
|
66393
66393
|
const primary = await QmdMemoryManager.create({
|
|
66394
66394
|
cfg: params.cfg,
|
|
66395
66395
|
agentId: params.agentId,
|
|
@@ -66401,7 +66401,7 @@ async function getMemorySearchManager(params) {
|
|
|
66401
66401
|
const wrapper = new FallbackMemoryManager({
|
|
66402
66402
|
primary,
|
|
66403
66403
|
fallbackFactory: async () => {
|
|
66404
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
66404
|
+
const { MemoryIndexManager } = await import("./manager-CIl1uCF4.js").then((n) => n.t);
|
|
66405
66405
|
return await MemoryIndexManager.get(params);
|
|
66406
66406
|
}
|
|
66407
66407
|
}, () => {
|
|
@@ -66416,7 +66416,7 @@ async function getMemorySearchManager(params) {
|
|
|
66416
66416
|
}
|
|
66417
66417
|
}
|
|
66418
66418
|
try {
|
|
66419
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
66419
|
+
const { MemoryIndexManager } = await import("./manager-CIl1uCF4.js").then((n) => n.t);
|
|
66420
66420
|
return { manager: await MemoryIndexManager.get(params) };
|
|
66421
66421
|
} catch (err) {
|
|
66422
66422
|
return {
|
|
@@ -74055,7 +74055,7 @@ function createPluginRuntime(options = {}) {
|
|
|
74055
74055
|
workStates: readTaskWorkStates
|
|
74056
74056
|
},
|
|
74057
74057
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
74058
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
74058
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-CisdKSzW.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
74059
74059
|
};
|
|
74060
74060
|
Object.defineProperty(runtime, "analysis", {
|
|
74061
74061
|
enumerable: true,
|
|
@@ -75588,7 +75588,7 @@ async function recordLoopOutcome(args) {
|
|
|
75588
75588
|
if (!args.ctx?.sessionKey) return;
|
|
75589
75589
|
try {
|
|
75590
75590
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DEJtdORi.js").then((n) => n.n);
|
|
75591
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
75591
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-BMpeJ2DE.js");
|
|
75592
75592
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
75593
75593
|
sessionKey: args.ctx.sessionKey,
|
|
75594
75594
|
sessionId: args.ctx?.agentId
|
|
@@ -75615,8 +75615,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
75615
75615
|
const params = args.params;
|
|
75616
75616
|
if (args.ctx?.sessionKey) {
|
|
75617
75617
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DEJtdORi.js").then((n) => n.n);
|
|
75618
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
75619
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
75618
|
+
const { logToolLoopAction } = await import("./diagnostic-Dlx1Uind.js").then((n) => n.n);
|
|
75619
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BMpeJ2DE.js");
|
|
75620
75620
|
const sessionState = getDiagnosticSessionState({
|
|
75621
75621
|
sessionKey: args.ctx.sessionKey,
|
|
75622
75622
|
sessionId: args.ctx?.agentId
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { si as createWork } from "./model-selection-
|
|
2
|
+
import { si as createWork } from "./model-selection-BkyEkRcd.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { t as redactIdentifier } from "./redact-identifier-DLySVyKh.js";
|
|
5
5
|
import { t as CommandLane } from "./lanes-DWpYhh13.js";
|
|
@@ -187,7 +187,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
189
|
async function defaultExecute(claim) {
|
|
190
|
-
const { runMainAgentTurn } = await import("./pi-embedded-
|
|
190
|
+
const { runMainAgentTurn } = await import("./pi-embedded-BUj1tpxL.js").then((n) => n.a);
|
|
191
191
|
return runMainAgentTurn(claim.message.payload);
|
|
192
192
|
}
|
|
193
193
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -199,7 +199,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
199
199
|
startedAt: opts?.startedAt ?? Date.now()
|
|
200
200
|
};
|
|
201
201
|
waiters.set(sessionKey, handle);
|
|
202
|
-
const { getQueueSize } = await import("./command-queue-
|
|
202
|
+
const { getQueueSize } = await import("./command-queue-CYUdNrXN.js").then((n) => n.r);
|
|
203
203
|
if (handle.cancelled || closing) return;
|
|
204
204
|
const release = (force = false) => {
|
|
205
205
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -221,7 +221,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
221
221
|
}
|
|
222
222
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
223
223
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
224
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
224
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-CYUdNrXN.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
225
225
|
const policy = payload.busy ?? "skip";
|
|
226
226
|
const id = agentTurnIdempotencyKey(payload);
|
|
227
227
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -284,7 +284,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
if (payload.kind === "announce" && outcome.ok && outcome.delivery?.reason === WORKSPACE_LANE_DENIED_REASON) {
|
|
287
|
-
const { markSubagentAnnounceDenied } = await import("./pi-embedded-
|
|
287
|
+
const { markSubagentAnnounceDenied } = await import("./pi-embedded-BUj1tpxL.js").then((n) => n.i);
|
|
288
288
|
await markSubagentAnnounceDenied(payload.runId, payload.mergedRunIds);
|
|
289
289
|
}
|
|
290
290
|
releaseSucceeded = outcome.ok;
|