switchroom 0.19.43 → 0.19.44

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/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.43",
4
+ "version": "0.19.44",
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": {
@@ -1415,11 +1415,18 @@ fi
1415
1415
  # any auth break shows up on the Telegram issues card (#428) the day
1416
1416
  # it starts, not three weeks later. Async + best-effort: never blocks
1417
1417
  # boot and never fails it.
1418
- {{#if repoRoot}}
1419
- if [ -x "{{repoRoot}}/bin/boot-self-test.sh" ]; then
1420
- ( "{{repoRoot}}/bin/boot-self-test.sh" >/dev/null 2>&1 ) &
1418
+ #
1419
+ # The path is the IN-CONTAINER one — docker/Dockerfile.agent:229 COPYs
1420
+ # `bin/*.sh` to /opt/switchroom/bin. It used to be `{{repoRoot}}/bin/…`,
1421
+ # rendered from the CLI's own `import.meta.dirname`: a HOST path baked into a
1422
+ # script that only ever runs inside the container. Under `bun build --compile`
1423
+ # `import.meta.dirname` is the bunfs root, so repoRoot rendered EMPTY and the
1424
+ # `-x` test silently skipped the self-test on every agent (#4163). Even from a
1425
+ # source checkout the host repo is not mounted
1426
+ # in the agent container, so this had never actually fired.
1427
+ if [ -x "/opt/switchroom/bin/boot-self-test.sh" ]; then
1428
+ ( "/opt/switchroom/bin/boot-self-test.sh" >/dev/null 2>&1 ) &
1421
1429
  fi
1422
- {{/if}}
1423
1430
 
1424
1431
  # --- Security-hooks plugin integrity check (sec WS8-F1 / #1416) ---
1425
1432
  # The image-baked, agent-unstrippable tool-safety plugin is loaded via