@marver-design/marver 0.26.1 → 0.27.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +198 -0
  2. package/README.md +12 -4
  3. package/dist/{anchor-check-l-ny3UzH.mjs → anchor-check-gkxkPAIv.mjs} +1 -1
  4. package/dist/{board-tree-DRioF94d.mjs → board-tree-BXR8dw4b.mjs} +3 -1
  5. package/dist/{boards-CGg6piKF.mjs → boards-BHKP5yhI.mjs} +1 -1
  6. package/dist/{boards-DYG22tOe.mjs → boards-BqUqKNW8.mjs} +4 -4
  7. package/dist/{build-BDRiO_mP.mjs → build-VgNg4rr8.mjs} +8 -23
  8. package/dist/cli.mjs +45 -19
  9. package/dist/{collab-Dxg2trOK.mjs → collab-BEAcXrBb.mjs} +1 -1
  10. package/dist/{comments-BqXua-XL.mjs → comments-YEU1Zhv9.mjs} +4 -4
  11. package/dist/{context-HQ4Giw58.mjs → context-Ccjrhr1J.mjs} +3 -3
  12. package/dist/{daemon-DL6Fwq6D.mjs → daemon-Dc9AH0M3.mjs} +9 -7
  13. package/dist/detect-C0wpaePX.mjs +125 -0
  14. package/dist/dev-lock-C_FC70Mu.mjs +65 -0
  15. package/dist/dev-ri6nAlRp.mjs +1273 -0
  16. package/dist/exclusive-B1RtpeeP.mjs +150 -0
  17. package/dist/{init-D8DtrK_F.mjs → init-W0nxR1OY.mjs} +8 -6
  18. package/dist/{link-BNzLvdhI.mjs → link-CdTgn94Y.mjs} +23 -11
  19. package/dist/ls-BZ5TAtd5.mjs +38 -0
  20. package/dist/{manifest-Nl3KSVOk.mjs → manifest-aFyDmL8C.mjs} +2 -2
  21. package/dist/{marks-DyWMv_Z1.mjs → marks-BF9pNEgH.mjs} +3 -3
  22. package/dist/{marks-CKgzucHZ.mjs → marks-CnCCfAbD.mjs} +3 -3
  23. package/dist/{marver-id-gate-BjF6v4bT.mjs → marver-id-gate-D-R0hSt_.mjs} +1 -1
  24. package/dist/perf-DkAUFT6W.mjs +1319 -0
  25. package/dist/perf-jam-BaH3Lg0m.mjs +635 -0
  26. package/dist/plugin-B8UghYuF.mjs +5242 -0
  27. package/dist/{poster-BdtSKMDm.mjs → poster-BNgafWMK.mjs} +1 -1
  28. package/dist/{profile-WU9qcbIo.mjs → profile-jIS6BcAs.mjs} +1 -1
  29. package/dist/{publish-bakes-9RzRToXV.mjs → publish-bakes-38Nja78p.mjs} +3 -3
  30. package/dist/{queue-29ok5_eZ.mjs → queue-CAM_vNmX.mjs} +1 -1
  31. package/dist/recover-B8AiI29B.mjs +66 -0
  32. package/dist/{serve-C8rVheYk.mjs → serve-Dp3nHstu.mjs} +3 -3
  33. package/dist/{share--oFJ1bCI.mjs → share-Ce4tP7ji.mjs} +1 -1
  34. package/dist/{shot-XQV7HC9A.mjs → shot-CMQgMVZm.mjs} +1 -1
  35. package/dist/{shot-DQeR_Pfn.mjs → shot-Ch24tiMO.mjs} +36 -5
  36. package/dist/slots-CFNnegCc.mjs +478 -0
  37. package/dist/{sync-DKk-yT1V.mjs → sync-CQdGARJ9.mjs} +4 -3
  38. package/dist/{work-VvX_JIgl.mjs → work-Bxz-ObF3.mjs} +4 -2
  39. package/dist/{work-F5u-twpJ.mjs → work-CNhFF9pU.mjs} +5 -3
  40. package/docs/boards-and-folders.md +3 -1
  41. package/docs/jam-session.md +57 -2
  42. package/docs/performance.md +424 -0
  43. package/package.json +2 -2
  44. package/src/client/content/index.tsx +3 -0
  45. package/src/client/content/video.tsx +16 -4
  46. package/src/client/frame-host/bridge.js +22 -6
  47. package/src/client/frame-host/main.tsx +17 -5
  48. package/src/client/shell/App.tsx +188 -26
  49. package/src/client/shell/BoardList.tsx +5 -5
  50. package/src/client/shell/Comments.tsx +8 -5
  51. package/src/client/shell/ContextMenu.tsx +5 -3
  52. package/src/client/shell/JamSurface.tsx +4 -2
  53. package/src/client/shell/LockedApp.tsx +8 -5
  54. package/src/client/shell/Play.tsx +20 -10
  55. package/src/client/shell/Tip.tsx +3 -1
  56. package/src/client/shell/Toolbar.tsx +12 -1
  57. package/src/client/shell/api.ts +233 -0
  58. package/src/client/shell/app-bridge.ts +254 -0
  59. package/src/client/shell/app-perf.ts +92 -0
  60. package/src/client/shell/canvas/Canvas.tsx +141 -21
  61. package/src/client/shell/canvas/FrameNode.tsx +22 -9
  62. package/src/client/shell/canvas/admission.ts +31 -9
  63. package/src/client/shell/canvas/camera-broadcast.ts +15 -5
  64. package/src/client/shell/canvas/ctl.ts +8 -0
  65. package/src/client/shell/canvas/frame-registry.ts +28 -2
  66. package/src/client/shell/canvas/sleep.ts +60 -17
  67. package/src/client/shell/canvas/updates.ts +2 -1
  68. package/src/client/shell/comments-store.ts +12 -4
  69. package/src/client/shell/goto.ts +22 -10
  70. package/src/client/shell/inset.ts +44 -0
  71. package/src/client/shell/jam-capture.ts +41 -22
  72. package/src/client/shell/jam-keys.ts +12 -3
  73. package/src/client/shell/jam-panel.tsx +9 -3
  74. package/src/client/shell/jam-queue.ts +3 -3
  75. package/src/client/shell/jam-session.tsx +14 -8
  76. package/src/client/shell/jam-voice.ts +55 -15
  77. package/src/client/shell/legacy-links.ts +2 -2
  78. package/src/client/shell/main.tsx +18 -1
  79. package/src/client/shell/marks-ui.tsx +5 -3
  80. package/src/client/shell/marver-app.ts +21 -0
  81. package/src/client/shell/notes.ts +8 -1
  82. package/src/client/shell/perf-run-probe.ts +34 -0
  83. package/src/client/shell/perf-run.ts +70 -0
  84. package/src/client/shell/perf.ts +80 -58
  85. package/src/client/shell/recorder-core.ts +183 -0
  86. package/src/client/shell/recorder.ts +607 -0
  87. package/src/client/shell/store.ts +294 -110
  88. package/src/client/shell/styles.css +72 -15
  89. package/src/client/shell/unsaved.ts +81 -0
  90. package/src/client/shell/whiteout-probes.ts +141 -0
  91. package/src/shared/app-api.ts +205 -0
  92. package/src/shared/app-perf.ts +308 -0
  93. package/src/shared/logo-sniff.ts +86 -0
  94. package/src/shared/machine.ts +132 -0
  95. package/src/shared/perf-run.ts +177 -0
  96. package/templates/AGENTS-embedded.md +25 -4
  97. package/templates/AGENTS-studio.md +25 -4
  98. package/templates/demo/dark.tsx +1 -1
  99. package/templates/demo/welcome.tsx +1 -1
  100. package/templates/instructions/boards.md +3 -1
  101. package/templates/instructions/welcome.md +6 -3
  102. package/dist/bake-C-awKgLA.mjs +0 -786
  103. package/dist/config-Cf7EjAMf.mjs +0 -292
  104. package/dist/dev-Bw_qYWWq.mjs +0 -755
  105. package/dist/dev-lock-DWSpa6nj.mjs +0 -179
  106. package/dist/perf-C75MZ73h.mjs +0 -167
  107. package/dist/perf-DPbLGhhO.mjs +0 -49
  108. package/dist/perf-jam-BU3TVrZu.mjs +0 -239
  109. package/dist/plugin-DkGmZs_r.mjs +0 -2423
