@lemonriver/core 0.1.1 → 0.3.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 (161) hide show
  1. package/dist/{build-f-fM2ZY4.js → build-Bqo69DWP.js} +1 -1
  2. package/dist/cli/bin.js +4 -4
  3. package/dist/{config-DO45GU3e.js → config-DJ5rkMMg.js} +3123 -523
  4. package/dist/{config-B6JaKJM4.d.ts → config-teo3kWz7.d.ts} +6 -2
  5. package/dist/{dev-CqS2xpgE.js → dev-B2FJD5bJ.js} +2 -2
  6. package/dist/index.d.ts +3 -3
  7. package/dist/index.js +4 -3
  8. package/dist/locale/index.d.ts +5 -2
  9. package/dist/locale/index.js +2 -2
  10. package/dist/{preview-BihgMlEl.js → preview-C93BOZL1.js} +1 -1
  11. package/dist/{types-BjW4glip.d.ts → types-DFK02XVv.d.ts} +120 -27
  12. package/dist/{update-C_R0ycVC.js → update-DsxZBtwv.js} +154 -90
  13. package/dist/vite/index.d.ts +1 -1
  14. package/dist/vite/index.js +1 -1
  15. package/dist/{zh-tw-Ci0jK8eg.js → zh-tw-DwTAZKa6.js} +1091 -104
  16. package/package.json +13 -6
  17. package/skills/apply-comments/SKILL.md +10 -6
  18. package/skills/create-slide/SKILL.md +2 -0
  19. package/skills/current-slide/SKILL.md +1 -0
  20. package/skills/slide-authoring/SKILL.md +31 -1
  21. package/src/agent/prompt.ts +141 -0
  22. package/src/agent/provider.ts +123 -0
  23. package/src/agent/types.ts +151 -0
  24. package/src/app/app.tsx +7 -18
  25. package/src/app/assets/open-slide.svg +39 -0
  26. package/src/app/components/agent/agent-dock.tsx +35 -0
  27. package/src/app/components/agent/agent-markdown.tsx +45 -0
  28. package/src/app/components/agent/agent-panel.tsx +695 -0
  29. package/src/app/components/agent/agent-presence.tsx +74 -0
  30. package/src/app/components/agent/composer.tsx +120 -0
  31. package/src/app/components/agent/connect-view.tsx +184 -0
  32. package/src/app/components/agent/history-view.tsx +136 -0
  33. package/src/app/components/agent/provider-logo.tsx +34 -0
  34. package/src/app/components/agent/transcript.tsx +620 -0
  35. package/src/app/components/asset-view.tsx +6 -6
  36. package/src/app/components/command/command-menu.tsx +2 -1
  37. package/src/app/components/command/slide-command-menu.tsx +10 -0
  38. package/src/app/components/icon-switcher-indicator.tsx +1 -1
  39. package/src/app/components/inspector/asset-picker-dialog.tsx +7 -5
  40. package/src/app/components/inspector/comment-layer.tsx +1012 -0
  41. package/src/app/components/inspector/image-crop-dialog.tsx +1 -5
  42. package/src/app/components/inspector/inspect-overlay.tsx +2 -39
  43. package/src/app/components/inspector/inspector-panel.tsx +12 -95
  44. package/src/app/components/inspector/inspector-provider.tsx +121 -47
  45. package/src/app/components/panel/editor-sidebar.tsx +85 -16
  46. package/src/app/components/panel/panel-shell.tsx +2 -2
  47. package/src/app/components/panel/resize-handle.tsx +129 -0
  48. package/src/app/components/player.tsx +0 -1
  49. package/src/app/components/preview-step-host.tsx +16 -0
  50. package/src/app/components/sidebar/sidebar-footer.tsx +1 -1
  51. package/src/app/components/sidebar/sidebar.tsx +4 -3
  52. package/src/app/components/style-panel/style-panel.tsx +3 -2
  53. package/src/app/components/themes/theme-detail.tsx +4 -2
  54. package/src/app/components/thumbnail-rail.tsx +77 -29
  55. package/src/app/favicon.ico +0 -0
  56. package/src/app/favicon.svg +39 -0
  57. package/src/app/index.html +2 -1
  58. package/src/app/lemonriver/agent/lemon.tsx +64 -0
  59. package/src/app/{components → lemonriver}/board/board-canvas.tsx +154 -23
  60. package/src/app/{routes/board.tsx → lemonriver/board/board-page.tsx} +63 -25
  61. package/src/app/{components → lemonriver}/board/board.css +51 -0
  62. package/src/app/{components → lemonriver}/board/layout.test.ts +53 -1
  63. package/src/app/{components → lemonriver}/board/layout.ts +51 -3
  64. package/src/app/lemonriver/board/model/cards.test.ts +239 -0
  65. package/src/app/lemonriver/board/model/cards.ts +234 -0
  66. package/src/app/lemonriver/board/model/structure.test.ts +101 -0
  67. package/src/app/lemonriver/board/model/structure.ts +82 -0
  68. package/src/app/lemonriver/board/page-node.tsx +481 -0
  69. package/src/app/lemonriver/board/use-board-cards.ts +210 -0
  70. package/src/app/{components → lemonriver}/board/use-board-columns.ts +7 -7
  71. package/src/app/{components → lemonriver}/board/use-page-order.ts +27 -15
  72. package/src/app/lemonriver/brand/app-icon.svg +44 -0
  73. package/src/app/lemonriver/brand/apple-touch-icon.png +0 -0
  74. package/src/app/lemonriver/brand/favicon-32.png +0 -0
  75. package/src/app/lemonriver/brand/mascot.tsx +59 -0
  76. package/src/app/lemonriver/brand/mascots/lemon-done.png +0 -0
  77. package/src/app/lemonriver/brand/mascots/lemon-idle.png +0 -0
  78. package/src/app/lemonriver/brand/mascots/lemon-needs-you.png +0 -0
  79. package/src/app/lemonriver/brand/mascots/lemon-thinking.png +0 -0
  80. package/src/app/lemonriver/brand/mascots/lemon-working.png +0 -0
  81. package/src/app/lemonriver/chrome/app-chrome.tsx +99 -0
  82. package/src/app/lemonriver/chrome/nav-row.tsx +34 -0
  83. package/src/app/lemonriver/chrome/not-found.tsx +34 -0
  84. package/src/app/lemonriver/chrome/sidebar-extras.tsx +57 -0
  85. package/src/app/lemonriver/chrome/use-slot.ts +23 -0
  86. package/src/app/lemonriver/features.test.ts +29 -0
  87. package/src/app/lemonriver/features.ts +26 -0
  88. package/src/app/lemonriver/feedback/export.ts +7 -0
  89. package/src/app/lemonriver/feedback/lemon-empty.tsx +54 -0
  90. package/src/app/lemonriver/feedback/offline-banner.tsx +41 -0
  91. package/src/app/lemonriver/feedback/pending-toast.test.ts +44 -0
  92. package/src/app/lemonriver/feedback/pending-toast.ts +39 -0
  93. package/src/app/lemonriver/feedback/toaster.tsx +34 -0
  94. package/src/app/lemonriver/feedback/upload.test.ts +26 -0
  95. package/src/app/lemonriver/feedback/upload.ts +19 -0
  96. package/src/app/lemonriver/home/brief-card.tsx +63 -0
  97. package/src/app/lemonriver/home/brief.test.ts +38 -0
  98. package/src/app/lemonriver/home/brief.ts +34 -0
  99. package/src/app/lemonriver/home/controls.tsx +93 -0
  100. package/src/app/lemonriver/home/deck-card.tsx +183 -0
  101. package/src/app/lemonriver/home/dialogs.tsx +292 -0
  102. package/src/app/lemonriver/home/home-page.tsx +335 -0
  103. package/src/app/lemonriver/home/sorting.test.ts +24 -0
  104. package/src/app/lemonriver/home/sorting.ts +59 -0
  105. package/src/app/lemonriver/home/time.test.ts +33 -0
  106. package/src/app/lemonriver/home/time.ts +33 -0
  107. package/src/app/lemonriver/home/use-deck-times.ts +27 -0
  108. package/src/app/lemonriver/home/use-delayed.ts +15 -0
  109. package/src/app/lemonriver/routes.test.tsx +37 -0
  110. package/src/app/lemonriver/routes.tsx +38 -0
  111. package/src/app/lemonriver/settings/settings-page.tsx +103 -0
  112. package/src/app/lemonriver/slide-extensions.tsx +73 -0
  113. package/src/app/lemonriver/text/all.ts +19 -0
  114. package/src/app/lemonriver/text/en.ts +106 -0
  115. package/src/app/lemonriver/text/es.ts +108 -0
  116. package/src/app/lemonriver/text/index.ts +9 -0
  117. package/src/app/lemonriver/text/ja.ts +106 -0
  118. package/src/app/lemonriver/text/text.test.ts +57 -0
  119. package/src/app/lemonriver/text/types.ts +111 -0
  120. package/src/app/lemonriver/text/zh-cn.ts +101 -0
  121. package/src/app/lemonriver/text/zh-tw.ts +101 -0
  122. package/src/app/lemonriver/theme/app.css +288 -0
  123. package/src/app/lemonriver/theme/controls.css +463 -0
  124. package/src/app/lemonriver/theme/index.css +3 -0
  125. package/src/app/lemonriver/theme/motion.ts +52 -0
  126. package/src/app/lemonriver/theme/pages.test.ts +66 -0
  127. package/src/app/lemonriver/theme/pages.ts +56 -0
  128. package/src/app/lemonriver/theme/theme-menu.tsx +64 -0
  129. package/src/app/lemonriver/theme/themes.test.ts +18 -0
  130. package/src/app/lemonriver/theme/themes.ts +16 -0
  131. package/src/app/lemonriver/theme/tokens.css +226 -0
  132. package/src/app/lemonriver/theme/use-theme.tsx +49 -0
  133. package/src/app/lemonriver/trash/api.test.ts +19 -0
  134. package/src/app/lemonriver/trash/api.ts +77 -0
  135. package/src/app/lemonriver/trash/trash-page.tsx +131 -0
  136. package/src/app/lib/agent/use-agent.ts +543 -0
  137. package/src/app/lib/inspector/freeze-motion.ts +61 -0
  138. package/src/app/lib/inspector/use-comments.ts +32 -3
  139. package/src/app/lib/locale-store.ts +6 -1
  140. package/src/app/lib/pptx/raster.ts +1 -1
  141. package/src/app/lib/print-ready.ts +9 -6
  142. package/src/app/lib/use-auto-grow.ts +15 -0
  143. package/src/app/lib/utils.ts +4 -0
  144. package/src/app/main.tsx +8 -1
  145. package/src/app/routes/home-shell.tsx +4 -2
  146. package/src/app/routes/home.tsx +43 -7
  147. package/src/app/routes/presenter.tsx +1 -16
  148. package/src/app/routes/preview.tsx +169 -0
  149. package/src/app/routes/slide.tsx +232 -188
  150. package/src/app/styles.css +235 -80
  151. package/src/editing/placeholder-id.ts +1 -0
  152. package/src/locale/en.ts +113 -26
  153. package/src/locale/es.ts +658 -0
  154. package/src/locale/index.ts +1 -0
  155. package/src/locale/ja.ts +106 -26
  156. package/src/locale/types.ts +119 -28
  157. package/src/locale/zh-cn.ts +106 -28
  158. package/src/locale/zh-tw.ts +106 -28
  159. package/src/app/assets/open-slide.png +0 -0
  160. package/src/app/components/board/page-node.tsx +0 -204
  161. package/src/app/components/inspector/comment-widget.tsx +0 -119
