@floless/app 0.140.0 → 0.141.1
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/floless-server.cjs +30007 -34004
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +8 -3
- package/dist/web/account-menu.js +168 -0
- package/dist/web/app.css +120 -11
- package/dist/web/app.js +2 -0
- package/dist/web/aware.js +1055 -102
- package/dist/web/chat.css +368 -31
- package/dist/web/chat.js +2382 -134
- package/dist/web/commands-filter.js +86 -8
- package/dist/web/commands-shell.js +180 -9
- package/dist/web/commands-steel.js +22 -14
- package/dist/web/commands.js +19 -0
- package/dist/web/filter-ai-context.js +57 -0
- package/dist/web/filter-ai-proposal.js +87 -0
- package/dist/web/filter-guidance.js +8 -0
- package/dist/web/index.html +102 -11
- package/dist/web/instructor.js +207 -31
- package/dist/web/leave-guard.js +480 -0
- package/dist/web/left-pane.js +185 -18
- package/dist/web/local-discovery.js +60 -13
- package/dist/web/model-editor.css +4 -4
- package/dist/web/model-revit-module.js +63 -0
- package/dist/web/overlay-escape.js +79 -0
- package/dist/web/revit-editor.css +7 -0
- package/dist/web/revit-editor.js +17 -7
- package/dist/web/steel-editor.html +20 -3
- package/dist/web/steel-filter-core.js +298 -12
- package/dist/web/steel-filter-hit.js +526 -0
- package/dist/web/steel-filter.html +1610 -64
- package/dist/web/vector-3d.html +3 -0
- package/dist/web/vector-editor.html +23 -3
- package/dist/web/workspaces.js +424 -41
- package/launch.mjs +32 -1
- package/package.json +4 -2
package/dist/web/chat.css
CHANGED
|
@@ -22,11 +22,17 @@
|
|
|
22
22
|
/* Row 2 is the ⚙ settings strip. It is minmax(0, auto), not a plain auto, so that in a short
|
|
23
23
|
panel it gives height back instead of pushing the feed to 0 and the composer out through the
|
|
24
24
|
host's overflow: hidden edge (#1492). The composer keeps its rigid auto row — it is the one
|
|
25
|
-
thing that must never leave the shell.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
thing that must never leave the shell.
|
|
26
|
+
Row 5, the attachments about to be sent, is min-content rather than auto: that row scrolls
|
|
27
|
+
sideways, and a scroll container's automatic minimum height in a grid is 0, so an auto row gave
|
|
28
|
+
its chips up to the 6px padding whenever the shell ran short. The AI Chat floor (#1515), which
|
|
29
|
+
keeps every row that does not shrink in view, would then have measured and kept that. A
|
|
30
|
+
min-height: min-content on the row itself does not do it — Chromium still sized the track from
|
|
31
|
+
the padding alone; the track's own min-content sizing does. */
|
|
32
|
+
grid-template-rows: auto minmax(0, auto) minmax(0, 1fr) auto min-content minmax(0, auto) auto 0;
|
|
33
|
+
/* Size container so the approval tray's 50cqh cap below measures the shell's own height. Without
|
|
34
|
+
it the cap does not vanish, it silently mis-measures: cqh then falls back to the small viewport,
|
|
35
|
+
which is far taller than a short panel and leaves the tray effectively uncapped. Note this also
|
|
30
36
|
applies layout/size containment, so a position: fixed descendant would be trapped in the shell
|
|
31
37
|
— there are none today. */
|
|
32
38
|
container-type: size;
|
|
@@ -43,19 +49,20 @@
|
|
|
43
49
|
min-height: 43px;
|
|
44
50
|
padding: 7px 8px 7px 10px;
|
|
45
51
|
display: grid;
|
|
46
|
-
grid-template-columns: minmax(0, 1fr);
|
|
52
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
47
53
|
align-items: center;
|
|
48
54
|
gap: 7px;
|
|
49
55
|
border-bottom: 1px solid var(--border);
|
|
50
56
|
}
|
|
51
57
|
|
|
58
|
+
/* Holds only the screen-reader tab now; the history / new / refresh / settings controls sit in the
|
|
59
|
+
header row beside the conversation's name, so this row takes no room. */
|
|
52
60
|
.ai-chat-controls {
|
|
53
|
-
min-height:
|
|
54
|
-
padding:
|
|
61
|
+
min-height: 0;
|
|
62
|
+
padding: 0;
|
|
55
63
|
display: flex;
|
|
56
64
|
align-items: center;
|
|
57
65
|
justify-content: flex-end;
|
|
58
|
-
border-bottom: 1px solid var(--border);
|
|
59
66
|
background: var(--surface);
|
|
60
67
|
--text-muted: #c3ccd9;
|
|
61
68
|
--text-dim: #8996a8;
|
|
@@ -79,7 +86,7 @@
|
|
|
79
86
|
padding: 0;
|
|
80
87
|
background: transparent;
|
|
81
88
|
color: var(--text-muted);
|
|
82
|
-
font: 14px/1 var(--
|
|
89
|
+
font: 14px/1 var(--ui);
|
|
83
90
|
cursor: pointer;
|
|
84
91
|
opacity: 0;
|
|
85
92
|
transition: opacity .12s ease, background .12s ease, color .12s ease;
|
|
@@ -137,17 +144,20 @@
|
|
|
137
144
|
padding: 1px 8px;
|
|
138
145
|
border-bottom: 1px solid var(--border);
|
|
139
146
|
background: var(--border);
|
|
140
|
-
/*
|
|
141
|
-
|
|
142
|
-
view when there is room for it (#1492). */
|
|
147
|
+
/* Open, Settings is its own view in the conversation's place (below), so it scrolls within that
|
|
148
|
+
space; with the feed and composer hidden it cannot push the composer out of the shell (#1492). */
|
|
143
149
|
min-height: 0;
|
|
144
|
-
max-height: 50cqh;
|
|
145
150
|
overflow-y: auto;
|
|
146
151
|
overscroll-behavior: contain;
|
|
147
152
|
scrollbar-width: thin;
|
|
148
153
|
scrollbar-color: var(--border-strong) var(--surface);
|
|
149
154
|
}
|
|
150
155
|
.ai-chat-settings[hidden] { display: none; }
|
|
156
|
+
/* Settings is its own view, like History: open, it takes the conversation's place rather than
|
|
157
|
+
sitting above it, and the pressed ⚙ closes it again. */
|
|
158
|
+
.ai-chat-shell:has(> .ai-chat-settings:not([hidden])) > .ai-chat-settings { grid-row: 2 / 8; align-self: start; max-height: 100%; }
|
|
159
|
+
.ai-chat-shell:has(> .ai-chat-settings:not([hidden])) > :is(.ai-chat-feed, .ai-chat-offscreen-activity, .ai-chat-approval-tray, .ai-chat-runtime, .ai-chat-recovery, .ai-chat-attachments, .ai-chat-skills, .ai-chat-composer) { display: none; }
|
|
160
|
+
.ai-chat-tab-actions .ai-chat-icon[aria-expanded="true"] { border-color: var(--border-strong); background: var(--surface-2); color: var(--text); }
|
|
151
161
|
.ai-chat-setting {
|
|
152
162
|
appearance: none;
|
|
153
163
|
min-width: 0;
|
|
@@ -162,7 +172,9 @@
|
|
|
162
172
|
.ai-chat-setting:hover { background: var(--surface-2); }
|
|
163
173
|
/* When the strip scrolls, keyboard focus must not land flush under the toolbar's hairline. */
|
|
164
174
|
.ai-chat-setting, .ai-chat-provider { scroll-margin-block: 4px; }
|
|
165
|
-
|
|
175
|
+
/* Settings text has three tiers, used the same way everywhere: dim uppercase labels, bright values,
|
|
176
|
+
and readable muted prose for the notes. */
|
|
177
|
+
.ai-chat-setting > span { display: block; color: var(--text-dim); font: 8px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
166
178
|
.ai-chat-setting > strong { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font: 10px/1.25 var(--mono); font-weight: 500; }
|
|
167
179
|
.ai-chat-setting:disabled { cursor: default; opacity: 1; }
|
|
168
180
|
.ai-chat-setting:disabled > strong { color: var(--text-dim); }
|
|
@@ -192,7 +204,10 @@
|
|
|
192
204
|
white-space: nowrap;
|
|
193
205
|
}
|
|
194
206
|
.ai-chat-provider-switch:hover { color: var(--text); border-color: var(--accent-dim); background: var(--surface-2); }
|
|
195
|
-
|
|
207
|
+
/* `aria-disabled` is the empty state's pending sign-in (#1514): focusable, but it must read — and
|
|
208
|
+
hover — exactly like a disabled one. After :hover so it wins at equal specificity. */
|
|
209
|
+
.ai-chat-provider-switch:disabled,
|
|
210
|
+
.ai-chat-provider-switch[aria-disabled="true"] { cursor: default; color: var(--text-dim); border-color: var(--border); background: var(--surface); }
|
|
196
211
|
.ai-chat-provider-switch[hidden] { display: none; }
|
|
197
212
|
.ai-chat-integration-setting {
|
|
198
213
|
grid-column: 1 / -1;
|
|
@@ -224,14 +239,14 @@
|
|
|
224
239
|
letter-spacing: .08em;
|
|
225
240
|
text-transform: uppercase;
|
|
226
241
|
}
|
|
227
|
-
.ai-chat-desktop-status strong { color: var(--text
|
|
228
|
-
.ai-chat-desktop-status small { display: block; margin-top: 4px; color: var(--text-
|
|
242
|
+
.ai-chat-desktop-status strong { color: var(--text); font: 10px/1.25 var(--mono); font-weight: 500; }
|
|
243
|
+
.ai-chat-desktop-status small { display: block; margin-top: 4px; color: var(--text-muted); font: 9px/1.35 var(--ui); }
|
|
229
244
|
.ai-chat-desktop-status p {
|
|
230
245
|
margin: 7px 0 0;
|
|
231
246
|
padding-top: 7px;
|
|
232
247
|
border-top: 1px solid var(--border);
|
|
233
|
-
color: var(--text-
|
|
234
|
-
font: 9px/1.4 var(--
|
|
248
|
+
color: var(--text-muted);
|
|
249
|
+
font: 9px/1.4 var(--ui);
|
|
235
250
|
}
|
|
236
251
|
|
|
237
252
|
.ai-chat-picker {
|
|
@@ -310,7 +325,7 @@
|
|
|
310
325
|
.ai-chat-history[hidden] { display: none; }
|
|
311
326
|
.ai-chat-shell.history-open .ai-chat-history { display: block; grid-row: 3 / 8; }
|
|
312
327
|
.ai-chat-shell.history-open .ai-chat-feed,
|
|
313
|
-
.ai-chat-shell.history-open .ai-chat-approval,
|
|
328
|
+
.ai-chat-shell.history-open .ai-chat-approval-tray,
|
|
314
329
|
.ai-chat-shell.history-open .ai-chat-runtime,
|
|
315
330
|
.ai-chat-shell.history-open .ai-chat-recovery,
|
|
316
331
|
.ai-chat-shell.history-open .ai-chat-attachments,
|
|
@@ -396,7 +411,7 @@
|
|
|
396
411
|
place-items: center;
|
|
397
412
|
background: transparent;
|
|
398
413
|
color: var(--text-muted);
|
|
399
|
-
font: 13px/1 var(--
|
|
414
|
+
font: 13px/1 var(--ui);
|
|
400
415
|
cursor: pointer;
|
|
401
416
|
transition: border-color .12s ease, color .12s ease, background .12s ease;
|
|
402
417
|
}
|
|
@@ -427,7 +442,7 @@
|
|
|
427
442
|
border: 1px solid var(--accent);
|
|
428
443
|
border-radius: 3px;
|
|
429
444
|
padding: 1px 4px;
|
|
430
|
-
background: var(--surface-
|
|
445
|
+
background: var(--surface-2);
|
|
431
446
|
color: var(--text);
|
|
432
447
|
font: inherit;
|
|
433
448
|
line-height: 1.25;
|
|
@@ -443,9 +458,18 @@
|
|
|
443
458
|
white-space: nowrap;
|
|
444
459
|
}
|
|
445
460
|
.ai-chat-history-empty { padding: 14px 8px; color: var(--text-dim); font-size: 11px; line-height: 1.5; }
|
|
461
|
+
/* A conversation whose saved file is damaged (#1619). It opens nothing, so it neither looks nor
|
|
462
|
+
behaves clickable; its one action, Discard, is always shown rather than revealed on hover. */
|
|
463
|
+
/* Title above meta: side by side, a narrow panel cut the only sentence that explains the row. */
|
|
464
|
+
.ai-chat-history-row.unreadable { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-right: 44px; cursor: default; }
|
|
465
|
+
.ai-chat-history-row.unreadable:hover { background: transparent; color: var(--text-muted); }
|
|
466
|
+
.ai-chat-history-row.unreadable .ai-chat-history-title { color: var(--warn); }
|
|
467
|
+
.ai-chat-history-actions.always-on { opacity: 1; }
|
|
468
|
+
.ai-chat-unreadable-notice { margin-top: 10px; color: var(--text-dim); font-size: 11px; line-height: 1.5; }
|
|
446
469
|
|
|
447
470
|
.ai-chat-feed {
|
|
448
471
|
grid-row: 3;
|
|
472
|
+
grid-column: 1;
|
|
449
473
|
box-sizing: border-box;
|
|
450
474
|
min-height: 0;
|
|
451
475
|
min-width: 0;
|
|
@@ -462,6 +486,14 @@
|
|
|
462
486
|
scrollbar-width: thin;
|
|
463
487
|
scrollbar-color: var(--border-strong) var(--surface);
|
|
464
488
|
overscroll-behavior: contain;
|
|
489
|
+
/* A named size container so the empty state can ask how tall the conversation area ACTUALLY is
|
|
490
|
+
(#1501). The shell's own container is no use here: it stays 250px whether the ⚙ strip is open
|
|
491
|
+
or closed, while the feed underneath it goes from 85px to nothing. Size containment costs
|
|
492
|
+
nothing — this row is minmax(0, 1fr), so the grid already sets the feed's height and its
|
|
493
|
+
content never did — and the one overlay that could have been trapped by it, .ai-chat-picker,
|
|
494
|
+
is a sibling of the feed, not a descendant. The name is required: a @container rule can only
|
|
495
|
+
match DESCENDANTS of its container, so the rules below target .ai-chat-empty, never the feed. */
|
|
496
|
+
container: aiChatFeed / size;
|
|
465
497
|
}
|
|
466
498
|
/* The spacers reproduce the old 12px top / 28px bottom gutters exactly: the 12px flex gap sits
|
|
467
499
|
between each spacer and the nearest row, so the top one needs no height of its own and the
|
|
@@ -470,6 +502,40 @@
|
|
|
470
502
|
.ai-chat-feed::after { content: ''; flex: none; }
|
|
471
503
|
.ai-chat-feed::before { height: 0; }
|
|
472
504
|
.ai-chat-feed::after { height: 16px; }
|
|
505
|
+
.ai-chat-offscreen-activity {
|
|
506
|
+
grid-row: 4;
|
|
507
|
+
grid-column: 1;
|
|
508
|
+
justify-self: center;
|
|
509
|
+
align-self: end;
|
|
510
|
+
z-index: 2;
|
|
511
|
+
display: inline-flex;
|
|
512
|
+
align-items: center;
|
|
513
|
+
justify-content: center;
|
|
514
|
+
min-width: 38px;
|
|
515
|
+
min-height: 26px;
|
|
516
|
+
margin-bottom: 7px;
|
|
517
|
+
padding: 5px 9px;
|
|
518
|
+
border: 1px solid var(--border-strong);
|
|
519
|
+
border-radius: 14px;
|
|
520
|
+
background: var(--surface-2);
|
|
521
|
+
box-shadow: 0 2px 8px color-mix(in srgb, #000 20%, transparent);
|
|
522
|
+
color: var(--accent);
|
|
523
|
+
pointer-events: none;
|
|
524
|
+
}
|
|
525
|
+
.ai-chat-offscreen-activity[hidden],
|
|
526
|
+
.ai-chat-shell.history-open .ai-chat-offscreen-activity { display: none; }
|
|
527
|
+
/* Those gutters exist to keep MESSAGES clear of the toolbar and the composer. When the feed's
|
|
528
|
+
content is the empty-state card instead, they buy nothing and cost 40px — 12px of gap above the
|
|
529
|
+
card, 12px of gap plus the 16px spacer below it — which is subtracted from the card's budget at
|
|
530
|
+
every height. At a very short panel that is more than the whole conversation area, so the card
|
|
531
|
+
began below the visible edge and the user saw a blank strip with the action nowhere (#1501).
|
|
532
|
+
The card centres itself with `margin: auto 0` whenever there is free space, so dropping the
|
|
533
|
+
gutters is invisible at a tall panel and is the difference between fitting and not at a short
|
|
534
|
+
one. Not a container query: a @container rule cannot style its own container's pseudo-elements,
|
|
535
|
+
and this has to reach the feed's own ::after. */
|
|
536
|
+
.ai-chat-feed:has(> .ai-chat-empty) { gap: 0; }
|
|
537
|
+
.ai-chat-feed:has(> .ai-chat-empty)::before,
|
|
538
|
+
.ai-chat-feed:has(> .ai-chat-empty)::after { height: 0; }
|
|
473
539
|
.ai-chat-empty {
|
|
474
540
|
margin: auto 0;
|
|
475
541
|
padding: 22px 14px;
|
|
@@ -489,9 +555,77 @@
|
|
|
489
555
|
.ai-chat-provider-accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 8px; color: var(--text-dim); font: 9.5px/1.4 var(--mono); }
|
|
490
556
|
.ai-chat-provider-accounts > span { min-width: 0; overflow-wrap: anywhere; }
|
|
491
557
|
.ai-chat-start-provider { min-width: 0; padding: 7px 8px; font-size: 11px; }
|
|
558
|
+
/* In a short panel the card is TALLER than the conversation area it is centred in, so the control
|
|
559
|
+
the empty state exists for — the Sign in… button of #1484, or the provider choice — is painted
|
|
560
|
+
below the feed's visible edge and only scrolling reveals it (#1501). The card therefore gives up
|
|
561
|
+
its explanation, which is the expendable part, before it gives up its action.
|
|
562
|
+
|
|
563
|
+
Because the gutters above are dropped for this card, its budget IS the feed's height. Every
|
|
564
|
+
threshold below is the TALLEST form of that tier measured in the browser at 1280x720, rounded up
|
|
565
|
+
a few px for sub-pixel and border rounding. The tallest is what sets them: one threshold serves
|
|
566
|
+
four empty states, so sizing it to the signed-out card alone would leave the provider chooser —
|
|
567
|
+
the tallest of them — overflowing in the band just above it. Measured full cards, for the record:
|
|
568
|
+
chooser 202.48px, pending sign-in 156.57px, signed-out 120.93px.
|
|
569
|
+
|
|
570
|
+
≤ 208px: the full card no longer fits. Tallest is the chooser at 202.48px, so the prose and the
|
|
571
|
+
signed-in account line go and the padding tightens, leaving title over action.
|
|
572
|
+
≤ 94px: that stacked form no longer fits either — tallest is again the chooser, at 88.4px — so
|
|
573
|
+
the card collapses to a single centred row.
|
|
574
|
+
≤ 52px: the row no longer fits; tallest is the chooser's at 48.25px.
|
|
575
|
+
≤ 44px: not even the bare action fits; tallest is the chooser's at 40.25px.
|
|
576
|
+
|
|
577
|
+
Do NOT scale the 7px radius or drop the dashed border on the way down — the box is baseline
|
|
578
|
+
chrome at every size; only the padding compresses. */
|
|
579
|
+
@container aiChatFeed (max-height: 208px) {
|
|
580
|
+
.ai-chat-empty { padding: 11px 14px; }
|
|
581
|
+
.ai-chat-empty-copy, .ai-chat-provider-accounts { display: none; }
|
|
582
|
+
.ai-chat-empty-signin { margin-top: 8px; }
|
|
583
|
+
}
|
|
584
|
+
@container aiChatFeed (max-height: 94px) {
|
|
585
|
+
/* One row of "title, plus a trailing control if this state has one" — two of the four empty
|
|
586
|
+
states carry no button at all, so this must read correctly with the control absent. */
|
|
587
|
+
.ai-chat-empty {
|
|
588
|
+
display: flex;
|
|
589
|
+
flex-wrap: wrap;
|
|
590
|
+
align-items: center;
|
|
591
|
+
justify-content: center;
|
|
592
|
+
gap: 4px 8px;
|
|
593
|
+
padding: 7px 10px;
|
|
594
|
+
}
|
|
595
|
+
.ai-chat-empty strong { margin-bottom: 0; font-size: 12px; }
|
|
596
|
+
.ai-chat-empty-signin { margin-top: 0; }
|
|
597
|
+
.ai-chat-provider-row { margin-top: 0; }
|
|
598
|
+
/* No title-hiding rule for the pending sign-in here any more: its title ("Waiting for sign-in…")
|
|
599
|
+
and its button ("Sign-in window open") no longer carry the same words (#1516), so side by side
|
|
600
|
+
they read as state + object, and the title keeps naming the state in this band. */
|
|
601
|
+
}
|
|
602
|
+
/* Below the height where even that row fits — the tallest is the chooser's at 48.25px, so 52px
|
|
603
|
+
with the same rounding — the priority order takes its last step: the title goes, the action
|
|
604
|
+
stays. Gated on there BEING a live action: two of the four empty states carry no button at all,
|
|
605
|
+
and dropping their title would leave an empty dashed box, which is worse than a clipped one.
|
|
606
|
+
The pending sign-in's button is `aria-disabled`, not `:disabled`, so it is kept here too, on
|
|
607
|
+
purpose (#1514): it is focusable, its name says a sign-in window is open and its description
|
|
608
|
+
carries the prose, so it is the part of that card that still tells every user the state. */
|
|
609
|
+
@container aiChatFeed (max-height: 52px) {
|
|
610
|
+
.ai-chat-empty:has(button:not(:disabled)) strong { display: none; }
|
|
611
|
+
.ai-chat-empty { padding: 3px 8px; }
|
|
612
|
+
}
|
|
613
|
+
/* And below the height where the bare action itself fits, nothing does. A partly visible button is
|
|
614
|
+
worse than no button: it offers an affordance it cannot deliver, and because negative free space
|
|
615
|
+
collapses the card's `margin: auto 0` to 0 and start-aligns it, what gets clipped is the BOTTOM
|
|
616
|
+
— the button — not the box around it. So the card goes. Tallest bare-action card measured is
|
|
617
|
+
again the chooser's, at 40.25px, hence 44px.
|
|
618
|
+
|
|
619
|
+
This is not a new idea: #1492 already accepts "too short shows nothing" for the feed's own grid
|
|
620
|
+
track. This extends that floor up to where the ACTIONABLE states stop fitting, instead of
|
|
621
|
+
starting below them. It needs no new copy — the composer's hint line still names the state. */
|
|
622
|
+
@container aiChatFeed (max-height: 44px) {
|
|
623
|
+
.ai-chat-empty { display: none; }
|
|
624
|
+
}
|
|
492
625
|
|
|
493
626
|
.ai-chat-message { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 100%; }
|
|
494
|
-
|
|
627
|
+
/* Speaker and time sit together, as on the person's own messages, not pinned to opposite edges. */
|
|
628
|
+
.ai-chat-message-head { display: flex; justify-content: flex-start; gap: 8px; color: var(--text); font: 8.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
495
629
|
.ai-chat-message.user .ai-chat-message-head { color: var(--accent); }
|
|
496
630
|
.ai-chat-message-body {
|
|
497
631
|
max-width: 92%;
|
|
@@ -516,6 +650,12 @@
|
|
|
516
650
|
.ai-chat-message-body a { color: var(--accent); text-decoration: underline; }
|
|
517
651
|
.ai-chat-message.user { align-items: flex-end; }
|
|
518
652
|
.ai-chat-message.user .ai-chat-message-head { align-self: flex-end; width: auto; justify-content: flex-end; }
|
|
653
|
+
.ai-chat-message-delivery { align-self: flex-end; color: var(--text-dim); font: 10px/1.35 var(--mono); }
|
|
654
|
+
.ai-chat-message-delivery-detail { max-width: min(100%, 360px); text-align: right; font: 11px/1.4 var(--ui); }
|
|
655
|
+
.ai-chat-followup-resolve { align-self: flex-end; min-height: 24px; padding: 3px 7px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--text-muted); font: 10px/1.35 var(--ui); cursor: pointer; }
|
|
656
|
+
.ai-chat-followup-resolve:hover { color: var(--text); background: var(--surface-3); }
|
|
657
|
+
.ai-chat-followup-resolve:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
658
|
+
.ai-chat-followup-resolve:disabled { opacity: .55; cursor: wait; }
|
|
519
659
|
.ai-chat-message.user .ai-chat-message-body { border-left: 0; border-right: 2px solid var(--accent); background: var(--accent-soft); color: var(--text); }
|
|
520
660
|
.ai-chat-message.answer-jump {
|
|
521
661
|
outline: 2px solid var(--accent);
|
|
@@ -572,6 +712,47 @@
|
|
|
572
712
|
.ai-chat-request-actions button:hover { color: var(--text); background: var(--surface-3); }
|
|
573
713
|
.ai-chat-request-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
574
714
|
|
|
715
|
+
.ai-chat-filter-card {
|
|
716
|
+
margin-top: 6px;
|
|
717
|
+
padding: 10px;
|
|
718
|
+
border: 1px solid var(--border-strong);
|
|
719
|
+
border-left: 2px solid var(--accent);
|
|
720
|
+
border-radius: 6px;
|
|
721
|
+
background: var(--surface-2);
|
|
722
|
+
color: var(--text);
|
|
723
|
+
}
|
|
724
|
+
.ai-chat-filter-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11px; line-height: 15px; }
|
|
725
|
+
.ai-chat-filter-card-head strong { font-weight: 600; }
|
|
726
|
+
.ai-chat-filter-state { color: var(--text-dim); font: 600 8px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
727
|
+
.ai-chat-filter-changes { display: flex; flex-direction: column; gap: 4px; max-height: 180px; margin: 8px 0 0; padding: 0; overflow-y: auto; list-style: none;
|
|
728
|
+
scrollbar-width: thin; scrollbar-color: var(--border-strong) var(--surface-2); }
|
|
729
|
+
.ai-chat-filter-changes::-webkit-scrollbar { width: 8px; }
|
|
730
|
+
.ai-chat-filter-changes::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--border-strong); }
|
|
731
|
+
.ai-chat-filter-changes::-webkit-scrollbar-track { background: var(--surface-2); }
|
|
732
|
+
.ai-chat-filter-change { display: flex; gap: 6px; color: var(--text); font-size: 11px; line-height: 15px; overflow-wrap: anywhere; }
|
|
733
|
+
.ai-chat-filter-change-glyph { flex: none; width: 1em; color: var(--text-muted); font: 11px/15px var(--mono); text-align: center; }
|
|
734
|
+
.ai-chat-filter-change.include .ai-chat-filter-change-glyph::before { content: '+'; }
|
|
735
|
+
.ai-chat-filter-change.exclude .ai-chat-filter-change-glyph::before { content: '\2212'; }
|
|
736
|
+
.ai-chat-filter-change.match .ai-chat-filter-change-glyph::before { content: '\2022'; }
|
|
737
|
+
.ai-chat-filter-note { margin: 8px 0 0; color: var(--text-muted); font-size: 10.5px; line-height: 14px; overflow-wrap: anywhere; }
|
|
738
|
+
.ai-chat-filter-note:empty { display: none; }
|
|
739
|
+
.ai-chat-filter-note:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
740
|
+
.ai-chat-filter-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 8px; }
|
|
741
|
+
.ai-chat-filter-actions[hidden] { display: none; }
|
|
742
|
+
.ai-chat-filter-actions button { min-height: 26px; padding: 4px 9px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--text-muted); font-size: 10px; font-weight: 600; cursor: pointer; }
|
|
743
|
+
.ai-chat-filter-actions button:hover { color: var(--text); background: var(--surface-3); }
|
|
744
|
+
.ai-chat-filter-actions .ai-chat-filter-apply { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
745
|
+
.ai-chat-filter-actions .ai-chat-filter-apply:hover { background: var(--accent); filter: brightness(1.08); }
|
|
746
|
+
.ai-chat-filter-actions button[aria-disabled="true"] { cursor: default; opacity: .45; filter: none; }
|
|
747
|
+
.ai-chat-filter-actions .ai-chat-filter-apply[aria-disabled="true"] { border-color: var(--border-strong); background: var(--surface); color: var(--text-dim); }
|
|
748
|
+
.ai-chat-filter-actions button[aria-disabled="true"]:hover { background: var(--surface); color: var(--text-dim); filter: none; }
|
|
749
|
+
.ai-chat-filter-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
750
|
+
/* Status under the person's own (right-aligned) message. Outranks the shared left-aligned, one-line
|
|
751
|
+
live status, so a longer note wraps under the message instead of being cut off at the left edge. */
|
|
752
|
+
.ai-chat-live-status.ai-chat-filter-pending { align-self: flex-end; gap: 6px; height: auto; max-width: min(100%, 360px); margin: 2px 0 0; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
|
|
753
|
+
.ai-chat-filter-pending .ai-chat-live-label { white-space: normal; text-align: right; overflow-wrap: anywhere; }
|
|
754
|
+
.ai-chat-filter-notice { align-self: flex-end; max-width: min(100%, 360px); margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.4; text-align: right; overflow-wrap: anywhere; }
|
|
755
|
+
|
|
575
756
|
.ai-chat-event {
|
|
576
757
|
border: 1px solid var(--border);
|
|
577
758
|
border-radius: 5px;
|
|
@@ -621,16 +802,42 @@
|
|
|
621
802
|
@keyframes ai-chat-history-spin { to { transform: translateY(-50%) rotate(360deg); } }
|
|
622
803
|
|
|
623
804
|
.ai-chat-approval {
|
|
805
|
+
flex: none;
|
|
624
806
|
border: 1px solid color-mix(in srgb, var(--warn) 50%, var(--border));
|
|
625
807
|
border-radius: 6px;
|
|
626
808
|
padding: 9px;
|
|
627
809
|
background: color-mix(in srgb, var(--warn) 7%, var(--surface-2));
|
|
628
810
|
}
|
|
811
|
+
.ai-chat-approval-tray {
|
|
812
|
+
grid-row: 6;
|
|
813
|
+
min-height: 0;
|
|
814
|
+
/* A pending decision and the compact request grant fit together in ordinary short panels;
|
|
815
|
+
the feed yields space while the composer keeps its fixed row. */
|
|
816
|
+
max-height: 50cqh;
|
|
817
|
+
overflow-y: auto;
|
|
818
|
+
overscroll-behavior: contain;
|
|
819
|
+
display: flex;
|
|
820
|
+
flex-direction: column;
|
|
821
|
+
gap: 6px;
|
|
822
|
+
margin: 8px 8px 0;
|
|
823
|
+
scrollbar-width: thin;
|
|
824
|
+
scrollbar-color: var(--border-strong) var(--surface);
|
|
825
|
+
}
|
|
826
|
+
.ai-chat-approval-tray:empty { display: none; }
|
|
629
827
|
.ai-chat-approval strong { display: block; color: var(--text); font-size: 11px; }
|
|
630
828
|
.ai-chat-approval p { margin: 5px 0 8px; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
631
829
|
.ai-chat-approval-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
|
|
632
830
|
.ai-chat-approval button { padding: 5px 9px; font-size: 10px; }
|
|
633
|
-
.ai-chat-approval-scope {
|
|
831
|
+
.ai-chat-approval-scope {
|
|
832
|
+
display: grid;
|
|
833
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
834
|
+
align-items: center;
|
|
835
|
+
gap: 8px;
|
|
836
|
+
padding: 6px 8px;
|
|
837
|
+
border-color: var(--border-strong);
|
|
838
|
+
background: var(--surface-2);
|
|
839
|
+
}
|
|
840
|
+
.ai-chat-approval-scope strong { min-width: 0; line-height: 1.3; }
|
|
634
841
|
.ai-chat-approval .allow { border-color: var(--accent); color: var(--text); }
|
|
635
842
|
/* Managed runtime setup (FloLess installing its tested Claude Code / Codex). Neutral while setting up —
|
|
636
843
|
nothing has gone wrong — with the approval card's warn tint only once setup failed. There is no byte
|
|
@@ -697,6 +904,118 @@
|
|
|
697
904
|
.ai-chat-attachment img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; background: var(--surface-3); }
|
|
698
905
|
.ai-chat-attachment button { width: 18px; height: 18px; padding: 0; flex: none; }
|
|
699
906
|
|
|
907
|
+
/* The Tekla model library carried over from a Graft receipt. It sits in the composer's rigid row,
|
|
908
|
+
above the input, and wraps rather than ellipsising: it states exactly what the binding permits,
|
|
909
|
+
so a cut-off line would hide the permission. Deliberately neutral — no success colour or icon —
|
|
910
|
+
because it is not a verification claim; each approved read gets its own receipt card. */
|
|
911
|
+
.ai-chat-tekla-context { margin-bottom: 6px; }
|
|
912
|
+
.ai-chat-tekla-context[hidden] { display: none; }
|
|
913
|
+
.ai-chat-tekla-chip {
|
|
914
|
+
display: flex;
|
|
915
|
+
align-items: flex-start;
|
|
916
|
+
gap: 8px;
|
|
917
|
+
padding: 6px 6px 6px 9px;
|
|
918
|
+
border: 1px solid var(--border);
|
|
919
|
+
border-radius: 5px;
|
|
920
|
+
background: var(--surface-2);
|
|
921
|
+
color: var(--text-muted);
|
|
922
|
+
font: 10.5px/1.45 var(--ui);
|
|
923
|
+
}
|
|
924
|
+
.ai-chat-tekla-chip-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
925
|
+
.ai-chat-tekla-chip-copy strong { color: var(--text); font-weight: 600; }
|
|
926
|
+
.ai-chat-tekla-chip-state { color: var(--text-dim); }
|
|
927
|
+
.ai-chat-tekla-remove {
|
|
928
|
+
flex: none;
|
|
929
|
+
appearance: none;
|
|
930
|
+
padding: 3px 8px;
|
|
931
|
+
border: 1px solid var(--border-strong);
|
|
932
|
+
border-radius: 4px;
|
|
933
|
+
background: var(--surface);
|
|
934
|
+
color: var(--text-muted);
|
|
935
|
+
font: 10px var(--ui);
|
|
936
|
+
cursor: pointer;
|
|
937
|
+
}
|
|
938
|
+
.ai-chat-tekla-remove:hover:not(:disabled) { color: var(--text); background: var(--surface-3); }
|
|
939
|
+
.ai-chat-tekla-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
940
|
+
.ai-chat-tekla-remove:disabled { cursor: wait; opacity: .65; }
|
|
941
|
+
.ai-chat-tekla-context[data-state="error"] .ai-chat-tekla-chip { border-color: color-mix(in srgb, var(--err) 42%, var(--border)); }
|
|
942
|
+
.ai-chat-tekla-context[data-state="removing"] .ai-chat-tekla-chip,
|
|
943
|
+
.ai-chat-tekla-context[data-state="binding"] .ai-chat-tekla-chip { opacity: .75; }
|
|
944
|
+
.ai-chat-tekla-error { margin: 5px 2px 0; color: var(--err); font: 10.5px/1.45 var(--ui); }
|
|
945
|
+
|
|
946
|
+
/* A server-authored receipt of one approved live Tekla read, in the Graft receipt's look. */
|
|
947
|
+
.ai-chat-tekla-read {
|
|
948
|
+
display: flex;
|
|
949
|
+
flex-direction: column;
|
|
950
|
+
gap: 7px;
|
|
951
|
+
padding: 8px 9px;
|
|
952
|
+
border: 1px solid var(--border);
|
|
953
|
+
border-left: 3px solid var(--ok);
|
|
954
|
+
border-radius: 0 5px 5px 0;
|
|
955
|
+
background: color-mix(in srgb, var(--ok) 8%, var(--surface-2));
|
|
956
|
+
color: var(--text);
|
|
957
|
+
font: 11px/1.45 var(--ui);
|
|
958
|
+
}
|
|
959
|
+
.ai-chat-tekla-read.unverified {
|
|
960
|
+
border-left-color: var(--warn);
|
|
961
|
+
background: color-mix(in srgb, var(--warn) 8%, var(--surface-2));
|
|
962
|
+
}
|
|
963
|
+
.ai-chat-tekla-read > strong { font-size: 11px; font-weight: 600; }
|
|
964
|
+
.ai-chat-tekla-read p { margin: 0; color: var(--text-muted); }
|
|
965
|
+
.ai-chat-tekla-read dl {
|
|
966
|
+
margin: 0;
|
|
967
|
+
padding: 7px 9px;
|
|
968
|
+
display: grid;
|
|
969
|
+
grid-template-columns: auto 1fr;
|
|
970
|
+
gap: 4px 10px;
|
|
971
|
+
border: 1px solid var(--border-strong);
|
|
972
|
+
border-radius: 5px;
|
|
973
|
+
background: var(--surface-2);
|
|
974
|
+
}
|
|
975
|
+
.ai-chat-tekla-read dt { margin: 0; align-self: baseline; color: var(--text-muted); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
|
|
976
|
+
.ai-chat-tekla-read dd { margin: 0; min-width: 0; font: 10px/1.45 var(--mono); overflow-wrap: anywhere; }
|
|
977
|
+
/* The selection receipt (#1598): a compact part schedule. Summary first, so a cut-short list says so
|
|
978
|
+
before anyone scrolls; the table scrolls inside the card (the global themed scrollbar applies). */
|
|
979
|
+
.ai-chat-tekla-summary { display: flex; flex-direction: column; gap: 2px; }
|
|
980
|
+
.ai-chat-tekla-read .ai-chat-tekla-summary p { color: var(--text); font-variant-numeric: tabular-nums; }
|
|
981
|
+
.ai-chat-tekla-parts {
|
|
982
|
+
max-height: min(240px, 40vh);
|
|
983
|
+
overflow: auto;
|
|
984
|
+
border: 1px solid var(--border-strong);
|
|
985
|
+
border-radius: 5px;
|
|
986
|
+
background: var(--surface-2);
|
|
987
|
+
}
|
|
988
|
+
.ai-chat-tekla-parts:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
989
|
+
.ai-chat-tekla-parts table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 10px/1.45 var(--ui); }
|
|
990
|
+
.ai-chat-tekla-parts th {
|
|
991
|
+
position: sticky;
|
|
992
|
+
top: 0;
|
|
993
|
+
z-index: 1;
|
|
994
|
+
padding: 4px 6px;
|
|
995
|
+
background: var(--surface-2);
|
|
996
|
+
border-bottom: 1px solid var(--border-strong);
|
|
997
|
+
color: var(--text-muted);
|
|
998
|
+
font-size: 9px;
|
|
999
|
+
font-weight: 500;
|
|
1000
|
+
letter-spacing: .04em;
|
|
1001
|
+
text-align: left;
|
|
1002
|
+
text-transform: uppercase;
|
|
1003
|
+
}
|
|
1004
|
+
.ai-chat-tekla-parts th:nth-child(1) { width: 17%; }
|
|
1005
|
+
.ai-chat-tekla-parts th:nth-child(5) { width: 15%; }
|
|
1006
|
+
.ai-chat-tekla-parts td {
|
|
1007
|
+
padding: 3px 6px;
|
|
1008
|
+
border-bottom: 1px solid var(--border);
|
|
1009
|
+
overflow: hidden;
|
|
1010
|
+
text-overflow: ellipsis;
|
|
1011
|
+
white-space: nowrap;
|
|
1012
|
+
}
|
|
1013
|
+
.ai-chat-tekla-parts tbody tr:last-child td { border-bottom: 0; }
|
|
1014
|
+
.ai-chat-tekla-parts td.mark,
|
|
1015
|
+
.ai-chat-tekla-parts td.profile { font-family: var(--mono); }
|
|
1016
|
+
.ai-chat-tekla-parts .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
|
|
1017
|
+
.ai-chat-tekla-parts td.empty { color: var(--text-dim, var(--text-muted)); }
|
|
1018
|
+
|
|
700
1019
|
.ai-chat-skills {
|
|
701
1020
|
position: absolute;
|
|
702
1021
|
z-index: 19;
|
|
@@ -717,7 +1036,7 @@
|
|
|
717
1036
|
.ai-chat-skill-origin { color: var(--text-dim); font: 8px/1.3 var(--mono); text-transform: uppercase; }
|
|
718
1037
|
|
|
719
1038
|
.ai-chat-composer {
|
|
720
|
-
grid-row:
|
|
1039
|
+
grid-row: 7;
|
|
721
1040
|
margin-top: 8px;
|
|
722
1041
|
padding: 7px 8px 8px;
|
|
723
1042
|
border-top: 1px solid var(--border);
|
|
@@ -735,19 +1054,37 @@
|
|
|
735
1054
|
border-radius: 6px;
|
|
736
1055
|
background: var(--surface-2);
|
|
737
1056
|
color: var(--text);
|
|
738
|
-
font: 12px/1.45 var(--
|
|
1057
|
+
font: 12px/1.45 var(--ui);
|
|
739
1058
|
caret-color: var(--accent);
|
|
740
1059
|
scrollbar-width: thin;
|
|
741
1060
|
scrollbar-color: var(--border-strong) var(--surface-2);
|
|
742
1061
|
}
|
|
743
1062
|
#chat-input::placeholder { color: var(--text-dim); }
|
|
744
1063
|
#chat-input:disabled { opacity: .52; cursor: not-allowed; }
|
|
745
|
-
.ai-chat-compose-actions { display: flex; align-items: center; gap:
|
|
746
|
-
|
|
1064
|
+
.ai-chat-compose-actions { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
|
|
1065
|
+
/* The data-handling disclosure, in the composer's rigid grid row so no conversation-area height can
|
|
1066
|
+
take it away (#1501, owner ruling 2026-09-23: "I think disclosure line should be guaranteed, we
|
|
1067
|
+
should not make shortcuts and do it right"). Deliberately NOT part of .ai-chat-compose-hint: that
|
|
1068
|
+
is one mutable string chosen by a priority chain, so a capability, runtime or recovery notice
|
|
1069
|
+
would overwrite the disclosure exactly when a new user is most likely to be reading it — the same
|
|
1070
|
+
shortcut the ruling forbids, moved one element over. It is also block-level and wraps rather than
|
|
1071
|
+
ellipsising, because the disclosure must remain readable at the narrowest panel width,
|
|
1072
|
+
and a disclosure that is present but cut off is not a disclosure. Never a data-tip either: a
|
|
1073
|
+
hover-gated line is not disclosed to anyone who does not hover. */
|
|
1074
|
+
.ai-chat-composer-disclosure {
|
|
1075
|
+
margin: 0 0 6px;
|
|
1076
|
+
color: var(--text-dim);
|
|
1077
|
+
font: 9px/1.4 var(--mono);
|
|
1078
|
+
overflow-wrap: anywhere;
|
|
1079
|
+
}
|
|
1080
|
+
.ai-chat-composer-disclosure[hidden] { display: none; }
|
|
1081
|
+
.ai-chat-compose-hint { flex: 1; min-width: 0; color: var(--text-dim); font: 8px/1.4 var(--mono); overflow-wrap: anywhere; }
|
|
747
1082
|
.ai-chat-compose-hint.working { display: inline-flex; align-items: center; min-height: 16px; padding-left: 4px; }
|
|
748
|
-
.ai-chat-compose-context { min-height: 12px; padding: 5px 0 0 30px; color: var(--text-dim); font: 8px/1.3 var(--mono); }
|
|
1083
|
+
.ai-chat-compose-context { min-height: 12px; padding: 5px 0 0 30px; color: var(--text-dim); font: 8px/1.3 var(--mono); overflow-wrap: anywhere; }
|
|
749
1084
|
.ai-chat-compose-context strong { color: var(--text-muted); font-weight: 600; }
|
|
750
|
-
.ai-chat-send, .ai-chat-stop { min-width: 48px; padding: 6px 9px; font-size: 10px; font-weight: 600; }
|
|
1085
|
+
.ai-chat-send, .ai-chat-stop { flex: none; min-width: 48px; padding: 6px 9px; font-size: 10px; font-weight: 600; }
|
|
1086
|
+
.ai-chat-compose-actions .ai-chat-stop { margin-left: auto; }
|
|
1087
|
+
.ai-chat-compose-actions .ai-chat-stop[hidden] + .ai-chat-send { margin-left: auto; }
|
|
751
1088
|
.ai-chat-send { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
752
1089
|
.ai-chat-send:hover { filter: brightness(1.08); }
|
|
753
1090
|
.ai-chat-send:disabled, .ai-chat-stop:disabled, .ai-chat-icon:disabled, .ai-chat-start-provider:disabled { cursor: default; opacity: .45; filter: none; }
|