@@ -0,0 +1,150 @@
1
+ import { linkSync, readFileSync, unlinkSync, writeFileSync } from "node:fs";
2
+ import { randomBytes } from "node:crypto";
3
+ import { createServer } from "node:net";
4
+ //#region src/server/exclusive.ts
5
+ /**
6
+ * One holder per file (spec 28 A1.2): dev.lock and the slot files in ~/.marver/running/ share it.
7
+ *
8
+ * The rules, none of which guess a holder dead from time or from an unanswered request:
9
+ * - no file: create it exclusively. Done.
10
+ * - a file whose pid runs: it is held (a slow or paused holder too).
11
+ * - a file whose pid is dead: reclaim it while holding `<file>.reclaim` (also exclusive): read it
12
+ * again, still the same dead holder -> replace it. A reclaim file already there means another
13
+ * start is reclaiming: wait a second and start over once; still there -> stuck. A `.reclaim` left
14
+ * by a process killed mid-reclaim is never guessed stale from its age.
15
+ * - a file that is there but names no holder: unreadable, never guessed stale either.
16
+ *
17
+ * Files are created by linking a fully written temp file into place, so a reader never sees an
18
+ * empty or half-written one - `link` fails if the name exists, which is the exclusive create.
19
+ */
20
+ /** Is this pid a running process? EPERM means it runs under another user - still running. A
21
+ * process paused with SIGSTOP runs too, as far as this is concerned. */
22
+ function pidRuns(pid) {
23
+ if (typeof pid !== "number" || !Number.isInteger(pid) || pid <= 0) return false;
24
+ try {
25
+ process.kill(pid, 0);
26
+ return true;
27
+ } catch (err) {
28
+ return err.code === "EPERM";
29
+ }
30
+ }
31
+ /** Create `file` holding `body`, failing with EEXIST if it is there - atomically, content included. */
32
+ function createExclusive(file, body) {
33
+ const tmp = `${file}.${randomBytes(6).toString("hex")}.tmp`;
34
+ writeFileSync(tmp, body, { mode: 384 });
35
+ try {
36
+ linkSync(tmp, file);
37
+ } finally {
38
+ try {
39
+ unlinkSync(tmp);
40
+ } catch {}
41
+ }
42
+ }
43
+ /** A JSON file's value: undefined when there is no file, null when it is there but unreadable. */
44
+ const readJson = (file) => {
45
+ try {
46
+ return JSON.parse(readFileSync(file, "utf8"));
47
+ } catch (err) {
48
+ return err.code === "ENOENT" ? void 0 : null;
49
+ }
50
+ };
51
+ /** The holder a file names - any JSON object with a numeric pid and a string instance (a slot file's
52
+ * other fields are ignored). */
53
+ const asHolder = (v) => {
54
+ const h = v;
55
+ return h && typeof h.pid === "number" && typeof h.instance === "string" ? {
56
+ pid: h.pid,
57
+ instance: h.instance,
58
+ at: Number(h.at) || 0
59
+ } : null;
60
+ };
61
+ /** Is anything listening on `port` on this machine? Vite binds ::1 for `localhost`, an older or
62
+ * configured one 127.0.0.1 - a port is in use if either refuses the bind. */
63
+ async function portInUse(port) {
64
+ const bind = (host) => new Promise((res) => {
65
+ const s = createServer();
66
+ s.once("error", (err) => res(err.code === "EADDRINUSE" || err.code === "EACCES"));
67
+ s.once("listening", () => s.close(() => res(false)));
68
+ s.listen(port, host);
69
+ });
70
+ return await bind("127.0.0.1") || await bind("::1");
71
+ }
72
+ const code = (err) => err.code;
73
+ /** Take `file` for `me`, writing `body` (which names me.pid and me.instance). On success the caller
74
+ * owns it until `release()`, which removes it only while it still names me.instance. */
75
+ async function takeExclusive(file, me, body, opts = {}) {
76
+ const reclaim = `${file}.reclaim`;
77
+ const release = () => releaseExclusive(file, me.instance);
78
+ for (let round = 0; round < 2; round++) {
79
+ try {
80
+ createExclusive(file, body);
81
+ return {
82
+ ok: true,
83
+ release
84
+ };
85
+ } catch (err) {
86
+ if (code(err) !== "EEXIST") throw err;
87
+ }
88
+ const raw = readJson(file);
89
+ if (raw === void 0) continue;
90
+ const holder = asHolder(raw);
91
+ if (!holder) return {
92
+ ok: false,
93
+ why: "unreadable"
94
+ };
95
+ if (pidRuns(holder.pid)) return {
96
+ ok: false,
97
+ why: "held",
98
+ holder
99
+ };
100
+ try {
101
+ createExclusive(reclaim, JSON.stringify(me));
102
+ } catch (err) {
103
+ if (code(err) !== "EEXIST") throw err;
104
+ if (round === 0) {
105
+ await new Promise((r) => setTimeout(r, opts.reclaimWaitMs ?? 1e3));
106
+ continue;
107
+ }
108
+ return {
109
+ ok: false,
110
+ why: "stuck"
111
+ };
112
+ }
113
+ try {
114
+ const again = asHolder(readJson(file));
115
+ if (again && again.pid === holder.pid && again.instance === holder.instance) {
116
+ unlinkSync(file);
117
+ try {
118
+ createExclusive(file, body);
119
+ return {
120
+ ok: true,
121
+ release
122
+ };
123
+ } catch (err) {
124
+ if (code(err) !== "EEXIST") throw err;
125
+ }
126
+ }
127
+ } finally {
128
+ try {
129
+ unlinkSync(reclaim);
130
+ } catch {}
131
+ }
132
+ }
133
+ const last = asHolder(readJson(file));
134
+ return last && pidRuns(last.pid) ? {
135
+ ok: false,
136
+ why: "held",
137
+ holder: last
138
+ } : {
139
+ ok: false,
140
+ why: "stuck"
141
+ };
142
+ }
143
+ /** Remove `file` if it still names `instance` - a file some other start took over stays. */
144
+ function releaseExclusive(file, instance) {
145
+ try {
146
+ if (asHolder(readJson(file))?.instance === instance) unlinkSync(file);
147
+ } catch {}
148
+ }
149
+ //#endregion
150
+ export { readJson as a, portInUse as i, createExclusive as n, takeExclusive as o, pidRuns as r, asHolder as t };
@@ -1,11 +1,11 @@
1
1
  import { r as NAME } from "./cli.mjs";
