@silicaclaw/cli 2026.3.19-18 → 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 CHANGED
@@ -2,6 +2,12 @@
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
+
5
11
  ### 2026.3.19-18
6
12
 
7
13
  - startup fix:
package/VERSION CHANGED
@@ -1 +1 @@
1
- v2026.3.19-18
1
+ v2026.3.19-19
@@ -1 +1 @@
1
- 2026.3.19-beta.18
1
+ 2026.3.19-beta.19
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "silicaclaw-broadcast",
3
- "version": "2026.3.19-beta.18",
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-18",
3
+ "version": "2026.3.19-19",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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@latest "$@"',
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, latest) {
309
+ function showUpdateGuide(current, targetVersion, channel = "beta") {
310
310
  headline();
311
311
  console.log("");
312
- const upToDate = Boolean(latest) && current === latest;
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 (${latest || "-"})`);
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 @latest tag");
421
- const fallbackResult = runInherit("npm", ["i", "-g", "@silicaclaw/cli@latest"]);
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 latest = tags.latest ? String(tags.latest) : "";
448
- showUpdateGuide(current, latest);
449
- const hasNewLatest = Boolean(latest) && latest !== current;
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 (hasNewLatest) {
453
+ if (hasNewBeta) {
453
454
  if (npxRuntime) {
454
- kv("Update", `next run will use ${latest}`);
455
- } else if (tryGlobalUpgrade(latest)) {
456
- kv("Update", `installed ${latest}`);
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 ${latest} manually if needed`);
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@latest onboard");
507
- kv("Install", "npx -y @silicaclaw/cli@latest install");
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");