@bitseek/claw 1.2.9 → 1.3.0
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-2NNZ6Hbp.js → accounts-B3zSNWIv.js} +1 -1
- package/dist/{accounts-Cv5CUnT4.js → accounts-BQHz8_1_.js} +7 -7
- package/dist/{accounts-NHpMJ0aq.js → accounts-DTfEeXyO.js} +1 -1
- package/dist/{acp-cli-CyPiQ0lt.js → acp-cli-C24-lylb.js} +8 -8
- package/dist/{agent-scope-CY2-lUIY.js → agent-scope-CJelRKYY.js} +1 -1
- package/dist/{agents-BC3wwrO-.js → agents-Sp-v-_mR.js} +15 -15
- package/dist/{agents.config-CeG5P331.js → agents.config-C6zkqXkX.js} +2 -2
- package/dist/{api-key-rotation-Cf7QM5M_.js → api-key-rotation-xfk-b2Sv.js} +1 -1
- package/dist/{audio-preflight-iuCPDl1D.js → audio-preflight-Dl40LQzr.js} +36 -36
- package/dist/{audio-transcription-runner-CGADiTRL.js → audio-transcription-runner-jiDE7Pt8.js} +22 -22
- package/dist/{audit-Bjz6AFn-.js → audit-Bgu8Ommg.js} +29 -29
- package/dist/{auth-anvTU0Sb.js → auth-B3HDYw4G.js} +1 -1
- package/dist/{auth-choice-Co_Dl_bs.js → auth-choice-DYXCDlGW.js} +14 -14
- package/dist/{auth-choice-Dx1VT2I8.js → auth-choice-lzACBXDv.js} +12 -12
- package/dist/{auth-choice.apply-helpers-Du585kvU.js → auth-choice.apply-helpers-DR-eUj_5.js} +1 -1
- package/dist/{auth-profiles-CyG9VwU_.js → auth-profiles-D_x1_5v_.js} +16 -16
- package/dist/{auth-token-Cfvmvs2X.js → auth-token-BDQ5b9Wx.js} +1 -1
- package/dist/{banner-7O0OkDQ4.js → banner-CYVM4p3E.js} +2 -2
- package/dist/{bindings-DGvp9FdD.js → bindings-Hx6KNJeg.js} +1 -1
- package/dist/{bonjour-discovery-Dv9UQh6g.js → bonjour-discovery-DiHs5j0y.js} +1 -1
- package/dist/{browser-cli-C1OEYX9g.js → browser-cli-BMupJSz_.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CmAGfSJE.js → call-CzoM7hPS.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BrHQ7XHF.js → channel-account-context-BV3Q0XnD.js} +5 -5
- package/dist/{channel-options-BnZ1nSBu.js → channel-options-Cn6pNgzb.js} +3 -3
- package/dist/{channel-selection-DGtYwfd7.js → channel-selection-D8KYuWir.js} +1 -1
- package/dist/{channel-web-lHPdbnjv.js → channel-web-TsD9bdWt.js} +18 -18
- package/dist/{channels-cli-DEE_p7e9.js → channels-cli-DA8sLqQk.js} +95 -95
- package/dist/{channels-status-issues-BWcKByy7.js → channels-status-issues-CCNiQcg9.js} +1 -1
- package/dist/{chrome-DeZyLFsG.js → chrome-DuDCGdf-.js} +4 -4
- package/dist/{clawbot-cli-C6oL4o77.js → clawbot-cli-COQB6-NK.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CD5xP9w9.js → cli-DIs0fL3W.js} +76 -76
- package/dist/{client-vUKV2o6h.js → client-BvL3EdiZ.js} +2 -2
- package/dist/{command-registry-B41say0S.js → command-registry-By6zKf98.js} +13 -13
- package/dist/{commands-d8L0zY8O.js → commands-C67IbXs7.js} +1 -1
- package/dist/{commands-registry-C78O6aNi.js → commands-registry-D0_D5hFV.js} +3 -3
- package/dist/{completion-cli-DSxTjQik.js → completion-cli-CV7dNv8l.js} +13 -13
- package/dist/{config-cli-BMtY1oFI.js → config-cli-Dh9rvUxe.js} +7 -7
- package/dist/{config-guard-Bztdn_pu.js → config-guard-CcE0LvHm.js} +3 -3
- package/dist/{config-validation-CAkiRwLK.js → config-validation-DO7QURfM.js} +3 -3
- package/dist/{configure-Dz9z2cyD.js → configure-BYFIF9Sz.js} +17 -17
- package/dist/control-ui/assets/{index-puDi2eTY.js → index-CBxamjSz.js} +80 -80
- package/dist/control-ui/assets/index-CBxamjSz.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{control-ui-assets-BGvtXBkm.js → control-ui-assets-Dx8wiZQ_.js} +1 -1
- package/dist/{cron-cli-nslB2EKF.js → cron-cli-xl75rAFd.js} +12 -12
- package/dist/{daemon-cli-D8I8RTf0.js → daemon-cli-BSy0rtO2.js} +15 -15
- package/dist/{daemon-install-CKree1OU.js → daemon-install-d2OYSlQz.js} +4 -4
- package/dist/{daemon-install-helpers-CBCbs7y1.js → daemon-install-helpers-D28keNLu.js} +11 -11
- package/dist/{dashboard-dc7KG5Fm.js → dashboard-DXvihe_P.js} +2 -2
- package/dist/{deliver-BRwFsEUd.js → deliver-Df8pSQk6.js} +7 -7
- package/dist/{devices-cli-jakb5Fk0.js → devices-cli-D6CoUTi_.js} +8 -8
- package/dist/{diagnostic-DjxUqpmL.js → diagnostic-Bvatw1Xn.js} +1 -1
- package/dist/{diagnostics-DR9Z0mN5.js → diagnostics-ABz8E7c-.js} +5 -5
- package/dist/{directory-cli-3FgAtenS.js → directory-cli-Dkil59xj.js} +8 -8
- package/dist/{dns-cli-DUsjD4em.js → dns-cli-CJydclW8.js} +5 -5
- package/dist/{dock-CoclJnwp.js → dock-DT8sACcR.js} +4 -4
- package/dist/{docs-cli-CpIeooaU.js → docs-cli-BkufgU5Y.js} +4 -4
- package/dist/{doctor-completion-BSR7Om4e.js → doctor-completion-T9CxDBUR.js} +2 -2
- package/dist/{doctor-config-flow-DUdUJgfq.js → doctor-config-flow-BrXA2e34.js} +15 -15
- package/dist/{enable-BNycqpJc.js → enable-CinNZxRH.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CFjPSbxI.js → exec-approvals-allowlist-B4DS6FIn.js} +1 -1
- package/dist/{exec-approvals-cli-D8lFWgJj.js → exec-approvals-cli-Cani2Hjk.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CpMj95vJ.js → exec-safe-bin-runtime-policy-BP6ImlkB.js} +2 -2
- package/dist/{fetch-DOjg912W.js → fetch-DC-NMnAU.js} +3 -3
- package/dist/{fetch-guard-Csbz9pui.js → fetch-guard-B62rgaSw.js} +1 -1
- package/dist/{fs-safe-BqJ9egpm.js → fs-safe-CJDtl_QU.js} +24 -24
- package/dist/{gateway-cli-VrzgkvsB.js → gateway-cli-gzemofET.js} +161 -161
- package/dist/{gateway-rpc-B5Spvviy.js → gateway-rpc-C7KYwonl.js} +1 -1
- package/dist/{health-D4cJIlo7.js → health-CWmeMvVp.js} +14 -14
- package/dist/{hooks-cli-BPg6BqOl.js → hooks-cli-DzvdmY1Z.js} +84 -84
- package/dist/{hooks-status-6tcOdcYp.js → hooks-status-DE20AAEu.js} +1 -1
- package/dist/{image-CI4JYwnc.js → image-UpBiPNsk.js} +5 -5
- package/dist/{image-ops-B2L37gT8.js → image-ops-BGTBZMuE.js} +10 -10
- package/dist/{inspect-BzuEXYfa.js → inspect-Bmurt9te.js} +4 -4
- package/dist/{install-safe-path-C8QJ5yjB.js → install-safe-path-BB9b_AvF.js} +25 -25
- package/dist/{installs-CWbEA1d1.js → installs-BXcYytvn.js} +9 -9
- package/dist/{ipv4-DQS0lTwQ.js → ipv4-BB1Ro6so.js} +1 -1
- package/dist/{ir-CEwBpxhC.js → ir-DziC-P4Z.js} +6 -6
- package/dist/{issue-format-D8MobWNt.js → issue-format-DF2YB-kZ.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-CiAE4s92.js → lifecycle-core-CJd181-h.js} +5 -5
- package/dist/{login-CdHg3Emc.js → login-C_YjM9eH.js} +3 -3
- package/dist/{login-qr-DXecO0Tb.js → login-qr-DujJqOuy.js} +6 -6
- package/dist/{logs-cli-D8UCmwyR.js → logs-cli-Bc1A5X-r.js} +9 -9
- package/dist/{manager-DWpiNvlg.js → manager-7hZXEYTj.js} +14 -14
- package/dist/{manifest-registry-CBF8Vfz8.js → manifest-registry-Kbw8YPsZ.js} +1 -1
- package/dist/{markdown-tables-DQlQMRGZ.js → markdown-tables-BYHgyUjA.js} +1 -1
- package/dist/{memory-cli-BUrf60e_.js → memory-cli-CuT-iG2F.js} +12 -12
- package/dist/{model-DMZUvZJo.js → model-DmBmzJI6.js} +2 -2
- package/dist/{model-catalog-DFi9HgWu.js → model-catalog-D1X8r3WJ.js} +3 -3
- package/dist/{model-picker-Dt7Rl38k.js → model-picker-C56N_rW7.js} +4 -4
- package/dist/{models-CukrcW4u.js → models-C21qhHIB.js} +18 -18
- package/dist/{models-cli-DTjBGjrI.js → models-cli-CMETQ9Wy.js} +81 -81
- package/dist/{models-config-AePb9RAo.js → models-config-CmrBGsQs.js} +6 -6
- package/dist/{net-C75G4fup.js → net-BXeYv7Iu.js} +2 -2
- package/dist/{node-cli-D4Tj8JOq.js → node-cli-DSoqxwqZ.js} +33 -33
- package/dist/{node-command-policy-BZq5AebG.js → node-command-policy-pJ6IPNBA.js} +1 -1
- package/dist/{node-service-B0FIwOsW.js → node-service-DUUObpwl.js} +1 -1
- package/dist/{nodes-cli-DL-855N8.js → nodes-cli-BKGcOJ8A.js} +16 -16
- package/dist/{nodes-screen-BHwVUMr8.js → nodes-screen-DcxCMjOs.js} +7 -7
- package/dist/{npm-pack-install-qErvgXGZ.js → npm-pack-install-D5pJ8KzT.js} +18 -18
- package/dist/{npm-resolution-C_FZOBlT.js → npm-resolution-BAwDXgj5.js} +5 -5
- package/dist/{onboard-DktYC_iu.js → onboard-CLUldVpr.js} +6 -6
- package/dist/{onboard-channels-DGipWl1h.js → onboard-channels-B59K9VZH.js} +20 -20
- package/dist/{onboard-custom-B5F-69pM.js → onboard-custom-CZR1K96w.js} +3 -3
- package/dist/{onboard-custom.shared-CBgv6y4h.js → onboard-custom.shared-B9NXcXpv.js} +2 -2
- package/dist/{onboard-helpers-D8lLbK3A.js → onboard-helpers-CczYNQDJ.js} +11 -11
- package/dist/{onboard-hooks-DBif0Jq8.js → onboard-hooks-o0B0p8tR.js} +4 -4
- package/dist/{onboard-remote-loJ1Jn9Q.js → onboard-remote-DtLQyBJB.js} +3 -3
- package/dist/{onboard-skills-JtcIUHsb.js → onboard-skills-Brzj5oDF.js} +4 -4
- package/dist/{onboarding-D0IraL8k.js → onboarding-DHqNGWCb.js} +13 -13
- package/dist/{onboarding.finalize-DHitw2tg.js → onboarding.finalize-D_n9fly-.js} +89 -89
- package/dist/{onboarding.gateway-config-uLDVSdpl.js → onboarding.gateway-config-D-gZxjbU.js} +18 -18
- package/dist/{openai-model-default-B1Dlue6a.js → openai-model-default-BNYNbslY.js} +2 -2
- package/dist/{outbound-BZyqP8d-.js → outbound-_RTZSBES.js} +4 -4
- package/dist/{outbound-attachment-DM-h2uQ1.js → outbound-attachment-CXINK8df.js} +2 -2
- package/dist/{pairing-cli-DR836bYa.js → pairing-cli-DiKgOlKC.js} +9 -9
- package/dist/{pairing-labels-x4akYNb7.js → pairing-labels-CFSUHOmk.js} +1 -1
- package/dist/{pairing-store-rFuiIoGM.js → pairing-store-BfzlN-z9.js} +3 -3
- package/dist/{path-alias-guards-laKq24fx.js → path-alias-guards-Cg9ZP1NN.js} +3 -3
- package/dist/{path-safety-Cr4WZsHE.js → path-safety-__ACzYqx.js} +1 -1
- package/dist/{paths-B_L2Zoe-.js → paths-BjoSX1aC.js} +9 -9
- package/dist/{pi-embedded-helpers-CEMPdfif.js → pi-embedded-helpers-CrD8I6qf.js} +6 -6
- package/dist/{pi-model-discovery-RrejIg26.js → pi-model-discovery-BZ2RCD_u.js} +1 -1
- package/dist/{pi-tools.policy-dUeXHcQL.js → pi-tools.policy-upaoJyu4.js} +5 -5
- package/dist/{plugin-auto-enable-S_lBQAKI.js → plugin-auto-enable-DER6qA6X.js} +3 -3
- package/dist/{plugin-registry-CIUGSWLT.js → plugin-registry-CA1t0UeN.js} +3 -3
- package/dist/{plugins-cli-DnLeUBfn.js → plugins-cli-Cidq7nJb.js} +86 -86
- package/dist/{plugins-C4cYqW07.js → plugins-vsjS_m58.js} +2 -2
- package/dist/{ports-DRaxdQmm.js → ports-sCOQUaAP.js} +2 -2
- package/dist/{ports-tfS1haOJ.js → ports-zWusnrvP.js} +1 -1
- package/dist/{program-3T_oL3TY.js → program-C0yxnClq.js} +84 -84
- package/dist/{prompt-select-styled-BylOR7bV.js → prompt-select-styled-Da_XCcz7.js} +39 -39
- package/dist/{provider-auth-helpers-BEFKXIJE.js → provider-auth-helpers-B4nCFlNS.js} +5 -5
- package/dist/{proxy-env-BoopXu2J.js → proxy-env-BQIJPH4j.js} +1 -1
- package/dist/{push-apns-sUecrS7L.js → push-apns-BSwx-wiI.js} +5 -5
- package/dist/{pw-ai-CG7D8D2P.js → pw-ai-BeJ_96rV.js} +15 -15
- package/dist/{qmd-manager-Bo22w5wm.js → qmd-manager-BNohLpRA.js} +20 -20
- package/dist/{qr-cli-DiKa2ySu.js → qr-cli-CCHyao8J.js} +1 -1
- package/dist/{query-expansion-Ba9OpCm9.js → query-expansion-BrM3X6-L.js} +12 -12
- package/dist/{redact-snapshot-Dioor4fY.js → redact-snapshot-C1Yp9Q7B.js} +1 -1
- package/dist/{register.agent-FAGOpOS3.js → register.agent-kmdjftAP.js} +97 -97
- package/dist/register.configure-CZqcKxCG.js +175 -0
- package/dist/{register.init-B-wUDJAX.js → register.init-B1pIa3ys.js} +15 -15
- package/dist/{register.maintenance-B6f_YUQN.js → register.maintenance-CaDyvPmk.js} +99 -99
- package/dist/{register.message-WkJ5viuk.js → register.message-DJc4mrgz.js} +77 -77
- package/dist/{register.onboard-DvpF9feG.js → register.onboard-a-TEy7gB.js} +18 -18
- package/dist/{register.setup-CA7jtsG8.js → register.setup-9Je9b17j.js} +21 -21
- package/dist/{register.start-3Hnjf8NZ.js → register.start-CyYd_xbF.js} +17 -17
- package/dist/{register.status-health-sessions-CY2i61By.js → register.status-health-sessions-CxepWnj5.js} +91 -91
- package/dist/{register.subclis-D72jBDzj.js → register.subclis-D2hfRpSx.js} +31 -31
- package/dist/{replies-BDnb0prE.js → replies-Ckd7Lwt0.js} +1 -1
- package/dist/{reply-prefix-H_GSyyzN.js → reply-prefix-DpXMFuAa.js} +1 -1
- package/dist/{resolve-route-ByAwAiq5.js → resolve-route-Cnto8LMw.js} +2 -2
- package/dist/{rpc-DQa5fiBV.js → rpc-CnRUZWNJ.js} +1 -1
- package/dist/{run-main-DOntWJzb.js → run-main-D9foK80m.js} +95 -95
- package/dist/{runtime-D-Knnx0g.js → runtime-D4y0Gdfj.js} +2 -2
- package/dist/{sandbox-DI_zIUpo.js → sandbox-Tai-w14a.js} +18 -18
- package/dist/{sandbox-cli-Cn6OxK6L.js → sandbox-cli-uwsF36Ea.js} +26 -26
- package/dist/{secrets-cli-Cf2fFK2m.js → secrets-cli-DzeSuhpa.js} +10 -10
- package/dist/{security-cli-DS-dXNUv.js → security-cli-Dzelqio0.js} +43 -43
- package/dist/{send-BTswySBz.js → send-BpXRh0BM.js} +11 -11
- package/dist/{send-CZ2O-5pP.js → send-CQJKPGw4.js} +6 -6
- package/dist/{send-ZyB64ntO.js → send-Cpaj_bKB.js} +5 -5
- package/dist/{send-BCLu4NEE.js → send-e1X1pfda.js} +6 -6
- package/dist/{send-D0X-8aPh.js → send-sj8Hu26l.js} +8 -8
- package/dist/{server-C88L-6UW.js → server-Cr92VI8t.js} +19 -19
- package/dist/{server-context-CjPCwa4T.js → server-context-YLHmGfYV.js} +12 -12
- package/dist/{server-lifecycle-HLBzAVdX.js → server-lifecycle-B23lXM3Y.js} +2 -2
- package/dist/{server-middleware-DHxnFjIL.js → server-middleware-CKSnhiM2.js} +1 -1
- package/dist/{server-node-events-CyVS1c_n.js → server-node-events-B3SyIWEd.js} +77 -77
- package/dist/{service-CFfCS51c.js → service-Bjqlh_fF.js} +15 -15
- package/dist/{session-ApCom0An.js → session-DcnQHb9Q.js} +1 -1
- package/dist/{session-meta-Cew1QAYN.js → session-meta-DF1WT4cr.js} +1 -1
- package/dist/{session-utils-DYJSA9qa.js → session-utils-BUkGcYpv.js} +6 -6
- package/dist/{sessions-BXz4gdq6.js → sessions-B2mnwD21.js} +15 -15
- package/dist/{sessions-CeXgGBJ1.js → sessions-DVvNhGXX.js} +4 -4
- package/dist/{shared-Cd4Yi_Q8.js → shared-BojXguFB.js} +3 -3
- package/dist/{shared-Cl1av01k.js → shared-_j1K2VJ9.js} +1 -1
- package/dist/{skill-commands-Cpr3Poo2.js → skill-commands-CYucDd3C.js} +5 -5
- package/dist/{skill-scanner-3QHafkQH.js → skill-scanner-CSJqt034.js} +6 -6
- package/dist/{skills-D4S-gyVf.js → skills-BCgFAMj3.js} +3 -3
- package/dist/{skills-cli-CAhlFcYR.js → skills-cli-BM1iUpGc.js} +5 -5
- package/dist/{skills-install-DyneupGw.js → skills-install-e4_jXT_J.js} +6 -6
- package/dist/{skills-status-DQzBD0Y7.js → skills-status-DG-bH5mO.js} +1 -1
- package/dist/{status-VYa-lFs6.js → status-Bor8v_Ab.js} +26 -26
- package/dist/{status.update-BdgtGtkx.js → status.update-YC9VNJxl.js} +2 -2
- package/dist/{store-TdzSHRPN.js → store-U8cs0QvT.js} +5 -5
- package/dist/{subagent-registry-DlmrBMrv.js → subagent-registry-CukgiXMW.js} +156 -156
- package/dist/{system-cli-BYGGFlhn.js → system-cli-B_PUKo6-.js} +9 -9
- package/dist/{system-run-command-XHAlbx5q.js → system-run-command-GKGzGztn.js} +1 -1
- package/dist/{systemd-DRGkJYMb.js → systemd-HiU4Gzoc.js} +9 -9
- package/dist/{systemd-hints-C5HK00QG.js → systemd-hints-BDIASQOF.js} +6 -6
- package/dist/{systemd-linger-DME-3IVk.js → systemd-linger-DfrE-63p.js} +1 -1
- package/dist/{tables-BOsRa7CS.js → tables-DVXe5x1J.js} +1 -1
- package/dist/{tailnet-CfP3A6g2.js → tailnet-C1XBcWue.js} +1 -1
- package/dist/{target-errors-DPJ9HFp9.js → target-errors-C5LA-JI-.js} +4 -4
- package/dist/{tool-images-CmgHk8xk.js → tool-images-CnpAosfi.js} +1 -1
- package/dist/{tui-C16rnfcv.js → tui-CLK0s6TM.js} +6 -6
- package/dist/{tui-cli-Ct7mmQhr.js → tui-cli-DTdNoN6U.js} +33 -33
- package/dist/{update-DOvgIBRu.js → update-DLc3UsVC.js} +3 -3
- package/dist/{update-cli-BnefEkIB.js → update-cli-BDRni489.js} +107 -107
- package/dist/{update-runner-BSQpjT4r.js → update-runner-BAPahND7.js} +16 -16
- package/dist/web-D_nYCn4Q.js +127 -0
- package/dist/{webhooks-cli-DyIIpN1Q.js → webhooks-cli-c5SaGz4J.js} +6 -6
- package/dist/{whatsapp-actions-Dmv3vDs5.js → whatsapp-actions-CnjEOFOZ.js} +19 -19
- package/dist/{with-timeout-Cf-HNLSj.js → with-timeout-DurSJobr.js} +3 -3
- package/dist/{workspace-DzeL98px.js → workspace-BHfqkuYN.js} +23 -23
- package/dist/{workspace-A5CNJccm.js → workspace-DWBFoy1G.js} +1 -1
- package/dist/{workspace-dirs-Bevk6X_8.js → workspace-dirs-BOgNOBjy.js} +1 -1
- package/dist/{wsl-DksyFTBT.js → wsl-BDRu1-pk.js} +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-puDi2eTY.js.map +0 -1
- package/dist/register.configure-aZwsNSkf.js +0 -175
- package/dist/web-C1Zm__bd.js +0 -127
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
2
2
|
import { i as isPathInside, r as extensionUsesSkippedScannerPath } from "./legacy-names-D3aIn6ij.js";
|
|
3
|
-
import { o as loadPluginManifest, s as resolvePackageExtensionEntries } from "./manifest-registry-
|
|
4
|
-
import { S as validateRegistryNpmSpec } from "./skills-
|
|
5
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
6
|
-
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, r as safeDirName, u as resolveArchiveKind } from "./install-safe-path-
|
|
7
|
-
import { a as installPackageDir, c as resolveTimedInstallModeOptions, d as buildNpmResolutionFields, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-
|
|
8
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
3
|
+
import { o as loadPluginManifest, s as resolvePackageExtensionEntries } from "./manifest-registry-Kbw8YPsZ.js";
|
|
4
|
+
import { S as validateRegistryNpmSpec } from "./skills-BCgFAMj3.js";
|
|
5
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-CJDtl_QU.js";
|
|
6
|
+
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, r as safeDirName, u as resolveArchiveKind } from "./install-safe-path-BB9b_AvF.js";
|
|
7
|
+
import { a as installPackageDir, c as resolveTimedInstallModeOptions, d as buildNpmResolutionFields, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-D5pJ8KzT.js";
|
|
8
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CSJqt034.js";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/plugins/install.ts
|
|
13
13
|
const MISSING_EXTENSIONS_ERROR = "package.json missing openclaw.extensions; update the plugin package to include openclaw.extensions (for example [\"./dist/index.js\"]). See https://docs.openclaw.ai/help/troubleshooting#plugin-install-fails-with-missing-openclaw-extensions";
|
|
@@ -237,7 +237,7 @@ async function installPluginFromDir(params) {
|
|
|
237
237
|
ok: false,
|
|
238
238
|
error: `directory not found: ${dirPath}`
|
|
239
239
|
};
|
|
240
|
-
if (!(await
|
|
240
|
+
if (!(await fs.stat(dirPath)).isDirectory()) return {
|
|
241
241
|
ok: false,
|
|
242
242
|
error: `not a directory: ${dirPath}`
|
|
243
243
|
};
|
|
@@ -254,7 +254,7 @@ async function installPluginFromFile(params) {
|
|
|
254
254
|
error: `file not found: ${filePath}`
|
|
255
255
|
};
|
|
256
256
|
const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
|
|
257
|
-
await
|
|
257
|
+
await fs.mkdir(extensionsDir, { recursive: true });
|
|
258
258
|
const pluginId = path.basename(filePath, path.extname(filePath)) || "plugin";
|
|
259
259
|
const pluginIdError = validatePluginId(pluginId);
|
|
260
260
|
if (pluginIdError) return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bt as parseCanonicalIpAddress, mt as isIpv6Address, ut as isCanonicalDottedDecimalIPv4 } from "./auth-profiles-
|
|
1
|
+
import { bt as parseCanonicalIpAddress, mt as isIpv6Address, ut as isCanonicalDottedDecimalIPv4 } from "./auth-profiles-D_x1_5v_.js";
|
|
2
2
|
import { o as getTailnetHostname } from "./tailscale-D3xGoMdQ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/gateway-config-prompts.shared.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
3
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-
|
|
4
|
-
import { s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
5
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
3
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-BGTBZMuE.js";
|
|
4
|
+
import { s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CJDtl_QU.js";
|
|
5
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-DC-NMnAU.js";
|
|
6
6
|
import { a as chunkText } from "./chunk-kLPohhLl.js";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
import MarkdownIt from "markdown-it";
|
|
11
11
|
|
|
12
12
|
//#region src/web/media.ts
|
|
@@ -37,7 +37,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
37
37
|
const roots = localRoots ?? getDefaultLocalRoots();
|
|
38
38
|
let resolved;
|
|
39
39
|
try {
|
|
40
|
-
resolved = await
|
|
40
|
+
resolved = await fs.realpath(mediaPath);
|
|
41
41
|
} catch {
|
|
42
42
|
resolved = path.resolve(mediaPath);
|
|
43
43
|
}
|
|
@@ -54,7 +54,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
54
54
|
for (const root of roots) {
|
|
55
55
|
let resolvedRoot;
|
|
56
56
|
try {
|
|
57
|
-
resolvedRoot = await
|
|
57
|
+
resolvedRoot = await fs.realpath(root);
|
|
58
58
|
} catch {
|
|
59
59
|
resolvedRoot = path.resolve(root);
|
|
60
60
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/json-files.ts
|
|
6
6
|
async function readJsonFile(filePath) {
|
|
7
7
|
try {
|
|
8
|
-
const raw = await
|
|
8
|
+
const raw = await fs.readFile(filePath, "utf8");
|
|
9
9
|
return JSON.parse(raw);
|
|
10
10
|
} catch {
|
|
11
11
|
return null;
|
|
@@ -23,19 +23,19 @@ async function writeTextAtomic(filePath, content, options) {
|
|
|
23
23
|
const payload = options?.appendTrailingNewline && !content.endsWith("\n") ? `${content}\n` : content;
|
|
24
24
|
const mkdirOptions = { recursive: true };
|
|
25
25
|
if (typeof options?.ensureDirMode === "number") mkdirOptions.mode = options.ensureDirMode;
|
|
26
|
-
await
|
|
26
|
+
await fs.mkdir(path.dirname(filePath), mkdirOptions);
|
|
27
27
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
28
28
|
try {
|
|
29
|
-
await
|
|
29
|
+
await fs.writeFile(tmp, payload, "utf8");
|
|
30
30
|
try {
|
|
31
|
-
await
|
|
31
|
+
await fs.chmod(tmp, mode);
|
|
32
32
|
} catch {}
|
|
33
|
-
await
|
|
33
|
+
await fs.rename(tmp, filePath);
|
|
34
34
|
try {
|
|
35
|
-
await
|
|
35
|
+
await fs.chmod(filePath, mode);
|
|
36
36
|
} catch {}
|
|
37
37
|
} finally {
|
|
38
|
-
await
|
|
38
|
+
await fs.rm(tmp, { force: true }).catch(() => void 0);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
function createAsyncLock() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-B68W7uN8.js";
|
|
2
2
|
import { d as resolveIsNixMode } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { M as loadConfig } from "./auth-profiles-D_x1_5v_.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
6
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BtL4tqu0.js";
|
|
7
7
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-BLYfoMmL.js";
|
|
8
|
-
import { t as isWSL } from "./wsl-
|
|
9
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
8
|
+
import { t as isWSL } from "./wsl-BDRu1-pk.js";
|
|
9
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-HiU4Gzoc.js";
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-Bjqlh_fF.js";
|
|
11
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-BDIASQOF.js";
|
|
12
12
|
import { t as parsePort } from "./parse-port-M1LW5BLv.js";
|
|
13
13
|
import { Writable } from "node:stream";
|
|
14
14
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { l as success, n as info, t as danger } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { M as loadConfig } from "./auth-profiles-D_x1_5v_.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
6
|
import { r as logInfo } from "./logger-BJMfryJd.js";
|
|
7
|
-
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-BQHz8_1_.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-DcnQHb9Q.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -2,10 +2,10 @@ import { l as success, n as info, t as danger } from "./globals-B68W7uN8.js";
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-D_x1_5v_.js";
|
|
6
|
+
import "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import "./utils-DIzy5B5o.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-BHfqkuYN.js";
|
|
9
9
|
import { r as logInfo } from "./logger-BJMfryJd.js";
|
|
10
10
|
import "./exec-CEAvKSx9.js";
|
|
11
11
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -13,10 +13,10 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-7fg1BnMw.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-
|
|
16
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
17
|
+
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-BQHz8_1_.js";
|
|
18
18
|
import "./logging-5MtSkLpb.js";
|
|
19
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
19
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DcnQHb9Q.js";
|
|
20
20
|
import { randomUUID } from "node:crypto";
|
|
21
21
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
22
22
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -2,11 +2,11 @@ import { b as isValidTimeZone, d as colorize, f as isRich, p as theme, y as form
|
|
|
2
2
|
import "./paths-BnKiOk2S.js";
|
|
3
3
|
import { p as clearActiveProgressLine } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-D_x1_5v_.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-CJelRKYY.js";
|
|
8
8
|
import "./utils-DIzy5B5o.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-BHfqkuYN.js";
|
|
10
10
|
import "./logger-BJMfryJd.js";
|
|
11
11
|
import "./exec-CEAvKSx9.js";
|
|
12
12
|
import "./github-copilot-token-CulJ9J5l.js";
|
|
@@ -14,16 +14,16 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-7fg1BnMw.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-Kbw8YPsZ.js";
|
|
18
18
|
import "./message-channel-0J6eKf3g.js";
|
|
19
|
-
import "./client-
|
|
20
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import "./client-BvL3EdiZ.js";
|
|
20
|
+
import { t as buildGatewayConnectionDetails } from "./call-CzoM7hPS.js";
|
|
21
21
|
import "./pairing-token-DoBZxQnC.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-BXeYv7Iu.js";
|
|
23
|
+
import "./tailnet-C1XBcWue.js";
|
|
24
24
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
25
25
|
import "./progress-CwQKn0ae.js";
|
|
26
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
26
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-C7KYwonl.js";
|
|
27
27
|
import { t as parseLogLine } from "./parse-log-line-BtRNMGXv.js";
|
|
28
28
|
import { setTimeout } from "node:timers/promises";
|
|
29
29
|
|
|
@@ -2,20 +2,20 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
5
|
-
import { ai as resolveApiKeyForProvider, ii as requireApiKey, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
6
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { ai as resolveApiKeyForProvider, ii as requireApiKey, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-D_x1_5v_.js";
|
|
6
|
+
import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import { T as truncateUtf16Safe, i as clampNumber, r as clampInt, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
|
|
10
10
|
import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B62rgaSw.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-xfk-b2Sv.js";
|
|
13
13
|
import { n as retryAsync } from "./retry-DwXRBpwv.js";
|
|
14
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
14
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-BrM3X6-L.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import fs from "node:fs";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import chokidar from "chokidar";
|
|
21
21
|
import { createInterface } from "node:readline";
|
|
@@ -1047,7 +1047,7 @@ async function extractTimestamp(params) {
|
|
|
1047
1047
|
if (!params.workspaceDir) return null;
|
|
1048
1048
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1049
1049
|
try {
|
|
1050
|
-
const stat = await
|
|
1050
|
+
const stat = await fs$1.stat(absolutePath);
|
|
1051
1051
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1052
1052
|
return new Date(stat.mtimeMs);
|
|
1053
1053
|
} catch {
|
|
@@ -2206,7 +2206,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2206
2206
|
const source = `${sourceBase}${suffix}`;
|
|
2207
2207
|
const target = `${targetBase}${suffix}`;
|
|
2208
2208
|
try {
|
|
2209
|
-
await
|
|
2209
|
+
await fs$1.rename(source, target);
|
|
2210
2210
|
} catch (err) {
|
|
2211
2211
|
if (err.code !== "ENOENT") throw err;
|
|
2212
2212
|
}
|
|
@@ -2217,7 +2217,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2217
2217
|
"",
|
|
2218
2218
|
"-wal",
|
|
2219
2219
|
"-shm"
|
|
2220
|
-
].map((suffix) =>
|
|
2220
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
2221
2221
|
}
|
|
2222
2222
|
ensureSchema() {
|
|
2223
2223
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2312,7 +2312,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2312
2312
|
if (!thresholds) return null;
|
|
2313
2313
|
let stat;
|
|
2314
2314
|
try {
|
|
2315
|
-
stat = await
|
|
2315
|
+
stat = await fs$1.stat(sessionFile);
|
|
2316
2316
|
} catch {
|
|
2317
2317
|
return null;
|
|
2318
2318
|
}
|
|
@@ -2354,7 +2354,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2354
2354
|
if (end <= start) return 0;
|
|
2355
2355
|
let handle;
|
|
2356
2356
|
try {
|
|
2357
|
-
handle = await
|
|
2357
|
+
handle = await fs$1.open(absPath, "r");
|
|
2358
2358
|
} catch (err) {
|
|
2359
2359
|
if (isFileMissingError(err)) return 0;
|
|
2360
2360
|
throw err;
|
|
@@ -3297,7 +3297,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3297
3297
|
});
|
|
3298
3298
|
return;
|
|
3299
3299
|
}
|
|
3300
|
-
const content = options.content ?? await
|
|
3300
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
3301
3301
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3302
3302
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3303
3303
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3716,7 +3716,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3716
3716
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3717
3717
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3718
3718
|
for (const additionalPath of additionalPaths) try {
|
|
3719
|
-
const stat = await
|
|
3719
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
3720
3720
|
if (stat.isSymbolicLink()) continue;
|
|
3721
3721
|
if (stat.isDirectory()) {
|
|
3722
3722
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3741,7 +3741,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3741
3741
|
};
|
|
3742
3742
|
let content;
|
|
3743
3743
|
try {
|
|
3744
|
-
content = await
|
|
3744
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
3745
3745
|
} catch (err) {
|
|
3746
3746
|
if (isFileMissingError(err)) return {
|
|
3747
3747
|
text: "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as resolveConfigDir, u as isRecord, v as resolveUserPath } from "./utils-DIzy5B5o.js";
|
|
2
|
-
import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-
|
|
2
|
+
import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-BHfqkuYN.js";
|
|
3
3
|
import { n as MANIFEST_KEY } from "./legacy-names-D3aIn6ij.js";
|
|
4
4
|
import { l as normalizeChatChannelId } from "./registry-7fg1BnMw.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-vsjS_m58.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
7
7
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as colorize, f as isRich, p as theme, s as setVerbose } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
|
|
4
4
|
import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
5
|
-
import { M as loadConfig, at as parseDurationMs, hn as splitShellArgs } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { M as loadConfig, at as parseDurationMs, hn as splitShellArgs } from "./auth-profiles-D_x1_5v_.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import { b as shortenHomeInString, v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
8
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
9
9
|
import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
|
|
10
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
10
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BrM3X6-L.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-BDNlbZvM.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-k9A6CA1o.js";
|
|
13
13
|
import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
|
|
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-CwQKn0ae.
|
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import fs from "node:fs";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
|
|
20
20
|
//#region src/memory/backend-config.ts
|
|
21
21
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -228,7 +228,7 @@ async function getMemorySearchManager(params) {
|
|
|
228
228
|
if (cached) return { manager: cached };
|
|
229
229
|
}
|
|
230
230
|
try {
|
|
231
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
231
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BNohLpRA.js");
|
|
232
232
|
const primary = await QmdMemoryManager.create({
|
|
233
233
|
cfg: params.cfg,
|
|
234
234
|
agentId: params.agentId,
|
|
@@ -240,7 +240,7 @@ async function getMemorySearchManager(params) {
|
|
|
240
240
|
const wrapper = new FallbackMemoryManager({
|
|
241
241
|
primary,
|
|
242
242
|
fallbackFactory: async () => {
|
|
243
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
243
|
+
const { MemoryIndexManager } = await import("./manager-7hZXEYTj.js").then((n) => n.t);
|
|
244
244
|
return await MemoryIndexManager.get(params);
|
|
245
245
|
}
|
|
246
246
|
}, () => {
|
|
@@ -255,7 +255,7 @@ async function getMemorySearchManager(params) {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
try {
|
|
258
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
258
|
+
const { MemoryIndexManager } = await import("./manager-7hZXEYTj.js").then((n) => n.t);
|
|
259
259
|
return { manager: await MemoryIndexManager.get(params) };
|
|
260
260
|
} catch (err) {
|
|
261
261
|
return {
|
|
@@ -426,7 +426,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
426
426
|
}
|
|
427
427
|
async function checkReadableFile(pathname) {
|
|
428
428
|
try {
|
|
429
|
-
await
|
|
429
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
430
430
|
return { exists: true };
|
|
431
431
|
} catch (err) {
|
|
432
432
|
const code = err.code;
|
|
@@ -443,7 +443,7 @@ async function scanSessionFiles(agentId) {
|
|
|
443
443
|
try {
|
|
444
444
|
return {
|
|
445
445
|
source: "sessions",
|
|
446
|
-
totalFiles: (await
|
|
446
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
447
447
|
issues
|
|
448
448
|
};
|
|
449
449
|
} catch (err) {
|
|
@@ -475,7 +475,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
475
475
|
if (alt.issue) issues.push(alt.issue);
|
|
476
476
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
477
477
|
for (const extraPath of resolvedExtraPaths) try {
|
|
478
|
-
if ((await
|
|
478
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
479
479
|
const extraCheck = await checkReadableFile(extraPath);
|
|
480
480
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
481
481
|
} catch (err) {
|
|
@@ -485,7 +485,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
485
485
|
}
|
|
486
486
|
let dirReadable = null;
|
|
487
487
|
try {
|
|
488
|
-
await
|
|
488
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
489
489
|
dirReadable = true;
|
|
490
490
|
} catch (err) {
|
|
491
491
|
const code = err.code;
|
|
@@ -533,7 +533,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
533
533
|
if (!dbPath) return null;
|
|
534
534
|
let stat;
|
|
535
535
|
try {
|
|
536
|
-
stat = await
|
|
536
|
+
stat = await fs$1.stat(dbPath);
|
|
537
537
|
} catch (err) {
|
|
538
538
|
const code = err.code;
|
|
539
539
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { er as resolveOpenClawAgentDir, hr as normalizeProviderId, ki as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-
|
|
3
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { er as resolveOpenClawAgentDir, hr as normalizeProviderId, ki as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-D_x1_5v_.js";
|
|
3
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BZ2RCD_u.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
6
6
|
function buildModelAliasLines(cfg) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
|
|
2
|
-
import { M as loadConfig, er as resolveOpenClawAgentDir } from "./auth-profiles-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { M as loadConfig, er as resolveOpenClawAgentDir } from "./auth-profiles-D_x1_5v_.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CmrBGsQs.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-BZ2RCD_u.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Kn as ensureAuthProfileStore, Wn as upsertAuthProfileWithLock, ar as buildAllowedModelSet, fr as modelKey, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, ri as getCustomProviderApiKey, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
3
|
-
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Kn as ensureAuthProfileStore, Wn as upsertAuthProfileWithLock, ar as buildAllowedModelSet, fr as modelKey, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, ri as getCustomProviderApiKey, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-D_x1_5v_.js";
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-CJelRKYY.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-D1X8r3WJ.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-BojXguFB.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as colorize, f as isRich$1, p as theme } from "./globals-B68W7uN8.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BnKiOk2S.js";
|
|
4
|
-
import { $n as resolveAuthStorePathForDisplay, Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Hn as setAuthProfileOrder, Kn as ensureAuthProfileStore, M as loadConfig, Mi as resolveAuthProfileDisplayLabel, Sr as resolveModelRefFromString, Un as upsertAuthProfile, ai as resolveApiKeyForProvider, at as parseDurationMs, br as resolveDefaultModelForAgent, cr as findNormalizedProviderValue, er as resolveOpenClawAgentDir, fi as shouldEnableShellEnvFallback, fr as modelKey, gr as parseModelRef, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, li as getShellEnvAppliedKeys, n as resolveAuthProfileOrder, oi as resolveAwsSdkEnvVarName, ri as getCustomProviderApiKey, s as resolveProfileUnusableUntilForDisplay, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
4
|
+
import { $n as resolveAuthStorePathForDisplay, Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Hn as setAuthProfileOrder, Kn as ensureAuthProfileStore, M as loadConfig, Mi as resolveAuthProfileDisplayLabel, Sr as resolveModelRefFromString, Un as upsertAuthProfile, ai as resolveApiKeyForProvider, at as parseDurationMs, br as resolveDefaultModelForAgent, cr as findNormalizedProviderValue, er as resolveOpenClawAgentDir, fi as shouldEnableShellEnvFallback, fr as modelKey, gr as parseModelRef, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, li as getShellEnvAppliedKeys, n as resolveAuthProfileOrder, oi as resolveAwsSdkEnvVarName, ri as getCustomProviderApiKey, s as resolveProfileUnusableUntilForDisplay, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-D_x1_5v_.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CVXyxgq3.js";
|
|
6
|
-
import { _ as resolveAgentModelPrimaryValue, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-
|
|
6
|
+
import { _ as resolveAgentModelPrimaryValue, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-CJelRKYY.js";
|
|
7
7
|
import { x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
9
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
10
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
11
|
-
import { Dt as describeFailoverError, En as maskApiKey, Sn as loadProviderUsageSummary, Tn as resolveUsageProviderId, an as formatRemainingShort, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS, s as runEmbeddedPiAgent, wn as formatUsageWindowSummary } from "./subagent-registry-
|
|
8
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-BHfqkuYN.js";
|
|
9
|
+
import { r as resolveForwardCompatModel } from "./model-DmBmzJI6.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BZ2RCD_u.js";
|
|
11
|
+
import { Dt as describeFailoverError, En as maskApiKey, Sn as loadProviderUsageSummary, Tn as resolveUsageProviderId, an as formatRemainingShort, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS, s as runEmbeddedPiAgent, wn as formatUsageWindowSummary } from "./subagent-registry-CukgiXMW.js";
|
|
12
12
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
|
|
13
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
14
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
15
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
13
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CmrBGsQs.js";
|
|
14
|
+
import { n as loadModelCatalog } from "./model-catalog-D1X8r3WJ.js";
|
|
15
|
+
import { f as openUrl } from "./onboard-helpers-CczYNQDJ.js";
|
|
16
16
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CzS6Prvl.js";
|
|
17
17
|
import { r as withProgressTotals } from "./progress-CwQKn0ae.js";
|
|
18
18
|
import { t as createClackPrompter } from "./clack-prompter-B2lC_BWr.js";
|
|
19
19
|
import { t as renderTable } from "./table-CqULNDay.js";
|
|
20
20
|
import { t as inferParamBFromIdOrName } from "./model-param-b-B5WDRptZ.js";
|
|
21
21
|
import { n as redactSecrets } from "./format-A_N-0ymb.js";
|
|
22
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
23
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
22
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BojXguFB.js";
|
|
23
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BDQ5b9Wx.js";
|
|
24
24
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
25
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
25
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-B4nCFlNS.js";
|
|
26
26
|
import path from "node:path";
|
|
27
|
-
import
|
|
27
|
+
import fs from "node:fs/promises";
|
|
28
28
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
29
29
|
import crypto from "node:crypto";
|
|
30
30
|
import { Type } from "@sinclair/typebox";
|
|
@@ -829,8 +829,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
829
829
|
//#region src/commands/models/list.list-command.ts
|
|
830
830
|
async function modelsListCommand(opts, runtime) {
|
|
831
831
|
ensureFlagCompatibility(opts);
|
|
832
|
-
const { loadConfig } = await import("./auth-profiles-
|
|
833
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
832
|
+
const { loadConfig } = await import("./auth-profiles-D_x1_5v_.js").then((n) => n.O);
|
|
833
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-D_x1_5v_.js").then((n) => n.t);
|
|
834
834
|
const cfg = loadConfig();
|
|
835
835
|
const authStore = ensureAuthProfileStore();
|
|
836
836
|
const providerFilter = (() => {
|
|
@@ -890,7 +890,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
if (!model) {
|
|
893
|
-
const { resolveModel } = await import("./model-
|
|
893
|
+
const { resolveModel } = await import("./model-DmBmzJI6.js").then((n) => n.t);
|
|
894
894
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
895
895
|
}
|
|
896
896
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1165,7 +1165,7 @@ async function probeTarget(params) {
|
|
|
1165
1165
|
};
|
|
1166
1166
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1167
1167
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1168
|
-
await
|
|
1168
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1169
1169
|
const start = Date.now();
|
|
1170
1170
|
try {
|
|
1171
1171
|
await runEmbeddedPiAgent({
|
|
@@ -1220,7 +1220,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1220
1220
|
const agentDir = resolveOpenClawAgentDir();
|
|
1221
1221
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1222
1222
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1223
|
-
await
|
|
1223
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1224
1224
|
let completed = 0;
|
|
1225
1225
|
const results = Array.from({ length: targets.length });
|
|
1226
1226
|
let cursor = 0;
|