yaver-cli 1.99.225 → 1.99.227

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/postinstall.js +10 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaver-cli",
3
- "version": "1.99.225",
3
+ "version": "1.99.227",
4
4
  "mcpName": "io.github.kivanccakmak/yaver",
5
5
  "description": "Unified npm bootstrap for the Yaver agent, SDK injection, and local-first developer runtime",
6
6
  "bin": {
@@ -141,18 +141,25 @@ function ensureLinuxRunnerSandboxPackages() {
141
141
  const missing = [];
142
142
  if (!commandExists("bwrap")) missing.push("bubblewrap");
143
143
  if (!commandExists("newuidmap")) missing.push("uidmap");
144
+ // tmux is a core Yaver dependency — /spatial 3-pane terminal layout
145
+ // attaches to it via /ws/terminal, and the mobile Terminal tab uses
146
+ // it the same way. Without tmux, the trio user (Cagri-style: Linux
147
+ // remote dev + phone + glasses + keyboard) sees empty panes until
148
+ // they ssh in and `apt install tmux`. Bundling tmux into the same
149
+ // auto-install pass as the runner sandbox deps closes that gap.
150
+ if (!commandExists("tmux")) missing.push("tmux");
144
151
  if (missing.length === 0) return;
145
152
  if (!commandExists("apt-get")) {
146
- log(`Runner sandbox packages missing (${missing.join(", ")}) and no apt-get is available for auto-install.`);
153
+ log(`Linux packages missing (${missing.join(", ")}) and no apt-get is available for auto-install. Run: \`yaver install tmux\` (or your distro's equivalent for the rest).`);
147
154
  return;
148
155
  }
149
156
  execSync("apt-get update -y", { stdio: ["ignore", "ignore", "ignore"] });
150
157
  execSync(`DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${missing.join(" ")}`, {
151
158
  stdio: "inherit",
152
159
  });
153
- log(`Installed Linux runner sandbox packages: ${missing.join(", ")}.`);
160
+ log(`Installed Linux packages: ${missing.join(", ")}.`);
154
161
  } catch (error) {
155
- log(`Skipping Linux runner sandbox package bootstrap: ${error.message}`);
162
+ log(`Skipping Linux package bootstrap: ${error.message}`);
156
163
  }
157
164
  }
158
165