@floless/app 0.153.0 → 0.155.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/floless-server.cjs +51767 -38222
- package/dist/schemas/revit.model.v1.schema.json +5 -0
- package/dist/schemas/steel.model.v2.schema.json +19 -5
- package/dist/skills/floless-app-new-workflow/SKILL.md +8 -2
- package/dist/skills/floless-app-onboarding/SKILL.md +31 -19
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +20 -11
- package/dist/skills/floless-app-queue/SKILL.md +23 -4
- package/dist/skills/floless-app-steel-model/SKILL.md +23 -2
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +158 -65
- package/dist/skills/floless-app-workflows/SKILL.md +23 -5
- package/dist/skills/floless-app-workflows/references/blender-exec.md +183 -0
- package/dist/skills/floless-app-workflows/references/dev-server-and-run-trace.md +27 -12
- package/dist/templates/blender-construction-sequence.flo +96 -0
- package/dist/web/agents.js +33 -13
- package/dist/web/app.css +331 -34
- package/dist/web/app.js +12 -1
- package/dist/web/aware.js +1167 -137
- package/dist/web/chat-question-card.js +477 -0
- package/dist/web/chat.css +237 -25
- package/dist/web/chat.js +2156 -889
- package/dist/web/commands-shell.js +578 -21
- package/dist/web/commands-steel.js +105 -4
- package/dist/web/guide.js +217 -16
- package/dist/web/index.html +104 -10
- package/dist/web/instructor.js +10 -9
- package/dist/web/left-pane.js +43 -6
- package/dist/web/media-player.js +234 -0
- package/dist/web/model-editor-contract.js +2 -0
- package/dist/web/model-editor-revit-adapter.js +1 -0
- package/dist/web/model-editor-steel-adapter.js +89 -1
- package/dist/web/model-panel-bridge.js +16 -2
- package/dist/web/model-view-query.js +590 -0
- package/dist/web/model-viewport-revit-adapter.js +15 -1
- package/dist/web/model-viewport-toolbar.js +5 -2
- package/dist/web/pages.js +592 -0
- package/dist/web/panels.js +2 -1
- package/dist/web/revit-editor.js +182 -16
- package/dist/web/run-progress.js +193 -0
- package/dist/web/run-strip.js +173 -0
- package/dist/web/steel-3d-core.js +70 -0
- package/dist/web/steel-editor.html +2751 -219
- package/dist/web/steel-frames-core.js +958 -0
- package/dist/web/steel-last-seen.js +315 -0
- package/dist/web/steel-marks-core.js +530 -0
- package/dist/web/steel-model-slim.js +95 -0
- package/dist/web/steel-model-v2-client-validation.js +14 -2
- package/dist/web/steel-model-v2-commands.js +258 -27
- package/dist/web/steel-model-v2-projection.js +78 -18
- package/dist/web/steel-read-confidence.js +11 -2
- package/dist/web/tekla-structural-grid-adapter.js +7 -1
- package/dist/web/tool-updates.js +141 -33
- package/dist/web/workspaces.js +446 -30
- package/package.json +3 -2
package/dist/web/chat.css
CHANGED
|
@@ -23,12 +23,10 @@
|
|
|
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
25
|
thing that must never leave the shell.
|
|
26
|
-
Row 5
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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. */
|
|
26
|
+
Row 5 is empty: the attachments about to be sent moved inside the composer, right above the
|
|
27
|
+
message box (#2185). Inside the composer's rigid row they are never squeezed — the composer is not
|
|
28
|
+
a scroll container, so its minimum height includes them. The track stays so the rows below keep
|
|
29
|
+
their numbers and the floor's CHAT_YIELDING_ROWS in left-pane.js stays true. */
|
|
32
30
|
grid-template-rows: auto minmax(0, auto) minmax(0, 1fr) auto min-content minmax(0, auto) auto 0;
|
|
33
31
|
/* Size container so the approval tray's 50cqh cap below measures the shell's own height. Without
|
|
34
32
|
it the cap does not vanish, it silently mis-measures: cqh then falls back to the small viewport,
|
|
@@ -159,7 +157,7 @@
|
|
|
159
157
|
/* Settings is its own view, like History: open, it takes the conversation's place rather than
|
|
160
158
|
sitting above it, and the pressed ⚙ closes it again. */
|
|
161
159
|
.ai-chat-shell:has(> .ai-chat-settings:not([hidden])) > .ai-chat-settings { grid-row: 2 / 8; align-self: start; max-height: 100%; }
|
|
162
|
-
.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-
|
|
160
|
+
.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-skills, .ai-chat-composer) { display: none; }
|
|
163
161
|
.ai-chat-tab-actions .ai-chat-icon[aria-expanded="true"] { border-color: var(--border-strong); background: var(--surface-2); color: var(--text); }
|
|
164
162
|
.ai-chat-setting {
|
|
165
163
|
appearance: none;
|
|
@@ -281,7 +279,12 @@
|
|
|
281
279
|
.ai-chat-scope-controls button:hover { background: var(--accent-soft); }
|
|
282
280
|
.ai-chat-scope-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
283
281
|
.ai-chat-scope-controls button:disabled { cursor: default; opacity: .55; }
|
|
284
|
-
#chat-scope-disclosure { color: var(--text-muted); font: 10px/1.4 var(--ui); }
|
|
282
|
+
#chat-scope-disclosure { color: var(--text-muted); font: 10px/1.4 var(--ui); flex-basis: 100%; }
|
|
283
|
+
#chat-scope-disclosure[hidden] { display: none; }
|
|
284
|
+
#chat-access-explanation { display: inline-flex; align-items: center; gap: 3px; }
|
|
285
|
+
#chat-access-explanation strong { font-weight: 600; }
|
|
286
|
+
.ai-chat-access-chevron { display: inline-block; margin-left: 3px; }
|
|
287
|
+
#chat-access-explanation[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
285
288
|
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left: 0; right: 0; padding: 8px; max-height: min(320px, 48vh); }
|
|
286
289
|
.ai-chat-scope-head, .ai-chat-scope-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
|
|
287
290
|
.ai-chat-scope-head strong, .ai-chat-scope-picker > strong { color: var(--text); font: 600 11px var(--ui); }
|
|
@@ -341,10 +344,6 @@
|
|
|
341
344
|
line-height: 1.45;
|
|
342
345
|
}
|
|
343
346
|
.ai-chat-integration-note strong { color: var(--text-muted); font-weight: 600; }
|
|
344
|
-
/* Under a list that leaves an option out: why. Muted (not dim) text, which stays readable in the light theme. */
|
|
345
|
-
.ai-chat-picker-note { margin: 4px 3px 2px; padding: 6px 5px 2px; border-top: 1px solid var(--border); color: var(--text-muted); font: 10px/1.45 var(--ui); cursor: default; }
|
|
346
|
-
/* The picker sits on --surface-2, where the light theme's --text-muted measures 4.3:1: take the darker slate the other light-theme notes use. */
|
|
347
|
-
[data-theme="light"] .ai-chat-picker-note { color: #475569; }
|
|
348
347
|
.ai-chat-integration-empty { padding: 10px 8px; color: var(--text-dim); font-size: 10px; line-height: 1.45; }
|
|
349
348
|
.ai-chat-choice[disabled] { cursor: default; opacity: .48; }
|
|
350
349
|
|
|
@@ -362,7 +361,6 @@
|
|
|
362
361
|
.ai-chat-shell.history-open .ai-chat-approval-tray,
|
|
363
362
|
.ai-chat-shell.history-open .ai-chat-runtime,
|
|
364
363
|
.ai-chat-shell.history-open .ai-chat-recovery,
|
|
365
|
-
.ai-chat-shell.history-open .ai-chat-attachments,
|
|
366
364
|
.ai-chat-shell.history-open .ai-chat-skills,
|
|
367
365
|
.ai-chat-shell.history-open .ai-chat-composer { display: none; }
|
|
368
366
|
.ai-chat-history-filters {
|
|
@@ -750,11 +748,34 @@
|
|
|
750
748
|
color: var(--text);
|
|
751
749
|
}
|
|
752
750
|
.ai-chat-request-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-transform: capitalize; }
|
|
753
|
-
.ai-chat-request-status { color: var(--text-
|
|
751
|
+
.ai-chat-request-status { color: var(--text-muted); font: 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
754
752
|
.ai-chat-request-card p { margin: 7px 0 0; color: var(--text); font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
755
753
|
.ai-chat-request-sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
|
|
756
754
|
.ai-chat-request-sources span { max-width: 100%; padding: 3px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-dim); font: 9px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
757
|
-
.ai-chat-request-
|
|
755
|
+
.ai-chat-request-card[hidden] { display: none; }
|
|
756
|
+
.ai-chat-request-head { position: relative; }
|
|
757
|
+
.ai-chat-request-head strong { flex: 1; min-width: 0; }
|
|
758
|
+
/* #2185: the live word (Waiting for the AI, The AI is working, ...) and the always-visible ✕. */
|
|
759
|
+
.ai-chat-request-card[data-request-state="waiting"][data-attention="needs-you"] .ai-chat-request-status { color: var(--accent-bright); }
|
|
760
|
+
.ai-chat-request-card[data-request-state="gone"] { border-left-color: var(--ok); }
|
|
761
|
+
/* Set aside: only the body quiets down - never the status word, Undo or the ✕, which must stay readable in both themes. */
|
|
762
|
+
.ai-chat-request-card.ai-chat-request-aside { border-left-color: var(--border-strong); }
|
|
763
|
+
.ai-chat-request-card.ai-chat-request-aside > p { color: var(--text-muted); }
|
|
764
|
+
.ai-chat-request-dismiss { appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0;
|
|
765
|
+
border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-dim); font-size: 14px; line-height: 1; cursor: pointer; flex-shrink: 0; }
|
|
766
|
+
.ai-chat-request-dismiss:hover:not(:disabled) { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
|
|
767
|
+
.ai-chat-request-dismiss:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
768
|
+
.ai-chat-request-dismiss:disabled { opacity: .5; cursor: default; }
|
|
769
|
+
.ai-chat-request-ask { margin-top: 8px; padding: 8px; border: 1px solid var(--border-strong); border-left: 2px solid var(--warn); border-radius: 4px; background: var(--surface); }
|
|
770
|
+
.ai-chat-request-ask p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
771
|
+
.ai-chat-request-note { margin: 6px 0 0; color: var(--warn-text); font-size: 11px; line-height: 1.45; }
|
|
772
|
+
.ai-chat-request-ask-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 8px; }
|
|
773
|
+
.ai-chat-request-ask-actions button { min-height: 26px; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-2); color: var(--text-muted); font-size: 10px; cursor: pointer; }
|
|
774
|
+
.ai-chat-request-ask-actions button:hover:not(:disabled) { color: var(--text); background: var(--surface-3); }
|
|
775
|
+
.ai-chat-request-ask-actions button.danger:hover:not(:disabled) { border-color: var(--err); color: var(--err-text); }
|
|
776
|
+
.ai-chat-request-ask-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
777
|
+
.ai-chat-request-ask-actions button:disabled { opacity: .5; cursor: default; }
|
|
778
|
+
.ai-chat-request-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
|
|
758
779
|
.ai-chat-request-actions button { min-height: 26px; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--text-muted); font-size: 10px; cursor: pointer; }
|
|
759
780
|
.ai-chat-request-actions button:hover { color: var(--text); background: var(--surface-3); }
|
|
760
781
|
.ai-chat-request-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
@@ -920,6 +941,13 @@
|
|
|
920
941
|
/* The chat model's object links (#1653): a quiet receipt under its answer. */
|
|
921
942
|
.ai-chat-event.links { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
922
943
|
.ai-chat-event.evidence:not(.error) { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
944
|
+
/* #2255: a change the AI made to the model view, a receipt like the ones above. When not everything was done or FloLess
|
|
945
|
+
could not confirm it, the warning edge (the person may want to look); a reply that ended first stays plain. */
|
|
946
|
+
.ai-chat-event.view-command.done { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
947
|
+
.ai-chat-event.view-command.held { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
948
|
+
.ai-chat-event.view-command.working { color: var(--text-dim); }
|
|
949
|
+
/* The light theme's dim grey reads under 3:1 on this tint at 9.5px: take the darker slate the light palette already has. */
|
|
950
|
+
[data-theme="light"] .ai-chat-event.view-command.working { color: #475569; }
|
|
923
951
|
/* #2037: Codex's auto-review receipts — information, never error red; a held-back step gets the warning edge only. */
|
|
924
952
|
.ai-chat-event.auto-review { border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); }
|
|
925
953
|
.ai-chat-event.auto-review.held { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
@@ -986,6 +1014,19 @@
|
|
|
986
1014
|
.ai-chat-approval-tray:empty { display: none; }
|
|
987
1015
|
.ai-chat-approval strong { display: block; color: var(--text); font-size: 11px; }
|
|
988
1016
|
.ai-chat-approval p { margin: 5px 0 8px; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
1017
|
+
/* #2196: the exact command a protected-file card authorizes — spacing kept, long tokens wrapped, a long one scrolls
|
|
1018
|
+
(themed, keyboard-reachable) so Approve and Deny stay in view. */
|
|
1019
|
+
.ai-chat-approval-cmd {
|
|
1020
|
+
margin: 0 0 8px; padding: 6px 8px; max-height: 120px; overflow: auto;
|
|
1021
|
+
border: 1px solid var(--border); border-radius: 4px; background: var(--surface-2); color: var(--text);
|
|
1022
|
+
font: 10px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4;
|
|
1023
|
+
scrollbar-width: thin; scrollbar-color: var(--text-dim) var(--surface-2);
|
|
1024
|
+
}
|
|
1025
|
+
.ai-chat-approval-cmd code { font: inherit; }
|
|
1026
|
+
.ai-chat-approval-cmd::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
1027
|
+
.ai-chat-approval-cmd::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 4px; }
|
|
1028
|
+
.ai-chat-approval-cmd::-webkit-scrollbar-track { background: var(--surface-2); }
|
|
1029
|
+
.ai-chat-approval-cmd:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
989
1030
|
.ai-chat-approval-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
|
|
990
1031
|
.ai-chat-approval button { padding: 5px 9px; font-size: 10px; }
|
|
991
1032
|
.ai-chat-approval-scope {
|
|
@@ -999,6 +1040,19 @@
|
|
|
999
1040
|
}
|
|
1000
1041
|
.ai-chat-approval-scope strong { min-width: 0; line-height: 1.3; }
|
|
1001
1042
|
.ai-chat-approval .allow { border-color: var(--accent); color: var(--text); }
|
|
1043
|
+
/* Epic #2185 Slice A: the two wider choices, each beside the line that says exactly what it covers. They are plain
|
|
1044
|
+
(outline) buttons on purpose: only Approve once looks like the expected answer. The covers line wraps under the button
|
|
1045
|
+
in a narrow panel and stays visible text, never a tooltip alone. */
|
|
1046
|
+
.ai-chat-approval-wide {
|
|
1047
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
1048
|
+
margin-top: 8px; padding-top: 8px;
|
|
1049
|
+
border-top: 1px solid color-mix(in srgb, var(--warn) 30%, var(--border));
|
|
1050
|
+
}
|
|
1051
|
+
.ai-chat-approval-wide-caption { color: var(--text-dim); font: 10px/1.3 var(--ui); }
|
|
1052
|
+
.ai-chat-approval-wide-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
|
1053
|
+
.ai-chat-approval-wide-row button { flex: 0 0 auto; min-height: 28px; }
|
|
1054
|
+
.ai-chat-approval-covers { flex: 1 1 170px; min-width: 0; color: var(--text-muted); font: 11px/1.45 var(--ui); }
|
|
1055
|
+
.ai-chat-approval-wide .ai-chat-approval-warning { margin: 0; font-size: 11px; }
|
|
1002
1056
|
/* Managed runtime setup (FloLess installing its tested Claude Code / Codex). Neutral while setting up —
|
|
1003
1057
|
nothing has gone wrong — with the approval card's warn tint only once setup failed. There is no byte
|
|
1004
1058
|
progress, so aliveness is the panel's own live dots, never a bar or a clock. */
|
|
@@ -1085,14 +1139,15 @@
|
|
|
1085
1139
|
.ai-chat-history-moved-remove:hover { background: var(--surface-3); color: var(--err-text, var(--text)); }
|
|
1086
1140
|
.ai-chat-history-moved-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1087
1141
|
|
|
1142
|
+
/* Inside the composer, directly above the message box (#2185); the composer's own side padding lines the chips
|
|
1143
|
+
up with the box. */
|
|
1088
1144
|
.ai-chat-attachments {
|
|
1089
|
-
|
|
1090
|
-
padding: 6px 9px 0;
|
|
1145
|
+
padding: 0 0 6px;
|
|
1091
1146
|
display: flex;
|
|
1092
1147
|
/* Chips wrap rather than shrink (#1853: up to five pictures and four data files). Shrunk chips lost their
|
|
1093
1148
|
names and slid one chip's remove button under its neighbour. Past two rows the list scrolls. */
|
|
1094
1149
|
flex-wrap: wrap;
|
|
1095
|
-
max-height: 80px; /* two rows of picture chips: 2 × 34px + 5px gap + 6px
|
|
1150
|
+
max-height: 80px; /* two rows of picture chips: 2 × 34px + 5px gap + 6px bottom padding = 79px */
|
|
1096
1151
|
gap: 5px;
|
|
1097
1152
|
overflow-x: hidden;
|
|
1098
1153
|
overflow-y: auto;
|
|
@@ -1466,14 +1521,42 @@
|
|
|
1466
1521
|
.guide-move-card .ai-chat-filter-card-head { justify-content: flex-start; flex-wrap: wrap; }
|
|
1467
1522
|
.guide-move-eyebrow { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 10px; }
|
|
1468
1523
|
.guide-move-status:empty { display: none; }
|
|
1469
|
-
/* #
|
|
1524
|
+
/* #2247 — a FloLess action the AI suggested. The filter card's shell; the risk only changes the left edge (no new
|
|
1525
|
+
colours): a reversible change keeps the accent, a real run is amber, and a person-only step is a plain doorway. */
|
|
1526
|
+
.ai-chat-action-card.risk-destructive { border-left-color: var(--warn); }
|
|
1527
|
+
.ai-chat-action-card.risk-human-only { border-left-color: var(--border-strong); }
|
|
1528
|
+
.ai-chat-action-card .ai-chat-filter-card-head { align-items: flex-start; }
|
|
1529
|
+
.ai-chat-action-named { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
1530
|
+
.ai-chat-action-named strong { overflow-wrap: anywhere; }
|
|
1531
|
+
.ai-chat-action-summary { margin: 6px 0 0; color: var(--text); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
|
|
1532
|
+
.ai-chat-action-why { color: var(--text-muted); }
|
|
1533
|
+
.ai-chat-action-changed { margin-top: 6px; color: var(--text); }
|
|
1534
|
+
.ai-chat-action-status:empty { display: none; }
|
|
1535
|
+
.ai-chat-action-status:focus { outline: none; }
|
|
1536
|
+
.ai-chat-action-status:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1537
|
+
.ai-chat-action-card.is-done { border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface-2)); }
|
|
1538
|
+
.ai-chat-action-card.is-failed { border-left: 3px solid var(--err); }
|
|
1539
|
+
.ai-chat-action-card.is-collapsed { padding: 6px 10px; border-left-color: var(--border-strong); }
|
|
1540
|
+
.ai-chat-action-line { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 15px; overflow-wrap: anywhere; }
|
|
1541
|
+
|
|
1542
|
+
/* #2247 — one line per action the AI ran itself: what it was, and how it ended. */
|
|
1543
|
+
.ai-chat-action-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 4px; padding: 3px 8px;
|
|
1544
|
+
border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-2); color: var(--text-muted); font-size: 11px; line-height: 15px; }
|
|
1545
|
+
.ai-chat-action-row-glyph { flex: none; width: 1em; font: 11px/15px var(--mono); text-align: center; }
|
|
1546
|
+
.ai-chat-action-row.is-ok .ai-chat-action-row-glyph { color: var(--ok); }
|
|
1547
|
+
.ai-chat-action-row.is-failed .ai-chat-action-row-glyph { color: var(--err-text); }
|
|
1548
|
+
.ai-chat-action-row-verb { flex: none; color: var(--text-muted); }
|
|
1549
|
+
.ai-chat-action-row-title { flex: 1 1 auto; min-width: 0; color: var(--text); overflow-wrap: anywhere; }
|
|
1550
|
+
.ai-chat-action-row .ai-chat-filter-state { margin-left: auto; color: var(--text-muted); }
|
|
1551
|
+
.ai-chat-action-row-reason { flex: 1 0 100%; padding-left: calc(1em + 6px); color: var(--text-muted); font-size: 10.5px; line-height: 14px; overflow-wrap: anywhere; }
|
|
1552
|
+
/* #2046 — a Guide conversation's own settings cell (#2234: its Access is the ordinary picker). */
|
|
1553
|
+
|
|
1470
1554
|
.ai-chat-guide-access { display: flex; flex-direction: column; gap: 2px; font-size: 11px; line-height: 15px; color: var(--text-muted); }
|
|
1555
|
+
/* Headings inside it (the set-aside list's) read as text, not muted. */
|
|
1471
1556
|
.ai-chat-guide-access strong { color: var(--text); font-weight: 600; }
|
|
1472
|
-
/*
|
|
1557
|
+
/* The cell holds controls but is not one itself: no pointer, no hover tint (the Provider row does the same, above). */
|
|
1473
1558
|
.ai-chat-guide-access { cursor: default; }
|
|
1474
1559
|
.ai-chat-guide-access:hover { background: var(--surface); }
|
|
1475
|
-
/* The sentence is the strip's readable-prose tier (see .ai-chat-setting > span above, which is the label tier). */
|
|
1476
|
-
.ai-chat-guide-note { margin: 4px 0 0; color: var(--text-muted); font: 11px/1.4 var(--ui); }
|
|
1477
1560
|
.ai-chat-guide-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
|
|
1478
1561
|
/* Its buttons are the strip's secondary buttons: the same compact look as Switch account…, one line each. Scoped to
|
|
1479
1562
|
the button rows, so the briefing's switch and time pickers keep their own look. */
|
|
@@ -1496,12 +1579,10 @@
|
|
|
1496
1579
|
.ai-chat-guide-set-aside-row > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1497
1580
|
.ai-chat-guide-actions button:disabled,
|
|
1498
1581
|
.ai-chat-guide-set-aside-row > button:disabled { cursor: default; color: var(--text-dim); border-color: var(--border); background: var(--surface); }
|
|
1499
|
-
/* #2053 — the opt-in morning briefing, under the Guide's
|
|
1582
|
+
/* #2053 — the opt-in morning briefing, under the Guide cell's label: the Guide question's own switch and
|
|
1500
1583
|
disclosure, the Routines time pair (themed combobox), and one status line. */
|
|
1501
1584
|
/* The Guide's settings cell holds the briefing's switch, time and choices: it takes the full row, like Provider. */
|
|
1502
1585
|
.ai-chat-guide-access { grid-column: 1 / -1; }
|
|
1503
|
-
/* Its Access picker is hidden, so Model and Effort share the row instead of leaving an empty third cell. */
|
|
1504
|
-
.ai-chat-settings:has(> #chat-permission[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
1505
1586
|
.ai-chat-guide-briefing { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
|
|
1506
1587
|
.ai-chat-guide-briefing:empty { display: none; }
|
|
1507
1588
|
/* #2054 — suggestions set aside with Not now, each with Bring back; the same divider as the briefing block above. */
|
|
@@ -1529,3 +1610,134 @@
|
|
|
1529
1610
|
.toast.guide-notice { align-items: flex-start; max-width: 380px; }
|
|
1530
1611
|
.guide-notice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
1531
1612
|
.guide-notice-actions { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
1613
|
+
|
|
1614
|
+
/* #2223 — the AI's question card (web/chat-question-card.js), in the approval tray directly above the message box.
|
|
1615
|
+
Claude's interaction inside the locked baseline: blue, not the approval card's amber, because this is "your call", not
|
|
1616
|
+
a permission. An accent ring pulses twice on arrival and then stays lit while the chat waits on the person; with
|
|
1617
|
+
reduced motion it is the steady ring only. Rows sit on --surface so their border shows on --surface-2 in both
|
|
1618
|
+
themes (dark --border-strong equals --surface-2). Existing tokens only. */
|
|
1619
|
+
.ai-chat-approval-tray:has(> .ai-chat-ask-card) { padding: 4px; margin: 4px 4px 0; }
|
|
1620
|
+
.ai-chat-approval.ai-chat-ask-card {
|
|
1621
|
+
position: relative; padding: 9px; border-color: var(--accent); background: var(--surface-2);
|
|
1622
|
+
box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent-glow) 55%, transparent);
|
|
1623
|
+
}
|
|
1624
|
+
.ai-chat-approval.ai-chat-ask-card.has-flo { padding-left: 9px; }
|
|
1625
|
+
.ai-chat-ask-card .ai-chat-approval-flo { position: absolute; left: 9px; top: 7px; }
|
|
1626
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1627
|
+
.ai-chat-approval.ai-chat-ask-card { animation: ai-chat-ask-arrive 1.1s ease-out 2; }
|
|
1628
|
+
}
|
|
1629
|
+
@keyframes ai-chat-ask-arrive {
|
|
1630
|
+
0% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 var(--accent-glow); }
|
|
1631
|
+
60% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px var(--accent-glow); }
|
|
1632
|
+
100% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent-glow) 55%, transparent); }
|
|
1633
|
+
}
|
|
1634
|
+
.ai-chat-ask-head { display: flex; align-items: center; gap: 6px; min-height: 28px; padding-left: 34px; }
|
|
1635
|
+
.ai-chat-ask-card:not(.has-flo) .ai-chat-ask-head { padding-left: 0; min-height: 0; }
|
|
1636
|
+
.ai-chat-ask-chip {
|
|
1637
|
+
max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 6px;
|
|
1638
|
+
border: 1px solid var(--accent-dim); border-radius: 4px; background: var(--accent-soft); color: var(--text);
|
|
1639
|
+
font: 600 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
|
|
1640
|
+
}
|
|
1641
|
+
.ai-chat-ask-step { color: var(--text-muted); font: 9px/1.3 var(--mono); }
|
|
1642
|
+
.ai-chat-approval .ai-chat-ask-question { margin: 6px 0 8px; color: var(--text); font: 600 12px/1.45 var(--ui); overflow-wrap: anywhere; }
|
|
1643
|
+
.ai-chat-ask-options { display: flex; flex-direction: column; gap: 4px; }
|
|
1644
|
+
.ai-chat-drawing-step { container-type: inline-size; }
|
|
1645
|
+
.ai-chat-ask-context { margin: 0 0 8px; font: 10.5px/1.4 var(--ui); color: var(--text-muted); overflow-wrap: anywhere; }
|
|
1646
|
+
.ai-chat-ask-tag { align-self: flex-start; max-width: 100%; white-space: normal; overflow-wrap: anywhere; letter-spacing: .04em; }
|
|
1647
|
+
.ai-chat-ask-reason-label { display: block; margin-top: 6px; color: var(--text); font: 11px/1.4 var(--ui); }
|
|
1648
|
+
.ai-chat-ask-reason-input { display: block; width: 100%; margin-top: 6px; }
|
|
1649
|
+
.ai-chat-ask-statement { font: 11px/1.45 var(--ui); overflow-wrap: anywhere; }
|
|
1650
|
+
.ai-chat-drawing-step .ai-chat-answer-source { margin-top: 6px; min-width: 0; }
|
|
1651
|
+
.ai-chat-ask-options.ai-chat-ask-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
|
|
1652
|
+
.ai-chat-ask-grid .ai-chat-ask-other-row { grid-column: 1 / -1; }
|
|
1653
|
+
@container (min-width: 360px) { .ai-chat-ask-options.ai-chat-ask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
1654
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option {
|
|
1655
|
+
display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: start; gap: 8px; width: 100%; min-height: 30px;
|
|
1656
|
+
padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); color: var(--text);
|
|
1657
|
+
font: 11px/1.3 var(--ui); text-align: left; user-select: none;
|
|
1658
|
+
transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
|
|
1659
|
+
}
|
|
1660
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option:hover { background: var(--surface-3); border-color: var(--accent-dim); color: var(--text); }
|
|
1661
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option.is-recommended { border-color: var(--accent-dim); }
|
|
1662
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--accent-soft); }
|
|
1663
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option.is-chosen {
|
|
1664
|
+
border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent);
|
|
1665
|
+
}
|
|
1666
|
+
.ai-chat-ask-key {
|
|
1667
|
+
display: grid; place-items: center; width: 18px; height: 18px; box-sizing: border-box; border: 1px solid var(--text-dim);
|
|
1668
|
+
border-radius: 4px; color: var(--text-muted); font: 600 10px/1 var(--mono);
|
|
1669
|
+
}
|
|
1670
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-key { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
|
|
1671
|
+
.ai-chat-ask-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
1672
|
+
.ai-chat-ask-label { color: var(--text); font: 600 11px/1.3 var(--ui); overflow-wrap: anywhere; }
|
|
1673
|
+
.ai-chat-ask-rec { color: var(--accent-bright); font: 600 10px/1.3 var(--ui); }
|
|
1674
|
+
[data-theme="light"] .ai-chat-ask-rec { color: var(--accent); }
|
|
1675
|
+
.ai-chat-ask-desc { color: var(--text-muted); font: 10.5px/1.35 var(--ui); }
|
|
1676
|
+
.ai-chat-ask-option:hover .ai-chat-ask-desc, .ai-chat-ask-option:focus-visible .ai-chat-ask-desc,
|
|
1677
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-desc { color: var(--text); }
|
|
1678
|
+
/* The light theme's muted grey reads under 4.5:1 on the rows' hover and chosen fills, and its dim grey under 3:1 as the
|
|
1679
|
+
number and tick-box outline, so the card takes the darker slates the light palette already has (as receipts do). */
|
|
1680
|
+
[data-theme="light"] .ai-chat-ask-card { --text-muted: #475569; --text-dim: #64748b; }
|
|
1681
|
+
/* Multi-select: a themed tick box (a span, never a native checkbox), in the row's last column. */
|
|
1682
|
+
.ai-chat-ask-box {
|
|
1683
|
+
display: grid; place-content: center; width: 14px; height: 14px; margin-top: 2px; box-sizing: border-box;
|
|
1684
|
+
border: 1px solid var(--text-dim); border-radius: 3px; background: var(--surface-2);
|
|
1685
|
+
}
|
|
1686
|
+
.ai-chat-ask-box::before { content: ""; width: 8px; height: 8px; transform: scale(0); background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
|
|
1687
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-box { border-color: var(--accent); background: var(--accent); }
|
|
1688
|
+
.ai-chat-ask-option.is-chosen .ai-chat-ask-box::before { transform: scale(1); }
|
|
1689
|
+
.ai-chat-ask-other { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; padding: 6px; border: 1px solid var(--accent); border-radius: 5px; background: var(--surface); }
|
|
1690
|
+
.ai-chat-ask-other.drop { border-style: dashed; background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
1691
|
+
.ai-chat-ask-other-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
1692
|
+
.ai-chat-ask-other-input {
|
|
1693
|
+
flex: 1; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
1694
|
+
background: var(--surface); color: var(--text); caret-color: var(--accent); font: 11px var(--ui);
|
|
1695
|
+
}
|
|
1696
|
+
.ai-chat-ask-other-input::placeholder { color: var(--text-muted); opacity: 1; }
|
|
1697
|
+
.ai-chat-ask-other-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
|
|
1698
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip { flex: none; width: 28px; height: 26px; padding: 0; display: grid; place-items: center; background: var(--surface); color: var(--text-muted); }
|
|
1699
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip:hover { color: var(--text); background: var(--surface-3); }
|
|
1700
|
+
.ai-chat-ask-files { margin-top: 1px; }
|
|
1701
|
+
/* Scrolled into view, a row or the Other… box clears the sticky action row below (E2E 2026-10-12: a new chip hid under it). */
|
|
1702
|
+
.ai-chat-ask-option, .ai-chat-ask-other { scroll-margin-bottom: 48px; }
|
|
1703
|
+
.ai-chat-ask-card button[aria-disabled="true"] { cursor: default; opacity: .55; }
|
|
1704
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option { pointer-events: none; }
|
|
1705
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option:not(.is-chosen) { opacity: .55; }
|
|
1706
|
+
.ai-chat-ask-card[aria-busy="true"] .ai-chat-ask-option.is-chosen { opacity: 1; }
|
|
1707
|
+
/* The decision stays in view in a short panel: the action row sticks to the bottom of the tray. */
|
|
1708
|
+
.ai-chat-ask-actions {
|
|
1709
|
+
position: sticky; bottom: -4px; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 6px;
|
|
1710
|
+
margin: 8px -9px -9px; padding: 6px 9px; border-radius: 0 0 5px 5px; background: var(--surface-2);
|
|
1711
|
+
}
|
|
1712
|
+
.ai-chat-ask-status { margin-right: auto; color: var(--text-muted); font: 9.5px/1.3 var(--mono); }
|
|
1713
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-back { border-color: transparent; background: transparent; color: var(--text-muted); margin-right: auto; }
|
|
1714
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-back:hover { background: var(--surface-3); color: var(--text); }
|
|
1715
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
|
|
1716
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary:hover { background: var(--accent); color: #fff; filter: brightness(1.08); }
|
|
1717
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-primary[aria-disabled="true"] { background: var(--surface); border-color: var(--border-strong); color: var(--text-muted); filter: none; }
|
|
1718
|
+
.ai-chat-approval .ai-chat-ask-error { margin: 6px 0 0; color: var(--err-text); font: 10.5px/1.4 var(--ui); }
|
|
1719
|
+
.ai-chat-approval .ai-chat-ask-hint { margin: 6px 0 0; color: var(--text-muted); font: 9.5px/1.3 var(--ui); }
|
|
1720
|
+
/* A short panel (the shell is the size container; the feed's named container cannot see the tray): the key hint goes and
|
|
1721
|
+
each description keeps two lines, so the answers and Submit stay in view. */
|
|
1722
|
+
@container (max-height: 460px) {
|
|
1723
|
+
.ai-chat-ask-hint { display: none; }
|
|
1724
|
+
/* A description is what a person decides by, so it is cut only here, and the row the cursor is on, or the one chosen,
|
|
1725
|
+
shows all of it. */
|
|
1726
|
+
.ai-chat-ask-desc { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
|
|
1727
|
+
.ai-chat-ask-option:focus-visible .ai-chat-ask-desc, .ai-chat-ask-option.is-chosen .ai-chat-ask-desc { display: block; }
|
|
1728
|
+
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option { min-height: 26px; padding-block: 4px; }
|
|
1729
|
+
}
|
|
1730
|
+
@media (prefers-reduced-motion: reduce) { .ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-option { transition: none; } }
|
|
1731
|
+
/* The conversation's record of a question card: the question, the tick and the answer, its files; or why it was not answered. */
|
|
1732
|
+
.ai-chat-event.ai-chat-ask-answered {
|
|
1733
|
+
display: flex; flex-direction: column; gap: 5px; border-color: var(--border-strong); border-left: 3px solid var(--ok);
|
|
1734
|
+
background: color-mix(in srgb, var(--ok) 8%, var(--surface-2)); font: 10.5px/1.4 var(--ui);
|
|
1735
|
+
}
|
|
1736
|
+
.ai-chat-event.ai-chat-ask-answered.is-unanswered { border-left-color: var(--text-dim); background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
|
|
1737
|
+
.ai-chat-ask-answered-row { display: flex; flex-direction: column; gap: 2px; }
|
|
1738
|
+
.ai-chat-ask-answered-row + .ai-chat-ask-answered-row { padding-top: 5px; border-top: 1px solid var(--border); }
|
|
1739
|
+
.ai-chat-ask-answered-q { color: var(--text); overflow-wrap: anywhere; }
|
|
1740
|
+
.ai-chat-ask-answered-a { color: var(--text); font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1741
|
+
.ai-chat-ask-tick { margin-right: 5px; color: var(--ok); }
|
|
1742
|
+
.ai-chat-ask-answered-files { padding-left: 0; }
|
|
1743
|
+
.ai-chat-ask-answered-note { margin: 0; color: var(--text); }
|