@getmonoceros/workbench 1.33.1 → 1.33.2

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/bin.js CHANGED
@@ -2374,14 +2374,14 @@ var init_catalog = __esm({
2374
2374
  override = process.env.MONOCEROS_BASE_IMAGE_OVERRIDE?.trim();
2375
2375
  BASE_IMAGE = override && override.length > 0 ? override : DEFAULT_BASE_IMAGE;
2376
2376
  RUNTIME_IMAGE_REPO = "ghcr.io/getmonoceros/monoceros-runtime";
2377
- DEFAULT_RUNTIME_VERSION = true ? "1.3.4" : readFileSync3(
2377
+ DEFAULT_RUNTIME_VERSION = true ? "1.3.5" : readFileSync3(
2378
2378
  fileURLToPath2(
2379
2379
  new URL("../../../../images/runtime/VERSION", import.meta.url)
2380
2380
  ),
2381
2381
  "utf8"
2382
2382
  ).trim();
2383
2383
  MIN_RUNTIME_FOR_SSH_ATTACH = "1.2.0";
2384
- MIN_RUNTIME_FOR_HOST_KEY_PINNING = "1.3.4";
2384
+ MIN_RUNTIME_FOR_HOST_KEY_PINNING = "1.3.5";
2385
2385
  MIN_RUNTIME_FOR_BROWSER_BRIDGE = "1.3.3";
2386
2386
  DESCRIPTORS = loadDescriptorCatalogSync();
2387
2387
  BUILTIN_LANGUAGES = new Set(
@@ -3592,8 +3592,10 @@ function buildDevcontainerJson(opts, dockerMode = "rootful") {
3592
3592
  }
3593
3593
  }
3594
3594
  } : void 0;
3595
- const sshPostStart = runtimeSupportsSshAttach(opts.runtimeVersion) ? { postStartCommand: "sudo /usr/local/bin/monoceros-sshd-up.sh" } : {};
3596
3595
  const sshBridgePort = windowsBridgePort(opts);
3596
+ const sshPostStart = runtimeSupportsSshAttach(opts.runtimeVersion) ? {
3597
+ postStartCommand: `sudo /usr/local/bin/monoceros-sshd-up.sh${sshBridgePort !== null ? ` ${sshBridgePort}` : ""}`
3598
+ } : {};
3597
3599
  const workspaceEnv = {
3598
3600
  ...featureWorkspaceEnv(resolvedFeatures),
3599
3601
  ...sshBridgePort ? { MONOCEROS_SSH_PUBLISH_PORT: String(sshBridgePort) } : {}
@@ -6589,6 +6591,7 @@ async function runBridgeDaemon(opts) {
6589
6591
  const dockerExec = opts.dockerExec ?? spawnDocker;
6590
6592
  const lifecheckMs = opts.lifecheckMs ?? 5e3;
6591
6593
  await fsp5.mkdir(relayDir(root), { recursive: true });
6594
+ await fsp5.rm(relayUrlFile(root), { force: true });
6592
6595
  await fsp5.writeFile(bridgePidFile(root), String(process.pid));
6593
6596
  const watcher = watchRelayUrl({
6594
6597
  urlFile: relayUrlFile(root),
@@ -8108,7 +8111,7 @@ Fix the value in the env file (or the yml).`
8108
8111
  targetDir,
8109
8112
  home,
8110
8113
  // Direct-port Windows block only when the runtime publishes the port
8111
- // (>= 1.3.4); otherwise the Windows block keeps the ProxyCommand.
8114
+ // (>= 1.3.5); otherwise the Windows block keeps the ProxyCommand.
8112
8115
  windowsDirectPort: runtimeSupportsHostKeyPinning(
8113
8116
  createOpts.runtimeVersion
8114
8117
  ) ? windowsSshPort(opts.name) : null,
@@ -8609,7 +8612,7 @@ var CLI_VERSION;
8609
8612
  var init_version = __esm({
8610
8613
  "src/version.ts"() {
8611
8614
  "use strict";
8612
- CLI_VERSION = true ? "1.33.1" : "dev";
8615
+ CLI_VERSION = true ? "1.33.2" : "dev";
8613
8616
  }
8614
8617
  });
8615
8618