@floless/app 0.139.1 → 0.141.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 +32765 -36490
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +8 -3
- package/dist/skills/floless-app-vectorize/SKILL.md +1 -1
- package/dist/skills/floless-app-vectorize/scripts/extract_pdf.py +7 -1
- package/dist/skills/floless-app-vectorize/scripts/vision_to_contract.py +7 -1
- package/dist/web/app.css +163 -3
- package/dist/web/aware.js +657 -66
- package/dist/web/chat.css +387 -25
- package/dist/web/chat.js +2005 -108
- package/dist/web/commands-filter.js +86 -8
- package/dist/web/commands-revit.js +2 -1
- package/dist/web/commands-shell.js +249 -13
- package/dist/web/commands-steel.js +34 -24
- package/dist/web/commands.js +19 -0
- package/dist/web/filter-ai-context.js +57 -0
- package/dist/web/filter-ai-proposal.js +87 -0
- package/dist/web/filter-guidance.js +8 -0
- package/dist/web/index.html +72 -11
- package/dist/web/instructor.js +231 -33
- package/dist/web/left-pane.js +185 -18
- package/dist/web/local-discovery.js +297 -0
- package/dist/web/model-editor-revit-adapter.js +3 -1
- package/dist/web/model-editor-steel-adapter.js +3 -1
- package/dist/web/model-editor.css +4 -4
- package/dist/web/model-revit-module.js +63 -0
- package/dist/web/model-viewport-toolbar.js +13 -1
- package/dist/web/model-viewport.js +16 -1
- package/dist/web/overlay-escape.js +79 -0
- package/dist/web/revit-editor.css +7 -0
- package/dist/web/revit-editor.html +5 -5
- package/dist/web/revit-editor.js +20 -10
- package/dist/web/steel-detail-refs.js +0 -69
- package/dist/web/steel-editor.html +103 -264
- package/dist/web/steel-filter-core.js +298 -12
- package/dist/web/steel-filter-hit.js +526 -0
- package/dist/web/steel-filter.html +1647 -75
- package/dist/web/steel-split-view.js +1 -1
- package/dist/web/vector-3d.html +3 -0
- package/dist/web/vector-editor.html +9 -1
- package/dist/web/workspaces.js +198 -25
- package/package.json +5 -2
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
});
|
|
300
300
|
|
|
301
301
|
def('steel.apply-profile-label', {
|
|
302
|
-
label: 'Apply
|
|
302
|
+
label: 'Apply the {instance} profile',
|
|
303
303
|
actsOn: 'Replaces the selected member’s profile with {instance}',
|
|
304
304
|
group: 'On the drawing canvas',
|
|
305
305
|
persistence: 'working',
|
|
@@ -1152,6 +1152,7 @@
|
|
|
1152
1152
|
def('steel.member-end-history', {
|
|
1153
1153
|
label: 'Member-end history',
|
|
1154
1154
|
actsOn: '{instance} the newest member-end resolution',
|
|
1155
|
+
anyInstance: 'Undo or redo',
|
|
1155
1156
|
group: 'In the Properties panel',
|
|
1156
1157
|
persistence: 'working',
|
|
1157
1158
|
interaction: 'instant',
|
|
@@ -1310,27 +1311,29 @@
|
|
|
1310
1311
|
why: 'Restoring an earlier version is done from there, not here — this only opens the list.',
|
|
1311
1312
|
});
|
|
1312
1313
|
|
|
1313
|
-
/* ── the 2D
|
|
1314
|
+
/* ── the 2D view band (#1428) — the plan's counterpart of the 3D Fit / Zoom-to-selected pair ── */
|
|
1314
1315
|
|
|
1315
|
-
def('steel.zoom', {
|
|
1316
|
-
label: '
|
|
1317
|
-
actsOn: '
|
|
1318
|
-
group: '
|
|
1316
|
+
def('steel.zoom-fit', {
|
|
1317
|
+
label: 'Fit all to view',
|
|
1318
|
+
actsOn: 'Frames the whole plan in the 2D view',
|
|
1319
|
+
group: 'In the 2D view toolbar',
|
|
1320
|
+
key: 'Also: Home',
|
|
1319
1321
|
persistence: 'none',
|
|
1320
1322
|
interaction: 'instant',
|
|
1321
1323
|
risk: [],
|
|
1322
1324
|
guidance: 'on-demand',
|
|
1323
1325
|
});
|
|
1324
1326
|
|
|
1325
|
-
def('steel.zoom-
|
|
1326
|
-
label: 'Zoom to
|
|
1327
|
-
actsOn: 'Frames the
|
|
1328
|
-
group: '
|
|
1329
|
-
key: 'Also:
|
|
1327
|
+
def('steel.zoom-selection', {
|
|
1328
|
+
label: 'Zoom to selected',
|
|
1329
|
+
actsOn: 'Frames just the selected members on the plan',
|
|
1330
|
+
group: 'In the 2D view toolbar',
|
|
1331
|
+
key: 'Also: Alt+Z or Shift+Space',
|
|
1330
1332
|
persistence: 'none',
|
|
1331
1333
|
interaction: 'instant',
|
|
1332
1334
|
risk: [],
|
|
1333
1335
|
guidance: 'on-demand',
|
|
1336
|
+
why: 'With nothing selected it frames the whole plan, the same as Fit all to view.',
|
|
1334
1337
|
});
|
|
1335
1338
|
|
|
1336
1339
|
/* ── the 3D toolbar ─────────────────────────────────────────────────────── */
|
|
@@ -1464,7 +1467,7 @@
|
|
|
1464
1467
|
});
|
|
1465
1468
|
def('steel.property-label-all', {
|
|
1466
1469
|
label: "For all",
|
|
1467
|
-
actsOn: "Labels every member in the view the {instance} menu
|
|
1470
|
+
actsOn: "Labels every member in the view edited by the {instance} menu, and turns off both selection scopes there",
|
|
1468
1471
|
group: "In the label menus",
|
|
1469
1472
|
persistence: "working",
|
|
1470
1473
|
interaction: "instant",
|
|
@@ -1473,7 +1476,7 @@
|
|
|
1473
1476
|
});
|
|
1474
1477
|
def('steel.property-label-selected', {
|
|
1475
1478
|
label: "For selected",
|
|
1476
|
-
actsOn: "Keeps labels on the members selected when turned on, in the view the {instance} menu
|
|
1479
|
+
actsOn: "Keeps labels on the members selected when turned on, in the view edited by the {instance} menu",
|
|
1477
1480
|
group: "In the label menus",
|
|
1478
1481
|
persistence: "working",
|
|
1479
1482
|
interaction: "instant",
|
|
@@ -1483,7 +1486,7 @@
|
|
|
1483
1486
|
});
|
|
1484
1487
|
def('steel.property-label-live', {
|
|
1485
1488
|
label: "On selection",
|
|
1486
|
-
actsOn: "Labels follow the current selection in the view the {instance} menu
|
|
1489
|
+
actsOn: "Labels follow the current selection in the view edited by the {instance} menu",
|
|
1487
1490
|
group: "In the label menus",
|
|
1488
1491
|
persistence: "working",
|
|
1489
1492
|
interaction: "instant",
|
|
@@ -1590,6 +1593,7 @@
|
|
|
1590
1593
|
def('steel.toolbar-menu', {
|
|
1591
1594
|
label: 'Toolbar menu',
|
|
1592
1595
|
actsOn: 'Opens the {instance} options',
|
|
1596
|
+
anyInstance: 'toolbar menu’s',
|
|
1593
1597
|
group: 'In the 3D toolbar',
|
|
1594
1598
|
persistence: 'none',
|
|
1595
1599
|
interaction: 'instant',
|
|
@@ -1602,6 +1606,7 @@
|
|
|
1602
1606
|
def('steel.panel-menu', {
|
|
1603
1607
|
label: 'Properties panel menu',
|
|
1604
1608
|
actsOn: 'Opens the {instance} options',
|
|
1609
|
+
anyInstance: 'panel menu’s',
|
|
1605
1610
|
group: 'In the Properties panel',
|
|
1606
1611
|
persistence: 'none',
|
|
1607
1612
|
interaction: 'instant',
|
|
@@ -1671,6 +1676,7 @@
|
|
|
1671
1676
|
def('steel.view-cut-depth', {
|
|
1672
1677
|
label: 'Cut depth',
|
|
1673
1678
|
actsOn: 'Sets the {instance} depth of the view’s cut',
|
|
1679
|
+
anyInstance: 'chosen',
|
|
1674
1680
|
group: 'In the Properties panel',
|
|
1675
1681
|
persistence: 'working',
|
|
1676
1682
|
interaction: 'instant',
|
|
@@ -1753,6 +1759,7 @@
|
|
|
1753
1759
|
def('steel.view-direction', {
|
|
1754
1760
|
label: 'Look direction',
|
|
1755
1761
|
actsOn: 'Aims the section toward {instance} world X or Y',
|
|
1762
|
+
anyInstance: 'the direction you pick along',
|
|
1756
1763
|
group: 'In the Generate views dialog',
|
|
1757
1764
|
persistence: 'none',
|
|
1758
1765
|
interaction: 'instant',
|
|
@@ -1763,6 +1770,7 @@
|
|
|
1763
1770
|
def('steel.view-depth', {
|
|
1764
1771
|
label: 'View depth',
|
|
1765
1772
|
actsOn: 'Sets how far {instance} of the grid line the view reaches',
|
|
1773
|
+
anyInstance: 'ahead or behind',
|
|
1766
1774
|
group: 'In the Generate views dialog',
|
|
1767
1775
|
persistence: 'none',
|
|
1768
1776
|
interaction: 'instant',
|
|
@@ -1874,6 +1882,7 @@
|
|
|
1874
1882
|
def('steel.reference-select-all', {
|
|
1875
1883
|
label: 'Select or clear all',
|
|
1876
1884
|
actsOn: 'Ticks or unticks every {instance}',
|
|
1885
|
+
anyInstance: 'storey or type',
|
|
1877
1886
|
group: 'In the reference-model dialogs',
|
|
1878
1887
|
persistence: 'none',
|
|
1879
1888
|
interaction: 'instant',
|
|
@@ -2115,7 +2124,7 @@
|
|
|
2115
2124
|
|
|
2116
2125
|
def('steel.overwrite-save', { label: 'Overwrite and save', actsOn: 'Replaces the newer saved model with the version open here', group: 'In the steel editor dialogs', persistence: 'working', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'Only appears after a save conflict and asks for confirmation before the other saved version is replaced.' });
|
|
2117
2126
|
def('steel.dimension-end-style', { label: 'Dimension end style', actsOn: 'Draws dimension ends as {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2118
|
-
def('steel.dimension-label-position', { label: 'Dimension label position', actsOn: 'Places dimension text {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2127
|
+
def('steel.dimension-label-position', { label: 'Dimension label position', actsOn: 'Places dimension text {instance}', anyInstance: 'above or on the line', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2119
2128
|
def('steel.dimension-label-background', { label: 'Label background', actsOn: 'Shows or hides the filled chip behind dimension text', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'With it off, a halo keeps the text readable while leaving more of the drawing visible.' });
|
|
2120
2129
|
def('steel.dimension-clear-overrides', { label: 'Follow defaults again', actsOn: 'Removes every per-dimension style on this sheet', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Only appears when one or more dimensions override the shared defaults. Undo restores those overrides.' });
|
|
2121
2130
|
def('steel.grid-level-visibility', { label: 'Level visibility', actsOn: 'Shows or hides the 3D grid for {instance}', group: 'In the grid panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -2134,13 +2143,13 @@
|
|
|
2134
2143
|
def('steel.catalog-material', { label: 'Material choice', actsOn: 'Stages {instance} and shows its provider facts before anything is applied', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The model stays unchanged until Apply is pressed.' });
|
|
2135
2144
|
def('steel.catalog-material-default', { label: 'Use profile default', actsOn: 'Stages omission of an explicit grade so each member follows its profile', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The model stays unchanged until the choice is applied.' });
|
|
2136
2145
|
def('steel.catalog-material-current', { label: 'Keep current material', actsOn: 'Stages the project material that is not present in this provider catalog', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2137
|
-
def('steel.catalog-custom', { label: 'Custom designation', actsOn: 'Edits a catalog-independent {instance} value for this choice', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2138
|
-
def('steel.catalog-use-custom', { label: 'Stage custom value', actsOn: 'Stages the typed {instance} designation without changing the model yet', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2146
|
+
def('steel.catalog-custom', { label: 'Custom designation', actsOn: 'Edits a catalog-independent {instance} value for this choice', anyInstance: 'profile or material', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2147
|
+
def('steel.catalog-use-custom', { label: 'Stage custom value', actsOn: 'Stages the typed {instance} designation without changing the model yet', anyInstance: 'profile or material', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2139
2148
|
def('steel.catalog-apply', { label: 'Apply catalog choice', actsOn: 'Writes {instance} to the member scope named at the top of this picker', group: 'In the steel editor dialogs', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2140
2149
|
def('steel.catalog-cancel', { label: 'Cancel catalog choice', actsOn: 'Closes the picker and leaves the model unchanged', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2141
|
-
def('steel.catalog-clear-search', { label: 'Clear catalog search', actsOn: 'Restores every available {instance} row in this picker', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2142
|
-
def('steel.catalog-retry', { label: 'Retry catalog load', actsOn: '
|
|
2143
|
-
def('steel.catalog-show-more', { label: 'Show more catalog rows', actsOn: 'Reveals the next page of matching {instance}', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2150
|
+
def('steel.catalog-clear-search', { label: 'Clear catalog search', actsOn: 'Restores every available {instance} row in this picker', anyInstance: 'catalog', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2151
|
+
def('steel.catalog-retry', { label: 'Retry catalog load', actsOn: 'Retries the {instance} provider after a load failure', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2152
|
+
def('steel.catalog-show-more', { label: 'Show more catalog rows', actsOn: 'Reveals the next page of matching {instance}', anyInstance: 'profiles', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2144
2153
|
def('steel.detail-placement-coordinate', { label: 'Detail coordinate', actsOn: 'Moves the selected reference detail along {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2145
2154
|
def('steel.detail-placement-rotation', { label: 'Detail rotation', actsOn: 'Rotates the selected reference detail on its image plane', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2146
2155
|
def('steel.detail-placement-size', { label: 'Detail size', actsOn: 'Sets the displayed size of the selected reference detail', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The placed image is reference-only; changing its size does not build steel.' });
|
|
@@ -2241,7 +2250,7 @@
|
|
|
2241
2250
|
def('steel.selection-material', { label: 'Material grade', actsOn: 'Sets one material on every selected member', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2242
2251
|
def('steel.selection-verified', { label: 'Verify selected members', actsOn: 'Marks or unmarks every selected member as human-confirmed', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Human confirmation contributes full confidence but does not invent a missing AISC size.' });
|
|
2243
2252
|
def('steel.ends-swap', { label: 'Swap start and end', actsOn: 'Reverses the eligible selected beam members', group: 'In the Properties panel', key: 'Also: P', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Columns stay base-to-top, and braces use their separate lower-end display control.' });
|
|
2244
|
-
def('steel.quick-dimension-anchor', { label: 'Spacing point', actsOn: 'Measures each selected beam at its {instance}', group: 'In the Properties panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2253
|
+
def('steel.quick-dimension-anchor', { label: 'Spacing point', actsOn: 'Measures each selected beam at its {instance}', anyInstance: 'start, middle or end', group: 'In the Properties panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2245
2254
|
def('steel.members-delete', { label: 'Delete selected members', actsOn: 'Removes every selected member from this sheet', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo restores the members and their presentation references.' });
|
|
2246
2255
|
def('steel.member-delete', { label: 'Delete member', actsOn: 'Removes the selected member from this sheet', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo restores the member and its presentation references.' });
|
|
2247
2256
|
def('steel.detail-preview', { label: 'Open detail', actsOn: 'Shows the detail image assigned to {instance}', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -2257,7 +2266,7 @@
|
|
|
2257
2266
|
def('steel.connection-stiffener', { label: 'Opposite stiffener', actsOn: 'Adds or removes the opposite support stiffener for {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2258
2267
|
def('steel.connection-end-remove', { label: 'Remove end connection', actsOn: 'Deletes the plate connection at {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The member stays, and Undo restores the connection.' });
|
|
2259
2268
|
def('steel.brace-type', { label: 'Brace type', actsOn: 'Draws the brace as {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Lateral uses the true work points; vertical can carry a display offset.' });
|
|
2260
|
-
def('steel.brace-position', { label: 'Brace position', actsOn: 'Draws the brace {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This changes the 2D symbol only; the member geometry does not move.' });
|
|
2269
|
+
def('steel.brace-position', { label: 'Brace position', actsOn: 'Draws the brace {instance}', anyInstance: 'above or below the floor', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This changes the 2D symbol only; the member geometry does not move.' });
|
|
2261
2270
|
def('steel.brace-offset', { label: 'Brace offset', actsOn: 'Offsets the brace symbol from its work-point line', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The steel itself never moves; this is a display-only plan offset.' });
|
|
2262
2271
|
def('steel.brace-offset-flip', { label: 'Flip brace offset', actsOn: 'Draws the brace symbol on the opposite side of its work-point line', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2263
2272
|
def('steel.brace-lower-end-swap', { label: 'Swap lower brace end', actsOn: 'Moves the double arrowhead to the opposite brace end', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Display only — neither work point nor elevation changes.' });
|
|
@@ -2271,11 +2280,11 @@
|
|
|
2271
2280
|
def('steel.properties-pin', { label: 'Pin Properties', actsOn: 'Keeps the Properties popup open while the selection changes', group: 'In the Properties popup', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2272
2281
|
def('steel.properties-clear', { label: 'Clear all properties', actsOn: 'Unchecks every property label', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Visibility can remain on with no property selected; no labels are drawn in that state.' });
|
|
2273
2282
|
def('steel.properties-search', { label: 'Search properties', actsOn: 'Filters the property rows by name', group: 'In the Properties popup', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2274
|
-
def('steel.properties-placement', { label: 'Property label placement', actsOn: 'Anchors property labels at the member {instance}', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2283
|
+
def('steel.properties-placement', { label: 'Property label placement', actsOn: 'Anchors property labels at the member {instance}', anyInstance: 'start, middle or end', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2275
2284
|
def('steel.property-label', { label: 'Property label', actsOn: 'Shows or hides the label for {instance}', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2276
2285
|
def('steel.snap-override', { label: 'Snap override', actsOn: 'Restricts the current pick to {instance}', group: 'In the snap override menu', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The override clears when the current operation ends; running snap settings are unchanged.' });
|
|
2277
2286
|
def('steel.dimension-value', { label: 'Dimension value', actsOn: 'Sets the selected dimension to a typed length', group: 'In the dimension value popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Which linked end moves is controlled by the left and right buttons beside the value.' });
|
|
2278
|
-
def('steel.dimension-driven-end', { label: 'Driven dimension end', actsOn: 'Lets the typed dimension value move the {instance}', group: 'In the dimension value popup', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'At least one end always remains selected; enabling both moves them symmetrically.' });
|
|
2287
|
+
def('steel.dimension-driven-end', { label: 'Driven dimension end', actsOn: 'Lets the typed dimension value move the {instance}', anyInstance: 'left or right end', group: 'In the dimension value popup', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'At least one end always remains selected; enabling both moves them symmetrically.' });
|
|
2279
2288
|
def('steel.selection-type-filter', { label: 'Selection type', actsOn: 'Allows or blocks selecting {instance}', group: 'In the selection filter', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2280
2289
|
def('steel.selection-type-filter-all', { label: 'All selection types', actsOn: 'Allows or blocks every type under {instance}', group: 'In the selection filter', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2281
2290
|
def('steel.member-type', { label: 'Member type', actsOn: 'Sets the member category for {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The type controls role-specific editing and how the member is grouped in the legend.' });
|
|
@@ -2322,6 +2331,7 @@
|
|
|
2322
2331
|
def('steel.position-face', {
|
|
2323
2332
|
label: 'Profile position',
|
|
2324
2333
|
actsOn: 'Puts the section {instance} — the work-line does not move',
|
|
2334
|
+
anyInstance: 'in the position you pick',
|
|
2325
2335
|
group: 'In the Properties panel',
|
|
2326
2336
|
persistence: 'working',
|
|
2327
2337
|
interaction: 'instant',
|
package/dist/web/commands.js
CHANGED
|
@@ -141,6 +141,21 @@
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
/* anyInstance REPLACES the slot, so it must be prose, and it only means something on a
|
|
145
|
+
template that has a slot to fill. One on a template without `{instance}` is dead copy
|
|
146
|
+
that reads as if it were doing something. (#1442) */
|
|
147
|
+
if (meta.anyInstance != null) {
|
|
148
|
+
var slotted = String(meta.label || '').indexOf('{instance}') !== -1
|
|
149
|
+
|| String(meta.actsOn || '').indexOf('{instance}') !== -1;
|
|
150
|
+
if (typeof meta.anyInstance !== 'string' || !meta.anyInstance.trim() || /[{}]/.test(meta.anyInstance)) {
|
|
151
|
+
fail(id, 'anyInstance must be a plain-English phrase with no braces');
|
|
152
|
+
ok = false;
|
|
153
|
+
} else if (!slotted) {
|
|
154
|
+
fail(id, 'anyInstance is set but neither label nor actsOn has an {instance} slot to fill');
|
|
155
|
+
ok = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
144
159
|
// A command that narrates steps must say what its steps are.
|
|
145
160
|
if (meta.guidance === GUIDANCE_REQUIRING_STEPS && (!Array.isArray(meta.steps) || !meta.steps.length)) {
|
|
146
161
|
fail(id, 'guidance "active-command" requires a non-empty steps array');
|
|
@@ -185,6 +200,10 @@
|
|
|
185
200
|
// every command that can be abandoned — but wrong, and misleading, for one whose Esc still
|
|
186
201
|
// commits something. A command that escapes differently says so once, here.
|
|
187
202
|
escLabel: meta.escLabel || null,
|
|
203
|
+
// What `{instance}` reads as when no particular instance is known — the `?` sheet lists
|
|
204
|
+
// templates. Only for a slot "the one you pick" cannot fill (an adverb, a unit, a kind);
|
|
205
|
+
// instructor.js fillInstance() derives every other fallback from the words around it.
|
|
206
|
+
anyInstance: meta.anyInstance || null,
|
|
188
207
|
why: meta.why || null,
|
|
189
208
|
surface: currentSurface,
|
|
190
209
|
tier: tierOf(meta),
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/** A bounded, explicitly partial view for read-only Drawing Filter questions. */
|
|
2
|
+
export function rankFilterControls(controls, instruction, focusedControl) {
|
|
3
|
+
const upper = String(instruction || '').toUpperCase();
|
|
4
|
+
const words = upper.match(/[A-Z0-9]{3,}/g) || [];
|
|
5
|
+
const score = row => {
|
|
6
|
+
const label = String(row.label || '').toUpperCase();
|
|
7
|
+
const focused = focusedControl?.dimension === row.dimension
|
|
8
|
+
&& (focusedControl.key !== undefined && (row.key !== undefined || row.value !== undefined)
|
|
9
|
+
? focusedControl.key === (row.key ?? row.value)
|
|
10
|
+
: String(focusedControl.label).toUpperCase() === label);
|
|
11
|
+
return (focused ? 100 : 0)
|
|
12
|
+
+ (label && upper.includes(label) ? 80 : 0)
|
|
13
|
+
+ (words.some(word => label.includes(word)) ? 40 : 0)
|
|
14
|
+
+ (/GRID|BEAM|STEL|STEEL|DIM|SECT|PROFILE|MARK/.test(label) ? 10 : 0)
|
|
15
|
+
+ (row.checked ? 2 : 0);
|
|
16
|
+
};
|
|
17
|
+
return [...controls].sort((a, b) => score(b) - score(a));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function readOnlyFilterContext(snapshot, instruction, scope) {
|
|
21
|
+
const facts = [
|
|
22
|
+
scope,
|
|
23
|
+
('Current sheet: '+(snapshot.sheet || 'not loaded')+'; mode: '+(snapshot.mode || 'not loaded')+'. Checked properties must all match.').slice(0,500),
|
|
24
|
+
];
|
|
25
|
+
const controls = snapshot.controls || [];
|
|
26
|
+
let represented = 0, part = '';
|
|
27
|
+
for (const row of controls) {
|
|
28
|
+
const entry = row.dimension+':'+JSON.stringify(row.label)+' '+(row.checked?'on':'off')+' ('+row.count+')'
|
|
29
|
+
+(row.notRead ? ' not read by FloLess and cannot be changed here' : '');
|
|
30
|
+
if (part && part.length + entry.length + 2 > 500) {
|
|
31
|
+
facts.push(part); part = '';
|
|
32
|
+
}
|
|
33
|
+
if (facts.length >= 10) break;
|
|
34
|
+
part += (part ? '; ' : '') + entry;
|
|
35
|
+
represented++;
|
|
36
|
+
}
|
|
37
|
+
if (part && facts.length < 10) facts.push(part);
|
|
38
|
+
const samples = snapshot.sheetTextSamples || [];
|
|
39
|
+
let sampleCount = 0, sampleFact = 'Text examples, not a complete read: ';
|
|
40
|
+
for (const row of samples) {
|
|
41
|
+
const entry = JSON.stringify(row.text)+' on '+JSON.stringify(row.layer)+' '+(row.selected?'selected':'excluded');
|
|
42
|
+
if (sampleFact.length + entry.length + 2 > 500) break;
|
|
43
|
+
sampleFact += (sampleCount ? '; ' : '') + entry;
|
|
44
|
+
sampleCount++;
|
|
45
|
+
}
|
|
46
|
+
if (sampleCount) facts.push(sampleFact);
|
|
47
|
+
facts.push('Partial drawing view: '+represented+' of '+(snapshot.controlTotal ?? controls.length)+' controls and '+sampleCount+' of '+(snapshot.textTotal ?? samples.length)+' text items are listed. More drawing content may exist. Do not claim a complete audit.');
|
|
48
|
+
return { subject:instruction, commandId:'filter.ask-ai-question', surface:'steel-filter', tone:'idle', facts };
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** Unsaved ticks and the current sheet are part of the Question's answer identity. */
|
|
52
|
+
export function filterViewFingerprint(sheet, selection) {
|
|
53
|
+
return JSON.stringify({ sheet, mode:selection.mode,
|
|
54
|
+
layers:[...selection.layers].sort(),
|
|
55
|
+
thicknesses:[...selection.thicknesses].sort((a,b)=>a-b),
|
|
56
|
+
colors:[...selection.colors].sort() });
|
|
57
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { FACET_DIMS, MODE_ORDER, canonicalMode, facetKey } from './steel-filter-core.js';
|
|
2
|
+
|
|
3
|
+
/** A not-read layer has no lines behind its checkbox, even if a duplicate row has the same key. */
|
|
4
|
+
export function filterAiBlockedLayerKeys(filter) {
|
|
5
|
+
const blocked = new Set();
|
|
6
|
+
for (const row of filter.layers || []) {
|
|
7
|
+
if (row.notRead !== true) continue;
|
|
8
|
+
const key = facetKey('layer', row.name);
|
|
9
|
+
if (key !== undefined) blocked.add(key);
|
|
10
|
+
}
|
|
11
|
+
return blocked;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function filterAiTouchesUnreadLayer(proposal, filter) {
|
|
15
|
+
const blocked = filterAiBlockedLayerKeys(filter);
|
|
16
|
+
return (proposal.changes || []).some(item => item.dimension === 'layer'
|
|
17
|
+
&& blocked.has(facetKey('layer', item.value)));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** Reject malformed or contradictory suggestions before any surface presents them. */
|
|
21
|
+
export function parseFilterAiProposalShape(answer) {
|
|
22
|
+
if (typeof answer !== 'string' || answer.length > 8_000) throw new Error('AI returned a suggestion that is too large. Ask about fewer layers.');
|
|
23
|
+
let value;
|
|
24
|
+
try { value = JSON.parse(answer); }
|
|
25
|
+
catch { throw new Error('AI did not return a usable selection. Ask it to try again.'); }
|
|
26
|
+
if (!value || Array.isArray(value) || typeof value !== 'object'
|
|
27
|
+
|| Object.keys(value).sort().join(',') !== 'changes,explanation,mode'
|
|
28
|
+
|| typeof value.explanation !== 'string' || !value.explanation.trim() || value.explanation.length > 500
|
|
29
|
+
|| !Array.isArray(value.changes) || value.changes.length > 30
|
|
30
|
+
|| (value.mode !== null && (typeof value.mode !== 'string'
|
|
31
|
+
|| !value.mode || value.mode !== canonicalMode(value.mode.split('+'))))) {
|
|
32
|
+
throw new Error('AI returned a suggestion this filter cannot use. Ask it to try again.');
|
|
33
|
+
}
|
|
34
|
+
const seen = new Set();
|
|
35
|
+
for (const item of value.changes) {
|
|
36
|
+
if (!item || Array.isArray(item) || typeof item !== 'object'
|
|
37
|
+
|| Object.keys(item).sort().join(',') !== 'dimension,on,value'
|
|
38
|
+
|| !MODE_ORDER.includes(item.dimension) || typeof item.on !== 'boolean') {
|
|
39
|
+
throw new Error('AI named a change this filter cannot use. Ask it to try again.');
|
|
40
|
+
}
|
|
41
|
+
if (item.dimension === 'thickness' && (typeof item.value !== 'number' || !Number.isFinite(item.value))) {
|
|
42
|
+
throw new Error('AI named a value that is missing from this filter. Ask it to try again.');
|
|
43
|
+
}
|
|
44
|
+
if (item.dimension !== 'thickness' && typeof item.value !== 'string') {
|
|
45
|
+
throw new Error('AI named a value that is missing from this filter. Ask it to try again.');
|
|
46
|
+
}
|
|
47
|
+
const key = item.value;
|
|
48
|
+
const canonical = facetKey(item.dimension, key);
|
|
49
|
+
const identity = item.dimension + '\0' + String(canonical);
|
|
50
|
+
if (canonical === undefined || seen.has(identity)) {
|
|
51
|
+
throw new Error('AI named a value that is missing from this filter. Ask it to try again.');
|
|
52
|
+
}
|
|
53
|
+
seen.add(identity);
|
|
54
|
+
}
|
|
55
|
+
return { explanation:value.explanation.trim(), changes:value.changes, mode:value.mode };
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Accept only control values present in this filter and shown to this AI request.
|
|
60
|
+
* @param {string} answer
|
|
61
|
+
* @param {{ layers?: Array<{name:string}>, thicknesses?: Array<{w:number}>, colors?: Array<{hex:string}> }} filter
|
|
62
|
+
* @param {Set<string> | null} allowedControls
|
|
63
|
+
*/
|
|
64
|
+
export function parseFilterAiProposal(answer, filter, allowedControls = null) {
|
|
65
|
+
const value = parseFilterAiProposalShape(answer);
|
|
66
|
+
const known = new Map();
|
|
67
|
+
const blockedLayers = filterAiBlockedLayerKeys(filter);
|
|
68
|
+
for (const dim of MODE_ORDER) {
|
|
69
|
+
const descriptor = FACET_DIMS[dim];
|
|
70
|
+
for (const row of filter[descriptor.control] || []) {
|
|
71
|
+
const key = facetKey(dim, row[descriptor.rowKey]);
|
|
72
|
+
if (key === undefined) continue;
|
|
73
|
+
if (dim === 'layer' && blockedLayers.has(key)) continue;
|
|
74
|
+
known.set(dim + '\0' + String(key), key);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const changes = [];
|
|
78
|
+
for (const item of value.changes) {
|
|
79
|
+
const canonical = facetKey(item.dimension, item.value);
|
|
80
|
+
const identity = item.dimension + '\0' + String(canonical);
|
|
81
|
+
if (!known.has(identity) || (allowedControls && !allowedControls.has(identity))) {
|
|
82
|
+
throw new Error('AI named a value that is missing from this filter. Ask it to try again.');
|
|
83
|
+
}
|
|
84
|
+
changes.push({ dimension:item.dimension, value:known.get(identity), on:item.on });
|
|
85
|
+
}
|
|
86
|
+
return { explanation:value.explanation, changes, mode:value.mode };
|
|
87
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* Shared front-door wording for the Drawing Filter and its review checkpoint. */
|
|
2
|
+
(function (root) {
|
|
3
|
+
'use strict';
|
|
4
|
+
root.FilterGuidance = Object.freeze({
|
|
5
|
+
scope: 'Select steel plus the clues needed to read it: member marks, grids, dimensions, and relevant detail callouts.',
|
|
6
|
+
canvas: 'Bright items may be used in the read. The dim drawing is context only.',
|
|
7
|
+
});
|
|
8
|
+
})(window);
|
package/dist/web/index.html
CHANGED
|
@@ -154,16 +154,10 @@
|
|
|
154
154
|
<button type="button" class="left-section-close" data-left-section-close="narrative" data-command-id="shell.left-section#AI Chat" data-command-instance-label="AI Chat" aria-label="Hide AI Chat" data-tip="Hide AI Chat">×</button>
|
|
155
155
|
</header>
|
|
156
156
|
<div class="left-section-body narrative-section-body">
|
|
157
|
-
<div class="ai-chat-controls"
|
|
157
|
+
<div class="ai-chat-controls">
|
|
158
158
|
<span class="narrative-tabs" role="tablist" aria-label="AI Chat content">
|
|
159
159
|
<button data-command-id="shell.narrative-tab" type="button" class="narrative-tab active sr-only" id="narrative-tab" role="tab" aria-selected="true" aria-controls="messages">Chat <span class="answer-unread" id="chat-unread" hidden></span></button>
|
|
160
160
|
</span>
|
|
161
|
-
<span class="ai-chat-tab-actions">
|
|
162
|
-
<button data-command-id="shell.chat-history" type="button" class="ai-chat-icon" id="chat-history-toggle" aria-expanded="false" aria-controls="chat-history" data-tip="Conversation history" aria-label="Conversation history">☷</button>
|
|
163
|
-
<button data-command-id="shell.chat-new" type="button" class="ai-chat-icon" id="chat-new" data-tip="New conversation" aria-label="New conversation">+</button>
|
|
164
|
-
<button data-command-id="shell.chat-refresh" type="button" class="ai-chat-icon" id="chat-refresh" data-tip="Refresh this chat session" aria-label="Refresh this chat session">↻</button>
|
|
165
|
-
<button data-command-id="shell.chat-settings" type="button" class="ai-chat-icon" id="chat-settings-toggle" aria-expanded="false" aria-controls="chat-settings" data-tip="Chat settings" aria-label="Chat settings">⚙</button>
|
|
166
|
-
</span>
|
|
167
161
|
</div>
|
|
168
162
|
<div class="messages ai-chat-host" id="messages" role="tabpanel" aria-labelledby="narrative-tab">
|
|
169
163
|
<section class="ai-chat-shell" id="ai-chat-shell" aria-label="AI Chat">
|
|
@@ -172,9 +166,16 @@
|
|
|
172
166
|
<div class="ai-chat-title-line"><strong id="chat-title">AI Chat</strong><button data-command-id="shell.chat-rename" type="button" class="ai-chat-rename" id="chat-rename" aria-label="Rename conversation" data-tip="Rename conversation">✎</button></div>
|
|
173
167
|
<span id="chat-scope">Open a project or workflow</span>
|
|
174
168
|
</div>
|
|
169
|
+
<!-- One header row: the conversation's name on the left, its controls on the right. -->
|
|
170
|
+
<span class="ai-chat-tab-actions" role="toolbar" aria-label="Chat controls">
|
|
171
|
+
<button data-command-id="shell.chat-history" type="button" class="ai-chat-icon" id="chat-history-toggle" aria-expanded="false" aria-controls="chat-history" data-tip="Conversation history" aria-label="Conversation history">☷</button>
|
|
172
|
+
<button data-command-id="shell.chat-new" type="button" class="ai-chat-icon" id="chat-new" data-tip="New conversation" aria-label="New conversation">+</button>
|
|
173
|
+
<button data-command-id="shell.chat-refresh" type="button" class="ai-chat-icon" id="chat-refresh" data-tip="Refresh this chat session" aria-label="Refresh this chat session">↻</button>
|
|
174
|
+
<button data-command-id="shell.chat-settings" type="button" class="ai-chat-icon" id="chat-settings-toggle" aria-expanded="false" aria-controls="chat-settings" data-tip="Chat settings" aria-label="Chat settings">⚙</button>
|
|
175
|
+
</span>
|
|
175
176
|
</div>
|
|
176
177
|
<div class="ai-chat-settings" id="chat-settings" hidden>
|
|
177
|
-
<
|
|
178
|
+
<div class="ai-chat-setting ai-chat-provider" id="chat-provider" data-tip="FloLess uses whichever account is signed in to the Claude Code or Codex CLI on this computer. Signing in to the Claude desktop app or claude.ai does not change it. Switch account signs that CLI out first, then opens a window where you sign in."><span>Provider</span><strong aria-live="polite">—</strong><button data-command-id="shell.chat-switch-account" type="button" class="ai-chat-provider-switch" id="chat-switch-account" hidden>Switch account…</button></div>
|
|
178
179
|
<button data-command-id="shell.chat-model" type="button" class="ai-chat-setting" id="chat-model" aria-haspopup="listbox" aria-expanded="false" data-tip="Choose the model for future messages in this conversation."><span>AI model</span><strong>Choose model</strong></button>
|
|
179
180
|
<button data-command-id="shell.chat-effort" type="button" class="ai-chat-setting" id="chat-effort" aria-haspopup="listbox" aria-expanded="false" data-tip="Choose how much reasoning the AI uses for future messages."><span>Effort</span><strong>Medium</strong></button>
|
|
180
181
|
<button data-command-id="shell.chat-permission" type="button" class="ai-chat-setting" id="chat-permission" aria-haspopup="listbox" aria-expanded="false" data-tip="Access controls what the AI may change: Read only, Working folder write, or Full access."><span>Access</span><strong>Read only</strong></button>
|
|
@@ -188,6 +189,9 @@
|
|
|
188
189
|
<div class="ai-chat-picker" id="chat-picker" role="listbox" hidden></div>
|
|
189
190
|
<div class="ai-chat-history" id="chat-history" hidden aria-label="Conversation history"></div>
|
|
190
191
|
<div class="ai-chat-feed" id="chat-feed" tabindex="-1"></div>
|
|
192
|
+
<div class="ai-chat-offscreen-activity" id="chat-offscreen-activity" hidden aria-hidden="true">
|
|
193
|
+
<span class="ai-chat-live-dots" aria-hidden="true"><i></i><i></i><i></i></span>
|
|
194
|
+
</div>
|
|
191
195
|
<div class="ai-chat-recovery" id="chat-recovery" hidden>
|
|
192
196
|
<span id="chat-recovery-copy">FloLess needs to check the last AI response before sending another message.</span>
|
|
193
197
|
<button data-command-id="shell.chat-stop" type="button" id="chat-recovery-stop">Stop response</button>
|
|
@@ -195,8 +199,16 @@
|
|
|
195
199
|
</div>
|
|
196
200
|
<div class="ai-chat-attachments" id="chat-attachments" hidden></div>
|
|
197
201
|
<div class="ai-chat-skills" id="chat-skills" role="listbox" hidden></div>
|
|
202
|
+
<div class="ai-chat-approval-tray" id="chat-approval-tray"></div>
|
|
198
203
|
<div class="ai-chat-composer" id="chat-composer">
|
|
204
|
+
<div class="ai-chat-tekla-context" id="chat-tekla-context" hidden></div>
|
|
199
205
|
<textarea data-command-id="shell.chat-input" id="chat-input" rows="1" maxlength="131072" placeholder="Message AI…" aria-label="Message AI"></textarea>
|
|
206
|
+
<!-- The data-handling disclosure gets its OWN node in the composer, not a line in
|
|
207
|
+
#chat-compose-hint: that hint is one mutable string chosen by a priority chain,
|
|
208
|
+
so anything else needing the slot would silently overwrite the disclosure. This
|
|
209
|
+
sits in the composer's rigid grid row, so no conversation-area height can take
|
|
210
|
+
it away (#1501). -->
|
|
211
|
+
<p class="ai-chat-composer-disclosure" id="chat-composer-disclosure" hidden>Messages and attachments are sent to Claude or Codex through your account.</p>
|
|
200
212
|
<div class="ai-chat-compose-actions">
|
|
201
213
|
<input data-command-id="shell.chat-attach-input" id="chat-file" type="file" accept="image/png,image/jpeg,image/webp,application/pdf" multiple hidden>
|
|
202
214
|
<button data-command-id="shell.chat-attach" type="button" class="ai-chat-icon" id="chat-attach" data-tip="Attach image or PDF" aria-label="Attach image or PDF">+</button>
|
|
@@ -204,7 +216,9 @@
|
|
|
204
216
|
<button data-command-id="shell.chat-stop" type="button" class="ai-chat-stop" id="chat-stop" hidden>Stop</button>
|
|
205
217
|
<button data-command-id="shell.chat-send" type="button" class="ai-chat-send" id="chat-send">Send</button>
|
|
206
218
|
</div>
|
|
207
|
-
|
|
219
|
+
<!-- What goes with each message is the Send tooltip, and is read to screen readers, rather than a
|
|
220
|
+
line of text under the composer. -->
|
|
221
|
+
<div class="ai-chat-compose-context sr-only" id="chat-compose-context" aria-live="polite"></div>
|
|
208
222
|
</div>
|
|
209
223
|
<span class="sr-only" id="chat-status" role="status" aria-live="polite"></span>
|
|
210
224
|
</section>
|
|
@@ -345,9 +359,14 @@
|
|
|
345
359
|
<div class="ws-source-placeholder" id="ws-source-placeholder" hidden>
|
|
346
360
|
<div class="ws-source-inner">
|
|
347
361
|
<span class="ws-source-ico" aria-hidden="true">▨</span>
|
|
362
|
+
<!-- Shown INSTEAD of the glyph while data-importing is true (a Revit import in flight), so
|
|
363
|
+
the wait reads as work in progress rather than a dead pane. CSS-only swap on the
|
|
364
|
+
attribute; it is not aria-busy because this pane is the import's own live region. -->
|
|
365
|
+
<span class="ws-source-spin" aria-hidden="true"></span>
|
|
348
366
|
<div class="ws-source-title">This project's source drawing</div>
|
|
349
367
|
<div class="ws-source-sub">The lines on the Traced tab were read from the drawing you imported. Use “Attach revised drawings…” above to re-trace a newer one as a new version.</div>
|
|
350
368
|
<div class="ws-source-actions" id="ws-source-actions" hidden>
|
|
369
|
+
<button type="button" id="ws-revit-open-model" class="primary" data-command-id="revit.open-model" data-tip="Show the imported model on the Model tab. It stays a draft until approved." hidden>Open Model tab</button>
|
|
351
370
|
<button type="button" id="ws-revit-replace" class="btn-mini" data-command-id="revit.replace-import" data-tip="Choose a new RVT. The current model remains available until the replacement is ready.">Replace RVT…</button>
|
|
352
371
|
<button type="button" id="ws-revit-retry" class="btn-mini" data-command-id="revit.retry-import" data-tip="Try importing the already stored RVT again." hidden>Try import again</button>
|
|
353
372
|
<button type="button" id="ws-revit-cancel" class="btn-mini" data-command-id="revit.cancel-import" data-tip="Cancel this import. The existing model remains unchanged." hidden>Cancel import</button>
|
|
@@ -661,6 +680,10 @@
|
|
|
661
680
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 22v-5"/><path d="M15 8V2"/><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"/><path d="M9 8V2"/></svg></span>
|
|
662
681
|
<span class="menu-label">Graft into agent</span>
|
|
663
682
|
</button>
|
|
683
|
+
<button class="menu-item" data-action="discover-local" data-command-id="menu.discover-local" role="menuitem">
|
|
684
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m16 16 5 5M8 11h6m-3-3v6"/></svg></span>
|
|
685
|
+
<span class="menu-label">Discover local tools…</span>
|
|
686
|
+
</button>
|
|
664
687
|
<button class="menu-item" data-action="bake" data-command-id="menu.bake" id="menu-bake-item" role="menuitem">
|
|
665
688
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="M12 22V12"/><polyline points="3.29 7 12 12 20.71 7"/><path d="m7.5 4.27 9 5.15"/></svg></span>
|
|
666
689
|
<span class="menu-label" id="menu-bake-label">Bake into agent</span>
|
|
@@ -1053,6 +1076,7 @@
|
|
|
1053
1076
|
</div>
|
|
1054
1077
|
|
|
1055
1078
|
<div class="modal-actions">
|
|
1079
|
+
<button data-command-id="menu.discover-local" id="lib-discover-local" style="margin-right:auto;" data-tip="Look for installed apps and file names in folders you choose">Discover local tools…</button>
|
|
1056
1080
|
<button data-command-id="menu.graft" id="lib-graft" style="margin-right:auto;" data-tip="Build a new agent from a tool you own — a DLL, C# source, NuGet package, or API spec.">⊕ Graft new agent</button>
|
|
1057
1081
|
<button data-command-id="shell.dialog-close#the agent library" id="lib-close">Close</button>
|
|
1058
1082
|
</div>
|
|
@@ -1150,7 +1174,7 @@
|
|
|
1150
1174
|
<div class="request-help-steps" id="request-help-steps">
|
|
1151
1175
|
<div class="request-help-step"><span>1</span><p>Open Claude Code, Codex, or OpenCode in your project folder.</p></div>
|
|
1152
1176
|
<div class="request-help-step"><span>2</span><p>Paste the copied request. It will read the drawing and prepare the Drawing Filter.</p></div>
|
|
1153
|
-
<div class="request-help-step"><span>3</span><p>When it stops, open Drawing Filter,
|
|
1177
|
+
<div class="request-help-step"><span>3</span><p>When it stops, open Drawing Filter. Check steel, member marks, grids, dimensions, and relevant callouts; ask in AI Chat on the left if you are unsure. Then press Save filter in the top-right corner.</p></div>
|
|
1154
1178
|
</div>
|
|
1155
1179
|
<!-- Replaces the three steps above once floless has started the work itself: they describe
|
|
1156
1180
|
things the user must do, and after "Run it for me" there is nothing left for them to do.
|
|
@@ -1386,10 +1410,45 @@
|
|
|
1386
1410
|
<div class="modal-title" id="graft-title">Graft into agent</div>
|
|
1387
1411
|
<div class="modal-sub" id="graft-sub">Point at a DLL, package, or API spec — AWARE reads it and builds an agent you can drop into any workflow.</div>
|
|
1388
1412
|
<div id="graft-body"></div>
|
|
1413
|
+
<div id="graft-instructor-note" role="note" aria-label="Instructor guidance" aria-live="polite" tabindex="0" hidden></div>
|
|
1389
1414
|
<div class="modal-actions">
|
|
1390
1415
|
<button data-command-id="shell.graft-back" id="graft-back" style="margin-right:auto;" hidden>‹ Back</button>
|
|
1391
1416
|
<button data-command-id="shell.dialog-cancel#building an agent" id="graft-cancel">Cancel</button>
|
|
1392
|
-
<button data-command-id="shell.graft-
|
|
1417
|
+
<button data-command-id="shell.graft-inspect-source" id="graft-primary" class="primary" disabled>Inspect source</button>
|
|
1418
|
+
</div>
|
|
1419
|
+
</div>
|
|
1420
|
+
</div>
|
|
1421
|
+
|
|
1422
|
+
<div class="modal-backdrop" id="local-discovery-modal" role="dialog" aria-modal="true"
|
|
1423
|
+
aria-labelledby="local-discovery-title" aria-describedby="local-discovery-sub">
|
|
1424
|
+
<div class="modal local-discovery" tabindex="-1">
|
|
1425
|
+
<div class="modal-title" id="local-discovery-title">Discover local tools</div>
|
|
1426
|
+
<div class="modal-sub" id="local-discovery-sub">Look for installation evidence on this computer. Finding a tool does not connect or verify it.</div>
|
|
1427
|
+
<div class="local-discovery-body">
|
|
1428
|
+
<div class="local-discovery-scope">
|
|
1429
|
+
<strong>Where FloLess will look</strong>
|
|
1430
|
+
<p>FloLess looks at the list of installed apps and the names of files ending in .dll directly inside folders you choose. It does not open files, search subfolders, open projects, or run tools.</p>
|
|
1431
|
+
<p>FloLess checks up to 1,024 files and folders in each chosen folder so a very large folder cannot hold up the scan. If there are more, some tools may be missing from the results; choose a smaller folder and scan again.</p>
|
|
1432
|
+
<div id="local-discovery-folders" class="local-discovery-folders" aria-live="polite"></div>
|
|
1433
|
+
<button data-command-id="shell.discovery-choose-folder" id="local-discovery-choose" type="button">+ Add a folder…</button>
|
|
1434
|
+
</div>
|
|
1435
|
+
<div id="local-discovery-status" class="local-discovery-status" role="status" aria-live="polite">Review the scope, then scan.</div>
|
|
1436
|
+
<div id="local-discovery-errors" class="local-discovery-errors" hidden></div>
|
|
1437
|
+
<div id="local-discovery-browse" class="local-discovery-browse" hidden>
|
|
1438
|
+
<p>Results appear 40 at a time so the list stays easy to browse. Search checks every result from this scan.</p>
|
|
1439
|
+
<label for="local-discovery-filter">Search results by name or path</label>
|
|
1440
|
+
<input data-command-id="shell.discovery-filter" id="local-discovery-filter" type="text" autocomplete="off" placeholder="Find a tool or DLL…">
|
|
1441
|
+
<div class="local-discovery-page-row">
|
|
1442
|
+
<span id="local-discovery-count" role="status" aria-live="polite" tabindex="-1"></span>
|
|
1443
|
+
<button data-command-id="shell.discovery-previous" id="local-discovery-previous" type="button" hidden>Previous</button>
|
|
1444
|
+
<button data-command-id="shell.discovery-next" id="local-discovery-next" type="button" hidden>Next</button>
|
|
1445
|
+
</div>
|
|
1446
|
+
</div>
|
|
1447
|
+
<div id="local-discovery-results" class="local-discovery-results" aria-label="Local tool findings"></div>
|
|
1448
|
+
</div>
|
|
1449
|
+
<div class="modal-actions">
|
|
1450
|
+
<button data-command-id="shell.dialog-close#local discovery" id="local-discovery-close" type="button">Close</button>
|
|
1451
|
+
<button data-command-id="shell.discovery-scan" id="local-discovery-scan" class="primary" type="button">Scan this computer</button>
|
|
1393
1452
|
</div>
|
|
1394
1453
|
</div>
|
|
1395
1454
|
</div>
|
|
@@ -1427,9 +1486,11 @@
|
|
|
1427
1486
|
<script src="aware-update-client.js"></script>
|
|
1428
1487
|
<script src="aware.js"></script>
|
|
1429
1488
|
<script src="panels.js"></script>
|
|
1489
|
+
<script src="filter-guidance.js"></script>
|
|
1430
1490
|
<script src="workspaces.js"></script>
|
|
1431
1491
|
<script src="left-pane.js"></script>
|
|
1432
1492
|
<script src="chat.js"></script>
|
|
1493
|
+
<script src="local-discovery.js"></script>
|
|
1433
1494
|
<script src="commands-shell.js"></script>
|
|
1434
1495
|
<!-- The steel editor's capabilities load HERE as well as in steel-editor.html, and that is
|
|
1435
1496
|
deliberate: the shell is the sole guidance producer, so it must be able to resolve a
|