@floless/app 0.153.0 → 0.154.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 +4925 -2888
- package/dist/schemas/revit.model.v1.schema.json +5 -0
- package/dist/skills/floless-app-new-workflow/SKILL.md +8 -2
- package/dist/skills/floless-app-onboarding/SKILL.md +8 -5
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +8 -3
- package/dist/skills/floless-app-queue/SKILL.md +23 -4
- package/dist/web/app.css +56 -1
- package/dist/web/app.js +12 -1
- package/dist/web/aware.js +422 -55
- package/dist/web/chat.css +60 -13
- package/dist/web/chat.js +585 -138
- package/dist/web/commands-shell.js +154 -14
- package/dist/web/guide.js +213 -13
- package/dist/web/index.html +8 -3
- package/dist/web/left-pane.js +3 -3
- package/dist/web/revit-editor.js +1 -0
- package/dist/web/tekla-structural-grid-adapter.js +7 -1
- package/dist/web/tool-updates.js +141 -33
- package/dist/web/workspaces.js +30 -4
- package/package.json +1 -1
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;
|
|
@@ -362,7 +360,6 @@
|
|
|
362
360
|
.ai-chat-shell.history-open .ai-chat-approval-tray,
|
|
363
361
|
.ai-chat-shell.history-open .ai-chat-runtime,
|
|
364
362
|
.ai-chat-shell.history-open .ai-chat-recovery,
|
|
365
|
-
.ai-chat-shell.history-open .ai-chat-attachments,
|
|
366
363
|
.ai-chat-shell.history-open .ai-chat-skills,
|
|
367
364
|
.ai-chat-shell.history-open .ai-chat-composer { display: none; }
|
|
368
365
|
.ai-chat-history-filters {
|
|
@@ -750,11 +747,34 @@
|
|
|
750
747
|
color: var(--text);
|
|
751
748
|
}
|
|
752
749
|
.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-
|
|
750
|
+
.ai-chat-request-status { color: var(--text-muted); font: 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
754
751
|
.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
752
|
.ai-chat-request-sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
|
|
756
753
|
.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-
|
|
754
|
+
.ai-chat-request-card[hidden] { display: none; }
|
|
755
|
+
.ai-chat-request-head { position: relative; }
|
|
756
|
+
.ai-chat-request-head strong { flex: 1; min-width: 0; }
|
|
757
|
+
/* #2185: the live word (Waiting for the AI, The AI is working, ...) and the always-visible ✕. */
|
|
758
|
+
.ai-chat-request-card[data-request-state="waiting"][data-attention="needs-you"] .ai-chat-request-status { color: var(--accent-bright); }
|
|
759
|
+
.ai-chat-request-card[data-request-state="gone"] { border-left-color: var(--ok); }
|
|
760
|
+
/* Set aside: only the body quiets down - never the status word, Undo or the ✕, which must stay readable in both themes. */
|
|
761
|
+
.ai-chat-request-card.ai-chat-request-aside { border-left-color: var(--border-strong); }
|
|
762
|
+
.ai-chat-request-card.ai-chat-request-aside > p { color: var(--text-muted); }
|
|
763
|
+
.ai-chat-request-dismiss { appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0;
|
|
764
|
+
border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-dim); font-size: 14px; line-height: 1; cursor: pointer; flex-shrink: 0; }
|
|
765
|
+
.ai-chat-request-dismiss:hover:not(:disabled) { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
|
|
766
|
+
.ai-chat-request-dismiss:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
767
|
+
.ai-chat-request-dismiss:disabled { opacity: .5; cursor: default; }
|
|
768
|
+
.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); }
|
|
769
|
+
.ai-chat-request-ask p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
770
|
+
.ai-chat-request-note { margin: 6px 0 0; color: var(--warn-text); font-size: 11px; line-height: 1.45; }
|
|
771
|
+
.ai-chat-request-ask-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 8px; }
|
|
772
|
+
.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; }
|
|
773
|
+
.ai-chat-request-ask-actions button:hover:not(:disabled) { color: var(--text); background: var(--surface-3); }
|
|
774
|
+
.ai-chat-request-ask-actions button.danger:hover:not(:disabled) { border-color: var(--err); color: var(--err-text); }
|
|
775
|
+
.ai-chat-request-ask-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
776
|
+
.ai-chat-request-ask-actions button:disabled { opacity: .5; cursor: default; }
|
|
777
|
+
.ai-chat-request-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
|
|
758
778
|
.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
779
|
.ai-chat-request-actions button:hover { color: var(--text); background: var(--surface-3); }
|
|
760
780
|
.ai-chat-request-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
@@ -986,6 +1006,19 @@
|
|
|
986
1006
|
.ai-chat-approval-tray:empty { display: none; }
|
|
987
1007
|
.ai-chat-approval strong { display: block; color: var(--text); font-size: 11px; }
|
|
988
1008
|
.ai-chat-approval p { margin: 5px 0 8px; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
1009
|
+
/* #2196: the exact command a protected-file card authorizes — spacing kept, long tokens wrapped, a long one scrolls
|
|
1010
|
+
(themed, keyboard-reachable) so Approve and Deny stay in view. */
|
|
1011
|
+
.ai-chat-approval-cmd {
|
|
1012
|
+
margin: 0 0 8px; padding: 6px 8px; max-height: 120px; overflow: auto;
|
|
1013
|
+
border: 1px solid var(--border); border-radius: 4px; background: var(--surface-2); color: var(--text);
|
|
1014
|
+
font: 10px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4;
|
|
1015
|
+
scrollbar-width: thin; scrollbar-color: var(--text-dim) var(--surface-2);
|
|
1016
|
+
}
|
|
1017
|
+
.ai-chat-approval-cmd code { font: inherit; }
|
|
1018
|
+
.ai-chat-approval-cmd::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
1019
|
+
.ai-chat-approval-cmd::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 4px; }
|
|
1020
|
+
.ai-chat-approval-cmd::-webkit-scrollbar-track { background: var(--surface-2); }
|
|
1021
|
+
.ai-chat-approval-cmd:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
989
1022
|
.ai-chat-approval-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
|
|
990
1023
|
.ai-chat-approval button { padding: 5px 9px; font-size: 10px; }
|
|
991
1024
|
.ai-chat-approval-scope {
|
|
@@ -999,6 +1032,19 @@
|
|
|
999
1032
|
}
|
|
1000
1033
|
.ai-chat-approval-scope strong { min-width: 0; line-height: 1.3; }
|
|
1001
1034
|
.ai-chat-approval .allow { border-color: var(--accent); color: var(--text); }
|
|
1035
|
+
/* Epic #2185 Slice A: the two wider choices, each beside the line that says exactly what it covers. They are plain
|
|
1036
|
+
(outline) buttons on purpose: only Approve once looks like the expected answer. The covers line wraps under the button
|
|
1037
|
+
in a narrow panel and stays visible text, never a tooltip alone. */
|
|
1038
|
+
.ai-chat-approval-wide {
|
|
1039
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
1040
|
+
margin-top: 8px; padding-top: 8px;
|
|
1041
|
+
border-top: 1px solid color-mix(in srgb, var(--warn) 30%, var(--border));
|
|
1042
|
+
}
|
|
1043
|
+
.ai-chat-approval-wide-caption { color: var(--text-dim); font: 10px/1.3 var(--ui); }
|
|
1044
|
+
.ai-chat-approval-wide-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
|
|
1045
|
+
.ai-chat-approval-wide-row button { flex: 0 0 auto; min-height: 28px; }
|
|
1046
|
+
.ai-chat-approval-covers { flex: 1 1 170px; min-width: 0; color: var(--text-muted); font: 11px/1.45 var(--ui); }
|
|
1047
|
+
.ai-chat-approval-wide .ai-chat-approval-warning { margin: 0; font-size: 11px; }
|
|
1002
1048
|
/* Managed runtime setup (FloLess installing its tested Claude Code / Codex). Neutral while setting up —
|
|
1003
1049
|
nothing has gone wrong — with the approval card's warn tint only once setup failed. There is no byte
|
|
1004
1050
|
progress, so aliveness is the panel's own live dots, never a bar or a clock. */
|
|
@@ -1085,14 +1131,15 @@
|
|
|
1085
1131
|
.ai-chat-history-moved-remove:hover { background: var(--surface-3); color: var(--err-text, var(--text)); }
|
|
1086
1132
|
.ai-chat-history-moved-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1087
1133
|
|
|
1134
|
+
/* Inside the composer, directly above the message box (#2185); the composer's own side padding lines the chips
|
|
1135
|
+
up with the box. */
|
|
1088
1136
|
.ai-chat-attachments {
|
|
1089
|
-
|
|
1090
|
-
padding: 6px 9px 0;
|
|
1137
|
+
padding: 0 0 6px;
|
|
1091
1138
|
display: flex;
|
|
1092
1139
|
/* Chips wrap rather than shrink (#1853: up to five pictures and four data files). Shrunk chips lost their
|
|
1093
1140
|
names and slid one chip's remove button under its neighbour. Past two rows the list scrolls. */
|
|
1094
1141
|
flex-wrap: wrap;
|
|
1095
|
-
max-height: 80px; /* two rows of picture chips: 2 × 34px + 5px gap + 6px
|
|
1142
|
+
max-height: 80px; /* two rows of picture chips: 2 × 34px + 5px gap + 6px bottom padding = 79px */
|
|
1096
1143
|
gap: 5px;
|
|
1097
1144
|
overflow-x: hidden;
|
|
1098
1145
|
overflow-y: auto;
|