@@ -2,6 +2,7 @@
2
2
  @import "tw-animate-css";
3
3
  @import "shadcn/tailwind.css";
4
4
  @import "@fontsource-variable/geist";
5
+ @import "./lemonriver/theme/index.css";
5
6
 
6
7
  @custom-variant dark (&:is(.dark *));
7
8
 
@@ -222,109 +223,93 @@
222
223
  }
223
224
 
224
225
  /*
225
- * Comment input cue — kept from the original design but retoned to match
226
- * the new palette (warm vermillion + amber instead of the AI-classic
227
- * blue/violet halo). Plays once on first open, then settles.
226
+ * Indeterminate "line loader" — a hairline track with a short bar that
227
+ * glides back and forth. Used for full-screen loading states in place of
228
+ * a spinner; quieter, more typographic, easier on the eye.
228
229
  */
229
- @property --comment-cue-angle {
230
- syntax: "<angle>";
231
- initial-value: 0deg;
232
- inherits: false;
230
+ /* Comment-mode hint pill: the shell materializes once, then every text
231
+ swap blurs the old copy out while the new one blurs in. */
232
+ @keyframes island-enter {
233
+ from {
234
+ opacity: 0;
235
+ filter: blur(6px);
236
+ transform: translateY(6px) scale(0.9);
237
+ }
233
238
  }
234
239
 
235
- .comment-cue {
236
- position: relative;
237
- isolation: isolate;
240
+ @keyframes island-arrive {
241
+ from {
242
+ opacity: 0;
243
+ filter: blur(6px);
244
+ transform: scale(0.94);
245
+ }
238
246
  }
239
247
 
240
- .comment-cue::before {
241
- content: "";
242
- position: absolute;
243
- inset: -1px;
244
- border-radius: calc(var(--radius-md) + 1px);
245
- padding: 1.25px;
246
- background: conic-gradient(
247
- from var(--comment-cue-angle),
248
- transparent 0deg,
249
- transparent 250deg,
250
- oklch(0.78 0.14 60 / 0.55) 295deg,
251
- oklch(0.62 0.2 28 / 0.85) 325deg,
252
- oklch(0.78 0.14 60 / 0.55) 350deg,
253
- transparent 360deg
254
- );
255
- -webkit-mask:
256
- linear-gradient(#000 0 0) content-box,
257
- linear-gradient(#000 0 0);
258
- -webkit-mask-composite: xor;
259
- mask:
260
- linear-gradient(#000 0 0) content-box,
261
- linear-gradient(#000 0 0);
262
- mask-composite: exclude;
263
- pointer-events: none;
264
- opacity: 0;
265
- z-index: 1;
266
- animation: comment-cue-trace 1500ms cubic-bezier(0.22, 0.61, 0.36, 1) 220ms 1 both;
248
+ @keyframes island-leave {
249
+ to {
250
+ opacity: 0;
251
+ filter: blur(6px);
252
+ transform: scale(0.94);
253
+ }
267
254
  }
268
255
 
269
- .comment-cue::after {
270
- content: "";
271
- position: absolute;
272
- inset: -10px;
273
- border-radius: calc(var(--radius-md) + 10px);
274
- background:
275
- radial-gradient(80% 60% at 30% 50%, oklch(0.62 0.2 28 / 0.18), transparent 70%),
276
- radial-gradient(70% 60% at 75% 60%, oklch(0.78 0.14 60 / 0.16), transparent 70%);
277
- filter: blur(14px);
278
- opacity: 0;
279
- z-index: -1;
256
+ .island-enter {
257
+ animation: island-enter 420ms cubic-bezier(0.32, 0.72, 0, 1) both;
258
+ }
259
+
260
+ .island-arrive {
261
+ animation: island-arrive 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
262
+ }
263
+
264
+ .island-leave {
280
265
  pointer-events: none;
281
- animation: comment-cue-halo 1700ms ease-out 180ms 1 both;
266
+ animation: island-leave 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
282
267
  }
283
268
 
284
- @keyframes comment-cue-trace {
285
- 0% {
286
- --comment-cue-angle: 0deg;
287
- opacity: 0;
288
- }
289
- 18% {
290
- opacity: 1;
291
- }
292
- 82% {
293
- opacity: 1;
294
- }
295
- 100% {
296
- --comment-cue-angle: 360deg;
269
+ /* Counter digits roll in the direction of the change (--roll: 1 up, -1 down). */
270
+ @keyframes roll-arrive {
271
+ from {
297
272
  opacity: 0;
273
+ transform: translateY(calc(var(--roll, 1) * 100%));
298
274
  }
299
275
  }
300
276
 
301
- @keyframes comment-cue-halo {
302
- 0% {
303
- opacity: 0;
304
- transform: scale(0.97);
305
- }
306
- 40% {
307
- opacity: 1;
308
- transform: scale(1);
309
- }
310
- 100% {
277
+ @keyframes roll-leave {
278
+ to {
311
279
  opacity: 0;
312
- transform: scale(1.015);
280
+ transform: translateY(calc(var(--roll, 1) * -100%));
313
281
  }
314
282
  }
315
283
 
284
+ .roll-arrive {
285
+ animation: roll-arrive 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
286
+ }
287
+
288
+ .roll-leave {
289
+ pointer-events: none;
290
+ animation: roll-leave 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
291
+ }
292
+
316
293
  @media (prefers-reduced-motion: reduce) {
317
- .comment-cue::before,
318
- .comment-cue::after {
294
+ .island-enter,
295
+ .island-arrive {
296
+ animation: island-arrive 160ms ease-out both;
297
+ filter: none;
298
+ transform: none;
299
+ }
300
+
301
+ .island-leave,
302
+ .roll-leave {
319
303
  animation: none;
304
+ opacity: 0;
305
+ }
306
+
307
+ .roll-arrive {
308
+ animation: island-arrive 160ms ease-out both;
309
+ transform: none;
320
310
  }
321
311
  }
322
312
 
323
- /*
324
- * Indeterminate "line loader" — a hairline track with a short bar that
325
- * glides back and forth. Used for full-screen loading states in place of
326
- * a spinner; quieter, more typographic, easier on the eye.
327
- */
328
313
  @keyframes osd-line-loader {
329
314
  0% {
330
315
  transform: translateX(0%);
@@ -399,3 +384,173 @@
399
384
  background-clip: content-box;
400
385
  }
401
386
  }
387
+
388
+ /* Agent presence: ring, write sweep and shimmer shown while an agent edits a deck. */
389
+ @property --agent-angle {
390
+ syntax: "<angle>";
391
+ inherits: false;
392
+ initial-value: 0deg;
393
+ }
394
+
395
+ [data-agent-provider] {
396
+ --agent-a: oklch(0.68 0.14 42);
397
+ --agent-b: oklch(0.82 0.12 75);
398
+ }
399
+
400
+ [data-agent-provider="codex"] {
401
+ --agent-a: oklch(0.64 0.13 170);
402
+ --agent-b: oklch(0.7 0.14 240);
403
+ }
404
+
405
+ @keyframes agent-spin {
406
+ to {
407
+ --agent-angle: 360deg;
408
+ }
409
+ }
410
+
411
+ @keyframes agent-fade-in {
412
+ from {
413
+ opacity: 0;
414
+ }
415
+ }
416
+
417
+ .agent-ring {
418
+ pointer-events: none;
419
+ position: absolute;
420
+ inset: 0;
421
+ border-radius: inherit;
422
+ padding: 1.5px;
423
+ background: conic-gradient(
424
+ from var(--agent-angle),
425
+ transparent 0deg,
426
+ var(--agent-a) 70deg,
427
+ var(--agent-b) 140deg,
428
+ transparent 210deg,
429
+ transparent 360deg
430
+ );
431
+ mask:
432
+ linear-gradient(#000 0 0) content-box exclude,
433
+ linear-gradient(#000 0 0);
434
+ animation:
435
+ agent-spin 3.6s linear infinite,
436
+ agent-fade-in 400ms var(--ease-swift) both;
437
+ }
438
+
439
+ .agent-glow {
440
+ pointer-events: none;
441
+ position: absolute;
442
+ inset: 0;
443
+ border-radius: inherit;
444
+ box-shadow:
445
+ inset 0 0 0 1px color-mix(in oklch, var(--agent-a) 35%, transparent),
446
+ inset 0 0 48px -12px color-mix(in oklch, var(--agent-a) 45%, transparent);
447
+ animation: agent-fade-in 400ms var(--ease-swift) both;
448
+ }
449
+
450
+ @keyframes agent-sweep {
451
+ from {
452
+ background-position: 120% 0;
453
+ opacity: 1;
454
+ }
455
+ to {
456
+ background-position: -20% 0;
457
+ opacity: 0;
458
+ }
459
+ }
460
+
461
+ .agent-sweep {
462
+ pointer-events: none;
463
+ position: absolute;
464
+ inset: 0;
465
+ border-radius: inherit;
466
+ background: linear-gradient(
467
+ 105deg,
468
+ transparent 35%,
469
+ color-mix(in oklch, var(--agent-b) 22%, transparent) 50%,
470
+ transparent 65%
471
+ );
472
+ background-size: 250% 100%;
473
+ animation: agent-sweep 900ms var(--ease-swift) both;
474
+ }
475
+
476
+ @keyframes agent-shimmer {
477
+ from {
478
+ background-position: 100% 0;
479
+ }
480
+ to {
481
+ background-position: 0% 0;
482
+ }
483
+ }
484
+
485
+ .agent-shimmer {
486
+ background: linear-gradient(
487
+ 90deg,
488
+ var(--muted-foreground) 35%,
489
+ var(--foreground) 50%,
490
+ var(--muted-foreground) 65%
491
+ );
492
+ background-size: 300% 100%;
493
+ background-clip: text;
494
+ color: transparent;
495
+ animation: agent-shimmer 1.8s linear infinite;
496
+ }
497
+
498
+ @keyframes agent-progress {
499
+ from {
500
+ transform: translateX(-100%);
501
+ }
502
+ to {
503
+ transform: translateX(250%);
504
+ }
505
+ }
506
+
507
+ .agent-progress {
508
+ pointer-events: none;
509
+ position: absolute;
510
+ inset-inline: 0;
511
+ top: 0;
512
+ height: 1.5px;
513
+ overflow: hidden;
514
+ }
515
+
516
+ .agent-progress::after {
517
+ content: "";
518
+ position: absolute;
519
+ inset-block: 0;
520
+ width: 40%;
521
+ background: linear-gradient(90deg, transparent, var(--agent-a), var(--agent-b), transparent);
522
+ animation: agent-progress 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
523
+ }
524
+
525
+ @media (prefers-reduced-motion: reduce) {
526
+ .agent-ring {
527
+ animation: agent-fade-in 160ms ease-out both;
528
+ --agent-angle: 120deg;
529
+ }
530
+
531
+ .agent-sweep {
532
+ display: none;
533
+ }
534
+
535
+ .agent-shimmer {
536
+ animation: none;
537
+ color: var(--foreground);
538
+ background: none;
539
+ }
540
+
541
+ .agent-progress::after {
542
+ animation: none;
543
+ width: 100%;
544
+ opacity: 0.6;
545
+ }
546
+ }
547
+
548
+ .sidebar-swap {
549
+ animation: agent-fade-in 160ms var(--ease-swift, ease-out);
550
+ }
551
+
552
+ @media (prefers-reduced-motion: reduce) {
553
+ .sidebar-swap {
554
+ animation: none;
555
+ }
556
+ }
@@ -0,0 +1 @@
1
+ export const UNTITLED_SLIDE_ID_RE = /^untitled(-\d+)?$/;
package/src/locale/en.ts CHANGED
@@ -96,6 +96,7 @@ export const en: Locale = {
96
96
  },
97
97
 
98
98
  slide: {
99
+ resizeSidePanel: 'Resize side panel',
99
100
  home: 'Home',
100
101
  backToHome: 'Back to home',
101
102
  agentConnected: 'Agent connected',
@@ -287,10 +288,9 @@ export const en: Locale = {
287
288
  cropFitCover: 'Fill',
288
289
  cropFitContain: 'Fit',
289
290
  cropApply: 'Apply',
290
- leaveComment: 'Comment',
291
+ commentMode: 'Comment',
291
292
  commentPlaceholder: 'Describe a change for the agent…',
292
- commentShortcutHint: '⌘/ to focus · ⌘↵ to add',
293
- addComment: 'Add comment',
293
+ commentPost: 'Post',
294
294
  unsavedChanges: {
295
295
  one: '{count} unsaved change',
296
296
  other: '{count} unsaved changes',
@@ -300,10 +300,14 @@ export const en: Locale = {
300
300
  other: '{count} comments',
301
301
  },
302
302
  commentLineLabel: 'line {n}',
303
- commentsEmpty: 'No comments yet. Select an object and open Comment in the Format panel.',
303
+ commentRegionLabel: 'region',
304
+ commentEmptyHint: 'Click an element or drag across a region to leave a comment.',
304
305
  commentsApplyHintPrefix: 'Run ',
305
306
  commentsApplyHintSuffix: ' in your agent to apply these.',
306
307
  commentDeleteAria: 'Delete',
308
+ commentUpdateFailed: "Couldn't update comment:",
309
+ commentAddFailed: "Couldn't add comment:",
310
+ commentRegionNoTarget: "Couldn't find an element to attach this region to.",
307
311
  saveFailed: "Couldn't save:",
308
312
  decreaseFontSize: 'Decrease font size',
309
313
  increaseFontSize: 'Increase font size',
@@ -450,28 +454,6 @@ export const en: Locale = {
450
454
  scrollDownToCurrentPage: 'Scroll down to current page {n}',
451
455
  },
452
456
 
453
- board: {
454
- title: 'Story board',
455
- openBoard: 'Story board (B)',
456
- backToDeck: 'Back to deck',
457
- hint: 'Drag a card to reorder · Double-click to edit the page',
458
- loading: 'Loading deck…',
459
- columnFallback: 'Part {n}',
460
- moveToEnd: 'Move to end',
461
- reorderFailed: 'Could not reorder pages',
462
- zoomIn: 'Zoom in',
463
- zoomOut: 'Zoom out',
464
- fitView: 'Fit to view',
465
- saveFailed: 'Could not save the board layout',
466
- renameColumn: 'Rename this column',
467
- columnTitlePlaceholder: 'Column name',
468
- addPage: 'Add a page to this column (copies the last one)',
469
- notesPlaceholder: 'Speaker notes…',
470
- /** template: "Added a blank page at {n}" */
471
- toastInserted: 'Added a blank page at {n}',
472
- insertFailed: 'Could not add a page',
473
- },
474
-
475
457
  pdfToast: {
476
458
  title: 'Exporting PDF',
477
459
  processing: 'Processing page {current} of {total}',
@@ -559,4 +541,109 @@ export const en: Locale = {
559
541
  expandPromptAria: 'Expand prompt',
560
542
  collapsePromptAria: 'Collapse prompt',
561
543
  },
544
+
545
+ agent: {
546
+ title: 'Agent',
547
+ beta: 'Beta',
548
+ betaTitle: 'Early preview',
549
+ betaHint: 'Replies, edits and tool calls can occasionally fail or do something unexpected.',
550
+ open: 'Agent',
551
+ openTitle: 'Open the agent panel',
552
+ close: 'Close agent panel',
553
+ newSession: 'New chat',
554
+ sessions: 'History',
555
+ noSessions: 'No conversations yet.',
556
+ deleteSession: 'Delete conversation',
557
+ historyThisDeck: 'This deck',
558
+ historyOtherDecks: 'Other decks',
559
+ historyEmptyHint: 'Chats you start in this panel show up here.',
560
+ sessionRunning: 'Working',
561
+ composerPlaceholder: 'Ask {provider} to create or edit slides…',
562
+ send: 'Send',
563
+ stop: 'Stop',
564
+ working: 'Working',
565
+ contextPage: 'Page {n}',
566
+ contextSelection: 'Selection',
567
+ pendingComments: { one: '{count} comment', other: '{count} comments' },
568
+ applyComments: 'Apply comments',
569
+ applyCommentsWith: 'Apply with {provider}',
570
+ createDeck: 'New deck',
571
+ createDeckWith: 'Create a deck with {provider}',
572
+ quickCreate: 'Draft a new deck',
573
+ quickCreateHint: 'Opens a blank deck; describe it and the agent drafts it page by page.',
574
+ quickApply: 'Apply pending comments',
575
+ quickApplyHint: 'Resolves every @slide-comment marker in this slide.',
576
+ quickTheme: 'Create a theme',
577
+ quickThemeHint: 'Extracts or designs a reusable theme under themes/.',
578
+ quickEdit: 'Edit this page',
579
+ quickEditHint: 'Describe a change to the page you are viewing.',
580
+ emptyTitle: 'What should we build?',
581
+ emptyHint: 'Describe a deck, or pick a starting point.',
582
+ questionSubmit: 'Continue',
583
+ questionOther: 'Other',
584
+ questionOtherPlaceholder: 'Type your own answer',
585
+ questionCancelled: 'Dismissed',
586
+ permissionTitle: 'Needs approval',
587
+ allow: 'Allow',
588
+ deny: 'Deny',
589
+ allowed: 'Allowed',
590
+ denied: 'Denied',
591
+ autoApprove: 'Auto-approve',
592
+ autoApproveHint: 'Run commands without asking. Edits inside the workspace are always allowed.',
593
+ resultDone: 'Done',
594
+ resultStopped: 'Stopped',
595
+ resultSeconds: '{seconds}s',
596
+ errorEyebrow: 'Error',
597
+ statusLoading: 'Checking agents',
598
+ disabled: 'The agent panel is disabled in lemonriver.config.ts.',
599
+ connectTitle: 'Connect an agent',
600
+ connectDescription:
601
+ 'Drive your coding agent from here instead of a terminal. Agents installed on this machine connect automatically and reuse their sign-in.',
602
+ connect: 'Connect',
603
+ connecting: 'Connecting',
604
+ connected: 'Connected',
605
+ connectInstallHint: 'Adds {pkg} to this workspace with {pm}.',
606
+ cliFound: 'CLI found · v{version}',
607
+ cliFoundNoVersion: 'CLI found',
608
+ cliMissing: 'CLI not found on PATH',
609
+ cliHint: 'Install the {name} CLI and sign in once; the panel reuses its login.',
610
+ needCliTitle: 'Install Claude Code or Codex first',
611
+ needCliDescription:
612
+ 'The panel drives the coding agent CLI on this machine, and none was found on your PATH. Install one, sign in once in a terminal, then check again.',
613
+ checkAgain: 'Check again',
614
+ retry: 'Retry',
615
+ toastConnected: '{name} connected',
616
+ toastConnectFailed: 'Could not install {pkg}',
617
+ manageConnections: 'Manage agents',
618
+ backToChat: 'Back',
619
+ toastSendFailed: 'Could not send message',
620
+ newDeckTitle: "What's this deck about?",
621
+ newDeckHint:
622
+ 'Describe the topic, audience and tone. {provider} drafts it page by page while you watch.',
623
+ newDeckPlaceholder: 'A 10-minute talk on…',
624
+ toastCreateDeckFailed: 'Could not create a deck',
625
+ steps: { one: '{count} step', other: '{count} steps' },
626
+ questionSkip: 'Skip',
627
+ copyMessage: 'Copy',
628
+ copied: 'Copied',
629
+ editMessage: 'Edit',
630
+ cancelEdit: 'Cancel',
631
+ sendEdit: 'Send',
632
+ editHint:
633
+ 'Sending replaces the conversation after this message. Edits already made to files stay.',
634
+ modelDefault: 'Default',
635
+ reasoning: 'Reasoning',
636
+ effortAuto: 'Auto',
637
+ efforts: {
638
+ minimal: 'Minimal',
639
+ low: 'Low',
640
+ medium: 'Medium',
641
+ high: 'High',
642
+ xhigh: 'Extra high',
643
+ max: 'Max',
644
+ },
645
+ presenceEditing: '{provider} is editing',
646
+ presenceThinking: 'Thinking',
647
+ presenceWaiting: 'Waiting for you',
648
+ },
562
649
  };