wednesdayai 0.4.12-dev.711 → 0.4.12-dev.715
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-DrXF9X9v.js → acp-cli-BYoOiK6T.js} +13 -13
- package/dist/{agent-scope-BAXIXdUR.js → agent-scope-CWTkr4pS.js} +20 -20
- package/dist/{agent-turn-enqueue-BQ4JOmUN.js → agent-turn-enqueue-Dwz_R_DW.js} +5 -5
- package/dist/{agent-turn-recovery-adapter-BRVxIXJY.js → agent-turn-recovery-adapter-DF3vdyE5.js} +3 -3
- package/dist/{agent-turn-runner-BGmkN_A8.js → agent-turn-runner-DFZxbjaC.js} +4 -4
- package/dist/{agents.config-BnEJCj-p.js → agents.config-C-pTu-0T.js} +2 -2
- package/dist/{api-key-rotation-BEJklVjh.js → api-key-rotation-BEt1ZchD.js} +1 -1
- package/dist/{audio-preflight-C3XXSW_q.js → audio-preflight-nrbQcAOS.js} +36 -36
- package/dist/{audio-transcription-runner-DbLu4y_x.js → audio-transcription-runner-D-d42kdt.js} +26 -26
- package/dist/{audit-DIH0DO00.js → audit-C_g-UVNn.js} +29 -29
- package/dist/{auth-CO4L12L5.js → auth-DeLQvx-N.js} +4 -4
- package/dist/{auth-choice-DvG3v5sy.js → auth-choice-Be8iuCdY.js} +16 -16
- package/dist/{auth-choice-pem6VE1T.js → auth-choice-ZsDU-57A.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CLYswf6f.js → auth-choice.apply-helpers-CMHfbKNY.js} +1 -1
- package/dist/{auth-token-C4PqndxM.js → auth-token-DK8X73K5.js} +2 -2
- package/dist/{bonjour-discovery-BBOJN88F.js → bonjour-discovery-C517Q6gA.js} +3 -3
- package/dist/{browser-cli-BI1mfCKP.js → browser-cli-DvjIut0z.js} +20 -20
- package/dist/build-info.json +3 -3
- package/dist/{call-CMjUSitZ.js → call-Cl6Q0T5z.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Dc7AMtZ7.js → channel-account-context-C9otZxLF.js} +6 -6
- package/dist/{channel-activity-etjAZzDh.js → channel-activity-CE3dhlxR.js} +2 -2
- package/dist/{channel-options-BrBZqoUe.js → channel-options-CdXOmeJN.js} +4 -4
- package/dist/{channel-selection-WlHA0Mjg.js → channel-selection-zg0Iqza4.js} +1 -1
- package/dist/{channels-cli-DldYF6sZ.js → channels-cli-CBBGSlVe.js} +114 -114
- package/dist/{channels-status-issues-CyJj51t4.js → channels-status-issues-C6LrjLpF.js} +1 -1
- package/dist/{chrome-CBrgxie9.js → chrome-DXHMnxHS.js} +6 -6
- package/dist/{chunk-BTTi6And.js → chunk-BDQQgsxn.js} +2 -2
- package/dist/{clack-prompter-CbMy5Zvz.js → clack-prompter-CcVX4jId.js} +5 -5
- package/dist/{clawbot-cli-B-d0ta-h.js → clawbot-cli-C-wEI2Wc.js} +16 -16
- package/dist/cli-BtY_juql.js +164 -0
- package/dist/{client-MNVuOIDb.js → client-BbpMX08n.js} +3 -3
- package/dist/{client-profiles-BAQWDfq6.js → client-profiles-BNQu4_Z_.js} +2 -2
- package/dist/{clipboard-q7q26OPS.js → clipboard-DcxpnFIc.js} +1 -1
- package/dist/{command-queue-Banup9vQ.js → command-queue-B1RxJ6bM.js} +1 -1
- package/dist/{command-secret-targets-84-Vq1Kn.js → command-secret-targets-DtDJB3vv.js} +4 -4
- package/dist/{commands-registry-DY2vMgw6.js → commands-registry-BMswme6t.js} +3 -3
- package/dist/{commands-CpMRpWle.js → commands-tFdLuF5k.js} +1 -1
- package/dist/{completion-cli-C0m7BZi2.js → completion-cli-Dbszfn8D.js} +15 -15
- package/dist/{config-cli-CLZB8EiO.js → config-cli-3a-9iNyI.js} +11 -11
- package/dist/{config-guard-a0CqCfhq.js → config-guard-BwLGp24P.js} +15 -15
- package/dist/{config-validation-D1W4dKAT.js → config-validation-DDtU1EJP.js} +2 -2
- package/dist/{configure-BoJEz3Lg.js → configure-Dld8IaT8.js} +25 -25
- package/dist/{control-ui-assets-D-_OfiOV.js → control-ui-assets-DonecnKL.js} +3 -3
- package/dist/{controller-Z7o2nxni.js → controller-0fS4uYcF.js} +1 -1
- package/dist/{credentials-DgZP7kxk.js → credentials-Hn2dA0oB.js} +1 -1
- package/dist/{cron-cli-BA4vsm3K.js → cron-cli-BuO3qskK.js} +14 -14
- package/dist/{daemon-cli-UPL01HBu.js → daemon-cli-C5cAb15Z.js} +19 -19
- package/dist/{daemon-install-btuIR9OH.js → daemon-install-CBIxgo4p.js} +11 -11
- package/dist/{daemon-install-helpers-CG4IZ_7L.js → daemon-install-helpers-C8mJ0UpL.js} +13 -13
- package/dist/{deliver-BpzzrBKl.js → deliver-Bhlx9VG9.js} +9 -9
- package/dist/{devices-cli-gtCGUgQz.js → devices-cli-HXNfviPB.js} +13 -13
- package/dist/{diagnostic-BRYj59Hw.js → diagnostic-BTSirPP0.js} +3 -3
- package/dist/{diagnostics-BTeays6z.js → diagnostics-FIcvxigK.js} +5 -5
- package/dist/{directory-cli-DtgQeMLi.js → directory-cli-A6e49xZw.js} +11 -11
- package/dist/{dns-cli-QXa894v2.js → dns-cli-BZvwwprO.js} +11 -11
- package/dist/{docs-cli-C5Q8gAsv.js → docs-cli-BQ8oTRz4.js} +10 -10
- package/dist/{doctor-completion-B19G-I8Y.js → doctor-completion-Ca_SREXp.js} +3 -3
- package/dist/{doctor-config-flow-BTbRx17L.js → doctor-config-flow-BSKd49U6.js} +14 -14
- package/dist/{enable-BF67ibhx.js → enable-BIAeEt0I.js} +2 -2
- package/dist/{env-DtoMyFfk.js → env-ESh4ZX9l.js} +1 -1
- package/dist/{exec-Cg_eKCg0.js → exec-CHq-p5L0.js} +2 -2
- package/dist/{exec-approvals-C-_jrhwb.js → exec-approvals-D8Tqfo34.js} +1 -1
- package/dist/{exec-approvals-allowlist-B2foVOBU.js → exec-approvals-allowlist-0xON2SZW.js} +1 -1
- package/dist/{exec-approvals-cli-CwwxNa7v.js → exec-approvals-cli-DsXabPF_.js} +23 -23
- package/dist/{exec-safe-bin-runtime-policy-CfsF46fx.js → exec-safe-bin-runtime-policy-KSPaR73B.js} +2 -2
- package/dist/{extension-relay-auth-IPIDjhZx.js → extension-relay-auth-C-1c9CZk.js} +10 -10
- package/dist/{fetch-guard-BCFGxdCb.js → fetch-guard-CjyGDRXN.js} +3 -3
- package/dist/{fs-safe-D3vN4fQ5.js → fs-safe-DD7KXuvI.js} +25 -25
- package/dist/{gateway-cli-BtV-wVjj.js → gateway-cli-BTuK5wC4.js} +210 -210
- package/dist/{gateway-rpc-CgAHXoCu.js → gateway-rpc-DNsG0xAN.js} +3 -3
- package/dist/{gmail-setup-utils-DWxTEPL5.js → gmail-setup-utils-CRvbl5q3.js} +2 -2
- package/dist/{health-CDGk5xDG.js → health-DFWpyp9O.js} +9 -9
- package/dist/{health-format-B9nTs2HW.js → health-format-_VGfj3fm.js} +1 -1
- package/dist/{heartbeat-tick-RHab8Aje.js → heartbeat-tick-CsyeD75h.js} +1 -1
- package/dist/{help-format-BC4GRIFN.js → help-format-DqpZruAs.js} +1 -1
- package/dist/{hooks-cli-BT0kyUWU.js → hooks-cli-DKZeKlmX.js} +105 -105
- package/dist/{hooks-status-Dv9XGWQ9.js → hooks-status-D20U_9R-.js} +2 -2
- package/dist/{plugin-sdk/image-ops-DY_SZfXk.js → image-ops-DcqCZEUY.js} +2 -2
- package/dist/{incident-install-BdXMiCuu.js → incident-install-cGBLZhud.js} +12 -12
- package/dist/index.js +104 -104
- package/dist/{inspect-CdQNUkBH.js → inspect-DVHAPbcZ.js} +4 -4
- package/dist/{install-safe-path-67wN9WdC.js → install-safe-path-DjFYmzeb.js} +25 -25
- package/dist/{installs-BlKgbSFc.js → installs-CnAcm0ba.js} +10 -10
- package/dist/{ipv4-m0FxF_em.js → ipv4-PE-rqUZG.js} +2 -2
- package/dist/{ir-D--2OWCl.js → ir-DDAVSgbQ.js} +8 -8
- package/dist/{issue-format-B1dmuNNd.js → issue-format-D0G927lb.js} +1 -1
- package/dist/{lifecycle-core-DfYD23X_.js → lifecycle-core-B3-ezmTx.js} +9 -9
- package/dist/{links-DZMDihQ-.js → links-BhLGjTwm.js} +1 -1
- package/dist/{live-repair-BGbr6jGR.js → live-repair-RXzcIxWc.js} +11 -11
- package/dist/{local-roots-DrpBY-AE.js → local-roots-_qt4-Ma5.js} +5 -5
- package/dist/{log-tail-COb9xmHL.js → log-tail-BAg8b5Wq.js} +7 -7
- package/dist/{logger-BCqJpXqF.js → logger-0VqfDbvM.js} +2 -2
- package/dist/{logging-CuKoRd0b.js → logging-DcZLtf7P.js} +1 -1
- package/dist/{logs-cli-BTCW2CK0.js → logs-cli-BdR6-Q3U.js} +19 -19
- package/dist/{manager-LX1QQ8aK.js → manager-DehDxi2A.js} +17 -17
- package/dist/{markdown-tables-pIjKFnaZ.js → markdown-tables-BEZ0s08w.js} +1 -1
- package/dist/{memory-cli-CFyBR_Pp.js → memory-cli-DZyEfnsr.js} +18 -18
- package/dist/{model-CR-oCFb_.js → model-BI6n6kVo.js} +2 -2
- package/dist/{model-catalog-C300CH2M.js → model-catalog-C7itJJDM.js} +4 -4
- package/dist/{model-picker-CFbPs-vi.js → model-picker-Bt7fcUKH.js} +4 -4
- package/dist/{model-selection-C8GCtGby.js → model-selection-k68XU4oS.js} +52 -52
- package/dist/{models-cli-D0T4sJZO.js → models-cli-C7bSvLGL.js} +109 -109
- package/dist/{models-config-CcPjsQTv.js → models-config-Burwt3mB.js} +7 -7
- package/dist/{node-cli-BAmgr8kO.js → node-cli-CPo0jR3t.js} +43 -43
- package/dist/{node-command-policy-CggBPF1a.js → node-command-policy-B9A0wAU6.js} +1 -1
- package/dist/{node-service-yxlqFzdT.js → node-service-BnwLXY5x.js} +1 -1
- package/dist/{nodes-cli-Tth7cV2w.js → nodes-cli-D9vz6Yaa.js} +25 -25
- package/dist/{nodes-screen-Bu5K5Iky.js → nodes-screen-BRZLdw3g.js} +8 -8
- package/dist/{note-xK3tzN__.js → note-DCbCarQS.js} +2 -2
- package/dist/{npm-pack-install-Cbcm8AtO.js → npm-pack-install-CFiN84Qw.js} +24 -24
- package/dist/{npm-resolution-CD79ResX.js → npm-resolution-B7regLLc.js} +5 -5
- package/dist/{oauth-tls-preflight-Ow3-5CVf.js → oauth-tls-preflight-B5akdNNh.js} +1 -1
- package/dist/{onboard-DUd7yo33.js → onboard-B_6H9HpS.js} +11 -11
- package/dist/{onboard-channels-CEercm9o.js → onboard-channels-CxiuviBR.js} +21 -21
- package/dist/{onboard-custom-Cu_HKMT1.js → onboard-custom-x_zbf7qu.js} +4 -4
- package/dist/{onboard-helpers-Dxgs6IKs.js → onboard-helpers-ziqfw3UR.js} +13 -13
- package/dist/{onboard-hooks-iOe4YWKj.js → onboard-hooks-BaZe-xl6.js} +7 -7
- package/dist/{onboard-remote-DEBKk92p.js → onboard-remote-BsnRgDQj.js} +5 -5
- package/dist/{onboard-skills-rEFqAB8T.js → onboard-skills-DwbAJ4nt.js} +4 -4
- package/dist/{onboarding-Bd05RKZ7.js → onboarding-D9VO9_5U.js} +18 -18
- package/dist/{onboarding.finalize-DPQPP-Aj.js → onboarding.finalize-DeJ35Prz.js} +112 -112
- package/dist/{onboarding.gateway-config-CgdJWu5V.js → onboarding.gateway-config-DOvEzkIo.js} +17 -17
- package/dist/{onboarding.secret-input-BOKPA83p.js → onboarding.secret-input-BCxy1JxD.js} +1 -1
- package/dist/{openai-model-default-C4QfTJob.js → openai-model-default-CpqJmHpI.js} +2 -2
- package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
- package/dist/{operator-commands-B0t7kxcZ.js → operator-commands-BRKxpjt9.js} +5 -5
- package/dist/{outbound-attachment-BqIKnptw.js → outbound-attachment-Bg7WvYcG.js} +2 -2
- package/dist/{outbound-message-hooks-DOSD8zCU.js → outbound-message-hooks-t1DDjQX_.js} +4 -4
- package/dist/{pairing-cli-D9NWToyR.js → pairing-cli-Cmlyczsc.js} +11 -11
- package/dist/{pairing-labels-BCnxr7Pt.js → pairing-labels-CGUWaZ3f.js} +1 -1
- package/dist/{pairing-store-CL-UFd1J.js → pairing-store-CQ7fjFFo.js} +2 -2
- package/dist/{path-alias-guards-DaLVcmyn.js → path-alias-guards-BSmwo1rT.js} +3 -3
- package/dist/{path-env-CQ3HfD18.js → path-env-IcDKkMPr.js} +1 -1
- package/dist/{path-safety-DSl6BwW9.js → path-safety-DAKUyD-v.js} +1 -1
- package/dist/{pi-embedded-helpers-DxQslB8x.js → pi-embedded-helpers-DEHXX7Dr.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-DRzWCwVb.js → pi-embedded-recovery-adapter-MaU4SQ3X.js} +3 -3
- package/dist/pi-embedded-recovery-adapter-ZV9u5snz.js +61 -0
- package/dist/{pi-embedded-utils-39kuXd-l.js → pi-embedded-utils-BhOMYPQU.js} +2 -2
- package/dist/{pi-model-discovery-B9wn9y4o.js → pi-model-discovery-CfUi22Es.js} +1 -1
- package/dist/{pi-tools.policy-BViSZbge.js → pi-tools.policy-4GqIom7_.js} +4 -4
- package/dist/{plugin-owned-work-recovery-adapter-CnQZf19o.js → plugin-owned-work-recovery-adapter-DHYQi-Bq.js} +8 -8
- package/dist/{plugin-registry-DBsuekLm.js → plugin-registry-alYBvHFE.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-BYp_CjdU.js → agent-scope-BLF4nZUv.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-C4MQxaT2.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CeC9JbVM.js → agent-turn-runner-YBWX_qXk.js} +6 -6
- package/dist/plugin-sdk/agent-turn-runner-e_lJzDgA.js +11 -0
- package/dist/plugin-sdk/{api-key-rotation-CDNf_4cI.js → api-key-rotation-XDUKz2gd.js} +2 -2
- package/dist/plugin-sdk/{artifacts-BMLMg3MG.js → artifacts-HAYpGlG1.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BmKL6FNP.js → audio-preflight-BS29OWk3.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +28 -0
- package/dist/plugin-sdk/{audio-transcription-runner-TBjJv_mZ.js → audio-transcription-runner-BNafitZj.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-DHZjW8Vk.js → auth-profiles-CCJQoedi.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-Dr4PYej7.js → channel-activity-BKwRzYJb.js} +3 -3
- package/dist/plugin-sdk/{chrome-BDy1zYAr.js → chrome-D0eLSqkP.js} +4 -4
- package/dist/plugin-sdk/{chunk-DGQdf0JN.js → chunk-CDvvv9SU.js} +3 -3
- package/dist/plugin-sdk/{chunk-BTSnO1wn.js → chunk-DI-5pBck.js} +6 -6
- package/dist/plugin-sdk/{command-detection-w_6bwXGh.js → command-detection-B3xgM_Na.js} +85 -85
- package/dist/plugin-sdk/{command-queue-CeaLVs8O.js → command-queue-BnJsJc_w.js} +8 -8
- package/dist/plugin-sdk/{command-queue-DFSOdqCK.js → command-queue-CHiQj9Ji.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-8sy0wsK_.js → commands-registry-Do_g2It_.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-N6f_lsxF.js → commands-registry-DpLk11E7.js} +2 -2
- package/dist/plugin-sdk/{config-Biusjzx-.js → config-CQNfmIC8.js} +7 -7
- package/dist/plugin-sdk/deliver-D4fWK65M.js +32 -0
- package/dist/plugin-sdk/{deliver-BgHA8c9F.js → deliver-L6eu6zyG.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-D6hSjxiv.js → diagnostic-C7lPoqyv.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-Bni_8VyY.js → diagnostic-DfxuMWHd.js} +7 -7
- package/dist/plugin-sdk/{fetch-guard-C1a1KfEb.js → fetch-guard-CZT8FU1i.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-CbZ6uRVv.js → fs-safe-B0JgGdXa.js} +3 -3
- package/dist/plugin-sdk/{hook-runner-global-BvxlnAyu.js → hook-runner-global-WRI53ibi.js} +3 -3
- package/dist/{image-ops-D-__yDh-.js → plugin-sdk/image-ops-kuILYHZv.js} +12 -12
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-BNohi6ZW.js → ir-Bm7oqkwT.js} +5 -5
- package/dist/plugin-sdk/{local-roots-Bm7nDW20.js → local-roots-D-CHzVr1.js} +7 -7
- package/dist/plugin-sdk/{logger-D6KsqbNW.js → logger-BSK-0Yjx.js} +1 -1
- package/dist/plugin-sdk/manager-BlYRVNJI.js +16 -0
- package/dist/plugin-sdk/{manager-B_vK9MbM.js → manager-D2jffdjH.js} +8 -8
- package/dist/plugin-sdk/{markdown-tables-G4vK24xc.js → markdown-tables-DIWQQ2W1.js} +2 -2
- package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +10 -0
- package/dist/plugin-sdk/{outbound-attachment-Cw7T2Mrt.js → outbound-attachment-CtKKNyms.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CVybi_GQ.js → path-alias-guards-CHfCMaeX.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B_jgacW8.js → pi-embedded-helpers-BRymkO_1.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-DOXEm_H8.js → pi-embedded-utils-BHmc3RVS.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DWw1ReX-.js → pi-model-discovery-4X7_2_nP.js} +6 -6
- package/dist/plugin-sdk/{pi-model-discovery-DWUrLRLg.js → pi-model-discovery-6BBajZds.js} +1 -1
- package/dist/plugin-sdk/provider-dispatcher-D7bchiJq.js +61 -0
- package/dist/plugin-sdk/provider-image-CNlYbRab.js +22 -0
- package/dist/plugin-sdk/{provider-image-CEQrHWYz.js → provider-image-DBye3Ln5.js} +5 -5
- package/dist/plugin-sdk/proxy-D2uiu68M.js +7 -0
- package/dist/plugin-sdk/{proxy-BWc9guJs.js → proxy-DJ2nskkh.js} +1 -1
- package/dist/{proxy-fetch-k-wYHddO.js → plugin-sdk/proxy-fetch-CuQpjpkI.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DQv6Xhce.js → pw-ai-BJrhPMHJ.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-CpV0SFnY.js → qmd-manager-DhW_frb3.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CwmHvvV_.js → query-expansion-NpBeKA8F.js} +3 -3
- package/dist/plugin-sdk/{recorder-BXZMRSjO.js → recorder-DdbAQ2HO.js} +4 -4
- package/dist/plugin-sdk/{redact-C88Ryyfs.js → redact-CUjmZn2Y.js} +1 -1
- package/dist/plugin-sdk/{replies-l2hZAzbt.js → replies-Dw3jvqpR.js} +4 -4
- package/dist/plugin-sdk/replies-XUkqz_7S.js +25 -0
- package/dist/plugin-sdk/{reply-directives-BwxzQXmX.js → reply-directives-BS8Ge06Z.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-qLQRxqrf.js → reply-prefix-Dt1hESHJ.js} +1 -1
- package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +7 -0
- package/dist/plugin-sdk/{resolve-route-50KoArP9.js → resolve-route-BpLuk-wC.js} +4 -4
- package/dist/plugin-sdk/{resolve-route-6v1HVvWk.js → resolve-route-DiQTL1qI.js} +6 -6
- package/dist/plugin-sdk/{runs-CiohhBb8.js → runs-D6fAvItC.js} +7 -7
- package/dist/plugin-sdk/runs-R28wdt7j.js +25 -0
- package/dist/plugin-sdk/{send-Cv2CGnsK.js → send-BDwTyH6I.js} +8 -8
- package/dist/plugin-sdk/{send-DM6RpDCL.js → send-CE_6VOiQ.js} +7 -7
- package/dist/plugin-sdk/{send-Cx6gHjnA.js → send-Ce2XBaKF.js} +6 -6
- package/dist/plugin-sdk/send-Cg2VXcO0.js +27 -0
- package/dist/plugin-sdk/{send-BMSqETcU.js → send-CpXGZgrS.js} +6 -6
- package/dist/plugin-sdk/send-DAs6FmWB.js +23 -0
- package/dist/plugin-sdk/{send-DO0C4Uva.js → send-GMYUhBtJ.js} +19 -19
- package/dist/plugin-sdk/{send-DG4MQPPm.js → send-R0HB1-l-.js} +13 -13
- package/dist/plugin-sdk/send-UIQH_kN6.js +25 -0
- package/dist/plugin-sdk/send-tASIQF-Q.js +24 -0
- package/dist/plugin-sdk/{session-meta-CiqJP0pO.js → session-meta-BU2WXD0N.js} +2 -2
- package/dist/plugin-sdk/session-meta-Dd1ZONel.js +10 -0
- package/dist/plugin-sdk/{skill-commands-CE_SkRQk.js → skill-commands-BYfWIPfV.js} +5 -5
- package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +14 -0
- package/dist/plugin-sdk/{skills-CjW6uGTa.js → skills-BuJjEYto.js} +6 -6
- package/dist/plugin-sdk/{ssrf-BUCEDxp5.js → ssrf-DiAz1Z_z.js} +2 -2
- package/dist/plugin-sdk/{store-yBNTHg3N.js → store-Bl3Yjf_w.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-2P8D5Trx.js +61 -0
- package/dist/plugin-sdk/{subsystem-CUUKL6Fr.js → subsystem-B2x33s9h.js} +4 -4
- package/dist/plugin-sdk/{tables-DKYi6grj.js → tables-CTmQQyfU.js} +1 -1
- package/dist/plugin-sdk/{tokens-ysZUkYZZ.js → tokens-DxJSOoJn.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-LsvZ1dIY.js → tool-loop-detection-Buouaxew.js} +1 -1
- package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +11 -0
- package/dist/plugin-sdk/{user-run-recording-BMaK7jNR.js → user-run-recording-juCW_uQ-.js} +2 -2
- package/dist/{plugins-cli-Dr8MUuiG.js → plugins-cli-DnMc_Sn3.js} +108 -108
- package/dist/{polling-timeout-DQakFlgy.js → polling-timeout-lNYd7owP.js} +2 -2
- package/dist/{ports-D_uxJ7Lw.js → ports-BTxrPqTm.js} +2 -2
- package/dist/{ports-CmgxsJei.js → ports-CX4cOSom.js} +6 -6
- package/dist/{program-context-Bl-xFa6k.js → program-context-CJuzphrY.js} +47 -47
- package/dist/{progress-DVj1IfDI.js → progress-DRMfDm7h.js} +2 -2
- package/dist/{prompt-select-styled-BpNRj_0c.js → prompt-select-styled-C-FwsHQX.js} +48 -48
- package/dist/{prompt-style-DdJb0dOL.js → prompt-style-D0wRuIYC.js} +1 -1
- package/dist/{provider-auth-helpers-DUu-jv0m.js → provider-auth-helpers-DsfkAslg.js} +6 -6
- package/dist/{provider-image-GVjHOAmk.js → provider-image-RxbXQIow.js} +6 -6
- package/dist/{proxy-XUweXx3b.js → proxy-Df2WAHRA.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-BYkGxQnh.js → proxy-fetch-Czv8kxaL.js} +1 -1
- package/dist/{push-apns--BFmn4qT.js → push-apns-Mp5OOpUH.js} +8 -8
- package/dist/{pw-ai-DcOIsodu.js → pw-ai-DmE1ofBV.js} +19 -19
- package/dist/{qmd-manager-Cl4D1wtV.js → qmd-manager-DvoTSplw.js} +23 -23
- package/dist/{qr-cli-DDaJ5f3a.js → qr-cli-BCIfpQUF.js} +8 -8
- package/dist/{query-expansion-DNw0oY0W.js → query-expansion-BD3CL_NZ.js} +13 -13
- package/dist/{reconcile-bundled-CoL_d96f.js → reconcile-bundled-BMWDZl32.js} +3 -3
- package/dist/{recorder-B9RfsO1r.js → recorder-BntUAL0_.js} +2 -2
- package/dist/{recovery-adapter-Bokfvz7s.js → recovery-adapter-BF5ESanQ.js} +2 -2
- package/dist/{recovery-adapter-B6QLivR9.js → recovery-adapter-BMqm3Nm4.js} +35 -35
- package/dist/{recovery-adapter-CMFB03AL.js → recovery-adapter-NtvPZ47M.js} +4 -4
- package/dist/{recovery-prompt-B1_BcmiM.js → recovery-prompt-SkkJ8aCp.js} +1 -1
- package/dist/{redact-snapshot-BtpCwP1X.js → redact-snapshot-Cm6wsMRx.js} +2 -2
- package/dist/{register.agent-Bv1bLbKG.js → register.agent-B5_L0CjL.js} +121 -121
- package/dist/register.configure-BbDac1C1.js +168 -0
- package/dist/{register.maintenance-C8FDl5FT.js → register.maintenance-Co2DeyQ1.js} +124 -124
- package/dist/{register.message-CAfCYwJP.js → register.message-BWeca9Pc.js} +98 -98
- package/dist/{register.onboard-cFRLSpET.js → register.onboard-4mSx6LtC.js} +22 -22
- package/dist/{register.setup-Bzi-36J6.js → register.setup-DCRrXbdT.js} +25 -25
- package/dist/{register.status-health-sessions-DV7xRpuM.js → register.status-health-sessions-DK12_BeX.js} +114 -114
- package/dist/{replay-DzQXXHrC.js → replay-BHfUVVHN.js} +1 -1
- package/dist/{replies-Bg8KJkdJ.js → replies-DoejQAqN.js} +4 -4
- package/dist/{reply-BsDGtY7Y.js → reply-BIZ2zaUq.js} +186 -186
- package/dist/{reply-directives-HkwESo_w.js → reply-directives-D5wW1el3.js} +2 -2
- package/dist/{reply-prefix-Cur1savb.js → reply-prefix-D0xrt6Z-.js} +1 -1
- package/dist/{resolve-route-C7CVSjFi.js → resolve-route-DnhX9nWr.js} +4 -4
- package/dist/{rpc-C1SlEDeI.js → rpc-B2GRFhpM.js} +3 -3
- package/dist/{runs-B3mLUDEo.js → runs-Yajg-SST.js} +7 -7
- package/dist/{runtime-Dp2vE941.js → runtime-Ch9itsH4.js} +4 -4
- package/dist/{runtime-config-collectors-CwBbdMqb.js → runtime-config-collectors-B4N79pBu.js} +1 -1
- package/dist/{runtime-guard-kynCEcXy.js → runtime-guard-DYUXYZIl.js} +1 -1
- package/dist/{sandbox-BnwxiNjx.js → sandbox-Ft7cM-PQ.js} +18 -18
- package/dist/{sandbox-cli-0Umoh6lR.js → sandbox-cli-DvMqiG0-.js} +26 -26
- package/dist/{secrets-cli-uctHYxxr.js → secrets-cli-mfGtyiPb.js} +16 -16
- package/dist/{security-cli-DgE-l1dY.js → security-cli-p_5UwabW.js} +43 -43
- package/dist/{send-BXSNB2Gu.js → send-26KAC8EW.js} +6 -6
- package/dist/{send-DkVvmrg9.js → send-9toI8d1j.js} +6 -6
- package/dist/{send-ZT3Ekuty.js → send-BA9PXvuC.js} +7 -7
- package/dist/{send-DweRAIgI.js → send-Cy2xiH02.js} +13 -13
- package/dist/{send-CgTUSkhw.js → send-DQQFc4N0.js} +14 -14
- package/dist/{server-context-qqDarnk8.js → server-context-Dezs5R_M.js} +12 -12
- package/dist/{server-BiyBJMEv.js → server-l9oy68N_.js} +25 -25
- package/dist/{server-lifecycle-E2HPe1NZ.js → server-lifecycle-DcVZS1ln.js} +3 -3
- package/dist/{server-middleware-CHvpqowx.js → server-middleware-BND1EkTO.js} +1 -1
- package/dist/{server-node-events-uGHyBXqP.js → server-node-events-BaFY8QcO.js} +97 -97
- package/dist/{service-CH9BWwSD.js → service-Hy5BSgmp.js} +15 -15
- package/dist/{session-consumer-agents-D_hiCJHw.js → session-consumer-agents-DWh7Mygv.js} +1 -1
- package/dist/{session-consumer-claim-sweep-aKULSjxA.js → session-consumer-claim-sweep-Bc4Qq0rB.js} +8 -8
- package/dist/{session-key-resolution-BlwVEVt_.js → session-key-resolution-DDJD1XYy.js} +4 -4
- package/dist/{session-meta-CXWLeYOC.js → session-meta-DzjDKcgW.js} +1 -1
- package/dist/{session-storage-DYSvotxA.js → session-storage-D3bntc9N.js} +7 -7
- package/dist/{sessions-C6bPQgaD.js → sessions-BQYQBpX0.js} +15 -15
- package/dist/{sessions-claims-status-DSufSy2u.js → sessions-claims-status-Bt9unG8h.js} +12 -12
- package/dist/{shared-CRF96lZH.js → shared-Bc-7t0_-.js} +2 -2
- package/dist/{shared-BFbMaMtM.js → shared-DyT9yMRI.js} +3 -3
- package/dist/{skill-commands-D0sJs3ds.js → skill-commands-Be2Bqqsm.js} +7 -7
- package/dist/{skill-scanner-D7Edx-Uz.js → skill-scanner-BA3h34y0.js} +7 -7
- package/dist/{skills-DT7dF3Z_.js → skills-Buc1RWDY.js} +6 -6
- package/dist/{skills-cli-CINDQ2Qe.js → skills-cli-DHvoBCEx.js} +10 -10
- package/dist/{skills-install-BUqzygk8.js → skills-install-DqCRPwE1.js} +9 -9
- package/dist/{skills-status-K-JYoR_J.js → skills-status-Dufi5_o3.js} +3 -3
- package/dist/{ssrf-BsWmJWfu.js → ssrf-B85AIIOO.js} +1 -1
- package/dist/{status-CYumLEox.js → status-BYesh62t.js} +34 -34
- package/dist/{status.update-CDd1OP3p.js → status.update-BOB92yBQ.js} +2 -2
- package/dist/{store-BKJfMltr.js → store-DoqX9VsZ.js} +7 -7
- package/dist/{subsystem-DRdkfGsB.js → subsystem-DDZBycwS.js} +1 -1
- package/dist/{supervisor-recovery-adapter-BxLO7wjD.js → supervisor-recovery-adapter-CTaDRl_d.js} +8 -8
- package/dist/{system-cli-DJd5Vz-h.js → system-cli-B-THY8xp.js} +14 -14
- package/dist/{system-run-command-uuNBjw5D.js → system-run-command-AF8TLlEl.js} +2 -2
- package/dist/{systemd-LaMffSwB.js → systemd-DsBMxUv1.js} +11 -11
- package/dist/{systemd-hints-Cq7MC9oh.js → systemd-hints-WHzM5Tf8.js} +7 -7
- package/dist/{systemd-linger-Cv1mTB1q.js → systemd-linger-EvpJ4ZxF.js} +2 -2
- package/dist/{table-BntrQEtu.js → table-DoIju7rh.js} +2 -2
- package/dist/{tables-CI3gYRvQ.js → tables-CzW-cMQN.js} +1 -1
- package/dist/{tailnet-CA8Lq90p.js → tailnet-G5phL2pY.js} +1 -1
- package/dist/{tailscale-C-_dOj1h.js → tailscale-DbsrfsUT.js} +3 -3
- package/dist/{task-pipeline-boot-nWDIjt5K.js → task-pipeline-boot-CaVeITev.js} +97 -97
- package/dist/{task-runlog-retention-BlMTtOsA.js → task-runlog-retention-BZrnJGL1.js} +3 -3
- package/dist/{tasks-NzeWQU_K.js → tasks-DXPXCFmn.js} +12 -12
- package/dist/{tokens-C6a47LiJ.js → tokens-BvecxQYg.js} +1 -1
- package/dist/{tool-display-CwPZlMoS.js → tool-display-D63I3y22.js} +1 -1
- package/dist/{tool-loop-detection-BUuXGw31.js → tool-loop-detection-3zBgQ3Bx.js} +2 -2
- package/dist/{trash-CYaie1Ci.js → trash-BcRk_NVC.js} +3 -3
- package/dist/{tui-CPb7mIZu.js → tui-Bo4LZvgz.js} +8 -8
- package/dist/{tui-cli-Csu-daF-.js → tui-cli-hVvCHoLU.js} +32 -32
- package/dist/{update-BqKLo08q.js → update-CXf5cJ0D.js} +3 -3
- package/dist/{update-cli-DjE99d_9.js → update-cli-BB7ybH-w.js} +134 -134
- package/dist/{update-runner-CrNSgmGV.js → update-runner-BYv_ec3N.js} +18 -18
- package/dist/{user-run-recording-DjkX5Mx3.js → user-run-recording-CTVI96gC.js} +2 -2
- package/dist/{utils-CmAaKeiM.js → utils-CMEUUHmM.js} +7 -7
- package/dist/{validation-cli-BRxfq9qy.js → validation-cli-CGimO4ZJ.js} +97 -97
- package/dist/{web-cli-DINMU0iQ.js → web-cli-KjTxS3h8.js} +3 -3
- package/dist/{web-client-assets-O1Zun47I.js → web-client-assets-CJyKwFRS.js} +1 -1
- package/dist/{webhooks-cli-YjIqpt4M.js → webhooks-cli-DJhGZcBz.js} +11 -11
- package/dist/{widearea-dns-DZj5625G.js → widearea-dns-DgeeMUtJ.js} +1 -1
- package/dist/{with-timeout-6n6HxT65.js → with-timeout-NhJMC1fC.js} +6 -6
- package/dist/{workspace-CgJWyvaY.js → workspace-CcKQx_l1.js} +2 -2
- package/dist/{workspace-dirs-B9yugPA_.js → workspace-dirs-_vJAsBIN.js} +1 -1
- package/dist/{ws-E-wJFDgg.js → ws-BuVK_u9S.js} +2 -2
- package/dist/{wsl-CMayUQxI.js → wsl-Baz9nyoY.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +3 -2
- package/dist/cli-BLPnNVZp.js +0 -164
- package/dist/pi-embedded-recovery-adapter-CB8bcT6A.js +0 -61
- package/dist/plugin-sdk/agent-turn-execute-DYtSZF3l.js +0 -61
- package/dist/plugin-sdk/agent-turn-runner-P-MKFb_i.js +0 -11
- package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +0 -28
- package/dist/plugin-sdk/deliver-DBCz1GqU.js +0 -32
- package/dist/plugin-sdk/manager-ByaW_O4Y.js +0 -16
- package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +0 -10
- package/dist/plugin-sdk/provider-dispatcher-Co_hyl4q.js +0 -61
- package/dist/plugin-sdk/provider-image-B_dJDOl5.js +0 -22
- package/dist/plugin-sdk/proxy-DwbYzxBy.js +0 -7
- package/dist/plugin-sdk/replies-B9uDLFOE.js +0 -25
- package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +0 -7
- package/dist/plugin-sdk/runs-BQhYekhr.js +0 -25
- package/dist/plugin-sdk/send-CeWqZTK0.js +0 -23
- package/dist/plugin-sdk/send-CzcKgBBf.js +0 -25
- package/dist/plugin-sdk/send-Dvna5ey-.js +0 -27
- package/dist/plugin-sdk/send-xPV0QIjh.js +0 -24
- package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +0 -10
- package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +0 -14
- package/dist/plugin-sdk/subagent-registry-jIsL_HVh.js +0 -61
- package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +0 -11
- package/dist/register.configure-nGWw6mGM.js +0 -168
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { I as theme, g as resolveUserPath, y as shortenHomePath } from "./utils-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import { Nt as loadConfig, ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-
|
|
2
|
+
import { I as theme, g as resolveUserPath, y as shortenHomePath } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-DDZBycwS.js";
|
|
5
|
+
import "./logger-0VqfDbvM.js";
|
|
6
|
+
import "./exec-CHq-p5L0.js";
|
|
7
|
+
import { Nt as loadConfig, ac as GATEWAY_CLIENT_MODES, oc as GATEWAY_CLIENT_NAMES } from "./model-selection-k68XU4oS.js";
|
|
8
8
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
|
-
import "./env-
|
|
10
|
+
import "./env-ESh4ZX9l.js";
|
|
11
11
|
import { t as VERSION } from "./version-D7fFgMO6.js";
|
|
12
12
|
import "./retry-policy-BIRWkDiU.js";
|
|
13
13
|
import "./artifacts-qv_OgPMd.js";
|
|
@@ -15,15 +15,15 @@ import "./chat-envelope-DOpfcKGq.js";
|
|
|
15
15
|
import "./task-run-types-B5uIC1Y7.js";
|
|
16
16
|
import "./static-server-C-iTMRyz.js";
|
|
17
17
|
import { r as isKnownCoreToolId } from "./tool-catalog-B6wH7-iE.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import "./ws-
|
|
18
|
+
import "./tailnet-G5phL2pY.js";
|
|
19
|
+
import "./ws-BuVK_u9S.js";
|
|
20
20
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-DqawBJDm.js";
|
|
21
|
-
import { t as GatewayClient } from "./client-
|
|
22
|
-
import { l as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-
|
|
21
|
+
import { t as GatewayClient } from "./client-BbpMX08n.js";
|
|
22
|
+
import { l as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-Cl6Q0T5z.js";
|
|
23
23
|
import "./pairing-token-A_0lRJCJ.js";
|
|
24
|
-
import { t as formatDocsLink } from "./links-
|
|
24
|
+
import { t as formatDocsLink } from "./links-BhLGjTwm.js";
|
|
25
25
|
import { t as isMainModule } from "./is-main-KU6jxc5L.js";
|
|
26
|
-
import { t as ensureOpenClawCliOnPath } from "./path-env-
|
|
26
|
+
import { t as ensureOpenClawCliOnPath } from "./path-env-IcDKkMPr.js";
|
|
27
27
|
import { t as DANGEROUS_ACP_TOOLS } from "./dangerous-tools-gv_rp-w_.js";
|
|
28
28
|
import { n as inheritOptionFromParent } from "./command-options-6wdtBBWB.js";
|
|
29
29
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { g as resolveUserPath, lt as openBoundaryFile, p as pathExists } from "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { g as resolveUserPath, lt as openBoundaryFile, p as pathExists } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
4
4
|
import { M as isSubagentSessionKey, N as parseAgentSessionKey, d as normalizeAgentId, j as isCronSessionKey, p as resolveAgentIdFromSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-B1wN38jV.js";
|
|
5
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
6
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
5
|
+
import { t as runCommandWithTimeout } from "./exec-CHq-p5L0.js";
|
|
6
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-BGUYWYDG.js";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/config/model-input.ts
|
|
14
14
|
function resolveAgentModelPrimaryValue(model) {
|
|
@@ -190,7 +190,7 @@ async function loadTemplate(name) {
|
|
|
190
190
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
191
191
|
const templatePath = path.join(templateDir, name);
|
|
192
192
|
try {
|
|
193
|
-
return stripFrontMatter(await
|
|
193
|
+
return stripFrontMatter(await fs$1.readFile(templatePath, "utf-8"));
|
|
194
194
|
} catch {
|
|
195
195
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
196
196
|
}
|
|
@@ -218,7 +218,7 @@ const DEFAULT_LANE_BOOTSTRAP_FILES = [
|
|
|
218
218
|
];
|
|
219
219
|
async function writeFileIfMissing(filePath, content) {
|
|
220
220
|
try {
|
|
221
|
-
await
|
|
221
|
+
await fs$1.writeFile(filePath, content, {
|
|
222
222
|
encoding: "utf-8",
|
|
223
223
|
flag: "wx"
|
|
224
224
|
});
|
|
@@ -230,7 +230,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
230
230
|
}
|
|
231
231
|
async function fileExists(filePath) {
|
|
232
232
|
try {
|
|
233
|
-
await
|
|
233
|
+
await fs$1.access(filePath);
|
|
234
234
|
return true;
|
|
235
235
|
} catch {
|
|
236
236
|
return false;
|
|
@@ -254,7 +254,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
254
254
|
}
|
|
255
255
|
async function readWorkspaceOnboardingState(statePath) {
|
|
256
256
|
try {
|
|
257
|
-
return parseWorkspaceOnboardingState(await
|
|
257
|
+
return parseWorkspaceOnboardingState(await fs$1.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
258
258
|
} catch (err) {
|
|
259
259
|
if (err.code !== "ENOENT") throw err;
|
|
260
260
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -268,20 +268,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
268
268
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
269
269
|
}
|
|
270
270
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
271
|
-
await
|
|
271
|
+
await fs$1.mkdir(path.dirname(statePath), { recursive: true });
|
|
272
272
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
273
273
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
274
274
|
try {
|
|
275
|
-
await
|
|
276
|
-
await
|
|
275
|
+
await fs$1.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
276
|
+
await fs$1.rename(tmpPath, statePath);
|
|
277
277
|
} catch (err) {
|
|
278
|
-
await
|
|
278
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
279
279
|
throw err;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
async function hasGitRepo(dir) {
|
|
283
283
|
try {
|
|
284
|
-
await
|
|
284
|
+
await fs$1.stat(path.join(dir, ".git"));
|
|
285
285
|
return true;
|
|
286
286
|
} catch {
|
|
287
287
|
return false;
|
|
@@ -311,7 +311,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
311
311
|
}
|
|
312
312
|
async function ensureAgentWorkspace(params) {
|
|
313
313
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
314
|
-
await
|
|
314
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
315
315
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
316
316
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
317
317
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -338,7 +338,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
338
338
|
const paths = [...templatePaths, ...userContentPaths];
|
|
339
339
|
return (await Promise.all(paths.map(async (p) => {
|
|
340
340
|
try {
|
|
341
|
-
await
|
|
341
|
+
await fs$1.access(p);
|
|
342
342
|
return true;
|
|
343
343
|
} catch {
|
|
344
344
|
return false;
|
|
@@ -371,7 +371,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
371
371
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
372
372
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
373
373
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
374
|
-
const [identityContent, userContent] = await Promise.all([
|
|
374
|
+
const [identityContent, userContent] = await Promise.all([fs$1.readFile(identityPath, "utf-8"), fs$1.readFile(userPath, "utf-8")]);
|
|
375
375
|
const hasUserContent = await (async () => {
|
|
376
376
|
const indicators = [
|
|
377
377
|
path.join(dir, "memory"),
|
|
@@ -379,7 +379,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
379
379
|
path.join(dir, ".git")
|
|
380
380
|
];
|
|
381
381
|
for (const indicator of indicators) try {
|
|
382
|
-
await
|
|
382
|
+
await fs$1.access(indicator);
|
|
383
383
|
return true;
|
|
384
384
|
} catch {}
|
|
385
385
|
return false;
|
|
@@ -410,7 +410,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
410
410
|
for (const name of candidates) {
|
|
411
411
|
const filePath = path.join(resolvedDir, name);
|
|
412
412
|
try {
|
|
413
|
-
await
|
|
413
|
+
await fs$1.access(filePath);
|
|
414
414
|
entries.push({
|
|
415
415
|
name,
|
|
416
416
|
filePath
|
|
@@ -423,7 +423,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
423
423
|
for (const entry of entries) {
|
|
424
424
|
let key = entry.filePath;
|
|
425
425
|
try {
|
|
426
|
-
key = await
|
|
426
|
+
key = await fs$1.realpath(entry.filePath);
|
|
427
427
|
} catch {}
|
|
428
428
|
if (seen.has(key)) continue;
|
|
429
429
|
seen.add(key);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
2
2
|
import { t as createWork } from "./envelope-CtjIakvq.js";
|
|
3
3
|
import { t as redactIdentifier } from "./redact-identifier-CSPL9LuH.js";
|
|
4
4
|
import { t as CommandLane } from "./lanes-DA0g5tPR.js";
|
|
@@ -238,7 +238,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
238
238
|
return true;
|
|
239
239
|
}
|
|
240
240
|
async function defaultExecute(claim) {
|
|
241
|
-
const { runMainAgentTurn } = await import("./reply-
|
|
241
|
+
const { runMainAgentTurn } = await import("./reply-BIZ2zaUq.js").then((n) => n.g);
|
|
242
242
|
return runMainAgentTurn(claim.message.payload);
|
|
243
243
|
}
|
|
244
244
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -250,7 +250,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
250
250
|
startedAt: opts?.startedAt ?? Date.now()
|
|
251
251
|
};
|
|
252
252
|
waiters.set(sessionKey, handle);
|
|
253
|
-
const { getQueueSize } = await import("./command-queue-
|
|
253
|
+
const { getQueueSize } = await import("./command-queue-B1RxJ6bM.js").then((n) => n.r);
|
|
254
254
|
if (handle.cancelled || closing) return;
|
|
255
255
|
const release = (force = false) => {
|
|
256
256
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -272,7 +272,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
272
272
|
}
|
|
273
273
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
274
274
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
275
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
275
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-B1RxJ6bM.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
276
276
|
const policy = payload.busy ?? "skip";
|
|
277
277
|
const id = agentTurnIdempotencyKey(payload);
|
|
278
278
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -336,7 +336,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
336
336
|
if (held) return;
|
|
337
337
|
releasingHead.add(sessionKey);
|
|
338
338
|
const publishedWorkId = await publishAgentTurn(backbone, payload);
|
|
339
|
-
const { getAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
339
|
+
const { getAgentTurnRuntime } = await import("./agent-turn-runner-DFZxbjaC.js").then((n) => n.t);
|
|
340
340
|
const execute = opts?.execute ?? defaultExecute;
|
|
341
341
|
releaseSucceeded = (await getAgentTurnRuntime().runner.claimAndExecute({
|
|
342
342
|
workId: publishedWorkId,
|
package/dist/{agent-turn-recovery-adapter-BRVxIXJY.js → agent-turn-recovery-adapter-DF3vdyE5.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-
|
|
2
|
+
import "./utils-CMEUUHmM.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
4
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID, u as isSessionRecoveryTurnPayload } from "./agent-turn-enqueue-Dwz_R_DW.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/acp/control-plane/agent-turn-recovery.ts
|
|
@@ -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-DDZBycwS.js";
|
|
3
3
|
import { N as parseAgentSessionKey } from "./session-key-B1wN38jV.js";
|
|
4
|
-
import { Qa as CLIENT_RESUME_RECORD_KIND, eo as isVerificationStoreError } from "./model-selection-
|
|
4
|
+
import { Qa as CLIENT_RESUME_RECORD_KIND, eo as isVerificationStoreError } from "./model-selection-k68XU4oS.js";
|
|
5
5
|
import { l as onDiagnosticEvent, s as emitDiagnosticEvent } from "./task-run-types-B5uIC1Y7.js";
|
|
6
6
|
import { t as redactIdentifier } from "./redact-identifier-CSPL9LuH.js";
|
|
7
|
-
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-
|
|
8
|
-
import { n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
7
|
+
import { n as AGENT_TURN_DEFAULT_LEASE_MS, r as AGENT_TURN_TOPIC, t as AGENT_TURN_CONSUMER_ID } from "./agent-turn-enqueue-Dwz_R_DW.js";
|
|
8
|
+
import { n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BntUAL0_.js";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
import { readFileSync } from "node:fs";
|
|
11
11
|
import { dirname, join, parse } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mn as loadAgentIdentityFromWorkspace, pn as identityHasValues } from "./reply-
|
|
2
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { mn as loadAgentIdentityFromWorkspace, pn as identityHasValues } from "./reply-BIZ2zaUq.js";
|
|
2
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
|
|
3
3
|
import { d as normalizeAgentId } from "./session-key-B1wN38jV.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import { O as logVerbose, j as shouldLogVerbose } from "./utils-
|
|
2
|
+
import { O as logVerbose, j as shouldLogVerbose } from "./utils-CMEUUHmM.js";
|
|
3
3
|
import "./thinking-DDYFn78t.js";
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./exec-
|
|
8
|
-
import "./model-selection-
|
|
4
|
+
import "./agent-scope-CWTkr4pS.js";
|
|
5
|
+
import "./subsystem-DDZBycwS.js";
|
|
6
|
+
import "./logger-0VqfDbvM.js";
|
|
7
|
+
import "./exec-CHq-p5L0.js";
|
|
8
|
+
import "./model-selection-k68XU4oS.js";
|
|
9
9
|
import "./github-copilot-token-D9l3eOWF.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
|
-
import "./env-
|
|
11
|
+
import "./env-ESh4ZX9l.js";
|
|
12
12
|
import "./version-D7fFgMO6.js";
|
|
13
13
|
import "./retry-policy-BIRWkDiU.js";
|
|
14
14
|
import "./artifacts-qv_OgPMd.js";
|
|
15
15
|
import "./chat-envelope-DOpfcKGq.js";
|
|
16
16
|
import "./task-run-types-B5uIC1Y7.js";
|
|
17
17
|
import "./static-server-C-iTMRyz.js";
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./fs-safe-
|
|
20
|
-
import { _ as isAudioAttachment, d as listAudioAttachments, i as normalizeMediaAttachments, l as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, u as findCarriedTranscript } from "./audio-transcription-runner-
|
|
21
|
-
import "./fetch-guard-
|
|
22
|
-
import "./ssrf-
|
|
23
|
-
import "./proxy-fetch-
|
|
24
|
-
import "./pi-embedded-helpers-
|
|
25
|
-
import "./local-roots-
|
|
26
|
-
import "./image-ops-
|
|
18
|
+
import "./path-alias-guards-BSmwo1rT.js";
|
|
19
|
+
import "./fs-safe-DD7KXuvI.js";
|
|
20
|
+
import { _ as isAudioAttachment, d as listAudioAttachments, i as normalizeMediaAttachments, l as audioOrdinalOf, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription, u as findCarriedTranscript } from "./audio-transcription-runner-D-d42kdt.js";
|
|
21
|
+
import "./fetch-guard-CjyGDRXN.js";
|
|
22
|
+
import "./ssrf-B85AIIOO.js";
|
|
23
|
+
import "./proxy-fetch-Czv8kxaL.js";
|
|
24
|
+
import "./pi-embedded-helpers-DEHXX7Dr.js";
|
|
25
|
+
import "./local-roots-_qt4-Ma5.js";
|
|
26
|
+
import "./image-ops-DcqCZEUY.js";
|
|
27
27
|
import "./redact-CQtYLB4a.js";
|
|
28
28
|
import "./errors-z_JCBnTo.js";
|
|
29
|
-
import "./models-config-
|
|
30
|
-
import "./model-catalog-
|
|
31
|
-
import "./api-key-rotation-
|
|
32
|
-
import "./provider-image-
|
|
33
|
-
import "./pi-model-discovery-
|
|
34
|
-
import "./pi-embedded-utils-
|
|
35
|
-
import "./sandbox-
|
|
29
|
+
import "./models-config-Burwt3mB.js";
|
|
30
|
+
import "./model-catalog-C7itJJDM.js";
|
|
31
|
+
import "./api-key-rotation-BEt1ZchD.js";
|
|
32
|
+
import "./provider-image-RxbXQIow.js";
|
|
33
|
+
import "./pi-model-discovery-CfUi22Es.js";
|
|
34
|
+
import "./pi-embedded-utils-BhOMYPQU.js";
|
|
35
|
+
import "./sandbox-Ft7cM-PQ.js";
|
|
36
36
|
import "./tool-catalog-B6wH7-iE.js";
|
|
37
|
-
import "./extension-relay-auth-
|
|
38
|
-
import "./tailscale-
|
|
39
|
-
import "./tailnet-
|
|
40
|
-
import "./ws-
|
|
41
|
-
import "./auth-
|
|
42
|
-
import "./server-context-
|
|
37
|
+
import "./extension-relay-auth-C-1c9CZk.js";
|
|
38
|
+
import "./tailscale-DbsrfsUT.js";
|
|
39
|
+
import "./tailnet-G5phL2pY.js";
|
|
40
|
+
import "./ws-BuVK_u9S.js";
|
|
41
|
+
import "./auth-DeLQvx-N.js";
|
|
42
|
+
import "./server-context-Dezs5R_M.js";
|
|
43
43
|
import "./frontmatter-B8Zb_8go.js";
|
|
44
|
-
import "./skills-
|
|
45
|
-
import "./store-
|
|
46
|
-
import "./chrome-
|
|
47
|
-
import "./trash-
|
|
48
|
-
import "./ports-
|
|
49
|
-
import "./server-middleware-
|
|
50
|
-
import "./tool-display-
|
|
44
|
+
import "./skills-Buc1RWDY.js";
|
|
45
|
+
import "./store-DoqX9VsZ.js";
|
|
46
|
+
import "./chrome-DXHMnxHS.js";
|
|
47
|
+
import "./trash-BcRk_NVC.js";
|
|
48
|
+
import "./ports-CX4cOSom.js";
|
|
49
|
+
import "./server-middleware-BND1EkTO.js";
|
|
50
|
+
import "./tool-display-D63I3y22.js";
|
|
51
51
|
|
|
52
52
|
//#region src/media-understanding/audio-preflight.ts
|
|
53
53
|
/**
|
package/dist/{audio-transcription-runner-DbLu4y_x.js → audio-transcription-runner-D-d42kdt.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { At as resolvePreferredOpenClawTmpDir, O as logVerbose, _t as isNotFoundPathError, j as shouldLogVerbose, yt as isSymlinkOpenError } from "./utils-
|
|
2
|
-
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as runExec } from "./exec-
|
|
5
|
-
import { Gt as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Jt as resolveIMessageAttachmentRoots, Kt as isInboundPathAllowed, d as normalizeProviderId, hr as getActivePluginRegistry, nt as requireApiKey, qt as mergeInboundPathRoots, rt as resolveApiKeyForProvider } from "./model-selection-
|
|
1
|
+
import { At as resolvePreferredOpenClawTmpDir, O as logVerbose, _t as isNotFoundPathError, j as shouldLogVerbose, yt as isSymlinkOpenError } from "./utils-CMEUUHmM.js";
|
|
2
|
+
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues } from "./agent-scope-CWTkr4pS.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
|
|
4
|
+
import { n as runExec } from "./exec-CHq-p5L0.js";
|
|
5
|
+
import { Gt as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, Jt as resolveIMessageAttachmentRoots, Kt as isInboundPathAllowed, d as normalizeProviderId, hr as getActivePluginRegistry, nt as requireApiKey, qt as mergeInboundPathRoots, rt as resolveApiKeyForProvider } from "./model-selection-k68XU4oS.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-Bpw8crN9.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-DwpMsAKA.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CjyGDRXN.js";
|
|
9
|
+
import { i as resolveProxyFetchFromEnv } from "./proxy-fetch-Czv8kxaL.js";
|
|
10
10
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-BXebcnwh.js";
|
|
11
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
12
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
11
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-_qt4-Ma5.js";
|
|
12
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DcqCZEUY.js";
|
|
13
13
|
import { a as formatUncaughtError, c as readErrorName, n as extractErrorCode, t as collectErrorGraphCandidates } from "./errors-z_JCBnTo.js";
|
|
14
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
15
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
16
|
-
import { t as describeImageWithModel } from "./provider-image-
|
|
14
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-C7itJJDM.js";
|
|
15
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BEt1ZchD.js";
|
|
16
|
+
import { t as describeImageWithModel } from "./provider-image-RxbXQIow.js";
|
|
17
17
|
import process$1 from "node:process";
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fs$1, { rm } from "node:fs/promises";
|
|
23
23
|
import crypto from "node:crypto";
|
|
24
24
|
|
|
25
25
|
//#region src/auto-reply/templating.ts
|
|
@@ -845,7 +845,7 @@ var MediaAttachmentCache = class {
|
|
|
845
845
|
const size = await this.ensureLocalStat(entry);
|
|
846
846
|
if (entry.resolvedPath) {
|
|
847
847
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
848
|
-
const buffer = await
|
|
848
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
849
849
|
entry.buffer = buffer;
|
|
850
850
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
851
851
|
buffer,
|
|
@@ -914,10 +914,10 @@ var MediaAttachmentCache = class {
|
|
|
914
914
|
prefix: "openclaw-media",
|
|
915
915
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
916
916
|
});
|
|
917
|
-
await
|
|
917
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
918
918
|
entry.tempPath = tmpPath;
|
|
919
919
|
entry.tempCleanup = async () => {
|
|
920
|
-
await
|
|
920
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
921
921
|
};
|
|
922
922
|
return {
|
|
923
923
|
path: tmpPath,
|
|
@@ -965,13 +965,13 @@ var MediaAttachmentCache = class {
|
|
|
965
965
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
966
966
|
try {
|
|
967
967
|
const currentPath = entry.resolvedPath;
|
|
968
|
-
const stat = await
|
|
968
|
+
const stat = await fs$1.stat(currentPath);
|
|
969
969
|
if (!stat.isFile()) {
|
|
970
970
|
entry.resolvedPath = void 0;
|
|
971
971
|
entry.localPathSecurityRejected = true;
|
|
972
972
|
return;
|
|
973
973
|
}
|
|
974
|
-
const canonicalPath = await
|
|
974
|
+
const canonicalPath = await fs$1.realpath(currentPath);
|
|
975
975
|
if (!isInboundPathAllowed({
|
|
976
976
|
filePath: canonicalPath,
|
|
977
977
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -995,7 +995,7 @@ var MediaAttachmentCache = class {
|
|
|
995
995
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
996
996
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
997
997
|
if (root.includes("*")) return root;
|
|
998
|
-
return await
|
|
998
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
999
999
|
}))))();
|
|
1000
1000
|
return await this.canonicalLocalPathRoots;
|
|
1001
1001
|
}
|
|
@@ -1061,7 +1061,7 @@ function stripCarriedTranscriptFromBody(body, carried) {
|
|
|
1061
1061
|
async function fileExists(filePath) {
|
|
1062
1062
|
if (!filePath) return false;
|
|
1063
1063
|
try {
|
|
1064
|
-
await
|
|
1064
|
+
await fs$1.stat(filePath);
|
|
1065
1065
|
return true;
|
|
1066
1066
|
} catch {
|
|
1067
1067
|
return false;
|
|
@@ -1169,7 +1169,7 @@ async function resolveCliOutput(params) {
|
|
|
1169
1169
|
const commandId = commandBase(params.command);
|
|
1170
1170
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1171
1171
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1172
|
-
const content = await
|
|
1172
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1173
1173
|
if (content.trim()) return content.trim();
|
|
1174
1174
|
} catch {}
|
|
1175
1175
|
if (commandId === "gemini") {
|
|
@@ -1506,10 +1506,10 @@ async function runCliEntry(params) {
|
|
|
1506
1506
|
timeoutMs
|
|
1507
1507
|
});
|
|
1508
1508
|
if (capability === "audio") assertMinAudioSize({
|
|
1509
|
-
size: (await
|
|
1509
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1510
1510
|
attachmentIndex: params.attachmentIndex
|
|
1511
1511
|
});
|
|
1512
|
-
const outputDir = await
|
|
1512
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1513
1513
|
const mediaPath = pathResult.path;
|
|
1514
1514
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1515
1515
|
const templCtx = {
|
|
@@ -1543,7 +1543,7 @@ async function runCliEntry(params) {
|
|
|
1543
1543
|
model: command
|
|
1544
1544
|
};
|
|
1545
1545
|
} finally {
|
|
1546
|
-
await
|
|
1546
|
+
await fs$1.rm(outputDir, {
|
|
1547
1547
|
recursive: true,
|
|
1548
1548
|
force: true
|
|
1549
1549
|
}).catch(() => {});
|
|
@@ -1588,9 +1588,9 @@ function candidateBinaryNames(name) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
async function isExecutable(filePath) {
|
|
1590
1590
|
try {
|
|
1591
|
-
if (!(await
|
|
1591
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1592
1592
|
if (process.platform === "win32") return true;
|
|
1593
|
-
await
|
|
1593
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1594
1594
|
return true;
|
|
1595
1595
|
} catch {
|
|
1596
1596
|
return false;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { nt as INCLUDE_KEY, ot as extensionUsesSkippedScannerPath, rt as MAX_INCLUDE_DEPTH, st as isPathInside } from "./utils-
|
|
3
|
-
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues, d as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { nt as INCLUDE_KEY, ot as extensionUsesSkippedScannerPath, rt as MAX_INCLUDE_DEPTH, st as isPathInside } from "./utils-CMEUUHmM.js";
|
|
3
|
+
import { F as resolveAgentModelPrimaryValue, P as resolveAgentModelFallbackValues, d as resolveDefaultAgentId } from "./agent-scope-CWTkr4pS.js";
|
|
4
4
|
import { d as normalizeAgentId } from "./session-key-B1wN38jV.js";
|
|
5
|
-
import { Ju as hasConfiguredSecretInput, Kc as normalizeTrustedSafeBinDirs, Mt as createConfigIO, Wn as normalizePluginsConfig, ac as GATEWAY_CLIENT_MODES, an as isDangerousNetworkMode, fc as normalizeStringEntries, iu as safeStat, nu as formatPermissionRemediation, oc as GATEWAY_CLIENT_NAMES, on as normalizeNetworkMode, ru as inspectPathPermissions, ts as listChannelPlugins, tu as formatPermissionDetail } from "./model-selection-
|
|
5
|
+
import { Ju as hasConfiguredSecretInput, Kc as normalizeTrustedSafeBinDirs, Mt as createConfigIO, Wn as normalizePluginsConfig, ac as GATEWAY_CLIENT_MODES, an as isDangerousNetworkMode, fc as normalizeStringEntries, iu as safeStat, nu as formatPermissionRemediation, oc as GATEWAY_CLIENT_NAMES, on as normalizeNetworkMode, ru as inspectPathPermissions, ts as listChannelPlugins, tu as formatPermissionDetail } from "./model-selection-k68XU4oS.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
7
7
|
import { t as readManifestNamespace } from "./legacy-names-Cj47SC7a.js";
|
|
8
8
|
import { i as formatErrorMessage } from "./errors-z_JCBnTo.js";
|
|
9
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
10
|
-
import { s as resolveGatewayAuth } from "./auth-
|
|
11
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
12
|
-
import { a as resolveBrowserControlAuth } from "./server-context-
|
|
13
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
14
|
-
import { i as resolveProfile, r as resolveBrowserConfig } from "./trash-
|
|
15
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { p as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
19
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
20
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
9
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-Ft7cM-PQ.js";
|
|
10
|
+
import { s as resolveGatewayAuth } from "./auth-DeLQvx-N.js";
|
|
11
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-Hn2dA0oB.js";
|
|
12
|
+
import { a as resolveBrowserControlAuth } from "./server-context-Dezs5R_M.js";
|
|
13
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-Buc1RWDY.js";
|
|
14
|
+
import { i as resolveProfile, r as resolveBrowserConfig } from "./trash-BcRk_NVC.js";
|
|
15
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-tFdLuF5k.js";
|
|
16
|
+
import { t as GatewayClient } from "./client-BbpMX08n.js";
|
|
17
|
+
import { p as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-Cl6Q0T5z.js";
|
|
18
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-CQ7fjFFo.js";
|
|
19
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-KSPaR73B.js";
|
|
20
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-4GqIom7_.js";
|
|
21
21
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-BtJNZJcz.js";
|
|
22
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
22
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-_vJAsBIN.js";
|
|
23
23
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-gv_rp-w_.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CU6_xh9V.js";
|
|
25
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
26
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
25
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BA3h34y0.js";
|
|
26
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-B9A0wAU6.js";
|
|
27
27
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-TCG6mnbz.js";
|
|
28
28
|
import { t as inferParamBFromIdOrName } from "./model-param-b-4PN786ZX.js";
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import JSON5 from "json5";
|
|
31
|
-
import * as fs from "node:fs/promises";
|
|
32
|
-
import
|
|
31
|
+
import * as fs$1 from "node:fs/promises";
|
|
32
|
+
import fs from "node:fs/promises";
|
|
33
33
|
import { randomUUID } from "node:crypto";
|
|
34
34
|
import { isIP } from "node:net";
|
|
35
35
|
|
|
@@ -1301,7 +1301,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1301
1301
|
if (visited.has(resolved)) continue;
|
|
1302
1302
|
visited.add(resolved);
|
|
1303
1303
|
result.push(resolved);
|
|
1304
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1304
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1305
1305
|
if (!rawText) continue;
|
|
1306
1306
|
const nestedParsed = (() => {
|
|
1307
1307
|
try {
|
|
@@ -1336,7 +1336,7 @@ function expandTilde(p, env) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1338
1338
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1339
|
-
const raw = await
|
|
1339
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1340
1340
|
if (!raw.trim()) return [];
|
|
1341
1341
|
const extensions = readManifestNamespace(JSON.parse(raw))?.extensions;
|
|
1342
1342
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1358,7 +1358,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1358
1358
|
};
|
|
1359
1359
|
return {
|
|
1360
1360
|
extensionsDir,
|
|
1361
|
-
pluginDirs: (await
|
|
1361
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1362
1362
|
params.onReadError?.(err);
|
|
1363
1363
|
return [];
|
|
1364
1364
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1421,7 +1421,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
async function readInstalledPackageVersion(dir) {
|
|
1423
1423
|
try {
|
|
1424
|
-
const raw = await
|
|
1424
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1425
1425
|
const parsed = JSON.parse(raw);
|
|
1426
1426
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1427
1427
|
} catch {
|
|
@@ -1457,10 +1457,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1457
1457
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1458
1458
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1459
1459
|
const dir = queue.shift();
|
|
1460
|
-
const dirRealPath = await
|
|
1460
|
+
const dirRealPath = await fs.realpath(dir).catch(() => path.resolve(dir));
|
|
1461
1461
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1462
1462
|
visitedDirs.add(dirRealPath);
|
|
1463
|
-
const entries = await
|
|
1463
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1464
1464
|
for (const entry of entries) {
|
|
1465
1465
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1466
1466
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1469,7 +1469,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1469
1469
|
continue;
|
|
1470
1470
|
}
|
|
1471
1471
|
if (entry.isSymbolicLink()) {
|
|
1472
|
-
const stat = await
|
|
1472
|
+
const stat = await fs.stat(fullPath).catch(() => null);
|
|
1473
1473
|
if (!stat) continue;
|
|
1474
1474
|
if (stat.isDirectory()) {
|
|
1475
1475
|
queue.push(fullPath);
|
|
@@ -1759,13 +1759,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1759
1759
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1760
1760
|
for (const workspaceDir of workspaceDirs) {
|
|
1761
1761
|
const workspacePath = path.resolve(workspaceDir);
|
|
1762
|
-
const workspaceRealPath = await
|
|
1762
|
+
const workspaceRealPath = await fs.realpath(workspacePath).catch(() => workspacePath);
|
|
1763
1763
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1764
1764
|
for (const skillFilePath of skillFilePaths) {
|
|
1765
1765
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1766
1766
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1767
1767
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1768
|
-
const skillRealPath = await
|
|
1768
|
+
const skillRealPath = await fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|