@silicaclaw/cli 2026.3.19-16 → 2026.3.19-17
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
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## v1.0 beta - 2026-03-19
|
|
4
4
|
|
|
5
|
+
### 2026.3.19-17
|
|
6
|
+
|
|
7
|
+
- startup fix:
|
|
8
|
+
- include root `config/silicaclaw-defaults.json` in the npm package so runtime JSON imports resolve after install
|
|
9
|
+
- strengthen release pack verification to fail if required runtime config files are missing from the tarball
|
|
10
|
+
|
|
5
11
|
### 2026.3.19-16
|
|
6
12
|
|
|
7
13
|
- release build:
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v2026.3.19-
|
|
1
|
+
v2026.3.19-17
|
|
@@ -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
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026.3.19-beta.
|
|
1
|
+
2026.3.19-beta.17
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silicaclaw-broadcast",
|
|
3
|
-
"version": "2026.3.19-beta.
|
|
3
|
+
"version": "2026.3.19-beta.17",
|
|
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-17",
|
|
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/**",
|
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,25 @@ 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
|
+
"scripts/silicaclaw-cli.mjs",
|
|
118
|
+
"scripts/silicaclaw-gateway.mjs",
|
|
119
|
+
];
|
|
120
|
+
|
|
121
|
+
for (const file of requiredFiles) {
|
|
122
|
+
assert(files.has(file), `Packed tarball is missing required file: ${file}`);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
console.log(`Pack contents OK: ${requiredFiles.join(", ")}`);
|
|
126
|
+
}
|
|
127
|
+
|
|
87
128
|
function main() {
|
|
88
129
|
assert(existsSync(resolve(ROOT_DIR, "package.json")), "package.json not found");
|
|
89
130
|
verifyVersionSync();
|
|
@@ -94,6 +135,9 @@ function main() {
|
|
|
94
135
|
console.log("Validating bundled OpenClaw skill...");
|
|
95
136
|
run("node", [resolve(ROOT_DIR, "scripts", "validate-openclaw-skill.mjs")]);
|
|
96
137
|
|
|
138
|
+
console.log("Verifying npm pack contents...");
|
|
139
|
+
verifyPackContents();
|
|
140
|
+
|
|
97
141
|
console.log(dryRun ? "Running npm pack dry-run..." : "Packing npm tarball...");
|
|
98
142
|
run("npm", ["pack", ...(dryRun ? ["--dry-run"] : [])]);
|
|
99
143
|
}
|