@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-a6av96Fj.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-ubG6irXZ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-a6av96Fj.js";
|
|
2
|
-
import { h as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { h as createAccountListHelpers } from "./accounts-ubG6irXZ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
1
|
+
import { o as resolveOAuthDir } from "./paths-aGRLvQx9.js";
|
|
2
|
+
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-BRjuJbbM.js";
|
|
3
3
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-a6av96Fj.js";
|
|
4
|
-
import { h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
5
|
-
import { n as formatCliCommand } from "./env-
|
|
4
|
+
import { h as resolveUserPath, u as jidToE164 } from "./utils-BFZnl-5N.js";
|
|
5
|
+
import { n as formatCliCommand } from "./env-DNMZEG57.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import syncFs from "node:fs";
|
|
10
10
|
|
|
11
11
|
//#region src/channels/plugins/account-helpers.ts
|
|
12
12
|
function createAccountListHelpers(channelKey) {
|
|
@@ -54,7 +54,7 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
54
54
|
}
|
|
55
55
|
function hasWebCredsSync(authDir) {
|
|
56
56
|
try {
|
|
57
|
-
const stats =
|
|
57
|
+
const stats = syncFs.statSync(resolveWebCredsPath(authDir));
|
|
58
58
|
return stats.isFile() && stats.size > 1;
|
|
59
59
|
} catch {
|
|
60
60
|
return false;
|
|
@@ -62,10 +62,10 @@ function hasWebCredsSync(authDir) {
|
|
|
62
62
|
}
|
|
63
63
|
function readCredsJsonRaw(filePath) {
|
|
64
64
|
try {
|
|
65
|
-
if (!
|
|
66
|
-
const stats =
|
|
65
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
66
|
+
const stats = syncFs.statSync(filePath);
|
|
67
67
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
68
|
-
return
|
|
68
|
+
return syncFs.readFileSync(filePath, "utf-8");
|
|
69
69
|
} catch {
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
@@ -83,9 +83,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
83
83
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
84
84
|
if (!backupRaw) return;
|
|
85
85
|
JSON.parse(backupRaw);
|
|
86
|
-
|
|
86
|
+
syncFs.copyFileSync(backupPath, credsPath);
|
|
87
87
|
try {
|
|
88
|
-
|
|
88
|
+
syncFs.chmodSync(credsPath, 384);
|
|
89
89
|
} catch {}
|
|
90
90
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
91
91
|
} catch {}
|
|
@@ -141,11 +141,11 @@ async function logoutWeb(params) {
|
|
|
141
141
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
142
142
|
try {
|
|
143
143
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
144
|
-
if (!
|
|
144
|
+
if (!syncFs.existsSync(credsPath)) return {
|
|
145
145
|
e164: null,
|
|
146
146
|
jid: null
|
|
147
147
|
};
|
|
148
|
-
const raw =
|
|
148
|
+
const raw = syncFs.readFileSync(credsPath, "utf-8");
|
|
149
149
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
150
150
|
return {
|
|
151
151
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -164,7 +164,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
164
164
|
*/
|
|
165
165
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
166
166
|
try {
|
|
167
|
-
const stats =
|
|
167
|
+
const stats = syncFs.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
168
168
|
return Date.now() - stats.mtimeMs;
|
|
169
169
|
} catch {
|
|
170
170
|
return null;
|
|
@@ -196,7 +196,7 @@ function listWhatsAppAuthDirs(cfg) {
|
|
|
196
196
|
accountId
|
|
197
197
|
}).authDir);
|
|
198
198
|
try {
|
|
199
|
-
const entries =
|
|
199
|
+
const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
|
|
200
200
|
for (const entry of entries) {
|
|
201
201
|
if (!entry.isDirectory()) continue;
|
|
202
202
|
authDirs.add(path.join(whatsappDir, entry.name));
|
|
@@ -218,7 +218,7 @@ function resolveLegacyAuthDir() {
|
|
|
218
218
|
}
|
|
219
219
|
function legacyAuthExists(authDir) {
|
|
220
220
|
try {
|
|
221
|
-
return
|
|
221
|
+
return syncFs.existsSync(path.join(authDir, "creds.json"));
|
|
222
222
|
} catch {
|
|
223
223
|
return false;
|
|
224
224
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as DEFAULT_ACCOUNT_ID } from "./session-key-a6av96Fj.js";
|
|
2
|
-
import { n as formatCliCommand } from "./env-
|
|
2
|
+
import { n as formatCliCommand } from "./env-DNMZEG57.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "./paths-aGRLvQx9.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
|
|
3
3
|
import { S as parseAgentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-a6av96Fj.js";
|
|
4
|
-
import { h as resolveUserPath } from "./utils-
|
|
5
|
-
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
4
|
+
import { h as resolveUserPath } from "./utils-BFZnl-5N.js";
|
|
5
|
+
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-D6mrCnXi.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -7,18 +7,18 @@ import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID }
|
|
|
7
7
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
|
|
8
8
|
import { a as DEFAULT_IDENTITY_FILENAME } from "./workspace-BHfqkuYN.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BYHJoTB8.js";
|
|
10
|
-
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-
|
|
10
|
+
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-B4xJjOu2.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CFzDnbY4.js";
|
|
12
12
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-D-l_4GyD.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-fBizq68H.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
16
16
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-C_edTHc_.js";
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
18
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-C26BMyOA.js";
|
|
18
|
+
import { r as setupChannels } from "./onboard-channels-AbBziYo3.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-CmPhQ5QB.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DIbIQ3T7.js";
|
|
21
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-D9W2yx7x.js";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
|
|
2
2
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
3
|
-
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-B4xJjOu2.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-
|
|
1
|
+
import { Qt as loadAgentIdentityFromWorkspace, Zt as identityHasValues } from "./reply-CAA6gLtt.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { c as normalizeAgentId } from "./session-key-C9z4VQtw.js";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { c as normalizeProviderId } from "./model-selection-D_Si2Ict.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-B11yhRo6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
9
|
-
import "./env-
|
|
1
|
+
import "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import "./paths-aGRLvQx9.js";
|
|
3
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-BRjuJbbM.js";
|
|
4
|
+
import "./utils-BFZnl-5N.js";
|
|
5
|
+
import "./workspace-D6mrCnXi.js";
|
|
6
|
+
import "./logger-BlH5MJiV.js";
|
|
7
|
+
import "./model-selection-D_Si2Ict.js";
|
|
8
|
+
import "./github-copilot-token-DLGN-8YS.js";
|
|
9
|
+
import "./env-DNMZEG57.js";
|
|
10
10
|
import "./boolean-mcn6kL0s.js";
|
|
11
|
-
import "./internal-hooks-
|
|
12
|
-
import "./registry-
|
|
13
|
-
import "./dock-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./bindings-
|
|
17
|
-
import "./accounts-
|
|
18
|
-
import "./image-ops-
|
|
19
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
20
|
-
import "./pi-model-discovery-
|
|
21
|
-
import "./message-channel-
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
24
|
-
import "./frontmatter-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./redact-
|
|
28
|
-
import "./errors-
|
|
29
|
-
import "./fs-safe-
|
|
30
|
-
import "./proxy-env-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./sessions-
|
|
33
|
-
import "./accounts-
|
|
34
|
-
import "./paths-
|
|
35
|
-
import "./tool-images-
|
|
11
|
+
import "./internal-hooks-yQe6H47q.js";
|
|
12
|
+
import "./registry-CJCkqTms.js";
|
|
13
|
+
import "./dock-Bm23mfim.js";
|
|
14
|
+
import "./plugins-CJoaoIHc.js";
|
|
15
|
+
import "./accounts-ubG6irXZ.js";
|
|
16
|
+
import "./bindings-CsIiIjqN.js";
|
|
17
|
+
import "./accounts-BTexwKe8.js";
|
|
18
|
+
import "./image-ops-DCpyia_K.js";
|
|
19
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CQ4BMvGX.js";
|
|
20
|
+
import "./pi-model-discovery-DA46fxhD.js";
|
|
21
|
+
import "./message-channel-pbgFFUNm.js";
|
|
22
|
+
import "./pi-embedded-helpers-Bo7e-QzJ.js";
|
|
23
|
+
import "./chrome-DWfXErGH.js";
|
|
24
|
+
import "./frontmatter-D6vByAHn.js";
|
|
25
|
+
import "./skills-BttlqUXr.js";
|
|
26
|
+
import "./path-alias-guards-Cpb5gMG6.js";
|
|
27
|
+
import "./redact-CaZQhKzI.js";
|
|
28
|
+
import "./errors-B11yhRo6.js";
|
|
29
|
+
import "./fs-safe-C77EShMC.js";
|
|
30
|
+
import "./proxy-env-ynOWOBHx.js";
|
|
31
|
+
import "./store-B7PaqfvZ.js";
|
|
32
|
+
import "./sessions-D7EjW0sG.js";
|
|
33
|
+
import "./accounts-DMvETf-t.js";
|
|
34
|
+
import "./paths-BHEVctLd.js";
|
|
35
|
+
import "./tool-images-ArXzv82F.js";
|
|
36
36
|
import "./thinking-BcOnJa2q.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./fetch-
|
|
39
|
-
import "./fetch-guard-
|
|
40
|
-
import "./api-key-rotation-
|
|
41
|
-
import "./proxy-fetch-
|
|
37
|
+
import "./image-DnxYCkHO.js";
|
|
38
|
+
import "./fetch-4RonjgqX.js";
|
|
39
|
+
import "./fetch-guard-B1EGEHan.js";
|
|
40
|
+
import "./api-key-rotation-Cv5_SG_o.js";
|
|
41
|
+
import "./proxy-fetch-xlbVQYN_.js";
|
|
42
42
|
|
|
43
43
|
//#region src/media-understanding/audio-preflight.ts
|
|
44
44
|
/**
|
package/dist/{audio-transcription-runner-eVtEKUPC.js → audio-transcription-runner-CQ4BMvGX.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
-
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
-
import { y as runExec } from "./workspace-
|
|
4
|
-
import { $ as mergeInboundPathRoots, A as resolveApiKeyForProvider, H as loadConfig, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, et as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, k as requireApiKey, kn as resolveOpenClawAgentDir } from "./model-selection-
|
|
1
|
+
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-C6hps0r3.js";
|
|
2
|
+
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredOpenClawTmpDir } from "./subsystem-BRjuJbbM.js";
|
|
3
|
+
import { y as runExec } from "./workspace-D6mrCnXi.js";
|
|
4
|
+
import { $ as mergeInboundPathRoots, A as resolveApiKeyForProvider, H as loadConfig, Q as isInboundPathAllowed, Z as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, et as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, k as requireApiKey, kn as resolveOpenClawAgentDir } from "./model-selection-D_Si2Ict.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DCpyia_K.js";
|
|
7
|
+
import { T as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DnxYCkHO.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-4RonjgqX.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CYFFedEH.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-B1EGEHan.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Cv5_SG_o.js";
|
|
12
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-xlbVQYN_.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -35,7 +35,7 @@ function resolveAliasedOpenAiCompatibleModelId(modelId) {
|
|
|
35
35
|
const log = createSubsystemLogger("model-catalog");
|
|
36
36
|
let modelCatalogPromise = null;
|
|
37
37
|
let hasLoggedModelCatalogError = false;
|
|
38
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
38
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DA46fxhD.js").then((n) => n.r);
|
|
39
39
|
let importPiSdk = defaultImportPiSdk;
|
|
40
40
|
const CODEX_PROVIDER = "openai-codex";
|
|
41
41
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -8,7 +8,7 @@ import { f as openUrl } from "./onboard-helpers-BN4wlPl-.js";
|
|
|
8
8
|
import { o as BITSEEK_DEFAULT_MODEL_REF } from "./constants-BJMtcGm_.js";
|
|
9
9
|
import { t as enablePluginInConfig } from "./enable-DV9KRhs0.js";
|
|
10
10
|
import { $ as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, A as applySyntheticConfig, At as QIANFAN_DEFAULT_MODEL_REF, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, D as applyOpenrouterProviderConfig, Dt as KIMI_CODING_MODEL_REF, E as applyOpenrouterConfig, Et as writeOAuthCredentials, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as applyAgentDefaultModelPrimary, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as MISTRAL_DEFAULT_MODEL_REF, P as applyVeniceConfig, Q as TOGETHER_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, T as applyMoonshotProviderConfigCn, Tt as setZaiApiKey, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as LITELLM_DEFAULT_MODEL_REF, Y as HUGGINGFACE_DEFAULT_MODEL_REF, Z as OPENROUTER_DEFAULT_MODEL_REF, _ as applyKilocodeProviderConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, c as applyMinimaxApiProviderConfigCn, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, et as XIAOMI_DEFAULT_MODEL_REF, f as applyBitseekConfig, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, h as applyHuggingfaceProviderConfig, ht as setOpencodeZenApiKey, i as applyOpencodeZenProviderConfig, it as setByteplusApiKey, j as applySyntheticProviderConfig, jt as XAI_DEFAULT_MODEL_REF, k as applyQianfanProviderConfig, kt as MOONSHOT_DEFAULT_MODEL_REF, l as applyMinimaxConfig, lt as setKimiCodingApiKey, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, p as applyBitseekProviderConfig, pt as setMoonshotApiKey, q as applyVercelAiGatewayProviderConfig, r as applyOpencodeZenConfig, rt as setBitseekApiKey, s as applyMinimaxApiProviderConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, tt as ZAI_DEFAULT_MODEL_REF, u as applyMinimaxProviderConfig, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, w as applyMoonshotProviderConfig, wt as setXiaomiApiKey, x as applyMistralProviderConfig, xt as setVercelAiGatewayApiKey, y as applyKimiCodeProviderConfig, yt as setTogetherApiKey, z as applyXiaomiProviderConfig } from "./auth-token-KZZH9ZpM.js";
|
|
11
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
11
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BPwzCB_M.js";
|
|
12
12
|
import { a as normalizeSecretInputModeInput, c as ensureModelAllowlistEntry, i as ensureApiKeyFromOptionEnvOrPrompt, l as normalizeApiKeyInput, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as applyDefaultModelChoice, t as createAuthChoiceAgentModelNoter, u as validateApiKeyInput } from "./auth-choice.apply-helpers-BaWlpW1x.js";
|
|
13
13
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-op8vboY6.js";
|
|
14
14
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DrlfyRe1.js";
|
|
@@ -8,7 +8,7 @@ import { f as openUrl } from "./onboard-helpers-D-l_4GyD.js";
|
|
|
8
8
|
import { o as BITSEEK_DEFAULT_MODEL_REF } from "./constants-D1Q8yQ1_.js";
|
|
9
9
|
import { t as enablePluginInConfig } from "./enable-DUzrhH2H.js";
|
|
10
10
|
import { $ as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, A as applySyntheticConfig, At as QIANFAN_DEFAULT_MODEL_REF, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, D as applyOpenrouterProviderConfig, Dt as KIMI_CODING_MODEL_REF, E as applyOpenrouterConfig, Et as writeOAuthCredentials, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as applyAgentDefaultModelPrimary, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as MISTRAL_DEFAULT_MODEL_REF, P as applyVeniceConfig, Q as TOGETHER_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, T as applyMoonshotProviderConfigCn, Tt as setZaiApiKey, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as LITELLM_DEFAULT_MODEL_REF, Y as HUGGINGFACE_DEFAULT_MODEL_REF, Z as OPENROUTER_DEFAULT_MODEL_REF, _ as applyKilocodeProviderConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, c as applyMinimaxApiProviderConfigCn, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, et as XIAOMI_DEFAULT_MODEL_REF, f as applyBitseekConfig, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, h as applyHuggingfaceProviderConfig, ht as setOpencodeZenApiKey, i as applyOpencodeZenProviderConfig, it as setByteplusApiKey, j as applySyntheticProviderConfig, jt as XAI_DEFAULT_MODEL_REF, k as applyQianfanProviderConfig, kt as MOONSHOT_DEFAULT_MODEL_REF, l as applyMinimaxConfig, lt as setKimiCodingApiKey, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, p as applyBitseekProviderConfig, pt as setMoonshotApiKey, q as applyVercelAiGatewayProviderConfig, r as applyOpencodeZenConfig, rt as setBitseekApiKey, s as applyMinimaxApiProviderConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, tt as ZAI_DEFAULT_MODEL_REF, u as applyMinimaxProviderConfig, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, w as applyMoonshotProviderConfig, wt as setXiaomiApiKey, x as applyMistralProviderConfig, xt as setVercelAiGatewayApiKey, y as applyKimiCodeProviderConfig, yt as setTogetherApiKey, z as applyXiaomiProviderConfig } from "./auth-token-BTTsYSXG.js";
|
|
11
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
11
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BqRZaAgE.js";
|
|
12
12
|
import { a as normalizeSecretInputModeInput, c as ensureModelAllowlistEntry, i as ensureApiKeyFromOptionEnvOrPrompt, l as normalizeApiKeyInput, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as applyDefaultModelChoice, t as createAuthChoiceAgentModelNoter, u as validateApiKeyInput } from "./auth-choice.apply-helpers-ir8GviGs.js";
|
|
13
13
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-BHaYGK6i.js";
|
|
14
14
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-DaLz-bqQ.js";
|
|
@@ -2,7 +2,7 @@ import { f as isRich, p as theme, z as hasRootVersionAlias } from "./globals-B68
|
|
|
2
2
|
import { S as resolveCliName, b as BITSEEK_CLI_NAME$1 } from "./paths-BnKiOk2S.js";
|
|
3
3
|
import { l as visibleWidth } from "./subsystem-DjdBljTA.js";
|
|
4
4
|
import { M as loadConfig } from "./auth-profiles-Ncv1fyN5.js";
|
|
5
|
-
import { Nn as resolveCommitHash } from "./subagent-registry-
|
|
5
|
+
import { Nn as resolveCommitHash } from "./subagent-registry-B4xJjOu2.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/tagline.ts
|
|
8
8
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-C6hps0r3.js";
|
|
2
2
|
import { c as normalizeAgentId, m as normalizeAccountId } from "./session-key-a6av96Fj.js";
|
|
3
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
3
|
+
import { s as normalizeChatChannelId } from "./registry-CJCkqTms.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
package/dist/build-info.json
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "../../agent-scope-
|
|
2
|
-
import "../../paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-
|
|
1
|
+
import { n as listAgentIds, s as resolveAgentWorkspaceDir } from "../../agent-scope-C6hps0r3.js";
|
|
2
|
+
import "../../paths-aGRLvQx9.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BRjuJbbM.js";
|
|
4
4
|
import { u as resolveAgentIdFromSessionKey } from "../../session-key-a6av96Fj.js";
|
|
5
|
-
import "../../utils-
|
|
6
|
-
import "../../workspace-
|
|
7
|
-
import "../../logger-
|
|
8
|
-
import "../../model-selection-
|
|
9
|
-
import "../../github-copilot-token-
|
|
10
|
-
import "../../env-
|
|
5
|
+
import "../../utils-BFZnl-5N.js";
|
|
6
|
+
import "../../workspace-D6mrCnXi.js";
|
|
7
|
+
import "../../logger-BlH5MJiV.js";
|
|
8
|
+
import "../../model-selection-D_Si2Ict.js";
|
|
9
|
+
import "../../github-copilot-token-DLGN-8YS.js";
|
|
10
|
+
import "../../env-DNMZEG57.js";
|
|
11
11
|
import "../../boolean-mcn6kL0s.js";
|
|
12
|
-
import { r as isGatewayStartupEvent } from "../../internal-hooks-
|
|
13
|
-
import "../../registry-
|
|
14
|
-
import "../../dock-
|
|
15
|
-
import { n as SILENT_REPLY_TOKEN } from "../../tokens-
|
|
16
|
-
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-
|
|
17
|
-
import "../../plugins-
|
|
18
|
-
import "../../accounts-
|
|
19
|
-
import "../../bindings-
|
|
20
|
-
import "../../send-
|
|
21
|
-
import "../../send-
|
|
22
|
-
import "../../deliver-
|
|
23
|
-
import "../../diagnostic-
|
|
12
|
+
import { r as isGatewayStartupEvent } from "../../internal-hooks-yQe6H47q.js";
|
|
13
|
+
import "../../registry-CJCkqTms.js";
|
|
14
|
+
import "../../dock-Bm23mfim.js";
|
|
15
|
+
import { n as SILENT_REPLY_TOKEN } from "../../tokens-B9EDT4jv.js";
|
|
16
|
+
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-DLrpQftt.js";
|
|
17
|
+
import "../../plugins-CJoaoIHc.js";
|
|
18
|
+
import "../../accounts-ubG6irXZ.js";
|
|
19
|
+
import "../../bindings-CsIiIjqN.js";
|
|
20
|
+
import "../../send-CcQZM0c7.js";
|
|
21
|
+
import "../../send-DcL81tZr.js";
|
|
22
|
+
import "../../deliver-zrYSWfQ5.js";
|
|
23
|
+
import "../../diagnostic-BO1GQJJf.js";
|
|
24
24
|
import "../../diagnostic-session-state-DBPrVBk3.js";
|
|
25
|
-
import "../../accounts-
|
|
26
|
-
import "../../send-
|
|
27
|
-
import "../../image-ops-
|
|
28
|
-
import "../../audio-transcription-runner-
|
|
29
|
-
import "../../pi-model-discovery-
|
|
30
|
-
import "../../message-channel-
|
|
31
|
-
import "../../pi-embedded-helpers-
|
|
32
|
-
import "../../chrome-
|
|
33
|
-
import "../../frontmatter-
|
|
34
|
-
import "../../skills-
|
|
35
|
-
import "../../path-alias-guards-
|
|
36
|
-
import "../../redact-
|
|
37
|
-
import "../../errors-
|
|
38
|
-
import "../../fs-safe-
|
|
39
|
-
import "../../proxy-env-
|
|
40
|
-
import "../../store-
|
|
41
|
-
import { U as resolveMainSessionKey, V as resolveAgentMainSessionKey, o as loadSessionStore, u as updateSessionStore } from "../../sessions-
|
|
42
|
-
import "../../accounts-
|
|
43
|
-
import { s as resolveStorePath } from "../../paths-
|
|
44
|
-
import "../../tool-images-
|
|
25
|
+
import "../../accounts-BTexwKe8.js";
|
|
26
|
+
import "../../send-D2zYssqK.js";
|
|
27
|
+
import "../../image-ops-DCpyia_K.js";
|
|
28
|
+
import "../../audio-transcription-runner-CQ4BMvGX.js";
|
|
29
|
+
import "../../pi-model-discovery-DA46fxhD.js";
|
|
30
|
+
import "../../message-channel-pbgFFUNm.js";
|
|
31
|
+
import "../../pi-embedded-helpers-Bo7e-QzJ.js";
|
|
32
|
+
import "../../chrome-DWfXErGH.js";
|
|
33
|
+
import "../../frontmatter-D6vByAHn.js";
|
|
34
|
+
import "../../skills-BttlqUXr.js";
|
|
35
|
+
import "../../path-alias-guards-Cpb5gMG6.js";
|
|
36
|
+
import "../../redact-CaZQhKzI.js";
|
|
37
|
+
import "../../errors-B11yhRo6.js";
|
|
38
|
+
import "../../fs-safe-C77EShMC.js";
|
|
39
|
+
import "../../proxy-env-ynOWOBHx.js";
|
|
40
|
+
import "../../store-B7PaqfvZ.js";
|
|
41
|
+
import { U as resolveMainSessionKey, V as resolveAgentMainSessionKey, o as loadSessionStore, u as updateSessionStore } from "../../sessions-D7EjW0sG.js";
|
|
42
|
+
import "../../accounts-DMvETf-t.js";
|
|
43
|
+
import { s as resolveStorePath } from "../../paths-BHEVctLd.js";
|
|
44
|
+
import "../../tool-images-ArXzv82F.js";
|
|
45
45
|
import "../../thinking-BcOnJa2q.js";
|
|
46
|
-
import "../../image-
|
|
47
|
-
import "../../fetch-
|
|
48
|
-
import "../../fetch-guard-
|
|
49
|
-
import "../../api-key-rotation-
|
|
50
|
-
import "../../proxy-fetch-
|
|
51
|
-
import "../../reply-prefix-
|
|
52
|
-
import "../../chunk-
|
|
53
|
-
import "../../markdown-tables-
|
|
54
|
-
import "../../ir-
|
|
46
|
+
import "../../image-DnxYCkHO.js";
|
|
47
|
+
import "../../fetch-4RonjgqX.js";
|
|
48
|
+
import "../../fetch-guard-B1EGEHan.js";
|
|
49
|
+
import "../../api-key-rotation-Cv5_SG_o.js";
|
|
50
|
+
import "../../proxy-fetch-xlbVQYN_.js";
|
|
51
|
+
import "../../reply-prefix-DK1i6bCJ.js";
|
|
52
|
+
import "../../chunk-2ZxftpDd.js";
|
|
53
|
+
import "../../markdown-tables-BHONoo6S.js";
|
|
54
|
+
import "../../ir-DcDVAFj3.js";
|
|
55
55
|
import "../../render-flG67HhW.js";
|
|
56
|
-
import "../../target-errors-
|
|
57
|
-
import "../../commands-registry-
|
|
58
|
-
import "../../skill-commands-
|
|
56
|
+
import "../../target-errors-Dad0aUFR.js";
|
|
57
|
+
import "../../commands-registry-CTkboeeC.js";
|
|
58
|
+
import "../../skill-commands-Cea3CZFF.js";
|
|
59
59
|
import "../../fetch-CIXnD4u2.js";
|
|
60
|
-
import "../../retry-
|
|
61
|
-
import "../../channel-activity-
|
|
62
|
-
import "../../tables-
|
|
63
|
-
import "../../send-
|
|
64
|
-
import "../../outbound-attachment-
|
|
65
|
-
import "../../send-
|
|
66
|
-
import "../../resolve-route-
|
|
67
|
-
import "../../proxy-
|
|
68
|
-
import "../../replies-
|
|
69
|
-
import "../../session-meta-
|
|
70
|
-
import "../../manager-
|
|
71
|
-
import "../../query-expansion-
|
|
60
|
+
import "../../retry-DTeP7C3h.js";
|
|
61
|
+
import "../../channel-activity-Dwc2BBvs.js";
|
|
62
|
+
import "../../tables-BJ0XAman.js";
|
|
63
|
+
import "../../send-BpyiQEov.js";
|
|
64
|
+
import "../../outbound-attachment-Cy8rvvJE.js";
|
|
65
|
+
import "../../send--Gq-Uh-l.js";
|
|
66
|
+
import "../../resolve-route-C5hVstLo.js";
|
|
67
|
+
import "../../proxy-DfJJLvch.js";
|
|
68
|
+
import "../../replies-D6zARd6r.js";
|
|
69
|
+
import "../../session-meta-BbCwXniv.js";
|
|
70
|
+
import "../../manager-tozHviEd.js";
|
|
71
|
+
import "../../query-expansion-CdDUaBcQ.js";
|
|
72
72
|
import fs from "node:fs/promises";
|
|
73
73
|
import path from "node:path";
|
|
74
74
|
import crypto from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
3
|
-
import "../../utils-
|
|
4
|
-
import { d as loadExtraBootstrapFilesWithDiagnostics, u as filterBootstrapFilesForSession } from "../../workspace-
|
|
5
|
-
import "../../logger-
|
|
1
|
+
import "../../paths-aGRLvQx9.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "../../subsystem-BRjuJbbM.js";
|
|
3
|
+
import "../../utils-BFZnl-5N.js";
|
|
4
|
+
import { d as loadExtraBootstrapFilesWithDiagnostics, u as filterBootstrapFilesForSession } from "../../workspace-D6mrCnXi.js";
|
|
5
|
+
import "../../logger-BlH5MJiV.js";
|
|
6
6
|
import "../../boolean-mcn6kL0s.js";
|
|
7
|
-
import { n as isAgentBootstrapEvent } from "../../internal-hooks-
|
|
8
|
-
import "../../frontmatter-
|
|
7
|
+
import { n as isAgentBootstrapEvent } from "../../internal-hooks-yQe6H47q.js";
|
|
8
|
+
import "../../frontmatter-D6vByAHn.js";
|
|
9
9
|
import { t as resolveHookConfig } from "../../config-BjFb5pRY.js";
|
|
10
10
|
|
|
11
11
|
//#region src/hooks/bundled/bootstrap-extra-files/handler.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "../../paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "../../paths-aGRLvQx9.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "../../subsystem-BRjuJbbM.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|