@paradow/ledge-relay 0.70.1 → 0.71.0

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.
@@ -2817,6 +2817,7 @@ var DaemonInfoSchema = z33.object({
2817
2817
  freeShell: z33.boolean().optional()
2818
2818
  });
2819
2819
  var UpdateFailureSchema = z33.enum(["git-install", "no-systemd", "sessions-at-risk", "npm-failed", "busy"]);
2820
+ var SetupFailedSchema = z33.literal(true).optional();
2820
2821
  var ServerMessageSchema = z33.discriminatedUnion("type", [
2821
2822
  BrowserLiveSchema,
2822
2823
  BrowserFrameSchema,
@@ -2903,8 +2904,8 @@ var ServerMessageSchema = z33.discriminatedUnion("type", [
2903
2904
  z33.object({ type: z33.literal("chat.error"), qid: z33.string(), message: z33.string() }),
2904
2905
  /** The daemon updating itself: npm is running, then the service restarts (the socket closes right after). */
2905
2906
  z33.object({ type: z33.literal("update.progress"), version: z33.string(), step: z33.enum(["installing", "restarting"]) }),
2906
- /** Nothing was changed. `detail`: the useful end of npm's output; `command`: what the person can run instead. */
2907
- z33.object({ type: z33.literal("update.failed"), version: z33.string(), reason: UpdateFailureSchema, detail: z33.string().optional(), command: z33.string().optional() }),
2907
+ /** Nothing was changed, unless `setup` (the version is installed, its setup failed). `detail`: the useful end of npm's or setup's output; `command`: what the person can run instead. */
2908
+ z33.object({ type: z33.literal("update.failed"), version: z33.string(), reason: UpdateFailureSchema, detail: z33.string().optional(), command: z33.string().optional(), setup: SetupFailedSchema }),
2908
2909
  /** The shared machines list (spec 2026-10-14 §5), sent to local clients only. */
2909
2910
  z33.object({ type: z33.literal("machines"), machines: MachinesSchema }),
2910
2911
  /** The local daemon's projects and folder rules (spec 2026-10-16 build §5), sent to local clients only. */
@@ -4119,8 +4120,8 @@ var PhoneServerMessageSchema = z39.discriminatedUnion("type", [
4119
4120
  }),
4120
4121
  /** The daemon updating or restarting itself, whoever asked: npm runs, then the service restarts (the link drops right after). */
4121
4122
  z39.object({ type: z39.literal("daemon.progress"), version: z39.string().max(40), step: z39.enum(["installing", "restarting"]) }),
4122
- /** Nothing was changed. Never npm's output nor a command: both hold the PC's paths. */
4123
- z39.object({ type: z39.literal("daemon.failed"), version: z39.string().max(40), reason: UpdateFailureSchema }),
4123
+ /** Nothing was changed, unless `setup` (the version is installed, its setup failed). Never npm's output nor a command: both hold the PC's paths. */
4124
+ z39.object({ type: z39.literal("daemon.failed"), version: z39.string().max(40), reason: UpdateFailureSchema, setup: SetupFailedSchema }),
4124
4125
  /** The tasks Ledge gave, open or closed lately, after each snapshot; then each change. */
4125
4126
  z39.object({ type: z39.literal("tasks"), tasks: z39.array(PhoneTaskSchema).max(200) }),
4126
4127
  z39.object({ type: z39.literal("task.updated"), task: PhoneTaskSchema }),
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  parsePublicUrl,
8
8
  startRelay,
9
9
  startupErrorLine
10
- } from "./chunk-WLFSST3N.js";
10
+ } from "./chunk-MDUBLNNS.js";
11
11
 
12
12
  // src/cli.ts
13
13
  import { chmodSync as chmodSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync3, realpathSync } from "fs";
package/dist/main.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  loadConfig,
3
3
  startRelay,
4
4
  startupErrorLine
5
- } from "./chunk-WLFSST3N.js";
5
+ } from "./chunk-MDUBLNNS.js";
6
6
 
7
7
  // src/main.ts
8
8
  function die(msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paradow/ledge-relay",
3
- "version": "0.70.1",
3
+ "version": "0.71.0",
4
4
  "license": "PolyForm-Noncommercial-1.0.0",
5
5
  "repository": {
6
6
  "type": "git",