@termix-it/cryptoclaw 1.1.9 → 1.1.11
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-7nNRr4R3.js → accounts-4l7ba973.js} +1 -1
- package/dist/{accounts-CKpnUMZd.js → accounts-CAjupeYV.js} +16 -16
- package/dist/{accounts-BIr_ieyH.js → accounts-k5nTdi32.js} +1 -1
- package/dist/{active-listener-ClXqZUsD.js → active-listener-D9FARjMd.js} +1 -1
- package/dist/{api-key-rotation-CUJC6xSi.js → api-key-rotation-C-Q6XdUW.js} +2 -2
- package/dist/{audio-preflight--MDRrrlB.js → audio-preflight-C7kt2vOu.js} +33 -33
- package/dist/{audio-transcription-runner-CgLX4N3r.js → audio-transcription-runner-CawngPvE.js} +12 -12
- package/dist/{audit-membership-runtime-Ch2lLD_u.js → audit-membership-runtime-C6dnIaXJ.js} +5 -5
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +52 -52
- 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 +52 -52
- package/dist/bundled/soul-evil/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Crd0PQwN.js → channel-account-context-BAivtK8t.js} +1 -1
- package/dist/{channel-account-context-DPRR3rFq.js → channel-account-context-DptVE7IR.js} +1 -1
- package/dist/{channel-activity-32lmgAZH.js → channel-activity-Hho38eZq.js} +3 -3
- package/dist/{chrome-CtEQV_6p.js → chrome-palWvTtp.js} +18 -18
- package/dist/{command-registry-CBfNNhgy.js → command-registry-BEFHpoCL.js} +5 -5
- package/dist/{commands-registry-FnGtnvb0.js → commands-registry-A3LstXeY.js} +4 -4
- package/dist/{completion-cli-FP9HAEQ3.js → completion-cli-BxbU_lYn.js} +2 -2
- package/dist/{completion-cli-Bai3pUlw.js → completion-cli-rNt-qwSw.js} +1 -1
- package/dist/{deliver-32OxViWG.js → deliver-JkYjt9Qz.js} +20 -20
- package/dist/deliver-runtime-BvTbrDXE.js +37 -0
- package/dist/deps-send-discord.runtime-1mqY0Pn3.js +27 -0
- package/dist/deps-send-imessage.runtime-NAKUx6Vy.js +26 -0
- package/dist/deps-send-signal.runtime-CHqnnRXO.js +25 -0
- package/dist/deps-send-slack.runtime-CbGlCNTX.js +23 -0
- package/dist/deps-send-telegram.runtime-CgApeKta.js +28 -0
- package/dist/deps-send-whatsapp.runtime-CAPjqcnc.js +61 -0
- package/dist/{diagnostic-UO82MQjo.js → diagnostic-BGtFj4tU.js} +2 -2
- package/dist/{doctor-completion-CCNHTpp9.js → doctor-completion--S9fsNQo.js} +1 -1
- package/dist/{doctor-completion-BQBZQyQq.js → doctor-completion-BAJbdzsD.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-BwBpGOBV.js → errors-C1YF712P.js} +1 -1
- package/dist/{fetch-DozurFmr.js → fetch-_iocPLV2.js} +5 -5
- package/dist/{fetch-guard-XtFb6zM7.js → fetch-guard-CiQUuV0r.js} +2 -2
- package/dist/{frontmatter-Cy6ESb-O.js → frontmatter-Dn68lQ_o.js} +5 -5
- package/dist/{fs-safe-YxZ8RAEw.js → fs-safe-BLpOReWZ.js} +4 -4
- package/dist/{gateway-cli-CyeZq5AC.js → gateway-cli-HRo8JRRd.js} +5 -5
- package/dist/{gateway-cli-DLWVlNsd.js → gateway-cli-LhABh8fD.js} +5 -5
- package/dist/{github-copilot-token-D7knylDF.js → github-copilot-token-DDa7O18e.js} +7 -7
- package/dist/{image-B2LPzwKF.js → image-BlRI3dXw.js} +6 -6
- package/dist/{image-ops-gm8VfGiD.js → image-ops-D7mq-4y1.js} +2 -2
- package/dist/image-runtime-Cp3I725X.js +30 -0
- package/dist/index.js +1 -1
- package/dist/{ir-B7IR3m4T.js → ir-Dpg87zYv.js} +7 -7
- package/dist/{legacy-names-TrN6kryB.js → legacy-names-BAiRv0I2.js} +1 -1
- package/dist/llm-slug-generator.js +52 -52
- package/dist/{logger-CV2IWsAW.js → logger-C53B395N.js} +1 -1
- package/dist/{login-C6CkDgLi.js → login-CHsCISh4.js} +5 -5
- package/dist/{login-qr-WEr1WQvg.js → login-qr-BEW3jIOt.js} +11 -11
- package/dist/{manager-BWh3BVp1.js → manager-Dfrejf6z.js} +13 -13
- package/dist/manager-runtime-DacMHR37.js +19 -0
- package/dist/{model-selection-BiqOlgFe.js → model-selection-e9hodq0l.js} +48 -48
- package/dist/{onboard-BCnqRDky.js → onboard-BgQUk8KO.js} +2 -2
- package/dist/{onboard-CQ-YoTSl.js → onboard-CukHmJnb.js} +2 -2
- package/dist/{onboard-config-DWnlWcjI.js → onboard-config-C06y4K2b.js} +1 -1
- package/dist/{onboard-config-oUKoFfFB.js → onboard-config-DzpTyHer.js} +1 -1
- package/dist/{onboarding-DR-2kdRy.js → onboarding-BjkMcLV3.js} +2 -2
- package/dist/{onboarding-BY3YZMkn.js → onboarding-Dl2vyZrH.js} +2 -2
- package/dist/{onboarding.finalize-B_gI9SXJ.js → onboarding.finalize-D5Wmhsa1.js} +4 -4
- package/dist/{onboarding.finalize-CEgugO0l.js → onboarding.finalize-DPeb5UKU.js} +3 -3
- package/dist/{outbound-DSVwKSv4.js → outbound-BZqL8UdJ.js} +6 -6
- package/dist/{outbound-attachment-CcY_Rg0-.js → outbound-attachment-wzHGF-Is.js} +2 -2
- package/dist/{path-alias-guards-Gzq1eAOo.js → path-alias-guards-It4BBRdm.js} +1 -1
- package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{paths-BWg7M5Yy.js → paths-CZ0nrg7g.js} +3 -3
- package/dist/{pi-embedded-DkdNpxSe.js → pi-embedded-BNcbv6lg.js} +161 -161
- package/dist/{pi-embedded-helpers-B_qa7ikD.js → pi-embedded-helpers-CE9KKP1Q.js} +52 -52
- package/dist/{pi-model-discovery-FwBV8Q5J.js → pi-model-discovery-32EFg27L.js} +7 -7
- package/dist/pi-model-discovery-runtime-C8SNNnEN.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-2r6sdUt5.js → pi-tools.before-tool-call.runtime-BfjlGXIc.js} +10 -10
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/{plugins-Burzc1_i.js → plugins-rc2l4VJe.js} +10 -10
- package/dist/{program-Rna_eew4.js → program-IR_GbPYL.js} +2 -2
- package/dist/{program-context-BfnHzkXT.js → program-context-CqbW3Ozx.js} +7 -7
- package/dist/{prompt-select-styled-1nWCPZKF.js → prompt-select-styled-4VXtaC_Y.js} +3 -3
- package/dist/{prompt-select-styled-BDi5UBUn.js → prompt-select-styled-CDVjf5nV.js} +3 -3
- package/dist/{proxy-env-C05eD8Tt.js → proxy-env-C2sbN0UU.js} +1 -1
- package/dist/{proxy-fetch-C_2Ejh5T.js → proxy-fetch-CVSmQMZt.js} +1 -1
- package/dist/{pw-ai-BbxaV2Cy.js → pw-ai-CWE0qzH7.js} +15 -15
- package/dist/{qmd-manager-JjGGwn8R.js → qmd-manager-DMSLC2iu.js} +11 -11
- package/dist/{query-expansion-DkXzaUOH.js → query-expansion-MI1dZ5Nj.js} +6 -6
- package/dist/{redact-C-aJRv5O.js → redact-BXURioma.js} +1 -1
- package/dist/{register.maintenance-BoigTo1u.js → register.maintenance-CxSE7-Kl.js} +6 -6
- package/dist/{register.maintenance-RJM2wCjj.js → register.maintenance-DwOfJhoP.js} +7 -7
- package/dist/{register.onboard--1jxOBJy.js → register.onboard-CvYvmVAO.js} +2 -2
- package/dist/{register.onboard-BtBM_7Qe.js → register.onboard-D336Th_C.js} +2 -2
- package/dist/{register.setup-B_O283DR.js → register.setup-B43LcoaE.js} +2 -2
- package/dist/{register.setup-o2PFpqW-.js → register.setup-DaJKzoTH.js} +2 -2
- package/dist/{register.status-health-sessions-CVjLnoAQ.js → register.status-health-sessions-BteqJ3fo.js} +3 -3
- package/dist/{register.status-health-sessions-ByZDjDZf.js → register.status-health-sessions-DYYi2rkn.js} +3 -3
- package/dist/{register.subclis-Cm8zQPce.js → register.subclis-Cjl06Zry.js} +3 -3
- package/dist/{run-main-Bcwtj17t.js → run-main-DM79Bp3w.js} +4 -4
- package/dist/{run-with-concurrency-CYTs7gPY.js → run-with-concurrency-C5E9gJhP.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-BhVxslsH.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-CFivqxoq.js +23 -0
- package/dist/{send-DDKqu28r.js → send-BWySsurX.js} +7 -7
- package/dist/{send-ChW15YPB.js → send-BlTVCcYd.js} +27 -27
- package/dist/{send-Cj0LCSvd.js → send-C87tIqIn.js} +7 -7
- package/dist/{send-q-l5fncb.js → send-Cpja8Q1N.js} +5 -5
- package/dist/{send-hOoCA9jX.js → send-OP60RbsK.js} +6 -6
- package/dist/{session-BzKpA5X4.js → session-DmXsj3JD.js} +8 -8
- package/dist/{skill-commands-CIcvUo1A.js → skill-commands-DEsgUSH3.js} +9 -9
- package/dist/{skills-DU6_fNPx.js → skills-OklkZyI1.js} +22 -22
- package/dist/slash-commands.runtime-gtQnheWz.js +17 -0
- package/dist/slash-dispatch.runtime-w1y_0I6t.js +57 -0
- package/dist/slash-skill-commands.runtime-CA_oN4df.js +21 -0
- package/dist/{status-CKWYXIIT.js → status-B-T9Cvvn.js} +2 -2
- package/dist/{status-CZ9ThIxK.js → status-XxtmLZrL.js} +2 -2
- package/dist/{status.update-CoOEUoUN.js → status.update-CY3ejLFL.js} +1 -1
- package/dist/{status.update-CO_hSO5b.js → status.update-mgzBYrgy.js} +1 -1
- package/dist/{store-DcxsUE2f.js → store-BNhebBGr.js} +2 -2
- package/dist/subagent-registry-runtime-HYpWtFUu.js +57 -0
- package/dist/{subsystem-CEiApUN8.js → subsystem-W834z9Wa.js} +16 -16
- package/dist/{tables-DTb5mzup.js → tables-XtcH-BaF.js} +1 -1
- package/dist/{target-errors-jNfnUab4.js → target-errors-CNzteBWz.js} +2 -2
- package/dist/{thinking-BJkp7vCP.js → thinking-X8yYhVf1.js} +6 -6
- package/dist/{tokens-tz04P2cO.js → tokens-DxcVnNVJ.js} +1 -1
- package/dist/{tool-images-DRyUUf-X.js → tool-images-B-4ixjYn.js} +2 -2
- package/dist/{update-cli-C1DALvzD.js → update-cli-CNBvXpVS.js} +8 -8
- package/dist/{update-cli-BDOF9xoT.js → update-cli-PgA0bnyk.js} +7 -7
- package/dist/{update-runner-C7Ixr_Ti.js → update-runner-BACLkDvl.js} +3 -3
- package/dist/{update-runner-Bw1MljLh.js → update-runner-D7HCCtTd.js} +3 -3
- package/dist/{utils-BFS4zK3g.js → utils-D2oM4XHm.js} +7 -7
- package/dist/{web-fbVaDaVW.js → web-B8rFiLYw.js} +56 -56
- package/dist/{whatsapp-actions-CMHMrQzp.js → whatsapp-actions-BPIXiPAR.js} +22 -22
- package/dist/{workspace-D6GL2anS.js → workspace-ZgWjBCAm.js} +21 -21
- package/package.json +1 -1
- package/dist/deliver-runtime-DGYhS7K1.js +0 -37
- package/dist/deps-send-discord.runtime-BJmezHoH.js +0 -27
- package/dist/deps-send-imessage.runtime-Dsq-J7FK.js +0 -26
- package/dist/deps-send-signal.runtime-2kRNCAkm.js +0 -25
- package/dist/deps-send-slack.runtime-DoM54spr.js +0 -23
- package/dist/deps-send-telegram.runtime-DGtmyBk2.js +0 -28
- package/dist/deps-send-whatsapp.runtime-B_ZiouDf.js +0 -61
- package/dist/image-runtime-BL3D208M.js +0 -30
- package/dist/manager-runtime-CJHBIXOb.js +0 -19
- package/dist/pi-model-discovery-runtime-BozG-CtU.js +0 -12
- package/dist/runtime-whatsapp-login.runtime-BU92rhCA.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-DZy-sAPP.js +0 -23
- package/dist/slash-commands.runtime-CXJJf0jq.js +0 -17
- package/dist/slash-dispatch.runtime-CnDWfnhw.js +0 -57
- package/dist/slash-skill-commands.runtime-NPMuDGFx.js +0 -21
- package/dist/subagent-registry-runtime-R6EArAuY.js +0 -57
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
2
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-
|
|
4
|
-
import { Ct as normalizeIpAddress, St as isPrivateOrLoopbackIpAddress, X as loadConfig, xt as isLoopbackIpAddress } from "./model-selection-
|
|
5
|
-
import { a as isErrno } from "./errors-
|
|
6
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { t as createSubsystemLogger, w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
|
|
2
|
+
import { t as CONFIG_DIR } from "./utils-D2oM4XHm.js";
|
|
3
|
+
import { D as isNotFoundPathError, O as isPathInside } from "./workspace-ZgWjBCAm.js";
|
|
4
|
+
import { Ct as normalizeIpAddress, St as isPrivateOrLoopbackIpAddress, X as loadConfig, xt as isLoopbackIpAddress } from "./model-selection-e9hodq0l.js";
|
|
5
|
+
import { a as isErrno } from "./errors-C1YF712P.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BLpOReWZ.js";
|
|
7
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-C2sbN0UU.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import syncFs from "node:fs";
|
|
12
12
|
import { execFileSync, spawn } from "node:child_process";
|
|
13
13
|
import { createHmac } from "node:crypto";
|
|
14
14
|
import net from "node:net";
|
|
@@ -1595,7 +1595,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1595
1595
|
]);
|
|
1596
1596
|
function exists$1(filePath) {
|
|
1597
1597
|
try {
|
|
1598
|
-
return
|
|
1598
|
+
return syncFs.existsSync(filePath);
|
|
1599
1599
|
} catch {
|
|
1600
1600
|
return false;
|
|
1601
1601
|
}
|
|
@@ -1738,7 +1738,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
function readDesktopExecLine(desktopPath) {
|
|
1740
1740
|
try {
|
|
1741
|
-
const lines =
|
|
1741
|
+
const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1742
1742
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1743
1743
|
} catch {}
|
|
1744
1744
|
return null;
|
|
@@ -1996,7 +1996,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
|
|
|
1996
1996
|
const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
|
|
1997
1997
|
function resolveLsofCommandSync() {
|
|
1998
1998
|
for (const candidate of LSOF_CANDIDATES) try {
|
|
1999
|
-
|
|
1999
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
2000
2000
|
return candidate;
|
|
2001
2001
|
} catch {}
|
|
2002
2002
|
return "lsof";
|
|
@@ -2041,8 +2041,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
function safeReadJson(filePath) {
|
|
2043
2043
|
try {
|
|
2044
|
-
if (!
|
|
2045
|
-
const raw =
|
|
2044
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
2045
|
+
const raw = syncFs.readFileSync(filePath, "utf-8");
|
|
2046
2046
|
const parsed = JSON.parse(raw);
|
|
2047
2047
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
2048
2048
|
return parsed;
|
|
@@ -2051,8 +2051,8 @@ function safeReadJson(filePath) {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
function safeWriteJson(filePath, data) {
|
|
2054
|
-
|
|
2055
|
-
|
|
2054
|
+
syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
2055
|
+
syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
2056
2056
|
}
|
|
2057
2057
|
function setDeep(obj, keys, value) {
|
|
2058
2058
|
let node = obj;
|
|
@@ -2179,7 +2179,7 @@ function decorateOpenClawProfile(userDataDir, opts) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
safeWriteJson(preferencesPath, prefs);
|
|
2181
2181
|
try {
|
|
2182
|
-
|
|
2182
|
+
syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
2183
2183
|
} catch {}
|
|
2184
2184
|
}
|
|
2185
2185
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -2195,7 +2195,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
2195
2195
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
2196
2196
|
function exists(filePath) {
|
|
2197
2197
|
try {
|
|
2198
|
-
return
|
|
2198
|
+
return syncFs.existsSync(filePath);
|
|
2199
2199
|
} catch {
|
|
2200
2200
|
return false;
|
|
2201
2201
|
}
|
|
@@ -2293,7 +2293,7 @@ async function launchOpenClawChrome(resolved, profile) {
|
|
|
2293
2293
|
const exe = resolveBrowserExecutable(resolved);
|
|
2294
2294
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
2295
2295
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
2296
|
-
|
|
2296
|
+
syncFs.mkdirSync(userDataDir, { recursive: true });
|
|
2297
2297
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_OPENCLAW_BROWSER_COLOR).toUpperCase());
|
|
2298
2298
|
const spawnOnce = () => {
|
|
2299
2299
|
const args = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-d3aR1MYC.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-Cjl06Zry.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DaJKzoTH.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-D336Th_C.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-DwOfJhoP.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -135,7 +135,7 @@ const coreEntries = [
|
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
137
|
register: async ({ program }) => {
|
|
138
|
-
(await import("./register.status-health-sessions-
|
|
138
|
+
(await import("./register.status-health-sessions-BteqJ3fo.js")).registerStatusHealthSessionsCommands(program);
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
2
|
-
import { br as DEFAULT_PROVIDER, qt as getActivePluginRegistry, u as resolveConfiguredModelRef, yr as DEFAULT_MODEL } from "./model-selection-
|
|
3
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
1
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-D2oM4XHm.js";
|
|
2
|
+
import { br as DEFAULT_PROVIDER, qt as getActivePluginRegistry, u as resolveConfiguredModelRef, yr as DEFAULT_MODEL } from "./model-selection-e9hodq0l.js";
|
|
3
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-X8yYhVf1.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-rc2l4VJe.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-sfEQP4fF.js";
|
|
5
5
|
import { m as pathExists } from "./utils-BnC3HGtm.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-DBJiRgR0.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Cjl06Zry.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-BEFHpoCL.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-BwKunb5X.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-DyWRcjQY.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-xFiJOAuL.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-Calg5NpK.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-AORgAED3.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-CqbW3Ozx.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
|
|
2
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
|
|
3
3
|
import { g as normalizeOptionalAccountId, h as normalizeAccountId } from "./session-key-DgdmD4k7.js";
|
|
4
|
-
import { Yt as getActivePluginRegistryVersion, qt as getActivePluginRegistry } from "./model-selection-
|
|
5
|
-
import { r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-
|
|
6
|
-
import { d as getChannelDock } from "./thinking-
|
|
7
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { Yt as getActivePluginRegistryVersion, qt as getActivePluginRegistry } from "./model-selection-e9hodq0l.js";
|
|
5
|
+
import { r as createInternalHookEvent, s as triggerInternalHook } from "./legacy-names-BAiRv0I2.js";
|
|
6
|
+
import { d as getChannelDock } from "./thinking-X8yYhVf1.js";
|
|
7
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DxcVnNVJ.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-rc2l4VJe.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-xpZo1jCG.js";
|
|
10
10
|
import { r as parseTelegramTarget } from "./targets-yNvvUZit.js";
|
|
11
|
-
import { H as resolveMirroredTranscriptText, V as appendAssistantMessageToSessionTranscript, ct as parseInlineDirectives, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
12
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
13
|
-
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-
|
|
14
|
-
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
11
|
+
import { H as resolveMirroredTranscriptText, V as appendAssistantMessageToSessionTranscript, ct as parseInlineDirectives, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CE9KKP1Q.js";
|
|
12
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-_iocPLV2.js";
|
|
13
|
+
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-Dpg87zYv.js";
|
|
14
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Cpja8Q1N.js";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import syncFs from "node:fs";
|
|
17
17
|
|
|
18
18
|
//#region src/plugins/hooks.ts
|
|
19
19
|
/**
|
|
@@ -1081,11 +1081,11 @@ function resolveFailedDir(stateDir) {
|
|
|
1081
1081
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
1082
1082
|
async function ensureQueueDir(stateDir) {
|
|
1083
1083
|
const queueDir = resolveQueueDir(stateDir);
|
|
1084
|
-
await
|
|
1084
|
+
await syncFs.promises.mkdir(queueDir, {
|
|
1085
1085
|
recursive: true,
|
|
1086
1086
|
mode: 448
|
|
1087
1087
|
});
|
|
1088
|
-
await
|
|
1088
|
+
await syncFs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
1089
1089
|
recursive: true,
|
|
1090
1090
|
mode: 448
|
|
1091
1091
|
});
|
|
@@ -1112,18 +1112,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
1112
1112
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
1113
1113
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
1114
1114
|
const json = JSON.stringify(entry, null, 2);
|
|
1115
|
-
await
|
|
1115
|
+
await syncFs.promises.writeFile(tmp, json, {
|
|
1116
1116
|
encoding: "utf-8",
|
|
1117
1117
|
mode: 384
|
|
1118
1118
|
});
|
|
1119
|
-
await
|
|
1119
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
1120
1120
|
return id;
|
|
1121
1121
|
}
|
|
1122
1122
|
/** Remove a successfully delivered entry from the queue. */
|
|
1123
1123
|
async function ackDelivery(id, stateDir) {
|
|
1124
1124
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
1125
1125
|
try {
|
|
1126
|
-
await
|
|
1126
|
+
await syncFs.promises.unlink(filePath);
|
|
1127
1127
|
} catch (err) {
|
|
1128
1128
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
1129
1129
|
}
|
|
@@ -1131,17 +1131,17 @@ async function ackDelivery(id, stateDir) {
|
|
|
1131
1131
|
/** Update a queue entry after a failed delivery attempt. */
|
|
1132
1132
|
async function failDelivery(id, error, stateDir) {
|
|
1133
1133
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
1134
|
-
const raw = await
|
|
1134
|
+
const raw = await syncFs.promises.readFile(filePath, "utf-8");
|
|
1135
1135
|
const entry = JSON.parse(raw);
|
|
1136
1136
|
entry.retryCount += 1;
|
|
1137
1137
|
entry.lastAttemptAt = Date.now();
|
|
1138
1138
|
entry.lastError = error;
|
|
1139
1139
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
1140
|
-
await
|
|
1140
|
+
await syncFs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
1141
1141
|
encoding: "utf-8",
|
|
1142
1142
|
mode: 384
|
|
1143
1143
|
});
|
|
1144
|
-
await
|
|
1144
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
//#endregion
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./thinking-X8yYhVf1.js";
|
|
11
|
+
import "./tokens-DxcVnNVJ.js";
|
|
12
|
+
import "./plugins-rc2l4VJe.js";
|
|
13
|
+
import "./accounts-CAjupeYV.js";
|
|
14
|
+
import { t as deliverOutboundPayloads } from "./deliver-JkYjt9Qz.js";
|
|
15
|
+
import "./accounts-4l7ba973.js";
|
|
16
|
+
import "./image-ops-D7mq-4y1.js";
|
|
17
|
+
import "./pi-embedded-helpers-CE9KKP1Q.js";
|
|
18
|
+
import "./chrome-palWvTtp.js";
|
|
19
|
+
import "./frontmatter-Dn68lQ_o.js";
|
|
20
|
+
import "./skills-OklkZyI1.js";
|
|
21
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
22
|
+
import "./redact-BXURioma.js";
|
|
23
|
+
import "./errors-C1YF712P.js";
|
|
24
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
25
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
26
|
+
import "./store-BNhebBGr.js";
|
|
27
|
+
import "./accounts-k5nTdi32.js";
|
|
28
|
+
import "./paths-CZ0nrg7g.js";
|
|
29
|
+
import "./tool-images-B-4ixjYn.js";
|
|
30
|
+
import "./fetch-_iocPLV2.js";
|
|
31
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
32
|
+
import "./ir-Dpg87zYv.js";
|
|
33
|
+
import "./fetch-CTN5ATFT.js";
|
|
34
|
+
import "./send-Cpja8Q1N.js";
|
|
35
|
+
import "./outbound-attachment-wzHGF-Is.js";
|
|
36
|
+
|
|
37
|
+
export { deliverOutboundPayloads };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-rc2l4VJe.js";
|
|
11
|
+
import "./accounts-CAjupeYV.js";
|
|
12
|
+
import { h as sendMessageDiscord } from "./send-BWySsurX.js";
|
|
13
|
+
import "./image-ops-D7mq-4y1.js";
|
|
14
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
15
|
+
import "./redact-BXURioma.js";
|
|
16
|
+
import "./errors-C1YF712P.js";
|
|
17
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
18
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
19
|
+
import "./fetch-_iocPLV2.js";
|
|
20
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
21
|
+
import "./ir-Dpg87zYv.js";
|
|
22
|
+
import "./render-BZdJrUxT.js";
|
|
23
|
+
import "./fetch-CTN5ATFT.js";
|
|
24
|
+
import "./channel-activity-Hho38eZq.js";
|
|
25
|
+
import "./tables-XtcH-BaF.js";
|
|
26
|
+
|
|
27
|
+
export { sendMessageDiscord };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-rc2l4VJe.js";
|
|
11
|
+
import "./accounts-CAjupeYV.js";
|
|
12
|
+
import "./image-ops-D7mq-4y1.js";
|
|
13
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
14
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
15
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
16
|
+
import "./store-BNhebBGr.js";
|
|
17
|
+
import "./accounts-k5nTdi32.js";
|
|
18
|
+
import "./fetch-_iocPLV2.js";
|
|
19
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
20
|
+
import "./ir-Dpg87zYv.js";
|
|
21
|
+
import "./render-BZdJrUxT.js";
|
|
22
|
+
import "./tables-XtcH-BaF.js";
|
|
23
|
+
import "./outbound-attachment-wzHGF-Is.js";
|
|
24
|
+
import { t as sendMessageIMessage } from "./send-C87tIqIn.js";
|
|
25
|
+
|
|
26
|
+
export { sendMessageIMessage };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-rc2l4VJe.js";
|
|
11
|
+
import "./accounts-CAjupeYV.js";
|
|
12
|
+
import "./accounts-4l7ba973.js";
|
|
13
|
+
import "./image-ops-D7mq-4y1.js";
|
|
14
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
15
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
16
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
17
|
+
import "./store-BNhebBGr.js";
|
|
18
|
+
import "./fetch-_iocPLV2.js";
|
|
19
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
20
|
+
import "./ir-Dpg87zYv.js";
|
|
21
|
+
import "./fetch-CTN5ATFT.js";
|
|
22
|
+
import { t as sendMessageSignal } from "./send-Cpja8Q1N.js";
|
|
23
|
+
import "./outbound-attachment-wzHGF-Is.js";
|
|
24
|
+
|
|
25
|
+
export { sendMessageSignal };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./tokens-DxcVnNVJ.js";
|
|
11
|
+
import "./plugins-rc2l4VJe.js";
|
|
12
|
+
import "./accounts-CAjupeYV.js";
|
|
13
|
+
import { t as sendMessageSlack } from "./send-OP60RbsK.js";
|
|
14
|
+
import "./image-ops-D7mq-4y1.js";
|
|
15
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
16
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
17
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
18
|
+
import "./fetch-_iocPLV2.js";
|
|
19
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
20
|
+
import "./ir-Dpg87zYv.js";
|
|
21
|
+
import "./render-BZdJrUxT.js";
|
|
22
|
+
|
|
23
|
+
export { sendMessageSlack };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-rc2l4VJe.js";
|
|
11
|
+
import "./accounts-CAjupeYV.js";
|
|
12
|
+
import "./image-ops-D7mq-4y1.js";
|
|
13
|
+
import { o as sendMessageTelegram } from "./send-BlTVCcYd.js";
|
|
14
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
15
|
+
import "./redact-BXURioma.js";
|
|
16
|
+
import "./errors-C1YF712P.js";
|
|
17
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
18
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
19
|
+
import "./fetch-_iocPLV2.js";
|
|
20
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
21
|
+
import "./proxy-fetch-CVSmQMZt.js";
|
|
22
|
+
import "./ir-Dpg87zYv.js";
|
|
23
|
+
import "./render-BZdJrUxT.js";
|
|
24
|
+
import "./fetch-CTN5ATFT.js";
|
|
25
|
+
import "./channel-activity-Hho38eZq.js";
|
|
26
|
+
import "./proxy-BMKyKeTK.js";
|
|
27
|
+
|
|
28
|
+
export { sendMessageTelegram };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-ZgWjBCAm.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-e9hodq0l.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./thinking-X8yYhVf1.js";
|
|
11
|
+
import "./tokens-DxcVnNVJ.js";
|
|
12
|
+
import "./pi-embedded-BNcbv6lg.js";
|
|
13
|
+
import "./plugins-rc2l4VJe.js";
|
|
14
|
+
import "./accounts-CAjupeYV.js";
|
|
15
|
+
import "./send-OP60RbsK.js";
|
|
16
|
+
import "./send-BWySsurX.js";
|
|
17
|
+
import "./deliver-JkYjt9Qz.js";
|
|
18
|
+
import "./diagnostic-BGtFj4tU.js";
|
|
19
|
+
import "./accounts-4l7ba973.js";
|
|
20
|
+
import "./image-ops-D7mq-4y1.js";
|
|
21
|
+
import "./send-BlTVCcYd.js";
|
|
22
|
+
import "./pi-model-discovery-32EFg27L.js";
|
|
23
|
+
import "./pi-embedded-helpers-CE9KKP1Q.js";
|
|
24
|
+
import "./chrome-palWvTtp.js";
|
|
25
|
+
import "./frontmatter-Dn68lQ_o.js";
|
|
26
|
+
import "./skills-OklkZyI1.js";
|
|
27
|
+
import "./path-alias-guards-It4BBRdm.js";
|
|
28
|
+
import "./redact-BXURioma.js";
|
|
29
|
+
import "./errors-C1YF712P.js";
|
|
30
|
+
import "./fs-safe-BLpOReWZ.js";
|
|
31
|
+
import "./proxy-env-C2sbN0UU.js";
|
|
32
|
+
import "./store-BNhebBGr.js";
|
|
33
|
+
import "./accounts-k5nTdi32.js";
|
|
34
|
+
import "./paths-CZ0nrg7g.js";
|
|
35
|
+
import "./tool-images-B-4ixjYn.js";
|
|
36
|
+
import "./image-BlRI3dXw.js";
|
|
37
|
+
import "./audio-transcription-runner-CawngPvE.js";
|
|
38
|
+
import "./fetch-_iocPLV2.js";
|
|
39
|
+
import "./fetch-guard-CiQUuV0r.js";
|
|
40
|
+
import "./api-key-rotation-C-Q6XdUW.js";
|
|
41
|
+
import "./proxy-fetch-CVSmQMZt.js";
|
|
42
|
+
import "./ir-Dpg87zYv.js";
|
|
43
|
+
import "./render-BZdJrUxT.js";
|
|
44
|
+
import "./target-errors-CNzteBWz.js";
|
|
45
|
+
import "./commands-registry-A3LstXeY.js";
|
|
46
|
+
import "./skill-commands-DEsgUSH3.js";
|
|
47
|
+
import "./fetch-CTN5ATFT.js";
|
|
48
|
+
import "./channel-activity-Hho38eZq.js";
|
|
49
|
+
import "./tables-XtcH-BaF.js";
|
|
50
|
+
import "./send-Cpja8Q1N.js";
|
|
51
|
+
import "./outbound-attachment-wzHGF-Is.js";
|
|
52
|
+
import "./send-C87tIqIn.js";
|
|
53
|
+
import "./proxy-BMKyKeTK.js";
|
|
54
|
+
import "./manager-Dfrejf6z.js";
|
|
55
|
+
import "./query-expansion-MI1dZ5Nj.js";
|
|
56
|
+
import { t as sendMessageWhatsApp } from "./outbound-BZqL8UdJ.js";
|
|
57
|
+
import "./session-DmXsj3JD.js";
|
|
58
|
+
import "./login-CHsCISh4.js";
|
|
59
|
+
import "./web-B8rFiLYw.js";
|
|
60
|
+
|
|
61
|
+
export { sendMessageWhatsApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { X as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
|
|
2
|
+
import { X as loadConfig } from "./model-selection-e9hodq0l.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/diagnostic-events.ts
|
|
5
5
|
function getDiagnosticEventsState() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-MESnUO9S.js";
|
|
2
2
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CcI1kSyI.js";
|
|
3
3
|
import { t as note } from "./note-51HX9rr7.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BxbU_lYn.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BDI69wJb.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DgBEhw5P.js";
|
|
3
3
|
import { t as note } from "./note-CaYZpgbP.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-rNt-qwSw.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -371,7 +371,7 @@ if (!isMainModule({
|
|
|
371
371
|
}
|
|
372
372
|
function tryHandleRootHelpFastPath(argv) {
|
|
373
373
|
if (!isRootHelpInvocation(argv)) return false;
|
|
374
|
-
import("./program-
|
|
374
|
+
import("./program-IR_GbPYL.js").then(({ buildProgram }) => {
|
|
375
375
|
buildProgram().outputHelp();
|
|
376
376
|
}).catch((error) => {
|
|
377
377
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -390,7 +390,7 @@ if (!isMainModule({
|
|
|
390
390
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
391
391
|
process$1.argv = parsed.argv;
|
|
392
392
|
}
|
|
393
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
393
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-DM79Bp3w.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
394
394
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
395
395
|
process$1.exitCode = 1;
|
|
396
396
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import { b as detectMime, x as extensionForMime } from "./image-ops-
|
|
5
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-C5E9gJhP.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
|
|
3
|
+
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
|
|
4
|
+
import { b as detectMime, x as extensionForMime } from "./image-ops-D7mq-4y1.js";
|
|
5
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CiQUuV0r.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/local-roots.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
2
|
-
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { i as logWarn } from "./logger-C53B395N.js";
|
|
2
|
+
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-C2sbN0UU.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-CSrVj6X7.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as parseBooleanValue, n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-
|
|
1
|
+
import { c as parseBooleanValue, n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-BAiRv0I2.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import syncFs from "node:fs";
|
|
4
|
+
import JSON5 from "json5";
|
|
5
5
|
import YAML from "yaml";
|
|
6
6
|
|
|
7
7
|
//#region src/shared/config-eval.ts
|
|
@@ -92,7 +92,7 @@ function hasBinary(bin) {
|
|
|
92
92
|
for (const part of parts) for (const ext of extensions) {
|
|
93
93
|
const candidate = path.join(part, bin + ext);
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
96
96
|
hasBinaryCache.set(bin, true);
|
|
97
97
|
return true;
|
|
98
98
|
} catch {}
|
|
@@ -258,7 +258,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
258
258
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
259
259
|
if (!raw) return;
|
|
260
260
|
try {
|
|
261
|
-
const parsed =
|
|
261
|
+
const parsed = JSON5.parse(raw);
|
|
262
262
|
if (!parsed || typeof parsed !== "object") return;
|
|
263
263
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
264
264
|
for (const key of manifestKeys) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as expandHomePrefix } from "./paths-
|
|
2
|
-
import { D as isNotFoundPathError, E as hasNodeErrorCode, O as isPathInside, S as sameFileIdentity, k as isSymlinkOpenError } from "./workspace-
|
|
3
|
-
import { i as logWarn } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { l as expandHomePrefix } from "./paths-C6TxBCvO.js";
|
|
2
|
+
import { D as isNotFoundPathError, E as hasNodeErrorCode, O as isPathInside, S as sameFileIdentity, k as isSymlinkOpenError } from "./workspace-ZgWjBCAm.js";
|
|
3
|
+
import { i as logWarn } from "./logger-C53B395N.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-It4BBRdm.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|