2
- import { n as addFolders, s as listBoardFiles } from "./boards-CGg6piKF.mjs";
3
- import { S as KIND_FOLDERS, b as FOLDER_MODULES } from "./board-tree-DRioF94d.mjs";
4
- import { s as scanFrames, u as writeManifest } from "./manifest-Nl3KSVOk.mjs";
2
+ import { n as addFolders, s as listBoardFiles } from "./boards-BHKP5yhI.mjs";
3
+ import { C as KIND_FOLDERS, x as FOLDER_MODULES } from "./board-tree-BXR8dw4b.mjs";
4
+ import { s as scanFrames, u as writeManifest } from "./manifest-aFyDmL8C.mjs";
5
5
  import { r as detectAgent } from "./agent-BsieQGTD.mjs";
6
6
  import { MANAGED_PREFIX, enumerateInstructionTemplates, hashBody, pkgDir } from "./managed-HwHVNI3h.mjs";
7
7
  import { t as writeManaged } from "./managed-write-Bo-oPc-i.mjs";
8
- import { i as readJson, r as detectHost, t as DEFAULTS } from "./config-Cf7EjAMf.mjs";
8
+ import { n as readJson, t as detectHost } from "./detect-C0wpaePX.mjs";
9
9
  import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
10
10
  import { basename, dirname, join, relative } from "node:path";
