@solongate/proxy 0.82.42 → 0.82.44

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.
@@ -68,7 +68,10 @@ function startLogsServerDaemon() {
68
68
  const p = spawn(process.execPath, [cli, "logs-server"], {
69
69
  detached: true,
70
70
  stdio: ["ignore", log, log],
71
- windowsHide: true
71
+ windowsHide: true,
72
+ // Spawned by US, not by an agent: exempt from the human-only TTY gate
73
+ // (a detached daemon has no terminal by definition).
74
+ env: { ...process.env, SOLONGATE_INTERNAL: "1" }
72
75
  });
73
76
  p.on("error", () => {
74
77
  });
@@ -3,6 +3,13 @@ export declare function currentVersion(): string;
3
3
  export declare function newerThan(b: string, a: string): boolean;
4
4
  /** The latest version published to npm, or null if it can't be reached. */
5
5
  export declare function latestVersion(): Promise<string | null>;
6
+ /** Foreground global install — resolves true on success, output → update log. */
7
+ /**
8
+ * `solongate update` — explicit, visible update instead of waiting for the
9
+ * background auto-update: installs the newest CLI globally, then refreshes the
10
+ * installed guard hooks. Returns a process exit code.
11
+ */
12
+ export declare function runUpdateCommand(): Promise<number>;
6
13
  /** What the dataroom shows about the updater. */
7
14
  export type UpdateStatus = {
8
15
  kind: 'idle';