closeclaw 3.0.18 → 3.0.19
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/cli.cjs +6 -6
- package/dist/cli.jsc +0 -0
- package/dist/index.jsc +0 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -8079,7 +8079,7 @@ async function commandOnboard() {
|
|
|
8079
8079
|
if (resolved) {
|
|
8080
8080
|
(0, import_node_child_process3.execSync)(`${openclawPath} plugins install -l "${resolved}"`, { stdio: "pipe" });
|
|
8081
8081
|
} else {
|
|
8082
|
-
(0, import_node_child_process3.execSync)(`${openclawPath} plugins install @prajwalshete/platform-tools`, { stdio: "inherit"
|
|
8082
|
+
(0, import_node_child_process3.execSync)(`${openclawPath} plugins install @prajwalshete/platform-tools`, { stdio: "inherit" });
|
|
8083
8083
|
}
|
|
8084
8084
|
result(PASS, "platform-tools plugin installed");
|
|
8085
8085
|
} catch (err) {
|
|
@@ -8117,13 +8117,13 @@ async function commandOnboard() {
|
|
|
8117
8117
|
if (!installOC || installOC.toLowerCase() === "y" || installOC.toLowerCase() === "yes") {
|
|
8118
8118
|
try {
|
|
8119
8119
|
result(INFO, "Installing OpenClaw (this may take a minute)...");
|
|
8120
|
-
(0, import_node_child_process3.execSync)("npm install -g openclaw@latest", { stdio: "inherit"
|
|
8120
|
+
(0, import_node_child_process3.execSync)("npm install -g openclaw@latest", { stdio: "inherit" });
|
|
8121
8121
|
result(PASS, "OpenClaw installed");
|
|
8122
8122
|
console.log("");
|
|
8123
8123
|
result(INFO, "Running OpenClaw onboard (first-time setup)...");
|
|
8124
8124
|
console.log(` ${c.dim}This will set up your device identity and gateway token.${c.reset}`);
|
|
8125
8125
|
console.log("");
|
|
8126
|
-
(0, import_node_child_process3.execSync)("openclaw onboard", { stdio: "inherit"
|
|
8126
|
+
(0, import_node_child_process3.execSync)("openclaw onboard", { stdio: "inherit" });
|
|
8127
8127
|
result(PASS, "OpenClaw onboarded");
|
|
8128
8128
|
const ocPath = whichSync("openclaw");
|
|
8129
8129
|
if (ocPath) {
|
|
@@ -8131,7 +8131,7 @@ async function commandOnboard() {
|
|
|
8131
8131
|
const plugins = (0, import_node_child_process3.execSync)(`${ocPath} plugins list 2>/dev/null || true`, { encoding: "utf-8" });
|
|
8132
8132
|
if (!plugins.includes("platform-tools")) {
|
|
8133
8133
|
result(INFO, "Installing platform-tools plugin...");
|
|
8134
|
-
(0, import_node_child_process3.execSync)(`${ocPath} plugins install @prajwalshete/platform-tools`, { stdio: "inherit"
|
|
8134
|
+
(0, import_node_child_process3.execSync)(`${ocPath} plugins install @prajwalshete/platform-tools`, { stdio: "inherit" });
|
|
8135
8135
|
result(PASS, "platform-tools plugin installed");
|
|
8136
8136
|
}
|
|
8137
8137
|
} catch {
|
|
@@ -8287,10 +8287,10 @@ async function commandOnboard() {
|
|
|
8287
8287
|
const url = `https://github.com/caddyserver/caddy/releases/download/v${version2}/caddy_${version2}_${caddyOS}_${caddyArch}.${ext}`;
|
|
8288
8288
|
result(INFO, `Downloading from ${c.dim}${url}${c.reset}`);
|
|
8289
8289
|
if (ext === "tar.gz") {
|
|
8290
|
-
(0, import_node_child_process3.execSync)(`curl -fsSL "${url}" | tar xz -C "${caddyDir}" caddy`, { stdio: "pipe"
|
|
8290
|
+
(0, import_node_child_process3.execSync)(`curl -fsSL "${url}" | tar xz -C "${caddyDir}" caddy`, { stdio: "pipe" });
|
|
8291
8291
|
} else {
|
|
8292
8292
|
const tmpZip = (0, import_node_path6.join)(caddyDir, "caddy.zip");
|
|
8293
|
-
(0, import_node_child_process3.execSync)(`curl -fsSL -o "${tmpZip}" "${url}"`, { stdio: "pipe"
|
|
8293
|
+
(0, import_node_child_process3.execSync)(`curl -fsSL -o "${tmpZip}" "${url}"`, { stdio: "pipe" });
|
|
8294
8294
|
(0, import_node_child_process3.execSync)(`unzip -o -j "${tmpZip}" caddy -d "${caddyDir}"`, { stdio: "pipe" });
|
|
8295
8295
|
(0, import_node_fs7.unlinkSync)(tmpZip);
|
|
8296
8296
|
}
|
package/dist/cli.jsc
CHANGED
|
Binary file
|
package/dist/index.jsc
CHANGED
|
Binary file
|