11
11
  //#region src/cli/init.ts
@@ -264,7 +264,7 @@ function init(root, opts) {
264
264
  if (!existsSync(join(root, "context"))) console.log(`\n note: no context/ yet - feature and project boards read Backlog until there is one, and nothing records what shipped. To start it, tell your agent: "Set up our context." (design/instructions/context.md)`);
265
265
  if (!jamAgent) console.log(`\n note: Live Jam found no agent CLI on PATH (claude, codex, cursor, droid, opencode, grok, or pi) - install one and it arms itself on the next \`${NAME} dev\`.`);
266
266
  else if (created.includes("design/config.ts")) console.log(`\n Live Jam is on (${jamAgent}): tag @${NAME} in a canvas comment and your agent does the work, then replies in the thread.`);
267
- console.log(`\n next: npx ${NAME} dev (or: npx ${NAME} canvas - same thing; canvas on http://localhost:${DEFAULTS.port} by default)\n`);
267
+ console.log(`\n next: npx ${NAME} dev (or: npx ${NAME} canvas - same thing; it prints its link: a free slot, localhost:4805-4824, usually the same one next time)\n`);
268
268
  if (!noApp(host) && created.includes("design/config.ts")) console.log(` then, to your agent: "Read design/AGENTS.md. This is our first session - follow design/instructions/welcome.md."\n`);
269
269
  }
