@bitseek/claw 1.3.7 → 1.3.8-beta.1
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/{agents-BqONdWNu.js → agents-4yiCX5vO.js} +4 -4
- package/dist/{agents.config-2cTTTDPj.js → agents.config-C26BMyOA.js} +1 -1
- package/dist/{agents.config-DhIvFsFv.js → agents.config-C4xJzUcO.js} +1 -1
- package/dist/{auth-choice-D6WGnKQk.js → auth-choice-Cpai95xS.js} +1 -1
- package/dist/{auth-choice-lhaABxGx.js → auth-choice-D9W2yx7x.js} +1 -1
- package/dist/{banner-CMCfl-_K.js → banner-DtaJorEc.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-gDhT85r4.js → channel-options-D3Ck-1W2.js} +1 -1
- package/dist/{channel-options-Didnr81h.js → channel-options-DffMDeTp.js} +1 -1
- package/dist/{channel-web-C45x6ahP.js → channel-web-BB66exAr.js} +1 -1
- package/dist/{channel-web-rP0VBNIt.js → channel-web-zni8DLt7.js} +1 -1
- package/dist/{channels-cli-CZQbGl-H.js → channels-cli-D_gj850i.js} +6 -6
- package/dist/{channels-cli-BpiA2BQE.js → channels-cli-IQCAixeN.js} +6 -6
- package/dist/{cli-Cvdtw0CY.js → cli-BlPS7kZ9.js} +1 -1
- package/dist/{cli-D5yg1LCm.js → cli-CrgfzbyT.js} +1 -1
- package/dist/{command-registry-CtTmCFgA.js → command-registry-CjTwwZuF.js} +10 -10
- package/dist/{completion-cli-wYWbi5wA.js → completion-cli-CgjnsXtn.js} +1 -1
- package/dist/{completion-cli-D_Hxee-R.js → completion-cli-Clj1_156.js} +2 -2
- package/dist/{config-cli-C-yIXgGr.js → config-cli-CE1eTqAM.js} +1 -1
- package/dist/{config-cli-BtvOIDkG.js → config-cli-DwKVeQtE.js} +1 -1
- package/dist/{configure-DflayaB2.js → configure-BCUvl2Zf.js} +3 -3
- package/dist/{configure-CgbTpfrx.js → configure-D2KyFnr8.js} +3 -3
- package/dist/{doctor-completion-BYgrEW3s.js → doctor-completion-BoZbJ2cC.js} +1 -1
- package/dist/{doctor-completion-Bai361_Y.js → doctor-completion-CACrVkvp.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-C3ftrrlK.js → gateway-cli-BUFxEad5.js} +8 -8
- package/dist/{gateway-cli-CBGutU8q.js → gateway-cli-D9mIlXNc.js} +8 -8
- package/dist/{health-Gkd0akfz.js → health-Cjj_F37M.js} +1 -1
- package/dist/{health-DaN3xECS.js → health-CpbNiL9A.js} +1 -1
- package/dist/{hooks-cli-gRM8FMyG.js → hooks-cli-C0lC4Kj0.js} +2 -2
- package/dist/{hooks-cli-n5Weiheq.js → hooks-cli-DRkHJxMs.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-CJodAVSF.js → models-De_qVfBK.js} +2 -2
- package/dist/{models-cli-B1Dwj01V.js → models-cli-By7lFchJ.js} +2 -2
- package/dist/{models-cli-Ceb37L0t.js → models-cli-aJswKT_o.js} +3 -3
- package/dist/{npm-resolution-B5fqS6mO.js → npm-resolution-BiJCUhct.js} +1 -1
- package/dist/{npm-resolution-dNC8uD0I.js → npm-resolution-Ez_78UD2.js} +1 -1
- package/dist/{onboard-CI1TyO0l.js → onboard-CIrRD9vz.js} +2 -2
- package/dist/{onboard-C0Bo_5Vw.js → onboard-DQJ6ZB5N.js} +2 -2
- package/dist/{onboard-channels-DPIysHDh.js → onboard-channels-AbBziYo3.js} +1 -1
- package/dist/{onboard-channels-DQ1rkv4c.js → onboard-channels-yslMqzIm.js} +1 -1
- package/dist/{onboarding-DjOCmNCk.js → onboarding-CIsQzEx6.js} +3 -3
- package/dist/{onboarding-DufCP2B8.js → onboarding-exdNo-8e.js} +3 -3
- package/dist/{onboarding.finalize-C7iEnG3X.js → onboarding.finalize-BqpH39L7.js} +5 -5
- package/dist/{onboarding.finalize-BI2feWXN.js → onboarding.finalize-spYqvVP0.js} +6 -6
- package/dist/{pi-embedded-cmJctBve.js → pi-embedded-BW8O-Z_R.js} +109 -15
- package/dist/{pi-embedded-BQqt592d.js → pi-embedded-DLrpQftt.js} +109 -15
- package/dist/{plugin-registry-NaHPDM1s.js → plugin-registry-CgjiDSJy.js} +1 -1
- package/dist/{plugin-registry-2CmN8Jv2.js → plugin-registry-DXEjCmXY.js} +1 -1
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/agents/pi-tools.read.d.ts +1 -0
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-D8BVTHCB.js → audio-preflight-PGsiEosa.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-CRpY5uDq.js → audio-transcription-runner-CooPnqtC.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BgnipXq5.js → channel-web-BhgjzJX5.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/plugin-sdk/{image-ops-C9GXWF3o.js → image-ops-DulHE5Qc.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-DpplAsbO.js → reply-CLQkx08P.js} +197 -103
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/plugin-sdk/{target-errors-0u6pegQv.js → target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-D5yQYvYF.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-cli-DwKgp7q7.js → plugins-cli-CpSINdz-.js} +2 -2
- package/dist/{plugins-cli-o6KJO4Qe.js → plugins-cli-DKIC54hQ.js} +2 -2
- package/dist/{program-CQtsVyIe.js → program-R4eCXcVV.js} +7 -7
- package/dist/{program-context-CbirfwjC.js → program-context-XIBDpYkH.js} +18 -18
- package/dist/{prompt-select-styled-CY9iF1l-.js → prompt-select-styled-CSGsMtmW.js} +4 -4
- package/dist/{prompt-select-styled-BlHvgGuv.js → prompt-select-styled-CxcE42jh.js} +4 -4
- package/dist/{provider-auth-helpers-hI1pbI9r.js → provider-auth-helpers-BPwzCB_M.js} +1 -1
- package/dist/{provider-auth-helpers-CzSm0FSu.js → provider-auth-helpers-BqRZaAgE.js} +1 -1
- package/dist/{push-apns-DZ0qaSFA.js → push-apns-BFPYim-z.js} +1 -1
- package/dist/{push-apns-DMeB2M_b.js → push-apns-D_JirvZj.js} +1 -1
- package/dist/{register.agent-D9rmYCMS.js → register.agent-Cls5qjTc.js} +6 -6
- package/dist/{register.agent-BBOmACUM.js → register.agent-rU2v36L0.js} +7 -7
- package/dist/{register.configure-CZF2XAPO.js → register.configure-BMDzBahu.js} +7 -7
- package/dist/{register.configure-BJ7l1h-A.js → register.configure-BUhyYBGQ.js} +7 -7
- package/dist/{register.init-BdPckTb9.js → register.init-CFdcOH88.js} +1 -0
- package/dist/{register.init-CNKrbvCo.js → register.init-pWy0PRza.js} +1 -0
- package/dist/{register.maintenance-CyXghztz.js → register.maintenance-CofdyNUx.js} +7 -7
- package/dist/{register.maintenance-Cid2HJ-t.js → register.maintenance-Cy17SXVH.js} +8 -8
- package/dist/{register.message-BME4m1Jr.js → register.message-3BQdcipC.js} +2 -2
- package/dist/{register.message-Cs0mwtTw.js → register.message-Ce33qQCZ.js} +2 -2
- package/dist/{register.onboard-BsT9XRRr.js → register.onboard-BlcK7F0u.js} +2 -2
- package/dist/{register.onboard-CoItO2Ov.js → register.onboard-ESEjBMtx.js} +2 -2
- package/dist/{register.setup-2S-SXPOC.js → register.setup-CUxHFPRL.js} +2 -2
- package/dist/{register.setup-DJjPOLJK.js → register.setup-N8V5bjG1.js} +2 -2
- package/dist/{register.status-health-sessions-Czq26k6E.js → register.status-health-sessions-BKFS62CW.js} +3 -3
- package/dist/{register.status-health-sessions-wp3A615j.js → register.status-health-sessions-Bj4rUQRe.js} +3 -3
- package/dist/{register.subclis-CIlBs5A-.js → register.subclis-lEqV1Knw.js} +9 -9
- package/dist/{reply-OEcNPoWd.js → reply-CAA6gLtt.js} +109 -15
- package/dist/{run-main-bo-QbYn_.js → run-main-BTmP3wme.js} +14 -14
- package/dist/{server-node-events-BE-B31Iv.js → server-node-events-CD_Wo8L4.js} +2 -2
- package/dist/{server-node-events-h5NyibKC.js → server-node-events-ap09x8RZ.js} +2 -2
- package/dist/{status-CmNVuywF.js → status-CB2Fs5iL.js} +2 -2
- package/dist/{status-D_I-fLJF.js → status-DCtLhxlh.js} +2 -2
- package/dist/{subagent-registry-D4xGq2uc.js → subagent-registry-B4xJjOu2.js} +109 -15
- package/dist/{update-cli-BYrdZPXD.js → update-cli-BIMys5Ua.js} +7 -7
- package/dist/{update-cli-wmp8VSbx.js → update-cli-BuVnlit7.js} +8 -8
- package/dist/{update-runner-D5vyQGte.js → update-runner-C4bLqctv.js} +1 -1
- package/dist/{update-runner-BUth8QlB.js → update-runner-DGqZqXVF.js} +1 -1
- package/dist/{web-CQqnJkMB.js → web-BCpNE4aE.js} +2 -2
- package/dist/{web-BYeS4JNp.js → web-BJQKWHqO.js} +1 -1
- package/dist/{web-C5gLi1bN.js → web-Bun-T89j.js} +1 -1
- package/dist/{web-Bc1AWW4q.js → web-Cb4sindp.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-pXzbtWjI.js +0 -72
|
@@ -41,9 +41,9 @@ import "./runtime-guard-IbCMXYfp.js";
|
|
|
41
41
|
import { t as hasExplicitOptions } from "./command-options-CfGhT1Of.js";
|
|
42
42
|
import "./note-CvWjGRTD.js";
|
|
43
43
|
import "./clack-prompter-CVmIKCoz.js";
|
|
44
|
-
import "./onboarding-
|
|
44
|
+
import "./onboarding-CIsQzEx6.js";
|
|
45
45
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-DUqFcGxI.js";
|
|
46
|
-
import { t as onboardCommand } from "./onboard-
|
|
46
|
+
import { t as onboardCommand } from "./onboard-DQJ6ZB5N.js";
|
|
47
47
|
import JSON5 from "json5";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
|
|
@@ -41,9 +41,9 @@ import { t as hasExplicitOptions } from "./command-options-DGYxc3D_.js";
|
|
|
41
41
|
import "./note-qHayYqee.js";
|
|
42
42
|
import "./clack-prompter-fBizq68H.js";
|
|
43
43
|
import "./runtime-guard-DzZMAUj_.js";
|
|
44
|
-
import "./onboarding-
|
|
44
|
+
import "./onboarding-exdNo-8e.js";
|
|
45
45
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-CmPhQ5QB.js";
|
|
46
|
-
import { t as onboardCommand } from "./onboard-
|
|
46
|
+
import { t as onboardCommand } from "./onboard-CIrRD9vz.js";
|
|
47
47
|
import JSON5 from "json5";
|
|
48
48
|
import fs from "node:fs/promises";
|
|
49
49
|
|
|
@@ -31,7 +31,7 @@ import "./accounts-C0g5--0e.js";
|
|
|
31
31
|
import "./bindings-C2tByF8e.js";
|
|
32
32
|
import "./send-BaweV9LV.js";
|
|
33
33
|
import "./send-aCOVuBQ6.js";
|
|
34
|
-
import "./subagent-registry-
|
|
34
|
+
import "./subagent-registry-B4xJjOu2.js";
|
|
35
35
|
import { n as resolveSessionFilePath, r as resolveSessionFilePathOptions } from "./paths-CFzDnbY4.js";
|
|
36
36
|
import "./chat-envelope-AUuZAcrC.js";
|
|
37
37
|
import "./client-D3Y8sx9i.js";
|
|
@@ -130,8 +130,8 @@ import "./service-D_q10odK.js";
|
|
|
130
130
|
import "./diagnostics-D16lnwhz.js";
|
|
131
131
|
import "./table-9IueuXKv.js";
|
|
132
132
|
import "./audit-Dp7M6JvG.js";
|
|
133
|
-
import { n as statusCommand } from "./status-
|
|
134
|
-
import { r as healthCommand } from "./health-
|
|
133
|
+
import { n as statusCommand } from "./status-DCtLhxlh.js";
|
|
134
|
+
import { r as healthCommand } from "./health-Cjj_F37M.js";
|
|
135
135
|
import "./status.update-BX7tZJju.js";
|
|
136
136
|
import "./channel-account-context-DSofwLgp.js";
|
|
137
137
|
import "./node-command-policy-bP6LYXJe.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { f as isRich, n as info, p as theme, s as setVerbose } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { S as classifySessionKey, k as resolveSessionModelRef, qt as lookupContextTokens } from "./reply-
|
|
5
|
+
import { S as classifySessionKey, k as resolveSessionModelRef, qt as lookupContextTokens } from "./reply-CAA6gLtt.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, r as listAgentIds } from "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { T as parseAgentSessionKey, c as normalizeAgentId } from "./session-key-C9z4VQtw.js";
|
|
@@ -131,8 +131,8 @@ import "./service-Y993dKjs.js";
|
|
|
131
131
|
import "./diagnostics-Cl-0KyBB.js";
|
|
132
132
|
import "./table-C0joisBj.js";
|
|
133
133
|
import "./audit-Dgxdk59F.js";
|
|
134
|
-
import { t as statusCommand } from "./status-
|
|
135
|
-
import { r as healthCommand } from "./health-
|
|
134
|
+
import { t as statusCommand } from "./status-CB2Fs5iL.js";
|
|
135
|
+
import { r as healthCommand } from "./health-CpbNiL9A.js";
|
|
136
136
|
import "./status.update-CMEQvQ5o.js";
|
|
137
137
|
import "./channel-account-context-kALkWZk9.js";
|
|
138
138
|
import "./node-command-policy-MaQhBrGC.js";
|
|
@@ -65,7 +65,7 @@ const entries = [
|
|
|
65
65
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
66
66
|
hasSubcommands: true,
|
|
67
67
|
register: async (program) => {
|
|
68
|
-
(await import("./gateway-cli-
|
|
68
|
+
(await import("./gateway-cli-BUFxEad5.js")).registerGatewayCli(program);
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
@@ -97,7 +97,7 @@ const entries = [
|
|
|
97
97
|
description: "Discover, scan, and configure models",
|
|
98
98
|
hasSubcommands: true,
|
|
99
99
|
register: async (program) => {
|
|
100
|
-
(await import("./models-cli-
|
|
100
|
+
(await import("./models-cli-aJswKT_o.js")).registerModelsCli(program);
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
{
|
|
@@ -177,7 +177,7 @@ const entries = [
|
|
|
177
177
|
description: "Manage internal agent hooks",
|
|
178
178
|
hasSubcommands: true,
|
|
179
179
|
register: async (program) => {
|
|
180
|
-
(await import("./hooks-cli-
|
|
180
|
+
(await import("./hooks-cli-C0lC4Kj0.js")).registerHooksCli(program);
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
{
|
|
@@ -209,7 +209,7 @@ const entries = [
|
|
|
209
209
|
description: "Secure DM pairing (approve inbound requests)",
|
|
210
210
|
hasSubcommands: true,
|
|
211
211
|
register: async (program) => {
|
|
212
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
212
|
+
const { registerPluginCliCommands } = await import("./cli-CrgfzbyT.js");
|
|
213
213
|
registerPluginCliCommands(program, await loadConfig());
|
|
214
214
|
(await import("./pairing-cli-BwaiwEE0.js")).registerPairingCli(program);
|
|
215
215
|
}
|
|
@@ -219,8 +219,8 @@ const entries = [
|
|
|
219
219
|
description: "Manage OpenClaw plugins and extensions",
|
|
220
220
|
hasSubcommands: true,
|
|
221
221
|
register: async (program) => {
|
|
222
|
-
(await import("./plugins-cli-
|
|
223
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
222
|
+
(await import("./plugins-cli-CpSINdz-.js")).registerPluginsCli(program);
|
|
223
|
+
const { registerPluginCliCommands } = await import("./cli-CrgfzbyT.js");
|
|
224
224
|
registerPluginCliCommands(program, await loadConfig());
|
|
225
225
|
}
|
|
226
226
|
},
|
|
@@ -229,7 +229,7 @@ const entries = [
|
|
|
229
229
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
230
230
|
hasSubcommands: true,
|
|
231
231
|
register: async (program) => {
|
|
232
|
-
(await import("./channels-cli-
|
|
232
|
+
(await import("./channels-cli-D_gj850i.js")).registerChannelsCli(program);
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
{
|
|
@@ -269,7 +269,7 @@ const entries = [
|
|
|
269
269
|
description: "Update OpenClaw and inspect update channel status",
|
|
270
270
|
hasSubcommands: true,
|
|
271
271
|
register: async (program) => {
|
|
272
|
-
(await import("./update-cli-
|
|
272
|
+
(await import("./update-cli-BuVnlit7.js")).registerUpdateCli(program);
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
275
|
{
|
|
@@ -277,7 +277,7 @@ const entries = [
|
|
|
277
277
|
description: "Generate shell completion script",
|
|
278
278
|
hasSubcommands: false,
|
|
279
279
|
register: async (program) => {
|
|
280
|
-
(await import("./completion-cli-
|
|
280
|
+
(await import("./completion-cli-Clj1_156.js").then((n) => n.n)).registerCompletionCli(program);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
];
|
|
@@ -6,7 +6,7 @@ import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsX
|
|
|
6
6
|
import { _ as resolveAgentModelPrimaryValue, a as resolveAgentDir, d as resolveDefaultAgentId, f as resolveEffectiveModelFallbacks, g as resolveAgentModelFallbackValues, h as resolveSessionAgentIds, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, p as resolveRunModelFallbacksOverride, r as listAgentIds, t as hasConfiguredModelFallbacks, u as resolveAgentWorkspaceDir, v as toAgentModelListLike } from "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime, t as createSubsystemLogger, u as createNonExitingRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { C as isCronSessionKey, E as resolveThreadParentSessionKey, S as isCronRunSessionKey, T as parseAgentSessionKey, _ as normalizeOptionalAccountId, b as getSubagentDepth, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as normalizeAccountId$2, h as DEFAULT_ACCOUNT_ID, l as normalizeMainKey, o as classifySessionKeyShape, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as isBlockedObjectKey, w as isSubagentSessionKey, x as isAcpSessionKey, y as deriveSessionChatType } from "./session-key-C9z4VQtw.js";
|
|
9
|
-
import { C as openBoundaryFileSync, N as normalizeWindowsPathForComparison, S as openBoundaryFile, a as DEFAULT_IDENTITY_FILENAME, d as ensureAgentWorkspace, f as filterBootstrapFilesForSession, g as resolveWorkspaceAttachmentsRoot, m as loadWorkspaceBootstrapFiles, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
9
|
+
import { A as isNotFoundPathError, C as openBoundaryFileSync, N as normalizeWindowsPathForComparison, S as openBoundaryFile, a as DEFAULT_IDENTITY_FILENAME, d as ensureAgentWorkspace, f as filterBootstrapFilesForSession, g as resolveWorkspaceAttachmentsRoot, j as isPathInside, k as hasNodeErrorCode, m as loadWorkspaceBootstrapFiles, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
10
10
|
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-D04dg4Ex.js";
|
|
11
11
|
import { n as runExec, r as spawnWithFallback, t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
12
12
|
import { $ as getCustomProviderApiKey, $r as resolveOwnerDisplaySetting, $t as TELEGRAM_COMMAND_NAME_PATTERN, Bn as isWorkspaceRelativeAvatarPath, Br as resolveSlackStreamingMode, Fn as isAvatarDataUrl, Gn as getConfigOverrides, Gr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Hn as resolveAvatarMime, In as isAvatarHttpUrl, J as buildAssistantMessage, Jn as unsetConfigOverride, Jt as resolveConfigSnapshotHash, K as OLLAMA_NATIVE_BASE_URL, Kn as resetConfigOverrides, Kr as resolveAgentMaxConcurrent, Kt as readConfigFileSnapshot, Lr as mapStreamingModeToSlackLegacyDraftStreamMode, Mi as DEFAULT_CONTEXT_TOKENS, Ni as DEFAULT_MODEL, Pi as DEFAULT_PROVIDER, Pn as AVATAR_MAX_BYTES, Q as getApiKeyForModel, Qn as unsetConfigValueAtPath, Rn as isPathWithinRoot, Rr as resolveDiscordPreviewStreamMode, S as resolveThinkingDefault, Ti as normalizeSecretInput, Un as validateJsonSchemaValue, Wt as loadConfig, X as buildStreamErrorAssistantMessage, Xn as parseConfigPath, Xr as resolveShellEnvFallbackTimeoutMs, Xt as writeConfigFile, Y as buildAssistantMessageWithZeroUsage, Yn as getConfigValueAtPath, Yr as getShellPathFromLoginShell, Z as buildUsageWithNoCost, Zn as setConfigValueAtPath, Zt as validateConfigObjectWithPlugins, _i as withFileLock, _n as parseDurationMs, _t as markAuthProfileFailure, an as resolveIMessageAttachmentRoots, bt as resolveProfilesUnavailableReason, c as modelKey, ci as ensureAuthProfileStore, cn as parseNonNegativeByteSize, d as normalizeProviderId, en as normalizeTelegramCommandName, et as requireApiKey, f as parseModelRef, g as resolveDefaultModelForAgent, gi as resolveOpenClawAgentDir, gt as isProfileInCooldown, h as resolveConfiguredModelRef, hi as resolveAuthStorePathForDisplay, ht as getSoonestCooldownExpiry, i as findNormalizedProviderValue, it as resolveModelAuthMode, ji as splitTrailingAuthProfile, jr as applyMergePatch, l as normalizeModelRef$2, mt as resolveAuthProfileOrder, n as buildConfiguredAllowlistKeys, ni as listProfilesForProvider, o as inferUniqueProviderFromConfiguredModels, on as resolveIMessageRemoteAttachmentRoots, or as buildEnforcedShellCommand, q as createOllamaStreamFn, qn as setConfigOverride, r as buildModelAliasIndex, ri as markAuthProfileGood, rn as isInboundPathAllowed, rt as resolveEnvApiKey, s as isCliProvider, sn as normalizeScpRemoteHost, t as buildAllowedModelSet, ti as dedupeProfileIds, tn as resolveTelegramCustomCommands, tt as resolveApiKeyForProvider, v as resolveModelRefFromString, vt as markAuthProfileUsed, x as resolveSubagentSpawnModelSelection, xi as resolveAuthProfileDisplayLabel, xt as resolveApiKeyForProfile, y as resolveReasoningDefault, zn as isSupportedLocalAvatarExtension, zr as resolveSlackNativeStreaming } from "./model-selection-xdfZxwgB.js";
|
|
@@ -17,7 +17,7 @@ import { t as isTruthyEnvValue } from "./env-4r1Vlroz.js";
|
|
|
17
17
|
import { n as isDangerousHostEnvVarName } from "./host-env-security-BiAcoumI.js";
|
|
18
18
|
import { r as VERSION } from "./env-vars-DM119fhK.js";
|
|
19
19
|
import { E as triggerInternalHook, S as matchPluginCommand, _ as normalizePluginHttpPath, b as getPluginCommandSpecs, c as normalizeChannelId$1, d as getActivePluginRegistryKey, g as createPluginRegistry, m as setActivePluginRegistry, n as CHAT_CHANNEL_ORDER, p as requireActivePluginRegistry, s as normalizeAnyChannelId, u as getActivePluginRegistry, v as clearPluginCommands, w as createInternalHookEvent, x as listPluginCommands, y as executePluginCommand } from "./registry-CUyWRciN.js";
|
|
20
|
-
import { a as safeStatSync, d as normalizePluginsConfig, f as resolveEffectiveEnableState, i as isPathInside, l as applyTestPluginDefaults, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision, r as discoverOpenClawPlugins } from "./manifest-registry-B_U2pKBU.js";
|
|
20
|
+
import { a as safeStatSync, d as normalizePluginsConfig, f as resolveEffectiveEnableState, i as isPathInside$1, l as applyTestPluginDefaults, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision, r as discoverOpenClawPlugins } from "./manifest-registry-B_U2pKBU.js";
|
|
21
21
|
import { a as resolveChannelGroupRequireMention, c as normalizeHyphenSlug, i as resolveChannelGroupPolicy, l as normalizeStringEntries, n as listChannelDocks, r as normalizeSignalMessagingTarget, s as normalizeAtHashSlug, t as getChannelDock, u as normalizeStringEntriesLower } from "./dock-BXksV3sC.js";
|
|
22
22
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-C3sn1gEK.js";
|
|
23
23
|
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-CKAn7Lf7.js";
|
|
@@ -36031,7 +36031,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
36031
36031
|
function createDefaultDeps() {
|
|
36032
36032
|
return {
|
|
36033
36033
|
sendMessageWhatsApp: async (...args) => {
|
|
36034
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
36034
|
+
const { sendMessageWhatsApp } = await import("./web-Cb4sindp.js");
|
|
36035
36035
|
return await sendMessageWhatsApp(...args);
|
|
36036
36036
|
},
|
|
36037
36037
|
sendMessageTelegram: async (...args) => {
|
|
@@ -56736,7 +56736,7 @@ function loadWebLoginQr() {
|
|
|
56736
56736
|
return webLoginQrPromise;
|
|
56737
56737
|
}
|
|
56738
56738
|
function loadWebChannel() {
|
|
56739
|
-
webChannelPromise ??= import("./web-
|
|
56739
|
+
webChannelPromise ??= import("./web-Cb4sindp.js");
|
|
56740
56740
|
return webChannelPromise;
|
|
56741
56741
|
}
|
|
56742
56742
|
function loadWhatsAppActions() {
|
|
@@ -57334,7 +57334,7 @@ function addPathToMatcher(matcher, rawPath) {
|
|
|
57334
57334
|
}
|
|
57335
57335
|
function matchesPathMatcher(matcher, sourcePath) {
|
|
57336
57336
|
if (matcher.exact.has(sourcePath)) return true;
|
|
57337
|
-
return matcher.dirs.some((dirPath) => isPathInside(dirPath, sourcePath));
|
|
57337
|
+
return matcher.dirs.some((dirPath) => isPathInside$1(dirPath, sourcePath));
|
|
57338
57338
|
}
|
|
57339
57339
|
function buildProvenanceIndex(params) {
|
|
57340
57340
|
const loadPathMatcher = createPathMatcher();
|
|
@@ -68336,6 +68336,82 @@ function stripReadTruncationContentDetails(result) {
|
|
|
68336
68336
|
}
|
|
68337
68337
|
};
|
|
68338
68338
|
}
|
|
68339
|
+
function extractRequestedReadPath(record) {
|
|
68340
|
+
const trimmed = (typeof record?.path === "string" ? record.path : typeof record?.file_path === "string" ? record.file_path : void 0)?.trim();
|
|
68341
|
+
return trimmed ? trimmed : void 0;
|
|
68342
|
+
}
|
|
68343
|
+
function normalizeReadPathCandidate(filePath) {
|
|
68344
|
+
const trimmed = filePath.trim();
|
|
68345
|
+
const withoutAt = trimmed.startsWith("@") ? trimmed.slice(1) : trimmed;
|
|
68346
|
+
if (/^file:\/\//i.test(withoutAt)) try {
|
|
68347
|
+
return fileURLToPath(withoutAt);
|
|
68348
|
+
} catch {
|
|
68349
|
+
return withoutAt;
|
|
68350
|
+
}
|
|
68351
|
+
return withoutAt;
|
|
68352
|
+
}
|
|
68353
|
+
function normalizeRelativeReadPath(filePath) {
|
|
68354
|
+
return filePath.replace(/\\/g, "/").replace(/^(?:\.\/)+/, "").replace(/^\/+/, "").replace(/\/+$/, "");
|
|
68355
|
+
}
|
|
68356
|
+
function getReadPathRelativeToWorkspace(filePath, workspaceRoot) {
|
|
68357
|
+
const normalized = normalizeReadPathCandidate(filePath);
|
|
68358
|
+
if (!path.isAbsolute(normalized)) return normalizeRelativeReadPath(normalized);
|
|
68359
|
+
if (!workspaceRoot) return;
|
|
68360
|
+
const root = path.resolve(workspaceRoot);
|
|
68361
|
+
const resolved = path.resolve(normalized);
|
|
68362
|
+
if (!isPathInside(root, resolved)) return;
|
|
68363
|
+
return normalizeRelativeReadPath(path.relative(root, resolved));
|
|
68364
|
+
}
|
|
68365
|
+
function isMemoryReadPath(filePath, workspaceRoot) {
|
|
68366
|
+
const relative = getReadPathRelativeToWorkspace(filePath, workspaceRoot);
|
|
68367
|
+
return relative === "memory" || Boolean(relative?.startsWith("memory/"));
|
|
68368
|
+
}
|
|
68369
|
+
function resolveReadPathWithinWorkspace(filePath, workspaceRoot) {
|
|
68370
|
+
if (!workspaceRoot) return;
|
|
68371
|
+
const normalized = normalizeReadPathCandidate(filePath);
|
|
68372
|
+
const resolved = path.isAbsolute(normalized) ? path.resolve(normalized) : path.resolve(workspaceRoot, normalized);
|
|
68373
|
+
return isPathInside(path.resolve(workspaceRoot), resolved) ? resolved : void 0;
|
|
68374
|
+
}
|
|
68375
|
+
function createMemoryDirectoryReadResult(filePath) {
|
|
68376
|
+
return {
|
|
68377
|
+
content: [{
|
|
68378
|
+
type: "text",
|
|
68379
|
+
text: `${filePath} is a directory, not a file. Read a specific file such as MEMORY.md or memory/YYYY-MM-DD.md instead.`
|
|
68380
|
+
}],
|
|
68381
|
+
details: {}
|
|
68382
|
+
};
|
|
68383
|
+
}
|
|
68384
|
+
function createMissingMemoryReadResult(filePath) {
|
|
68385
|
+
return {
|
|
68386
|
+
content: [{
|
|
68387
|
+
type: "text",
|
|
68388
|
+
text: `No memory file exists at ${filePath} yet. Continue normally, or create a file such as memory/YYYY-MM-DD.md when you want to save notes.`
|
|
68389
|
+
}],
|
|
68390
|
+
details: {}
|
|
68391
|
+
};
|
|
68392
|
+
}
|
|
68393
|
+
async function maybeCreateMemoryReadCompatibilityResult(params) {
|
|
68394
|
+
if (!isMemoryReadPath(params.filePath, params.workspaceRoot)) return null;
|
|
68395
|
+
const absolutePath = resolveReadPathWithinWorkspace(params.filePath, params.workspaceRoot);
|
|
68396
|
+
if (!absolutePath) return null;
|
|
68397
|
+
try {
|
|
68398
|
+
if ((await fs$1.stat(absolutePath)).isDirectory()) return createMemoryDirectoryReadResult(params.filePath);
|
|
68399
|
+
return null;
|
|
68400
|
+
} catch (error) {
|
|
68401
|
+
if (isNotFoundPathError(error)) return createMissingMemoryReadResult(params.filePath);
|
|
68402
|
+
throw error;
|
|
68403
|
+
}
|
|
68404
|
+
}
|
|
68405
|
+
function maybeRecoverMemoryReadError(params) {
|
|
68406
|
+
if (!isMemoryReadPath(params.filePath, params.workspaceRoot)) return null;
|
|
68407
|
+
if (params.error instanceof SafeOpenError) {
|
|
68408
|
+
if (params.error.code === "not-file") return createMemoryDirectoryReadResult(params.filePath);
|
|
68409
|
+
if (params.error.code === "not-found") return createMissingMemoryReadResult(params.filePath);
|
|
68410
|
+
}
|
|
68411
|
+
if (hasNodeErrorCode(params.error, "EISDIR")) return createMemoryDirectoryReadResult(params.filePath);
|
|
68412
|
+
if (isNotFoundPathError(params.error)) return createMissingMemoryReadResult(params.filePath);
|
|
68413
|
+
return null;
|
|
68414
|
+
}
|
|
68339
68415
|
async function executeReadWithAdaptivePaging(params) {
|
|
68340
68416
|
const userLimit = params.args.limit;
|
|
68341
68417
|
if (typeof userLimit === "number" && Number.isFinite(userLimit) && userLimit > 0) return await params.base.execute(params.toolCallId, params.args, params.signal);
|
|
@@ -68611,7 +68687,8 @@ function wrapToolWorkspaceRootGuardWithOptions(tool, root, options) {
|
|
|
68611
68687
|
function createSandboxedReadTool(params) {
|
|
68612
68688
|
return createOpenClawReadTool(createReadTool(params.root, { operations: createSandboxReadOperations(params) }), {
|
|
68613
68689
|
modelContextWindowTokens: params.modelContextWindowTokens,
|
|
68614
|
-
imageSanitization: params.imageSanitization
|
|
68690
|
+
imageSanitization: params.imageSanitization,
|
|
68691
|
+
workspaceRoot: params.root
|
|
68615
68692
|
});
|
|
68616
68693
|
}
|
|
68617
68694
|
function createSandboxedWriteTool(params) {
|
|
@@ -68677,14 +68754,30 @@ function createOpenClawReadTool(base, options) {
|
|
|
68677
68754
|
const normalized = normalizeToolParams(params);
|
|
68678
68755
|
const record = normalized ?? (params && typeof params === "object" ? params : void 0);
|
|
68679
68756
|
assertRequiredParams(record, CLAUDE_PARAM_GROUPS.read, base.name);
|
|
68680
|
-
const
|
|
68681
|
-
|
|
68682
|
-
|
|
68683
|
-
|
|
68684
|
-
|
|
68685
|
-
|
|
68686
|
-
|
|
68687
|
-
|
|
68757
|
+
const filePath = extractRequestedReadPath(record) ?? "<unknown>";
|
|
68758
|
+
const memoryCompatibilityResult = filePath !== "<unknown>" ? await maybeCreateMemoryReadCompatibilityResult({
|
|
68759
|
+
filePath,
|
|
68760
|
+
workspaceRoot: options?.workspaceRoot
|
|
68761
|
+
}) : null;
|
|
68762
|
+
if (memoryCompatibilityResult) return memoryCompatibilityResult;
|
|
68763
|
+
let result;
|
|
68764
|
+
try {
|
|
68765
|
+
result = await executeReadWithAdaptivePaging({
|
|
68766
|
+
base,
|
|
68767
|
+
toolCallId,
|
|
68768
|
+
args: normalized ?? params ?? {},
|
|
68769
|
+
signal,
|
|
68770
|
+
maxBytes: resolveAdaptiveReadMaxBytes(options)
|
|
68771
|
+
});
|
|
68772
|
+
} catch (error) {
|
|
68773
|
+
const recovered = filePath !== "<unknown>" ? maybeRecoverMemoryReadError({
|
|
68774
|
+
filePath,
|
|
68775
|
+
workspaceRoot: options?.workspaceRoot,
|
|
68776
|
+
error
|
|
68777
|
+
}) : null;
|
|
68778
|
+
if (recovered) return recovered;
|
|
68779
|
+
throw error;
|
|
68780
|
+
}
|
|
68688
68781
|
return sanitizeToolResultImages(await normalizeReadImageResult(stripReadTruncationContentDetails(result), filePath), `read:${filePath}`, options?.imageSanitization);
|
|
68689
68782
|
}
|
|
68690
68783
|
};
|
|
@@ -69450,7 +69543,8 @@ function createOpenClawCodingTools(options) {
|
|
|
69450
69543
|
}
|
|
69451
69544
|
const wrapped = createOpenClawReadTool(createReadTool(workspaceRoot), {
|
|
69452
69545
|
modelContextWindowTokens: options?.modelContextWindowTokens,
|
|
69453
|
-
imageSanitization
|
|
69546
|
+
imageSanitization,
|
|
69547
|
+
workspaceRoot
|
|
69454
69548
|
});
|
|
69455
69549
|
return [workspaceOnly ? wrapToolWorkspaceRootGuard(wrapped, workspaceRoot) : wrapped];
|
|
69456
69550
|
}
|
|
@@ -31,7 +31,7 @@ import "./accounts-C0g5--0e.js";
|
|
|
31
31
|
import "./bindings-C2tByF8e.js";
|
|
32
32
|
import "./send-BaweV9LV.js";
|
|
33
33
|
import "./send-aCOVuBQ6.js";
|
|
34
|
-
import "./subagent-registry-
|
|
34
|
+
import "./subagent-registry-B4xJjOu2.js";
|
|
35
35
|
import "./paths-CFzDnbY4.js";
|
|
36
36
|
import "./chat-envelope-AUuZAcrC.js";
|
|
37
37
|
import "./client-D3Y8sx9i.js";
|
|
@@ -123,9 +123,9 @@ import "./context-window-guard-BqrKjiIm.js";
|
|
|
123
123
|
import { t as ensureOpenClawCliOnPath } from "./path-env-S7Od8UBX.js";
|
|
124
124
|
import "./note-qHayYqee.js";
|
|
125
125
|
import "./issue-format-Bm-71lmf.js";
|
|
126
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
126
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CgjiDSJy.js";
|
|
127
127
|
import { t as assertSupportedRuntime } from "./runtime-guard-DzZMAUj_.js";
|
|
128
|
-
import { t as emitCliBanner } from "./banner-
|
|
128
|
+
import { t as emitCliBanner } from "./banner-DtaJorEc.js";
|
|
129
129
|
import "./doctor-config-flow-DhnDuMG9.js";
|
|
130
130
|
import { n as ensureConfigReady } from "./config-guard-D3uYbBeN.js";
|
|
131
131
|
import process$1 from "node:process";
|
|
@@ -140,7 +140,7 @@ const routeHealth = {
|
|
|
140
140
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
141
141
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
142
142
|
if (timeoutMs === null) return false;
|
|
143
|
-
const { healthCommand } = await import("./health-
|
|
143
|
+
const { healthCommand } = await import("./health-Cjj_F37M.js").then((n) => n.i);
|
|
144
144
|
await healthCommand({
|
|
145
145
|
json,
|
|
146
146
|
timeoutMs,
|
|
@@ -160,7 +160,7 @@ const routeStatus = {
|
|
|
160
160
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
161
161
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
162
162
|
if (timeoutMs === null) return false;
|
|
163
|
-
const { statusCommand } = await import("./status-
|
|
163
|
+
const { statusCommand } = await import("./status-DCtLhxlh.js").then((n) => n.t);
|
|
164
164
|
await statusCommand({
|
|
165
165
|
json,
|
|
166
166
|
deep,
|
|
@@ -199,7 +199,7 @@ const routeAgentsList = {
|
|
|
199
199
|
run: async (argv) => {
|
|
200
200
|
const json = hasFlag(argv, "--json");
|
|
201
201
|
const bindings = hasFlag(argv, "--bindings");
|
|
202
|
-
const { agentsListCommand } = await import("./agents-
|
|
202
|
+
const { agentsListCommand } = await import("./agents-4yiCX5vO.js").then((n) => n.t);
|
|
203
203
|
await agentsListCommand({
|
|
204
204
|
json,
|
|
205
205
|
bindings
|
|
@@ -265,7 +265,7 @@ const routes = [
|
|
|
265
265
|
const pathArg = positionals[0];
|
|
266
266
|
if (!pathArg) return false;
|
|
267
267
|
const json = hasFlag(argv, "--json");
|
|
268
|
-
const { runConfigGet } = await import("./config-cli-
|
|
268
|
+
const { runConfigGet } = await import("./config-cli-DwKVeQtE.js");
|
|
269
269
|
await runConfigGet({
|
|
270
270
|
path: pathArg,
|
|
271
271
|
json
|
|
@@ -280,7 +280,7 @@ const routes = [
|
|
|
280
280
|
if (!positionals || positionals.length !== 1) return false;
|
|
281
281
|
const pathArg = positionals[0];
|
|
282
282
|
if (!pathArg) return false;
|
|
283
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
283
|
+
const { runConfigUnset } = await import("./config-cli-DwKVeQtE.js");
|
|
284
284
|
await runConfigUnset({ path: pathArg });
|
|
285
285
|
return true;
|
|
286
286
|
}
|
|
@@ -294,7 +294,7 @@ const routes = [
|
|
|
294
294
|
const local = hasFlag(argv, "--local");
|
|
295
295
|
const json = hasFlag(argv, "--json");
|
|
296
296
|
const plain = hasFlag(argv, "--plain");
|
|
297
|
-
const { modelsListCommand } = await import("./models-
|
|
297
|
+
const { modelsListCommand } = await import("./models-De_qVfBK.js").then((n) => n.t);
|
|
298
298
|
await modelsListCommand({
|
|
299
299
|
all,
|
|
300
300
|
local,
|
|
@@ -325,7 +325,7 @@ const routes = [
|
|
|
325
325
|
const plain = hasFlag(argv, "--plain");
|
|
326
326
|
const check = hasFlag(argv, "--check");
|
|
327
327
|
const probe = hasFlag(argv, "--probe");
|
|
328
|
-
const { modelsStatusCommand } = await import("./models-
|
|
328
|
+
const { modelsStatusCommand } = await import("./models-De_qVfBK.js").then((n) => n.t);
|
|
329
329
|
await modelsStatusCommand({
|
|
330
330
|
json,
|
|
331
331
|
plain,
|
|
@@ -410,7 +410,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
assertSupportedRuntime();
|
|
411
411
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
412
412
|
enableConsoleCapture();
|
|
413
|
-
const { buildProgram } = await import("./program-
|
|
413
|
+
const { buildProgram } = await import("./program-R4eCXcVV.js");
|
|
414
414
|
const program = buildProgram();
|
|
415
415
|
installUnhandledRejectionHandler();
|
|
416
416
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -423,10 +423,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
423
423
|
const { getProgramContext } = await import("./program-context-BqyLhTGk.js").then((n) => n.n);
|
|
424
424
|
const ctx = getProgramContext(program);
|
|
425
425
|
if (ctx) {
|
|
426
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
426
|
+
const { registerCoreCliByName } = await import("./command-registry-CjTwwZuF.js").then((n) => n.t);
|
|
427
427
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
428
428
|
}
|
|
429
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
429
|
+
const { registerSubCliByName } = await import("./register.subclis-lEqV1Knw.js").then((n) => n.a);
|
|
430
430
|
await registerSubCliByName(program, primary);
|
|
431
431
|
}
|
|
432
432
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -434,7 +434,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
434
434
|
primary,
|
|
435
435
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
436
436
|
})) {
|
|
437
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
437
|
+
const { registerPluginCliCommands } = await import("./cli-CrgfzbyT.js");
|
|
438
438
|
const { loadConfig } = await import("./auth-profiles-Ncv1fyN5.js").then((n) => n.O);
|
|
439
439
|
registerPluginCliCommands(program, loadConfig());
|
|
440
440
|
}
|
|
@@ -31,7 +31,7 @@ import "./accounts-C0g5--0e.js";
|
|
|
31
31
|
import "./bindings-C2tByF8e.js";
|
|
32
32
|
import "./send-BaweV9LV.js";
|
|
33
33
|
import "./send-aCOVuBQ6.js";
|
|
34
|
-
import { A as agentCommandFromIngress, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Rn as requestHeartbeatNow, bt as resolveOutboundTarget, ln as buildOutboundSessionContext } from "./subagent-registry-
|
|
34
|
+
import { A as agentCommandFromIngress, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Rn as requestHeartbeatNow, bt as resolveOutboundTarget, ln as buildOutboundSessionContext } from "./subagent-registry-B4xJjOu2.js";
|
|
35
35
|
import "./paths-CFzDnbY4.js";
|
|
36
36
|
import "./chat-envelope-AUuZAcrC.js";
|
|
37
37
|
import "./client-D3Y8sx9i.js";
|
|
@@ -120,7 +120,7 @@ import "./help-format-Bf46Qqc-.js";
|
|
|
120
120
|
import "./progress-BkZzF3Qm.js";
|
|
121
121
|
import "./constants-D1Q8yQ1_.js";
|
|
122
122
|
import "./context-window-guard-BqrKjiIm.js";
|
|
123
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
123
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-D_JirvZj.js";
|
|
124
124
|
import { randomUUID } from "node:crypto";
|
|
125
125
|
|
|
126
126
|
//#region src/gateway/server-node-events.ts
|
|
@@ -2,7 +2,7 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { Ar as enqueueSystemEvent, D as pruneLegacyStoreKeys, E as loadSessionEntry, Ft as createOutboundSendDeps, Jn as buildOutboundSessionContext, O as resolveGatewaySessionStoreTarget, Pr as requestHeartbeatNow, jt as agentCommandFromIngress, kn as resolveOutboundTarget } from "./reply-
|
|
5
|
+
import { Ar as enqueueSystemEvent, D as pruneLegacyStoreKeys, E as loadSessionEntry, Ft as createOutboundSendDeps, Jn as buildOutboundSessionContext, O as resolveGatewaySessionStoreTarget, Pr as requestHeartbeatNow, jt as agentCommandFromIngress, kn as resolveOutboundTarget } from "./reply-CAA6gLtt.js";
|
|
6
6
|
import "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { l as normalizeMainKey } from "./session-key-C9z4VQtw.js";
|
|
@@ -119,7 +119,7 @@ import "./server-lifecycle-Dn1WcypX.js";
|
|
|
119
119
|
import "./stagger-BIZMWR_z.js";
|
|
120
120
|
import "./constants-BJMtcGm_.js";
|
|
121
121
|
import "./context-window-guard-DfLcl4Sl.js";
|
|
122
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
122
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BFPYim-z.js";
|
|
123
123
|
import { randomUUID } from "node:crypto";
|
|
124
124
|
|
|
125
125
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-uLeGcRW1.js";
|
|
3
|
-
import { C as listAgentsForGateway, Jt as resolveContextTokensForModel, Nr as peekSystemEvents, S as classifySessionKey, U as readRestartSentinel, W as summarizeRestartSentinel, _t as formatUsageReportLines, c as buildChannelSummary, d as resolveChannelAccountConfigured, f as resolveChannelAccountEnabled, gt as loadProviderUsageSummary, k as resolveSessionModelRef, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom } from "./reply-
|
|
3
|
+
import { C as listAgentsForGateway, Jt as resolveContextTokensForModel, Nr as peekSystemEvents, S as classifySessionKey, U as readRestartSentinel, W as summarizeRestartSentinel, _t as formatUsageReportLines, c as buildChannelSummary, d as resolveChannelAccountConfigured, f as resolveChannelAccountEnabled, gt as loadProviderUsageSummary, k as resolveSessionModelRef, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom } from "./reply-CAA6gLtt.js";
|
|
4
4
|
import { u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { T as parseAgentSessionKey } from "./session-key-C9z4VQtw.js";
|
|
6
6
|
import { y as resolveOpenClawPackageRoot } from "./workspace-CRdln__H.js";
|
|
@@ -30,7 +30,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DZoVtX5E.j
|
|
|
30
30
|
import { t as readLastGatewayErrorLine } from "./diagnostics-Cl-0KyBB.js";
|
|
31
31
|
import { t as renderTable } from "./table-C0joisBj.js";
|
|
32
32
|
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-Dgxdk59F.js";
|
|
33
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
33
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CpbNiL9A.js";
|
|
34
34
|
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CMEQvQ5o.js";
|
|
35
35
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-kALkWZk9.js";
|
|
36
36
|
import { t as resolveNodeService } from "./node-service-BQmqeLS0.js";
|
|
@@ -11,7 +11,7 @@ import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
|
11
11
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-C1TG3OK0.js";
|
|
12
12
|
import { X as resolveFreshSessionTotalTokens, o as loadSessionStore, tt as resolveMainSessionKey } from "./sessions-ChAmoyIS.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-BYHJoTB8.js";
|
|
14
|
-
import { An as formatChannelAllowFrom, Cn as formatUsageReportLines, Ln as peekSystemEvents, Mn as resolveChannelAccountEnabled, Mt as summarizeRestartSentinel, On as buildChannelSummary, Sn as loadProviderUsageSummary, jn as resolveChannelAccountConfigured, jt as readRestartSentinel, kn as buildChannelAccountSnapshot } from "./subagent-registry-
|
|
14
|
+
import { An as formatChannelAllowFrom, Cn as formatUsageReportLines, Ln as peekSystemEvents, Mn as resolveChannelAccountEnabled, Mt as summarizeRestartSentinel, On as buildChannelSummary, Sn as loadProviderUsageSummary, jn as resolveChannelAccountConfigured, jt as readRestartSentinel, kn as buildChannelAccountSnapshot } from "./subagent-registry-B4xJjOu2.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-CFzDnbY4.js";
|
|
16
16
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BolSRDlL.js";
|
|
17
17
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-BVIS18LB.js";
|
|
@@ -32,7 +32,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CnEdVO5M.j
|
|
|
32
32
|
import { t as readLastGatewayErrorLine } from "./diagnostics-D16lnwhz.js";
|
|
33
33
|
import { t as renderTable } from "./table-9IueuXKv.js";
|
|
34
34
|
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-Dp7M6JvG.js";
|
|
35
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
35
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-Cjj_F37M.js";
|
|
36
36
|
import { a as shouldShowUpdateStatus, i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-BX7tZJju.js";
|
|
37
37
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DSofwLgp.js";
|
|
38
38
|
import { t as resolveNodeService } from "./node-service-B10h5Sui.js";
|