replicas-engine 0.1.560 → 0.1.562

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/dist/src/index.js CHANGED
@@ -724,9 +724,6 @@ var SANDBOX_PATHS = {
724
724
  var WORKSPACE_SIZES = ["small", "large"];
725
725
  var INVALID_WORKSPACE_SIZE_ERROR = `Invalid size: must be one of ${WORKSPACE_SIZES.join(", ")}`;
726
726
 
727
- // ../shared/src/e2b.ts
728
- var E2B_TEMPLATE_NAME = "replicas-sandbox-2026-08-04-v7";
729
-
730
727
  // ../shared/src/runtime-env.ts
731
728
  function shellQuotePosix(value) {
732
729
  return `'${value.split("'").join("'\\''")}'`;
@@ -1190,6 +1187,7 @@ Then embed the printed \`![\u2026](\u2026)\` line in your chat reply. See \`MEDI
1190
1187
 
1191
1188
  ## Failure modes
1192
1189
 
1190
+ - **"Computer-use daemon is unavailable"**: the package-managed systemd service did not start. Check \`systemctl status replicas-computer.service\` and its journal.
1193
1191
  - **"Desktop services script missing"**: workspace image is older than this skill. Tell the user - nothing you can do from the CLI side.
1194
1192
  - **\`xdotool ... failed: Can't open display\`**: Xvfb didn't come up. \`replicas computer status\` will show which service is dead and auto-repair the desktop bridge.
1195
1193
  - **Browser doesn't appear after \`launch chrome\`**: run \`replicas computer observe /tmp/state.png\`. Chrome cold-start on the virtual display takes ~500ms but bigger pages take longer.
@@ -1201,7 +1199,8 @@ Then embed the printed \`![\u2026](\u2026)\` line in your chat reply. See \`MEDI
1201
1199
  | Component | Where |
1202
1200
  |---|---|
1203
1201
  | \`xvfb\`, \`openbox\`, \`tint2\`, \`x11vnc\`, \`websockify\`, \`xdotool\`, \`scrot\`, \`ffmpeg\`, \`google-chrome\` | Baked into the workspace image |
1204
- | Xvfb / openbox / tint2 / x11vnc / websockify processes | Started at workspace boot (\`replicas-start-desktop-services\`) |
1202
+ | \`replicas-computer\`, desktop assets, and service unit | Installed by \`replicas-computer setup\` during the image build |
1203
+ | Xvfb / openbox / tint2 / x11vnc / websockify processes | Managed by \`replicas-computer.service\` |
1205
1204
  | noVNC preview URL (port 6080) | Registered by the engine on startup (authenticated) |
1206
1205
  | Dashboard \`Desktop\` tab | Always available once the engine has registered the preview |
1207
1206
 
@@ -5536,6 +5535,7 @@ function loadEngineEnv() {
5536
5535
  MONOLITH_URL: requireValidURL(requireDefined(readEnv("MONOLITH_URL"), "MONOLITH_URL"), "MONOLITH_URL"),
5537
5536
  HOME_DIR,
5538
5537
  WORKSPACE_ROOT: join2(HOME_DIR, "workspaces"),
5538
+ REPLICAS_SANDBOX_IMAGE_VERSION: readEnv("REPLICAS_SANDBOX_IMAGE_VERSION") ?? "development",
5539
5539
  // Runtime: may not be set during warming
5540
5540
  WORKSPACE_ID: readEnv("WORKSPACE_ID"),
5541
5541
  LINEAR_SESSION_ID: readEnv("LINEAR_SESSION_ID"),
@@ -7109,7 +7109,7 @@ function upsertRepositoryStatus(current, incoming) {
7109
7109
  }
7110
7110
  function createDefaultDetails() {
7111
7111
  return {
7112
- engineVersion: E2B_TEMPLATE_NAME,
7112
+ engineVersion: ENGINE_ENV.REPLICAS_SANDBOX_IMAGE_VERSION,
7113
7113
  globalWarmHookCompleted: { status: "n/a", details: null },
7114
7114
  environmentWarmHookCompleted: { status: "n/a", details: null },
7115
7115
  environmentStartHookCompleted: { status: "n/a", details: null },
@@ -7159,7 +7159,7 @@ var EnvironmentDetailsService = class {
7159
7159
  detectGitIdentityConfigured(),
7160
7160
  detectGitLabAccessConfigured()
7161
7161
  ]);
7162
- details.engineVersion = E2B_TEMPLATE_NAME;
7162
+ details.engineVersion = ENGINE_ENV.REPLICAS_SANDBOX_IMAGE_VERSION;
7163
7163
  details.supportsMidTurnSteering = true;
7164
7164
  details.supportsGoalUpdates = true;
7165
7165
  details.supportsQueuedMessageEditing = true;
@@ -10733,7 +10733,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
10733
10733
  var MIN_CODEX_CLI_VERSION = "0.144.6";
10734
10734
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
10735
10735
  var codexCliVersionEnsured = null;
10736
- var ENGINE_PACKAGE_VERSION = "0.1.560";
10736
+ var ENGINE_PACKAGE_VERSION = "0.1.562";
10737
10737
  var INITIALIZE_METHOD = "initialize";
10738
10738
  var INITIALIZED_NOTIFICATION = "initialized";
10739
10739
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
@@ -17947,7 +17947,7 @@ data: ${JSON.stringify("Terminal session not found")}
17947
17947
  });
17948
17948
  app2.get("/version", (c) => {
17949
17949
  const response = {
17950
- version: E2B_TEMPLATE_NAME
17950
+ version: ENGINE_ENV.REPLICAS_SANDBOX_IMAGE_VERSION
17951
17951
  };
17952
17952
  return c.json(response);
17953
17953
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.560",
3
+ "version": "0.1.562",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",