anentrypoint-design 0.0.201 → 0.0.202

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/app-shell.css CHANGED
@@ -1299,6 +1299,19 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
1299
1299
  .ds-upload-item.done .ds-upload-pct { color: var(--success); }
1300
1300
  .ds-upload-item.error .ds-upload-fill { background: var(--warn); }
1301
1301
  .ds-upload-item.error .ds-upload-pct { color: var(--warn); }
1302
+ /* Per-row upload recovery actions (replace / dismiss) — error rows are not dead ends. */
1303
+ .ds-upload-item { grid-template-columns: minmax(0, 1fr) 120px 44px auto; }
1304
+ .ds-upload-actions { display: inline-flex; gap: var(--space-1); justify-content: flex-end; }
1305
+ .ds-upload-act {
1306
+ padding: 2px 10px; min-height: 24px; cursor: pointer;
1307
+ background: var(--bg); border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1);
1308
+ color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-micro);
1309
+ }
1310
+ .ds-upload-act:hover { background: var(--bg-3); color: var(--fg); }
1311
+ .ds-upload-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
1312
+ @media (hover: none), (pointer: coarse) {
1313
+ .ds-upload-act { min-height: 44px; min-width: 44px; }
1314
+ }
1302
1315
 
1303
1316
  /* Empty state */
1304
1317
  .ds-file-empty {
@@ -1356,6 +1369,14 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
1356
1369
  font-family: inherit; font-size: var(--fs-sm);
1357
1370
  }
1358
1371
  .ds-modal-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
