@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.
- package/dist/{build-f-fM2ZY4.js → build-Bqo69DWP.js} +1 -1
- package/dist/cli/bin.js +4 -4
- package/dist/{config-DO45GU3e.js → config-DJ5rkMMg.js} +3123 -523
- package/dist/{config-B6JaKJM4.d.ts → config-teo3kWz7.d.ts} +6 -2
- package/dist/{dev-CqS2xpgE.js → dev-B2FJD5bJ.js} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -3
- package/dist/locale/index.d.ts +5 -2
- package/dist/locale/index.js +2 -2
- package/dist/{preview-BihgMlEl.js → preview-C93BOZL1.js} +1 -1
- package/dist/{types-BjW4glip.d.ts → types-DFK02XVv.d.ts} +120 -27
- package/dist/{update-C_R0ycVC.js → update-DsxZBtwv.js} +154 -90
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/{zh-tw-Ci0jK8eg.js → zh-tw-DwTAZKa6.js} +1091 -104
- package/package.json +13 -6
- package/skills/apply-comments/SKILL.md +10 -6
- package/skills/create-slide/SKILL.md +2 -0
- package/skills/current-slide/SKILL.md +1 -0
- package/skills/slide-authoring/SKILL.md +31 -1
- package/src/agent/prompt.ts +141 -0
- package/src/agent/provider.ts +123 -0
- package/src/agent/types.ts +151 -0
- package/src/app/app.tsx +7 -18
- package/src/app/assets/open-slide.svg +39 -0
- package/src/app/components/agent/agent-dock.tsx +35 -0
- package/src/app/components/agent/agent-markdown.tsx +45 -0
- package/src/app/components/agent/agent-panel.tsx +695 -0
- package/src/app/components/agent/agent-presence.tsx +74 -0
- package/src/app/components/agent/composer.tsx +120 -0
- package/src/app/components/agent/connect-view.tsx +184 -0
- package/src/app/components/agent/history-view.tsx +136 -0
- package/src/app/components/agent/provider-logo.tsx +34 -0
- package/src/app/components/agent/transcript.tsx +620 -0
- package/src/app/components/asset-view.tsx +6 -6
- package/src/app/components/command/command-menu.tsx +2 -1
- package/src/app/components/command/slide-command-menu.tsx +10 -0
- package/src/app/components/icon-switcher-indicator.tsx +1 -1
- package/src/app/components/inspector/asset-picker-dialog.tsx +7 -5
- package/src/app/components/inspector/comment-layer.tsx +1012 -0
- package/src/app/components/inspector/image-crop-dialog.tsx +1 -5
- package/src/app/components/inspector/inspect-overlay.tsx +2 -39
- package/src/app/components/inspector/inspector-panel.tsx +12 -95
- package/src/app/components/inspector/inspector-provider.tsx +121 -47
- package/src/app/components/panel/editor-sidebar.tsx +85 -16
- package/src/app/components/panel/panel-shell.tsx +2 -2
- package/src/app/components/panel/resize-handle.tsx +129 -0
- package/src/app/components/player.tsx +0 -1
- package/src/app/components/preview-step-host.tsx +16 -0
- package/src/app/components/sidebar/sidebar-footer.tsx +1 -1
- package/src/app/components/sidebar/sidebar.tsx +4 -3
- package/src/app/components/style-panel/style-panel.tsx +3 -2
- package/src/app/components/themes/theme-detail.tsx +4 -2
- package/src/app/components/thumbnail-rail.tsx +77 -29
- package/src/app/favicon.ico +0 -0
- package/src/app/favicon.svg +39 -0
- package/src/app/index.html +2 -1
- package/src/app/lemonriver/agent/lemon.tsx +64 -0
- package/src/app/{components → lemonriver}/board/board-canvas.tsx +154 -23
- package/src/app/{routes/board.tsx → lemonriver/board/board-page.tsx} +63 -25
- package/src/app/{components → lemonriver}/board/board.css +51 -0
- package/src/app/{components → lemonriver}/board/layout.test.ts +53 -1
- package/src/app/{components → lemonriver}/board/layout.ts +51 -3
- package/src/app/lemonriver/board/model/cards.test.ts +239 -0
- package/src/app/lemonriver/board/model/cards.ts +234 -0
- package/src/app/lemonriver/board/model/structure.test.ts +101 -0
- package/src/app/lemonriver/board/model/structure.ts +82 -0
- package/src/app/lemonriver/board/page-node.tsx +481 -0
- package/src/app/lemonriver/board/use-board-cards.ts +210 -0
- package/src/app/{components → lemonriver}/board/use-board-columns.ts +7 -7
- package/src/app/{components → lemonriver}/board/use-page-order.ts +27 -15
- package/src/app/lemonriver/brand/app-icon.svg +44 -0
- package/src/app/lemonriver/brand/apple-touch-icon.png +0 -0
- package/src/app/lemonriver/brand/favicon-32.png +0 -0
- package/src/app/lemonriver/brand/mascot.tsx +59 -0
- package/src/app/lemonriver/brand/mascots/lemon-done.png +0 -0
- package/src/app/lemonriver/brand/mascots/lemon-idle.png +0 -0
- package/src/app/lemonriver/brand/mascots/lemon-needs-you.png +0 -0
- package/src/app/lemonriver/brand/mascots/lemon-thinking.png +0 -0
- package/src/app/lemonriver/brand/mascots/lemon-working.png +0 -0
- package/src/app/lemonriver/chrome/app-chrome.tsx +99 -0
- package/src/app/lemonriver/chrome/nav-row.tsx +34 -0
- package/src/app/lemonriver/chrome/not-found.tsx +34 -0
- package/src/app/lemonriver/chrome/sidebar-extras.tsx +57 -0
- package/src/app/lemonriver/chrome/use-slot.ts +23 -0
- package/src/app/lemonriver/features.test.ts +29 -0
- package/src/app/lemonriver/features.ts +26 -0
- package/src/app/lemonriver/feedback/export.ts +7 -0
- package/src/app/lemonriver/feedback/lemon-empty.tsx +54 -0
- package/src/app/lemonriver/feedback/offline-banner.tsx +41 -0
- package/src/app/lemonriver/feedback/pending-toast.test.ts +44 -0
- package/src/app/lemonriver/feedback/pending-toast.ts +39 -0
- package/src/app/lemonriver/feedback/toaster.tsx +34 -0
- package/src/app/lemonriver/feedback/upload.test.ts +26 -0
- package/src/app/lemonriver/feedback/upload.ts +19 -0
- package/src/app/lemonriver/home/brief-card.tsx +63 -0
- package/src/app/lemonriver/home/brief.test.ts +38 -0
- package/src/app/lemonriver/home/brief.ts +34 -0
- package/src/app/lemonriver/home/controls.tsx +93 -0
- package/src/app/lemonriver/home/deck-card.tsx +183 -0
- package/src/app/lemonriver/home/dialogs.tsx +292 -0
- package/src/app/lemonriver/home/home-page.tsx +335 -0
- package/src/app/lemonriver/home/sorting.test.ts +24 -0
- package/src/app/lemonriver/home/sorting.ts +59 -0
- package/src/app/lemonriver/home/time.test.ts +33 -0
- package/src/app/lemonriver/home/time.ts +33 -0
- package/src/app/lemonriver/home/use-deck-times.ts +27 -0
- package/src/app/lemonriver/home/use-delayed.ts +15 -0
- package/src/app/lemonriver/routes.test.tsx +37 -0
- package/src/app/lemonriver/routes.tsx +38 -0
- package/src/app/lemonriver/settings/settings-page.tsx +103 -0
- package/src/app/lemonriver/slide-extensions.tsx +73 -0
- package/src/app/lemonriver/text/all.ts +19 -0
- package/src/app/lemonriver/text/en.ts +106 -0
- package/src/app/lemonriver/text/es.ts +108 -0
- package/src/app/lemonriver/text/index.ts +9 -0
- package/src/app/lemonriver/text/ja.ts +106 -0
- package/src/app/lemonriver/text/text.test.ts +57 -0
- package/src/app/lemonriver/text/types.ts +111 -0
- package/src/app/lemonriver/text/zh-cn.ts +101 -0
- package/src/app/lemonriver/text/zh-tw.ts +101 -0
- package/src/app/lemonriver/theme/app.css +288 -0
- package/src/app/lemonriver/theme/controls.css +463 -0
- package/src/app/lemonriver/theme/index.css +3 -0
- package/src/app/lemonriver/theme/motion.ts +52 -0
- package/src/app/lemonriver/theme/pages.test.ts +66 -0
- package/src/app/lemonriver/theme/pages.ts +56 -0
- package/src/app/lemonriver/theme/theme-menu.tsx +64 -0
- package/src/app/lemonriver/theme/themes.test.ts +18 -0
- package/src/app/lemonriver/theme/themes.ts +16 -0
- package/src/app/lemonriver/theme/tokens.css +226 -0
- package/src/app/lemonriver/theme/use-theme.tsx +49 -0
- package/src/app/lemonriver/trash/api.test.ts +19 -0
- package/src/app/lemonriver/trash/api.ts +77 -0
- package/src/app/lemonriver/trash/trash-page.tsx +131 -0
- package/src/app/lib/agent/use-agent.ts +543 -0
- package/src/app/lib/inspector/freeze-motion.ts +61 -0
- package/src/app/lib/inspector/use-comments.ts +32 -3
- package/src/app/lib/locale-store.ts +6 -1
- package/src/app/lib/pptx/raster.ts +1 -1
- package/src/app/lib/print-ready.ts +9 -6
- package/src/app/lib/use-auto-grow.ts +15 -0
- package/src/app/lib/utils.ts +4 -0
- package/src/app/main.tsx +8 -1
- package/src/app/routes/home-shell.tsx +4 -2
- package/src/app/routes/home.tsx +43 -7
- package/src/app/routes/presenter.tsx +1 -16
- package/src/app/routes/preview.tsx +169 -0
- package/src/app/routes/slide.tsx +232 -188
- package/src/app/styles.css +235 -80
- package/src/editing/placeholder-id.ts +1 -0
- package/src/locale/en.ts +113 -26
- package/src/locale/es.ts +658 -0
- package/src/locale/index.ts +1 -0
- package/src/locale/ja.ts +106 -26
- package/src/locale/types.ts +119 -28
- package/src/locale/zh-cn.ts +106 -28
- package/src/locale/zh-tw.ts +106 -28
- package/src/app/assets/open-slide.png +0 -0
- package/src/app/components/board/page-node.tsx +0 -204
- package/src/app/components/inspector/comment-widget.tsx +0 -119
package/src/app/styles.css
CHANGED
|
@@ -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
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
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
|
-
|
|
236
|
-
|
|
237
|
-
|
|
240
|
+
@keyframes island-arrive {
|
|
241
|
+
from {
|
|
242
|
+
opacity: 0;
|
|
243
|
+
filter: blur(6px);
|
|
244
|
+
transform: scale(0.94);
|
|
245
|
+
}
|
|
238
246
|
}
|
|
239
247
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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
|
-
.
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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:
|
|
266
|
+
animation: island-leave 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
282
267
|
}
|
|
283
268
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
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
|
|
302
|
-
|
|
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:
|
|
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
|
-
.
|
|
318
|
-
.
|
|
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
|
-
|
|
291
|
+
commentMode: 'Comment',
|
|
291
292
|
commentPlaceholder: 'Describe a change for the agent…',
|
|
292
|
-
|
|
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
|
-
|
|
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
|
};
|