270
270
  /** The host's path aliases, re-rooted one level down for design/tsconfig.json.
@@ -577,7 +577,9 @@ export default {
577
577
  // tv: { width: 3840, height: 2160 },
578
578
  },
579
579
  themes: ["light", "dark"],
580
- port: ${DEFAULTS.port},
580
+ // A port of its own. Without one, \`${NAME} dev\` takes a free slot (localhost:4805-4824),
581
+ // usually the same one next time - \`npx ${NAME} ls\` lists the canvases running and their links.
582
+ // port: 5300,
581
583
  // Canvas zoom feel: 1 = default, 1.2 = 20% faster, 0.8 = 20% slower.
582
584
  // zoomSpeed: 1,
583
585
  ${jamBlock(jamAgent)}
@@ -1,8 +1,8 @@
1
1
  import { r as NAME } from "./cli.mjs";
2
- import { d as readMembership, i as checkBoardsDir, p as unplacedHint, s as listBoardFiles } from "./boards-CGg6piKF.mjs";
3
- import { f as isBoardName } from "./board-tree-DRioF94d.mjs";
4
- import { s as scanFrames } from "./manifest-Nl3KSVOk.mjs";
5
- import { i as readDevInfo } from "./work-F5u-twpJ.mjs";
2
+ import { d as readMembership, i as checkBoardsDir, p as unplacedHint, s as listBoardFiles } from "./boards-BHKP5yhI.mjs";
3
+ import { f as isBoardName } from "./board-tree-BXR8dw4b.mjs";
4
+ import { s as scanFrames } from "./manifest-aFyDmL8C.mjs";
5
+ import { i as readDevInfo } from "./work-CNhFF9pU.mjs";
6
6
  import { join } from "node:path";
7
7
  //#region src/cli/link.ts
8
8
  /**
@@ -109,8 +109,7 @@ function resolveLink(root, targets, board) {
109
109
  nodesOf
110
110
  };
111
111
  }
112
- /** The dev server's origin when it is running in this repo and answers like `marver dev` - else null. */
113
- async function devOrigin(root) {
112
+ async function findDev(root) {
114
113
  const info = readDevInfo(root);
115
114
  if (!info) return null;
116
115
  try {
@@ -119,18 +118,31 @@ async function devOrigin(root) {
119
118
  signal: AbortSignal.timeout(1500)
120
119
  });
121
120
  const data = await res.json().catch(() => null);
122
- return res.ok && Array.isArray(data?.frames) ? `http://localhost:${info.port}/` : null;
121
+ return res.ok && Array.isArray(data?.frames) ? { origin: `http://localhost:${info.port}/` } : null;
123
122
  } catch {
124
- return null;
123
+ return info.pid !== void 0 ? { unreachable: {
124
+ pid: info.pid,
125
+ port: info.port
126
+ } } : null;
125
127
  }
126
128
  }
