@rynx-ai/runtime 0.1.11-beta.16 → 0.1.11-beta.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.
@@ -28,7 +28,12 @@ const DEFAULT_ROWS = 24;
28
28
  const DEFAULT_SCROLLBACK = 20000;
29
29
  /** Resolve the exact tmux executable selected by the current Rynx distribution. */
30
30
  export function resolveTmuxBin(explicit, env = process.env) {
31
- return explicit ?? (env.RYNX_TMUX_BIN?.trim() || "tmux");
31
+ if (explicit !== undefined)
32
+ return explicit;
33
+ if (Object.hasOwn(env, "RYNX_TMUX_BIN")) {
34
+ return env.RYNX_TMUX_BIN?.trim() ?? "";
35
+ }
36
+ return "tmux";
32
37
  }
33
38
  /** Deterministic private socket owned by one terminal name. Parent-side
34
39
  * shutdown uses the same mapping when the runner child is too wedged to clean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rynx-ai/runtime",
3
- "version": "0.1.11-beta.16",
3
+ "version": "0.1.11-beta.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/rynx-ai/rynx.git",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "node-pty": "1.2.0-beta.15",
28
28
  "ws": "^8.21.0",
29
- "@rynx-ai/core": "0.1.11-beta.16"
29
+ "@rynx-ai/core": "0.1.11-beta.17"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/ws": "^8.18.1"