@silicaclaw/cli 2026.3.19-17 → 2026.3.19-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/CHANGELOG.md +12 -0
- package/VERSION +1 -1
- package/apps/local-console/dist/packages/storage/config/silicaclaw-defaults.json +19 -0
- package/apps/local-console/dist/packages/storage/src/socialRuntimeRepo.js +1 -1
- package/node_modules/@silicaclaw/storage/config/silicaclaw-defaults.json +19 -0
- package/node_modules/@silicaclaw/storage/dist/socialRuntimeRepo.js +1 -1
- package/node_modules/@silicaclaw/storage/src/socialRuntimeRepo.ts +1 -1
- package/openclaw-skills/silicaclaw-broadcast/VERSION +1 -1
- package/openclaw-skills/silicaclaw-broadcast/manifest.json +1 -1
- package/package.json +2 -1
- package/packages/storage/config/silicaclaw-defaults.json +19 -0
- package/packages/storage/dist/socialRuntimeRepo.js +1 -1
- package/packages/storage/src/socialRuntimeRepo.ts +1 -1
- package/scripts/release-pack.mjs +2 -0
- package/scripts/silicaclaw-cli.mjs +17 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## v1.0 beta - 2026-03-19
|
|
4
4
|
|
|
5
|
+
### 2026.3.19-19
|
|
6
|
+
|
|
7
|
+
- update channel fix:
|
|
8
|
+
- `silicaclaw update` now follows the npm `beta` dist-tag instead of stale `latest`
|
|
9
|
+
- the persistent shim and global-install fallback now both resolve `@silicaclaw/cli@beta`
|
|
10
|
+
|
|
11
|
+
### 2026.3.19-18
|
|
12
|
+
|
|
13
|
+
- startup fix:
|
|
14
|
+
- moved storage runtime defaults to package-local config so installed bundles do not resolve config outside the package boundary
|
|
15
|
+
- release packing now checks both root config and bundled storage config presence in the tarball
|
|
16
|
+
|
|
5
17
|
### 2026.3.19-17
|
|
6
18
|
|
|
7
19
|
- startup fix:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v2026.3.19-
|
|
1
|
+
v2026.3.19-19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ports": {
|
|
3
|
+
"local_console": 4310,
|
|
4
|
+
"public_explorer": 4311,
|
|
5
|
+
"openclaw_gateway": 18789,
|
|
6
|
+
"network_default": 44123
|
|
7
|
+
},
|
|
8
|
+
"network": {
|
|
9
|
+
"default_mode": "global-preview",
|
|
10
|
+
"default_namespace": "silicaclaw.preview",
|
|
11
|
+
"global_preview": {
|
|
12
|
+
"relay_url": "https://relay.silicaclaw.com",
|
|
13
|
+
"room": "silicaclaw-global-preview"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"bridge": {
|
|
17
|
+
"api_base": "http://localhost:4310"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SocialRuntimeRepo = void 0;
|
|
7
7
|
const path_1 = require("path");
|
|
8
8
|
const jsonRepo_1 = require("./jsonRepo");
|
|
9
|
-
const silicaclaw_defaults_json_1 = __importDefault(require("
|
|
9
|
+
const silicaclaw_defaults_json_1 = __importDefault(require("../config/silicaclaw-defaults.json"));
|
|
10
10
|
function emptyRuntime() {
|
|
11
11
|
return {
|
|
12
12
|
enabled: true,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ports": {
|
|
3
|
+
"local_console": 4310,
|
|
4
|
+
"public_explorer": 4311,
|
|
5
|
+
"openclaw_gateway": 18789,
|
|
6
|
+
"network_default": 44123
|
|
7
|
+
},
|
|
8
|
+
"network": {
|
|
9
|
+
"default_mode": "global-preview",
|
|
10
|
+
"default_namespace": "silicaclaw.preview",
|
|
11
|
+
"global_preview": {
|
|
12
|
+
"relay_url": "https://relay.silicaclaw.com",
|
|
13
|
+
"room": "silicaclaw-global-preview"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"bridge": {
|
|
17
|
+
"api_base": "http://localhost:4310"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SocialRuntimeRepo = void 0;
|
|
7
7
|
const path_1 = require("path");
|
|
8
8
|
const jsonRepo_1 = require("./jsonRepo");
|
|
9
|
-
const silicaclaw_defaults_json_1 = __importDefault(require("
|
|
9
|
+
const silicaclaw_defaults_json_1 = __importDefault(require("../config/silicaclaw-defaults.json"));
|
|
10
10
|
function emptyRuntime() {
|
|
11
11
|
return {
|
|
12
12
|
enabled: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolve } from "path";
|
|
2
2
|
import { SocialRuntimeConfig } from "@silicaclaw/core";
|
|
3
3
|
import { JsonFileRepo } from "./jsonRepo";
|
|
4
|
-
import defaults from "
|
|
4
|
+
import defaults from "../config/silicaclaw-defaults.json";
|
|
5
5
|
|
|
6
6
|
function emptyRuntime(): SocialRuntimeConfig {
|
|
7
7
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026.3.19-beta.
|
|
1
|
+
2026.3.19-beta.19
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silicaclaw-broadcast",
|
|
3
|
-
"version": "2026.3.19-beta.
|
|
3
|
+
"version": "2026.3.19-beta.19",
|
|
4
4
|
"display_name": "SilicaClaw Broadcast",
|
|
5
5
|
"description": "OpenClaw skill for reading SilicaClaw public broadcasts, publishing public broadcasts, and forwarding relevant updates to the owner through OpenClaw's native social channel.",
|
|
6
6
|
"entrypoints": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silicaclaw/cli",
|
|
3
|
-
"version": "2026.3.19-
|
|
3
|
+
"version": "2026.3.19-19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"packages/network/src/**",
|
|
27
27
|
"packages/network/tsconfig.json",
|
|
28
28
|
"packages/storage/package.json",
|
|
29
|
+
"packages/storage/config/**",
|
|
29
30
|
"packages/storage/dist/**",
|
|
30
31
|
"packages/storage/src/**",
|
|
31
32
|
"packages/storage/tsconfig.json",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ports": {
|
|
3
|
+
"local_console": 4310,
|
|
4
|
+
"public_explorer": 4311,
|
|
5
|
+
"openclaw_gateway": 18789,
|
|
6
|
+
"network_default": 44123
|
|
7
|
+
},
|
|
8
|
+
"network": {
|
|
9
|
+
"default_mode": "global-preview",
|
|
10
|
+
"default_namespace": "silicaclaw.preview",
|
|
11
|
+
"global_preview": {
|
|
12
|
+
"relay_url": "https://relay.silicaclaw.com",
|
|
13
|
+
"room": "silicaclaw-global-preview"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"bridge": {
|
|
17
|
+
"api_base": "http://localhost:4310"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.SocialRuntimeRepo = void 0;
|
|
7
7
|
const path_1 = require("path");
|
|
8
8
|
const jsonRepo_1 = require("./jsonRepo");
|
|
9
|
-
const silicaclaw_defaults_json_1 = __importDefault(require("
|
|
9
|
+
const silicaclaw_defaults_json_1 = __importDefault(require("../config/silicaclaw-defaults.json"));
|
|
10
10
|
function emptyRuntime() {
|
|
11
11
|
return {
|
|
12
12
|
enabled: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolve } from "path";
|
|
2
2
|
import { SocialRuntimeConfig } from "@silicaclaw/core";
|
|
3
3
|
import { JsonFileRepo } from "./jsonRepo";
|
|
4
|
-
import defaults from "
|
|
4
|
+
import defaults from "../config/silicaclaw-defaults.json";
|
|
5
5
|
|
|
6
6
|
function emptyRuntime(): SocialRuntimeConfig {
|
|
7
7
|
return {
|
package/scripts/release-pack.mjs
CHANGED
|
@@ -114,6 +114,8 @@ function verifyPackContents() {
|
|
|
114
114
|
const files = new Set((Array.isArray(packInfo) ? packInfo[0]?.files : packInfo?.files || []).map((entry) => entry.path));
|
|
115
115
|
const requiredFiles = [
|
|
116
116
|
"config/silicaclaw-defaults.json",
|
|
117
|
+
"packages/storage/config/silicaclaw-defaults.json",
|
|
118
|
+
"node_modules/@silicaclaw/storage/config/silicaclaw-defaults.json",
|
|
117
119
|
"scripts/silicaclaw-cli.mjs",
|
|
118
120
|
"scripts/silicaclaw-gateway.mjs",
|
|
119
121
|
];
|
|
@@ -238,7 +238,7 @@ function installPersistentCommand() {
|
|
|
238
238
|
"#!/usr/bin/env bash",
|
|
239
239
|
"set -euo pipefail",
|
|
240
240
|
'export npm_config_cache="${npm_config_cache:-$HOME/.silicaclaw/npm-cache}"',
|
|
241
|
-
'exec npx -y @silicaclaw/cli@
|
|
241
|
+
'exec npx -y @silicaclaw/cli@beta "$@"',
|
|
242
242
|
"",
|
|
243
243
|
].join("\n"),
|
|
244
244
|
{ encoding: "utf8", mode: 0o755 }
|
|
@@ -306,18 +306,19 @@ function canWriteGlobalPrefix() {
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
function showUpdateGuide(current,
|
|
309
|
+
function showUpdateGuide(current, targetVersion, channel = "beta") {
|
|
310
310
|
headline();
|
|
311
311
|
console.log("");
|
|
312
|
-
const upToDate = Boolean(
|
|
312
|
+
const upToDate = Boolean(targetVersion) && current === targetVersion;
|
|
313
313
|
if (upToDate) {
|
|
314
314
|
kv("Status", `up to date (${current})`);
|
|
315
315
|
} else {
|
|
316
|
-
kv("Status", `update available (${
|
|
316
|
+
kv("Status", `update available (${targetVersion || "-"})`);
|
|
317
317
|
}
|
|
318
318
|
console.log("");
|
|
319
319
|
kv("Start", "silicaclaw start");
|
|
320
320
|
kv("Status", "silicaclaw status");
|
|
321
|
+
kv("Channel", channel);
|
|
321
322
|
}
|
|
322
323
|
|
|
323
324
|
function getGatewayStatus() {
|
|
@@ -417,8 +418,8 @@ function tryGlobalUpgrade(version) {
|
|
|
417
418
|
|
|
418
419
|
const detail = compactOutput(`${exactResult.stdout || ""}\n${exactResult.stderr || ""}`);
|
|
419
420
|
if (detail.includes("ETARGET") || detail.includes("No matching version found")) {
|
|
420
|
-
kv("Fallback", "registry metadata is still settling, retrying via @
|
|
421
|
-
const fallbackResult = runInherit("npm", ["i", "-g", "@silicaclaw/cli@
|
|
421
|
+
kv("Fallback", "registry metadata is still settling, retrying via @beta tag");
|
|
422
|
+
const fallbackResult = runInherit("npm", ["i", "-g", "@silicaclaw/cli@beta"]);
|
|
422
423
|
return (fallbackResult.status ?? 1) === 0;
|
|
423
424
|
}
|
|
424
425
|
|
|
@@ -444,18 +445,18 @@ function update() {
|
|
|
444
445
|
}
|
|
445
446
|
const text = String(result.stdout || "").trim();
|
|
446
447
|
const tags = text ? JSON.parse(text) : {};
|
|
447
|
-
const
|
|
448
|
-
showUpdateGuide(current,
|
|
449
|
-
const
|
|
448
|
+
const beta = tags.beta ? String(tags.beta) : "";
|
|
449
|
+
showUpdateGuide(current, beta, "beta");
|
|
450
|
+
const hasNewBeta = Boolean(beta) && beta !== current;
|
|
450
451
|
const npxRuntime = isNpxRun();
|
|
451
452
|
|
|
452
|
-
if (
|
|
453
|
+
if (hasNewBeta) {
|
|
453
454
|
if (npxRuntime) {
|
|
454
|
-
kv("Update", `next run will use ${
|
|
455
|
-
} else if (tryGlobalUpgrade(
|
|
456
|
-
kv("Update", `installed ${
|
|
455
|
+
kv("Update", `next run will use ${beta}`);
|
|
456
|
+
} else if (tryGlobalUpgrade(beta)) {
|
|
457
|
+
kv("Update", `installed ${beta}`);
|
|
457
458
|
} else {
|
|
458
|
-
kv("Update", `install ${
|
|
459
|
+
kv("Update", `install ${beta} manually if needed`);
|
|
459
460
|
}
|
|
460
461
|
}
|
|
461
462
|
|
|
@@ -503,8 +504,8 @@ function help() {
|
|
|
503
504
|
headline();
|
|
504
505
|
console.log("");
|
|
505
506
|
section("Commands");
|
|
506
|
-
kv("First Run", "npx -y @silicaclaw/cli@
|
|
507
|
-
kv("Install", "npx -y @silicaclaw/cli@
|
|
507
|
+
kv("First Run", "npx -y @silicaclaw/cli@beta onboard");
|
|
508
|
+
kv("Install", "npx -y @silicaclaw/cli@beta install");
|
|
508
509
|
kv("Start", "silicaclaw start");
|
|
509
510
|
kv("Status", "silicaclaw status");
|
|
510
511
|
kv("Stop", "silicaclaw stop");
|