@bitseek/claw 1.3.6 → 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/{accounts-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
- package/dist/{accounts-Bwq1wvds.js → accounts-DMvETf-t.js} +1 -1
- package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
- package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
- package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
- 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/{api-key-rotation-BbZD-rsQ.js → api-key-rotation-Cv5_SG_o.js} +2 -2
- package/dist/{audio-preflight-C5Crv38h.js → audio-preflight-C2pZmbnM.js} +39 -39
- package/dist/{audio-transcription-runner-eVtEKUPC.js → audio-transcription-runner-CQ4BMvGX.js} +11 -11
- 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/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D0BHmeoE.js → channel-activity-Dwc2BBvs.js} +3 -3
- 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/{chrome-BRjY_MCc.js → chrome-DWfXErGH.js} +26 -26
- package/dist/{chunk-Dfkbh8wX.js → chunk-2ZxftpDd.js} +1 -1
- package/dist/{cli-Cvdtw0CY.js → cli-BlPS7kZ9.js} +1 -1
- package/dist/{cli-D5yg1LCm.js → cli-CrgfzbyT.js} +1 -1
- package/dist/{command-registry-BSN6zVlZ.js → command-registry-CjTwwZuF.js} +11 -11
- package/dist/{commands-registry-NyRDVN7s.js → commands-registry-CTkboeeC.js} +5 -5
- package/dist/{completion-cli-BDeiV4p9.js → completion-cli-CgjnsXtn.js} +1 -1
- package/dist/{completion-cli-lZ6S6oKA.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/{deliver-DlLNT2iR.js → deliver-zrYSWfQ5.js} +22 -22
- package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
- package/dist/{dock-DXlPVrMo.js → dock-Bm23mfim.js} +6 -6
- package/dist/{doctor-completion-BKCOmkBi.js → doctor-completion-BoZbJ2cC.js} +1 -1
- package/dist/{doctor-completion-Bim4XRFT.js → doctor-completion-CACrVkvp.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
- package/dist/{errors-Ct2kCLWx.js → errors-B11yhRo6.js} +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-2cO0rj7X.js → fetch-4RonjgqX.js} +5 -5
- package/dist/{fetch-guard-iigSYt3Q.js → fetch-guard-B1EGEHan.js} +2 -2
- package/dist/{frontmatter-rlCI8Hmw.js → frontmatter-D6vByAHn.js} +2 -2
- package/dist/{fs-safe-CM9EhGvi.js → fs-safe-C77EShMC.js} +4 -4
- package/dist/{gateway-cli-CDgld1qp.js → gateway-cli-BUFxEad5.js} +8 -8
- package/dist/{gateway-cli-8DmbQc9V.js → gateway-cli-D9mIlXNc.js} +8 -8
- package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
- 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/{image-BWlmyhr-.js → image-DnxYCkHO.js} +6 -6
- package/dist/{image-ops-jvmQoiyw.js → image-ops-DCpyia_K.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
- package/dist/{ir-pR36nI-3.js → ir-DcDVAFj3.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{logger-DelEB7MK.js → logger-BlH5MJiV.js} +1 -1
- package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
- package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
- package/dist/{manager-BX3KtavU.js → manager-tozHviEd.js} +15 -15
- package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
- package/dist/{message-channel-DB68nc40.js → message-channel-pbgFFUNm.js} +1 -1
- package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
- 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-sKY5jwsH.js → onboard-CIrRD9vz.js} +2 -2
- package/dist/{onboard-BcaFvsav.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-BRfS3PSa.js → onboarding-CIsQzEx6.js} +3 -3
- package/dist/{onboarding-JNyox6ZE.js → onboarding-exdNo-8e.js} +3 -3
- package/dist/{onboarding.finalize-CG9tTRyw.js → onboarding.finalize-BqpH39L7.js} +5 -5
- package/dist/{onboarding.finalize-hBg4b8IC.js → onboarding.finalize-spYqvVP0.js} +6 -6
- package/dist/{outbound-N9_vLIGT.js → outbound-9rXkgGZM.js} +7 -7
- package/dist/{outbound-attachment-CEt49GWZ.js → outbound-attachment-Cy8rvvJE.js} +2 -2
- package/dist/{path-alias-guards-xY_GOJVd.js → path-alias-guards-Cpb5gMG6.js} +1 -1
- package/dist/{paths-Bi8MJ8NM.js → paths-BHEVctLd.js} +3 -3
- package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
- package/dist/{pi-embedded-cmJctBve.js → pi-embedded-BW8O-Z_R.js} +109 -15
- package/dist/{pi-embedded-CDXssetE.js → pi-embedded-DLrpQftt.js} +292 -198
- package/dist/{pi-embedded-helpers-DSPiPpLM.js → pi-embedded-helpers-Bo7e-QzJ.js} +29 -29
- package/dist/{pi-model-discovery-N7o4F93J.js → pi-model-discovery-DA46fxhD.js} +7 -7
- 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/agents/pi-tools.read.d.ts +1 -0
- package/dist/plugin-sdk/{channel-web-Dn5fneOY.js → channel-web-BhgjzJX5.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-rsLB0nJs.js → reply-CLQkx08P.js} +107 -13
- package/dist/plugin-sdk/{web-RBob4uU1.js → web-D5yQYvYF.js} +2 -2
- package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
- 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-B_-eFyJE.js → program-R4eCXcVV.js} +7 -7
- package/dist/{program-context-BJQXRZ1w.js → program-context-XIBDpYkH.js} +19 -19
- package/dist/{prompt-select-styled-QH4mD93d.js → prompt-select-styled-CSGsMtmW.js} +4 -4
- package/dist/{prompt-select-styled-asxoqY78.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/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
- package/dist/{proxy-env-Drg9J503.js → proxy-env-ynOWOBHx.js} +1 -1
- package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.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/{pw-ai-gDXxKGzT.js → pw-ai-Cu3cnNF0.js} +17 -17
- package/dist/{qmd-manager-DXbV8CPG.js → qmd-manager-n4jauq3A.js} +11 -11
- package/dist/{query-expansion-C0A4WwZX.js → query-expansion-CdDUaBcQ.js} +5 -5
- package/dist/{redact-BC9R18Uw.js → redact-CaZQhKzI.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-B0nZqqML.js → register.maintenance-CofdyNUx.js} +7 -7
- package/dist/{register.maintenance-DvWoKstb.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-DOhvWYV7.js → register.onboard-BlcK7F0u.js} +2 -2
- package/dist/{register.onboard-B1-O21vU.js → register.onboard-ESEjBMtx.js} +2 -2
- package/dist/{register.setup-ixDBzvTR.js → register.setup-CUxHFPRL.js} +2 -2
- package/dist/{register.setup-KPZYo_I1.js → register.setup-N8V5bjG1.js} +2 -2
- package/dist/{register.start-Df91ZVJJ.js → register.start-CI8ol0Mk.js} +1 -1
- package/dist/{register.start-DErNT3nQ.js → register.start-D5trBtN0.js} +1 -1
- 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-BSGvOwqU.js → register.subclis-lEqV1Knw.js} +9 -9
- package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
- package/dist/{replies-B6I1tT5t.js → replies-D6zARd6r.js} +3 -3
- package/dist/{reply-OEcNPoWd.js → reply-CAA6gLtt.js} +109 -15
- package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
- package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
- package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
- package/dist/{run-main-CdI1kXKr.js → run-main-BTmP3wme.js} +14 -14
- package/dist/{send-BMzVXosN.js → send--Gq-Uh-l.js} +7 -7
- package/dist/{send-DC_e_Iev.js → send-BpyiQEov.js} +6 -6
- package/dist/{send-B6QQ8XfC.js → send-CcQZM0c7.js} +8 -8
- package/dist/{send-Buidj_8L.js → send-D2zYssqK.js} +27 -27
- package/dist/{send-BQETStDl.js → send-DcL81tZr.js} +10 -10
- 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/{session-meta-DAMj6ZRX.js → session-meta-BbCwXniv.js} +2 -2
- package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
- package/dist/{sessions-Ck4ZR4dY.js → sessions-D7EjW0sG.js} +31 -31
- package/dist/{skill-commands-KesfMtZ9.js → skill-commands-Cea3CZFF.js} +9 -9
- package/dist/{skills-BYmEoxNo.js → skills-BttlqUXr.js} +22 -22
- package/dist/{status-CmNVuywF.js → status-CB2Fs5iL.js} +2 -2
- package/dist/{status-D_I-fLJF.js → status-DCtLhxlh.js} +2 -2
- package/dist/{store-KLMMBnKE.js → store-B7PaqfvZ.js} +2 -2
- package/dist/{subagent-registry-D4xGq2uc.js → subagent-registry-B4xJjOu2.js} +109 -15
- package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
- package/dist/{tables-DqechQWF.js → tables-BJ0XAman.js} +1 -1
- package/dist/{target-errors-C-KolUyX.js → target-errors-Dad0aUFR.js} +2 -2
- package/dist/{tokens-BvzZdrVJ.js → tokens-B9EDT4jv.js} +1 -1
- package/dist/{tool-images-DiKIlElg.js → tool-images-ArXzv82F.js} +2 -2
- package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
- package/dist/{update-cli-CfeiDzYx.js → update-cli-BIMys5Ua.js} +7 -7
- package/dist/{update-cli-DKmrzt8l.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/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
- package/dist/{web-CQqnJkMB.js → web-BCpNE4aE.js} +2 -2
- package/dist/{web-BYeS4JNp.js → web-BJQKWHqO.js} +1 -1
- package/dist/{web-BPI4HIht.js → web-Bun-T89j.js} +69 -69
- package/dist/{web-Bc1AWW4q.js → web-Cb4sindp.js} +2 -2
- package/dist/{whatsapp-actions-Bf61u88d.js → whatsapp-actions-Be9uvUUL.js} +28 -28
- package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir, i as isNixMode, m as resolveOAuthDir, o as resolv
|
|
|
2
2
|
import { p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { _ as resolveHomeDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-CAA6gLtt.js";
|
|
6
6
|
import "./agent-scope-CiBV1K6b.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
@@ -120,30 +120,30 @@ import "./stagger-BIZMWR_z.js";
|
|
|
120
120
|
import "./constants-BJMtcGm_.js";
|
|
121
121
|
import "./context-window-guard-DfLcl4Sl.js";
|
|
122
122
|
import "./runtime-guard-IbCMXYfp.js";
|
|
123
|
-
import "./program-context-
|
|
123
|
+
import "./program-context-XIBDpYkH.js";
|
|
124
124
|
import "./skills-status-CXKKJa9Q.js";
|
|
125
125
|
import "./clipboard-B5W7Nj1R.js";
|
|
126
126
|
import "./note-CvWjGRTD.js";
|
|
127
127
|
import "./issue-format-DTqjZOjH.js";
|
|
128
128
|
import "./channels-status-issues-9pCBFmqu.js";
|
|
129
|
-
import "./completion-cli-
|
|
129
|
+
import "./completion-cli-CgjnsXtn.js";
|
|
130
130
|
import "./daemon-install-helpers-BM1DaOy4.js";
|
|
131
131
|
import "./systemd-BeNGyFHw.js";
|
|
132
132
|
import { t as resolveGatewayService } from "./service-Y993dKjs.js";
|
|
133
133
|
import "./systemd-hints-CO2qXbpI.js";
|
|
134
134
|
import "./diagnostics-Cl-0KyBB.js";
|
|
135
|
-
import "./health-
|
|
135
|
+
import "./health-CpbNiL9A.js";
|
|
136
136
|
import "./control-ui-assets-Cj27cPhO.js";
|
|
137
137
|
import "./channel-account-context-kALkWZk9.js";
|
|
138
|
-
import "./update-runner-
|
|
138
|
+
import "./update-runner-C4bLqctv.js";
|
|
139
139
|
import "./logging-DUqFcGxI.js";
|
|
140
140
|
import "./doctor-config-flow-CiAsN7mG.js";
|
|
141
141
|
import "./oauth-tls-preflight-Di_O2hPI.js";
|
|
142
142
|
import "./systemd-linger-iDZhUJvT.js";
|
|
143
143
|
import "./health-format-Cp-jlwLm.js";
|
|
144
144
|
import { t as dashboardCommand } from "./dashboard-2Jln8Cg-.js";
|
|
145
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
146
|
-
import "./doctor-completion-
|
|
145
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CSGsMtmW.js";
|
|
146
|
+
import "./doctor-completion-CACrVkvp.js";
|
|
147
147
|
import path from "node:path";
|
|
148
148
|
import fs from "node:fs/promises";
|
|
149
149
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -32,7 +32,7 @@ import "./accounts-C0g5--0e.js";
|
|
|
32
32
|
import "./bindings-C2tByF8e.js";
|
|
33
33
|
import "./send-BaweV9LV.js";
|
|
34
34
|
import "./send-aCOVuBQ6.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-B4xJjOu2.js";
|
|
36
36
|
import "./paths-CFzDnbY4.js";
|
|
37
37
|
import "./chat-envelope-AUuZAcrC.js";
|
|
38
38
|
import "./client-D3Y8sx9i.js";
|
|
@@ -125,9 +125,9 @@ import "./clipboard-DenHeqX-.js";
|
|
|
125
125
|
import "./note-qHayYqee.js";
|
|
126
126
|
import "./issue-format-Bm-71lmf.js";
|
|
127
127
|
import "./channels-status-issues-ib5LY9cR.js";
|
|
128
|
-
import "./completion-cli-
|
|
129
|
-
import "./register.subclis-
|
|
130
|
-
import "./command-registry-
|
|
128
|
+
import "./completion-cli-Clj1_156.js";
|
|
129
|
+
import "./register.subclis-lEqV1Knw.js";
|
|
130
|
+
import "./command-registry-CjTwwZuF.js";
|
|
131
131
|
import "./program-context-BqyLhTGk.js";
|
|
132
132
|
import "./daemon-install-helpers-DJg83rPu.js";
|
|
133
133
|
import "./runtime-guard-DzZMAUj_.js";
|
|
@@ -135,18 +135,18 @@ import "./systemd-B-TNk1de.js";
|
|
|
135
135
|
import { t as resolveGatewayService } from "./service-D_q10odK.js";
|
|
136
136
|
import "./systemd-hints-BtHGM1Jb.js";
|
|
137
137
|
import "./diagnostics-D16lnwhz.js";
|
|
138
|
-
import "./health-
|
|
138
|
+
import "./health-Cjj_F37M.js";
|
|
139
139
|
import "./control-ui-assets-CTp_YbTN.js";
|
|
140
140
|
import "./channel-account-context-DSofwLgp.js";
|
|
141
|
-
import "./update-runner-
|
|
141
|
+
import "./update-runner-DGqZqXVF.js";
|
|
142
142
|
import "./logging-CmPhQ5QB.js";
|
|
143
143
|
import "./doctor-config-flow-DhnDuMG9.js";
|
|
144
144
|
import "./oauth-tls-preflight-DLADeojn.js";
|
|
145
145
|
import "./systemd-linger-CTeOH7Nl.js";
|
|
146
146
|
import "./health-format-rPE0ELW5.js";
|
|
147
147
|
import { t as dashboardCommand } from "./dashboard-CCwQ2XPE.js";
|
|
148
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
149
|
-
import "./doctor-completion-
|
|
148
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CxcE42jh.js";
|
|
149
|
+
import "./doctor-completion-BoZbJ2cC.js";
|
|
150
150
|
import path from "node:path";
|
|
151
151
|
import fs from "node:fs/promises";
|
|
152
152
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
@@ -30,7 +30,7 @@ import "./accounts-C0g5--0e.js";
|
|
|
30
30
|
import "./bindings-C2tByF8e.js";
|
|
31
31
|
import "./send-BaweV9LV.js";
|
|
32
32
|
import "./send-aCOVuBQ6.js";
|
|
33
|
-
import { Ct as formatTargetDisplay, F as createDefaultDeps, Jt as CHANNEL_TARGETS_DESCRIPTION, P as createOutboundSendDeps, Tt as CHANNEL_MESSAGE_ACTION_NAMES, Yt as CHANNEL_TARGET_DESCRIPTION, ht as runMessageAction } from "./subagent-registry-
|
|
33
|
+
import { Ct as formatTargetDisplay, F as createDefaultDeps, Jt as CHANNEL_TARGETS_DESCRIPTION, P as createOutboundSendDeps, Tt as CHANNEL_MESSAGE_ACTION_NAMES, Yt as CHANNEL_TARGET_DESCRIPTION, ht as runMessageAction } from "./subagent-registry-B4xJjOu2.js";
|
|
34
34
|
import "./paths-CFzDnbY4.js";
|
|
35
35
|
import "./chat-envelope-AUuZAcrC.js";
|
|
36
36
|
import "./client-D3Y8sx9i.js";
|
|
@@ -119,7 +119,7 @@ import { t as formatHelpExamples } from "./help-format-Bf46Qqc-.js";
|
|
|
119
119
|
import { n as withProgress } from "./progress-BkZzF3Qm.js";
|
|
120
120
|
import "./constants-D1Q8yQ1_.js";
|
|
121
121
|
import "./context-window-guard-BqrKjiIm.js";
|
|
122
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
122
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CgjiDSJy.js";
|
|
123
123
|
import { t as collectOption } from "./helpers-CpIyUra4.js";
|
|
124
124
|
import { t as renderTable } from "./table-9IueuXKv.js";
|
|
125
125
|
import { t as shortenText } from "./text-format-DWdJnIe_.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import { f as isRich, p as theme, s as setVerbose, t as danger } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { A as CHANNEL_MESSAGE_ACTION_NAMES, Fn as CHANNEL_TARGET_DESCRIPTION, Ft as createOutboundSendDeps, Mn as formatTargetDisplay, Pn as CHANNEL_TARGETS_DESCRIPTION, Rt as createDefaultDeps, wn as runMessageAction } from "./reply-
|
|
5
|
+
import { A as CHANNEL_MESSAGE_ACTION_NAMES, Fn as CHANNEL_TARGET_DESCRIPTION, Ft as createOutboundSendDeps, Mn as formatTargetDisplay, Pn as CHANNEL_TARGETS_DESCRIPTION, Rt as createDefaultDeps, wn as runMessageAction } 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 "./workspace-CRdln__H.js";
|
|
@@ -119,7 +119,7 @@ import "./stagger-BIZMWR_z.js";
|
|
|
119
119
|
import "./constants-BJMtcGm_.js";
|
|
120
120
|
import "./context-window-guard-DfLcl4Sl.js";
|
|
121
121
|
import { t as collectOption } from "./helpers-D8iloRub.js";
|
|
122
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
122
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-DXEjCmXY.js";
|
|
123
123
|
import { t as renderTable } from "./table-C0joisBj.js";
|
|
124
124
|
import { t as shortenText } from "./text-format-Cy1bnk2A.js";
|
|
125
125
|
|
|
@@ -40,11 +40,11 @@ import "./progress-BkZzF3Qm.js";
|
|
|
40
40
|
import "./note-qHayYqee.js";
|
|
41
41
|
import "./clack-prompter-fBizq68H.js";
|
|
42
42
|
import "./runtime-guard-DzZMAUj_.js";
|
|
43
|
-
import "./onboarding-
|
|
43
|
+
import "./onboarding-exdNo-8e.js";
|
|
44
44
|
import "./logging-CmPhQ5QB.js";
|
|
45
45
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-ijrpDurI.js";
|
|
46
46
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-CD4jsvdS.js";
|
|
47
|
-
import { t as onboardCommand } from "./onboard-
|
|
47
|
+
import { t as onboardCommand } from "./onboard-CIrRD9vz.js";
|
|
48
48
|
|
|
49
49
|
//#region src/cli/program/register.onboard.ts
|
|
50
50
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -40,11 +40,11 @@ import "./progress-BNTrvrfJ.js";
|
|
|
40
40
|
import "./runtime-guard-IbCMXYfp.js";
|
|
41
41
|
import "./note-CvWjGRTD.js";
|
|
42
42
|
import "./clack-prompter-CVmIKCoz.js";
|
|
43
|
-
import "./onboarding-
|
|
43
|
+
import "./onboarding-CIsQzEx6.js";
|
|
44
44
|
import "./logging-DUqFcGxI.js";
|
|
45
45
|
import { t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BagFJEug.js";
|
|
46
46
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-BiRuYr-r.js";
|
|
47
|
-
import { t as onboardCommand } from "./onboard-
|
|
47
|
+
import { t as onboardCommand } from "./onboard-DQJ6ZB5N.js";
|
|
48
48
|
|
|
49
49
|
//#region src/cli/program/register.onboard.ts
|
|
50
50
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -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
|
|
|
@@ -124,7 +124,7 @@ async function bitseekStartCommand(opts, runtime = defaultRuntime) {
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/cli/program/register.start.ts
|
|
126
126
|
function registerStartCommand(program) {
|
|
127
|
-
program.command("start").description("Start with BitSeek preset behavior (local gateway or remote dashboard)").option("--no-open", "Do not auto-open dashboard in browser"
|
|
127
|
+
program.command("start").description("Start with BitSeek preset behavior (local gateway or remote dashboard)").option("--no-open", "Do not auto-open dashboard in browser").option("--force", "Force-free gateway port before local start", false).action(async (opts) => {
|
|
128
128
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
129
129
|
await bitseekStartCommand({
|
|
130
130
|
noOpen: opts.open === false,
|
|
@@ -124,7 +124,7 @@ async function bitseekStartCommand(opts, runtime = defaultRuntime) {
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/cli/program/register.start.ts
|
|
126
126
|
function registerStartCommand(program) {
|
|
127
|
-
program.command("start").description("Start with BitSeek preset behavior (local gateway or remote dashboard)").option("--no-open", "Do not auto-open dashboard in browser"
|
|
127
|
+
program.command("start").description("Start with BitSeek preset behavior (local gateway or remote dashboard)").option("--no-open", "Do not auto-open dashboard in browser").option("--force", "Force-free gateway port before local start", false).action(async (opts) => {
|
|
128
128
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
129
129
|
await bitseekStartCommand({
|
|
130
130
|
noOpen: opts.open === false,
|
|
@@ -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
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as logVerbose } from "./subsystem-
|
|
2
|
-
import { h as resolveUserPath } from "./utils-
|
|
3
|
-
import { i as registerInternalHook } from "./internal-hooks-
|
|
1
|
+
import { u as logVerbose } from "./subsystem-BRjuJbbM.js";
|
|
2
|
+
import { h as resolveUserPath } from "./utils-BFZnl-5N.js";
|
|
3
|
+
import { i as registerInternalHook } from "./internal-hooks-yQe6H47q.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/commands.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
2
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B9EDT4jv.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-CcQZM0c7.js";
|
|
4
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-2ZxftpDd.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-C6hps0r3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { p as shouldLogVerbose } from "./subsystem-
|
|
2
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-C6hps0r3.js";
|
|
3
|
+
import { p as shouldLogVerbose } from "./subsystem-BRjuJbbM.js";
|
|
4
4
|
import { c as normalizeAgentId, f as sanitizeAgentId, i as buildAgentPeerSessionKey, m as normalizeAccountId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-a6av96Fj.js";
|
|
5
|
-
import { t as logDebug } from "./logger-
|
|
5
|
+
import { t as logDebug } from "./logger-BlH5MJiV.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-CsIiIjqN.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|