denchclaw 2.0.0 → 2.0.2
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/README.md +1 -1
- package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
- package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +95 -95
- package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +27 -27
- package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found.rsc +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/index.html +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/app/index.rsc +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.html +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/workspace.rsc +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +27 -27
- package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +20 -20
- package/apps/web/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/workspace/page-a9c68aaa3f71a7fe.js +1 -0
- package/apps/web/.next/standalone/package.json +2 -2
- package/apps/web/.next/static/chunks/app/workspace/page-a9c68aaa3f71a7fe.js +1 -0
- package/dist/{cli-name-DUQ-cavN.js → cli-name-8WJ6gVD5.js} +36 -3
- package/dist/entry.js +2 -21
- package/dist/program-DSR-Zphq.js +2412 -0
- package/dist/{run-main-buUOQk0k.js → run-main-B-QwRglo.js} +9 -7
- package/package.json +2 -2
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/workspace/page-d499296a443bbbf0.js +0 -1
- package/apps/web/.next/static/chunks/app/workspace/page-d499296a443bbbf0.js +0 -1
- package/dist/links-BTx7dmFj.js +0 -57
- package/dist/program-DahL9wBm.js +0 -195
- package/dist/register.bootstrap-D9YhQgaK.js +0 -1330
- package/dist/theme-uCBEEejb.js +0 -36
- /package/apps/web/.next/standalone/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → rfl8V4U-KWtyivUflJxQF}/_buildManifest.js +0 -0
- /package/apps/web/.next/standalone/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → rfl8V4U-KWtyivUflJxQF}/_ssgManifest.js +0 -0
- /package/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → rfl8V4U-KWtyivUflJxQF}/_buildManifest.js +0 -0
- /package/apps/web/.next/static/{oOwR1DKioMELtFQgLgScE → rfl8V4U-KWtyivUflJxQF}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as normalizeWindowsArgv,
|
|
2
|
-
import { n as resolveCliName, o as VERSION, r as emitCliBanner } from "./cli-name-
|
|
3
|
-
import "./theme-uCBEEejb.js";
|
|
1
|
+
import { a as normalizeWindowsArgv, l as hasHelpOrVersion, n as normalizeEnv, o as getCommandPath, s as getPrimaryCommand, t as isTruthyEnvValue } from "./entry.js";
|
|
2
|
+
import { n as resolveCliName, o as VERSION, r as emitCliBanner } from "./cli-name-8WJ6gVD5.js";
|
|
4
3
|
import { spawn } from "node:child_process";
|
|
5
4
|
import process$1 from "node:process";
|
|
6
5
|
import os from "node:os";
|
|
@@ -175,7 +174,11 @@ function shouldDelegateToGlobalOpenClaw(argv, env = process$1.env) {
|
|
|
175
174
|
if (isDelegationDisabled(env)) return false;
|
|
176
175
|
const primary = getPrimaryCommand(argv);
|
|
177
176
|
if (!primary) return false;
|
|
178
|
-
return primary !== "bootstrap";
|
|
177
|
+
return primary !== "bootstrap" && primary !== "update" && primary !== "stop" && primary !== "start";
|
|
178
|
+
}
|
|
179
|
+
function shouldHideCliBanner(argv, env = process$1.env) {
|
|
180
|
+
const commandPath = getCommandPath(argv, 2);
|
|
181
|
+
return isTruthyEnvValue(env.DENCHCLAW_HIDE_BANNER) || isTruthyEnvValue(env.OPENCLAW_HIDE_BANNER) || commandPath[0] === "completion" || commandPath[0] === "plugins" && commandPath[1] === "update";
|
|
179
182
|
}
|
|
180
183
|
async function delegateToGlobalOpenClaw(argv) {
|
|
181
184
|
if (isTruthyEnvValue(process$1.env.DENCHCLAW_DELEGATED) || isTruthyEnvValue(process$1.env.OPENCLAW_DELEGATED)) throw new Error("OpenClaw delegation loop detected. Check PATH so `openclaw` resolves to the global OpenClaw CLI.");
|
|
@@ -210,14 +213,13 @@ async function runCli(argv = process$1.argv) {
|
|
|
210
213
|
normalizeEnv();
|
|
211
214
|
if (shouldEnsureCliPath(normalizedArgv)) ensureOpenClawCliOnPath();
|
|
212
215
|
assertSupportedRuntime();
|
|
213
|
-
|
|
214
|
-
if (!(isTruthyEnvValue(process$1.env.DENCHCLAW_HIDE_BANNER) || isTruthyEnvValue(process$1.env.OPENCLAW_HIDE_BANNER) || commandPath[0] === "update" || commandPath[0] === "completion" || commandPath[0] === "plugins" && commandPath[1] === "update")) await emitCliBanner(VERSION, { argv: normalizedArgv });
|
|
216
|
+
if (!shouldHideCliBanner(normalizedArgv, process$1.env)) await emitCliBanner(VERSION, { argv: normalizedArgv });
|
|
215
217
|
const parseArgv = rewriteBareArgvToBootstrap(rewriteUpdateFlagArgv(normalizedArgv));
|
|
216
218
|
if (shouldDelegateToGlobalOpenClaw(parseArgv)) {
|
|
217
219
|
process$1.exitCode = await delegateToGlobalOpenClaw(parseArgv);
|
|
218
220
|
return;
|
|
219
221
|
}
|
|
220
|
-
const { buildProgram } = await import("./program-
|
|
222
|
+
const { buildProgram } = await import("./program-DSR-Zphq.js");
|
|
221
223
|
await buildProgram().parseAsync(parseArgv);
|
|
222
224
|
}
|
|
223
225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "denchclaw",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "AI-powered CRM platform with multi-channel agent gateway, DuckDB workspace, and knowledge management",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/openclaw/openclaw#readme",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"prepack": "pnpm build && pnpm web:build && pnpm web:prepack",
|
|
46
46
|
"start": "node denchclaw.mjs",
|
|
47
47
|
"test": "pnpm test:cli && pnpm --dir apps/web test",
|
|
48
|
-
"test:cli": "vitest run --config vitest.unit.config.ts src/cli/run-main.test.ts src/cli/bootstrap-external.test.ts src/cli/bootstrap-external.bootstrap-command.test.ts src/cli/workspace-seed.test.ts",
|
|
48
|
+
"test:cli": "vitest run --config vitest.unit.config.ts src/cli/run-main.test.ts src/cli/bootstrap-external.test.ts src/cli/bootstrap-external.bootstrap-command.test.ts src/cli/workspace-seed.test.ts src/cli/web-runtime.test.ts src/cli/web-runtime-command.test.ts",
|
|
49
49
|
"test:web": "pnpm --dir apps/web test",
|
|
50
50
|
"web:build": "pnpm --dir apps/web build",
|
|
51
51
|
"web:dev": "pnpm --dir apps/web dev",
|