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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Co as normalizeOptionalAccountId, Dn as updateSessionStoreEntry, H as loadConfig, Ln as getConfiguredSessionStorageRuntime, Mo as parseAgentSessionKey, Nn as loadSessionStore, Oa as resolveDefaultAgentId, Rn as listConfiguredSessionStorageAgentIds, Sa as listAgentEntries, So as normalizeAccountId, Xn as resolveStorePath, Yt as getActivePluginRegistry, Zt as getActivePluginRegistryVersion, _ as resolveImplicitBedrockProvider, _n as triggerInternalHook, ba as isAgentUserFacing, bn as getConversationReadQuery, do as normalizeAgentId, fo as normalizeMainKey, fr as getChannelPlugin, g as normalizeProviders, gn as createInternalHookEvent, ja as resolveSessionAgentId, lr as getChannelDock, mr as normalizeChannelId, ra as resolveOpenClawAgentDir, v as resolveImplicitCopilotProvider, vn as StorageReadAccessError, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { Co as normalizeOptionalAccountId, Dn as updateSessionStoreEntry, H as loadConfig, Ln as getConfiguredSessionStorageRuntime, Mo as parseAgentSessionKey, Nn as loadSessionStore, Oa as resolveDefaultAgentId, Rn as listConfiguredSessionStorageAgentIds, Sa as listAgentEntries, So as normalizeAccountId, Xn as resolveStorePath, Yt as getActivePluginRegistry, Zt as getActivePluginRegistryVersion, _ as resolveImplicitBedrockProvider, _n as triggerInternalHook, ba as isAgentUserFacing, bn as getConversationReadQuery, do as normalizeAgentId, fo as normalizeMainKey, fr as getChannelPlugin, g as normalizeProviders, gn as createInternalHookEvent, ja as resolveSessionAgentId, lr as getChannelDock, mr as normalizeChannelId, ra as resolveOpenClawAgentDir, v as resolveImplicitCopilotProvider, vn as StorageReadAccessError, y as resolveImplicitProviders } from "./model-selection-BkyEkRcd.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
4
|
import { G as applyConfigEnvVars, f as logVerbose, rt as isRecord, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
-
import { _ as isMessagingToolDuplicate, r as extractTextFromChatContent, t as parseReplyDirectives } from "./reply-directives-
|
|
6
|
-
import { Bt as getGlobalHookRunner, F as canonicalizeMainSessionAlias, Jt as buildPluginRuntimeIdentity, R as resolveMainSessionKey, Yt as buildPluginTurnIdentity, a as resolveMirroredTranscriptText, ft as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-
|
|
5
|
+
import { _ as isMessagingToolDuplicate, r as extractTextFromChatContent, t as parseReplyDirectives } from "./reply-directives-CzQd7ai4.js";
|
|
6
|
+
import { Bt as getGlobalHookRunner, F as canonicalizeMainSessionAlias, Jt as buildPluginRuntimeIdentity, R as resolveMainSessionKey, Yt as buildPluginTurnIdentity, a as resolveMirroredTranscriptText, ft as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-C98njXHy.js";
|
|
7
7
|
import { n as generateSecureUuid } from "./secure-random-gljjQeWv.js";
|
|
8
8
|
import { i as hasErrnoCode } from "./errors-yyPKpoXR.js";
|
|
9
|
-
import { S as getAgentScopedMediaLocalRoots, a as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkDelivery, u as chunkByParagraph, v as resolveTextChunkLimit } from "./outbound-attachment-
|
|
10
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { S as getAgentScopedMediaLocalRoots, a as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkDelivery, u as chunkByParagraph, v as resolveTextChunkLimit } from "./outbound-attachment-C3f9uSt-.js";
|
|
10
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Bb4J4QPH.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import syncFs from "node:fs";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
@@ -669,7 +669,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
669
669
|
await ensureOpenClawModelsJson(cfg);
|
|
670
670
|
} catch {}
|
|
671
671
|
try {
|
|
672
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
672
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-MJKT8QcH.js").then((n) => n.r);
|
|
673
673
|
const agentDir = resolveOpenClawAgentDir();
|
|
674
674
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
675
675
|
applyDiscoveredContextWindows({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $i as resolveSessionAgentId, Bn as resolveImplicitCopilotProvider, Ct as resolveStorePath, Di as resolveOpenClawAgentDir, E as getActivePluginRegistryVersion, Eo as parseAgentSessionKey, Ft as getChannelPlugin, G as createInternalHookEvent, Hi as isAgentUserFacing, K as triggerInternalHook, Lt as normalizeChannelId, Mt as getChannelDock, Rn as normalizeProviders, Vn as resolveImplicitProviders, Wi as listAgentEntries, Xi as resolveDefaultAgentId, Y as getConversationReadQuery, _o as normalizeOptionalAccountId, ao as normalizeAgentId, dt as listConfiguredSessionStorageAgentIds, go as normalizeAccountId, in as loadConfig, oo as normalizeMainKey, q as StorageReadAccessError, st as loadSessionStore, tt as updateSessionStoreEntry, ut as getConfiguredSessionStorageRuntime, w as getActivePluginRegistry, zn as resolveImplicitBedrockProvider } from "./group-
|
|
2
|
+
import { $i as resolveSessionAgentId, Bn as resolveImplicitCopilotProvider, Ct as resolveStorePath, Di as resolveOpenClawAgentDir, E as getActivePluginRegistryVersion, Eo as parseAgentSessionKey, Ft as getChannelPlugin, G as createInternalHookEvent, Hi as isAgentUserFacing, K as triggerInternalHook, Lt as normalizeChannelId, Mt as getChannelDock, Rn as normalizeProviders, Vn as resolveImplicitProviders, Wi as listAgentEntries, Xi as resolveDefaultAgentId, Y as getConversationReadQuery, _o as normalizeOptionalAccountId, ao as normalizeAgentId, dt as listConfiguredSessionStorageAgentIds, go as normalizeAccountId, in as loadConfig, oo as normalizeMainKey, q as StorageReadAccessError, st as loadSessionStore, tt as updateSessionStoreEntry, ut as getConfiguredSessionStorageRuntime, w as getActivePluginRegistry, zn as resolveImplicitBedrockProvider } from "./group-Dvl8dfJ2.js";
|
|
3
3
|
import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
4
|
-
import { g as isRecord, k as logVerbose, lt as applyConfigEnvVars, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { E as getGlobalHookRunner, I as eventOrder, Kt as canonicalizeMainSessionAlias, M as buildPluginTurnIdentity, Q as parseInlineDirectives, Yt as resolveMainSessionKey, d as resolveMirroredTranscriptText, j as buildPluginRuntimeIdentity, u as appendAssistantMessageToSessionTranscript } from "./credentials-
|
|
6
|
-
import { i as hasErrnoCode } from "./errors-
|
|
7
|
-
import { _ as isMessagingToolDuplicate, r as extractTextFromChatContent, t as parseReplyDirectives } from "./reply-directives-
|
|
4
|
+
import { g as isRecord, k as logVerbose, lt as applyConfigEnvVars, t as createSubsystemLogger } from "./subsystem-BntNuBAj.js";
|
|
5
|
+
import { E as getGlobalHookRunner, I as eventOrder, Kt as canonicalizeMainSessionAlias, M as buildPluginTurnIdentity, Q as parseInlineDirectives, Yt as resolveMainSessionKey, d as resolveMirroredTranscriptText, j as buildPluginRuntimeIdentity, u as appendAssistantMessageToSessionTranscript } from "./credentials-By3Y4AcL.js";
|
|
6
|
+
import { i as hasErrnoCode } from "./errors-7NHaEHOi.js";
|
|
7
|
+
import { _ as isMessagingToolDuplicate, r as extractTextFromChatContent, t as parseReplyDirectives } from "./reply-directives-BZPLXOax.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-CFRVlPvh.js";
|
|
9
|
-
import { S as getAgentScopedMediaLocalRoots, a as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkDelivery, u as chunkByParagraph, v as resolveTextChunkLimit } from "./outbound-attachment-
|
|
10
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { S as getAgentScopedMediaLocalRoots, a as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkDelivery, u as chunkByParagraph, v as resolveTextChunkLimit } from "./outbound-attachment-DwgRvpkl.js";
|
|
10
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CpXb_hwQ.js";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs$1 from "node:fs/promises";
|
|
@@ -913,7 +913,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
913
913
|
await ensureOpenClawModelsJson(cfg);
|
|
914
914
|
} catch {}
|
|
915
915
|
try {
|
|
916
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
916
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DnTVd1y8.js").then((n) => n.r);
|
|
917
917
|
const agentDir = resolveOpenClawAgentDir();
|
|
918
918
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
919
919
|
applyDiscoveredContextWindows({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-cFv2jJm-.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { G as resolveAgentIdFromSessionKey } from "./legacy-names-
|
|
4
|
+
import { G as resolveAgentIdFromSessionKey } from "./legacy-names-chsmo2vs.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-RfJYFlJM.js";
|
|
6
6
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Di8oqY0E.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-bNChjxxW.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-LOuk7TRy.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/command-poll-backoff.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { co as resolveAgentIdFromSessionKey } from "./group-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { co as resolveAgentIdFromSessionKey } from "./group-Dvl8dfJ2.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BntNuBAj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DqojT7DQ.js";
|
|
6
|
-
import { t as redactSensitiveText } from "./redact-
|
|
6
|
+
import { t as redactSensitiveText } from "./redact-BvO7EAk7.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-Am95JIl0.js";
|
|
8
8
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DEJtdORi.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mo as resolveAgentIdFromSessionKey } from "./model-selection-
|
|
2
|
+
import { mo as resolveAgentIdFromSessionKey } from "./model-selection-BkyEkRcd.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-q1w77c25.js";
|
package/dist/extensionAPI.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Da as resolveAgentWorkspaceDir, Kn as resolveSessionFilePath, Nn as loadSessionStore, Ta as resolveAgentDir, Va as ensureAgentWorkspace, Xn as resolveStorePath, _a as DEFAULT_PROVIDER, ga as DEFAULT_MODEL, h as resolveThinkingDefault, wn as saveSessionStore } from "./model-selection-
|
|
1
|
+
import { Da as resolveAgentWorkspaceDir, Kn as resolveSessionFilePath, Nn as loadSessionStore, Ta as resolveAgentDir, Va as ensureAgentWorkspace, Xn as resolveStorePath, _a as DEFAULT_PROVIDER, ga as DEFAULT_MODEL, h as resolveThinkingDefault, wn as saveSessionStore } from "./model-selection-BkyEkRcd.js";
|
|
2
2
|
import "./paths-B_gs59ga.js";
|
|
3
3
|
import "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { N as resolveAgentIdentity, t as runEmbeddedPiAgent, w as resolveAgentTimeoutMs } from "./pi-embedded-
|
|
4
|
+
import { N as resolveAgentIdentity, t as runEmbeddedPiAgent, w as resolveAgentTimeoutMs } from "./pi-embedded-BUj1tpxL.js";
|
|
5
5
|
import "./github-copilot-token-C-29TbW-.js";
|
|
6
|
-
import "./reply-directives-
|
|
6
|
+
import "./reply-directives-CzQd7ai4.js";
|
|
7
7
|
import "./diagnostic-events-q1w77c25.js";
|
|
8
|
-
import "./sessions-
|
|
9
|
-
import "./diagnostic-
|
|
8
|
+
import "./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 "./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 "./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 "./runs-
|
|
23
|
-
import "./outbound-attachment-
|
|
24
|
-
import "./fetch-guard-
|
|
25
|
-
import "./manager-
|
|
26
|
-
import "./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 "./runs-CX5t6UjO.js";
|
|
23
|
+
import "./outbound-attachment-C3f9uSt-.js";
|
|
24
|
+
import "./fetch-guard-C1e2uLCm.js";
|
|
25
|
+
import "./manager-Edt-T8Bi.js";
|
|
26
|
+
import "./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
|
|
|
33
33
|
export { DEFAULT_MODEL, DEFAULT_PROVIDER, ensureAgentWorkspace, loadSessionStore, resolveAgentDir, resolveAgentIdentity, resolveAgentTimeoutMs, resolveAgentWorkspaceDir, resolveSessionFilePath, resolveStorePath, resolveThinkingDefault, runEmbeddedPiAgent, saveSessionStore };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ao as runExec } from "./group-
|
|
2
|
-
import { y as resolveConfigDir } from "./subsystem-
|
|
1
|
+
import { Ao as runExec } from "./group-Dvl8dfJ2.js";
|
|
2
|
+
import { y as resolveConfigDir } from "./subsystem-BntNuBAj.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ot as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { w as runExec } from "./legacy-names-
|
|
1
|
+
import { ot as resolveConfigDir } from "./subsystem-cFv2jJm-.js";
|
|
2
|
+
import { w as runExec } from "./legacy-names-chsmo2vs.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
|
-
import fs
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { fileTypeFromBuffer } from "file-type";
|
|
8
8
|
import { pipeline } from "node:stream/promises";
|
|
@@ -160,7 +160,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
160
160
|
async function setMediaFileMode(filePath) {
|
|
161
161
|
if (process.platform === "win32") return;
|
|
162
162
|
try {
|
|
163
|
-
await fs
|
|
163
|
+
await fs.chmod(filePath, MEDIA_FILE_MODE);
|
|
164
164
|
} catch (err) {
|
|
165
165
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
166
166
|
if ([
|
|
@@ -187,7 +187,7 @@ function getMediaDir() {
|
|
|
187
187
|
}
|
|
188
188
|
async function ensureMediaDir() {
|
|
189
189
|
const mediaDir = resolveMediaDir();
|
|
190
|
-
await fs
|
|
190
|
+
await fs.mkdir(mediaDir, {
|
|
191
191
|
recursive: true,
|
|
192
192
|
mode: 448
|
|
193
193
|
});
|
|
@@ -196,7 +196,7 @@ async function ensureMediaDir() {
|
|
|
196
196
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
197
197
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
198
198
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
199
|
-
await fs
|
|
199
|
+
await fs.mkdir(dir, {
|
|
200
200
|
recursive: true,
|
|
201
201
|
mode: 448
|
|
202
202
|
});
|
|
@@ -216,7 +216,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
216
216
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
217
217
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
218
218
|
const dest = path.join(dir, id);
|
|
219
|
-
await fs
|
|
219
|
+
await fs.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
220
220
|
await setMediaFileMode(dest);
|
|
221
221
|
return {
|
|
222
222
|
id,
|
|
@@ -312,11 +312,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
312
312
|
return null;
|
|
313
313
|
}
|
|
314
314
|
async function withTempDir(fn) {
|
|
315
|
-
const dir = await fs
|
|
315
|
+
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
316
316
|
try {
|
|
317
317
|
return await fn(dir);
|
|
318
318
|
} finally {
|
|
319
|
-
await fs
|
|
319
|
+
await fs.rm(dir, {
|
|
320
320
|
recursive: true,
|
|
321
321
|
force: true
|
|
322
322
|
}).catch(() => {});
|
|
@@ -325,7 +325,7 @@ async function withTempDir(fn) {
|
|
|
325
325
|
async function sipsMetadataFromBuffer(buffer) {
|
|
326
326
|
return await withTempDir(async (dir) => {
|
|
327
327
|
const input = path.join(dir, "in.img");
|
|
328
|
-
await fs
|
|
328
|
+
await fs.writeFile(input, buffer);
|
|
329
329
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
330
330
|
"-g",
|
|
331
331
|
"pixelWidth",
|
|
@@ -353,7 +353,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
353
353
|
return await withTempDir(async (dir) => {
|
|
354
354
|
const input = path.join(dir, "in.img");
|
|
355
355
|
const output = path.join(dir, "out.jpg");
|
|
356
|
-
await fs
|
|
356
|
+
await fs.writeFile(input, params.buffer);
|
|
357
357
|
await runExec("/usr/bin/sips", [
|
|
358
358
|
"-Z",
|
|
359
359
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -370,14 +370,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
370
370
|
timeoutMs: 2e4,
|
|
371
371
|
maxBuffer: 1024 * 1024
|
|
372
372
|
});
|
|
373
|
-
return await fs
|
|
373
|
+
return await fs.readFile(output);
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
376
|
async function sipsConvertToJpeg(buffer) {
|
|
377
377
|
return await withTempDir(async (dir) => {
|
|
378
378
|
const input = path.join(dir, "in.heic");
|
|
379
379
|
const output = path.join(dir, "out.jpg");
|
|
380
|
-
await fs
|
|
380
|
+
await fs.writeFile(input, buffer);
|
|
381
381
|
await runExec("/usr/bin/sips", [
|
|
382
382
|
"-s",
|
|
383
383
|
"format",
|
|
@@ -389,7 +389,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
389
389
|
timeoutMs: 2e4,
|
|
390
390
|
maxBuffer: 1024 * 1024
|
|
391
391
|
});
|
|
392
|
-
return await fs
|
|
392
|
+
return await fs.readFile(output);
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
395
|
async function getImageMetadata(buffer) {
|
|
@@ -440,7 +440,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
440
440
|
return await withTempDir(async (dir) => {
|
|
441
441
|
const input = path.join(dir, "in.jpg");
|
|
442
442
|
const output = path.join(dir, "out.jpg");
|
|
443
|
-
await fs
|
|
443
|
+
await fs.writeFile(input, buffer);
|
|
444
444
|
await runExec("/usr/bin/sips", [
|
|
445
445
|
...ops,
|
|
446
446
|
input,
|
|
@@ -450,7 +450,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
450
450
|
timeoutMs: 2e4,
|
|
451
451
|
maxBuffer: 1024 * 1024
|
|
452
452
|
});
|
|
453
|
-
return await fs
|
|
453
|
+
return await fs.readFile(output);
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
async function resizeToJpeg(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Qa as logWarn, Za as logInfo } from "./model-selection-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { Qa as logWarn, Za as logInfo } from "./model-selection-BkyEkRcd.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-DQFy-pBt.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fo as logWarn, Po as logInfo } from "./group-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { Fo as logWarn, Po as logInfo } from "./group-Dvl8dfJ2.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-B9kcG28B.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as logInfo, k as logWarn } from "./legacy-names-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { O as logInfo, k as logWarn } from "./legacy-names-chsmo2vs.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-Catj9Viz.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-
|
|
1
|
+
import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-chsmo2vs.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import syncFs from "node:fs";
|
|
4
|
+
import json5 from "json5";
|
|
5
5
|
import YAML from "yaml";
|
|
6
6
|
|
|
7
7
|
//#region src/shared/config-eval.ts
|
|
@@ -92,7 +92,7 @@ function hasBinary(bin) {
|
|
|
92
92
|
for (const part of parts) for (const ext of extensions) {
|
|
93
93
|
const candidate = path.join(part, bin + ext);
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
96
96
|
hasBinaryCache.set(bin, true);
|
|
97
97
|
return true;
|
|
98
98
|
} catch {}
|
|
@@ -258,7 +258,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
258
258
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
259
259
|
if (!raw) return;
|
|
260
260
|
try {
|
|
261
|
-
const parsed =
|
|
261
|
+
const parsed = json5.parse(raw);
|
|
262
262
|
if (!parsed || typeof parsed !== "object") return;
|
|
263
263
|
return readManifestNamespace(parsed);
|
|
264
264
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fo as logWarn } from "./group-
|
|
1
|
+
import { Fo as logWarn } from "./group-Dvl8dfJ2.js";
|
|
2
2
|
import { d as expandHomePrefix } from "./paths-2qlGWRjc.js";
|
|
3
|
-
import { at as isNotFoundPathError, et as sameFileIdentity, it as hasNodeErrorCode, nt as resolveBoundaryPath, ot as isPathInside, st as isSymlinkOpenError, tt as BOUNDARY_PATH_ALIAS_POLICIES } from "./subsystem-
|
|
3
|
+
import { at as isNotFoundPathError, et as sameFileIdentity, it as hasNodeErrorCode, nt as resolveBoundaryPath, ot as isPathInside, st as isSymlinkOpenError, tt as BOUNDARY_PATH_ALIAS_POLICIES } from "./subsystem-BntNuBAj.js";
|
|
4
4
|
import { constants } from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qa as logWarn } from "./model-selection-
|
|
1
|
+
import { Qa as logWarn } from "./model-selection-BkyEkRcd.js";
|
|
2
2
|
import { u as expandHomePrefix } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, L as BOUNDARY_PATH_ALIAS_POLICIES, R as resolveBoundaryPath, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as expandHomePrefix } from "./paths-
|
|
2
|
-
import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, L as BOUNDARY_PATH_ALIAS_POLICIES, R as resolveBoundaryPath, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-
|
|
3
|
-
import { k as logWarn } from "./legacy-names-
|
|
1
|
+
import { u as expandHomePrefix } from "./paths-B_gs59ga.js";
|
|
2
|
+
import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, L as BOUNDARY_PATH_ALIAS_POLICIES, R as resolveBoundaryPath, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-cFv2jJm-.js";
|
|
3
|
+
import { k as logWarn } from "./legacy-names-chsmo2vs.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { constants } from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import fs
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { pipeline } from "node:stream/promises";
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ async function assertNoHardlinkedFinalPath(params) {
|
|
|
13
13
|
if (params.allowFinalHardlinkForUnlink) return;
|
|
14
14
|
let stat;
|
|
15
15
|
try {
|
|
16
|
-
stat = await fs
|
|
16
|
+
stat = await fs.stat(params.filePath);
|
|
17
17
|
} catch (err) {
|
|
18
18
|
if (isNotFoundPathError(err)) return;
|
|
19
19
|
throw err;
|
|
@@ -62,19 +62,19 @@ const ensureTrailingSep = (value) => value.endsWith(path.sep) ? value : value +
|
|
|
62
62
|
async function expandRelativePathWithHome(relativePath) {
|
|
63
63
|
let home = process.env.HOME || process.env.USERPROFILE || os.homedir();
|
|
64
64
|
try {
|
|
65
|
-
home = await fs
|
|
65
|
+
home = await fs.realpath(home);
|
|
66
66
|
} catch {}
|
|
67
67
|
return expandHomePrefix(relativePath, { home });
|
|
68
68
|
}
|
|
69
69
|
async function openVerifiedLocalFile(filePath, options) {
|
|
70
70
|
try {
|
|
71
|
-
if ((await fs
|
|
71
|
+
if ((await fs.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
|
|
72
72
|
} catch (err) {
|
|
73
73
|
if (err instanceof SafeOpenError) throw err;
|
|
74
74
|
}
|
|
75
75
|
let handle;
|
|
76
76
|
try {
|
|
77
|
-
handle = await fs
|
|
77
|
+
handle = await fs.open(filePath, OPEN_READ_FLAGS);
|
|
78
78
|
} catch (err) {
|
|
79
79
|
if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "file not found");
|
|
80
80
|
if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
|
|
@@ -82,13 +82,13 @@ async function openVerifiedLocalFile(filePath, options) {
|
|
|
82
82
|
throw err;
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const [stat, lstat] = await Promise.all([handle.stat(), fs
|
|
85
|
+
const [stat, lstat] = await Promise.all([handle.stat(), fs.lstat(filePath)]);
|
|
86
86
|
if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
|
|
87
87
|
if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
|
|
88
88
|
if (options?.rejectHardlinks && stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
89
89
|
if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during read");
|
|
90
|
-
const realPath = await fs
|
|
91
|
-
const realStat = await fs
|
|
90
|
+
const realPath = await fs.realpath(filePath);
|
|
91
|
+
const realStat = await fs.stat(realPath);
|
|
92
92
|
if (options?.rejectHardlinks && realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
93
93
|
if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
94
94
|
return {
|
|
@@ -106,7 +106,7 @@ async function openVerifiedLocalFile(filePath, options) {
|
|
|
106
106
|
async function resolvePathWithinRoot(params) {
|
|
107
107
|
let rootReal;
|
|
108
108
|
try {
|
|
109
|
-
rootReal = await fs
|
|
109
|
+
rootReal = await fs.realpath(params.rootDir);
|
|
110
110
|
} catch (err) {
|
|
111
111
|
if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "root dir not found");
|
|
112
112
|
throw err;
|
|
@@ -207,7 +207,7 @@ function buildAtomicWriteTempPath(targetPath) {
|
|
|
207
207
|
return path.join(dir, `.${base}.${process.pid}.${randomUUID()}.tmp`);
|
|
208
208
|
}
|
|
209
209
|
async function writeTempFileForAtomicReplace(params) {
|
|
210
|
-
const tempHandle = await fs
|
|
210
|
+
const tempHandle = await fs.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
|
|
211
211
|
try {
|
|
212
212
|
if (typeof params.data === "string") await tempHandle.writeFile(params.data, params.encoding ?? "utf8");
|
|
213
213
|
else await tempHandle.writeFile(params.data);
|
|
@@ -217,7 +217,7 @@ async function writeTempFileForAtomicReplace(params) {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
async function verifyAtomicWriteResult(params) {
|
|
220
|
-
const rootWithSep = ensureTrailingSep(await fs
|
|
220
|
+
const rootWithSep = ensureTrailingSep(await fs.realpath(params.rootDir));
|
|
221
221
|
const opened = await openVerifiedLocalFile(params.targetPath, { rejectHardlinks: true });
|
|
222
222
|
try {
|
|
223
223
|
if (!sameFileIdentity(opened.stat, params.expectedStat)) throw new SafeOpenError("path-mismatch", "path changed during write");
|
|
@@ -228,13 +228,13 @@ async function verifyAtomicWriteResult(params) {
|
|
|
228
228
|
}
|
|
229
229
|
async function resolveOpenedFileRealPathForHandle(handle, ioPath) {
|
|
230
230
|
try {
|
|
231
|
-
return await fs
|
|
231
|
+
return await fs.realpath(ioPath);
|
|
232
232
|
} catch (err) {
|
|
233
233
|
if (!isNotFoundPathError(err)) throw err;
|
|
234
234
|
}
|
|
235
235
|
const fdCandidates = process.platform === "linux" ? [`/proc/self/fd/${handle.fd}`, `/dev/fd/${handle.fd}`] : process.platform === "win32" ? [] : [`/dev/fd/${handle.fd}`];
|
|
236
236
|
for (const fdPath of fdCandidates) try {
|
|
237
|
-
return await fs
|
|
237
|
+
return await fs.realpath(fdPath);
|
|
238
238
|
} catch {}
|
|
239
239
|
throw new SafeOpenError("path-mismatch", "unable to resolve opened file path");
|
|
240
240
|
}
|
|
@@ -249,10 +249,10 @@ async function openWritableFileWithinRoot(params) {
|
|
|
249
249
|
} catch (err) {
|
|
250
250
|
throw new SafeOpenError("invalid-path", "path alias escape blocked", { cause: err });
|
|
251
251
|
}
|
|
252
|
-
if (params.mkdir !== false) await fs
|
|
252
|
+
if (params.mkdir !== false) await fs.mkdir(path.dirname(resolved), { recursive: true });
|
|
253
253
|
let ioPath = resolved;
|
|
254
254
|
try {
|
|
255
|
-
const resolvedRealPath = await fs
|
|
255
|
+
const resolvedRealPath = await fs.realpath(resolved);
|
|
256
256
|
if (!isPathInside(rootWithSep, resolvedRealPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
|
|
257
257
|
ioPath = resolvedRealPath;
|
|
258
258
|
} catch (err) {
|
|
@@ -264,10 +264,10 @@ async function openWritableFileWithinRoot(params) {
|
|
|
264
264
|
let createdForWrite = false;
|
|
265
265
|
try {
|
|
266
266
|
try {
|
|
267
|
-
handle = await fs
|
|
267
|
+
handle = await fs.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
|
|
268
268
|
} catch (err) {
|
|
269
269
|
if (!isNotFoundPathError(err)) throw err;
|
|
270
|
-
handle = await fs
|
|
270
|
+
handle = await fs.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
|
|
271
271
|
createdForWrite = true;
|
|
272
272
|
}
|
|
273
273
|
} catch (err) {
|
|
@@ -281,7 +281,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
281
281
|
if (!stat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
|
|
282
282
|
if (stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
283
283
|
try {
|
|
284
|
-
const lstat = await fs
|
|
284
|
+
const lstat = await fs.lstat(ioPath);
|
|
285
285
|
if (lstat.isSymbolicLink() || !lstat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
|
|
286
286
|
if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during write");
|
|
287
287
|
} catch (err) {
|
|
@@ -289,7 +289,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
289
289
|
}
|
|
290
290
|
const realPath = await resolveOpenedFileRealPathForHandle(handle, ioPath);
|
|
291
291
|
openedRealPath = realPath;
|
|
292
|
-
const realStat = await fs
|
|
292
|
+
const realStat = await fs.stat(realPath);
|
|
293
293
|
if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
294
294
|
if (realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
295
295
|
if (!isPathInside(rootWithSep, realPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
|
|
@@ -304,7 +304,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
304
304
|
const cleanupCreatedPath = createdForWrite && err instanceof SafeOpenError;
|
|
305
305
|
const cleanupPath = openedRealPath ?? ioPath;
|
|
306
306
|
await handle.close().catch(() => {});
|
|
307
|
-
if (cleanupCreatedPath) await fs
|
|
307
|
+
if (cleanupCreatedPath) await fs.rm(cleanupPath, { force: true }).catch(() => {});
|
|
308
308
|
throw err;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
@@ -327,7 +327,7 @@ async function writeFileWithinRoot(params) {
|
|
|
327
327
|
encoding: params.encoding,
|
|
328
328
|
mode: targetMode || 384
|
|
329
329
|
});
|
|
330
|
-
await fs
|
|
330
|
+
await fs.rename(tempPath, destinationPath);
|
|
331
331
|
tempPath = null;
|
|
332
332
|
try {
|
|
333
333
|
await verifyAtomicWriteResult({
|
|
@@ -340,7 +340,7 @@ async function writeFileWithinRoot(params) {
|
|
|
340
340
|
throw err;
|
|
341
341
|
}
|
|
342
342
|
} finally {
|
|
343
|
-
if (tempPath) await fs
|
|
343
|
+
if (tempPath) await fs.rm(tempPath, { force: true }).catch(() => {});
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
async function copyFileWithinRoot(params) {
|
|
@@ -368,7 +368,7 @@ async function copyFileWithinRoot(params) {
|
|
|
368
368
|
});
|
|
369
369
|
await pipeline(sourceStream, targetStream);
|
|
370
370
|
} catch (err) {
|
|
371
|
-
if (target?.createdForWrite) await fs
|
|
371
|
+
if (target?.createdForWrite) await fs.rm(target.openedRealPath, { force: true }).catch(() => {});
|
|
372
372
|
throw err;
|
|
373
373
|
} finally {
|
|
374
374
|
if (!sourceClosedByStream) await source.handle.close().catch(() => {});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as resolveOAuthDir, d as expandHomePrefix, i as resolveDefaultConfigCandidates, l as resolveOAuthPath, p as resolveRequiredHomeDir, r as resolveConfigPath, t as DEFAULT_GATEWAY_PORT, u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
3
|
-
import { $ as openBoundaryFileSync, A as logVerboseConsole, D as danger, G as ConfigIncludeError, H as createFileLogWriter, J as resolveConfigIncludes, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, O as info, Q as openBoundaryFile, R as getLogger, W as normalizeConfigPaths, X as isPathInside$2, Y as isBlockedObjectKey, _ as normalizeE164, b as resolveUserPath, ft as sanitizeHostExecEnv, g as isRecord$3, ht as resolveConfigEnvVars, k as logVerbose, lt as applyConfigEnvVars, m as escapeRegExp, mt as containsEnvVarReference, n as stripAnsi, o as defaultRuntime, ot as isPathInside$1, pt as MissingEnvVarError, q as readConfigIncludeFileWithGuards, t as createSubsystemLogger, v as pathExists, w as sleep, y as resolveConfigDir } from "./subsystem-
|
|
3
|
+
import { $ as openBoundaryFileSync, A as logVerboseConsole, D as danger, G as ConfigIncludeError, H as createFileLogWriter, J as resolveConfigIncludes, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, O as info, Q as openBoundaryFile, R as getLogger, W as normalizeConfigPaths, X as isPathInside$2, Y as isBlockedObjectKey, _ as normalizeE164, b as resolveUserPath, ft as sanitizeHostExecEnv, g as isRecord$3, ht as resolveConfigEnvVars, k as logVerbose, lt as applyConfigEnvVars, m as escapeRegExp, mt as containsEnvVarReference, n as stripAnsi, o as defaultRuntime, ot as isPathInside$1, pt as MissingEnvVarError, q as readConfigIncludeFileWithGuards, t as createSubsystemLogger, v as pathExists, w as sleep, y as resolveConfigDir } from "./subsystem-BntNuBAj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap, t as isPlainObject$2 } from "./plain-object-Doc_YkH1.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-ChvUJEAY.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os, { userInfo } from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import json5 from "json5";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
13
13
|
import { execFile, execFileSync, spawn } from "node:child_process";
|
|
@@ -18800,7 +18800,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
18800
18800
|
function normalizeDeps(overrides = {}) {
|
|
18801
18801
|
return {
|
|
18802
18802
|
fs: overrides.fs ?? fs,
|
|
18803
|
-
json5: overrides.json5 ??
|
|
18803
|
+
json5: overrides.json5 ?? json5,
|
|
18804
18804
|
env: overrides.env ?? process.env,
|
|
18805
18805
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
18806
18806
|
configPath: overrides.configPath ?? "",
|
|
@@ -19979,11 +19979,11 @@ function warnIfConfigFromFuture(params) {
|
|
|
19979
19979
|
logger.warn(`Config was last written by a newer WednesdayAI (${touched}); current version is ${VERSION}.`);
|
|
19980
19980
|
}
|
|
19981
19981
|
}
|
|
19982
|
-
function parseConfigJson5(raw, json5 =
|
|
19982
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
19983
19983
|
try {
|
|
19984
19984
|
return {
|
|
19985
19985
|
ok: true,
|
|
19986
|
-
parsed: json5.parse(raw)
|
|
19986
|
+
parsed: json5$1.parse(raw)
|
|
19987
19987
|
};
|
|
19988
19988
|
} catch (err) {
|
|
19989
19989
|
return {
|
|
@@ -24987,7 +24987,7 @@ function createPluginRegistry(registryParams) {
|
|
|
24987
24987
|
configurable: true,
|
|
24988
24988
|
value: {
|
|
24989
24989
|
...registryParams.runtime.signals,
|
|
24990
|
-
nudge: async (input) => (await import("./nudge-
|
|
24990
|
+
nudge: async (input) => (await import("./nudge-D3beOdMV.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
24991
24991
|
kind: "plugin",
|
|
24992
24992
|
pluginId: record.id
|
|
24993
24993
|
}, input)
|