agent-by-maxxit 2026.3.5 → 2026.3.6
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/{accounts-XJFhzPYG.js → accounts-B4GWAwqJ.js} +1 -1
- package/dist/{accounts-oWL_i9yA.js → accounts-BQ9W4R9M.js} +7 -7
- package/dist/{accounts-DyWxdAjx.js → accounts-CddWkbJ5.js} +1 -1
- package/dist/{acp-cli-DatVQkik.js → acp-cli-D3hzqr7Q.js} +8 -8
- package/dist/{agent-scope-hVDdnrCE.js → agent-scope-D3LG5eGP.js} +17 -17
- package/dist/{agents-BG6QE_Q4.js → agents-bxfVuTkX.js} +14 -14
- package/dist/{agents.config-DgX4mOEG.js → agents.config-Ckfsi4oH.js} +2 -2
- package/dist/{api-key-rotation-qsOe6vUV.js → api-key-rotation-C11rA5V8.js} +1 -1
- package/dist/{audio-preflight-oE503xur.js → audio-preflight--OfTlRqp.js} +4 -4
- package/dist/{audio-preflight-CQ5COoGj.js → audio-preflight-Bi-_6qfe.js} +36 -36
- package/dist/{audio-preflight-CljnbqSl.js → audio-preflight-Cbp4SF6V.js} +4 -4
- package/dist/{audio-transcription-runner-CIG2AqF6.js → audio-transcription-runner-C2sSXTur.js} +1 -1
- package/dist/{audio-transcription-runner-DjunUhox.js → audio-transcription-runner-CjbCwyC6.js} +22 -22
- package/dist/{audio-transcription-runner-C7xdjyjH.js → audio-transcription-runner-D0LTNmz-.js} +1 -1
- package/dist/{audit-BpzlPaDQ.js → audit-BA5Vb8Go.js} +29 -29
- package/dist/{auth-CT3Lhqkp.js → auth-CqAZUSpE.js} +1 -1
- package/dist/{auth-choice-BCgypUYd.js → auth-choice-BI-nisLV.js} +13 -13
- package/dist/{auth-choice-DsOwqq4V.js → auth-choice-ddCeB_bT.js} +11 -11
- package/dist/{auth-choice.apply-helpers-C6aeqh3p.js → auth-choice.apply-helpers-f5bOSO-l.js} +1 -1
- package/dist/{auth-profiles-Y3C9mPS4.js → auth-profiles-BzcTCHuD.js} +16 -16
- package/dist/{auth-token-C5zuOcHs.js → auth-token-BF_it2jk.js} +1 -1
- package/dist/{banner-DjNOkzvn.js → banner-BuVg6tBx.js} +2 -2
- package/dist/{bindings-QsHje-Cn.js → bindings-B3DF-fBK.js} +1 -1
- package/dist/{bonjour-discovery-B_F_henz.js → bonjour-discovery-C2DnOZvv.js} +1 -1
- package/dist/{browser-cli-Bu9SmMJP.js → browser-cli-CDLApVOP.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-DqdhrbUY.js → call-CqyBf4cz.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CqCu_4Nv.js → channel-account-context-CFlHfizD.js} +5 -5
- package/dist/{channel-activity-BmHgNjQD.js → channel-activity-8tt7qvo7.js} +1 -1
- package/dist/{channel-options-DzbFPCwT.js → channel-options-BzNQWS2-.js} +3 -3
- package/dist/{channel-selection-BtAVSmGO.js → channel-selection-Bmho75kH.js} +1 -1
- package/dist/{channel-web-DROhwiPU.js → channel-web-C8oKvkdq.js} +20 -20
- package/dist/{channels-cli-dHoMCdiD.js → channels-cli-d6yiMP-i.js} +99 -99
- package/dist/{channels-status-issues-3_D0Lmjv.js → channels-status-issues-9XKA4YUL.js} +1 -1
- package/dist/{chrome-CSoSD-cm.js → chrome-DMbclyRu.js} +8 -8
- package/dist/{chrome-ByhV1l-c.js → chrome-HTDlbsbX.js} +8 -8
- package/dist/{chrome-CtPI5_oU.js → chrome-uTxyyjdg.js} +4 -4
- package/dist/{clawbot-cli-DGcqw_s9.js → clawbot-cli-CKzVjZIl.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-D7inacBQ.js +165 -0
- package/dist/{client-D_wl-_u7.js → client-DKiXEJiX.js} +2 -2
- package/dist/{command-registry-B_o4-qxi.js → command-registry-YsixwaES.js} +11 -11
- package/dist/{command-secret-targets-C7UZJkCy.js → command-secret-targets-DzKmEU-d.js} +4 -4
- package/dist/{commands-Z5DuLVbd.js → commands-j-tQK7S8.js} +1 -1
- package/dist/{commands-registry-CLWZi3Ad.js → commands-registry-BUfPjP5y.js} +3 -3
- package/dist/{completion-cli-yZGqE4oA.js → completion-cli-CGIhiyjE.js} +13 -13
- package/dist/{config-cli-Fyz8R-Pb.js → config-cli-D_cAf-Ep.js} +7 -7
- package/dist/{config-guard-dN_ACN5C.js → config-guard-DGohTk2V.js} +3 -3
- package/dist/{config-validation-E6tyI1hF.js → config-validation-DIvKmEQ1.js} +3 -3
- package/dist/{configure-D4SLCmxn.js → configure-DyUBBNhu.js} +17 -17
- package/dist/control-ui/assets/index-6-jJJXpz.css +1 -0
- package/dist/control-ui/assets/{index-DlpSYXxx.js → index-Cgw35tpu.js} +1 -1
- package/dist/control-ui/assets/{index-DlpSYXxx.js.map → index-Cgw35tpu.js.map} +1 -1
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-B5gxamKh.js → control-ui-assets-os1me9Hl.js} +1 -1
- package/dist/{cron-cli-CIQdCDsN.js → cron-cli-D9Uurtf0.js} +12 -12
- package/dist/{daemon-cli-BAgtQFJp.js → daemon-cli-CLs9WyWO.js} +15 -15
- package/dist/{daemon-install-DGqxE31q.js → daemon-install-CWlN0Q6j.js} +4 -4
- package/dist/{daemon-install-helpers-BRB23ZrZ.js → daemon-install-helpers-_pM_kZz1.js} +11 -11
- package/dist/{deliver-D_LN_Q9v.js → deliver-DDyzyTge.js} +1 -1
- package/dist/{deliver-hLku6jzV.js → deliver-DjYIZE5k.js} +7 -7
- package/dist/{deliver-NVTgxtyo.js → deliver-DqJSxIHI.js} +1 -1
- package/dist/{devices-cli-B_Ssvgk-.js → devices-cli-CtR5Ebbt.js} +8 -8
- package/dist/{diagnostic-GkNAf_C-.js → diagnostic-CIoyBOdF.js} +1 -1
- package/dist/{diagnostics-Beg97CXg.js → diagnostics-Tak9pzpa.js} +5 -5
- package/dist/{directory-cli-D2mDF_gn.js → directory-cli-DSJoNyq1.js} +8 -8
- package/dist/{dns-cli-q2BIjFC9.js → dns-cli-9d0RzzA5.js} +5 -5
- package/dist/{dock-CHq-y7Mc.js → dock-DIlxhL_D.js} +4 -4
- package/dist/{docs-cli-CHzuhiih.js → docs-cli-DDKPmGFp.js} +4 -4
- package/dist/{doctor-completion-CqrWaaiD.js → doctor-completion-Dj4c--KO.js} +2 -2
- package/dist/{doctor-config-flow-ETUkK7Fn.js → doctor-config-flow-ifuab7ny.js} +15 -15
- package/dist/{enable-B8K1ksfk.js → enable-CfaJG6-1.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-G-63Bo-w.js → exec-approvals-allowlist-CRbT3lp2.js} +1 -1
- package/dist/{exec-approvals-cli-JkM_B_uR.js → exec-approvals-cli-Cyg-4zEt.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-B0DzR83-.js → exec-safe-bin-runtime-policy-B9j1kf1q.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-NVhXpJZg.js → fetch-D0Pea_dJ.js} +3 -3
- package/dist/{fetch-guard-C6VeHXdk.js → fetch-guard-DJ-3EJoL.js} +1 -1
- package/dist/{fs-safe-BvJDV0CL.js → fs-safe-B-vdFD_H.js} +24 -24
- package/dist/{gateway-cli-uLEXp0k1.js → gateway-cli-DHgY2VEs.js} +159 -159
- package/dist/{gateway-rpc-BYj5kxL5.js → gateway-rpc-yRNxW8E3.js} +1 -1
- package/dist/{health-eJMdSHb0.js → health-Che187M7.js} +13 -13
- package/dist/{hooks-cli-aIsQ4V_3.js → hooks-cli-BX9yl3A0.js} +87 -87
- package/dist/{hooks-status-BMFNZX-0.js → hooks-status-EIQXvdNh.js} +1 -1
- package/dist/{image-BskNfw28.js → image-BexkGf_8.js} +5 -5
- package/dist/{image-B1gizNAp.js → image-DKCa-8el.js} +1 -1
- package/dist/{image-xNK9UJ_v.js → image-nZs9a6cY.js} +1 -1
- package/dist/{plugin-sdk/image-ops-CZmeU-Pj.js → image-ops-7wb5Yox5.js} +12 -12
- package/dist/{inspect-HfFDWhm9.js → inspect-Z6ZdGROw.js} +4 -4
- package/dist/{install-safe-path-CXghlObB.js → install-safe-path-D8uh0pTT.js} +25 -25
- package/dist/{installs-5N7DQExc.js → installs-qsppx5GR.js} +9 -9
- package/dist/{ipv4-DdOtS8md.js → ipv4-DkPDc4tH.js} +1 -1
- package/dist/{ir-D43SBPu9.js → ir-CSIrGW-Q.js} +6 -6
- package/dist/{issue-format-DrJGFnBA.js → issue-format-DW0z3NIc.js} +1 -1
- package/dist/{json-files-DrZ4qfxw.js → json-files-1hhV5hS6.js} +8 -8
- package/dist/{lifecycle-core-Dy2xa_VR.js → lifecycle-core-C2dHtgOC.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-CdW8ZoK6.js → login-CPTHAJX_.js} +3 -3
- package/dist/{login-qr-CkmXWUv9.js → login-qr-QVdk4192.js} +6 -6
- package/dist/{logs-cli-BsEK3iKX.js → logs-cli-C1Ytmtzt.js} +9 -9
- package/dist/{manager-LBxgkdus.js → manager-D3KoFqYg.js} +14 -14
- package/dist/{manifest-registry-D8gmUt07.js → manifest-registry-CWyEq0x6.js} +1 -1
- package/dist/{markdown-tables-Cx7-ELj7.js → markdown-tables-Dpc8S0aC.js} +1 -1
- package/dist/{memory-cli-D5ELir9S.js → memory-cli-DDccSbjp.js} +13 -13
- package/dist/{model-9U9S2bDU.js → model-ANTIG2Nw.js} +2 -2
- package/dist/{model-catalog-ITmCDeVt.js → model-catalog-D-YDJhWi.js} +3 -3
- package/dist/{model-picker-CKaXEeUy.js → model-picker-qYTrh-Zm.js} +4 -4
- package/dist/{models-Zsd4HqNF.js → models-CMXaV8hj.js} +17 -17
- package/dist/{models-cli-CjYA4zoS.js → models-cli-BX7E6os4.js} +84 -84
- package/dist/{models-config-nzC097bW.js → models-config-ppD04Poi.js} +6 -6
- package/dist/{net-BKefOuez.js → net-YnfQ0uWo.js} +2 -2
- package/dist/{node-cli-Dot8VMH_.js → node-cli-DZhXpCWk.js} +33 -33
- package/dist/{node-command-policy-BDKP7Pt3.js → node-command-policy-zLKYRHW4.js} +1 -1
- package/dist/{node-service-asyzQMGD.js → node-service-F-8biBuf.js} +1 -1
- package/dist/{nodes-cli-PsgNomFj.js → nodes-cli-n5U_MeZM.js} +16 -16
- package/dist/{nodes-screen-BfvKsn0T.js → nodes-screen-BrpaMFx5.js} +7 -7
- package/dist/{npm-pack-install-Deu3I8Tq.js → npm-pack-install-DJsqKGFB.js} +18 -18
- package/dist/{npm-resolution-ChAsMIJB.js → npm-resolution-BZp9Qqtp.js} +4 -4
- package/dist/{onboard-DYlgSA72.js → onboard-D8hyqZVt.js} +6 -6
- package/dist/{onboard-channels-BbwXdL-5.js → onboard-channels-DLlVZQ0H.js} +21 -21
- package/dist/{onboard-custom-BUjfyjtJ.js → onboard-custom-DzPaF-tZ.js} +4 -4
- package/dist/{onboard-helpers-Z5FVjXLW.js → onboard-helpers-Ckty-XwY.js} +10 -10
- package/dist/{onboard-hooks-BQKBDx7a.js → onboard-hooks-CtE-D0ms.js} +4 -4
- package/dist/{onboard-remote-k01zaTPk.js → onboard-remote-CPrEJiNk.js} +4 -4
- package/dist/{onboard-skills-CjbPwuOh.js → onboard-skills-DVoOqKOU.js} +4 -4
- package/dist/{onboarding-CKRyPc00.js → onboarding-BtVprGnk.js} +14 -14
- package/dist/{onboarding.finalize-REQw4jfz.js → onboarding.finalize-CTRJiNpC.js} +93 -93
- package/dist/{onboarding.gateway-config-AbYmu0sP.js → onboarding.gateway-config-ChIRjrGC.js} +19 -19
- package/dist/{onboarding.secret-input-CRb-msRu.js → onboarding.secret-input-B25XVg9H.js} +1 -1
- package/dist/{openai-model-default-AO6lvjM6.js → openai-model-default-CIGVp3gv.js} +2 -2
- package/dist/{openclaw-root-BdY28BAd.js → openclaw-root-BBhRiXOM.js} +8 -8
- package/dist/{outbound-q-Em15ry.js → outbound-BfejN80Y.js} +4 -4
- package/dist/{outbound-attachment-BnVhS0kC.js → outbound-attachment-iUF6TRLR.js} +2 -2
- package/dist/{pairing-cli-CGZIGzwD.js → pairing-cli-BjH-0YtB.js} +9 -9
- package/dist/{pairing-labels-CdlCl6b7.js → pairing-labels-DXEvEoHU.js} +1 -1
- package/dist/{pairing-store-Dvge8spl.js → pairing-store-Dm5M8nac.js} +3 -3
- package/dist/{path-alias-guards-C6POGt-_.js → path-alias-guards-CcIbUOvm.js} +3 -3
- package/dist/{path-safety-DT2Vevqe.js → path-safety-CxG06q5C.js} +1 -1
- package/dist/{paths-DqCWt6mo.js → paths-DNnDq5QA.js} +9 -9
- package/dist/{pi-embedded-BdbKlBJE.js → pi-embedded-Dcu2wRQT.js} +22 -22
- package/dist/{pi-embedded-helpers-DrTDQxUY.js → pi-embedded-helpers-BP9hUV2d.js} +3 -3
- package/dist/{pi-embedded-helpers-fo6J7kYx.js → pi-embedded-helpers-Dt8lI6MF.js} +3 -3
- package/dist/{pi-embedded-helpers-CeL1b0vT.js → pi-embedded-helpers-W0gm_mSX.js} +6 -6
- package/dist/{pi-embedded-n_Vl0uQM.js → pi-embedded-uS1V4rXj.js} +22 -22
- package/dist/{pi-model-discovery-CC_90MaE.js → pi-model-discovery-b34a3qLn.js} +1 -1
- package/dist/{pi-tools.policy-D-WSj62s.js → pi-tools.policy--V8Fbqfs.js} +5 -5
- package/dist/{plugin-auto-enable-CViZCnbe.js → plugin-auto-enable-D9hQ0p2I.js} +3 -3
- package/dist/{plugin-registry-CK_60X9L.js → plugin-registry-CpL6A6n-.js} +3 -3
- package/dist/plugin-sdk/{accounts-BYOHun4X.js → accounts-CYGPgayk.js} +1 -1
- package/dist/plugin-sdk/{accounts-BLtLgEOV.js → accounts-DRkG5jgH.js} +3 -3
- package/dist/plugin-sdk/{accounts-BBQ5mExC.js → accounts-Dqs54YEV.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Dey9pVQC.js → active-listener-vl-WAU2d.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C57WO-XF.js → agent-scope-1Dpe2MaL.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-CZarMGKL.js → api-key-rotation-DEsUBsK5.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CH6srFuB.js → audio-preflight-U5E4N628.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-CASGXFCB.js → audio-transcription-runner-DDkucqlO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BUE7mXea.js → bindings-DTXll8Bw.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DaT_BaTc.js → channel-activity-CI0apvB1.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BTp5oTAu.js → channel-web-BE4nm5M0.js} +23 -23
- package/dist/plugin-sdk/{chrome-htJyvqDw.js → chrome-B3PlaLov.js} +7 -7
- package/dist/plugin-sdk/{chunk-CP475iVy.js → chunk-D89ug4aC.js} +1 -1
- package/dist/plugin-sdk/{command-format-DrMb5z6y.js → command-format-BpMZCn8C.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-DKSthywz.js → commands-registry-BrOekU4F.js} +5 -5
- package/dist/plugin-sdk/{config-CPCY3FqU.js → config-D3iB8b-X.js} +10 -10
- package/dist/plugin-sdk/{deliver-BDG-aUmt.js → deliver-Bm63_d-p.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-CreZPXHB.js → diagnostic-Dv63SHkl.js} +2 -2
- package/dist/plugin-sdk/{dock-BFOCR4Cv.js → dock-DkwLDxwG.js} +6 -6
- package/dist/plugin-sdk/{errors-FIAhYZOM.js → errors-j62kd98e.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dw_EdBYY.js → fetch-guard-BOj5gJ3D.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-ywwvdDn-.js → fs-safe-Cesmzd_1.js} +3 -3
- package/dist/plugin-sdk/{image-BYHcg5PG.js → image-CQdSpZ30.js} +6 -6
- package/dist/{image-ops-IOymQb5n.js → plugin-sdk/image-ops-BuHXkRUJ.js} +2 -2
- package/dist/plugin-sdk/index.js +63 -63
- package/dist/plugin-sdk/{ir-BE6RobVx.js → ir-PbaVf8Pc.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DvaqdsR0.js → local-roots-Brn2bQHp.js} +4 -4
- package/dist/plugin-sdk/{logger-CKTCGxce.js → logger-BMQ5-QIm.js} +1 -1
- package/dist/plugin-sdk/{login-BHpX84yD.js → login-CnhpAbKk.js} +6 -6
- package/dist/plugin-sdk/{login-qr-jcxfFqNF.js → login-qr-ByKUnApO.js} +9 -9
- package/dist/plugin-sdk/{manager-DLkHjDGt.js → manager-CakPkaLR.js} +9 -9
- package/dist/plugin-sdk/{markdown-tables-D9bfhRxd.js → markdown-tables-AqSWAFbJ.js} +1 -1
- package/dist/plugin-sdk/{message-channel-cieJmJxl.js → message-channel-CeT7VSWc.js} +1 -1
- package/dist/plugin-sdk/{outbound-D3xGQ08L.js → outbound-Bu5Ketj9.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-C3dhyPMz.js → outbound-attachment-D_6uwHXt.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CjnZ_C_4.js → path-alias-guards-BOq8JlcP.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Dhy-QCHJ.js → pi-embedded-helpers-D1-HAOVT.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-Dt9PYTVE.js → pi-model-discovery-ksROcfpT.js} +1 -1
- package/dist/plugin-sdk/{plugins-DtDFOeIL.js → plugins-iWuU9C4P.js} +6 -6
- package/dist/plugin-sdk/{proxy-fetch-Dq-8cbvD.js → proxy-fetch-OjH6B3Qb.js} +1 -1
- package/dist/plugin-sdk/{proxy-kG6_R621.js → proxy-nmvY2jff.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DBOtmTIr.js → pw-ai-tnXRu_DT.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-DhH9Rufk.js → qmd-manager-NGpff2jp.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C0FRt8Lm.js → query-expansion-D2NcqWA5.js} +2 -2
- package/dist/plugin-sdk/{redact-oqbnq7O_.js → redact-DnFmuVyC.js} +1 -1
- package/dist/plugin-sdk/{registry-BgRKUjit.js → registry-iIY71sxB.js} +2 -2
- package/dist/plugin-sdk/{replies-CbR3ndkw.js → replies-D_EA_U8F.js} +3 -3
- package/dist/plugin-sdk/{reply-Dgg_YUPz.js → reply-LYcLWixY.js} +92 -92
- package/dist/plugin-sdk/{reply-prefix-DFH_fhVb.js → reply-prefix-x9iIBtD4.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BwbXbfcV.js → resolve-outbound-target-DP8JKWIp.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BQUbFwnz.js → resolve-route-CFBHWBtc.js} +4 -4
- package/dist/plugin-sdk/{send-Bqd5v6o9.js → send-BBkxdg8z.js} +7 -7
- package/dist/plugin-sdk/{send-BSrEspuF.js → send-BwgvFkbw.js} +15 -15
- package/dist/plugin-sdk/{send-CvHPa-aY.js → send-CPvU3uxK.js} +6 -6
- package/dist/plugin-sdk/{send-CivqJpME.js → send-CXNGsl17.js} +8 -8
- package/dist/plugin-sdk/{send-CaIgOCWn.js → send-guKF1KHR.js} +9 -9
- package/dist/plugin-sdk/{session-BWcQTQ4G.js → session-DaLIvT_W.js} +5 -5
- package/dist/plugin-sdk/{session-meta-DBEvFsmZ.js → session-meta-BP5HjSSd.js} +1 -1
- package/dist/plugin-sdk/{sessions-CGWUP7mB.js → sessions-eo8bpcuy.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-BefljBfs.js → skill-commands-KFzjHbou.js} +5 -5
- package/dist/plugin-sdk/{skills-CxecjhUH.js → skills-CtjcdtWm.js} +8 -8
- package/dist/plugin-sdk/{ssrf-BDdmhXpY.js → ssrf-CBsksGsI.js} +1 -1
- package/dist/plugin-sdk/{store-feSm4pM8.js → store-DBYFiPnj.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B7wUpHo8.js → subsystem-BGaQtTCo.js} +2 -2
- package/dist/plugin-sdk/{tables-Ck9TtuUZ.js → tables-Brv2cNlQ.js} +1 -1
- package/dist/{target-errors-CsEK7JzY.js → plugin-sdk/target-errors-CkJW8CjF.js} +2 -2
- package/dist/plugin-sdk/{tokens-BDcUAlGI.js → tokens-dRHEWW44.js} +1 -1
- package/dist/plugin-sdk/{tool-images-w4jHQHyF.js → tool-images-B2GhMTPf.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DACCGaWb.js → tool-loop-detection-CSXnFgoF.js} +2 -2
- package/dist/plugin-sdk/{utils-q4LdWkAx.js → utils-BXaq5ncX.js} +1 -1
- package/dist/plugin-sdk/web-BhHAL2Hs.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-CgEJiFpX.js → whatsapp-actions-piZLn_6W.js} +25 -25
- package/dist/{plugins-cli-DGW4thz6.js → plugins-cli-Dumq91I7.js} +89 -89
- package/dist/{plugins-Bec_K_Km.js → plugins-pjMGY3Ff.js} +2 -2
- package/dist/{ports-CxWKRiex.js → ports-BNi9vlzN.js} +1 -1
- package/dist/{ports-D4ViSLQW.js → ports-DdiGvHfW.js} +2 -2
- package/dist/{program-ifeEeU9r.js → program-BcbqJI8x.js} +87 -87
- package/dist/{prompt-select-styled-Bo1OEo-N.js → prompt-select-styled-B8Udmp9R.js} +39 -39
- package/dist/{provider-auth-helpers-Dug1G4FN.js → provider-auth-helpers-Dm4ZfwBl.js} +5 -5
- package/dist/{proxy-env-DHAs4nNx.js → proxy-env-CoKIDLTy.js} +1 -1
- package/dist/{push-apns-_z8LKZ5r.js → push-apns-CY5fn0PI.js} +5 -5
- package/dist/{pw-ai-CWW5O4NI.js → pw-ai-4t0ltwF9.js} +1 -1
- package/dist/{pw-ai-DU6KN1Rz.js → pw-ai-Dfyj71zv.js} +15 -15
- package/dist/{pw-ai-rk3YHFZQ.js → pw-ai-sN0zFy2L.js} +1 -1
- package/dist/{qmd-manager-UmCLR0A2.js → qmd-manager-wrQquS_x.js} +20 -20
- package/dist/{qr-cli-Dl4UXNs6.js → qr-cli-78Dsj8tT.js} +2 -2
- package/dist/{query-expansion-BmYBVK0o.js → query-expansion-zaBhD17b.js} +12 -12
- package/dist/{redact-snapshot-C9dFa5l6.js → redact-snapshot-DfYBOxcS.js} +1 -1
- package/dist/{register.agent-3S3Ot_vM.js → register.agent-I-wOzHos.js} +100 -100
- package/dist/register.configure-DukNoFp3.js +173 -0
- package/dist/{register.maintenance-DFShWS7f.js → register.maintenance-BT5rcHGu.js} +101 -101
- package/dist/{register.message-BejC0gIT.js → register.message-BfjHEaMl.js} +80 -80
- package/dist/{register.onboard-DyD1fIGf.js → register.onboard-DJZjEEhq.js} +19 -19
- package/dist/{register.setup-BXOg4fgS.js → register.setup-DVSwq8h1.js} +22 -22
- package/dist/{register.status-health-sessions-BllmysmT.js → register.status-health-sessions-D-6mqpxT.js} +94 -94
- package/dist/{register.subclis-biJY6vb3.js → register.subclis-BAvAZ2_P.js} +31 -31
- package/dist/{replies--QXsOAAp.js → replies-anp-OAQX.js} +1 -1
- package/dist/{reply-prefix-mOxhtgX3.js → reply-prefix-BNNN8mUR.js} +1 -1
- package/dist/{resolve-route-BOLxNMeY.js → resolve-route-D3XsqQ2_.js} +2 -2
- package/dist/{rpc-IXlhCc6T.js → rpc-DuaDtvJS.js} +1 -1
- package/dist/{run-main-DBoYgDb5.js → run-main-ChkAeasl.js} +98 -98
- package/dist/{runtime-BwK026Vr.js → runtime-Dc3oUR4P.js} +3 -3
- package/dist/{runtime-config-collectors-D6ssammf.js → runtime-config-collectors-BwzVW27A.js} +1 -1
- package/dist/{sandbox-upJ_teC2.js → sandbox-BwoN4yrm.js} +18 -18
- package/dist/{sandbox-cli-BmY6L26C.js → sandbox-cli-Cf4VQl25.js} +26 -26
- package/dist/{secrets-cli-BMKK7uSi.js → secrets-cli-BI_gxM27.js} +11 -11
- package/dist/{security-cli-Cq9x7dQn.js → security-cli-kqbPlwcE.js} +43 -43
- package/dist/{send-DyoSZ4Ky.js → send-B7WDv5L8.js} +6 -6
- package/dist/{send-CE-Akh_H.js → send-BayywzIU.js} +5 -5
- package/dist/{send-CHwGY9Bm.js → send-C86RW-YZ.js} +9 -9
- package/dist/{send-D_GRJbZM.js → send-D3zS5N-k.js} +6 -6
- package/dist/{send-BJyjnpZv.js → send-P5jrqJ1k.js} +12 -12
- package/dist/{server-C7KCNnBS.js → server-DpUDdcT7.js} +19 -19
- package/dist/{server-context-CBt43bgh.js → server-context-Ca9rXIh7.js} +12 -12
- package/dist/{server-lifecycle-BrMhSOQy.js → server-lifecycle-C28SlPUr.js} +2 -2
- package/dist/{server-middleware-C68SVS98.js → server-middleware-CVQf1zZ-.js} +1 -1
- package/dist/{server-node-events-oROLDxi9.js → server-node-events-D9l1QcfP.js} +80 -80
- package/dist/{service-DRnaFMRA.js → service-CTngDq35.js} +15 -15
- package/dist/{session-BhHu-_oR.js → session-e0jLjhFf.js} +1 -1
- package/dist/{session-meta-74n1j4qF.js → session-meta-xUOCsB3X.js} +1 -1
- package/dist/{session-utils-Ve1Ujb08.js → session-utils-CoWd9Agi.js} +6 -6
- package/dist/{sessions-CSAqiFKu.js → sessions-Bxoww6za.js} +15 -15
- package/dist/{sessions-BlOe4GlC.js → sessions-DGjE8NfZ.js} +4 -4
- package/dist/{shared-BDJ2gkr2.js → shared-D3gHhG5u.js} +1 -1
- package/dist/{shared-Dk3-s5Fj.js → shared-DXtLVnm6.js} +3 -3
- package/dist/{skill-commands-Y_ut-uzH.js → skill-commands-W_byhFPU.js} +5 -5
- package/dist/{skill-scanner-BJAGRe1W.js → skill-scanner-UEpXDcFZ.js} +6 -6
- package/dist/{skills-B_VpM414.js → skills-CUFbDcG0.js} +3 -3
- package/dist/{skills-cli-DS9hGN6a.js → skills-cli-CnV26SJH.js} +5 -5
- package/dist/{skills-install-BTqtWoNm.js → skills-install-C_r4zGxd.js} +6 -6
- package/dist/{skills-status-BQ7w4e18.js → skills-status-jZ7Rv-tY.js} +1 -1
- package/dist/{status-BGd3eLCk.js → status-DKrERoHA.js} +27 -27
- package/dist/{status.update-CSEUQHL6.js → status.update-q9tG_Cs1.js} +2 -2
- package/dist/{store-CA7EMNXv.js → store-CvRz4GXZ.js} +5 -5
- package/dist/{subagent-registry-CN0YNN1J.js → subagent-registry-CXLD03ZK.js} +158 -158
- package/dist/{system-cli--mEkHW6t.js → system-cli-qU4z3bqX.js} +9 -9
- package/dist/{system-run-command-B74ejyyb.js → system-run-command-BbYAA5Wu.js} +1 -1
- package/dist/{systemd-4TrOFthV.js → systemd-DJgO3cBN.js} +9 -9
- package/dist/{systemd-hints-Cirb9prH.js → systemd-hints-CG8NbqWq.js} +6 -6
- package/dist/{systemd-linger-CkcDtIte.js → systemd-linger-BaDEijHB.js} +1 -1
- package/dist/{tables-CbnLy9fG.js → tables-Dpdabh49.js} +1 -1
- package/dist/{tailnet-L8-fTWqn.js → tailnet-ksto_7-Q.js} +1 -1
- package/dist/{plugin-sdk/target-errors-CCIBuF0s.js → target-errors-tesI024Z.js} +4 -4
- package/dist/{tool-images-Du_5kQW4.js → tool-images-DuvYbF99.js} +1 -1
- package/dist/{tui-B4fDA6_h.js → tui-BOKrG8u6.js} +6 -6
- package/dist/{tui-cli-Byj6mMof.js → tui-cli-BZ46YfC8.js} +33 -33
- package/dist/{update-CTi5uMtq.js → update-DIo71fGe.js} +3 -3
- package/dist/{update-cli-CQxqFrCp.js → update-cli-BUmX2t_3.js} +110 -110
- package/dist/{update-runner-1wPj9RHv.js → update-runner-kn7lBW0-.js} +16 -16
- package/dist/{web-BijOIrbg.js → web-C9F3YVwv.js} +6 -6
- package/dist/web-DCJlqoz5.js +126 -0
- package/dist/{web-oDv2lae2.js → web-Dhwvn2gm.js} +6 -6
- package/dist/{webhooks-cli-LPISExRf.js → webhooks-cli-B9KZuH9P.js} +6 -6
- package/dist/{whatsapp-actions-kXGNEbjx.js → whatsapp-actions-Rz8c8iLA.js} +19 -19
- package/dist/{with-timeout-_N8CJB7f.js → with-timeout-Cp_8owuc.js} +3 -3
- package/dist/{workspace-PnmIsKPt.js → workspace-DhVHJzcF.js} +1 -1
- package/dist/{workspace-dirs-CDFcC-2Z.js → workspace-dirs-BiWS1NRW.js} +1 -1
- package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
- package/package.json +1 -1
- package/dist/cli-CrMKL_Ow.js +0 -165
- package/dist/control-ui/assets/index-E0j6Tkrc.css +0 -1
- package/dist/plugin-sdk/web-Bm-vZSTf.js +0 -71
- package/dist/register.configure-IZhLgAk_.js +0 -173
- package/dist/web-CSvVEYNp.js +0 -126
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-BQ9W4R9M.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -7,7 +7,7 @@ import { f as jidToE164, v as resolveUserPath } from "./utils-YPVWJ7za.js";
|
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fsPromises from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-helpers.ts
|
|
13
13
|
function createAccountListHelpers(channelKey) {
|
|
@@ -96,14 +96,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
96
96
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
97
97
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
98
98
|
try {
|
|
99
|
-
await
|
|
99
|
+
await fsPromises.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fsPromises.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fsPromises.readFile(credsPath, "utf-8");
|
|
107
107
|
JSON.parse(raw);
|
|
108
108
|
return true;
|
|
109
109
|
} catch {
|
|
@@ -111,7 +111,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
114
|
-
const entries = await
|
|
114
|
+
const entries = await fsPromises.readdir(authDir, { withFileTypes: true });
|
|
115
115
|
const shouldDelete = (name) => {
|
|
116
116
|
if (name === "oauth.json") return false;
|
|
117
117
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -121,7 +121,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
121
121
|
await Promise.all(entries.map(async (entry) => {
|
|
122
122
|
if (!entry.isFile()) return;
|
|
123
123
|
if (!shouldDelete(entry.name)) return;
|
|
124
|
-
await
|
|
124
|
+
await fsPromises.rm(path.join(authDir, entry.name), { force: true });
|
|
125
125
|
}));
|
|
126
126
|
}
|
|
127
127
|
async function logoutWeb(params) {
|
|
@@ -132,7 +132,7 @@ async function logoutWeb(params) {
|
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
135
|
-
else await
|
|
135
|
+
else await fsPromises.rm(resolvedAuthDir, {
|
|
136
136
|
recursive: true,
|
|
137
137
|
force: true
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-BQ9W4R9M.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -3,10 +3,10 @@ import "./paths-CAonEsCX.js";
|
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-CRSU7cvB.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { n as isMainModule } from "./entry.js";
|
|
6
|
-
import { F as loadConfig } from "./auth-profiles-
|
|
7
|
-
import "./agent-scope-
|
|
6
|
+
import { F as loadConfig } from "./auth-profiles-BzcTCHuD.js";
|
|
7
|
+
import "./agent-scope-D3LG5eGP.js";
|
|
8
8
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-YPVWJ7za.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BBhRiXOM.js";
|
|
10
10
|
import "./logger-C5v0nhQP.js";
|
|
11
11
|
import "./exec-Blrpwo4Y.js";
|
|
12
12
|
import "./github-copilot-token-DuNeBSE5.js";
|
|
@@ -14,13 +14,13 @@ import "./host-env-security-lcjXF83D.js";
|
|
|
14
14
|
import { t as VERSION } from "./version-B7TNfFMY.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
16
|
import "./registry-DucmdCgk.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-CWyEq0x6.js";
|
|
18
18
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BuQDev8M.js";
|
|
19
|
-
import { t as GatewayClient } from "./client-
|
|
20
|
-
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import { t as GatewayClient } from "./client-DKiXEJiX.js";
|
|
20
|
+
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-CqyBf4cz.js";
|
|
21
21
|
import "./pairing-token-CAlBmy4r.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-YnfQ0uWo.js";
|
|
23
|
+
import "./tailnet-ksto_7-Q.js";
|
|
24
24
|
import { r as isKnownCoreToolId } from "./tool-catalog-CDe8aNjS.js";
|
|
25
25
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-D0wwE7yg.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-BfL_Z9Fz.js";
|
|
@@ -2,13 +2,13 @@ import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-CAonE
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CRSU7cvB.js";
|
|
3
3
|
import { C as isCronSessionKey, T as parseAgentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isSubagentSessionKey } from "./session-key-BLprDJYq.js";
|
|
4
4
|
import { m as pathExists, v as resolveUserPath } from "./utils-YPVWJ7za.js";
|
|
5
|
-
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
5
|
+
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-BBhRiXOM.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-Blrpwo4Y.js";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
|
-
import
|
|
11
|
+
import fsPromises from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/config/model-input.ts
|
|
14
14
|
function resolveAgentModelPrimaryValue(model) {
|
|
@@ -150,7 +150,7 @@ async function loadTemplate(name) {
|
|
|
150
150
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
151
151
|
const templatePath = path.join(templateDir, name);
|
|
152
152
|
try {
|
|
153
|
-
return stripFrontMatter(await
|
|
153
|
+
return stripFrontMatter(await fsPromises.readFile(templatePath, "utf-8"));
|
|
154
154
|
} catch {
|
|
155
155
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
156
156
|
}
|
|
@@ -165,7 +165,7 @@ async function loadTemplate(name) {
|
|
|
165
165
|
}
|
|
166
166
|
async function writeFileIfMissing(filePath, content) {
|
|
167
167
|
try {
|
|
168
|
-
await
|
|
168
|
+
await fsPromises.writeFile(filePath, content, {
|
|
169
169
|
encoding: "utf-8",
|
|
170
170
|
flag: "wx"
|
|
171
171
|
});
|
|
@@ -177,7 +177,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
177
177
|
}
|
|
178
178
|
async function fileExists(filePath) {
|
|
179
179
|
try {
|
|
180
|
-
await
|
|
180
|
+
await fsPromises.access(filePath);
|
|
181
181
|
return true;
|
|
182
182
|
} catch {
|
|
183
183
|
return false;
|
|
@@ -201,7 +201,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
201
201
|
}
|
|
202
202
|
async function readWorkspaceOnboardingState(statePath) {
|
|
203
203
|
try {
|
|
204
|
-
return parseWorkspaceOnboardingState(await
|
|
204
|
+
return parseWorkspaceOnboardingState(await fsPromises.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
205
205
|
} catch (err) {
|
|
206
206
|
if (err.code !== "ENOENT") throw err;
|
|
207
207
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -215,20 +215,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
215
215
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
216
216
|
}
|
|
217
217
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
218
|
-
await
|
|
218
|
+
await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
|
|
219
219
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
220
220
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
221
221
|
try {
|
|
222
|
-
await
|
|
223
|
-
await
|
|
222
|
+
await fsPromises.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
223
|
+
await fsPromises.rename(tmpPath, statePath);
|
|
224
224
|
} catch (err) {
|
|
225
|
-
await
|
|
225
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
226
226
|
throw err;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
async function hasGitRepo(dir) {
|
|
230
230
|
try {
|
|
231
|
-
await
|
|
231
|
+
await fsPromises.stat(path.join(dir, ".git"));
|
|
232
232
|
return true;
|
|
233
233
|
} catch {
|
|
234
234
|
return false;
|
|
@@ -258,7 +258,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
258
258
|
}
|
|
259
259
|
async function ensureAgentWorkspace(params) {
|
|
260
260
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
261
|
-
await
|
|
261
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
262
262
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
263
263
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
264
264
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -285,7 +285,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
285
285
|
const paths = [...templatePaths, ...userContentPaths];
|
|
286
286
|
return (await Promise.all(paths.map(async (p) => {
|
|
287
287
|
try {
|
|
288
|
-
await
|
|
288
|
+
await fsPromises.access(p);
|
|
289
289
|
return true;
|
|
290
290
|
} catch {
|
|
291
291
|
return false;
|
|
@@ -318,7 +318,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
318
318
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
319
319
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
320
320
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
321
|
-
const [identityContent, userContent] = await Promise.all([
|
|
321
|
+
const [identityContent, userContent] = await Promise.all([fsPromises.readFile(identityPath, "utf-8"), fsPromises.readFile(userPath, "utf-8")]);
|
|
322
322
|
const hasUserContent = await (async () => {
|
|
323
323
|
const indicators = [
|
|
324
324
|
path.join(dir, "memory"),
|
|
@@ -326,7 +326,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
326
326
|
path.join(dir, ".git")
|
|
327
327
|
];
|
|
328
328
|
for (const indicator of indicators) try {
|
|
329
|
-
await
|
|
329
|
+
await fsPromises.access(indicator);
|
|
330
330
|
return true;
|
|
331
331
|
} catch {}
|
|
332
332
|
return false;
|
|
@@ -357,7 +357,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
357
357
|
for (const name of candidates) {
|
|
358
358
|
const filePath = path.join(resolvedDir, name);
|
|
359
359
|
try {
|
|
360
|
-
await
|
|
360
|
+
await fsPromises.access(filePath);
|
|
361
361
|
entries.push({
|
|
362
362
|
name,
|
|
363
363
|
filePath
|
|
@@ -370,7 +370,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
370
370
|
for (const entry of entries) {
|
|
371
371
|
let key = entry.filePath;
|
|
372
372
|
try {
|
|
373
|
-
key = await
|
|
373
|
+
key = await fsPromises.realpath(entry.filePath);
|
|
374
374
|
} catch {}
|
|
375
375
|
if (seen.has(key)) continue;
|
|
376
376
|
seen.add(key);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-CRSU7cvB.js";
|
|
3
|
-
import { V as writeConfigFile, Xn as ensureAuthProfileStore, tr as resolveAuthStorePath } from "./auth-profiles-
|
|
3
|
+
import { V as writeConfigFile, Xn as ensureAuthProfileStore, tr as resolveAuthStorePath } from "./auth-profiles-BzcTCHuD.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
5
|
-
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-D3LG5eGP.js";
|
|
6
6
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-BLprDJYq.js";
|
|
7
7
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-YPVWJ7za.js";
|
|
8
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { I as identityHasValues, R as parseIdentityMarkdown } from "./subagent-registry-
|
|
8
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-pjMGY3Ff.js";
|
|
9
|
+
import { I as identityHasValues, R as parseIdentityMarkdown } from "./subagent-registry-CXLD03ZK.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-C4xWwHwo.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-Ckty-XwY.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-hQY-cEcz.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
15
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
15
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-DIvKmEQ1.js";
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Ckfsi4oH.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-DLlVZQ0H.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-CrI0mLQ0.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BVRCC-3c.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-ddCeB_bT.js";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fsPromises from "node:fs/promises";
|
|
23
23
|
|
|
24
24
|
//#region src/commands/agents.command-shared.ts
|
|
25
25
|
function createQuietRuntime(runtime) {
|
|
@@ -266,7 +266,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
266
266
|
//#region src/commands/agents.commands.add.ts
|
|
267
267
|
async function fileExists(pathname) {
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fsPromises.stat(pathname);
|
|
270
270
|
return true;
|
|
271
271
|
} catch {
|
|
272
272
|
return false;
|
|
@@ -408,8 +408,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
408
408
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
409
409
|
initialValue: false
|
|
410
410
|
})) {
|
|
411
|
-
await
|
|
412
|
-
await
|
|
411
|
+
await fsPromises.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
412
|
+
await fsPromises.copyFile(sourceAuthPath, destAuthPath);
|
|
413
413
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -557,7 +557,7 @@ const coerceTrimmed = (value) => {
|
|
|
557
557
|
};
|
|
558
558
|
async function loadIdentityFromFile(filePath) {
|
|
559
559
|
try {
|
|
560
|
-
const parsed = parseIdentityMarkdown(await
|
|
560
|
+
const parsed = parseIdentityMarkdown(await fsPromises.readFile(filePath, "utf-8"));
|
|
561
561
|
if (!identityHasValues(parsed)) return null;
|
|
562
562
|
return parsed;
|
|
563
563
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-D3LG5eGP.js";
|
|
2
2
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
3
|
-
import { I as identityHasValues, L as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { I as identityHasValues, L as loadAgentIdentityFromWorkspace } from "./subagent-registry-CXLD03ZK.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -18,8 +18,8 @@ import "./accounts-Bs2SDc5o.js";
|
|
|
18
18
|
import "./image-ops-COU6lJZp.js";
|
|
19
19
|
import "./pi-model-discovery-BFGtuuH_.js";
|
|
20
20
|
import "./message-channel-B1PvkJXZ.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./chrome-
|
|
21
|
+
import "./pi-embedded-helpers-BP9hUV2d.js";
|
|
22
|
+
import "./chrome-DMbclyRu.js";
|
|
23
23
|
import "./frontmatter-DIRc-IR1.js";
|
|
24
24
|
import "./skills-DRBcI9iP.js";
|
|
25
25
|
import "./path-alias-guards-CoDy6waf.js";
|
|
@@ -33,8 +33,8 @@ import "./accounts-BikIYxud.js";
|
|
|
33
33
|
import "./paths-Db1__atR.js";
|
|
34
34
|
import "./tool-images-Cli-EdRz.js";
|
|
35
35
|
import "./thinking-FnAYAFD8.js";
|
|
36
|
-
import "./image-
|
|
37
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
36
|
+
import "./image-nZs9a6cY.js";
|
|
37
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-D0LTNmz-.js";
|
|
38
38
|
import "./fetch-C0yjZIIU.js";
|
|
39
39
|
import "./fetch-guard-BVlLX4z0.js";
|
|
40
40
|
import "./api-key-rotation-KMjOQCkw.js";
|
|
@@ -2,10 +2,10 @@ import { a as logVerbose, c as shouldLogVerbose } from "./globals-6ksT-0zO.js";
|
|
|
2
2
|
import "./paths-CAonEsCX.js";
|
|
3
3
|
import "./subsystem-CRSU7cvB.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-BzcTCHuD.js";
|
|
6
|
+
import "./agent-scope-D3LG5eGP.js";
|
|
7
7
|
import "./utils-YPVWJ7za.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BBhRiXOM.js";
|
|
9
9
|
import "./logger-C5v0nhQP.js";
|
|
10
10
|
import "./exec-Blrpwo4Y.js";
|
|
11
11
|
import "./github-copilot-token-DuNeBSE5.js";
|
|
@@ -13,51 +13,51 @@ import "./host-env-security-lcjXF83D.js";
|
|
|
13
13
|
import "./version-B7TNfFMY.js";
|
|
14
14
|
import "./env-vars-mSSOl7Rv.js";
|
|
15
15
|
import "./registry-DucmdCgk.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./pi-model-discovery-
|
|
16
|
+
import "./manifest-registry-CWyEq0x6.js";
|
|
17
|
+
import "./dock-DIlxhL_D.js";
|
|
18
|
+
import "./pi-model-discovery-b34a3qLn.js";
|
|
19
19
|
import "./frontmatter-BLUo-dxn.js";
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
20
|
+
import "./skills-CUFbDcG0.js";
|
|
21
|
+
import "./path-alias-guards-CcIbUOvm.js";
|
|
22
22
|
import "./message-channel-BuQDev8M.js";
|
|
23
|
-
import "./sessions-
|
|
24
|
-
import "./plugins-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./accounts-
|
|
23
|
+
import "./sessions-Bxoww6za.js";
|
|
24
|
+
import "./plugins-pjMGY3Ff.js";
|
|
25
|
+
import "./accounts-BQ9W4R9M.js";
|
|
26
|
+
import "./accounts-CddWkbJ5.js";
|
|
27
27
|
import "./logging-CcxUDNcI.js";
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
28
|
+
import "./accounts-B4GWAwqJ.js";
|
|
29
|
+
import "./bindings-B3DF-fBK.js";
|
|
30
30
|
import "./paths-C4xWwHwo.js";
|
|
31
31
|
import "./chat-envelope-AUuZAcrC.js";
|
|
32
|
-
import "./net-
|
|
33
|
-
import "./tailnet-
|
|
34
|
-
import "./image-ops-
|
|
35
|
-
import "./pi-embedded-helpers-
|
|
36
|
-
import "./sandbox-
|
|
32
|
+
import "./net-YnfQ0uWo.js";
|
|
33
|
+
import "./tailnet-ksto_7-Q.js";
|
|
34
|
+
import "./image-ops-7wb5Yox5.js";
|
|
35
|
+
import "./pi-embedded-helpers-W0gm_mSX.js";
|
|
36
|
+
import "./sandbox-BwoN4yrm.js";
|
|
37
37
|
import "./tool-catalog-CDe8aNjS.js";
|
|
38
|
-
import "./chrome-
|
|
38
|
+
import "./chrome-uTxyyjdg.js";
|
|
39
39
|
import "./tailscale-CBZGtsga.js";
|
|
40
|
-
import "./auth-
|
|
41
|
-
import "./server-context-
|
|
42
|
-
import "./paths-
|
|
40
|
+
import "./auth-CqAZUSpE.js";
|
|
41
|
+
import "./server-context-Ca9rXIh7.js";
|
|
42
|
+
import "./paths-DNnDq5QA.js";
|
|
43
43
|
import "./redact-DBsOlXt4.js";
|
|
44
44
|
import "./errors-DLLvJYzE.js";
|
|
45
|
-
import "./fs-safe-
|
|
46
|
-
import "./proxy-env-
|
|
47
|
-
import "./store-
|
|
48
|
-
import "./ports-
|
|
45
|
+
import "./fs-safe-B-vdFD_H.js";
|
|
46
|
+
import "./proxy-env-CoKIDLTy.js";
|
|
47
|
+
import "./store-CvRz4GXZ.js";
|
|
48
|
+
import "./ports-DdiGvHfW.js";
|
|
49
49
|
import "./trash-LMeF6KAD.js";
|
|
50
|
-
import "./server-middleware-
|
|
51
|
-
import "./tool-images-
|
|
50
|
+
import "./server-middleware-CVQf1zZ-.js";
|
|
51
|
+
import "./tool-images-DuvYbF99.js";
|
|
52
52
|
import "./thinking-BxCyPtl0.js";
|
|
53
|
-
import "./models-config-
|
|
54
|
-
import "./model-catalog-
|
|
55
|
-
import "./fetch-
|
|
56
|
-
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
57
|
-
import "./fetch-guard-
|
|
58
|
-
import "./image-
|
|
53
|
+
import "./models-config-ppD04Poi.js";
|
|
54
|
+
import "./model-catalog-D-YDJhWi.js";
|
|
55
|
+
import "./fetch-D0Pea_dJ.js";
|
|
56
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CjbCwyC6.js";
|
|
57
|
+
import "./fetch-guard-DJ-3EJoL.js";
|
|
58
|
+
import "./image-BexkGf_8.js";
|
|
59
59
|
import "./tool-display-1KqodqDc.js";
|
|
60
|
-
import "./api-key-rotation-
|
|
60
|
+
import "./api-key-rotation-C11rA5V8.js";
|
|
61
61
|
import "./proxy-fetch-qikkz4pj.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -15,8 +15,8 @@ import "./accounts-B73HFRN4.js";
|
|
|
15
15
|
import "./image-ops-BkDPV7WW.js";
|
|
16
16
|
import "./pi-model-discovery-DcSBql50.js";
|
|
17
17
|
import "./message-channel-BNooCbhn.js";
|
|
18
|
-
import "./pi-embedded-helpers-
|
|
19
|
-
import "./chrome-
|
|
18
|
+
import "./pi-embedded-helpers-Dt8lI6MF.js";
|
|
19
|
+
import "./chrome-HTDlbsbX.js";
|
|
20
20
|
import "./skills-CXolfkTY.js";
|
|
21
21
|
import "./path-alias-guards-DjChka6P.js";
|
|
22
22
|
import "./redact-BqtlcPa1.js";
|
|
@@ -29,8 +29,8 @@ import "./accounts-DTauhlQB.js";
|
|
|
29
29
|
import "./paths-B9D-eJmV.js";
|
|
30
30
|
import "./tool-images-3zxhD1L7.js";
|
|
31
31
|
import "./thinking-kXAj2UX9.js";
|
|
32
|
-
import "./image-
|
|
33
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
32
|
+
import "./image-DKCa-8el.js";
|
|
33
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-C2sSXTur.js";
|
|
34
34
|
import "./fetch-DtmT21U5.js";
|
|
35
35
|
import "./fetch-guard-DP-FKga2.js";
|
|
36
36
|
import "./api-key-rotation-DVz6Ulec.js";
|
package/dist/{audio-transcription-runner-CIG2AqF6.js → audio-transcription-runner-C2sSXTur.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w a
|
|
|
3
3
|
import { A as requireApiKey, J as loadConfig, Rn as resolveOpenClawAgentDir, at as mergeInboundPathRoots, c as normalizeProviderId, h as normalizeGoogleModelId, it as isInboundPathAllowed, j as resolveApiKeyForProvider, ot as resolveIMessageAttachmentRoots, rt as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./model-selection-UcjHdMrM.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-CYPyHAj-.js";
|
|
5
5
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BkDPV7WW.js";
|
|
6
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
6
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DKCa-8el.js";
|
|
7
7
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DtmT21U5.js";
|
|
8
8
|
import { n as fetchWithTimeout } from "./fetch-timeout-BVa_Fx_T.js";
|
|
9
9
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DP-FKga2.js";
|
package/dist/{audio-transcription-runner-DjunUhox.js → audio-transcription-runner-CjbCwyC6.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-6ksT-0zO.js";
|
|
2
|
-
import { J as isInboundPathAllowed, Lr as normalizeGoogleModelId, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, li as requireApiKey, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ui as resolveApiKeyForProvider, vr as normalizeProviderId } from "./auth-profiles-
|
|
3
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
2
|
+
import { J as isInboundPathAllowed, Lr as normalizeGoogleModelId, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, li as requireApiKey, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ui as resolveApiKeyForProvider, vr as normalizeProviderId } from "./auth-profiles-BzcTCHuD.js";
|
|
3
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue } from "./agent-scope-D3LG5eGP.js";
|
|
4
4
|
import { n as runExec } from "./exec-Blrpwo4Y.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CfYBRycO.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-7wb5Yox5.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-DLLvJYzE.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-D-YDJhWi.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-D0Pea_dJ.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-COrrU_w2.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DJ-3EJoL.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-BexkGf_8.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-C11rA5V8.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-qikkz4pj.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fsPromises.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "openclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fsPromises.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fsPromises.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fsPromises.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fsPromises.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fsPromises.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fsPromises.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fsPromises.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fsPromises.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fsPromises.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fsPromises.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fsPromises.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fsPromises.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
package/dist/{audio-transcription-runner-C7xdjyjH.js → audio-transcription-runner-D0LTNmz-.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { _ as runExec } from "./workspace-anWdAKiL.js";
|
|
|
4
4
|
import { Ln as resolveOpenClawAgentDir, M as resolveApiKeyForProvider, Y as loadConfig, at as isInboundPathAllowed, c as normalizeProviderId, g as normalizeGoogleModelId, it as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, j as requireApiKey, ot as mergeInboundPathRoots, st as resolveIMessageAttachmentRoots } from "./model-selection-D2zKJb2f.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
6
6
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-COU6lJZp.js";
|
|
7
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-nZs9a6cY.js";
|
|
8
8
|
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-C0yjZIIU.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CYFFedEH.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-BVlLX4z0.js";
|