switchroom 0.19.29 → 0.19.30

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.
@@ -20845,16 +20845,18 @@ function needsSelfBump(ownVersion, pin) {
20845
20845
  return cmp !== null && cmp < 0;
20846
20846
  }
20847
20847
  function bumpHostdComposeImageTag(yaml, pin) {
20848
- const re = /^(\s*image:\s*)(\S*switchroom-hostd):(\S+)\s*$/m;
20849
- const m = yaml.match(re);
20850
- if (!m)
20848
+ const re = /^(\s*image:\s*)(\S*switchroom-hostd):(\S+)[ \t]*$/gm;
20849
+ const matches = [...yaml.matchAll(re)];
20850
+ if (matches.length === 0)
20851
20851
  return null;
20852
- const oldImageRef = `${m[2]}:${m[3]}`;
20853
- const newImageRef = `${m[2]}:${pin}`;
20852
+ const first = matches[0];
20853
+ const oldImageRef = `${first[2]}:${first[3]}`;
20854
+ const newImageRef = `${first[2]}:${pin}`;
20854
20855
  return {
20855
- yaml: yaml.replace(re, `$1${newImageRef}`),
20856
+ yaml: yaml.replace(re, (_m, indent, repo) => `${indent}${repo}:${pin}`),
20856
20857
  oldImageRef,
20857
- newImageRef
20858
+ newImageRef,
20859
+ bumpedCount: matches.length
20858
20860
  };
20859
20861
  }
20860
20862
  function encodePendingRolloutMarker(m) {
@@ -21208,7 +21210,7 @@ function allocateAgentUid(name) {
21208
21210
  }
21209
21211
 
21210
21212
  // src/build-info.ts
21211
- var VERSION = "0.19.29";
21213
+ var VERSION = "0.19.30";
21212
21214
 
21213
21215
  // src/setup/hindsight-recall-tunables.ts
21214
21216
  var RECALL_DEADLINE_HEADROOM_SECONDS = 2;
@@ -30069,6 +30071,8 @@ class HostdServer {
30069
30071
  };
30070
30072
  copyFileSync3(composePath, bakPath);
30071
30073
  writeFileSync6(composePath, bumped.yaml, "utf8");
30074
+ process.stderr.write(`hostd: self-bump rewrote ${bumped.bumpedCount} switchroom-hostd ` + `image line(s) → ${bumped.newImageRef}
30075
+ `);
30072
30076
  writeFileSync6(markerPath, encodePendingRolloutMarker(marker), {
30073
30077
  mode: 384
30074
30078
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "switchroom",
3
3
  "//version": "NOT the release version — source of truth is the git tag, resolved by scripts/build.mjs:resolveVersion() (see CLAUDE.md > Standard release process). This field is stale by design and only the Layer-4 dev/non-tag fallback for build.mjs + src/cli/resolve-version.ts; do NOT bump it expecting a release to pick it up. npm-pack tarball naming needs a real version — do that as an UNCOMMITTED pack-time bump (see release step 6), never a committed one.",
4
- "version": "0.19.29",
4
+ "version": "0.19.30",
5
5
  "description": "Run Claude Code 24/7 on your Claude Pro/Max subscription over Telegram. Open-source alternative to OpenClaw and NanoClaw — no API keys.",
6
6
  "type": "module",
7
7
  "bin": {
@@ -98185,10 +98185,10 @@ function startOutboxSweep(deps) {
98185
98185
  }
98186
98186
 
98187
98187
  // ../src/build-info.ts
98188
- var VERSION2 = "0.19.29";
98189
- var COMMIT_SHA = "c618451c";
98190
- var COMMIT_DATE = "2026-07-28T17:39:27Z";
98191
- var LATEST_PR = 3918;
98188
+ var VERSION2 = "0.19.30";
98189
+ var COMMIT_SHA = "efe8e2a7";
98190
+ var COMMIT_DATE = "2026-07-28T18:24:56Z";
98191
+ var LATEST_PR = 3923;
98192
98192
  var COMMITS_AHEAD_OF_TAG = 0;
98193
98193
 
98194
98194
  // gateway/boot-version.ts