129
+ /** The dev server's origin when it is running in this repo and answers like `marver dev` - else null. */
130
+ async function devOrigin(root) {
131
+ const found = await findDev(root);
132
+ return found && "origin" in found ? found.origin : null;
133
+ }
134
+ /** A canvas that runs where this command cannot reach it: said so, never "start it" - a second start would only find
135
+ * the first one's lock. */
136
+ const unreachable = (pid) => `\`${NAME} dev\` runs (pid ${pid}) but cannot be reached from here - a sandbox?`;
127
137
  const NOT_RUNNING = `\`${NAME} dev\` is not running in this repo - start it (\`npx ${NAME} dev\`), then run this again: the link carries its port`;
128
138
  async function linkCommand(root, targets, opts) {
129
139
  const r = resolveLink(root, targets, opts.board);
130
140
  if (!r.links.length) throw new Error(r.hints.join("\n"));
131
- const origin = await devOrigin(root);
132
- if (!origin) throw new Error(NOT_RUNNING);
141
+ const found = await findDev(root);
142
+ if (!found) throw new Error(NOT_RUNNING);
143
+ const origin = "origin" in found ? found.origin : `http://localhost:${found.unreachable.port}/`;
133
144
  for (const l of r.links) console.log(`${origin}${l.hash}`);
145
+ if ("unreachable" in found) console.error(` ${unreachable(found.unreachable.pid)} The link is its port, from design/.local/dev.json - the person's browser reaches it`);
134
146
  for (const h of r.hints) console.error(` ${h}`);
135
147
  }
136
148
  /** The hand-back other commands print after their own output - a link per board when `dev` runs,
@@ -157,4 +169,4 @@ async function handBack(root, targets) {
157
169
  }
158
170
  }
159
171
  //#endregion
160
- export { devOrigin, handBack, linkCommand, resolveLink, resolveTargets };
172
+ export { devOrigin, handBack, linkCommand, resolveLink, resolveTargets, unreachable };
@@ -0,0 +1,38 @@
1
+ import { r as NAME } from "./cli.mjs";
2
+ import { l as readRunning, n as formatRunning } from "./slots-CFNnegCc.mjs";
3
+ //#region src/cli/ls.ts
4
+ /**
5
+ * `marver ls` (spec 28 A1.5): the canvases running on this Mac, read from the registry
6
+ * (~/.marver/running/) - slot, link, name, version, state, uptime, folder. Dead holders are hidden.
7
+ * No repo needed. `--json` for agents prints the public fields only: never a canvas's key or instance.
8
+ */
9
+ function lsCommand(opts) {
10
+ const list = readRunning();
11
+ const now = Date.now();
12
+ if (opts.json) {
13
+ const canvases = list.map((r) => ({
14
+ slot: r.slot,
15
+ port: r.port,
16
+ url: r.url,
17
+ origin: r.origin,
18
+ name: r.name,
19
+ folder: r.root,
20
+ version: r.version,
21
+ state: r.state,
22
+ pid: r.pid,
23
+ startedAt: r.startedAt,
24
+ uptimeMs: Math.max(0, now - r.startedAt)
25
+ }));
26
+ console.log(JSON.stringify({ canvases }, null, 2));
27
+ return;
28
+ }
29
+ if (!list.length) {
30
+ console.log(`\n no canvas runs on this Mac - npx ${NAME} dev starts one\n`);
31
+ return;
32
+ }
33
+ console.log("");
34
+ for (const line of formatRunning(list, now)) console.log(` ${line}`);
35
+ console.log("");
36
+ }
37
+ //#endregion
38
+ export { lsCommand };
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
2
  import { i as PKG, n as CONTENT_WIDTH } from "./cli.mjs";
