glimmervoid 0.33.0 → 0.34.1

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.
@@ -1,6 +1,6 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
- import { l as resolveConfigPath } from "./config-store-DYsZJDux.js";
3
- import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-DJHVb-HU.js";
2
+ import { l as resolveConfigPath } from "./config-store-D0lRWsAM.js";
3
+ import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-Y6YtqoiO.js";
4
4
  import fs from "node:fs";
5
5
  //#region server/text-format.ts
6
6
  function trimIso(iso) {
@@ -3,7 +3,7 @@ import { i as equalsIgnoringCaseOnWindows, t as canonicalizePath } from "./paths
3
3
  import { n as isRecord } from "./coerce-NSst8oRP.js";
4
4
  import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
5
5
  import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-oEH9vt-0.js";
6
- import { s as glimmervoidHomeDir } from "./config-store-DYsZJDux.js";
6
+ import { s as glimmervoidHomeDir } from "./config-store-D0lRWsAM.js";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
  import crypto from "node:crypto";
@@ -8,7 +8,7 @@ var LINUX_SANDBOX_BINARIES = Object.freeze([
8
8
  ]);
9
9
  var NO_SANDBOX_BINARIES = Object.freeze([]);
10
10
  var SANDBOX_INSTALL_HINT = "Install bubblewrap, socat and ripgrep, for example: sudo apt install bubblewrap socat ripgrep";
11
- var SANDBOXED_WORK = "sandboxed sessions and factory checks";
11
+ var SANDBOXED_WORK = "guarded sessions and factory checks";
12
12
  function requiredSandboxBinaries(platform) {
13
13
  return platform === "linux" ? LINUX_SANDBOX_BINARIES : NO_SANDBOX_BINARIES;
14
14
  }
@@ -31,14 +31,14 @@ function missingBinariesPhrase(report) {
31
31
  }
32
32
  function sandboxSpawnRefusal(report) {
33
33
  if (report.missingBinaries.length === 0) return null;
34
- return `not started: the sandbox needs ${namesList(report.requiredBinaries)}, and ${missingBinariesPhrase(report)}. ${report.installHint}`;
34
+ return `not started: the guardrails need ${namesList(report.requiredBinaries)}, and ${missingBinariesPhrase(report)}. ${report.installHint}`;
35
35
  }
36
36
  function sandboxBootWarning(report) {
37
37
  if (report.missingBinaries.length === 0) return null;
38
- return `[sandbox] ${missingBinariesPhrase(report)}, so ${SANDBOXED_WORK} will refuse to start. ${report.installHint}`;
38
+ return `[guardrails] ${missingBinariesPhrase(report)}, so ${SANDBOXED_WORK} will refuse to start. ${report.installHint}`;
39
39
  }
40
40
  function sandboxDoctorRows(report) {
41
- if (report.requiredBinaries.length === 0) return [["sandbox", `nothing to check on ${report.platform}`]];
41
+ if (report.requiredBinaries.length === 0) return [["guardrails", `nothing to check on ${report.platform}`]];
42
42
  const binaryRows = report.requiredBinaries.map((binary) => [binary, report.missingBinaries.includes(binary) ? "MISSING" : "found"]);
43
43
  if (report.installHint === null) return binaryRows;
44
44
  return [...binaryRows, ["hint", report.installHint]];