@open-slide/core 2.1.0 → 2.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-COxfoC_P.js → build-8lRsgsO4.js} +1 -1
- package/dist/cli/bin.js +4 -4
- package/dist/{config-DHPbCCnt.d.ts → config-CDrYgaEj.d.ts} +6 -2
- package/dist/{config-CNhYSo4C.js → config-D2Mq1vSW.js} +2162 -368
- package/dist/{dev-CujpTS3T.js → dev-BvefEp1Q.js} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/{preview-kU5R6QXJ.js → preview-D8ognobz.js} +1 -1
- package/dist/{types-BGUi9COY.d.ts → types-DFK02XVv.d.ts} +119 -4
- package/dist/{update-CPBitJQq.js → update-BivdNgL3.js} +128 -7
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/{zh-tw-BbFb4PZW.js → zh-tw-B1pkKQsc.js} +570 -20
- package/package.json +5 -5
- package/skills/apply-comments/SKILL.md +9 -6
- 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 +692 -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 +135 -0
- package/src/app/components/agent/provider-logo.tsx +34 -0
- package/src/app/components/agent/transcript.tsx +609 -0
- 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/comment-layer.tsx +1011 -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 +10 -93
- package/src/app/components/inspector/inspector-provider.tsx +120 -46
- 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/thumbnail-rail.tsx +39 -1
- 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/use-auto-grow.ts +15 -0
- package/src/app/lib/utils.ts +4 -0
- package/src/app/routes/home.tsx +43 -7
- package/src/app/routes/slide.tsx +109 -109
- package/src/app/styles.css +234 -80
- package/src/locale/en.ts +113 -4
- package/src/locale/es.ts +115 -5
- package/src/locale/ja.ts +106 -5
- package/src/locale/types.ts +118 -4
- package/src/locale/zh-cn.ts +103 -4
- package/src/locale/zh-tw.ts +103 -4
- package/src/app/components/inspector/comment-widget.tsx +0 -119
package/src/app/styles.css
CHANGED
|
@@ -222,109 +222,93 @@
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
/*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
225
|
+
* Indeterminate "line loader" — a hairline track with a short bar that
|
|
226
|
+
* glides back and forth. Used for full-screen loading states in place of
|
|
227
|
+
* a spinner; quieter, more typographic, easier on the eye.
|
|
228
228
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
229
|
+
/* Comment-mode hint pill: the shell materializes once, then every text
|
|
230
|
+
swap blurs the old copy out while the new one blurs in. */
|
|
231
|
+
@keyframes island-enter {
|
|
232
|
+
from {
|
|
233
|
+
opacity: 0;
|
|
234
|
+
filter: blur(6px);
|
|
235
|
+
transform: translateY(6px) scale(0.9);
|
|
236
|
+
}
|
|
233
237
|
}
|
|
234
238
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
239
|
+
@keyframes island-arrive {
|
|
240
|
+
from {
|
|
241
|
+
opacity: 0;
|
|
242
|
+
filter: blur(6px);
|
|
243
|
+
transform: scale(0.94);
|
|
244
|
+
}
|
|
238
245
|
}
|
|
239
246
|
|
|
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;
|
|
247
|
+
@keyframes island-leave {
|
|
248
|
+
to {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
filter: blur(6px);
|
|
251
|
+
transform: scale(0.94);
|
|
252
|
+
}
|
|
267
253
|
}
|
|
268
254
|
|
|
269
|
-
.
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
opacity: 0;
|
|
279
|
-
z-index: -1;
|
|
255
|
+
.island-enter {
|
|
256
|
+
animation: island-enter 420ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.island-arrive {
|
|
260
|
+
animation: island-arrive 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.island-leave {
|
|
280
264
|
pointer-events: none;
|
|
281
|
-
animation:
|
|
265
|
+
animation: island-leave 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
282
266
|
}
|
|
283
267
|
|
|
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;
|
|
268
|
+
/* Counter digits roll in the direction of the change (--roll: 1 up, -1 down). */
|
|
269
|
+
@keyframes roll-arrive {
|
|
270
|
+
from {
|
|
297
271
|
opacity: 0;
|
|
272
|
+
transform: translateY(calc(var(--roll, 1) * 100%));
|
|
298
273
|
}
|
|
299
274
|
}
|
|
300
275
|
|
|
301
|
-
@keyframes
|
|
302
|
-
|
|
303
|
-
opacity: 0;
|
|
304
|
-
transform: scale(0.97);
|
|
305
|
-
}
|
|
306
|
-
40% {
|
|
307
|
-
opacity: 1;
|
|
308
|
-
transform: scale(1);
|
|
309
|
-
}
|
|
310
|
-
100% {
|
|
276
|
+
@keyframes roll-leave {
|
|
277
|
+
to {
|
|
311
278
|
opacity: 0;
|
|
312
|
-
transform:
|
|
279
|
+
transform: translateY(calc(var(--roll, 1) * -100%));
|
|
313
280
|
}
|
|
314
281
|
}
|
|
315
282
|
|
|
283
|
+
.roll-arrive {
|
|
284
|
+
animation: roll-arrive 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.roll-leave {
|
|
288
|
+
pointer-events: none;
|
|
289
|
+
animation: roll-leave 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
|
|
290
|
+
}
|
|
291
|
+
|
|
316
292
|
@media (prefers-reduced-motion: reduce) {
|
|
317
|
-
.
|
|
318
|
-
.
|
|
293
|
+
.island-enter,
|
|
294
|
+
.island-arrive {
|
|
295
|
+
animation: island-arrive 160ms ease-out both;
|
|
296
|
+
filter: none;
|
|
297
|
+
transform: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.island-leave,
|
|
301
|
+
.roll-leave {
|
|
319
302
|
animation: none;
|
|
303
|
+
opacity: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.roll-arrive {
|
|
307
|
+
animation: island-arrive 160ms ease-out both;
|
|
308
|
+
transform: none;
|
|
320
309
|
}
|
|
321
310
|
}
|
|
322
311
|
|
|
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
312
|
@keyframes osd-line-loader {
|
|
329
313
|
0% {
|
|
330
314
|
transform: translateX(0%);
|
|
@@ -399,3 +383,173 @@
|
|
|
399
383
|
background-clip: content-box;
|
|
400
384
|
}
|
|
401
385
|
}
|
|
386
|
+
|
|
387
|
+
/* Agent presence: ring, write sweep and shimmer shown while an agent edits a deck. */
|
|
388
|
+
@property --agent-angle {
|
|
389
|
+
syntax: "<angle>";
|
|
390
|
+
inherits: false;
|
|
391
|
+
initial-value: 0deg;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
[data-agent-provider] {
|
|
395
|
+
--agent-a: oklch(0.68 0.14 42);
|
|
396
|
+
--agent-b: oklch(0.82 0.12 75);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
[data-agent-provider="codex"] {
|
|
400
|
+
--agent-a: oklch(0.64 0.13 170);
|
|
401
|
+
--agent-b: oklch(0.7 0.14 240);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@keyframes agent-spin {
|
|
405
|
+
to {
|
|
406
|
+
--agent-angle: 360deg;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
@keyframes agent-fade-in {
|
|
411
|
+
from {
|
|
412
|
+
opacity: 0;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.agent-ring {
|
|
417
|
+
pointer-events: none;
|
|
418
|
+
position: absolute;
|
|
419
|
+
inset: 0;
|
|
420
|
+
border-radius: inherit;
|
|
421
|
+
padding: 1.5px;
|
|
422
|
+
background: conic-gradient(
|
|
423
|
+
from var(--agent-angle),
|
|
424
|
+
transparent 0deg,
|
|
425
|
+
var(--agent-a) 70deg,
|
|
426
|
+
var(--agent-b) 140deg,
|
|
427
|
+
transparent 210deg,
|
|
428
|
+
transparent 360deg
|
|
429
|
+
);
|
|
430
|
+
mask:
|
|
431
|
+
linear-gradient(#000 0 0) content-box exclude,
|
|
432
|
+
linear-gradient(#000 0 0);
|
|
433
|
+
animation:
|
|
434
|
+
agent-spin 3.6s linear infinite,
|
|
435
|
+
agent-fade-in 400ms var(--ease-swift) both;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.agent-glow {
|
|
439
|
+
pointer-events: none;
|
|
440
|
+
position: absolute;
|
|
441
|
+
inset: 0;
|
|
442
|
+
border-radius: inherit;
|
|
443
|
+
box-shadow:
|
|
444
|
+
inset 0 0 0 1px color-mix(in oklch, var(--agent-a) 35%, transparent),
|
|
445
|
+
inset 0 0 48px -12px color-mix(in oklch, var(--agent-a) 45%, transparent);
|
|
446
|
+
animation: agent-fade-in 400ms var(--ease-swift) both;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
@keyframes agent-sweep {
|
|
450
|
+
from {
|
|
451
|
+
background-position: 120% 0;
|
|
452
|
+
opacity: 1;
|
|
453
|
+
}
|
|
454
|
+
to {
|
|
455
|
+
background-position: -20% 0;
|
|
456
|
+
opacity: 0;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.agent-sweep {
|
|
461
|
+
pointer-events: none;
|
|
462
|
+
position: absolute;
|
|
463
|
+
inset: 0;
|
|
464
|
+
border-radius: inherit;
|
|
465
|
+
background: linear-gradient(
|
|
466
|
+
105deg,
|
|
467
|
+
transparent 35%,
|
|
468
|
+
color-mix(in oklch, var(--agent-b) 22%, transparent) 50%,
|
|
469
|
+
transparent 65%
|
|
470
|
+
);
|
|
471
|
+
background-size: 250% 100%;
|
|
472
|
+
animation: agent-sweep 900ms var(--ease-swift) both;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
@keyframes agent-shimmer {
|
|
476
|
+
from {
|
|
477
|
+
background-position: 100% 0;
|
|
478
|
+
}
|
|
479
|
+
to {
|
|
480
|
+
background-position: 0% 0;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.agent-shimmer {
|
|
485
|
+
background: linear-gradient(
|
|
486
|
+
90deg,
|
|
487
|
+
var(--muted-foreground) 35%,
|
|
488
|
+
var(--foreground) 50%,
|
|
489
|
+
var(--muted-foreground) 65%
|
|
490
|
+
);
|
|
491
|
+
background-size: 300% 100%;
|
|
492
|
+
background-clip: text;
|
|
493
|
+
color: transparent;
|
|
494
|
+
animation: agent-shimmer 1.8s linear infinite;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
@keyframes agent-progress {
|
|
498
|
+
from {
|
|
499
|
+
transform: translateX(-100%);
|
|
500
|
+
}
|
|
501
|
+
to {
|
|
502
|
+
transform: translateX(250%);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.agent-progress {
|
|
507
|
+
pointer-events: none;
|
|
508
|
+
position: absolute;
|
|
509
|
+
inset-inline: 0;
|
|
510
|
+
top: 0;
|
|
511
|
+
height: 1.5px;
|
|
512
|
+
overflow: hidden;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.agent-progress::after {
|
|
516
|
+
content: "";
|
|
517
|
+
position: absolute;
|
|
518
|
+
inset-block: 0;
|
|
519
|
+
width: 40%;
|
|
520
|
+
background: linear-gradient(90deg, transparent, var(--agent-a), var(--agent-b), transparent);
|
|
521
|
+
animation: agent-progress 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
@media (prefers-reduced-motion: reduce) {
|
|
525
|
+
.agent-ring {
|
|
526
|
+
animation: agent-fade-in 160ms ease-out both;
|
|
527
|
+
--agent-angle: 120deg;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.agent-sweep {
|
|
531
|
+
display: none;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.agent-shimmer {
|
|
535
|
+
animation: none;
|
|
536
|
+
color: var(--foreground);
|
|
537
|
+
background: none;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.agent-progress::after {
|
|
541
|
+
animation: none;
|
|
542
|
+
width: 100%;
|
|
543
|
+
opacity: 0.6;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.sidebar-swap {
|
|
548
|
+
animation: agent-fade-in 160ms var(--ease-swift, ease-out);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
@media (prefers-reduced-motion: reduce) {
|
|
552
|
+
.sidebar-swap {
|
|
553
|
+
animation: none;
|
|
554
|
+
}
|
|
555
|
+
}
|
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',
|
|
@@ -537,4 +541,109 @@ export const en: Locale = {
|
|
|
537
541
|
expandPromptAria: 'Expand prompt',
|
|
538
542
|
collapsePromptAria: 'Collapse prompt',
|
|
539
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 open-slide.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
|
+
},
|
|
540
649
|
};
|
package/src/locale/es.ts
CHANGED
|
@@ -98,6 +98,7 @@ export const es: Locale = {
|
|
|
98
98
|
},
|
|
99
99
|
|
|
100
100
|
slide: {
|
|
101
|
+
resizeSidePanel: 'Redimensionar panel lateral',
|
|
101
102
|
home: 'Inicio',
|
|
102
103
|
backToHome: 'Volver al inicio',
|
|
103
104
|
agentConnected: 'Agente conectado',
|
|
@@ -292,10 +293,9 @@ export const es: Locale = {
|
|
|
292
293
|
cropFitCover: 'Rellenar',
|
|
293
294
|
cropFitContain: 'Ajustar',
|
|
294
295
|
cropApply: 'Aplicar',
|
|
295
|
-
|
|
296
|
+
commentMode: 'Comentar',
|
|
296
297
|
commentPlaceholder: 'Describe un cambio para el agente…',
|
|
297
|
-
|
|
298
|
-
addComment: 'Añadir comentario',
|
|
298
|
+
commentPost: 'Publicar',
|
|
299
299
|
unsavedChanges: {
|
|
300
300
|
one: '{count} cambio sin guardar',
|
|
301
301
|
other: '{count} cambios sin guardar',
|
|
@@ -305,11 +305,14 @@ export const es: Locale = {
|
|
|
305
305
|
other: '{count} comentarios',
|
|
306
306
|
},
|
|
307
307
|
commentLineLabel: 'línea {n}',
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
commentRegionLabel: 'zona',
|
|
309
|
+
commentEmptyHint: 'Haz clic en un elemento o arrastra sobre una zona para dejar un comentario.',
|
|
310
310
|
commentsApplyHintPrefix: 'Ejecuta ',
|
|
311
311
|
commentsApplyHintSuffix: ' en tu agente para aplicarlos.',
|
|
312
312
|
commentDeleteAria: 'Eliminar',
|
|
313
|
+
commentUpdateFailed: 'No se pudo actualizar el comentario:',
|
|
314
|
+
commentAddFailed: 'No se pudo añadir el comentario:',
|
|
315
|
+
commentRegionNoTarget: 'No se encontró un elemento al que asociar esta zona.',
|
|
313
316
|
saveFailed: 'No se pudo guardar:',
|
|
314
317
|
decreaseFontSize: 'Reducir tamaño de fuente',
|
|
315
318
|
increaseFontSize: 'Aumentar tamaño de fuente',
|
|
@@ -545,4 +548,111 @@ export const es: Locale = {
|
|
|
545
548
|
expandPromptAria: 'Expandir prompt',
|
|
546
549
|
collapsePromptAria: 'Contraer prompt',
|
|
547
550
|
},
|
|
551
|
+
agent: {
|
|
552
|
+
title: 'Agente',
|
|
553
|
+
beta: 'Beta',
|
|
554
|
+
betaTitle: 'Versión preliminar',
|
|
555
|
+
betaHint:
|
|
556
|
+
'Las respuestas, ediciones y acciones pueden fallar o hacer algo inesperado de vez en cuando.',
|
|
557
|
+
open: 'Agente',
|
|
558
|
+
openTitle: 'Abrir el panel del agente',
|
|
559
|
+
close: 'Cerrar el panel del agente',
|
|
560
|
+
newSession: 'Nuevo chat',
|
|
561
|
+
sessions: 'Historial',
|
|
562
|
+
noSessions: 'Todavía no hay conversaciones.',
|
|
563
|
+
deleteSession: 'Eliminar conversación',
|
|
564
|
+
historyThisDeck: 'Esta presentación',
|
|
565
|
+
historyOtherDecks: 'Otras presentaciones',
|
|
566
|
+
historyEmptyHint: 'Los chats que empieces en este panel aparecen aquí.',
|
|
567
|
+
sessionRunning: 'En curso',
|
|
568
|
+
composerPlaceholder: 'Pídele a {provider} que cree o edite diapositivas…',
|
|
569
|
+
send: 'Enviar',
|
|
570
|
+
stop: 'Detener',
|
|
571
|
+
working: 'Trabajando',
|
|
572
|
+
contextPage: 'Página {n}',
|
|
573
|
+
contextSelection: 'Selección',
|
|
574
|
+
pendingComments: { one: '{count} comentario', other: '{count} comentarios' },
|
|
575
|
+
applyComments: 'Aplicar comentarios',
|
|
576
|
+
applyCommentsWith: 'Aplicar con {provider}',
|
|
577
|
+
createDeck: 'Nueva presentación',
|
|
578
|
+
createDeckWith: 'Crear una presentación con {provider}',
|
|
579
|
+
quickCreate: 'Redactar una nueva presentación',
|
|
580
|
+
quickCreateHint:
|
|
581
|
+
'Abre una presentación en blanco; descríbela y el agente la redacta página a página.',
|
|
582
|
+
quickApply: 'Aplicar comentarios pendientes',
|
|
583
|
+
quickApplyHint: 'Resuelve todos los marcadores @slide-comment de esta presentación.',
|
|
584
|
+
quickTheme: 'Crear un tema',
|
|
585
|
+
quickThemeHint: 'Extrae o diseña un tema reutilizable en themes/.',
|
|
586
|
+
quickEdit: 'Editar esta página',
|
|
587
|
+
quickEditHint: 'Describe un cambio para la página que estás viendo.',
|
|
588
|
+
emptyTitle: '¿Qué construimos?',
|
|
589
|
+
emptyHint: 'Describe una presentación o elige un punto de partida.',
|
|
590
|
+
questionSubmit: 'Continuar',
|
|
591
|
+
questionOther: 'Otra',
|
|
592
|
+
questionOtherPlaceholder: 'Escribe tu propia respuesta',
|
|
593
|
+
questionCancelled: 'Descartada',
|
|
594
|
+
permissionTitle: 'Requiere aprobación',
|
|
595
|
+
allow: 'Permitir',
|
|
596
|
+
deny: 'Denegar',
|
|
597
|
+
allowed: 'Permitido',
|
|
598
|
+
denied: 'Denegado',
|
|
599
|
+
autoApprove: 'Aprobar automáticamente',
|
|
600
|
+
autoApproveHint:
|
|
601
|
+
'Ejecuta comandos sin preguntar. Las ediciones dentro del workspace siempre se permiten.',
|
|
602
|
+
resultDone: 'Listo',
|
|
603
|
+
resultStopped: 'Detenido',
|
|
604
|
+
resultSeconds: '{seconds}s',
|
|
605
|
+
errorEyebrow: 'Error',
|
|
606
|
+
statusLoading: 'Comprobando agentes',
|
|
607
|
+
disabled: 'El panel del agente está desactivado en open-slide.config.ts.',
|
|
608
|
+
connectTitle: 'Conectar un agente',
|
|
609
|
+
connectDescription:
|
|
610
|
+
'Dirige tu agente de código desde aquí en lugar de una terminal. Los agentes instalados en esta máquina se conectan solos y reutilizan su sesión.',
|
|
611
|
+
connect: 'Conectar',
|
|
612
|
+
connecting: 'Conectando',
|
|
613
|
+
connected: 'Conectado',
|
|
614
|
+
connectInstallHint: 'Añade {pkg} a este workspace con {pm}.',
|
|
615
|
+
cliFound: 'CLI encontrada · v{version}',
|
|
616
|
+
cliFoundNoVersion: 'CLI encontrada',
|
|
617
|
+
cliMissing: 'CLI no encontrada en el PATH',
|
|
618
|
+
cliHint: 'Instala la CLI de {name} e inicia sesión una vez; el panel reutiliza esa sesión.',
|
|
619
|
+
needCliTitle: 'Instala Claude Code o Codex primero',
|
|
620
|
+
needCliDescription:
|
|
621
|
+
'El panel dirige la CLI del agente de código de esta máquina y no se encontró ninguna en el PATH. Instala una, inicia sesión una vez en una terminal y vuelve a comprobar.',
|
|
622
|
+
checkAgain: 'Volver a comprobar',
|
|
623
|
+
retry: 'Reintentar',
|
|
624
|
+
toastConnected: '{name} conectado',
|
|
625
|
+
toastConnectFailed: 'No se pudo instalar {pkg}',
|
|
626
|
+
manageConnections: 'Gestionar agentes',
|
|
627
|
+
backToChat: 'Volver',
|
|
628
|
+
toastSendFailed: 'No se pudo enviar el mensaje',
|
|
629
|
+
newDeckTitle: '¿De qué trata esta presentación?',
|
|
630
|
+
newDeckHint:
|
|
631
|
+
'Describe el tema, la audiencia y el tono. {provider} la redacta página a página mientras miras.',
|
|
632
|
+
newDeckPlaceholder: 'Una charla de 10 minutos sobre…',
|
|
633
|
+
toastCreateDeckFailed: 'No se pudo crear la presentación',
|
|
634
|
+
steps: { one: '{count} paso', other: '{count} pasos' },
|
|
635
|
+
questionSkip: 'Omitir',
|
|
636
|
+
copyMessage: 'Copiar',
|
|
637
|
+
copied: 'Copiado',
|
|
638
|
+
editMessage: 'Editar',
|
|
639
|
+
cancelEdit: 'Cancelar',
|
|
640
|
+
sendEdit: 'Enviar',
|
|
641
|
+
editHint:
|
|
642
|
+
'Al enviar se reemplaza la conversación posterior a este mensaje. Los cambios en archivos se mantienen.',
|
|
643
|
+
modelDefault: 'Predeterminado',
|
|
644
|
+
reasoning: 'Razonamiento',
|
|
645
|
+
effortAuto: 'Auto',
|
|
646
|
+
efforts: {
|
|
647
|
+
minimal: 'Mínimo',
|
|
648
|
+
low: 'Bajo',
|
|
649
|
+
medium: 'Medio',
|
|
650
|
+
high: 'Alto',
|
|
651
|
+
xhigh: 'Muy alto',
|
|
652
|
+
max: 'Máximo',
|
|
653
|
+
},
|
|
654
|
+
presenceEditing: '{provider} está editando',
|
|
655
|
+
presenceThinking: 'Pensando',
|
|
656
|
+
presenceWaiting: 'Esperando tu respuesta',
|
|
657
|
+
},
|
|
548
658
|
};
|