3
- import { a as checkRealDirs, f as readRegistry, h as hash, i as checkBoardsDir, r as boardFields, s as listBoardFiles } from "./boards-CGg6piKF.mjs";
4
- import { D as readStatusWord, E as readReason, T as readCapability, a as buildTree, f as isBoardName, h as readTitle, k as resolveType, m as readDescription, o as flatten, s as folderEntries, x as HAS_STATUS, y as DECISIONS } from "./board-tree-DRioF94d.mjs";
3
+ import { a as checkRealDirs, f as readRegistry, h as hash, i as checkBoardsDir, r as boardFields, s as listBoardFiles } from "./boards-BHKP5yhI.mjs";
4
+ import { A as resolveType, D as readReason, E as readCapability, O as readStatusWord, S as HAS_STATUS, a as buildTree, b as DECISIONS, f as isBoardName, g as readTitle, h as readDescription, o as flatten, s as folderEntries } from "./board-tree-BXR8dw4b.mjs";
5
5
  import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
6
6
  import { join, relative, sep } from "node:path";
7
7
  import { randomBytes } from "node:crypto";
@@ -1,8 +1,8 @@
1
- import { s as scanFrames } from "./manifest-Nl3KSVOk.mjs";
1
+ import { s as scanFrames } from "./manifest-aFyDmL8C.mjs";
2
2
  import { r as replay, t as asks } from "./events-CLH4ijKP.mjs";
3
3
  import { a as readLog, i as listBoards } from "./comments-0BSbb04K.mjs";
4
- import { o as projectMarks } from "./marks-CKgzucHZ.mjs";
5
- import { answers } from "./queue-29ok5_eZ.mjs";
4
+ import { o as projectMarks } from "./marks-CnCCfAbD.mjs";
5
+ import { answers } from "./queue-CAM_vNmX.mjs";
6
6
  import { join } from "node:path";
7
7
  //#region src/shared/marks.ts
8
8
  const isNew = (m, id) => !!m && (m.changed[id] ?? 0) > (m.seen[id] ?? 0);
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
- import { a as checkRealDirs, h as hash, i as checkBoardsDir, s as listBoardFiles } from "./boards-CGg6piKF.mjs";
3
- import { l as framesOn } from "./board-tree-DRioF94d.mjs";
4
- import { a as noteFileFor } from "./manifest-Nl3KSVOk.mjs";
2
+ import { a as checkRealDirs, h as hash, i as checkBoardsDir, s as listBoardFiles } from "./boards-BHKP5yhI.mjs";
3
+ import { l as framesOn } from "./board-tree-BXR8dw4b.mjs";
4
+ import { a as noteFileFor } from "./manifest-aFyDmL8C.mjs";
5
5
  import { t as imports } from "./imports-WBSnnHLb.mjs";
6
6
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
7
7
  import { dirname, join, relative, sep } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import { i as avatarSourceFor, n as attachAvatar, p as provisionFromMarverId } from "./auth-Dix8wrXV.mjs";
2
2
  import { TransactionStore, browserBinding, verifyAssertion } from "./marver-id-CVCoaMGI.mjs";
3
- import { t as poweredByUrl } from "./serve-C8rVheYk.mjs";
3
+ import { t as poweredByUrl } from "./serve-Dp3nHstu.mjs";
4
4
  import { randomBytes } from "node:crypto";
5
5
  import { isIP } from "node:net";
6
6
  import { lookup } from "node:dns/promises";