@marver-design/marver 0.31.0 → 0.33.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +2 -2
  3. package/dist/{anchor-check-B92s9tVv.mjs → anchor-check-KCe6WeRA.mjs} +1 -1
  4. package/dist/{boards-OlAhZ87x.mjs → boards-jHmEPLV7.mjs} +1 -1
  5. package/dist/{build-BNssmbqd.mjs → build-4-k2XhhX.mjs} +3 -3
  6. package/dist/cli.mjs +12 -12
  7. package/dist/{comment-actions-Bxf9Ld4g.mjs → comment-actions-BCBcd-Wq.mjs} +12 -5
  8. package/dist/{comments-BakJQwaf.mjs → comments-C2SN1QdM.mjs} +4 -4
  9. package/dist/{daemon-MxoEQajX.mjs → daemon-CCDgagw2.mjs} +49 -8
  10. package/dist/{dev-BBZe_brH.mjs → dev-CJf5upVK.mjs} +9 -9
  11. package/dist/{link-Cmt9Xy4X.mjs → link-aZq5cExV.mjs} +1 -1
  12. package/dist/{pdf-CZENT6t3.mjs → pdf-GGya_nI6.mjs} +3 -3
  13. package/dist/{pdf-0m721FFn.mjs → pdf-HB0prF75.mjs} +1 -1
  14. package/dist/{perf-CIMijND6.mjs → perf-9ZEF5KLO.mjs} +2 -2
  15. package/dist/{perf-BB0XNt1M.mjs → perf-BA_NDarr.mjs} +1 -0
  16. package/dist/{plugin-CL8_wL7a.mjs → plugin-Cm74UDfp.mjs} +128 -47
  17. package/dist/{poster-B7uSjlEP.mjs → poster-BnuT9UyW.mjs} +1 -1
  18. package/dist/{publish-bakes-BjgDNeyS.mjs → publish-bakes-zHmPEOB5.mjs} +2 -2
  19. package/dist/{recover-ByuFQOF9.mjs → recover-BpRQxBA7.mjs} +1 -1
  20. package/dist/{shot-D2TQGo2V.mjs → shot-BuUCG46-.mjs} +1 -1
  21. package/dist/{shot-BqwkdtKn.mjs → shot-HZtclbOT.mjs} +3 -3
  22. package/dist/{show-B1u3DiJw.mjs → show-DhmiUu01.mjs} +2 -2
  23. package/dist/{work-Nv-n2_Un.mjs → work-B4tydWnf.mjs} +37 -1
  24. package/dist/{work-DRdzXPvg.mjs → work-CzIXp7n1.mjs} +3 -3
  25. package/docs/app.md +120 -21
  26. package/docs/boards-and-folders.md +10 -5
  27. package/docs/slides.md +2 -1
  28. package/package.json +1 -1
  29. package/src/client/shell/App.tsx +5 -1
  30. package/src/client/shell/Play.tsx +80 -5
  31. package/src/client/shell/app-bridge.ts +8 -0
  32. package/src/client/shell/immersive.ts +123 -0
  33. package/src/client/shell/inset.ts +29 -3
  34. package/src/client/shell/marks-ui.tsx +2 -2
  35. package/src/client/shell/recorder-signals.ts +5 -2
  36. package/src/client/shell/styles.css +25 -6
  37. package/src/shared/app-api.ts +41 -0
  38. package/src/shared/immersive.ts +13 -0
  39. package/src/shared/perf-records.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  Notable changes to `@marver-design/marver`. Format follows [Keep a Changelog](https://keepachangelog.com); versions follow semver.
4
4
 
5
+ ## 0.33.0 - 2026-11-13
6
+
7
+ ### Highlights
8
+
9
+ - **Mark as seen and Resolve comments on one frame.** Right-click a frame in the sidebar: next to Copy path, **Mark as
10
+ seen** clears its blue dot, and **Resolve comments** resolves every open conversation on it, with Undo (never what Jam
11
+ is working on). Each shows only when there is something to do. They were only on a scene, a board or a folder before.
12
+ [Boards and folders](docs/boards-and-folders.md)
13
+
14
+ ## 0.32.0 - 2026-11-11
15
+
16
+ ### Highlights
17
+
18
+ - **Hide UI takes the whole window in the Mac app.** In play, prototype, slides or focus mode, H hides the app's tab strip
19
+ and the window's buttons too, and the stage grows into the room they left; H again, Escape, leaving play or switching
20
+ tabs brings them back. On the canvas, Hide UI keeps the strip, as before. In a browser, and with an older Mac app, Hide
21
+ UI works as it did.
22
+ - **Home says what your agent is working on.** A canvas tells the Mac app which board an agent works on and since when -
23
+ a `marver work` hold, or a Jam run once it has begun (never while it waits for its turn, a session or a process slot) -
24
+ and the names of the boards it mentions, so Home reads "Agent working on <board> · N min". Needs app 1.2.0.
25
+
5
26
  ## 0.31.0 - 2026-11-10
6
27
 
7
28
  ### Highlights
package/README.md CHANGED
@@ -131,7 +131,7 @@ The same glow, driven from the terminal. When your agent takes a request, it cre
131
131
 
132
132
  **Where the canvas runs.** Each canvas on your Mac takes one of twenty fixed ports, localhost:4805 to localhost:4824 - usually the same one each time - and prints its link; `npx marver ls` lists them all. `--port <n>`, or a `port` in `design/config.ts` (other than the old 5199), gives a canvas a port of its own instead. Because an address is reused by whichever canvas starts there next, a tab left open after its canvas stopped says so, and how to bring it back, and keeps your unsaved edits until its own canvas is back, and a local canvas runs no service workers.
133
133
 
134
- **The Mac app.** In Marver's Mac app a canvas tells the app what it holds, so closing its tab, quitting or reloading asks before losing unsaved work, and the app follows its theme and shows its View and Jam items in the menu bar. Since 0.29 (app 0.3) it also tells the app what needs you - a question, a capture to review, a run that failed or stalled - which the app counts on the canvas's tab and, with notices on, sends as a notice that opens it; and a capture's pictures in play are your screen as you saw it ([what needs you](docs/boards-and-folders.md#what-is-new-what-needs-you)). Since 0.31 (app 1.1), `marver link` gives a `marver://` link while the app has the canvas open - click it anywhere and the app comes forward on that board, the frames selected ([Links into the app](docs/app.md#links-into-the-app)); `marver show` brings the tab forward too; File > Export PDF saves a board's PDF where you choose; and the tab's menu has Resolve All Comments beside Mark All as Seen, with a blue dot, not a count, for what is new. In a browser none of this runs; browsers ask before a reload or a close loses unsaved work too.
134
+ **The Mac app.** In Marver's Mac app a canvas tells the app what it holds, so closing its tab, quitting or reloading asks before losing unsaved work, and the app follows its theme and shows its View and Jam items in the menu bar. Since 0.29 (app 0.3) it also tells the app what needs you - a question, a capture to review, a run that failed or stalled - which the app counts on the canvas's tab and, with notices on, sends as a notice that opens it; and a capture's pictures in play are your screen as you saw it ([what needs you](docs/boards-and-folders.md#what-is-new-what-needs-you)). Since 0.31 (app 1.1), `marver link` gives a `marver://` link while the app has the canvas open - click it anywhere and the app comes forward on that board, the frames selected ([Links into the app](docs/app.md#links-into-the-app)); `marver show` brings the tab forward too; File > Export PDF saves a board's PDF where you choose; and the tab's menu has Resolve All Comments beside Mark All as Seen, with a blue dot, not a count, for what is new. Since 0.32 (app 1.2), Home says which board an agent works on and for how long ("Agent working on Checkout · 4 min"), and `h` in play, prototype, slides or focus takes the whole window, the app's tab strip included ([Hide UI in play](docs/app.md#hide-ui-in-play)). In a browser none of this runs; browsers ask before a reload or a close loses unsaved work too.
135
135
 
136
136
  ## Shortcuts
137
137
 
@@ -148,7 +148,7 @@ The same glow, driven from the terminal. When your agent takes a request, it cre
148
148
 
149
149
  **Where to look** - `u` goes to the next frame that needs you (an orange question bubble), then the next new one (blue) - see [what is new, what needs you](docs/boards-and-folders.md#what-is-new-what-needs-you).
150
150
 
151
- **Modes** - `c` comment mode · `l` laser · `⌥L` inspect laser · `⇧C` hide/show comment pins · `⇧L` laser comment (spotlight a thread's element) · `p` play (present, or slides on a slides board) · `h` hide all chrome.
151
+ **Modes** - `c` comment mode · `l` laser · `⌥L` inspect laser · `⇧C` hide/show comment pins · `⇧L` laser comment (spotlight a thread's element) · `p` play (present, or slides on a slides board) · `h` hide all chrome (in the Mac app's play, the tab strip too).
152
152
 
153
153
  **In play** - `←` `→` step (Space and click advance a deck) · `[` `]` cycle variants · `d` cycles the theme · digits pick a device, the digit after your last one fills the window · `esc` exits, unless the board is locked to that view.
154
154
 
@@ -1,4 +1,4 @@
1
- import { a as frameUrl, d as withBrowser, n as MOUNTED, o as manifestFrame, s as planShot } from "./shot-BqwkdtKn.mjs";
1
+ import { a as frameUrl, d as withBrowser, n as MOUNTED, o as manifestFrame, s as planShot } from "./shot-HZtclbOT.mjs";
2
2
  //#region src/server/anchor-check.ts
3
3
  /**
4
4
  * The anchor check (spec 26, Part 6): `comments new --on|--at`, `comments move` and a Live Jam re-pin
@@ -2,7 +2,7 @@ import { r as NAME } from "./cli.mjs";
2
2
  import { f as pinFrames, h as readRegistry, l as listBoardFiles, m as readMembership, n as addFolders, o as checkBoardsDir, p as placeFrame, r as boardFields, s as checkRealDirs } from "./boards-Cim1GTKc.mjs";
3
3
  import { A as resolveType, E as readCapability, T as knownType, a as buildTree, c as folderMap, f as isBoardName, o as flatten, u as humanize, x as FOLDER_MODULES, y as BOARD_TYPES } from "./board-tree-DGj0HhEE.mjs";
4
4
  import { _ as STATUS_LABEL, d as annotateBoards, h as PHASE_LABEL, s as scanFrames } from "./manifest-CK8Qh4Nq.mjs";
5
- import { resolveTargets } from "./link-Cmt9Xy4X.mjs";
5
+ import { resolveTargets } from "./link-aZq5cExV.mjs";
6
6
  import { existsSync, mkdirSync, writeFileSync } from "node:fs";
7
7
  import { join } from "node:path";
8
8
  //#region src/cli/boards.ts
@@ -6,7 +6,7 @@ import { a as readLog, o as shareable, r as legacyExposure, t as appendEvents }
6
6
  import { t as detectHost } from "./detect-C0wpaePX.mjs";
7
7
  import { a as publishLogo, r as logoIcons } from "./logo-C9s7-Cy9.mjs";
8
8
  import { n as loadConfig } from "./config-B0YcFtqS.mjs";
9
- import { d as canvasIdentity, n as tailwind3Css, r as tailwind4Plugin, t as marverPlugin } from "./plugin-CL8_wL7a.mjs";
9
+ import { d as canvasIdentity, n as tailwind3Css, r as tailwind4Plugin, t as marverPlugin } from "./plugin-Cm74UDfp.mjs";
10
10
  import { i as measuringFrames, n as autoWidthOf, o as readSizes, r as keptSizes } from "./sizes-BckcL4Zz.mjs";
11
11
  import { cpSync, existsSync, mkdirSync, readFileSync, realpathSync, rmSync, writeFileSync } from "node:fs";
12
12
  import { dirname, join, sep } from "node:path";
@@ -790,7 +790,7 @@ async function buildSite(root, boardsFlag, allBoardsFlag, embedSeeds, textures =
790
790
  const realAssets = existsSync(assetsDir) ? realpathSync(assetsDir) : null;
791
791
  for (const r of refs) {
792
792
  if (!isLocalAssetRef(r) || !r.endsWith(".poster.png") || existsSync(join(assetsDir, r))) continue;
793
- const { ensurePoster } = await import("./poster-B7uSjlEP.mjs");
793
+ const { ensurePoster } = await import("./poster-BnuT9UyW.mjs");
794
794
  const g = await ensurePoster(assetsDir, r.slice(0, -11));
795
795
  if (!g.ok) throw new Error(`design/assets/${r}: ${g.error}`);
796
796
  console.log(` poster: rendered design/assets/${r} (${g.width}×${g.height})`);
@@ -849,7 +849,7 @@ async function buildSite(root, boardsFlag, allBoardsFlag, embedSeeds, textures =
849
849
  }));
850
850
  let textureLine = " textures: skipped (--no-textures)";
851
851
  if (textures && bakeGen) {
852
- const { bakePublished } = await import("./publish-bakes-BjgDNeyS.mjs");
852
+ const { bakePublished } = await import("./publish-bakes-zHmPEOB5.mjs");
853
853
  const pubFrameFile = new Map(pubFrames.map((f) => [f.id, f]));
854
854
  const r = await bakePublished({
855
855
  root,
package/dist/cli.mjs CHANGED
@@ -90,7 +90,7 @@ cli.command("init", "Scaffold design/ in this repo").option("--mode <mode>", "st
90
90
  });
91
91
  });
92
92
  for (const [name, desc] of [["dev", "Start the local canvas (everything on: hot reload, comments, Live Jam)"], ["canvas", "Start the local canvas - same as dev"]]) cli.command(name, desc).option("--root <dir>", "Host repo root", { default: "." }).option("--port <port>", "A port of its own (default: a free slot, localhost:4805-4824 - usually the same one next time; a port in that range takes exactly that slot)").option("--recover [n]", "Run on an address this canvas had before, where an unsent Jam capture waits: alone it lists them; with a number it starts on that one; --recover --port <p>: the port 0.26 used").action(async (opts) => {
93
- const { dev, DevStartError, DevLockError } = await import("./dev-BBZe_brH.mjs");
93
+ const { dev, DevStartError, DevLockError } = await import("./dev-CJf5upVK.mjs");
94
94
  let port;
95
95
  if (opts.port !== void 0) {
96
96
  const n = Number(opts.port);
@@ -102,7 +102,7 @@ for (const [name, desc] of [["dev", "Start the local canvas (everything on: hot
102
102
  process.exit(1);
103
103
  };
104
104
  try {
105
- if (opts.recover !== void 0 && opts.recover !== false) await (await import("./recover-ByuFQOF9.mjs")).recoverCommand(resolve$1(opts.root), opts.recover, port, { onFail });
105
+ if (opts.recover !== void 0 && opts.recover !== false) await (await import("./recover-BpRQxBA7.mjs")).recoverCommand(resolve$1(opts.root), opts.recover, port, { onFail });
106
106
  else await dev(resolve$1(opts.root), {
107
107
  port,
108
108
  onFail
@@ -118,7 +118,7 @@ cli.command("ls", "The canvases running on this Mac: slot, link, name, version,
118
118
  (await import("./ls-DGVIW-Io.mjs")).lsCommand({ json: opts.json === true });
119
119
  });
120
120
  cli.command("build", "Static export → design/.dist (what ships comes from design/publish.json - publishing is default-closed)").option("--boards <names>", "Publish only these boards (comma-separated); overrides the publish policy").option("--all-boards", "Publish every board - the loud override for the default-closed policy").option("--embed-seeds", "Copy comment history INTO the web root (identifying - every event carries its author's email)").option("--no-textures", "Skip compiling the glass textures the published frames rest under (needs Chrome; a CI without one skips on its own)").option("--root <dir>", "Host repo root", { default: "." }).action(async (opts) => {
121
- const { buildSite } = await import("./build-BNssmbqd.mjs");
121
+ const { buildSite } = await import("./build-4-k2XhhX.mjs");
122
122
  try {
123
123
  const boards = opts.boards === void 0 ? void 0 : typeof opts.boards === "string" ? opts.boards : "";
124
124
  await buildSite(resolve$1(opts.root), boards, opts.allBoards === true, opts.embedSeeds === true, opts.textures !== false && !process.env.MARVER_NO_TEXTURES);
@@ -137,7 +137,7 @@ cli.command("serve", "Serve design/.dist (set MARVER_PASSWORD to gate it)").opti
137
137
  serve(resolve$1(opts.root), port);
138
138
  });
139
139
  cli.command("comments <action> [value]", "Comment collaboration: connect <url> · sync · list · new <scene/frame> · reply <thread> · move <thread> · resolve <thread> | --all · invite <email> · revoke <email>. Nothing here edits or deletes a message: people do their own on the canvas, and Marver's have no Edit or Delete - correct a wrong note in its thread").option("--root <dir>", "Host repo root", { default: "." }).option("--token <token>", "connect: the canvas's MARVER_CLI_TOKEN (default $MARVER_CLI_TOKEN) - the identity-mode path").option("--invite <token>", "connect: claim this invite instead of signing in").option("--canvas-password <password>", "connect: the canvas gate password (default $MARVER_PASSWORD or prompt)").option("--email <email>", "connect: account email (skips the prompt)").option("--password <password>", "connect: account password (skips the prompt - mind your shell history)").option("--name <name>", "connect --invite: display name for the new account").option("--open", "list: only unresolved threads").option("--json", "list: machine-readable output").option("--board <board>", "list: scope to one board · new: the board to pin on (default: the one its link opens) · resolve --all: the threads on frames this board shows").option("--body <text>", "new / reply: the text").option("--on <text>", "new / move: pin on the element showing these words").option("--at <selector>", "new / move: pin on the element this data-testid or CSS selector names (an element without words, like an icon)").option("--nth <n>", "new / move: which of several matching elements (1 = the first)").option("--viewport <name>", "new / move: check the frame at this viewport (default: its own)").option("--theme <name>", "new / move: check the frame in this theme (default: light)").option("--thread <id>", "new: add the note to this open thread instead of pinning a new one").option("--fyi", "new: the note asks nothing (default: it asks - it comes first for the human)").option("--ask", "reply: the reply asks the human something").option("--addressed-in <frame>", "resolve: the variant frame that answered the feedback").option("--all", "resolve: every open thread in a scope - with --board, --folder, --scene or --canvas (ask the human first)").option("--folder <folder>", "resolve --all: the threads on every board in this folder, sub-folders included").option("--scene <scene>", "resolve --all: the threads on this scene's frames").option("--canvas", "resolve --all: every open thread on the canvas").option("--dry-run", "resolve --all: count what it would resolve, write nothing").option("--undo <op>", "resolve: undo a resolve --all by the op id it printed").action(async (action, value, opts) => {
140
- const { commentsCommand } = await import("./comments-BakJQwaf.mjs");
140
+ const { commentsCommand } = await import("./comments-C2SN1QdM.mjs");
141
141
  try {
142
142
  await commentsCommand(resolve$1(opts.root), action, value, opts);
143
143
  } catch (err) {
@@ -155,7 +155,7 @@ cli.command("share <action> [value]", "Sharing roster (owner): add <who> · remo
155
155
  }
156
156
  });
157
157
  cli.command("work <action> [...frames]", "Working state on the canvas: start <scene/frame ...> · done <scene/frame ...> | --all · list").option("--root <dir>", "Host repo root", { default: "." }).option("--ttl <minutes>", "start: minutes before the glow self-expires (default 10, max 30)").option("--all", "done: clear every working frame").action(async (action, frames, opts) => {
158
- const { workCommand } = await import("./work-DRdzXPvg.mjs");
158
+ const { workCommand } = await import("./work-CzIXp7n1.mjs");
159
159
  try {
160
160
  await workCommand(resolve$1(opts.root), action, frames ?? [], opts);
161
161
  } catch (err) {
@@ -178,7 +178,7 @@ cli.command("jam <action> [...args]", "Live Jam from your coding-agent session:
178
178
  }
179
179
  });
180
180
  cli.command("link [...targets]", "The canvas link that lands on frames (needs `dev` running): link <scene/frame | scene ...> - their board, in canvas mode, selected and fitted; a bare name is a scene, never a board (a whole board: its scenes with --board <board>). A marver:// link when the Mac app has this canvas open, else localhost").option("--root <dir>", "Host repo root", { default: "." }).option("--board <board>", "The board to open (default: the first board that shows them all, else one link per board)").option("--web", "The localhost link even when the Mac app has this canvas open").action(async (targets, opts) => {
181
- const { linkCommand } = await import("./link-Cmt9Xy4X.mjs");
181
+ const { linkCommand } = await import("./link-aZq5cExV.mjs");
182
182
  try {
183
183
  await linkCommand(resolve$1(opts.root), targets ?? [], opts);
184
184
  } catch (err) {
@@ -187,7 +187,7 @@ cli.command("link [...targets]", "The canvas link that lands on frames (needs `d
187
187
  }
188
188
  });
189
189
  cli.command("show [...targets]", "Show the human a place - only when they ask to be shown (needs `dev` running): show <scene/frame | scene ... | board> - a bare name is a frame or scene first, else a board, fitted whole; every open tab of this canvas goes there, selected and fitted (a tab holding unsent words shows a notice instead); then the link").option("--root <dir>", "Host repo root", { default: "." }).option("--board <board>", "The board to show them on (default: the first board that shows them all)").option("--thread <id>", "A comment thread to open there too: its id from `comments list`, with its frame or board still named (show <scene/frame> --thread <id>); it opens only on its own board, so pass --board when the frame sits on more than one").option("--web", "Print the localhost link even when the Mac app has this canvas open").action(async (targets, opts) => {
190
- const { showCommand } = await import("./show-B1u3DiJw.mjs");
190
+ const { showCommand } = await import("./show-DhmiUu01.mjs");
191
191
  try {
192
192
  await showCommand(resolve$1(opts.root), targets ?? [], opts);
193
193
  } catch (err) {
@@ -196,7 +196,7 @@ cli.command("show [...targets]", "Show the human a place - only when they ask to
196
196
  }
197
197
  });
198
198
  cli.command("boards [action] [...args]", "The sidebar as files: every folder and board in reading order, with types and statuses, and the frames on no board · new <name>: a board in its type's starting layout · pin <board> <scene/frame ...>: put frames on a board · place <board> <scene/frame> --after|--before <scene/frame>: put a frame next to another, making room").option("--root <dir>", "Host repo root", { default: "." }).option("--json", "The tree as JSON ({ tree, boards, landing, unplaced, registry })").option("--type <type>", "new: start | feature | surface | project | feedback | context | deck | archive (default: the folder's)").option("--folder <folder>", "new: the folder it sits in").option("--title <title>", "new: what humans see").option("--description <sentence>", "new: what agents read").option("--capability <slug>", "new: the capability it shows, when not its own name").option("--after <frame>", "place: right after this frame, in its row").option("--before <frame>", "place: right before this frame, in its row").option("--run <handle>", "place, pin: a Live Jam run's new frame - given to that run first (r-xxxxxxxx.N)").option("--as <conn>", "place --run, pin --run: the session connection to speak for (as `jam` does)").action(async (action, args, opts) => {
199
- const { boardsCommand, boardsNew, boardsPin, boardsPinRun, boardsPlace } = await import("./boards-OlAhZ87x.mjs");
199
+ const { boardsCommand, boardsNew, boardsPin, boardsPinRun, boardsPlace } = await import("./boards-jHmEPLV7.mjs");
200
200
  const [name, ...frames] = args ?? [];
201
201
  try {
202
202
  if (action === void 0) boardsCommand(resolve$1(opts.root), opts);
@@ -225,7 +225,7 @@ cli.command("boards [action] [...args]", "The sidebar as files: every folder and
225
225
  }
226
226
  });
227
227
  cli.command("folders <action> [...modules]", "The shared sidebar's typed folders · add <start|features|surfaces|projects|feedback|context|decks|archive ...>").option("--root <dir>", "Host repo root", { default: "." }).action(async (action, modules, opts) => {
228
- const { foldersAdd } = await import("./boards-OlAhZ87x.mjs");
228
+ const { foldersAdd } = await import("./boards-jHmEPLV7.mjs");
229
229
  try {
230
230
  if (action !== "add") throw new Error(`unknown action "${action}" - \`folders add <module ...>\``);
231
231
  const { added, existing } = foldersAdd(resolve$1(opts.root), modules);
@@ -281,7 +281,7 @@ cli.command("perf [action] [board]", "The reload log: what each edit reloaded, p
281
281
  console.error(`[${NAME}] unknown action "${action}" - the one action is run: ${NAME} perf run <board>`);
282
282
  process.exit(1);
283
283
  }
284
- const { perfCommand, perfRunCommand } = await import("./perf-CIMijND6.mjs");
284
+ const { perfCommand, perfRunCommand } = await import("./perf-9ZEF5KLO.mjs");
285
285
  const typed = (v) => typeof v === "number" ? process.argv.find((t) => !t.startsWith("-") && Number(t) === v) ?? String(v) : v === void 0 ? void 0 : String(v);
286
286
  if (action !== "run") return perfCommand(resolve$1(opts.root), {
287
287
  ...opts,
@@ -295,7 +295,7 @@ cli.command("perf [action] [board]", "The reload log: what each edit reloaded, p
295
295
  }
296
296
  });
297
297
  cli.command("shot [...frames]", "Render frames headless and print the PNG paths (needs `dev` running): ids, --scene <name> or --all").option("--root <dir>", "Host repo root", { default: "." }).option("--scene <name>", "Every frame of one scene").option("--all", "Every frame of the canvas").option("--theme <name>", "Theme to render (default: light)").option("--scale <n>", "Device pixels per CSS px, 1-4 (default: 2; 4 for print-quality stills)").option("--json", "Print the results as JSON ({ results: [...] }) instead of paths").action(async (frames, opts) => {
298
- const { shotCommand } = await import("./shot-D2TQGo2V.mjs");
298
+ const { shotCommand } = await import("./shot-BuUCG46-.mjs");
299
299
  try {
300
300
  await shotCommand(resolve$1(opts.root), frames, opts);
301
301
  } catch (err) {
@@ -304,7 +304,7 @@ cli.command("shot [...frames]", "Render frames headless and print the PNG paths
304
304
  }
305
305
  });
306
306
  cli.command("pdf [board]", "A board as a PDF (needs `dev` running): a slides board's deck one page per slide, any other board one page per frame - design/exports/<board>.pdf").option("--root <dir>", "Host repo root", { default: "." }).option("--theme <name>", "Theme to print (default: each page's theme on the board, else its frame's own, else light)").option("--notes", "A handout instead: each slide with its title and its notes (design/exports/<board>-notes.pdf)").option("--paper <size>", "The handout's paper, landscape: letter (default) or a4").option("--out <file>", "Where to write the PDF").option("--raster", "Every page a picture (3x) - no vector text").option("--vector", "Patch nothing: every page as Chrome prints it").option("--keep-going", "A slide that fails to render is left blank and named, instead of failing the export").option("--json", "Print the report as JSON, with the file's absolute path (file)").action(async (board, opts) => {
307
- const { pdfCommand } = await import("./pdf-0m721FFn.mjs");
307
+ const { pdfCommand } = await import("./pdf-HB0prF75.mjs");
308
308
  try {
309
309
  process.exit(await pdfCommand(resolve$1(opts.root), board, opts));
310
310
  } catch (err) {
@@ -12,7 +12,8 @@ import { createHash } from "node:crypto";
12
12
  * Resolve all comments, and its Undo (spec 31 B.1-B.5) - one core for the dev server's routes and the CLI.
13
13
  *
14
14
  * Scope is what you see, never a log: a board = the open threads on frames that board shows; a folder = the union
15
- * over its boards, sub-folders included; a scene = the threads on that scene's frames; the canvas = every open
15
+ * over its boards, sub-folders included; a scene = the threads on that scene's frames; a frame = its own threads (the
16
+ * sidebar's frame row, 0.33); the canvas = every open
16
17
  * thread. Each resolve is written to its thread's own log, so it is the same as resolving each by hand - Jam's
17
18
  * `asks`, `review` and `failed` items on it complete when the queue ingests it - except live work: a thread whose
18
19
  * Jam card is queued or working (or whose tag is written and not yet queued) is skipped and counted. The check and
@@ -27,19 +28,24 @@ import { createHash } from "node:crypto";
27
28
  */
28
29
  const OP_RE = /^[\w-]{8,64}$/;
29
30
  const SCENE_RE = /^[A-Za-z0-9_][\w.-]*$/;
31
+ /** A frame id: its path under design/scenes/, without the extension (`website-v2/7-urls`). Only its shape is checked
32
+ * here - any name the manifest scans (`demo/-draft`, `demo/café`) - since scopeFrames takes exactly the manifest's ids:
33
+ * slash-separated, no empty, `.` or `..` segment, no backslash or NUL. */
34
+ const isFrameId = (v) => typeof v === "string" && v.length > 0 && v.length <= 300 && !/[\\\0]/.test(v) && v.split("/").every((p) => p !== "" && p !== "." && p !== "..");
30
35
  /** Exactly one scope, every name on its grammar - else what is wrong. An empty or malformed one is refused,
31
36
  * never read as the whole canvas. */
32
37
  function parseScope(raw) {
33
- if (!raw || typeof raw !== "object" || Array.isArray(raw)) return "expected a scope: {board} | {folder} | {scene} | {canvas: true}";
34
- if (Object.keys(raw).length !== 1) return "name exactly one scope: board, folder, scene or canvas";
38
+ if (!raw || typeof raw !== "object" || Array.isArray(raw)) return "expected a scope: {board} | {folder} | {scene} | {frame} | {canvas: true}";
39
+ if (Object.keys(raw).length !== 1) return "name exactly one scope: board, folder, scene, frame or canvas";
35
40
  const o = raw;
36
41
  if ("board" in o) return isBoardName(o.board) ? { board: o.board } : "invalid board name";
37
42
  if ("folder" in o) return isBoardName(o.folder) ? { folder: o.folder } : "invalid folder name";
38
43
  if ("scene" in o) return typeof o.scene === "string" && o.scene.length <= 120 && (o.scene === "" || SCENE_RE.test(o.scene)) ? { scene: o.scene } : "invalid scene name";
44
+ if ("frame" in o) return isFrameId(o.frame) ? { frame: o.frame } : "invalid frame id";
39
45
  if ("canvas" in o) return o.canvas === true ? { canvas: true } : "canvas scope is {canvas: true}";
40
- return "unknown scope - board, folder, scene or canvas";
46
+ return "unknown scope - board, folder, scene, frame or canvas";
41
47
  }
42
- const scopeLabel = (s) => "board" in s ? `board ${s.board}` : "folder" in s ? `folder ${s.folder}` : "scene" in s ? s.scene ? `scene ${s.scene}` : "the root scene" : "the canvas";
48
+ const scopeLabel = (s) => "board" in s ? `board ${s.board}` : "folder" in s ? `folder ${s.folder}` : "scene" in s ? s.scene ? `scene ${s.scene}` : "the root scene" : "frame" in s ? `frame ${s.frame}` : "the canvas";
43
49
  /** The frames a scope covers (null = the whole canvas), or why it names nothing. */
44
50
  function scopeFrames(root, scope) {
45
51
  if ("canvas" in scope) return { frames: null };
@@ -49,6 +55,7 @@ function scopeFrames(root, scope) {
49
55
  const ids = manifest.filter((f) => f.scene === scope.scene).map((f) => f.id);
50
56
  return ids.length ? { frames: new Set(ids) } : { error: scope.scene ? `no scene "${scope.scene}"` : "no frames in the root scene" };
51
57
  }
58
+ if ("frame" in scope) return live.includes(scope.frame) ? { frames: /* @__PURE__ */ new Set([scope.frame]) } : { error: `no frame "${scope.frame}"` };
52
59
  const dir = join(root, "design", "boards");
53
60
  const files = checkBoardsDir(root, dir) ? [] : listBoardFiles(dir).boards;
54
61
  const framesOf = (names) => new Set(names.flatMap((n) => framesOn(files.find((b) => b.name === n)?.json, live)));
@@ -1,5 +1,5 @@
1
1
  import { r as NAME } from "./cli.mjs";
2
- import { i as readDevInfo } from "./work-Nv-n2_Un.mjs";
2
+ import { a as readDevInfo } from "./work-B4tydWnf.mjs";
3
3
  import { a as replay } from "./events-Dieo1482.mjs";
4
4
  import { a as readLog, i as listBoards, t as appendEvents } from "./comments-0BSbb04K.mjs";
5
5
  import { a as syncOnce, i as loadCollab, n as connectClaim, r as connectToken, t as connect } from "./sync-BNWwh8OF.mjs";
@@ -136,7 +136,7 @@ async function commentsCommand(root, action, value, opts) {
136
136
  case "new": {
137
137
  if (opts.thread !== void 0) return addToThread(root, String(opts.thread), value, opts);
138
138
  if (!value || !opts.body) throw new Error("usage: comments new <scene/frame> --body \"...\" --on \"<words it shows>\" | --at \"<selector or data-testid>\" [--nth <n>] [--fyi] [--board <board>]");
139
- const { resolveLink, devOrigin, linkFor } = await import("./link-Cmt9Xy4X.mjs");
139
+ const { resolveLink, devOrigin, linkFor } = await import("./link-aZq5cExV.mjs");
140
140
  const r = resolveLink(root, [value], opts.board);
141
141
  if (r.exact.length !== 1) throw new Error(`"${value}" is a folder of frames - pin a note on one frame: comments new <scene/frame>`);
142
142
  if (!r.board) throw new Error(`a note needs a board to live on - ${r.hints.join("\n")}`);
@@ -237,7 +237,7 @@ async function commentsCommand(root, action, value, opts) {
237
237
  * an agent alone: the guide says to ask, with the counts \`--dry-run\` prints. */
238
238
  const resolveAllCli = async (root, value, opts) => {
239
239
  if (value) throw new Error(`resolve --all takes no thread id - name a scope: --board, --folder, --scene or --canvas`);
240
- const ca = await import("./comment-actions-Bxf9Ld4g.mjs");
240
+ const ca = await import("./comment-actions-BCBcd-Wq.mjs");
241
241
  const named = [
242
242
  opts.board !== void 0 && { board: String(opts.board) },
243
243
  opts.folder !== void 0 && { folder: String(opts.folder) },
@@ -294,7 +294,7 @@ const viaDev = async (root, action, body) => {
294
294
  throw new Error(`\`${NAME} dev\` is running but did not answer (${last}) - run it again (what it already did stays done)`);
295
295
  };
296
296
  const resolveUndo = async (root, op) => {
297
- const ca = await import("./comment-actions-Bxf9Ld4g.mjs");
297
+ const ca = await import("./comment-actions-BCBcd-Wq.mjs");
298
298
  const u = readDevInfo(root) ? await viaDev(root, "undo", { op }) : ca.undoResolveAll(root, op);
299
299
  if ("error" in u) throw new Error(u.error);
300
300
  console.log(` ${ca.undoSummary(u)}`);
@@ -1,5 +1,5 @@
1
1
  import { l as toFrameId } from "./manifest-CK8Qh4Nq.mjs";
2
- import { a as workActivity } from "./work-Nv-n2_Un.mjs";
2
+ import { o as workActivity } from "./work-B4tydWnf.mjs";
3
3
  import { a as replay } from "./events-Dieo1482.mjs";
4
4
  import { a as readLog, t as appendEvents } from "./comments-0BSbb04K.mjs";
5
5
  import { n as localProfile } from "./profile-cdmSer1k.mjs";
@@ -12,8 +12,8 @@ import { i as record, t as has } from "./ledger-D54iROST.mjs";
12
12
  import { C as refusedAsk, S as parseMembers, T as sharedWhy, _ as wordsUntil, a as checkRecord, b as packetPath, c as firstPoint, d as packetPictures, f as picturePath, g as wordsSince, h as storeCapture, m as requestWords, n as captureFrames, o as continues, p as readCapture, r as captureWords, t as CAPTURE_ID, u as madeOf, v as buildPacket, w as sanitize, x as parseAgentText, y as goalText } from "./capture-HaS-1or8.mjs";
13
13
  import { a as recordFile, c as storeWrapup, i as readWrapup, l as wrapupWithoutDeleted, n as buildWrapup, o as recordPathProblem, r as moreOf, t as SESSION_ID } from "./session-DBF-nQvq.mjs";
14
14
  import { act, addCapture, addWrapup, answeredSince, beginStep, captureComment, captureIntact, conflictStep, createQueue, ctxFor, deletedEvents, dropDeleted, endSession, endStep, fail, failCard, form, joinAlone, liveThreads, looksGood, moreWrapup, ownerOnly, payloadKey, pending, prune, r as releaseLock, redelivering, requeue, runsAlone, sameComment, settle, startSession, stillOwned, t as acquireLock, textOf, tombstonesOf, undelivered, withdrawnCaptures, wrapupIntact, wrapupOf } from "./queue-BLLfdlDw.mjs";
15
- import { d as logJam } from "./perf-BB0XNt1M.mjs";
16
- import { i as jamLive } from "./plugin-CL8_wL7a.mjs";
15
+ import { d as logJam } from "./perf-BA_NDarr.mjs";
16
+ import { i as jamLive } from "./plugin-Cm74UDfp.mjs";
17
17
  import { t as PROTECTED_GLOBS } from "./permit-DDa6wqOs.mjs";
18
18
  import { jamReservations, restoreHolds } from "./reserve-BURNQ2Y3.mjs";
19
19
  import { recordOwn } from "./own-C8Mq0Hnf.mjs";
@@ -1102,7 +1102,9 @@ const STALL_MS = 9e5;
1102
1102
  * MARVER_SLOT_BASE set (test-build.ts; as perf-run.ts's MV_PERF_RUN_T): a real stall in seconds, so a browser case
1103
1103
  * drives one through this daemon and the page's own actions. */
1104
1104
  const stallMs = () => {
1105
- return STALL_MS;
1105
+ if (!process.env.MARVER_SLOT_BASE) return STALL_MS;
1106
+ const v = Number(process.env.MV_JAM_STALL_MS);
1107
+ return Number.isFinite(v) && v > 0 ? v : STALL_MS;
1106
1108
  };
1107
1109
  /** How long a request's answer is kept for the same request sent again. */
1108
1110
  const RECEIPT_MS = 6e5;
@@ -1686,6 +1688,7 @@ function createRuns(d) {
1686
1688
  at: Date.now(),
1687
1689
  progress: Date.now()
1688
1690
  };
1691
+ b.runAt = b.claim.at;
1689
1692
  const handle = handleOf(b, gen);
1690
1693
  const o = {
1691
1694
  ok: true,
@@ -2274,6 +2277,13 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
2274
2277
  const activeChildren = /* @__PURE__ */ new Set();
2275
2278
  const running = /* @__PURE__ */ new Map();
2276
2279
  const runningBatches = /* @__PURE__ */ new Map();
2280
+ /** spec 32 F2: background runs whose runner is set and that wait for a process slot (jam.concurrency): not at work yet */
2281
+ const slotWaiting = /* @__PURE__ */ new Set();
2282
+ /** spec 32 F2: batches set to run that have not begun yet - formed (their cards are `working` already), taking their
2283
+ * pictures before, recovered at boot, or choosing a runner. A session's claim begins one (`claim.at`); a background
2284
+ * one leaves for `slotWaiting` as its runner is set. Never at work meanwhile, and never read as an older batch with
2285
+ * no `runAt` (Codex's round-3 review: a new batch's preparation was counted, then its start jumped at execution) */
2286
+ const preparing = /* @__PURE__ */ new Set();
2277
2287
  /** every run that starts, counted: a run knows whether another began while it ran */
2278
2288
  let batchStarts = 0;
2279
2289
  const runAgent = (ad, opts, goal, onSpawn, onEarly) => new Promise((resolve) => {
@@ -3360,6 +3370,8 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3360
3370
  marver: marverCmd()
3361
3371
  } : void 0;
3362
3372
  await q.lock(() => {
3373
+ slotWaiting.add(b.batchId);
3374
+ preparing.delete(b.batchId);
3363
3375
  b.runner = {
3364
3376
  kind: ch.kind,
3365
3377
  agent,
@@ -3373,6 +3385,14 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3373
3385
  queueChanged();
3374
3386
  const permit = await takePermit();
3375
3387
  try {
3388
+ await q.lock(() => {
3389
+ slotWaiting.delete(b.batchId);
3390
+ if (!stopped) {
3391
+ b.runAt = Date.now();
3392
+ q.persist();
3393
+ }
3394
+ });
3395
+ queueChanged();
3376
3396
  while (!stopped && b.attempts < MAX_ATTEMPTS) {
3377
3397
  if (!await q.lock((j) => {
3378
3398
  b.attempts += 1;
@@ -3446,6 +3466,7 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3446
3466
  if (run.ok) break;
3447
3467
  }
3448
3468
  } finally {
3469
+ slotWaiting.delete(b.batchId);
3449
3470
  permit();
3450
3471
  }
3451
3472
  }
@@ -3855,7 +3876,10 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3855
3876
  });
3856
3877
  prune(j);
3857
3878
  if (moved() !== was) q.persist();
3858
- for (const b of batches) runningBatches.set(b.batchId, b);
3879
+ for (const b of batches) {
3880
+ runningBatches.set(b.batchId, b);
3881
+ preparing.add(b.batchId);
3882
+ }
3859
3883
  const now = performance.now();
3860
3884
  for (const b of batches) batchWaits.set(b.batchId, new Map(b.members.flatMap((m) => {
3861
3885
  const t = queuedSince.get(m.card);
@@ -3945,6 +3969,7 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3945
3969
  };
3946
3970
  const launch = (b) => {
3947
3971
  runningBatches.set(b.batchId, b);
3972
+ if (!b.results) preparing.add(b.batchId);
3948
3973
  const p = (async () => {
3949
3974
  try {
3950
3975
  await runBatch(b);
@@ -3963,6 +3988,7 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
3963
3988
  }
3964
3989
  } finally {
3965
3990
  if (!delivering.has(b.batchId)) runningBatches.delete(b.batchId);
3991
+ preparing.delete(b.batchId);
3966
3992
  running.delete(b.batchId);
3967
3993
  reserve();
3968
3994
  try {
@@ -4093,7 +4119,10 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
4093
4119
  q.persist();
4094
4120
  return out;
4095
4121
  });
4096
- for (const { b } of leftover) runningBatches.set(b.batchId, b);
4122
+ for (const { b, results } of leftover) {
4123
+ runningBatches.set(b.batchId, b);
4124
+ if (!results) preparing.add(b.batchId);
4125
+ }
4097
4126
  reserve();
4098
4127
  for (const { b } of leftover.filter((x) => x.results)) {
4099
4128
  await q.lock((j) => {
@@ -4387,8 +4416,20 @@ function createJam(root, cfg, adapter, log = () => {}, hooks = {}) {
4387
4416
  ...c.exclusive ? { exclusive: true } : {},
4388
4417
  ...c.kind !== "comment" ? captureView(c) : {},
4389
4418
  ...c.state === "working" ? (() => {
4390
- const r = runs.runnerOf(j.batches.find((b) => b.batchId === c.batch));
4391
- return r ? { runner: r } : {};
4419
+ const b = j.batches.find((x) => x.batchId === c.batch);
4420
+ const slot = !!b && slotWaiting.has(b.batchId);
4421
+ const unstarted = slot || !!b && preparing.has(b.batchId) && !b.claim;
4422
+ const r0 = runs.runnerOf(b);
4423
+ const r = r0 && slot ? {
4424
+ ...r0,
4425
+ state: "waiting"
4426
+ } : r0;
4427
+ const startedAt = unstarted ? void 0 : b?.runAt ?? b?.claim?.at;
4428
+ return {
4429
+ ...r ? { runner: r } : {},
4430
+ ...typeof startedAt === "number" ? { startedAt } : {},
4431
+ ...unstarted ? { unstarted: true } : {}
4432
+ };
4392
4433
  })() : {}
4393
4434
  };
4394
4435
  }),
@@ -2,7 +2,7 @@ import { i as PKG, r as NAME } from "./cli.mjs";
2
2
  import { _ as runIdentity, a as notePrefer, c as ranDevBefore, f as startedWhere, i as marverHome, o as originOf, p as stopPrefer, s as place, t as forgetDevTraces } from "./slots-BOcfIqxy.mjs";
3
3
  import { t as detectHost } from "./detect-C0wpaePX.mjs";
4
4
  import { n as loadConfig } from "./config-B0YcFtqS.mjs";
5
- import { c as installedVersion, d as canvasIdentity, f as identityNudge, n as tailwind3Css, o as liveChanged, r as tailwind4Plugin, t as marverPlugin } from "./plugin-CL8_wL7a.mjs";
5
+ import { c as installedVersion, d as canvasIdentity, f as identityNudge, n as tailwind3Css, o as liveChanged, r as tailwind4Plugin, t as marverPlugin } from "./plugin-Cm74UDfp.mjs";
6
6
  import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, statSync, watch, writeSync } from "node:fs";
7
7
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
8
8
  import { fileURLToPath } from "node:url";
@@ -987,7 +987,7 @@ async function boot(root, opts, instance, t, ctx) {
987
987
  const port = claim.port;
988
988
  const origin = originOf(server.httpServer?.address()) ?? `http://localhost:${port}`;
989
989
  claim.ready(origin);
990
- const { workActivity, writeDevInfo, removeDevInfo, boardsShowing, onBoardsChanged, nextActivitySeq } = await import("./work-Nv-n2_Un.mjs").then((n) => n.o);
990
+ const { workActivity, writeDevInfo, removeDevInfo, boardsShowing, onBoardsChanged, nextActivitySeq } = await import("./work-B4tydWnf.mjs").then((n) => n.c);
991
991
  t.claim(() => removeDevInfo(root, instance));
992
992
  writeDevInfo(root, port, instance);
993
993
  await opts.at?.("published");
@@ -1021,7 +1021,7 @@ async function boot(root, opts, instance, t, ctx) {
1021
1021
  if (fromConfig !== void 0 && !placed.fellBackFrom) console.log(` this canvas keeps its own port (${fromConfig} in design/config.ts); remove it to use the slots\n`);
1022
1022
  setTimeout(async () => {
1023
1023
  try {
1024
- await (await import("./shot-BqwkdtKn.mjs").then((n) => n.u)).sweepGhosts((m) => console.log(` ${m}`));
1024
+ await (await import("./shot-HZtclbOT.mjs").then((n) => n.u)).sweepGhosts((m) => console.log(` ${m}`));
1025
1025
  } catch {}
1026
1026
  }, 0);
1027
1027
  try {
@@ -1108,8 +1108,8 @@ async function boot(root, opts, instance, t, ctx) {
1108
1108
  console.log(` comments: could not record who wrote what here - ${err.message}`);
1109
1109
  }
1110
1110
  if (config.jam) {
1111
- const { startJam } = await import("./daemon-MxoEQajX.mjs");
1112
- const { checkAnchor } = await import("./anchor-check-B92s9tVv.mjs");
1111
+ const { startJam } = await import("./daemon-CCDgagw2.mjs");
1112
+ const { checkAnchor } = await import("./anchor-check-KCe6WeRA.mjs");
1113
1113
  const jam = startJam(root, config.jam, (m) => console.log(m), (board) => {
1114
1114
  server.ws.send("sh:jam-comment", { board });
1115
1115
  liveChanged();
@@ -1126,13 +1126,13 @@ async function boot(root, opts, instance, t, ctx) {
1126
1126
  return () => {
1127
1127
  due ??= setTimeout(async () => {
1128
1128
  due = null;
1129
- const { jamLive } = await import("./plugin-CL8_wL7a.mjs").then((n) => n.a);
1129
+ const { jamLive } = await import("./plugin-Cm74UDfp.mjs").then((n) => n.a);
1130
1130
  server.ws.send("sh:jam-queue", jamLive.view?.() ?? { cards: [] });
1131
1131
  liveChanged();
1132
1132
  }, 60);
1133
1133
  };
1134
1134
  })(), async (frameId, theme, entry, size) => {
1135
- const { shootFrame } = await import("./shot-BqwkdtKn.mjs").then((n) => n.u);
1135
+ const { shootFrame } = await import("./shot-HZtclbOT.mjs").then((n) => n.u);
1136
1136
  const r = await shootFrame({
1137
1137
  root,
1138
1138
  viewports: config.viewports,
@@ -1153,7 +1153,7 @@ async function boot(root, opts, instance, t, ctx) {
1153
1153
  t.defer(() => jam.stop());
1154
1154
  if (config.jam.session !== false) try {
1155
1155
  const { ensureConnectors, connectorLine } = await import("./connectors-DekQvKt9.mjs");
1156
- const { jamLive } = await import("./plugin-CL8_wL7a.mjs").then((n) => n.a);
1156
+ const { jamLive } = await import("./plugin-Cm74UDfp.mjs").then((n) => n.a);
1157
1157
  const results = ensureConnectors(root);
1158
1158
  jamLive.connectors = results;
1159
1159
  const line = connectorLine(results);
@@ -1163,7 +1163,7 @@ async function boot(root, opts, instance, t, ctx) {
1163
1163
  }
1164
1164
  const { createSpeech, speechLive } = await import("./audio-DX4POHAj.mjs");
1165
1165
  const { appendTalk } = await import("./session-DBF-nQvq.mjs").then((n) => n.s);
1166
- const { logJam } = await import("./perf-BB0XNt1M.mjs").then((n) => n.f);
1166
+ const { logJam } = await import("./perf-BA_NDarr.mjs").then((n) => n.f);
1167
1167
  const speech = createSpeech({
1168
1168
  onTalk: (t) => appendTalk(root, t.session, t.words),
1169
1169
  onTiming: (t) => logJam(root, {
@@ -5,7 +5,7 @@ import { s as scanFrames } from "./manifest-CK8Qh4Nq.mjs";
5
5
  import { a as checkAppLive, i as buildDeepLink, l as targetFromHash, r as appTakesLink, t as APP_LIVE_FILE } from "./deep-link-DYtuT740.mjs";
6
6
  import { r as pidRuns } from "./exclusive-B1RtpeeP.mjs";
7
7
  import { i as marverHome } from "./slots-BOcfIqxy.mjs";
8
- import { i as readDevInfo } from "./work-Nv-n2_Un.mjs";
8
+ import { a as readDevInfo } from "./work-B4tydWnf.mjs";
9
9
  import { readFileSync, realpathSync } from "node:fs";
10
10
  import { join } from "node:path";
11
11
  //#region src/cli/link.ts
@@ -1,8 +1,8 @@
1
1
  import { a as ROUTE, o as slideSize } from "./cli.mjs";
2
2
  import { s as checkRealDirs } from "./boards-Cim1GTKc.mjs";
3
3
  import { n as BOARD_NAME } from "./board-tree-DGj0HhEE.mjs";
4
- import { s as onPdfReset } from "./plugin-CL8_wL7a.mjs";
5
- import { c as pool, f as staleSurface, p as Browser } from "./shot-BqwkdtKn.mjs";
4
+ import { s as onPdfReset } from "./plugin-Cm74UDfp.mjs";
5
+ import { c as pool, f as staleSurface, p as Browser } from "./shot-HZtclbOT.mjs";
6
6
  import { existsSync, lstatSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
7
7
  import { join, sep } from "node:path";
8
8
  import { randomBytes } from "node:crypto";
@@ -2187,7 +2187,7 @@ async function printHandout(b, ctx, job, slides) {
2187
2187
  flatten: true
2188
2188
  }, void 0, owner)).sessionId;
2189
2189
  const send = (m, p = {}) => b.send(m, p, sid, owner);
2190
- const { readDevInfo } = await import("./work-Nv-n2_Un.mjs").then((n) => n.o);
2190
+ const { readDevInfo } = await import("./work-B4tydWnf.mjs").then((n) => n.c);
2191
2191
  const token = readDevInfo(ctx.root)?.token;
2192
2192
  if (!token) throw new Error("marver dev has no session token (design/.local/dev.json) - restart it");
2193
2193
  await send("Network.enable");
@@ -1,5 +1,5 @@
1
1
  import { r as NAME } from "./cli.mjs";
2
- import { i as readDevInfo } from "./work-Nv-n2_Un.mjs";
2
+ import { a as readDevInfo } from "./work-B4tydWnf.mjs";
3
3
  import { mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
4
4
  import { dirname, isAbsolute, join, relative, resolve } from "node:path";
5
5
  import { randomBytes } from "node:crypto";
@@ -1,8 +1,8 @@
1
1
  import { l as listBoardFiles, o as checkBoardsDir, r as boardFields } from "./boards-Cim1GTKc.mjs";
2
2
  import { f as isBoardName, p as labelOf } from "./board-tree-DGj0HhEE.mjs";
3
3
  import { i as marverHome, v as workspaceId } from "./slots-BOcfIqxy.mjs";
4
- import { i as readDevInfo } from "./work-Nv-n2_Un.mjs";
5
- import { a as readPage, g as parseAppLine, h as APP_LOG, i as perfDir, m as appLogFiles, o as readReloads, p as readJam, s as readRuns } from "./perf-BB0XNt1M.mjs";
4
+ import { a as readDevInfo } from "./work-B4tydWnf.mjs";
5
+ import { a as readPage, g as parseAppLine, h as APP_LOG, i as perfDir, m as appLogFiles, o as readReloads, p as readJam, s as readRuns } from "./perf-BA_NDarr.mjs";
6
6
  import { closeSync, existsSync, fstatSync, openSync, readFileSync, readSync, readdirSync, realpathSync, statSync } from "node:fs";
7
7
  import { join } from "node:path";
8
8
  import { homedir } from "node:os";
@@ -187,6 +187,7 @@ const MODES = [
187
187
  "play",
188
188
  "slides",
189
189
  "hide-ui",
190
+ "immersive",
190
191
  "jam-session",
191
192
  "jam-capture",
192
193
  "jam-review",