@floless/app 0.141.0 → 0.142.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 +4283 -2494
- package/dist/web/account-menu.js +168 -0
- package/dist/web/app.css +97 -9
- package/dist/web/app.js +2 -0
- package/dist/web/aware.js +771 -72
- package/dist/web/chat.css +70 -0
- package/dist/web/chat.js +1331 -109
- package/dist/web/commands-revit.js +1 -1
- package/dist/web/commands-shell.js +143 -9
- package/dist/web/commands-steel.js +4 -0
- package/dist/web/index.html +78 -2
- package/dist/web/instructor.js +2 -2
- package/dist/web/leave-guard.js +480 -0
- package/dist/web/left-pane.js +43 -0
- package/dist/web/model-clip-session.js +2 -3
- package/dist/web/model-navigation-controls.js +17 -3
- package/dist/web/model-orientation-overlay.js +2 -3
- package/dist/web/model-panel-bridge.js +15 -3
- package/dist/web/model-viewport-revit-adapter.js +1 -0
- package/dist/web/model-viewport-toolbar.js +0 -2
- package/dist/web/revit-editor.js +4 -6
- package/dist/web/steel-3d-view.js +79 -45
- package/dist/web/steel-editor.html +167 -15
- package/dist/web/steel-filter.html +19 -9
- package/dist/web/steel-model-commands.js +0 -1
- package/dist/web/vector-editor.html +20 -3
- package/dist/web/workspaces.js +405 -41
- package/launch.mjs +32 -1
- package/package.json +1 -1
package/dist/web/chat.css
CHANGED
|
@@ -458,6 +458,14 @@
|
|
|
458
458
|
white-space: nowrap;
|
|
459
459
|
}
|
|
460
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; }
|
|
461
469
|
|
|
462
470
|
.ai-chat-feed {
|
|
463
471
|
grid-row: 3;
|
|
@@ -895,6 +903,14 @@
|
|
|
895
903
|
.ai-chat-attachment span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
896
904
|
.ai-chat-attachment img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; background: var(--surface-3); }
|
|
897
905
|
.ai-chat-attachment button { width: 18px; height: 18px; padding: 0; flex: none; }
|
|
906
|
+
/* #1653: the selected Steel objects that go with the next question. The label is the chip's own text made
|
|
907
|
+
focusable (so its tooltip reaches a keyboard), not a second button look. */
|
|
908
|
+
.ai-chat-attachment .ai-chat-subjects-label {
|
|
909
|
+
width: auto; height: auto; min-width: 0; padding: 0 2px; border: 0; background: transparent; color: var(--text);
|
|
910
|
+
font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
911
|
+
}
|
|
912
|
+
.ai-chat-attachment .ai-chat-subjects-label:hover { background: transparent; color: var(--text); text-decoration: underline; }
|
|
913
|
+
.ai-chat-message-subjects { align-self: flex-end; max-width: min(100%, 360px); color: var(--text-dim); font: 11px/1.4 var(--ui); text-align: right; overflow-wrap: anywhere; }
|
|
898
914
|
|
|
899
915
|
/* The Tekla model library carried over from a Graft receipt. It sits in the composer's rigid row,
|
|
900
916
|
above the input, and wraps rather than ellipsising: it states exactly what the binding permits,
|
|
@@ -916,6 +932,19 @@
|
|
|
916
932
|
.ai-chat-tekla-chip-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
917
933
|
.ai-chat-tekla-chip-copy strong { color: var(--text); font-weight: 600; }
|
|
918
934
|
.ai-chat-tekla-chip-state { color: var(--text-dim); }
|
|
935
|
+
/* The chat's standing Tekla read allowance (#1689): a small pill, revoked by the button beside it. */
|
|
936
|
+
.ai-chat-tekla-allowed {
|
|
937
|
+
display: inline-block;
|
|
938
|
+
padding: 0 6px;
|
|
939
|
+
border: 1px solid var(--accent);
|
|
940
|
+
border-radius: 999px;
|
|
941
|
+
color: var(--text);
|
|
942
|
+
font-size: 10px;
|
|
943
|
+
line-height: 15px;
|
|
944
|
+
white-space: nowrap;
|
|
945
|
+
}
|
|
946
|
+
.ai-chat-tekla-chip-copy:focus { outline: none; }
|
|
947
|
+
.ai-chat-tekla-chip-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
|
|
919
948
|
.ai-chat-tekla-remove {
|
|
920
949
|
flex: none;
|
|
921
950
|
appearance: none;
|
|
@@ -966,6 +995,47 @@
|
|
|
966
995
|
}
|
|
967
996
|
.ai-chat-tekla-read dt { margin: 0; align-self: baseline; color: var(--text-muted); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
|
|
968
997
|
.ai-chat-tekla-read dd { margin: 0; min-width: 0; font: 10px/1.45 var(--mono); overflow-wrap: anywhere; }
|
|
998
|
+
/* The selection receipt (#1598): a compact part schedule. Summary first, so a cut-short list says so
|
|
999
|
+
before anyone scrolls; the table scrolls inside the card (the global themed scrollbar applies). */
|
|
1000
|
+
.ai-chat-tekla-summary { display: flex; flex-direction: column; gap: 2px; }
|
|
1001
|
+
.ai-chat-tekla-read .ai-chat-tekla-summary p { color: var(--text); font-variant-numeric: tabular-nums; }
|
|
1002
|
+
.ai-chat-tekla-parts {
|
|
1003
|
+
max-height: min(240px, 40vh);
|
|
1004
|
+
overflow: auto;
|
|
1005
|
+
border: 1px solid var(--border-strong);
|
|
1006
|
+
border-radius: 5px;
|
|
1007
|
+
background: var(--surface-2);
|
|
1008
|
+
}
|
|
1009
|
+
.ai-chat-tekla-parts:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1010
|
+
.ai-chat-tekla-parts table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 10px/1.45 var(--ui); }
|
|
1011
|
+
.ai-chat-tekla-parts th {
|
|
1012
|
+
position: sticky;
|
|
1013
|
+
top: 0;
|
|
1014
|
+
z-index: 1;
|
|
1015
|
+
padding: 4px 6px;
|
|
1016
|
+
background: var(--surface-2);
|
|
1017
|
+
border-bottom: 1px solid var(--border-strong);
|
|
1018
|
+
color: var(--text-muted);
|
|
1019
|
+
font-size: 9px;
|
|
1020
|
+
font-weight: 500;
|
|
1021
|
+
letter-spacing: .04em;
|
|
1022
|
+
text-align: left;
|
|
1023
|
+
text-transform: uppercase;
|
|
1024
|
+
}
|
|
1025
|
+
.ai-chat-tekla-parts th:nth-child(1) { width: 17%; }
|
|
1026
|
+
.ai-chat-tekla-parts th:nth-child(5) { width: 15%; }
|
|
1027
|
+
.ai-chat-tekla-parts td {
|
|
1028
|
+
padding: 3px 6px;
|
|
1029
|
+
border-bottom: 1px solid var(--border);
|
|
1030
|
+
overflow: hidden;
|
|
1031
|
+
text-overflow: ellipsis;
|
|
1032
|
+
white-space: nowrap;
|
|
1033
|
+
}
|
|
1034
|
+
.ai-chat-tekla-parts tbody tr:last-child td { border-bottom: 0; }
|
|
1035
|
+
.ai-chat-tekla-parts td.mark,
|
|
1036
|
+
.ai-chat-tekla-parts td.profile { font-family: var(--mono); }
|
|
1037
|
+
.ai-chat-tekla-parts .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
|
|
1038
|
+
.ai-chat-tekla-parts td.empty { color: var(--text-dim, var(--text-muted)); }
|
|
969
1039
|
|
|
970
1040
|
.ai-chat-skills {
|
|
971
1041
|
position: absolute;
|