@floless/app 0.157.0 → 0.159.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/cli-actions.mjs +7 -0
- package/dist/floless-server.cjs +188306 -155284
- package/dist/schemas/drawing-check.profile.v1.schema.json +33 -1
- package/dist/skills/floless-app-actions/SKILL.md +26 -5
- package/dist/skills/floless-app-bridge/SKILL.md +5 -3
- package/dist/skills/floless-app-knowledge/SKILL.md +14 -1
- package/dist/skills/floless-app-knowledge/references/schema.md +4 -1
- package/dist/skills/floless-app-onboarding/SKILL.md +67 -4
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +7 -4
- package/dist/skills/floless-app-queue/SKILL.md +3 -1
- package/dist/skills/floless-app-steel-model/SKILL.md +41 -1
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +71 -1
- package/dist/skills/floless-app-workflows/SKILL.md +6 -3
- package/dist/web/agents.js +12 -5
- package/dist/web/app.css +229 -27
- package/dist/web/app.js +6 -0
- package/dist/web/aware.js +275 -64
- package/dist/web/chat.css +60 -22
- package/dist/web/chat.js +396 -59
- package/dist/web/commands-shell.js +546 -11
- package/dist/web/commands-steel.js +1 -0
- package/dist/web/drawing-check-editor.html +10 -0
- package/dist/web/drawing-check-editor.js +44 -0
- package/dist/web/guide.js +4 -2
- package/dist/web/index.html +66 -12
- package/dist/web/instructor.js +21 -9
- package/dist/web/kb-categories.js +351 -0
- package/dist/web/kb-graph-worker.js +73 -0
- package/dist/web/pages.js +185 -19
- package/dist/web/project-access.js +67 -8
- package/dist/web/project-modules.js +474 -0
- package/dist/web/project-workflows.js +274 -0
- package/dist/web/run-page-view.js +353 -0
- package/dist/web/steel-3d-core.js +46 -0
- package/dist/web/steel-3d-view.js +8 -38
- package/dist/web/steel-editor.html +225 -43
- package/dist/web/tab-signal.js +323 -0
- package/dist/web/terminal-requests.js +48 -7
- package/dist/web/workspace-root-recovery.js +119 -0
- package/dist/web/workspaces.js +1597 -220
- package/launch-starting-page.mjs +184 -0
- package/launch.mjs +214 -73
- package/package.json +7 -1
- package/dist/web/report-files.js +0 -50
package/dist/web/chat.css
CHANGED
|
@@ -135,7 +135,8 @@
|
|
|
135
135
|
.ai-chat-runtime button:focus-visible,
|
|
136
136
|
.ai-chat-attachment button:focus-visible,
|
|
137
137
|
.ai-chat-provider-switch:focus-visible,
|
|
138
|
-
|
|
138
|
+
/* Text fields show focus as an accent border with a soft halo, never a second ring outside their own border. */
|
|
139
|
+
#chat-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
139
140
|
|
|
140
141
|
.ai-chat-settings {
|
|
141
142
|
grid-row: 2;
|
|
@@ -270,7 +271,9 @@
|
|
|
270
271
|
scrollbar-color: var(--text-dim) var(--surface-2);
|
|
271
272
|
}
|
|
272
273
|
.ai-chat-picker[hidden] { display: none; }
|
|
273
|
-
|
|
274
|
+
/* The scope and access chips sit in the composer's one toolbar, under the message box: the wrapper lays its chips
|
|
275
|
+
straight into that row, and the Scope picker opens above the whole composer (.ai-chat-composer is its anchor). */
|
|
276
|
+
.ai-chat-scope-controls { display: contents; }
|
|
274
277
|
.ai-chat-scope-controls[hidden] { display: none; }
|
|
275
278
|
.ai-chat-scope-controls > button,
|
|
276
279
|
.ai-chat-scope-action,
|
|
@@ -279,13 +282,19 @@
|
|
|
279
282
|
.ai-chat-scope-controls button:hover { background: var(--accent-soft); }
|
|
280
283
|
.ai-chat-scope-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
281
284
|
.ai-chat-scope-controls button:disabled { cursor: default; opacity: .55; }
|
|
282
|
-
|
|
285
|
+
/* The access explanation wraps onto its own line under the toolbar, so it never squeezes the chips. */
|
|
286
|
+
#chat-scope-disclosure { order: 99; color: var(--text-muted); font: 10px/1.4 var(--ui); flex-basis: 100%; }
|
|
287
|
+
/* Basis 0 so the row breaks only when the fixed chips themselves do not fit; it grows back to its own width, no wider. */
|
|
288
|
+
#chat-scope-toggle { flex: 1 1 0; max-width: max-content; min-width: 0; display: inline-flex; align-items: center; gap: 4px; }
|
|
289
|
+
#chat-scope-toggle > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
290
|
+
#chat-scope-toggle svg, .ai-chat-units-chip svg { flex: none; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--text-muted); }
|
|
291
|
+
#chat-access-explanation { flex: none; }
|
|
283
292
|
#chat-scope-disclosure[hidden] { display: none; }
|
|
284
293
|
#chat-access-explanation { display: inline-flex; align-items: center; gap: 3px; }
|
|
285
294
|
#chat-access-explanation strong { font-weight: 600; }
|
|
286
295
|
.ai-chat-access-chevron { display: inline-block; margin-left: 3px; }
|
|
287
296
|
#chat-access-explanation[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
288
|
-
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left:
|
|
297
|
+
.ai-chat-scope-picker { top: auto; bottom: calc(100% + 6px); left: 8px; right: 8px; padding: 8px; max-height: min(320px, 48vh); }
|
|
289
298
|
.ai-chat-scope-head, .ai-chat-scope-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
|
|
290
299
|
.ai-chat-scope-head strong, .ai-chat-scope-picker > strong { color: var(--text); font: 600 11px var(--ui); }
|
|
291
300
|
.ai-chat-scope-row { padding: 6px 0; border-bottom: 1px solid var(--border); margin-bottom: 4px; color: var(--text); font: 11px var(--ui); }
|
|
@@ -888,7 +897,7 @@
|
|
|
888
897
|
.ai-chat-height-input { appearance: none; box-sizing: border-box; flex: 1; min-width: 0; height: 26px; padding: 3px 7px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
889
898
|
background: var(--surface-2); color: var(--text); font: 11px var(--mono); caret-color: var(--accent); }
|
|
890
899
|
.ai-chat-height-input::placeholder { color: var(--text-dim); }
|
|
891
|
-
.ai-chat-height-input:focus-visible { outline:
|
|
900
|
+
.ai-chat-height-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
892
901
|
.ai-chat-height-row button { flex: none; 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; }
|
|
893
902
|
.ai-chat-height-row button:hover { color: var(--text); background: var(--surface-3); }
|
|
894
903
|
.ai-chat-height-row button.ai-chat-filter-apply { border-color: var(--accent); background: var(--accent); color: #fff; }
|
|
@@ -1096,7 +1105,8 @@
|
|
|
1096
1105
|
/* `margin: auto` centres the modal: the app's global reset zeroes every margin, the dialog's default included. */
|
|
1097
1106
|
.ai-chat-source-viewer { width: min(920px, 94vw); max-height: 90vh; margin: auto; padding: 0; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: 0 18px 48px rgba(0, 0, 0, .5); overflow: hidden; }
|
|
1098
1107
|
.ai-chat-source-viewer[open] { display: flex; flex-direction: column; }
|
|
1099
|
-
.
|
|
1108
|
+
/* #2582: opened with show() inside the app's own .modal-backdrop (not the top layer), so the Instructor stays above it. */
|
|
1109
|
+
.ai-chat-viewer-backdrop .ai-chat-source-viewer { position: static; flex: none; }
|
|
1100
1110
|
.ai-chat-source-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 4px; }
|
|
1101
1111
|
.ai-chat-source-viewer-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.3 var(--ui); }
|
|
1102
1112
|
.ai-chat-source-viewer-note { padding: 0 12px 8px; border-bottom: 1px solid var(--border); color: var(--text-dim); font: 9.5px/1.4 var(--mono); }
|
|
@@ -1110,7 +1120,17 @@
|
|
|
1110
1120
|
.ai-chat-source-viewer button { appearance: none; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface-2); color: var(--text); font: 11px/1 var(--ui); padding: 6px 10px; cursor: pointer; }
|
|
1111
1121
|
.ai-chat-source-viewer button:hover { background: var(--surface-3); }
|
|
1112
1122
|
.ai-chat-source-viewer-knowledge { align-self: flex-end; margin: 0 12px 12px; }
|
|
1113
|
-
|
|
1123
|
+
/* #2471: a cited member as it was cited, and a cited data file's text. */
|
|
1124
|
+
.ai-chat-source-viewer-sub { margin: 0 0 4px; color: var(--text-dim); font: 600 9.5px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
|
|
1125
|
+
.ai-chat-source-viewer-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0 0 10px; font: 12px/1.45 var(--ui); }
|
|
1126
|
+
.ai-chat-source-viewer-facts dt { color: var(--text-muted); }
|
|
1127
|
+
.ai-chat-source-viewer-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
|
|
1128
|
+
.ai-chat-source-viewer-text { max-height: 55vh; margin: 8px 0 0; padding: 8px 10px; overflow: auto; border: 1px solid var(--border); border-radius: 4px; background: var(--surface-2); color: var(--text); font: 11px/1.45 var(--mono); white-space: pre; scrollbar-width: thin; scrollbar-color: var(--text-dim) var(--surface-2); }
|
|
1129
|
+
.ai-chat-source-viewer-text::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
1130
|
+
.ai-chat-source-viewer-text::-webkit-scrollbar-track { background: var(--surface-2); }
|
|
1131
|
+
.ai-chat-source-viewer-text::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 8px; }
|
|
1132
|
+
.ai-chat-source-viewer-text::-webkit-scrollbar-corner { background: var(--surface-2); }
|
|
1133
|
+
.ai-chat-source-viewer-text:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1114
1134
|
[data-theme="light"] .ai-chat-sources, [data-theme="light"] .ai-chat-source-viewer { --text-muted: #475569; }
|
|
1115
1135
|
/* The light theme's dim text is 2.7:1 on a chip, and its warning text 4.1:1 on a marker: below the 4.5:1 floor at these
|
|
1116
1136
|
small sizes, so the provenance marks, the Assumption tag and the "?" marker take the darker slate the chat uses. */
|
|
@@ -1390,17 +1410,20 @@
|
|
|
1390
1410
|
so a cut-off line would hide the permission. Deliberately neutral — no success colour or icon —
|
|
1391
1411
|
because it is not a verification claim; each approved read gets its own receipt card. */
|
|
1392
1412
|
.ai-chat-tekla-context { margin-bottom: 6px; }
|
|
1393
|
-
/* #1890: a workspace conversation's units — asked once
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
flex-wrap: wrap;
|
|
1397
|
-
align-items: center;
|
|
1398
|
-
gap: 6px 8px;
|
|
1399
|
-
margin-bottom: 6px;
|
|
1400
|
-
color: var(--text-muted);
|
|
1401
|
-
font: 10.5px/1.45 var(--ui);
|
|
1402
|
-
}
|
|
1413
|
+
/* #1890: a workspace conversation's units — asked once in the conversation, then a chip in the composer toolbar
|
|
1414
|
+
("ft-in ⌄") whose two-item menu opens above the composer, right-aligned. */
|
|
1415
|
+
.ai-chat-units { display: flex; flex: none; align-items: center; color: var(--text-muted); font: 10.5px/1.45 var(--ui); }
|
|
1403
1416
|
.ai-chat-units[hidden] { display: none; }
|
|
1417
|
+
.ai-chat-units-chip { appearance: none; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface-2); color: var(--text); font: 10px var(--ui); padding: 4px 7px; cursor: pointer; white-space: nowrap; }
|
|
1418
|
+
.ai-chat-units-chip:hover { background: var(--accent-soft); }
|
|
1419
|
+
.ai-chat-units-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1420
|
+
.ai-chat-units-chip[aria-expanded="true"] .ai-chat-access-chevron { transform: rotate(180deg); }
|
|
1421
|
+
.ai-chat-units-menu { position: absolute; z-index: 30; bottom: calc(100% + 6px); right: 8px; display: grid; gap: 2px; min-width: 150px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }
|
|
1422
|
+
.ai-chat-units-menu[hidden] { display: none; }
|
|
1423
|
+
.ai-chat-units-menu button { appearance: none; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--text); font: 11px var(--ui); text-align: left; cursor: pointer; }
|
|
1424
|
+
.ai-chat-units-menu button:hover, .ai-chat-units-menu button:focus-visible { background: var(--accent-soft); outline: none; }
|
|
1425
|
+
.ai-chat-units-menu button::before { content: ''; width: 10px; flex: none; color: var(--accent); }
|
|
1426
|
+
.ai-chat-units-menu button[aria-checked="true"]::before { content: '✓'; }
|
|
1404
1427
|
/* #1907: the person's own connectors allowed for this conversation, each with its own Revoke. */
|
|
1405
1428
|
.ai-chat-connectors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 6px; color: var(--text-muted); font: 10.5px/1.45 var(--ui); }
|
|
1406
1429
|
.ai-chat-connectors[hidden] { display: none; }
|
|
@@ -1634,6 +1657,7 @@
|
|
|
1634
1657
|
.ai-chat-skill-origin { color: var(--text-dim); font: 8px/1.3 var(--mono); text-transform: uppercase; }
|
|
1635
1658
|
|
|
1636
1659
|
.ai-chat-composer {
|
|
1660
|
+
position: relative;
|
|
1637
1661
|
grid-row: 7;
|
|
1638
1662
|
margin-top: 8px;
|
|
1639
1663
|
padding: 7px 8px 8px;
|
|
@@ -1659,7 +1683,9 @@
|
|
|
1659
1683
|
}
|
|
1660
1684
|
#chat-input::placeholder { color: var(--text-dim); }
|
|
1661
1685
|
#chat-input:disabled { opacity: .52; cursor: not-allowed; }
|
|
1662
|
-
|
|
1686
|
+
/* One toolbar under the message box: attach, the scope / access / units chips, then Stop and Send at the right.
|
|
1687
|
+
Only the Scope chip shrinks (with an ellipsis); a very narrow panel wraps the row rather than clipping Send. */
|
|
1688
|
+
.ai-chat-compose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 6px; }
|
|
1663
1689
|
/* The data-handling disclosure, in the composer's rigid grid row so no conversation-area height can
|
|
1664
1690
|
take it away (#1501, owner ruling 2026-09-23: "I think disclosure line should be guaranteed, we
|
|
1665
1691
|
should not make shortcuts and do it right"). Deliberately NOT part of .ai-chat-compose-hint: that
|
|
@@ -1676,7 +1702,10 @@
|
|
|
1676
1702
|
overflow-wrap: anywhere;
|
|
1677
1703
|
}
|
|
1678
1704
|
.ai-chat-composer-disclosure[hidden] { display: none; }
|
|
1679
|
-
|
|
1705
|
+
/* Its own line under the message box, shown only when it says something about this moment (working, an error, a
|
|
1706
|
+
capability notice). The idle keyboard hint is the same node made screen-reader-only, so no row is spent on it. */
|
|
1707
|
+
.ai-chat-compose-hint { display: block; padding-top: 5px; color: var(--text-dim); font: 9px/1.4 var(--mono); overflow-wrap: anywhere; }
|
|
1708
|
+
.ai-chat-compose-hint.is-idle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
1680
1709
|
.ai-chat-compose-hint.working { display: inline-flex; align-items: center; min-height: 16px; padding-left: 4px; }
|
|
1681
1710
|
/* The refusal the composer itself reports — "could not send", a filter note. chat.js toggles this
|
|
1682
1711
|
class at five sites (adds at 361, 443, 476; removes at 437, 999) and no rule ever styled it, so
|
|
@@ -1745,11 +1774,18 @@
|
|
|
1745
1774
|
.ai-chat-action-summary { margin: 6px 0 0; color: var(--text); font-size: 12px; line-height: 16px; overflow-wrap: anywhere; }
|
|
1746
1775
|
.ai-chat-action-why { color: var(--text-muted); }
|
|
1747
1776
|
.ai-chat-action-changed { margin-top: 6px; color: var(--text); }
|
|
1777
|
+
/* #2521 row 3a: what confirming a Quick model read agrees to. Set apart from the summary and never clamped. */
|
|
1778
|
+
.ai-chat-action-terms { padding: 4px 8px; border-left: 2px solid var(--border-strong); border-radius: 0 4px 4px 0; background: var(--surface); color: var(--text-muted); }
|
|
1779
|
+
.ai-chat-action-terms-label { display: block; margin-bottom: 2px; color: var(--text-muted); font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
|
|
1780
|
+
/* A Quick read that was queued Precise: the person's choice is not what ran, so the done card's edge turns amber. */
|
|
1781
|
+
.ai-chat-action-card.is-done.is-fallback { border-left-color: var(--warn); }
|
|
1748
1782
|
.ai-chat-action-status:empty { display: none; }
|
|
1749
1783
|
.ai-chat-action-status:focus { outline: none; }
|
|
1750
1784
|
.ai-chat-action-status:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1751
1785
|
.ai-chat-action-card.is-done { border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 8%, var(--surface-2)); }
|
|
1752
1786
|
.ai-chat-action-card.is-failed { border-left: 3px solid var(--err); }
|
|
1787
|
+
/* #2427: the last click is the person's: an accent edge, not the red of a failure or the green of a finish. */
|
|
1788
|
+
.ai-chat-action-card.is-handed-over { border-left: 3px solid var(--accent); }
|
|
1753
1789
|
.ai-chat-action-card.is-collapsed { padding: 6px 10px; border-left-color: var(--border-strong); }
|
|
1754
1790
|
.ai-chat-action-line { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 15px; overflow-wrap: anywhere; }
|
|
1755
1791
|
|
|
@@ -1939,15 +1975,17 @@
|
|
|
1939
1975
|
.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%); }
|
|
1940
1976
|
.ai-chat-ask-option.is-chosen .ai-chat-ask-box { border-color: var(--accent); background: var(--accent); }
|
|
1941
1977
|
.ai-chat-ask-option.is-chosen .ai-chat-ask-box::before { transform: scale(1); }
|
|
1942
|
-
|
|
1943
|
-
|
|
1978
|
+
/* The Other… answer sits under its chosen row with no frame of its own: the row and the field already outline it.
|
|
1979
|
+
A frame shows only while a file is dragged over it, as the drop target. */
|
|
1980
|
+
.ai-chat-ask-other { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; padding: 0; border: 1px dashed transparent; border-radius: 5px; }
|
|
1981
|
+
.ai-chat-ask-other.drop { padding: 6px; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
1944
1982
|
.ai-chat-ask-other-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
1945
1983
|
.ai-chat-ask-other-input {
|
|
1946
1984
|
flex: 1; min-width: 0; height: 28px; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 4px;
|
|
1947
1985
|
background: var(--surface); color: var(--text); caret-color: var(--accent); font: 11px var(--ui);
|
|
1948
1986
|
}
|
|
1949
1987
|
.ai-chat-ask-other-input::placeholder { color: var(--text-muted); opacity: 1; }
|
|
1950
|
-
.ai-chat-ask-other-input:focus-visible { outline:
|
|
1988
|
+
.ai-chat-ask-other-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
1951
1989
|
.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); }
|
|
1952
1990
|
.ai-chat-approval.ai-chat-ask-card button.ai-chat-ask-clip:hover { color: var(--text); background: var(--surface-3); }
|
|
1953
1991
|
.ai-chat-ask-files { margin-top: 1px; }
|