1372
+ /* In-body modal error (role=alert): mutation failures (409/403) surface INSIDE
1373
+ the dialog, not behind the fixed overlay. */
1374
+ .ds-modal-error {
1375
+ margin: var(--space-2) 0 0; padding: 8px 10px;
1376
+ border: var(--bw-hair) solid var(--flame); border-radius: var(--r-2);
1377
+ background: color-mix(in oklab, var(--flame) 12%, var(--bg));
1378
+ color: var(--flame); font-size: var(--fs-xs);
1379
+ }
1359
1380
  .btn-primary.danger {
1360
1381
  background: var(--warn);
1361
1382
  border-color: var(--warn);
@@ -1485,10 +1506,12 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
1485
1506
  .ds-file-row:hover .ds-file-check,
1486
1507
  .ds-file-row:focus-within .ds-file-check,
1487
1508
  .ds-file-check.on { opacity: 1; }
1488
- /* Touch / coarse-pointer devices have no hover — keep checkboxes visible so
1489
- multi-select is reachable without a pointer. */
1509
+ /* Touch / coarse-pointer devices have no hover — keep checkboxes AND the
1510
+ per-row action buttons (rename/delete/download) visible so the file manager
1511
+ is fully reachable without a pointer (e.g. an iPad in landscape). */
1490
1512
  @media (hover: none), (pointer: coarse) {
1491
1513
  .ds-file-check { opacity: 1; }
1514
+ .ds-file-actions { opacity: 1; }
1492
1515
  }
1493
1516
  .ds-file-check.on { background: var(--accent); border-color: var(--accent); }
1494
1517
  .ds-file-row.selected {
package/chat.css CHANGED
@@ -541,3 +541,94 @@ button.chat-composer-context:focus-visible { outline: 2px solid var(--accent); o
541
541
  @media (pointer: coarse), (max-width: 640px) {
542
542
  .ds-session-meta-copy { min-height: 44px; min-width: 44px; }
543
543
  }
544
+
545
+ /* ============================================================================
546
+ Logic/predictability sweep (2026-06-10): composer ergonomics, turn notices,
547
+ windowed thread, dashboard stopping/external states, cwd validation.
548
+ ============================================================================ */
549
+
550
+ /* Enter-to-send hint: visible while the composer is focused or carries a
551
+ draft; hidden under 420px to save rows. */
552
+ .chat-composer-hint {
553
+ display: none; padding: 2px var(--space-3) 0;
554
+ font-size: var(--fs-micro); color: var(--fg-3);
555
+ }
556
+ .chat-composer:focus-within .chat-composer-hint,
557
+ .chat-composer.has-draft .chat-composer-hint { display: block; }
558
+ @media (max-width: 420px) {
559
+ .chat-composer .chat-composer-hint { display: none; }
560
+ }
561
+
562
+ /* Transient composer note (paste/drop not supported), aria-live polite. */
563
+ .chat-composer-note {
564
+ padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
565
+ }
566
+
567
+ /* Drag-over ring: token accent, never a hex. */
568
+ .chat-composer.dragover { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-2); }
569
+
570
+ /* Per-bit composer context: only the bit that owns a control is a button. */
571
+ .chat-composer-context-bit {
572
+ display: inline; padding: 0; margin: 0;
573
+ background: none; border: none; cursor: pointer;
574
+ font: inherit; color: inherit; text-decoration: underline dotted;
575
+ }
576
+ .chat-composer-context-bit:hover { color: var(--fg-2); }
577
+ .chat-composer-context-bit:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
578
+ @media (pointer: coarse) {
579
+ .chat-composer-context-bit { min-height: 44px; }
580
+ }
581
+
582
+ /* Out-of-band turn notices: neutral tone (NOT error red) — a stopped or
583
+ incomplete turn must not read as a finished answer. */
584
+ .chat-msg-notice {
585
+ margin-top: var(--space-1); padding: 6px 10px;
586
+ border: var(--bw-hair) solid var(--rule); border-radius: var(--r-2);
587
+ background: var(--bg-2); color: var(--fg-2); font-size: var(--fs-tiny);
588
+ }
589
+ .chat-msg-notice.is-incomplete { border-style: dashed; }
590
+
591
+ /* Tail-window streaming head ('streaming · N KB so far'). */
592
+ .chat-stream-head {
593
+ padding: 2px 0 6px; font-family: var(--ff-mono);
594
+ font-size: var(--fs-micro); color: var(--fg-3);
595
+ }
596
+
597
+ /* Windowed thread: 'show N earlier turns' control at the top. */
598
+ .agentchat-earlier {
599
+ display: flex; align-items: center; justify-content: center;
600
+ gap: var(--space-3); padding: var(--space-2) var(--space-3);
601
+ }
602
+ .agentchat-earlier-count { font-size: var(--fs-tiny); color: var(--fg-3); }
603
+ .agentchat-earlier-btn {
604
+ padding: 4px 12px; min-height: 32px; border: var(--bw-hair) solid var(--bg-3);
605
+ border-radius: var(--r-1); background: var(--bg-2); color: var(--fg-2); cursor: pointer;
606
+ font-family: var(--ff-body); font-size: var(--fs-tiny);
607
+ }
608
+ .agentchat-earlier-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
609
+ @media (pointer: coarse) {
610
+ .agentchat-earlier-btn { min-height: 44px; }
611
+ }
612
+
613
+ /* Inline cwd validation line (checking / error) under the cwd input. */
614
+ .agentchat-cwd-hint { font-size: var(--fs-tiny); color: var(--fg-3); }
615
+ .agentchat-cwd-hint.is-error { color: var(--flame); }
616
+
617
+ /* Dashboard: shared session title heading (same string as the rails). */
618
+ .ds-dash-title {
619
+ font-size: var(--fs-body); font-weight: 600; color: var(--fg);
620
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
621
+ }
622
+
623
+ /* Stopping state: in-flight cancel reads distinctly from running/error. */
624
+ .ds-dash-status.is-stopping { color: var(--amber, #d9a93a); }
625
+
626
+ /* External (observed, not owned) session card: no stop control exists. */
627
+ .ds-dash-external {
628
+ padding: 1px 6px; border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-pill);
629
+ font-size: var(--fs-micro); color: var(--fg-3); text-transform: uppercase; letter-spacing: .03em;
630
+ }
631
+ .ds-dash-card.is-external { border-style: dashed; }
632
+
633
+ /* One connection vocabulary: offline (is-lost kept as legacy alias). */
634
+ .ds-dash-stream.is-offline { color: var(--flame); }
package/dist/247420.css CHANGED
@@ -1700,6 +1700,19 @@
1700
1700
  .ds-247420 .ds-upload-item.done .ds-upload-pct { color: var(--success); }
1701
1701
  .ds-247420 .ds-upload-item.error .ds-upload-fill { background: var(--warn); }
1702
1702
  .ds-247420 .ds-upload-item.error .ds-upload-pct { color: var(--warn); }
1703
+ /* Per-row upload recovery actions (replace / dismiss) — error rows are not dead ends. */
1704
+ .ds-247420 .ds-upload-item { grid-template-columns: minmax(0, 1fr) 120px 44px auto; }
1705
+ .ds-247420 .ds-upload-actions { display: inline-flex; gap: var(--space-1); justify-content: flex-end; }
1706
+ .ds-247420 .ds-upload-act {
1707
+ padding: 2px 10px; min-height: 24px; cursor: pointer;
1708
+ background: var(--bg); border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1);
1709
+ color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-micro);
1710
+ }
1711
+ .ds-247420 .ds-upload-act:hover { background: var(--bg-3); color: var(--fg); }
1712
+ .ds-247420 .ds-upload-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
1713
+ @media (hover: none), (pointer: coarse) {
1714
+ .ds-247420 .ds-upload-act { min-height: 44px; min-width: 44px; }
1715
+ }
1703
1716
 
1704
1717
  /* Empty state */
1705
1718
  .ds-247420 .ds-file-empty {
@@ -1757,6 +1770,14 @@
1757
1770
  font-family: inherit; font-size: var(--fs-sm);
1758
1771
  }
1759
1772
  .ds-247420 .ds-modal-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
1773
+ /* In-body modal error (role=alert): mutation failures (409/403) surface INSIDE
1774
+ the dialog, not behind the fixed overlay. */
1775
+ .ds-247420 .ds-modal-error {
1776
+ margin: var(--space-2) 0 0; padding: 8px 10px;
1777
+ border: var(--bw-hair) solid var(--flame); border-radius: var(--r-2);
1778
+ background: color-mix(in oklab, var(--flame) 12%, var(--bg));
1779
+ color: var(--flame); font-size: var(--fs-xs);
1780
+ }
1760
1781
  .ds-247420 .btn-primary.danger {
1761
1782
  background: var(--warn);
1762
1783
  border-color: var(--warn);
@@ -1886,10 +1907,12 @@
1886
1907
  .ds-247420 .ds-file-row:hover .ds-file-check,
1887
1908
  .ds-247420 .ds-file-row:focus-within .ds-file-check,
1888
1909
  .ds-247420 .ds-file-check.on { opacity: 1; }
1889
- /* Touch / coarse-pointer devices have no hover — keep checkboxes visible so
1890
- multi-select is reachable without a pointer. */
1910
+ /* Touch / coarse-pointer devices have no hover — keep checkboxes AND the
1911
+ per-row action buttons (rename/delete/download) visible so the file manager
1912
+ is fully reachable without a pointer (e.g. an iPad in landscape). */
1891
1913
  @media (hover: none), (pointer: coarse) {
1892
1914
  .ds-247420 .ds-file-check { opacity: 1; }
1915
+ .ds-247420 .ds-file-actions { opacity: 1; }
1893
1916
  }
1894
1917
  .ds-247420 .ds-file-check.on { background: var(--accent); border-color: var(--accent); }
1895
1918
  .ds-247420 .ds-file-row.selected {
@@ -5415,6 +5438,97 @@
5415
5438
  .ds-247420 .ds-session-meta-copy { min-height: 44px; min-width: 44px; }
5416
5439
  }
5417
5440
 
5441
+ /* ============================================================================
5442
+ Logic/predictability sweep (2026-06-10): composer ergonomics, turn notices,
5443
+ windowed thread, dashboard stopping/external states, cwd validation.
5444
+ ============================================================================ */
5445
+
5446
+ /* Enter-to-send hint: visible while the composer is focused or carries a
5447
+ draft; hidden under 420px to save rows. */
5448
+ .ds-247420 .chat-composer-hint {
5449
+ display: none; padding: 2px var(--space-3) 0;
5450
+ font-size: var(--fs-micro); color: var(--fg-3);
5451
+ }
5452
+ .ds-247420 .chat-composer:focus-within .chat-composer-hint,
5453
+ .ds-247420 .chat-composer.has-draft .chat-composer-hint { display: block; }
5454
+ @media (max-width: 420px) {
5455
+ .ds-247420 .chat-composer .chat-composer-hint { display: none; }
5456
+ }
5457
+
5458
+ /* Transient composer note (paste/drop not supported), aria-live polite. */
5459
+ .ds-247420 .chat-composer-note {
5460
+ padding: 4px var(--space-3); font-size: var(--fs-tiny); color: var(--fg-2);
5461
+ }
5462
+
5463
+ /* Drag-over ring: token accent, never a hex. */
5464
+ .ds-247420 .chat-composer.dragover { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-2); }
5465
+
5466
+ /* Per-bit composer context: only the bit that owns a control is a button. */
5467
+ .ds-247420 .chat-composer-context-bit {
5468
+ display: inline; padding: 0; margin: 0;
5469
+ background: none; border: none; cursor: pointer;
5470
+ font: inherit; color: inherit; text-decoration: underline dotted;
5471
+ }
5472
+ .ds-247420 .chat-composer-context-bit:hover { color: var(--fg-2); }
5473
+ .ds-247420 .chat-composer-context-bit:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
5474
+ @media (pointer: coarse) {
5475
+ .ds-247420 .chat-composer-context-bit { min-height: 44px; }
5476
+ }
5477
+
5478
+ /* Out-of-band turn notices: neutral tone (NOT error red) — a stopped or
5479
+ incomplete turn must not read as a finished answer. */
5480
+ .ds-247420 .chat-msg-notice {
5481
+ margin-top: var(--space-1); padding: 6px 10px;
5482
+ border: var(--bw-hair) solid var(--rule); border-radius: var(--r-2);
5483
+ background: var(--bg-2); color: var(--fg-2); font-size: var(--fs-tiny);
5484
+ }
5485
+ .ds-247420 .chat-msg-notice.is-incomplete { border-style: dashed; }
5486
+
5487
+ /* Tail-window streaming head ('streaming · N KB so far'). */
5488
+ .ds-247420 .chat-stream-head {
5489
+ padding: 2px 0 6px; font-family: var(--ff-mono);
5490
+ font-size: var(--fs-micro); color: var(--fg-3);
5491
+ }
5492
+
5493
+ /* Windowed thread: 'show N earlier turns' control at the top. */
5494
+ .ds-247420 .agentchat-earlier {
5495
+ display: flex; align-items: center; justify-content: center;
5496
+ gap: var(--space-3); padding: var(--space-2) var(--space-3);
5497
+ }
5498
+ .ds-247420 .agentchat-earlier-count { font-size: var(--fs-tiny); color: var(--fg-3); }
5499
+ .ds-247420 .agentchat-earlier-btn {
5500
+ padding: 4px 12px; min-height: 32px; border: var(--bw-hair) solid var(--bg-3);
5501
+ border-radius: var(--r-1); background: var(--bg-2); color: var(--fg-2); cursor: pointer;
5502
+ font-family: var(--ff-body); font-size: var(--fs-tiny);
5503
+ }
5504
+ .ds-247420 .agentchat-earlier-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
5505
+ @media (pointer: coarse) {
5506
+ .ds-247420 .agentchat-earlier-btn { min-height: 44px; }
5507
+ }
5508
+
5509
+ /* Inline cwd validation line (checking / error) under the cwd input. */
5510
+ .ds-247420 .agentchat-cwd-hint { font-size: var(--fs-tiny); color: var(--fg-3); }
5511
+ .ds-247420 .agentchat-cwd-hint.is-error { color: var(--flame); }
5512
+
5513
+ /* Dashboard: shared session title heading (same string as the rails). */
5514
+ .ds-247420 .ds-dash-title {
5515
+ font-size: var(--fs-body); font-weight: 600; color: var(--fg);
5516
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
5517
+ }
5518
+
5519
+ /* Stopping state: in-flight cancel reads distinctly from running/error. */
5520
+ .ds-247420 .ds-dash-status.is-stopping { color: var(--amber, #d9a93a); }
5521
+
5522
+ /* External (observed, not owned) session card: no stop control exists. */
5523
+ .ds-247420 .ds-dash-external {
5524
+ padding: 1px 6px; border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-pill);
5525
+ font-size: var(--fs-micro); color: var(--fg-3); text-transform: uppercase; letter-spacing: .03em;
5526
+ }
5527
+ .ds-247420 .ds-dash-card.is-external { border-style: dashed; }
5528
+
5529
+ /* One connection vocabulary: offline (is-lost kept as legacy alias). */
5530
+ .ds-247420 .ds-dash-stream.is-offline { color: var(--flame); }
5531
+
5418
5532
  /* editor-primitives.css */
5419
5533
  /* editor-primitives.css — chrome for in-engine editors, inspectors, IDEs,
5420
5534
  debug HUDs. All rules under .ds-247420 scope (build prefixes). Tokens