coreblow 2.1.0 → 2.1.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/CHANGELOG.md +7 -0
- package/coreblow.mjs +23 -13
- package/dist/.buildstamp +1 -1
- package/dist/{banner-BZXPZLzW.js → banner-BX_EY424.js} +2 -2
- package/dist/{banner-kK6L9YAO.js → banner-DZrqpTh9.js} +1 -1
- package/dist/{channel-BloLKeOm.js → channel-CkrU26UH.js} +1 -1
- package/dist/{channel-contract-testing-D5gXsAal.js → channel-contract-testing-RD-nngpm.js} +1 -1
- package/dist/{channel.runtime-CRrPUpwE.js → channel.runtime-DVo_bdtI.js} +1 -1
- package/dist/{command-registry-CgQ5uduI.js → command-registry-JBeJC6HG.js} +2 -2
- package/dist/{command-registry-CKyDWP6i.js → command-registry-N5DFJ1HF.js} +2 -2
- package/dist/{command-registry-core-CqXfOtoW.js → command-registry-core-CcBtvwN6.js} +5 -5
- package/dist/{completion-cli-DDCXlrtm.js → completion-cli-D8S3AuTX.js} +1 -1
- package/dist/{completion-cli-Cc6wlxEr.js → completion-cli-DdnmI5P_.js} +2 -2
- package/dist/{config-cli-xBZ_3LxY.js → config-cli-BP0U0wu7.js} +1 -1
- package/dist/{doctor-completion-CSrm48TG.js → doctor-completion-CY-APVRV.js} +1 -1
- package/dist/{embedded-backend-DykjwM4Z.js → embedded-backend-0aHwzLJk.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensions/admin-http-rpc/index.js +2 -2
- package/dist/extensions/diffs/.coreblow-runtime-deps-stamp.json +1 -1
- package/dist/extensions/discord/.coreblow-runtime-deps-stamp.json +1 -1
- package/dist/extensions/feishu/.coreblow-runtime-deps-stamp.json +1 -1
- package/dist/extensions/slack/outbound-payload-test-api.js +1 -1
- package/dist/extensions/whatsapp/extension.js +2 -2
- package/dist/extensions/whatsapp/index.js +2 -2
- package/dist/extensions/whatsapp/runtime-api.js +1 -1
- package/dist/extensions/whatsapp/setup-entry.js +1 -1
- package/dist/extensions/whatsapp/test-api.js +2 -2
- package/dist/{gateway-cli-Ci1NBXYZ.js → gateway-cli-boaNT_Uu.js} +1 -1
- package/dist/gateway-method-runtime-C3HlACRb.js +2 -0
- package/dist/{health-state-C7kiDs32.js → health-state-B-p4AHZv.js} +1 -1
- package/dist/{help-DZ3R5ktM.js → help-Cg9tdA8L.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{interactive-chat-Dmm7wI7u.js → interactive-chat-BzaYHPlk.js} +1 -1
- package/dist/{login-D8KC7cPD.js → login-Xa6sIsKt.js} +1 -1
- package/dist/{message-handler-D_iBK0oF.js → message-handler-CG5PhrqL.js} +2 -2
- package/dist/{onboard-DJWdIPjf.js → onboard-D78ip1c5.js} +1 -1
- package/dist/plugin-sdk/channel-contract-testing.js +1 -1
- package/dist/plugin-sdk/extensions/telegram/src/webhook.d.ts +1 -1
- package/dist/plugin-sdk/gateway-method-runtime.js +2 -2
- package/dist/plugin-sdk/src/config/schema.base.generated.d.ts +1 -1
- package/dist/plugin-sdk/src/plugins/host-hook-attachments.d.ts +1 -1
- package/dist/{program-Df-f3Ny8.js → program-CWfE-VdT.js} +3 -3
- package/dist/{prompt-select-styled-D90YmzuA.js → prompt-select-styled-BuO59CxA.js} +1 -1
- package/dist/{register.maintenance-BCnB9nTd.js → register.maintenance-D-uMsFqf.js} +1 -1
- package/dist/{register.onboard-tHGd7qo6.js → register.onboard-B67YHgka.js} +1 -1
- package/dist/{register.setup-CKfgIisF.js → register.setup-DgsezJEC.js} +1 -1
- package/dist/{register.subclis-CRMQ7hp5.js → register.subclis-CavXly_F.js} +1 -1
- package/dist/{register.subclis-Sn-mQ3AX.js → register.subclis-Dl1s1Q7-.js} +2 -2
- package/dist/{register.subclis-core-jy6-W_0Q.js → register.subclis-core-BU-bfqf9.js} +6 -6
- package/dist/{root-help-CtYC4omA.js → root-help-C_-3BAVq.js} +1 -1
- package/dist/{run-DFRYnxQs.js → run-Dkfl41Ze.js} +5 -5
- package/dist/{run-C8pV2fjh.js → run-NmtTCWuc.js} +1 -1
- package/dist/{run-command-CrudYMjs.js → run-command-C65OZ0gQ.js} +1 -1
- package/dist/{run-ink-tui-BuhIQl-S.js → run-ink-tui-CCPaVzm2.js} +5 -5
- package/dist/run-ink-tui-CU2GxdOe.js +2 -0
- package/dist/{run-main-CNpSLTwK.js → run-main-DWBPfEFL.js} +12 -12
- package/dist/{schema-DzY8ZTTY.js → schema-D9wIu716.js} +1 -1
- package/dist/{server-methods-874ecO2p.js → server-methods-CS4_WNeL.js} +1 -1
- package/dist/{server-plugins-BCqfxov0.js → server-plugins-C94qDN0e.js} +1 -1
- package/dist/{setup-4YMSPYAV.js → setup-3MVQvfHm.js} +1 -1
- package/dist/{setup.finalize-DhJAxvL5.js → setup.finalize-DR_-5Qry.js} +3 -3
- package/dist/{shared-DF6Qv5ST.js → shared-D3kcRN_5.js} +1 -1
- package/dist/{test-api-Cref-rbW.js → test-api-DrluJtjz.js} +1 -1
- package/dist/tui-CTP9SUFa.js +3 -0
- package/dist/{tui-DZv-6fCs.js → tui-Ci0XqnDH.js} +3 -3
- package/dist/{tui-cli-8ojxMG5_.js → tui-cli-DeVc3ZSC.js} +1 -1
- package/dist/{update-cli-CJ6tGRUr.js → update-cli-CdJRvk7V.js} +3 -3
- package/dist/{whatsapp-BS2tqvUR.js → whatsapp-C2BVmiQN.js} +1 -1
- package/extensions/acp/node_modules/.bin/esbuild +18 -0
- package/extensions/acp/node_modules/.bin/jiti +21 -0
- package/extensions/acp/node_modules/.bin/tsx +21 -0
- package/extensions/acp/node_modules/.bin/vite +21 -0
- package/extensions/acp/node_modules/.bin/yaml +21 -0
- package/extensions/amazon-bedrock/node_modules/.bin/esbuild +18 -0
- package/extensions/amazon-bedrock/node_modules/.bin/jiti +21 -0
- package/extensions/amazon-bedrock/node_modules/.bin/tsx +21 -0
- package/extensions/amazon-bedrock/node_modules/.bin/vite +21 -0
- package/extensions/amazon-bedrock/node_modules/.bin/yaml +21 -0
- package/extensions/anthropic-vertex/node_modules/.bin/esbuild +18 -0
- package/extensions/anthropic-vertex/node_modules/.bin/jiti +21 -0
- package/extensions/anthropic-vertex/node_modules/.bin/tsx +21 -0
- package/extensions/anthropic-vertex/node_modules/.bin/vite +21 -0
- package/extensions/anthropic-vertex/node_modules/.bin/yaml +21 -0
- package/extensions/bluebubbles/node_modules/.bin/esbuild +18 -0
- package/extensions/bluebubbles/node_modules/.bin/jiti +21 -0
- package/extensions/bluebubbles/node_modules/.bin/tsx +21 -0
- package/extensions/bluebubbles/node_modules/.bin/vite +21 -0
- package/extensions/bluebubbles/node_modules/.bin/yaml +21 -0
- package/extensions/copilot-proxy/node_modules/.bin/esbuild +18 -0
- package/extensions/copilot-proxy/node_modules/.bin/jiti +21 -0
- package/extensions/copilot-proxy/node_modules/.bin/tsx +21 -0
- package/extensions/copilot-proxy/node_modules/.bin/vite +21 -0
- package/extensions/copilot-proxy/node_modules/.bin/yaml +21 -0
- package/extensions/device-pair/node_modules/.bin/esbuild +18 -0
- package/extensions/device-pair/node_modules/.bin/jiti +21 -0
- package/extensions/device-pair/node_modules/.bin/tsx +21 -0
- package/extensions/device-pair/node_modules/.bin/vite +21 -0
- package/extensions/device-pair/node_modules/.bin/yaml +21 -0
- package/extensions/diagnostics-otel/node_modules/.bin/esbuild +18 -0
- package/extensions/diagnostics-otel/node_modules/.bin/jiti +21 -0
- package/extensions/diagnostics-otel/node_modules/.bin/tsx +21 -0
- package/extensions/diagnostics-otel/node_modules/.bin/vite +21 -0
- package/extensions/diagnostics-otel/node_modules/.bin/yaml +21 -0
- package/extensions/diffs/node_modules/.bin/esbuild +18 -0
- package/extensions/diffs/node_modules/.bin/jiti +21 -0
- package/extensions/diffs/node_modules/.bin/tsx +21 -0
- package/extensions/diffs/node_modules/.bin/vite +21 -0
- package/extensions/diffs/node_modules/.bin/yaml +21 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/esbuild +18 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/jiti +21 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/tsx +21 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/vite +21 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/yaml +21 -0
- package/extensions/googlechat/node_modules/.bin/esbuild +18 -0
- package/extensions/googlechat/node_modules/.bin/jiti +21 -0
- package/extensions/googlechat/node_modules/.bin/tsx +21 -0
- package/extensions/googlechat/node_modules/.bin/vite +21 -0
- package/extensions/googlechat/node_modules/.bin/yaml +21 -0
- package/extensions/imessage/node_modules/.bin/esbuild +18 -0
- package/extensions/imessage/node_modules/.bin/jiti +21 -0
- package/extensions/imessage/node_modules/.bin/tsx +21 -0
- package/extensions/imessage/node_modules/.bin/vite +21 -0
- package/extensions/imessage/node_modules/.bin/yaml +21 -0
- package/extensions/llm-task/node_modules/.bin/esbuild +18 -0
- package/extensions/llm-task/node_modules/.bin/jiti +21 -0
- package/extensions/llm-task/node_modules/.bin/tsx +21 -0
- package/extensions/llm-task/node_modules/.bin/vite +21 -0
- package/extensions/llm-task/node_modules/.bin/yaml +21 -0
- package/extensions/memory-core/node_modules/.bin/esbuild +18 -0
- package/extensions/memory-core/node_modules/.bin/jiti +21 -0
- package/extensions/memory-core/node_modules/.bin/tsx +21 -0
- package/extensions/memory-core/node_modules/.bin/vite +21 -0
- package/extensions/memory-core/node_modules/.bin/yaml +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/esbuild +18 -0
- package/extensions/memory-lancedb/node_modules/.bin/jiti +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/tsx +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/vite +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/yaml +21 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/esbuild +18 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/jiti +21 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/tsx +21 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/vite +21 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/yaml +21 -0
- package/extensions/open-prose/node_modules/.bin/esbuild +18 -0
- package/extensions/open-prose/node_modules/.bin/jiti +21 -0
- package/extensions/open-prose/node_modules/.bin/tsx +21 -0
- package/extensions/open-prose/node_modules/.bin/vite +21 -0
- package/extensions/open-prose/node_modules/.bin/yaml +21 -0
- package/extensions/phone-control/node_modules/.bin/esbuild +18 -0
- package/extensions/phone-control/node_modules/.bin/jiti +21 -0
- package/extensions/phone-control/node_modules/.bin/tsx +21 -0
- package/extensions/phone-control/node_modules/.bin/vite +21 -0
- package/extensions/phone-control/node_modules/.bin/yaml +21 -0
- package/extensions/qa-lab/node_modules/.bin/esbuild +18 -0
- package/extensions/qa-lab/node_modules/.bin/jiti +21 -0
- package/extensions/qa-lab/node_modules/.bin/tsx +21 -0
- package/extensions/qa-lab/node_modules/.bin/vite +21 -0
- package/extensions/qa-lab/node_modules/.bin/vitest +21 -0
- package/extensions/qwen-portal-auth/node_modules/.bin/esbuild +18 -0
- package/extensions/qwen-portal-auth/node_modules/.bin/jiti +21 -0
- package/extensions/qwen-portal-auth/node_modules/.bin/tsx +21 -0
- package/extensions/qwen-portal-auth/node_modules/.bin/vite +21 -0
- package/extensions/qwen-portal-auth/node_modules/.bin/yaml +21 -0
- package/extensions/shared/node_modules/.bin/esbuild +18 -0
- package/extensions/shared/node_modules/.bin/jiti +21 -0
- package/extensions/shared/node_modules/.bin/tsx +21 -0
- package/extensions/shared/node_modules/.bin/vite +21 -0
- package/extensions/shared/node_modules/.bin/yaml +21 -0
- package/extensions/signal/node_modules/.bin/esbuild +18 -0
- package/extensions/signal/node_modules/.bin/jiti +21 -0
- package/extensions/signal/node_modules/.bin/tsx +21 -0
- package/extensions/signal/node_modules/.bin/vite +21 -0
- package/extensions/signal/node_modules/.bin/yaml +21 -0
- package/extensions/slack/node_modules/.bin/esbuild +18 -0
- package/extensions/slack/node_modules/.bin/jiti +21 -0
- package/extensions/slack/node_modules/.bin/tsx +21 -0
- package/extensions/slack/node_modules/.bin/vite +21 -0
- package/extensions/slack/node_modules/.bin/yaml +21 -0
- package/extensions/talk-voice/node_modules/.bin/esbuild +18 -0
- package/extensions/talk-voice/node_modules/.bin/jiti +21 -0
- package/extensions/talk-voice/node_modules/.bin/tsx +21 -0
- package/extensions/talk-voice/node_modules/.bin/vite +21 -0
- package/extensions/talk-voice/node_modules/.bin/yaml +21 -0
- package/extensions/telegram/node_modules/.bin/esbuild +18 -0
- package/extensions/telegram/node_modules/.bin/jiti +21 -0
- package/extensions/telegram/node_modules/.bin/tsx +21 -0
- package/extensions/telegram/node_modules/.bin/vite +21 -0
- package/extensions/telegram/node_modules/.bin/yaml +21 -0
- package/extensions/test-utils/node_modules/.bin/esbuild +18 -0
- package/extensions/test-utils/node_modules/.bin/jiti +21 -0
- package/extensions/test-utils/node_modules/.bin/tsx +21 -0
- package/extensions/test-utils/node_modules/.bin/vite +21 -0
- package/extensions/test-utils/node_modules/.bin/yaml +21 -0
- package/extensions/thread-ownership/node_modules/.bin/esbuild +18 -0
- package/extensions/thread-ownership/node_modules/.bin/jiti +21 -0
- package/extensions/thread-ownership/node_modules/.bin/tsx +21 -0
- package/extensions/thread-ownership/node_modules/.bin/vite +21 -0
- package/extensions/thread-ownership/node_modules/.bin/yaml +21 -0
- package/extensions/voice-call/node_modules/.bin/esbuild +18 -0
- package/extensions/voice-call/node_modules/.bin/jiti +21 -0
- package/extensions/voice-call/node_modules/.bin/tsx +21 -0
- package/extensions/voice-call/node_modules/.bin/vite +21 -0
- package/extensions/voice-call/node_modules/.bin/yaml +21 -0
- package/extensions/whatsapp/node_modules/.bin/esbuild +18 -0
- package/extensions/whatsapp/node_modules/.bin/jiti +21 -0
- package/extensions/whatsapp/node_modules/.bin/tsx +21 -0
- package/extensions/whatsapp/node_modules/.bin/vite +21 -0
- package/extensions/whatsapp/node_modules/.bin/yaml +21 -0
- package/extensions/whatsapp/src/auto-reply/monitor/on-message.ts +1 -1
- package/extensions/workflow-shell/node_modules/.bin/esbuild +18 -0
- package/extensions/workflow-shell/node_modules/.bin/jiti +21 -0
- package/extensions/workflow-shell/node_modules/.bin/tsx +21 -0
- package/extensions/workflow-shell/node_modules/.bin/vite +21 -0
- package/extensions/workflow-shell/node_modules/.bin/yaml +21 -0
- package/package.json +2 -2
- package/src/cli/interactive-chat.ts +1 -1
- package/src/config/schema.base.generated.ts +1 -1
- package/src/infra/scripts-modules.d.ts +2 -0
- package/src/tui/embedded-backend.ts +1 -1
- package/src/tui/ink/CoreBlowApp.tsx +1 -1
- package/src/tui/ink/FirstRunWizard.tsx +1 -1
- package/src/tui/tui.ts +1 -1
- package/dist/gateway-method-runtime-BBvV45zt.js +0 -2
- package/dist/run-ink-tui-DbpOlsOJ.js +0 -2
- package/dist/tui-BDnw-2Oe.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
Entries are listed newest-first within each version block.
|
|
5
5
|
Changelog covers user-facing changes only; internal/meta notes are omitted.
|
|
6
6
|
|
|
7
|
+
## [2.1.1] (2026-11-22)
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
- **Hoisted tsx Resolution in CLI:** Fixed `coreblow` launcher failure when installed globally via `npm` or `npx` in hoisted environments by checking parent `.bin/tsx` and resolving an absolute file URL for `tsx/esm`.
|
|
12
|
+
- **Security Update for WhatsApp Channel:** Upgraded `@whiskeysockets/baileys` to patched release `7.0.0-rc14` to resolve GHSA-qvv5-jq5g-4cgg (message upsert and app state corruption).
|
|
13
|
+
|
|
7
14
|
## [2.1.0] (2026-11-22)
|
|
8
15
|
|
|
9
16
|
### Highlights
|
package/coreblow.mjs
CHANGED
|
@@ -30,6 +30,22 @@ const MIN_NODE_VERSION = `${MIN_NODE_MAJOR}.${MIN_NODE_MINOR}`;
|
|
|
30
30
|
|
|
31
31
|
// ─── Child Environment Builder ─────────────────────────────────────
|
|
32
32
|
|
|
33
|
+
export const resolveTsxBin = (baseDir = __dirname) => {
|
|
34
|
+
const localBin = join(baseDir, "node_modules", ".bin", "tsx");
|
|
35
|
+
if (existsSync(localBin)) return localBin;
|
|
36
|
+
const hoistedBin = join(baseDir, "..", ".bin", "tsx");
|
|
37
|
+
if (existsSync(hoistedBin)) return hoistedBin;
|
|
38
|
+
return null;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const resolveTsxEsmUrl = (specifier = "tsx/esm") => {
|
|
42
|
+
try {
|
|
43
|
+
return import.meta.resolve(specifier);
|
|
44
|
+
} catch {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
33
49
|
export const buildChildEnv = (baseEnv = process.env) => {
|
|
34
50
|
const childEnv = { ...baseEnv };
|
|
35
51
|
const currentOptions = childEnv.NODE_OPTIONS || "";
|
|
@@ -142,14 +158,14 @@ function run() {
|
|
|
142
158
|
const userArgs = process.argv.slice(2);
|
|
143
159
|
const childEnv = buildChildEnv(process.env);
|
|
144
160
|
|
|
145
|
-
// Strategy 1: local node_modules/.bin/tsx
|
|
146
|
-
const tsxBin =
|
|
161
|
+
// Strategy 1: local node_modules/.bin/tsx or hoisted ../.bin/tsx
|
|
162
|
+
const tsxBin = resolveTsxBin(__dirname);
|
|
147
163
|
const tsconfigPath = resolve(__dirname, "tsconfig.json");
|
|
148
164
|
const tsxArgs = existsSync(tsconfigPath)
|
|
149
165
|
? ["--tsconfig", tsconfigPath, entryFile, ...userArgs]
|
|
150
166
|
: [entryFile, ...userArgs];
|
|
151
167
|
|
|
152
|
-
if (
|
|
168
|
+
if (tsxBin) {
|
|
153
169
|
const child = spawn(tsxBin, tsxArgs, {
|
|
154
170
|
stdio: "inherit",
|
|
155
171
|
env: childEnv,
|
|
@@ -170,17 +186,11 @@ function run() {
|
|
|
170
186
|
}
|
|
171
187
|
});
|
|
172
188
|
} else {
|
|
173
|
-
// Strategy 2: try node --import
|
|
174
|
-
|
|
175
|
-
try {
|
|
176
|
-
import.meta.resolve("tsx/esm");
|
|
177
|
-
tsxResolvable = true;
|
|
178
|
-
} catch {
|
|
179
|
-
// tsx/esm not resolvable
|
|
180
|
-
}
|
|
189
|
+
// Strategy 2: try node --import <tsxEsmUrl> with resolved absolute file URL
|
|
190
|
+
const tsxEsmUrl = resolveTsxEsmUrl("tsx/esm");
|
|
181
191
|
|
|
182
|
-
if (
|
|
183
|
-
const child = spawn(process.execPath, ["--import",
|
|
192
|
+
if (tsxEsmUrl) {
|
|
193
|
+
const child = spawn(process.execPath, ["--import", tsxEsmUrl, entryFile, ...userArgs], {
|
|
184
194
|
stdio: "inherit",
|
|
185
195
|
env: childEnv,
|
|
186
196
|
cwd: process.cwd(),
|
package/dist/.buildstamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":
|
|
1
|
+
{"builtAt":1795361711793,"head":"ad03c35dc33a1505c1a45718a79bf6328a3e8893"}
|
|
@@ -8,7 +8,7 @@ import { n as t, t as i18n } from "./i18n-Co3w_1Gd.js";
|
|
|
8
8
|
*/
|
|
9
9
|
const { version } = {
|
|
10
10
|
name: "coreblow",
|
|
11
|
-
version: "2.1.
|
|
11
|
+
version: "2.1.1",
|
|
12
12
|
description: "CoreBlow — enterprise AI gateway and personal assistant runtime",
|
|
13
13
|
keywords: [
|
|
14
14
|
"ai",
|
|
@@ -226,7 +226,7 @@ const { version } = {
|
|
|
226
226
|
"@pierre/diffs": "^1.1.19",
|
|
227
227
|
"@slack/bolt": "^4.7.0",
|
|
228
228
|
"@slack/web-api": "^7.15.0",
|
|
229
|
-
"@whiskeysockets/baileys": "7.0.0-
|
|
229
|
+
"@whiskeysockets/baileys": "7.0.0-rc14",
|
|
230
230
|
"ajv": "^8.20.0",
|
|
231
231
|
"chalk": "^5.6.2",
|
|
232
232
|
"chokidar": "^5.0.0",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as hasEmittedCliBanner, c as hasVersionFlag, i as formatCliBannerLine, l as pickTagline, n as emitCliBanner, o as hasJsonFlag, r as formatBanner, s as hasQuietFlag, t as emitBanner, u as resetBannerState } from "./banner-
|
|
1
|
+
import { a as hasEmittedCliBanner, c as hasVersionFlag, i as formatCliBannerLine, l as pickTagline, n as emitCliBanner, o as hasJsonFlag, r as formatBanner, s as hasQuietFlag, t as emitBanner, u as resetBannerState } from "./banner-BX_EY424.js";
|
|
2
2
|
export { emitBanner, emitCliBanner, formatBanner, formatCliBannerLine, hasEmittedCliBanner, hasJsonFlag, hasQuietFlag, hasVersionFlag, pickTagline, resetBannerState };
|
|
@@ -12,7 +12,7 @@ import { i as createChatChannelPlugin, t as buildChannelOutboundSessionRoute } f
|
|
|
12
12
|
import { n as buildDmGroupAccountAllowlistAdapter } from "./allowlist-config-edit-BV4zaKwy.js";
|
|
13
13
|
import { t as createWhatsAppLoginTool } from "./agent-tools-login-B_8HZZqY.js";
|
|
14
14
|
import { t as whatsappSetupAdapter } from "./setup-core-DFURcFrC.js";
|
|
15
|
-
import { i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, r as loadWhatsAppChannelRuntime, t as WHATSAPP_CHANNEL } from "./shared-
|
|
15
|
+
import { i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, r as loadWhatsAppChannelRuntime, t as WHATSAPP_CHANNEL } from "./shared-D3kcRN_5.js";
|
|
16
16
|
import "./cli-runtime-9vXezaNK.js";
|
|
17
17
|
//#region extensions/whatsapp/src/runtime.ts
|
|
18
18
|
var WhatsappRuntime = class {
|
|
@@ -11,7 +11,7 @@ import "./test-api-CFzlPeFw.js";
|
|
|
11
11
|
import "./test-api-Dcdrwda8.js";
|
|
12
12
|
import "./test-api-DY7PMf4y.js";
|
|
13
13
|
import "./test-api-BgRCfzLo.js";
|
|
14
|
-
import "./test-api-
|
|
14
|
+
import "./test-api-DrluJtjz.js";
|
|
15
15
|
//#region extensions/imessage/src/outbound-adapter.ts
|
|
16
16
|
function resolveIMessageSender(deps) {
|
|
17
17
|
return resolveOutboundSendDep(deps, "imessage") ?? sendMessageIMessage;
|
|
@@ -9,7 +9,7 @@ import "./setup-tools-Cxz_HgWm.js";
|
|
|
9
9
|
import { t as whatsappSetupAdapter } from "./setup-core-DFURcFrC.js";
|
|
10
10
|
import { t as getActiveWebListener$1 } from "./active-listener-C_UVogjs.js";
|
|
11
11
|
import { c as readWebSelfId$1, d as webAuthExists$1, i as logoutWeb$1, n as getWebAuthAgeMs$1, r as logWebSelfId$1 } from "./auth-store-CPrrDtfg.js";
|
|
12
|
-
import { n as monitorWebChannel$1, t as loginWeb$1 } from "./login-
|
|
12
|
+
import { n as monitorWebChannel$1, t as loginWeb$1 } from "./login-Xa6sIsKt.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
//#region extensions/whatsapp/src/setup-surface.ts
|
|
15
15
|
const channel = "whatsapp";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerCoreCliCommands } from "./command-registry-core-
|
|
2
|
-
import { r as registerSubCliCommands } from "./register.subclis-
|
|
1
|
+
import { r as registerCoreCliCommands } from "./command-registry-core-CcBtvwN6.js";
|
|
2
|
+
import { r as registerSubCliCommands } from "./register.subclis-Dl1s1Q7-.js";
|
|
3
3
|
//#region src/cli/program/command-registry.ts
|
|
4
4
|
function registerProgramCommands(program, ctx, argv = process.argv) {
|
|
5
5
|
registerCoreCliCommands(program, ctx, argv);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./logger-BVTe8MTY.js";
|
|
2
|
-
import { n as registerCoreCliByName } from "./command-registry-core-
|
|
3
|
-
import "./command-registry-
|
|
2
|
+
import { n as registerCoreCliByName } from "./command-registry-core-CcBtvwN6.js";
|
|
3
|
+
import "./command-registry-JBeJC6HG.js";
|
|
4
4
|
export { registerCoreCliByName };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as getCoreCliCommandNames$1, z as getCoreCliCommandDescriptors } from "./logger-BVTe8MTY.js";
|
|
2
|
-
import { a as registerCommandGroups, c as defineImportedProgramCommandGroupSpecs, f as resolveCliArgvInvocation, i as registerCommandGroupByName, o as buildCommandGroupEntries, s as defineImportedCommandGroupSpec, u as shouldRegisterPrimaryCommandOnly } from "./register.subclis-core-
|
|
2
|
+
import { a as registerCommandGroups, c as defineImportedProgramCommandGroupSpecs, f as resolveCliArgvInvocation, i as registerCommandGroupByName, o as buildCommandGroupEntries, s as defineImportedCommandGroupSpec, u as shouldRegisterPrimaryCommandOnly } from "./register.subclis-core-BU-bfqf9.js";
|
|
3
3
|
//#region src/cli/program/command-registry-core.ts
|
|
4
4
|
function withProgramOnlySpecs(specs) {
|
|
5
5
|
return specs.map((spec) => ({
|
|
@@ -18,12 +18,12 @@ const coreEntrySpecs = [
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
commandNames: ["setup"],
|
|
21
|
-
loadModule: () => import("./register.setup-
|
|
21
|
+
loadModule: () => import("./register.setup-DgsezJEC.js"),
|
|
22
22
|
exportName: "registerSetupCommand"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
commandNames: ["onboard"],
|
|
26
|
-
loadModule: () => import("./register.onboard-
|
|
26
|
+
loadModule: () => import("./register.onboard-B67YHgka.js"),
|
|
27
27
|
exportName: "registerOnboardCommand"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
@@ -33,7 +33,7 @@ const coreEntrySpecs = [
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
commandNames: ["config"],
|
|
36
|
-
loadModule: () => import("./config-cli-
|
|
36
|
+
loadModule: () => import("./config-cli-BP0U0wu7.js"),
|
|
37
37
|
exportName: "registerConfigCli"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
@@ -53,7 +53,7 @@ const coreEntrySpecs = [
|
|
|
53
53
|
"reset",
|
|
54
54
|
"uninstall"
|
|
55
55
|
],
|
|
56
|
-
loadModule: () => import("./register.maintenance-
|
|
56
|
+
loadModule: () => import("./register.maintenance-D-uMsFqf.js"),
|
|
57
57
|
exportName: "registerMaintenanceCommands"
|
|
58
58
|
}
|
|
59
59
|
])),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as completionCacheExists, c as isCompletionShell, d as usesSlowDynamicCompletion, i as COMPLETION_SKIP_PLUGIN_COMMANDS_ENV, l as resolveCompletionCachePath, n as registerCompletionCli, o as installCompletion, r as COMPLETION_SHELLS, s as isCompletionInstalled, t as getCompletionScript, u as resolveShellFromEnv } from "./completion-cli-
|
|
1
|
+
import { a as completionCacheExists, c as isCompletionShell, d as usesSlowDynamicCompletion, i as COMPLETION_SKIP_PLUGIN_COMMANDS_ENV, l as resolveCompletionCachePath, n as registerCompletionCli, o as installCompletion, r as COMPLETION_SHELLS, s as isCompletionInstalled, t as getCompletionScript, u as resolveShellFromEnv } from "./completion-cli-DdnmI5P_.js";
|
|
2
2
|
export { COMPLETION_SHELLS, COMPLETION_SKIP_PLUGIN_COMMANDS_ENV, completionCacheExists, getCompletionScript, installCompletion, isCompletionInstalled, isCompletionShell, registerCompletionCli, resolveCompletionCachePath, resolveShellFromEnv, usesSlowDynamicCompletion };
|
|
@@ -4,8 +4,8 @@ import { r as theme } from "./theme-BJwbsxdy.js";
|
|
|
4
4
|
import { a as normalizeOptionalString, r as normalizeLowercaseStringOrEmpty } from "./string-coerce-D4xfM05_.js";
|
|
5
5
|
import { _ as resolveStateDir } from "./paths-CQn2OPNx.js";
|
|
6
6
|
import { m as pathExists } from "./utils-DTudirVU.js";
|
|
7
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-core-
|
|
8
|
-
import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-core-
|
|
7
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-core-BU-bfqf9.js";
|
|
8
|
+
import { n as registerCoreCliByName, t as getCoreCliCommandNames } from "./command-registry-core-CcBtvwN6.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-Cm5H0Mx1.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -16,7 +16,7 @@ import { a as resolveSecretRefValue } from "./resolve-BDeU9QUH.js";
|
|
|
16
16
|
import { t as formatCliCommand } from "./command-format-C04QB2Mk.js";
|
|
17
17
|
import { c as resolveConfigSecretTargetByPath, n as discoverConfigSecretTargets } from "./target-registry-BItw5Uw6.js";
|
|
18
18
|
import { a as normalizeConfigIssues, n as formatConfigIssueLines } from "./issue-format-DdinCdUt.js";
|
|
19
|
-
import { r as redactConfigObject, t as buildConfigSchema } from "./schema-
|
|
19
|
+
import { r as redactConfigObject, t as buildConfigSchema } from "./schema-D9wIu716.js";
|
|
20
20
|
import { n as setCommandJsonMode } from "./json-mode-soCHawNq.js";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import JSON5 from "json5";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveCoreBlowPackageRoot } from "./coreblow-root-C9RojVQT.js";
|
|
2
2
|
import { n as resolveCliName } from "./cli-name-BSk5FBnh.js";
|
|
3
3
|
import { t as note } from "./note-C2_fRXoM.js";
|
|
4
|
-
import { a as completionCacheExists, d as usesSlowDynamicCompletion, l as resolveCompletionCachePath, o as installCompletion, s as isCompletionInstalled, u as resolveShellFromEnv } from "./completion-cli-
|
|
4
|
+
import { a as completionCacheExists, d as usesSlowDynamicCompletion, l as resolveCompletionCachePath, o as installCompletion, s as isCompletionInstalled, u as resolveShellFromEnv } from "./completion-cli-DdnmI5P_.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
//#region src/commands/doctor-completion.ts
|
|
@@ -188,7 +188,7 @@ var EmbeddedTuiBackend = class {
|
|
|
188
188
|
}
|
|
189
189
|
async getStatus() {
|
|
190
190
|
return {
|
|
191
|
-
runtimeVersion: "2.1.
|
|
191
|
+
runtimeVersion: "2.1.1",
|
|
192
192
|
mode: "embedded",
|
|
193
193
|
providerSummary: ["Local Embedded CoreBlow ReAct engine", `Active workspace: ${process.cwd()}`]
|
|
194
194
|
};
|
package/dist/entry.js
CHANGED
|
@@ -358,14 +358,14 @@ function tryHandleRootHelpFastPath(argv, deps = {}) {
|
|
|
358
358
|
}
|
|
359
359
|
import("./i18n-Q4DhE797.js").then(async ({ i18n }) => {
|
|
360
360
|
await i18n.initialize();
|
|
361
|
-
const { outputRootHelp } = await import("./root-help-
|
|
361
|
+
const { outputRootHelp } = await import("./root-help-C_-3BAVq.js");
|
|
362
362
|
outputRootHelp();
|
|
363
363
|
}).catch(handleError);
|
|
364
364
|
return true;
|
|
365
365
|
}
|
|
366
366
|
function runMainOrRootHelp(argv) {
|
|
367
367
|
if (tryHandleRootHelpFastPath(argv)) return;
|
|
368
|
-
import("./run-main-
|
|
368
|
+
import("./run-main-DWBPfEFL.js").then(({ runCli }) => runCli(argv)).catch((error) => {
|
|
369
369
|
console.error("[coreblow] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
370
370
|
process$1.exitCode = 1;
|
|
371
371
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as definePluginEntry } from "../../plugin-entry-CVGckLOw.js";
|
|
2
|
-
import { n as dispatchGatewayMethodResponse } from "../../server-plugins-
|
|
3
|
-
import "../../gateway-method-runtime-
|
|
2
|
+
import { n as dispatchGatewayMethodResponse } from "../../server-plugins-C94qDN0e.js";
|
|
3
|
+
import "../../gateway-method-runtime-C3HlACRb.js";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region extensions/admin-http-rpc/src/methods.ts
|
|
6
6
|
const ADMIN_HTTP_RPC_ALLOWED_METHODS = new Set(Object.values({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as primeChannelOutboundSendMock } from "../../channel-contract-testing-
|
|
1
|
+
import { a as primeChannelOutboundSendMock } from "../../channel-contract-testing-RD-nngpm.js";
|
|
2
2
|
import { t as slackOutbound } from "../../outbound-adapter-DCAYFXjv.js";
|
|
3
3
|
import { n as vi } from "../../test-api-BgRCfzLo.js";
|
|
4
4
|
//#region extensions/slack/src/outbound-payload.test-harness.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-
|
|
2
|
-
import { t as whatsapp_default } from "../../whatsapp-
|
|
1
|
+
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-CkrU26UH.js";
|
|
2
|
+
import { t as whatsapp_default } from "../../whatsapp-C2BVmiQN.js";
|
|
3
3
|
//#region extensions/whatsapp/src/extension.ts
|
|
4
4
|
/**
|
|
5
5
|
* Whatsapp Extension
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-
|
|
2
|
-
import { t as whatsapp_default } from "../../whatsapp-
|
|
1
|
+
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-CkrU26UH.js";
|
|
2
|
+
import { t as whatsapp_default } from "../../whatsapp-C2BVmiQN.js";
|
|
3
3
|
export { whatsapp_default as default, setWhatsAppRuntime, whatsappPlugin };
|
|
@@ -28,7 +28,7 @@ import { a as maybeRestoreCredsFromBackup, c as readWebSelfId, d as webAuthExist
|
|
|
28
28
|
import { n as getStatusCode, t as formatError } from "../../session-errors-D0Csf7Pm.js";
|
|
29
29
|
import { a as waitForWaConnection, i as waitForCredsSaveQueueWithTimeout, n as newConnectionId, r as waitForCredsSaveQueue, t as createWaSocket } from "../../session-YTPTaK1B.js";
|
|
30
30
|
import { n as whatsAppActionRuntime, t as handleWhatsAppAction } from "../../action-runtime-QD1PAhfx.js";
|
|
31
|
-
import { a as extractMediaPlaceholder, i as extractLocationData, n as monitorWebChannel, o as extractText, r as monitorWebInbox, s as resetWebInboundDedupe, t as loginWeb } from "../../login-
|
|
31
|
+
import { a as extractMediaPlaceholder, i as extractLocationData, n as monitorWebChannel, o as extractText, r as monitorWebInbox, s as resetWebInboundDedupe, t as loginWeb } from "../../login-Xa6sIsKt.js";
|
|
32
32
|
//#region extensions/whatsapp/src/auto-reply/session-snapshot.ts
|
|
33
33
|
function getSessionSnapshot(cfg, from, _isHeartbeat = false, ctx) {
|
|
34
34
|
const sessionCfg = cfg.session;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cw as resolveWhatsAppGroupRequireMention, lw as resolveWhatsAppGroupToolPolicy, ow as resolveWhatsAppGroupIntroHint } from "../../auth-profiles-A17d7jCG.js";
|
|
2
2
|
import { o as defineSetupPluginEntry } from "../../core-soHZtIkv.js";
|
|
3
3
|
import { t as whatsappSetupAdapter } from "../../setup-core-DFURcFrC.js";
|
|
4
|
-
import { i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase } from "../../shared-
|
|
4
|
+
import { i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase } from "../../shared-D3kcRN_5.js";
|
|
5
5
|
import { d as webAuthExists } from "../../auth-store-CPrrDtfg.js";
|
|
6
6
|
//#region extensions/whatsapp/src/channel.setup.ts
|
|
7
7
|
const whatsappSetupPlugin = { ...createWhatsAppPluginBase({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-
|
|
2
|
-
import { t as whatsappOutbound } from "../../test-api-
|
|
1
|
+
import { n as setWhatsAppRuntime, t as whatsappPlugin } from "../../channel-CkrU26UH.js";
|
|
2
|
+
import { t as whatsappOutbound } from "../../test-api-DrluJtjz.js";
|
|
3
3
|
import { n as updateLastRouteInBackground, r as deliverWebReply, t as trackBackgroundTask } from "../../last-route-Cv46034B.js";
|
|
4
4
|
export { deliverWebReply, setWhatsAppRuntime, trackBackgroundTask, updateLastRouteInBackground, whatsappOutbound, whatsappPlugin };
|
|
@@ -23,7 +23,7 @@ import { t as pickGatewaySelfPresence } from "./gateway-presence-Cekks4ji.js";
|
|
|
23
23
|
import { a as parseTimeoutMs, c as resolveAuthForTarget, d as sanitizeSshTarget, i as isScopeLimitedProbeFailure, l as resolveProbeBudgetMs, n as extractConfigSummary, o as renderProbeSummaryLine, r as isProbeReachable, s as renderTargetHeader, t as buildNetworkHints, u as resolveTargets } from "./helpers-sVchEpcK2.js";
|
|
24
24
|
import { i as styleHealthChannelLine, t as formatHealthChannelLines } from "./health-D4kBzX6y.js";
|
|
25
25
|
import { n as registerLogsCli } from "./logs-cli-CHQ4h2g4.js";
|
|
26
|
-
import { t as addGatewayRunCommand } from "./run-
|
|
26
|
+
import { t as addGatewayRunCommand } from "./run-Dkfl41Ze.js";
|
|
27
27
|
//#region src/commands/gateway-status/discovery.ts
|
|
28
28
|
function inferSshTargetFromRemoteUrl(rawUrl) {
|
|
29
29
|
if (typeof rawUrl !== "string") return null;
|
|
@@ -12,7 +12,7 @@ import { t as formatCliCommand } from "./command-format-C04QB2Mk.js";
|
|
|
12
12
|
import { i as resolveMainSessionKey } from "./main-session-CHnK_An0.js";
|
|
13
13
|
import "./sessions-MHFbJNt1.js";
|
|
14
14
|
import { v as resolveGatewayAuth } from "./browser-support-s34iR-95.js";
|
|
15
|
-
import { i as listSystemPresence } from "./server-methods-
|
|
15
|
+
import { i as listSystemPresence } from "./server-methods-CS4_WNeL.js";
|
|
16
16
|
import { s as normalizeUpdateChannel } from "./update-channels-THk3Y74Q.js";
|
|
17
17
|
import { n as compareSemverStrings, o as resolveNpmChannelTag, t as checkUpdateStatus } from "./update-check-Ba-xYiex.js";
|
|
18
18
|
import { n as getHealthSnapshot } from "./health-D4kBzX6y.js";
|
|
@@ -5,9 +5,9 @@ import { n as isRich, r as theme } from "./theme-BJwbsxdy.js";
|
|
|
5
5
|
import { l as escapeRegExp } from "./utils-DTudirVU.js";
|
|
6
6
|
import { n as resolveCliName, t as replaceCliName } from "./cli-name-BSk5FBnh.js";
|
|
7
7
|
import { n as resolveCommitHash } from "./git-commit-DUbfTTwT.js";
|
|
8
|
-
import { a as hasEmittedCliBanner, i as formatCliBannerLine } from "./banner-
|
|
9
|
-
import "./register.subclis-
|
|
10
|
-
import "./command-registry-
|
|
8
|
+
import { a as hasEmittedCliBanner, i as formatCliBannerLine } from "./banner-BX_EY424.js";
|
|
9
|
+
import "./register.subclis-Dl1s1Q7-.js";
|
|
10
|
+
import "./command-registry-JBeJC6HG.js";
|
|
11
11
|
import { InvalidArgumentError } from "commander";
|
|
12
12
|
//#region src/cli/log-level-option.ts
|
|
13
13
|
const CLI_LOG_LEVEL_VALUES = ALLOWED_LOG_LEVELS.join("|");
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ let saveSessionStore;
|
|
|
28
28
|
let toWhatsappJid;
|
|
29
29
|
let waitForever;
|
|
30
30
|
async function loadLegacyCliDeps() {
|
|
31
|
-
const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-vgXyrJUV.js"), import("./run-main-
|
|
31
|
+
const [{ installGaxiosFetchCompat }, { runCli }] = await Promise.all([import("./gaxios-fetch-compat-vgXyrJUV.js"), import("./run-main-DWBPfEFL.js")]);
|
|
32
32
|
return {
|
|
33
33
|
installGaxiosFetchCompat,
|
|
34
34
|
runCli
|
|
@@ -173,7 +173,7 @@ async function executeInteractiveTurn(prompt, sessionId) {
|
|
|
173
173
|
}
|
|
174
174
|
async function runInteractiveCliChat() {
|
|
175
175
|
let sessionId = `cli_${Date.now().toString(36)}`;
|
|
176
|
-
console.log(chalk.bold.hex("#F6C453")("CoreBlow v2.1.
|
|
176
|
+
console.log(chalk.bold.hex("#F6C453")("CoreBlow v2.1.1") + chalk.dim(" · Single-Brain :18789"));
|
|
177
177
|
console.log(chalk.dim("Type ") + chalk.hex("#F6C453")("/help") + chalk.dim(" for slash commands, or ") + chalk.hex("#F6C453")("/exit") + chalk.dim(" to quit.\n"));
|
|
178
178
|
const rl = readline$1.createInterface({
|
|
179
179
|
input: stdin,
|
|
@@ -1716,7 +1716,7 @@ function createWebOnMessageHandler(params) {
|
|
|
1716
1716
|
const conversationId = msg.conversationId ?? msg.from;
|
|
1717
1717
|
const peerId = resolvePeerId(msg);
|
|
1718
1718
|
const route = resolveAgentRoute({
|
|
1719
|
-
cfg: loadConfig(),
|
|
1719
|
+
cfg: params.cfg ?? loadConfig(),
|
|
1720
1720
|
channel: "whatsapp",
|
|
1721
1721
|
accountId: msg.accountId,
|
|
1722
1722
|
peer: {
|
|
@@ -15,8 +15,8 @@ import { _ as isLocalDirectRequest, a as formatForLog, g as authorizeWsControlUi
|
|
|
15
15
|
import { a as resolveNodeCommandAllowlist, i as normalizeDeclaredNodeCommands, o as resolveNodePairingCommandAllowlist } from "./node-command-policy-CgdQX8o_.js";
|
|
16
16
|
import { d as updatePairedDeviceMetadata, f as verifyDeviceToken, i as listDevicePairing, n as ensureDeviceToken, r as getPairedDevice, s as requestDevicePairing, t as approveDevicePairing } from "./device-pairing-DPblRRSm.js";
|
|
17
17
|
import { i as verifyDeviceBootstrapToken } from "./device-bootstrap-CnJlw2xU.js";
|
|
18
|
-
import { A as roleCanSkipDeviceIdentity, a as upsertPresence, b as MAX_PREAUTH_PAYLOAD_BYTES, c as mintCanvasCapabilityToken, d as loadVoiceWakeConfig, k as parseGatewayRole, n as handleGatewayRequest, o as CANVAS_CAPABILITY_TTL_MS, s as buildCanvasScopedHostUrl, u as formatError, v as MAX_BUFFERED_BYTES, x as TICK_INTERVAL_MS, y as MAX_PAYLOAD_BYTES } from "./server-methods-
|
|
19
|
-
import { a as incrementPresenceVersion, l as truncateCloseReason, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion, t as buildGatewaySnapshot } from "./health-state-
|
|
18
|
+
import { A as roleCanSkipDeviceIdentity, a as upsertPresence, b as MAX_PREAUTH_PAYLOAD_BYTES, c as mintCanvasCapabilityToken, d as loadVoiceWakeConfig, k as parseGatewayRole, n as handleGatewayRequest, o as CANVAS_CAPABILITY_TTL_MS, s as buildCanvasScopedHostUrl, u as formatError, v as MAX_BUFFERED_BYTES, x as TICK_INTERVAL_MS, y as MAX_PAYLOAD_BYTES } from "./server-methods-CS4_WNeL.js";
|
|
19
|
+
import { a as incrementPresenceVersion, l as truncateCloseReason, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion, t as buildGatewaySnapshot } from "./health-state-B-p4AHZv.js";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import { randomBytes, timingSafeEqual } from "node:crypto";
|
|
22
22
|
//#region src/gateway/node-connect-reconcile.ts
|
|
@@ -13,7 +13,7 @@ import "./daemon-runtime-BUplIaMb.js";
|
|
|
13
13
|
import { t as resolveControlUiLinks } from "./control-ui-links-BclqVcYR.js";
|
|
14
14
|
import { c as normalizeGatewayTokenInput, d as randomToken, h as waitForGatewayReachable, n as applyWizardMetadata, o as handleReset, r as ensureWorkspaceAndSessions, t as DEFAULT_WORKSPACE } from "./onboard-helpers-BhVYqLG8.js";
|
|
15
15
|
import { t as createClackPrompter } from "./clack-prompter-DrnsmEvm.js";
|
|
16
|
-
import { t as runSetupWizard } from "./setup-
|
|
16
|
+
import { t as runSetupWizard } from "./setup-3MVQvfHm.js";
|
|
17
17
|
import { a as resolveManifestProviderOnboardAuthFlags } from "./provider-auth-choices-CPMubDFV.js";
|
|
18
18
|
import { i as resolveDeprecatedAuthChoiceReplacement, n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice, t as formatDeprecatedNonInteractiveAuthChoiceError } from "./auth-choice-legacy-6mXfEjV2.js";
|
|
19
19
|
import { r as applyLocalSetupWorkspaceConfig } from "./onboard-config-CLguBL8A.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as primeChannelOutboundSendMock, i as expectChannelInboundContextContract, n as installChannelOutboundPayloadContractSuite, r as buildDispatchInboundCaptureMock, t as expectChannelTurnDispatchResultContract } from "../channel-contract-testing-
|
|
1
|
+
import { a as primeChannelOutboundSendMock, i as expectChannelInboundContextContract, n as installChannelOutboundPayloadContractSuite, r as buildDispatchInboundCaptureMock, t as expectChannelTurnDispatchResultContract } from "../channel-contract-testing-RD-nngpm.js";
|
|
2
2
|
export { buildDispatchInboundCaptureMock, expectChannelInboundContextContract, expectChannelTurnDispatchResultContract, installChannelOutboundPayloadContractSuite, primeChannelOutboundSendMock };
|
|
@@ -17,7 +17,7 @@ export declare function startTelegramWebhook(opts: {
|
|
|
17
17
|
publicUrl?: string;
|
|
18
18
|
webhookCertPath?: string;
|
|
19
19
|
}): Promise<{
|
|
20
|
-
server: import("http").Server<typeof IncomingMessage, typeof import("http").ServerResponse>;
|
|
20
|
+
server: import("node:http").Server<typeof IncomingMessage, typeof import("node:http").ServerResponse>;
|
|
21
21
|
bot: grammy.Bot<grammy.Context, grammy.Api<grammy.RawApi>>;
|
|
22
22
|
stop: () => void;
|
|
23
23
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as dispatchGatewayMethodResponse } from "../server-plugins-
|
|
2
|
-
import "../gateway-method-runtime-
|
|
1
|
+
import { n as dispatchGatewayMethodResponse } from "../server-plugins-C94qDN0e.js";
|
|
2
|
+
import "../gateway-method-runtime-C3HlACRb.js";
|
|
3
3
|
export { dispatchGatewayMethodResponse as dispatchGatewayMethod };
|
|
@@ -14708,6 +14708,6 @@ export declare const GENERATED_BASE_CONFIG_SCHEMA: {
|
|
|
14708
14708
|
readonly tags: ["security", "auth"];
|
|
14709
14709
|
};
|
|
14710
14710
|
};
|
|
14711
|
-
readonly version: "2.1.
|
|
14711
|
+
readonly version: "2.1.1";
|
|
14712
14712
|
readonly generatedAt: "2026-03-22T21:17:33.302Z";
|
|
14713
14713
|
};
|
|
@@ -3,7 +3,7 @@ import type { CoreBlowConfig } from "../config/types.coreblow.js";
|
|
|
3
3
|
import type { PluginAttachmentChannelHints, PluginSessionAttachmentCaptionFormat, PluginSessionAttachmentParams, PluginSessionAttachmentResult } from "./host-hooks.js";
|
|
4
4
|
import type { PluginOrigin } from "./plugin-origin.types.js";
|
|
5
5
|
export declare const attachmentProbeFs: {
|
|
6
|
-
open: (path: import("fs").PathLike, flags?: string | number | undefined, mode?: import("fs").Mode | undefined) => Promise<fsPromises.FileHandle>;
|
|
6
|
+
open: (path: import("node:fs").PathLike, flags?: string | number | undefined, mode?: import("node:fs").Mode | undefined) => Promise<fsPromises.FileHandle>;
|
|
7
7
|
};
|
|
8
8
|
import { sendMessage as defaultSendMessage } from "../infra/outbound/message.js";
|
|
9
9
|
type GetChannelPlugin = typeof import("../channels/plugins/index.js").getChannelPlugin;
|
|
@@ -6,14 +6,14 @@ import { i as isTruthyEnvValue } from "./env-tCGrr5Eg.js";
|
|
|
6
6
|
import "./globals-xCZol04d.js";
|
|
7
7
|
import { n as VERSION } from "./version-7cmaiWFc.js";
|
|
8
8
|
import { n as resolveCliName } from "./cli-name-BSk5FBnh.js";
|
|
9
|
-
import { n as emitCliBanner } from "./banner-
|
|
9
|
+
import { n as emitCliBanner } from "./banner-BX_EY424.js";
|
|
10
10
|
import { n as resolveCliChannelOptions } from "./channel-options-YXoMnEVh.js";
|
|
11
11
|
import { n as setProgramContext } from "./program-context-Cm5H0Mx1.js";
|
|
12
12
|
import { t as isCommandJsonOutputMode } from "./json-mode-soCHawNq.js";
|
|
13
13
|
import "./ports-CEbQPIR5.js";
|
|
14
14
|
import { n as resolvePluginInstallPreactionRequest, t as resolvePluginInstallInvalidConfigPolicy } from "./plugin-install-config-policy-BkOGsWOR.js";
|
|
15
|
-
import { t as registerProgramCommands } from "./command-registry-
|
|
16
|
-
import { t as configureProgramHelp } from "./help-
|
|
15
|
+
import { t as registerProgramCommands } from "./command-registry-JBeJC6HG.js";
|
|
16
|
+
import { t as configureProgramHelp } from "./help-Cg9tdA8L.js";
|
|
17
17
|
import { Command } from "commander";
|
|
18
18
|
//#region src/cli/program/context.ts
|
|
19
19
|
function createProgramContext() {
|
|
@@ -100,7 +100,7 @@ import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BIp5FR
|
|
|
100
100
|
import { t as formatHealthCheckFailure } from "./health-format-f58vEZIi.js";
|
|
101
101
|
import { a as stripUnknownConfigKeys, i as resolveConfigPathTarget, n as formatConfigPath, r as noteOpencodeProviderOverrides, t as runDoctorConfigPreflight } from "./doctor-config-preflight-B75HncqB.js";
|
|
102
102
|
import { a as isMattermostMutableAllowEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isZalouserMutableGroupEntry, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-B1M787ZE.js";
|
|
103
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
103
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CY-APVRV.js";
|
|
104
104
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DJwy-t1_.js";
|
|
105
105
|
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-B0hlrxob.js";
|
|
106
106
|
import { i as detectLegacyStateMigrations, o as runLegacyStateMigrations } from "./doctor-state-migrations-C1gH4odA.js";
|
|
@@ -17,7 +17,7 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
17
17
|
import { t as resolveControlUiLinks } from "./control-ui-links-BclqVcYR.js";
|
|
18
18
|
import { i as formatControlUiSshHint } from "./onboard-helpers-BhVYqLG8.js";
|
|
19
19
|
import { r as resolveGatewayService } from "./service-DplTSBEr.js";
|
|
20
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
20
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BuO59CxA.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
|
|
23
23
|
//#region src/infra/clipboard.ts
|
|
@@ -4,7 +4,7 @@ import { r as theme } from "./theme-BJwbsxdy.js";
|
|
|
4
4
|
import { n as runCommandWithRuntime } from "./cli-utils-C3uVD83D.js";
|
|
5
5
|
import { a as resolveManifestProviderOnboardAuthFlags } from "./provider-auth-choices-CPMubDFV.js";
|
|
6
6
|
import { n as formatAuthChoiceChoicesForCli } from "./auth-choice-options-BC5nzrmL.js";
|
|
7
|
-
import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-
|
|
7
|
+
import { n as CORE_ONBOARD_AUTH_FLAGS, t as setupWizardCommand } from "./onboard-D78ip1c5.js";
|
|
8
8
|
//#region src/cli/program/register.onboard.ts
|
|
9
9
|
function resolveInstallDaemonFlag(command, opts) {
|
|
10
10
|
if (!command || typeof command !== "object") return;
|
|
@@ -12,7 +12,7 @@ import { u as ensureAgentWorkspace } from "./workspace-B7XC_TPU.js";
|
|
|
12
12
|
import "./sessions-MHFbJNt1.js";
|
|
13
13
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BWfSTqvp.js";
|
|
14
14
|
import { n as runCommandWithRuntime } from "./cli-utils-C3uVD83D.js";
|
|
15
|
-
import { t as setupWizardCommand } from "./onboard-
|
|
15
|
+
import { t as setupWizardCommand } from "./onboard-D78ip1c5.js";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import { z } from "zod";
|
|
18
18
|
import JSON5 from "json5";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./logger-BVTe8MTY.js";
|
|
2
|
-
import { n as registerSubCliByName, t as loadValidatedConfigForPluginRegistration } from "./register.subclis-
|
|
2
|
+
import { n as registerSubCliByName, t as loadValidatedConfigForPluginRegistration } from "./register.subclis-Dl1s1Q7-.js";
|
|
3
3
|
export { loadValidatedConfigForPluginRegistration, registerSubCliByName };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { R as getSubCliEntries } from "./logger-BVTe8MTY.js";
|
|
2
|
-
import { a as registerCommandGroups, c as defineImportedProgramCommandGroupSpecs, d as shouldRegisterPrimarySubcommandOnly, f as resolveCliArgvInvocation, i as registerCommandGroupByName, l as shouldEagerRegisterSubcommands, n as registerSubCliByName$1, o as buildCommandGroupEntries, r as registerSubCliCommands$1 } from "./register.subclis-core-
|
|
2
|
+
import { a as registerCommandGroups, c as defineImportedProgramCommandGroupSpecs, d as shouldRegisterPrimarySubcommandOnly, f as resolveCliArgvInvocation, i as registerCommandGroupByName, l as shouldEagerRegisterSubcommands, n as registerSubCliByName$1, o as buildCommandGroupEntries, r as registerSubCliCommands$1 } from "./register.subclis-core-BU-bfqf9.js";
|
|
3
3
|
//#region src/cli/program/register.subclis.ts
|
|
4
4
|
const loadValidatedConfigForPluginRegistration = async () => {
|
|
5
5
|
const mod = await import("./config-Tld21XDg.js");
|
|
@@ -8,7 +8,7 @@ const loadValidatedConfigForPluginRegistration = async () => {
|
|
|
8
8
|
};
|
|
9
9
|
const entrySpecs = [...defineImportedProgramCommandGroupSpecs([{
|
|
10
10
|
commandNames: ["completion"],
|
|
11
|
-
loadModule: () => import("./completion-cli-
|
|
11
|
+
loadModule: () => import("./completion-cli-D8S3AuTX.js"),
|
|
12
12
|
exportName: "registerCompletionCli"
|
|
13
13
|
}])];
|
|
14
14
|
function resolveSubCliCommandGroups(argv, context = {}) {
|