@floless/app 0.143.0 → 0.144.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 +177152 -160760
- package/dist/schemas/steel.model.v2.schema.json +50 -2
- package/dist/schemas/tekla.model.v1.schema.json +66 -0
- package/dist/schemas/tekla.model.v2.schema.json +69 -0
- package/dist/schemas/tekla.source-package.v1.schema.json +37 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +24 -1
- package/dist/skills/floless-app-workflows/SKILL.md +8 -2
- package/dist/skills/floless-app-workflows/references/workspace-data.md +25 -4
- package/dist/templates/floless-workspace-model-report.flo +27 -23
- package/dist/templates/revit-model.flo +6 -2
- package/dist/templates/tekla-model-report.flo +60 -0
- package/dist/templates/tekla-parser.flo +61 -0
- package/dist/web/app.css +89 -2
- package/dist/web/aware.js +423 -46
- package/dist/web/commands-revit.js +4 -0
- package/dist/web/commands-shell.js +136 -3
- package/dist/web/commands-steel.js +6 -0
- package/dist/web/commands-tekla-parser.js +48 -0
- package/dist/web/commands.js +1 -1
- package/dist/web/grid-core.js +15 -0
- package/dist/web/index.html +40 -2
- package/dist/web/instructor.js +13 -3
- package/dist/web/left-pane.js +160 -10
- package/dist/web/model-artifact-loader.js +15 -0
- package/dist/web/model-display-units.js +89 -0
- package/dist/web/model-editor-revit-adapter.js +21 -4
- package/dist/web/model-editor.css +4 -2
- package/dist/web/model-measure.js +10 -6
- package/dist/web/model-panel-bridge.js +46 -3
- package/dist/web/model-pointer-dock.js +21 -1
- package/dist/web/model-property-display.js +91 -0
- package/dist/web/model-revit-module.js +9 -0
- package/dist/web/model-selection-tools.js +11 -0
- package/dist/web/model-spatial-panel.js +52 -21
- package/dist/web/model-structural-grid-view.js +334 -0
- package/dist/web/model-tekla-selection.js +32 -0
- package/dist/web/model-viewport-revit-adapter.js +119 -32
- package/dist/web/revit-editor.css +11 -1
- package/dist/web/revit-editor.html +4 -3
- package/dist/web/revit-editor.js +589 -111
- package/dist/web/steel-3d-view.js +58 -372
- package/dist/web/steel-editor.html +231 -8
- package/dist/web/tekla-editor.html +71 -0
- package/dist/web/tekla-structural-grid-adapter.js +56 -0
- package/dist/web/workspaces.js +872 -97
- package/distribution-profile-production.mjs +4 -0
- package/distribution-resource-inventory.mjs +4 -2
- package/package.json +5 -2
package/dist/web/app.css
CHANGED
|
@@ -589,6 +589,21 @@
|
|
|
589
589
|
.left-model-tabs .left-model-tab-group-start { grid-column-start: 1; }
|
|
590
590
|
.left-model-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
|
|
591
591
|
.left-model-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
592
|
+
.left-model-search { position: relative; flex: none; padding: 7px 7px 2px; }
|
|
593
|
+
.left-model-search input {
|
|
594
|
+
appearance: none; width: 100%; min-height: 30px; padding: 5px 30px 5px 9px; border: 1px solid var(--border); border-radius: 4px;
|
|
595
|
+
background: var(--surface-2); color: var(--text); font: 11px var(--ui); outline: none;
|
|
596
|
+
}
|
|
597
|
+
.left-model-search input::placeholder { color: var(--text-dim); }
|
|
598
|
+
.left-model-search input::-webkit-search-cancel-button { display: none; }
|
|
599
|
+
.left-model-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
|
|
600
|
+
.left-model-search button {
|
|
601
|
+
appearance: none; position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px;
|
|
602
|
+
background: transparent; color: var(--text-dim); font: 16px/1 var(--ui); cursor: pointer;
|
|
603
|
+
}
|
|
604
|
+
.left-model-search button:hover { color: var(--text); background: var(--surface-3); }
|
|
605
|
+
.left-model-search button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
606
|
+
.left-model-search[hidden], .left-model-search button[hidden] { display: none; }
|
|
592
607
|
.left-model-index-header { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 11px 4px; color: var(--text-dim); border-bottom: 1px solid var(--border); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
593
608
|
.left-model-follow { min-height: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 3px 0; color: var(--text-muted); cursor: pointer; font: 10px var(--mono); letter-spacing: .03em; text-transform: none; white-space: nowrap; }
|
|
594
609
|
.left-model-follow input { position: absolute; opacity: 0; width: 0; height: 0; border: 0; padding: 0; }
|
|
@@ -613,8 +628,24 @@
|
|
|
613
628
|
.left-model-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
614
629
|
.left-model-row .row-label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
615
630
|
.left-model-row .explorer-count { margin-left: auto; flex: none; color: var(--text-dim); font: 10px var(--mono); }
|
|
631
|
+
.left-model-row .model-object-summary { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
|
|
632
|
+
.left-model-row .model-object-name { flex: none; white-space: pre; }
|
|
633
|
+
.left-model-row .model-object-details { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; color: var(--text-dim); font: 10px var(--mono); }
|
|
634
|
+
.left-model-row .model-object-field { min-width: 0; overflow-wrap: anywhere; unicode-bidi: plaintext; }
|
|
635
|
+
.left-model-row .model-object-field [data-object-field] { white-space: pre-wrap; }
|
|
616
636
|
.left-model-tree, .left-model-branch { min-width: 0; }
|
|
617
637
|
.left-model-children { padding-left: 14px; }
|
|
638
|
+
.left-grid-visibility { min-width: 0; margin: 2px 6px 8px 14px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; }
|
|
639
|
+
.left-grid-visibility[hidden] { display: none; }
|
|
640
|
+
.left-grid-visibility legend { padding: 0 4px; color: var(--text-dim); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
|
|
641
|
+
.left-grid-level { min-height: 28px; display: grid; grid-template-columns: 15px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 4px 2px; color: var(--text); cursor: pointer; }
|
|
642
|
+
.left-grid-level + .left-grid-level { border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent); }
|
|
643
|
+
.left-grid-level input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); }
|
|
644
|
+
.left-grid-level input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
645
|
+
.left-grid-level-name { min-width: 0; overflow-wrap: anywhere; unicode-bidi: plaintext; }
|
|
646
|
+
.left-grid-level-value { color: var(--text-dim); white-space: nowrap; font: 10px var(--mono); unicode-bidi: plaintext; }
|
|
647
|
+
.left-grid-level-all { font-weight: 600; }
|
|
648
|
+
.left-grid-visibility-status { margin: 6px 2px 1px; color: var(--text-dim); font-size: 11px; line-height: 1.35; }
|
|
618
649
|
.left-model-empty { padding: 18px 10px; color: var(--text-dim); text-align: center; font-size: 11px; }
|
|
619
650
|
.left-pane-collapsed { padding: 7px 0 12px; gap: 6px; }
|
|
620
651
|
.left-pane-collapsed .panel-toggle { position: relative; top: auto; right: auto; left: auto; transform: none; flex: none; }
|
|
@@ -1852,10 +1883,26 @@
|
|
|
1852
1883
|
border-radius:5px; background:color-mix(in srgb, var(--err) 8%, transparent); color:var(--err);
|
|
1853
1884
|
font-size:11px; line-height:1.45; }
|
|
1854
1885
|
.project-setup-error[hidden], .project-setup-standard[hidden], .project-setup-provider[hidden] { display:none; }
|
|
1886
|
+
.tekla-source-status { margin-top:10px; color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
1887
|
+
.tekla-source-status[hidden] { display:none; }
|
|
1888
|
+
#tekla-source-modal[aria-busy="true"] .tekla-source-dialog { cursor:wait; }
|
|
1855
1889
|
#project-setup-modal[aria-busy="true"] .project-setup-dialog { cursor:wait; }
|
|
1890
|
+
.tekla-source-dialog { width:min(520px, calc(100vw - 32px)); }
|
|
1891
|
+
.tekla-source-readonly { display:flex; align-items:center; gap:9px; margin:2px 0 14px; padding:9px 10px;
|
|
1892
|
+
border:1px solid var(--border); border-radius:6px; background:var(--surface-2); color:var(--text-muted);
|
|
1893
|
+
font-size:11px; line-height:1.4; }
|
|
1894
|
+
.tekla-source-readonly strong { flex:none; padding:4px 7px; border:1px solid var(--border-strong);
|
|
1895
|
+
border-radius:999px; color:var(--text); font-size:10px; line-height:1; }
|
|
1896
|
+
.tekla-source-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
|
|
1897
|
+
.tekla-source-choices button { display:grid; gap:5px; min-height:82px; padding:12px; text-align:left;
|
|
1898
|
+
border:1px solid var(--border-strong); border-radius:6px; background:var(--surface-2); color:var(--text); }
|
|
1899
|
+
.tekla-source-choices button:hover, .tekla-source-choices button:focus-visible { border-color:var(--accent);
|
|
1900
|
+
outline:none; box-shadow:0 0 0 2px var(--accent-soft); }
|
|
1901
|
+
.tekla-source-choices button span { color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
1856
1902
|
@media (max-width:560px) {
|
|
1857
1903
|
.project-setup-standard-options { grid-template-columns:1fr; }
|
|
1858
1904
|
.project-setup-folder-row { grid-template-columns:1fr; }
|
|
1905
|
+
.tekla-source-choices { grid-template-columns:1fr; }
|
|
1859
1906
|
}
|
|
1860
1907
|
.fm-note-label {
|
|
1861
1908
|
margin-bottom:6px; color:var(--text-dim); font:600 10px/1.3 var(--ui);
|
|
@@ -2812,6 +2859,8 @@
|
|
|
2812
2859
|
.rtn-sub { font-size: 11px; color: var(--text-muted); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
|
|
2813
2860
|
.rtn-wf { font-family: var(--mono); font-size: 10px; color: var(--text-dim); }
|
|
2814
2861
|
.rtn-sub .rtn-dot { opacity: 0.4; }
|
|
2862
|
+
.rtn-report-note { font-size: 11px; color: var(--text-muted); line-height: 1.35; }
|
|
2863
|
+
.rtn-report-note.warn { color: var(--warn); }
|
|
2815
2864
|
.rtn-meta { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
|
|
2816
2865
|
.rtn-next { font-family: var(--mono); font-size: 10px; color: var(--text-dim); white-space: nowrap; }
|
|
2817
2866
|
.rtn-status { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--text-dim); }
|
|
@@ -2831,6 +2880,7 @@
|
|
|
2831
2880
|
border-radius: 4px; font-size: 12px; line-height: 1;
|
|
2832
2881
|
}
|
|
2833
2882
|
.rtn-act:hover { color: var(--text); border-color: var(--accent-dim); background: var(--surface); }
|
|
2883
|
+
.rtn-act.rtn-report-view { width: auto; min-height: 26px; padding: 0 8px; white-space: nowrap; font-size: 11px; }
|
|
2834
2884
|
.rtn-del-act:hover { color: var(--err); border-color: var(--err); }
|
|
2835
2885
|
/* A disabled row action must LOOK inert. Only ▶ is ever disabled here (while that routine is
|
|
2836
2886
|
running), and it had no disabled style at all: idle and running rendered identically, so the
|
|
@@ -4274,6 +4324,28 @@ body {
|
|
|
4274
4324
|
.report-actions button.report-stop { background: transparent; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); font-weight: 600; letter-spacing: 0.04em; }
|
|
4275
4325
|
.report-actions button.report-stop:hover { background: color-mix(in srgb, var(--warn) 16%, transparent); border-color: var(--warn); color: var(--text); }
|
|
4276
4326
|
#report-close { font-size: 18px; line-height: 1; padding: 4px 10px; }
|
|
4327
|
+
.report-nav {
|
|
4328
|
+
display: flex; align-items: center; flex-wrap: wrap; gap: 7px 9px;
|
|
4329
|
+
padding: 9px 18px; border-bottom: 1px solid var(--border);
|
|
4330
|
+
background: var(--surface-2); color: var(--text-muted);
|
|
4331
|
+
}
|
|
4332
|
+
.report-nav[hidden] { display: none; }
|
|
4333
|
+
.report-nav button { padding: 5px 10px; background: var(--surface-3); color: var(--text); }
|
|
4334
|
+
.report-nav button:disabled { opacity: .46; cursor: not-allowed; }
|
|
4335
|
+
.report-nav button:focus-visible, .report-nav input:focus-visible,
|
|
4336
|
+
.report-section-status:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
4337
|
+
.report-section-status { flex: 1 1 260px; min-width: 0; font-size: 12px; line-height: 1.4; }
|
|
4338
|
+
.report-nav label { font-size: 12px; white-space: nowrap; }
|
|
4339
|
+
.report-nav input {
|
|
4340
|
+
width: 76px; min-width: 0; padding: 5px 8px; border: 1px solid var(--border);
|
|
4341
|
+
border-radius: 5px; background: var(--surface-3); color: var(--text);
|
|
4342
|
+
font: inherit; font-size: 12px;
|
|
4343
|
+
}
|
|
4344
|
+
.report-object-error { flex-basis: 100%; color: var(--warn); font-size: 12px; }
|
|
4345
|
+
.report-nav, .report-nav * { scrollbar-width: thin; scrollbar-color: var(--border) var(--surface-2); }
|
|
4346
|
+
.report-nav *::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
4347
|
+
.report-nav *::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
|
|
4348
|
+
.report-nav *::-webkit-scrollbar-track { background: var(--surface-2); }
|
|
4277
4349
|
.report-stage { position: relative; flex: 1; background: #0f172a; }
|
|
4278
4350
|
/* Only the SHOWN frame fills the stage — `:not([hidden])` so `display:block` never defeats the
|
|
4279
4351
|
`hidden` attribute on the inactive frame (else it keeps its height and pushes the other off-screen). */
|
|
@@ -5575,13 +5647,16 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5575
5647
|
color:var(--text-muted); font-size:12px; width:100%; text-align:center; padding:12px; }
|
|
5576
5648
|
.ws-seed:hover { background:var(--accent-soft); border-color:var(--accent); }
|
|
5577
5649
|
.ws-seed:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
5578
|
-
.ws-seed .
|
|
5650
|
+
.ws-seed .ws-seed-icon { font-size:24px; color:var(--accent); line-height:1; }
|
|
5579
5651
|
/* Drop-a-drawing seed card: a click-to-pick + drag/drop target. .drag-over lights it up
|
|
5580
5652
|
while a file hovers (same intent as the editor's .canvas-drop-target.active). */
|
|
5581
5653
|
.ws-seed-drop.drag-over { background:var(--accent-soft); border-color:var(--accent); border-style:solid; }
|
|
5582
5654
|
.ws-seed .ws-seed-headline { font-size:12.5px; font-weight:600; color:var(--text); line-height:1.35; }
|
|
5583
5655
|
.ws-seed .ws-seed-sub { font-size:11px; color:var(--text-dim); line-height:1.4; max-width:220px; }
|
|
5584
5656
|
.ws-seed .ws-seed-capability { font-size:11px; font-weight:600; color:var(--text-muted); line-height:1.35; max-width:220px; }
|
|
5657
|
+
.ws-seed .ws-seed-readonly { display:inline-flex; align-items:center; min-height:20px; padding:0 7px;
|
|
5658
|
+
border:1px solid var(--border-strong); border-radius:999px; background:var(--panel); color:var(--text-dim);
|
|
5659
|
+
font-size:10px; font-weight:700; line-height:1; letter-spacing:.02em; }
|
|
5585
5660
|
.ws-seed-remedy { border-style:solid; border-color:var(--border-strong); }
|
|
5586
5661
|
.ws-seed-remedy:hover { border-color:var(--accent); }
|
|
5587
5662
|
.ws-seed-remedy .ws-seed-state { color:var(--text-muted); }
|
|
@@ -5622,7 +5697,19 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
5622
5697
|
.ws-source-inner { max-width:440px; text-align:center; }
|
|
5623
5698
|
.ws-source-ico { font-size:34px; color:var(--accent); display:block; margin-bottom:12px; line-height:1; }
|
|
5624
5699
|
.ws-source-title { font-size:14px; font-weight:600; color:var(--text); margin-bottom:6px; }
|
|
5625
|
-
.ws-source-sub { font-size:12px; color:var(--text-dim); line-height:1.55; }
|
|
5700
|
+
.ws-source-sub { font-size:12px; color:var(--text-dim); line-height:1.55; white-space:pre-line; }
|
|
5701
|
+
/* A refusal can explain several findings and next steps. Keep the existing Source surface, but
|
|
5702
|
+
present its copy as readable prose in both themes instead of a narrow, centered caption. */
|
|
5703
|
+
.ws-source-placeholder[role="alert"] { overflow-y:auto; align-items:flex-start;
|
|
5704
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
5705
|
+
.ws-source-placeholder[role="alert"]::-webkit-scrollbar { width:9px; }
|
|
5706
|
+
.ws-source-placeholder[role="alert"]::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
5707
|
+
.ws-source-placeholder[role="alert"]::-webkit-scrollbar-track { background:transparent; }
|
|
5708
|
+
.ws-source-placeholder[role="alert"] .ws-source-inner { width:100%; max-width:620px; margin:auto; text-align:left; }
|
|
5709
|
+
.ws-source-placeholder[role="alert"] .ws-source-ico { margin:0 0 14px; font-size:28px; color:var(--err); }
|
|
5710
|
+
.ws-source-placeholder[role="alert"] .ws-source-title { margin-bottom:9px; font-size:15px; }
|
|
5711
|
+
.ws-source-placeholder[role="alert"] .ws-source-sub { max-width:68ch; color:var(--text-muted); font-size:13px; line-height:1.65; }
|
|
5712
|
+
.ws-source-placeholder[role="alert"] .ws-source-actions { justify-content:flex-start; flex-wrap:wrap; }
|
|
5626
5713
|
/* Import in flight: paintRevitSourceActions sets data-importing="true" on the pane, and the glyph
|
|
5627
5714
|
gives way to a ring spinner — the editor's own .state-spinner recipe (revit-editor.css), reduced
|
|
5628
5715
|
motion keeps the ring and drops the spin, like .kb-view-spin. The hook is data-importing rather
|