@silicaclaw/cli 2026.3.19-16 → 2026.3.19-18
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/config/silicaclaw-defaults.json +19 -0
- 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 +3 -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 +46 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## v1.0 beta - 2026-03-19
|
|
4
4
|
|
|
5
|
+
### 2026.3.19-18
|
|
6
|
+
|
|
7
|
+
- startup fix:
|
|
8
|
+
- moved storage runtime defaults to package-local config so installed bundles do not resolve config outside the package boundary
|
|
9
|
+
- release packing now checks both root config and bundled storage config presence in the tarball
|
|
10
|
+
|
|
11
|
+
### 2026.3.19-17
|
|
12
|
+
|
|
13
|
+
- startup fix:
|
|
14
|
+
- include root `config/silicaclaw-defaults.json` in the npm package so runtime JSON imports resolve after install
|
|
15
|
+
- strengthen release pack verification to fail if required runtime config files are missing from the tarball
|
|
16
|
+
|
|
5
17
|
### 2026.3.19-16
|
|
6
18
|
|
|
7
19
|
- release build:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v2026.3.19-
|
|
1
|
+
v2026.3.19-18
|
|
@@ -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
|
+
}
|
|
@@ -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.18
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silicaclaw-broadcast",
|
|
3
|
-
"version": "2026.3.19-beta.
|
|
3
|
+
"version": "2026.3.19-beta.18",
|
|
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,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silicaclaw/cli",
|
|
3
|
-
"version": "2026.3.19-
|
|
3
|
+
"version": "2026.3.19-18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
|
+
"config/**",
|
|
9
10
|
"apps/local-console/package.json",
|
|
10
11
|
"apps/local-console/dist/**",
|
|
11
12
|
"apps/local-console/public/**",
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
"packages/network/src/**",
|
|
26
27
|
"packages/network/tsconfig.json",
|
|
27
28
|
"packages/storage/package.json",
|
|
29
|
+
"packages/storage/config/**",
|
|
28
30
|
"packages/storage/dist/**",
|
|
29
31
|
"packages/storage/src/**",
|
|
30
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
|
@@ -51,6 +51,28 @@ function run(cmd, cmdArgs, extraEnv = {}) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
function runCapture(cmd, cmdArgs, extraEnv = {}) {
|
|
55
|
+
const result = spawnSync(cmd, cmdArgs, {
|
|
56
|
+
cwd: ROOT_DIR,
|
|
57
|
+
encoding: "utf8",
|
|
58
|
+
env: {
|
|
59
|
+
...process.env,
|
|
60
|
+
npm_config_cache: resolve(ROOT_DIR, ".npm-cache"),
|
|
61
|
+
...extraEnv,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
if (result.error) {
|
|
65
|
+
console.error(result.error.message);
|
|
66
|
+
process.exit(1);
|
|
67
|
+
}
|
|
68
|
+
if ((result.status ?? 1) !== 0) {
|
|
69
|
+
if (result.stdout) process.stdout.write(result.stdout);
|
|
70
|
+
if (result.stderr) process.stderr.write(result.stderr);
|
|
71
|
+
process.exit(result.status ?? 1);
|
|
72
|
+
}
|
|
73
|
+
return String(result.stdout || "");
|
|
74
|
+
}
|
|
75
|
+
|
|
54
76
|
function verifyVersionSync() {
|
|
55
77
|
const pkg = readJson(resolve(ROOT_DIR, "package.json"));
|
|
56
78
|
const lock = readJson(resolve(ROOT_DIR, "package-lock.json"));
|
|
@@ -84,6 +106,27 @@ function verifyVersionSync() {
|
|
|
84
106
|
console.log(`Version sync OK: root=${expected}, skill=${expectedSkill}`);
|
|
85
107
|
}
|
|
86
108
|
|
|
109
|
+
function verifyPackContents() {
|
|
110
|
+
const raw = runCapture("npm", ["pack", "--json", "--dry-run", "--ignore-scripts"]);
|
|
111
|
+
const start = raw.indexOf("[");
|
|
112
|
+
const payload = start >= 0 ? raw.slice(start) : raw;
|
|
113
|
+
const packInfo = JSON.parse(payload);
|
|
114
|
+
const files = new Set((Array.isArray(packInfo) ? packInfo[0]?.files : packInfo?.files || []).map((entry) => entry.path));
|
|
115
|
+
const requiredFiles = [
|
|
116
|
+
"config/silicaclaw-defaults.json",
|
|
117
|
+
"packages/storage/config/silicaclaw-defaults.json",
|
|
118
|
+
"node_modules/@silicaclaw/storage/config/silicaclaw-defaults.json",
|
|
119
|
+
"scripts/silicaclaw-cli.mjs",
|
|
120
|
+
"scripts/silicaclaw-gateway.mjs",
|
|
121
|
+
];
|
|
122
|
+
|
|
123
|
+
for (const file of requiredFiles) {
|
|
124
|
+
assert(files.has(file), `Packed tarball is missing required file: ${file}`);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
console.log(`Pack contents OK: ${requiredFiles.join(", ")}`);
|
|
128
|
+
}
|
|
129
|
+
|
|
87
130
|
function main() {
|
|
88
131
|
assert(existsSync(resolve(ROOT_DIR, "package.json")), "package.json not found");
|
|
89
132
|
verifyVersionSync();
|
|
@@ -94,6 +137,9 @@ function main() {
|
|
|
94
137
|
console.log("Validating bundled OpenClaw skill...");
|
|
95
138
|
run("node", [resolve(ROOT_DIR, "scripts", "validate-openclaw-skill.mjs")]);
|
|
96
139
|
|
|
140
|
+
console.log("Verifying npm pack contents...");
|
|
141
|
+
verifyPackContents();
|
|
142
|
+
|
|
97
143
|
console.log(dryRun ? "Running npm pack dry-run..." : "Packing npm tarball...");
|
|
98
144
|
run("npm", ["pack", ...(dryRun ? ["--dry-run"] : [])]);
|
|
99
145
|
}
|