switchroom 0.14.54 → 0.14.55

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.
@@ -49463,8 +49463,8 @@ var {
49463
49463
  } = import__.default;
49464
49464
 
49465
49465
  // src/build-info.ts
49466
- var VERSION = "0.14.54";
49467
- var COMMIT_SHA = "b6f1a934";
49466
+ var VERSION = "0.14.55";
49467
+ var COMMIT_SHA = "dc589fea";
49468
49468
 
49469
49469
  // src/cli/agent.ts
49470
49470
  init_source();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "switchroom",
3
- "version": "0.14.54",
3
+ "version": "0.14.55",
4
4
  "description": "Run Claude Code 24/7 on your Claude Pro/Max subscription over Telegram. Open-source alternative to OpenClaw and NanoClaw — no API keys.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,6 +33,24 @@ if [ "$SWITCHROOM_RUNTIME" = "docker" ] && [ -z "$SWITCHROOM_DOCKER_TMUX_INNER"
33
33
  # same path the rest of start.sh + the MCP sidecar expects.
34
34
  export TELEGRAM_STATE_DIR="{{agentDir}}/telegram"
35
35
 
36
+ # Gateway-consumed env MUST be exported HERE, before the gateway fork
37
+ # below. The gateway daemon reads channels.telegram.* knobs (and any
38
+ # agent env) from process.env at startup — e.g. SWITCHROOM_TG_STREAM_
39
+ # THROTTLE_MS, SWITCHROOM_TG_EDIT_BUDGET_THRESHOLD,
40
+ # SWITCHROOM_TG_CLEAR_STATUS_ON_COMPLETION. The inner tmux pass
41
+ # re-exports the SAME user-env block below for claude, because tmux
42
+ # does not reliably propagate arbitrary env across the
43
+ # re-exec. Without this hoist these vars only ever reach the inner
44
+ # (claude) pass and the already-forked gateway never sees them — every
45
+ # channels.telegram env knob silently defaults on docker agents (the
46
+ # start.sh env-fork landmine, same class as #1997 /
47
+ # SWITCHROOM_HANDOFF_SHOW_LINE). Pinned by the scaffold-order test
48
+ # asserting these exports precede the gateway-fork line.
49
+ {{#if userEnvQuoted}}
50
+ {{#each userEnvQuoted}} export {{@key}}={{{this}}}
51
+ {{/each}}
52
+ {{/if}}
53
+
36
54
  # Tiny in-process supervisor: runs cmd in a respawn loop with
37
55
  # exponential backoff (1→2→4…→60s cap) and NEVER permanently gives
38
56
  # up. Rationale (RFC J / install-validation 2026-05-17): the
@@ -52167,10 +52167,10 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
52167
52167
  }
52168
52168
 
52169
52169
  // ../src/build-info.ts
52170
- var VERSION = "0.14.54";
52171
- var COMMIT_SHA = "b6f1a934";
52172
- var COMMIT_DATE = "2026-06-03T20:22:35Z";
52173
- var LATEST_PR = 2133;
52170
+ var VERSION = "0.14.55";
52171
+ var COMMIT_SHA = "dc589fea";
52172
+ var COMMIT_DATE = "2026-06-03T21:05:15Z";
52173
+ var LATEST_PR = 2136;
52174
52174
  var COMMITS_AHEAD_OF_TAG = 0;
52175
52175
 
52176
52176
  // gateway/boot-version.ts