@floless/app 0.154.0 → 0.155.1
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 +49502 -37986
- package/dist/schemas/steel.model.v2.schema.json +19 -5
- package/dist/skills/floless-app-onboarding/SKILL.md +22 -13
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +12 -8
- package/dist/skills/floless-app-steel-model/SKILL.md +23 -2
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +158 -65
- package/dist/skills/floless-app-workflows/SKILL.md +23 -5
- package/dist/skills/floless-app-workflows/references/blender-exec.md +183 -0
- package/dist/skills/floless-app-workflows/references/dev-server-and-run-trace.md +27 -12
- package/dist/templates/blender-construction-sequence.flo +96 -0
- package/dist/web/agents.js +33 -13
- package/dist/web/app.css +275 -33
- package/dist/web/aware.js +745 -82
- package/dist/web/chat-question-card.js +477 -0
- package/dist/web/chat.css +177 -12
- package/dist/web/chat.js +1537 -717
- package/dist/web/commands-shell.js +424 -7
- package/dist/web/commands-steel.js +105 -4
- package/dist/web/guide.js +4 -3
- package/dist/web/index.html +96 -7
- package/dist/web/instructor.js +10 -9
- package/dist/web/left-pane.js +40 -3
- package/dist/web/media-player.js +234 -0
- package/dist/web/model-editor-contract.js +2 -0
- package/dist/web/model-editor-revit-adapter.js +1 -0
- package/dist/web/model-editor-steel-adapter.js +89 -1
- package/dist/web/model-panel-bridge.js +16 -2
- package/dist/web/model-view-query.js +590 -0
- package/dist/web/model-viewport-revit-adapter.js +15 -1
- package/dist/web/model-viewport-toolbar.js +5 -2
- package/dist/web/pages.js +592 -0
- package/dist/web/panels.js +2 -1
- package/dist/web/revit-editor.js +181 -16
- package/dist/web/run-progress.js +193 -0
- package/dist/web/run-strip.js +173 -0
- package/dist/web/steel-3d-core.js +70 -0
- package/dist/web/steel-editor.html +2751 -219
- package/dist/web/steel-frames-core.js +958 -0
- package/dist/web/steel-last-seen.js +315 -0
- package/dist/web/steel-marks-core.js +530 -0
- package/dist/web/steel-model-slim.js +95 -0
- package/dist/web/steel-model-v2-client-validation.js +14 -2
- package/dist/web/steel-model-v2-commands.js +258 -27
- package/dist/web/steel-model-v2-projection.js +78 -18
- package/dist/web/steel-read-confidence.js +11 -2
- package/dist/web/workspaces.js +416 -26
- package/package.json +3 -2
|
@@ -81,6 +81,31 @@
|
|
|
81
81
|
why: 'A point between the ends splits the dimension in two; a point beyond an end continues it as a running chain.',
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
+
/* ── callouts (#2211): the marks a drawing carries and the sheet each points to ─────────────────────── */
|
|
85
|
+
|
|
86
|
+
def('steel.callout-edit', {
|
|
87
|
+
label: 'Add a callout',
|
|
88
|
+
actsOn: 'Adds a detail, section or elevation callout to this sheet, or edits one you click',
|
|
89
|
+
group: 'On the steel canvas',
|
|
90
|
+
persistence: 'working',
|
|
91
|
+
interaction: 'mode',
|
|
92
|
+
risk: [],
|
|
93
|
+
guidance: 'active-command',
|
|
94
|
+
steps: ['Click the plan where the callout is drawn', 'Say what it reads and which sheet it points to, then Save'],
|
|
95
|
+
why: 'Click an existing mark to change or delete it.',
|
|
96
|
+
});
|
|
97
|
+
def('steel.callout-mark', { label: 'Mark as printed', actsOn: 'Holds what the callout reads on the drawing, for example 7/S-402', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The sheet and number below are filled in from it until you type in them yourself.' });
|
|
98
|
+
def('steel.callout-sheet', { label: 'Points to sheet', actsOn: 'Holds the sheet the callout points to', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Pick one of this model’s sheets or type one that isn’t in the model yet.' });
|
|
99
|
+
def('steel.callout-number', { label: 'Number or letter', actsOn: 'Holds the detail number or letter the callout points to', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
100
|
+
def('steel.callout-kind', { label: 'Callout type', actsOn: 'Sets the callout to a {instance}', anyInstance: 'detail, section or elevation', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
101
|
+
def('steel.callout-save', { label: 'Save callout', actsOn: 'Adds the callout to this sheet, or saves your changes to it', group: 'On the steel canvas', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo takes it back out, and it is kept when the drawing is read again.' });
|
|
102
|
+
def('steel.callout-delete', { label: 'Delete callout', actsOn: 'Removes this callout from the sheet', group: 'On the steel canvas', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo brings it back.' });
|
|
103
|
+
def('steel.callout-pick-view', { label: 'Open a view of the sheet', actsOn: 'Goes to {instance}, one of several views on the sheet the callout points to', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
104
|
+
def('steel.callout-ask-ai', { label: 'Ask your AI', actsOn: 'Sends your terminal AI a request about the sheet the callout points to', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'It queues a request. Nothing in the model changes until your AI answers and you review it.' });
|
|
105
|
+
def('steel.callout-copy-request', { label: 'Copy request', actsOn: 'Copies the request so you can paste it into your AI session yourself', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
106
|
+
def('steel.callout-see-question', { label: 'See the question', actsOn: 'Opens the question the read already raised about the missing sheet', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
107
|
+
def('steel.details-add-callout', { label: 'Add a callout', actsOn: 'Closes the list and starts adding a callout to this sheet', group: 'In the Details dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
108
|
+
|
|
84
109
|
def('steel.grid-line', {
|
|
85
110
|
label: 'Grid line',
|
|
86
111
|
actsOn: 'Adds a grid line to this sheet',
|
|
@@ -916,6 +941,27 @@
|
|
|
916
941
|
why: 'Changes only how lengths are SHOWN and what you can type — never the model. The contract stays in millimetres either way, so switching back and forth leaves the saved file byte-identical.',
|
|
917
942
|
});
|
|
918
943
|
|
|
944
|
+
def('steel.column-below-reach', {
|
|
945
|
+
label: 'Columns ending below the floor',
|
|
946
|
+
actsOn: 'Sets how far under a sheet’s floor level a column can end and still be drawn on that sheet, dashed',
|
|
947
|
+
group: 'In the ⋯ menu — Display',
|
|
948
|
+
persistence: 'working',
|
|
949
|
+
interaction: 'instant',
|
|
950
|
+
risk: [],
|
|
951
|
+
guidance: 'on-demand',
|
|
952
|
+
why: 'One value for every sheet, saved with the project, so each sheet, “See what changed” and Review & approve agree. Read in the project’s units. Undo puts the old value back.',
|
|
953
|
+
});
|
|
954
|
+
|
|
955
|
+
def('steel.column-below-reach-reset', {
|
|
956
|
+
label: 'Back to the default',
|
|
957
|
+
actsOn: 'Puts the distance for columns ending below a floor back to the default',
|
|
958
|
+
group: 'In the ⋯ menu — Display',
|
|
959
|
+
persistence: 'working',
|
|
960
|
+
interaction: 'instant',
|
|
961
|
+
risk: [],
|
|
962
|
+
guidance: 'on-demand',
|
|
963
|
+
});
|
|
964
|
+
|
|
919
965
|
def('steel.grid-label-size', {
|
|
920
966
|
label: 'Grid label size',
|
|
921
967
|
actsOn: 'Sets how big the grid bubbles are drawn',
|
|
@@ -982,7 +1028,7 @@
|
|
|
982
1028
|
interaction: 'instant',
|
|
983
1029
|
risk: ['costs-time'],
|
|
984
1030
|
guidance: 'on-demand',
|
|
985
|
-
why: 'Applies everywhere that callout appears.
|
|
1031
|
+
why: 'Applies everywhere that callout appears. Connections someone confirmed, tuned by hand, linked to a detail earlier or imported are left alone and listed, and so is anything nothing can be built on (a brace, say). Connections it built itself are updated when the detail changes.',
|
|
986
1032
|
});
|
|
987
1033
|
|
|
988
1034
|
def('steel.base-plates', {
|
|
@@ -1009,14 +1055,32 @@
|
|
|
1009
1055
|
|
|
1010
1056
|
def('steel.frames', {
|
|
1011
1057
|
label: 'Frames',
|
|
1012
|
-
actsOn: 'Opens the frames
|
|
1058
|
+
actsOn: 'Opens the moment frame schedule, where you add and edit frames and say which sheet is which level',
|
|
1013
1059
|
group: 'In the ⋯ menu — Detailing',
|
|
1014
|
-
persistence: '
|
|
1060
|
+
persistence: 'working',
|
|
1015
1061
|
interaction: 'dialog',
|
|
1016
1062
|
risk: [],
|
|
1017
1063
|
guidance: 'on-demand',
|
|
1064
|
+
why: 'Nothing here is changed until you type in it, and every change can be undone.',
|
|
1018
1065
|
});
|
|
1019
1066
|
|
|
1067
|
+
/* ── the moment frame schedule dialog (#2210) ───────────────────────────────────────────────────────── */
|
|
1068
|
+
|
|
1069
|
+
const FRAMES = 'In the Frames dialog';
|
|
1070
|
+
def('steel.frames-new', { label: 'New frame', actsOn: 'Starts a new frame at the bottom of the schedule', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'It is saved once it has a grid line and both ends of its span.' });
|
|
1071
|
+
def('steel.frames-level-new', { label: 'New level', actsOn: 'Adds a floor level, for example 3rd floor, to every frame', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Name the level as the drawings do. Undo takes it away again.' });
|
|
1072
|
+
def('steel.frames-empty-add', { label: 'Add a frame', actsOn: 'Starts the first frame in the schedule', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
1073
|
+
def('steel.frames-ask-ai', { label: 'Ask the AI to read them', actsOn: 'Opens Ask AI with a request to re-read the frames from the drawings', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'It only fills in the request. Nothing is sent until you send it, and the schedule does not change.' });
|
|
1074
|
+
def('steel.frames-field', { label: 'Frame field', actsOn: 'Sets the value for {instance}', anyInstance: 'a cell in the schedule', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Separate several girder sizes with a comma. Each change can be undone.' });
|
|
1075
|
+
def('steel.frames-level-name', { label: 'Level name', actsOn: 'Renames {instance} for every frame', anyInstance: 'a level', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A name that is already used offers to merge the two levels.' });
|
|
1076
|
+
def('steel.frames-level-remove', { label: 'Remove level', actsOn: 'Removes {instance}, its girder sizes and its sheet links, from every frame', anyInstance: 'a level', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo brings it back.' });
|
|
1077
|
+
def('steel.frames-row-delete', { label: 'Delete frame', actsOn: 'Deletes the frame on {instance}', anyInstance: 'a grid line', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo brings it back.' });
|
|
1078
|
+
def('steel.frames-sheet-level', { label: 'Level of a sheet', actsOn: 'Sets which floor level {instance} is', anyInstance: 'a sheet', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A sheet can be one level at a time. The sheet’s own cut elevation is not changed.' });
|
|
1079
|
+
def('steel.frames-go-to', { label: 'Go to the frame', actsOn: 'Moves to the frame that is already in the schedule', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
1080
|
+
def('steel.frames-draft-discard', { label: 'Discard the new frame', actsOn: 'Drops the frame you were typing; nothing was saved', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
1081
|
+
def('steel.frames-merge-level', { label: 'Merge levels', actsOn: 'Merges {instance} into the level with the name you typed', anyInstance: 'a level', group: FRAMES, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Girder sizes and sheet links are combined. If the two levels together hold more than a level keeps, you are asked first, and Undo puts everything back.' });
|
|
1082
|
+
def('steel.frames-keep-editing', { label: 'Keep editing the name', actsOn: 'Keeps the level name open so you can type a different one', group: FRAMES, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
1083
|
+
|
|
1020
1084
|
/* Model checks. Each SELECTS the suspect members and leaves the fix to you —
|
|
1021
1085
|
which is why none of them is destructive: nothing is deleted or changed
|
|
1022
1086
|
until you act on the selection. Merge is the exception that does edit, and
|
|
@@ -1538,7 +1602,7 @@
|
|
|
1538
1602
|
interaction: "instant",
|
|
1539
1603
|
risk: [],
|
|
1540
1604
|
guidance: "on-demand",
|
|
1541
|
-
why: "View targets 3D. Display targets the active pane, including in split view. The 2D plan, the 3D default and each saved 3D view have their own switch and scope. Hiding preserves scope, properties, placement and pinned members."
|
|
1605
|
+
why: "View always targets 3D and 2D always targets the 2D plan, whichever side is active. Display targets the active pane, including in split view. The 2D plan, the 3D default and each saved 3D view have their own switch and scope. Hiding preserves scope, properties, placement and pinned members."
|
|
1542
1606
|
});
|
|
1543
1607
|
def('steel.property-label-all', {
|
|
1544
1608
|
label: "For all",
|
|
@@ -1676,6 +1740,21 @@
|
|
|
1676
1740
|
guidance: 'on-demand',
|
|
1677
1741
|
});
|
|
1678
1742
|
|
|
1743
|
+
// The 2D plan toolbar's Labels button (#2216). It opens the same Property labels rows as the 3D one, so it gets
|
|
1744
|
+
// its own template instead of borrowing steel.toolbar-menu, whose place is the 3D toolbar: `?` would send
|
|
1745
|
+
// the user to the wrong side of the screen.
|
|
1746
|
+
def('steel.toolbar-menu-2d', {
|
|
1747
|
+
label: 'Plan toolbar menu',
|
|
1748
|
+
actsOn: 'Opens the {instance} options for the 2D plan',
|
|
1749
|
+
anyInstance: 'plan toolbar menu’s',
|
|
1750
|
+
group: 'In the 2D view toolbar',
|
|
1751
|
+
persistence: 'none',
|
|
1752
|
+
interaction: 'instant',
|
|
1753
|
+
risk: [],
|
|
1754
|
+
guidance: 'on-demand',
|
|
1755
|
+
why: 'This is the Labels button beside Fit all and Zoom to selected. It always edits the 2D plan, even in Split view while the 3D side is the active one.',
|
|
1756
|
+
});
|
|
1757
|
+
|
|
1679
1758
|
// The Properties panel's own dropdowns: the placement faces, rotation and line style. They used to borrow
|
|
1680
1759
|
// steel.toolbar-menu, whose place is the 3D toolbar, so ? sent the user to the wrong side of the screen.
|
|
1681
1760
|
def('steel.panel-menu', {
|
|
@@ -2197,6 +2276,8 @@
|
|
|
2197
2276
|
panel, popup, table and dialog renderers. Repeated rows use one template;
|
|
2198
2277
|
the instance is display data only and is carried by the live element. */
|
|
2199
2278
|
|
|
2279
|
+
def('steel.see-what-changed', { label: 'See what changed', actsOn: 'Lists what changed in this model since you last had it, in plain words. It only looks; nothing in your model changes', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Appears on the blue bar that says the model has changed, so you can see what the change was before deciding what to do.' });
|
|
2280
|
+
def('steel.change-list-retry', { label: 'Try again', actsOn: 'Asks again what changed in this model', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Appears only when the list of changes could not be produced a moment ago.' });
|
|
2200
2281
|
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.' });
|
|
2201
2282
|
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' });
|
|
2202
2283
|
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' });
|
|
@@ -2302,6 +2383,19 @@
|
|
|
2302
2383
|
def('steel.registration-select', { label: 'Open this sheet', actsOn: 'Switches the plan view to {instance}', group: 'In the registration list', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2303
2384
|
def('steel.registration-detail', { label: 'Registration details', actsOn: 'Shows the exact reason this sheet’s registration was refused, naming the contract fields to change', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The plain-English warning is for you; this is the sentence your terminal AI needs.' });
|
|
2304
2385
|
def('steel.registration-copy', { label: 'Copy reason', actsOn: 'Copies the exact registration refusal to the clipboard', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This sheet cannot be corrected in the editor — paste the reason to your terminal AI and ask it to fix the registration.' });
|
|
2386
|
+
// #2214 — columns on a plan: the floor level a sheet states decides which columns it draws.
|
|
2387
|
+
def('steel.cut-level-enter', { label: 'Enter a level…', actsOn: 'Opens a field to type this sheet’s floor level', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A floor level draws the columns that reach it, and shows the ones that end just under it dashed.' });
|
|
2388
|
+
def('steel.cut-level-field', { label: 'Floor level', actsOn: 'Holds the floor level you are typing for this sheet', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Read in the project’s units. It shows what the number means and how many columns it would draw before you set it.' });
|
|
2389
|
+
def('steel.cut-level-set', { label: 'Set level', actsOn: 'Sets this sheet’s floor level to what you typed', group: 'On the steel canvas', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The columns that reach the level appear on the sheet. Undo takes the level away again.' });
|
|
2390
|
+
def('steel.cut-level-cancel', { label: 'Cancel', actsOn: 'Closes the floor level field without changing the sheet', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2391
|
+
def('steel.show-all-columns', { label: 'Show all columns here', actsOn: 'Places every column of the model on this sheet by hand', group: 'On the steel canvas', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'They stay on the sheet even if you set a level later. Undo takes them off again.' });
|
|
2392
|
+
def('steel.cut-banner-hide', { label: 'Not now', actsOn: 'Folds the missing floor level notice into a small label until you reload', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The sheet still has no floor level; the label stays so you can open the notice again.' });
|
|
2393
|
+
def('steel.cut-banner-show', { label: 'Floor level notice', actsOn: 'Opens the notice about this sheet’s missing floor level again', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2394
|
+
def('steel.floor-level-field', { label: 'Floor level', actsOn: 'Holds this sheet’s floor level, and shows what a level you type would draw', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'It is always here, so a level can be corrected after it was set. Read in the project’s units.' });
|
|
2395
|
+
def('steel.floor-level-set', { label: 'Set level', actsOn: 'Sets this sheet’s floor level to what you typed', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The columns that reach the level appear on the sheet. Undo puts the old level back.' });
|
|
2396
|
+
def('steel.delete-from-model', { label: 'Delete from the whole model', actsOn: 'Removes the selected columns from the model, so from every sheet', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The Delete key leaves a column the sheet only draws from its floor level; this is the explicit way to remove it. Undo brings it back.' });
|
|
2397
|
+
def('steel.delete-anyway', { label: 'Delete anyway', actsOn: 'Removes the selected members from the model although the drawing read recorded them, and drops the read’s link to each', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The read keeps its record of each one, with a note that it was deleted on purpose. Anything else attached to a member (a connection, a dimension, a placed detail) still has to go first. One Undo brings back the members and the links.' });
|
|
2398
|
+
def('steel.add-to-view', { label: 'Add to this sheet', actsOn: 'Draws the selected members that this sheet does not show', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'It places them on this sheet by hand. They stay there, and Undo takes them off again.' });
|
|
2305
2399
|
def('steel.review-select', { label: 'Select this connection', actsOn: 'Selects {instance} from the review list', group: 'In the review list', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A watched connection selects the members it watches; an unwatched one opens the 3D view and selects the connection itself.' });
|
|
2306
2400
|
def('steel.chat-question-show', { label: 'Show in chat', actsOn: 'Opens AI Chat at the question “{instance}”', anyInstance: 'a question asked about this object', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A question stays linked to the objects selected when it was asked, and to the objects the AI’s answer named.' });
|
|
2307
2401
|
def('steel.chat-questions-more', { label: 'Show more questions', actsOn: 'Shows the older questions asked in AI Chat about the selection', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -2355,6 +2449,11 @@
|
|
|
2355
2449
|
def('steel.member-profile', { label: 'Profile', actsOn: 'Changes the profile of the selected member', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Unlike Current profile in Add mode, this edits steel already in the model.' });
|
|
2356
2450
|
def('steel.member-material', { label: 'Material grade', actsOn: 'Changes the selected member\'s explicit material', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Unlike the Add preset, this edits steel already in the model.' });
|
|
2357
2451
|
def('steel.member-verified', { label: 'Mark verified', actsOn: 'Marks or unmarks the selected member as human-confirmed', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2452
|
+
def('steel.member-moment-frame', { label: 'Moment frame', actsOn: 'Marks or unmarks the selected beam as a moment-frame girder', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A moment-frame girder takes a moment connection, so the automatic shear plates skip its ends. If it already has automatic shear plates you are asked whether to remove them; a plate you tuned by hand always stays.' });
|
|
2453
|
+
def('steel.moment-frame-plates-remove', { label: 'Remove the automatic shear plates', actsOn: 'Removes the automatic shear plates from the beams just marked as moment frame', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Only the plates the Shear plates button added are removed, in one step. A plate you tuned by hand stays. Ctrl+Z brings them back.' });
|
|
2454
|
+
def('steel.moment-frame-plates-keep', { label: 'Keep the automatic shear plates', actsOn: 'Leaves the automatic shear plates on the beams just marked as moment frame', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Nothing changes. The plates stay until you clear them.' });
|
|
2455
|
+
def('steel.selection-moment-frame', { label: 'Mark beams as moment frame', actsOn: 'Marks or unmarks every selected beam as a moment-frame girder', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Columns and braces in the selection are left alone.' });
|
|
2456
|
+
def('steel.member-open-frames', { label: 'Open Frames from the member', actsOn: 'Opens the moment frame schedule at what this beam needs: a frame, a level for this sheet, or girder sizes', group: 'In the Properties panel', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
2358
2457
|
def('steel.member-profile-suggestion', { label: 'Moment-frame profile', actsOn: 'Applies the scheduled profile for {instance}', group: 'In the Properties panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The suggestion comes from the imported moment-frame schedule and records that provenance.' });
|
|
2359
2458
|
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' });
|
|
2360
2459
|
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.' });
|
|
@@ -2369,6 +2468,8 @@
|
|
|
2369
2468
|
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.' });
|
|
2370
2469
|
def('steel.selection-drop-type', { label: 'Narrow mixed selection', actsOn: 'Drops or isolates {instance}', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Activate to drop that type; hold Alt while activating to keep only it.' });
|
|
2371
2470
|
def('steel.detail-rename', { label: 'Rename detail', actsOn: 'Renames the detail and every reference to {instance}', group: 'In the Details dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Callouts, member ends and connection-library rows are updated together.' });
|
|
2471
|
+
def('steel.detail-delete-both', { label: 'Delete picture and its copies', actsOn: 'Deletes {instance} and every placed copy made from it', group: 'In the Details dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Asked only when placed copies still use the picture. Undo brings the picture and its copies back together.' });
|
|
2472
|
+
def('steel.detail-delete-keep', { label: 'Keep the picture', actsOn: 'Leaves {instance} and its placed copies as they are', group: 'In the Details dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2372
2473
|
def('steel.connection-row-field', { label: 'Connection library field', actsOn: 'Sets the value for {instance}', group: 'In the Connections dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2373
2474
|
def('steel.connection-row-delete', { label: 'Remove connection row', actsOn: 'Deletes the connection-library row for {instance}', group: 'In the Connections dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Used rows require confirmation. Placed geometry remains but loses its recipe reference.' });
|
|
2374
2475
|
def('steel.rfi-profile', { label: 'Set RFI profile', actsOn: 'Sets the live profile for {instance} so FloLess can price the member and check any filed size answer', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
package/dist/web/guide.js
CHANGED
|
@@ -402,8 +402,9 @@
|
|
|
402
402
|
'While you talk, the Guide may open more files or folders to answer you.',
|
|
403
403
|
], (line) => line));
|
|
404
404
|
const lock = el('div', 'guide-callout');
|
|
405
|
-
|
|
406
|
-
|
|
405
|
+
// #2234: the Guide starts Read only; what FloLess starts by itself stays Read only; its Access can be changed.
|
|
406
|
+
lock.append(el('strong', '', 'It starts Read only. '),
|
|
407
|
+
document.createTextNode('The looks and morning briefings FloLess starts always run Read only. In your own messages, the Guide can change things only if you change its Access in the chat, like any other conversation. Read only stops the AI’s file tools from changing files, but it is not a lock on reading: the AI program can open any folder you can.'));
|
|
407
408
|
const where = el('p', 'guide-copy');
|
|
408
409
|
where.textContent = `What the Guide sees is sent to ${providerName} under your own subscription, and kept in this conversation’s history on this computer. You can turn the Guide off or delete its history at any time; whatever ${providerName} already received stays under its own rules.`;
|
|
409
410
|
const gives = el('p', 'guide-copy', 'You get a short briefing on what you seem to be working on, then suggested next moves as buttons.');
|
|
@@ -1110,7 +1111,7 @@
|
|
|
1110
1111
|
const more = el('details', 'guide-preview-disclosure');
|
|
1111
1112
|
const summary = el('summary', '', 'What the AI can and can’t do');
|
|
1112
1113
|
summary.dataset.commandId = commandId;
|
|
1113
|
-
more.append(summary, el('p', 'guide-switch-help', `While writing, the AI may open more of your files to understand them, as it can in the Guide chat.
|
|
1114
|
+
more.append(summary, el('p', 'guide-switch-help', `While writing, the AI may open more of your files to understand them, as it can in the Guide chat. The briefing runs Read only, whatever Access the Guide chat has. Nobody is watching, so anything it asks permission for is declined. You can pause it, turn it off, or delete the Guide history at any time; whatever ${ai} already received stays under its own rules.`));
|
|
1114
1115
|
if (open) more.open = true;
|
|
1115
1116
|
wrap.append(lead, more);
|
|
1116
1117
|
return { wrap, leadId: lead.id };
|
package/dist/web/index.html
CHANGED
|
@@ -193,10 +193,10 @@
|
|
|
193
193
|
<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>
|
|
194
194
|
<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>
|
|
195
195
|
<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, Auto, Working folder write, or Full access."><span>Access</span><strong>Read only</strong></button>
|
|
196
|
-
<!-- #2046:
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<
|
|
196
|
+
<!-- #2046: the Guide's own controls, shown only in a Guide conversation. #2234: its Access is the ordinary
|
|
197
|
+
picker above (it starts Read only); this cell keeps the briefing, set-aside suggestions, Turn off and Delete. -->
|
|
198
|
+
<div class="ai-chat-setting ai-chat-guide-access" id="chat-guide-access" role="group" aria-labelledby="chat-guide-settings-label" hidden>
|
|
199
|
+
<span id="chat-guide-settings-label">Guide</span>
|
|
200
200
|
<!-- #2053: the opt-in morning briefing; web/guide.js paints it (off by default). -->
|
|
201
201
|
<div class="ai-chat-guide-briefing" id="chat-guide-briefing">
|
|
202
202
|
<!-- The briefing's time: the same themed combobox the app draws for a select, built without one
|
|
@@ -252,7 +252,8 @@
|
|
|
252
252
|
<div class="ai-chat-composer" id="chat-composer">
|
|
253
253
|
<div class="ai-chat-scope-controls" id="chat-scope-controls" hidden>
|
|
254
254
|
<button type="button" id="chat-scope-toggle" data-command-id="shell.chat-scope-open" aria-expanded="false" aria-controls="chat-scope-picker">Scope</button>
|
|
255
|
-
<
|
|
255
|
+
<button type="button" id="chat-access-explanation" data-command-id="shell.chat-access-explanation#hidden" aria-expanded="false" aria-controls="chat-scope-disclosure" aria-label="Explain Read only access" data-tip="Show what this access level allows."><span>Access · </span><strong>Read only</strong><span class="ai-chat-access-chevron" aria-hidden="true">⌄</span></button>
|
|
256
|
+
<span id="chat-scope-disclosure" aria-live="polite" hidden></span>
|
|
256
257
|
<section class="ai-chat-picker ai-chat-scope-picker" id="chat-scope-picker" role="dialog" aria-label="Conversation scope" hidden></section>
|
|
257
258
|
</div>
|
|
258
259
|
<!-- #1890: a workspace conversation's units question, and then its "Units: … · Change" line. -->
|
|
@@ -380,6 +381,10 @@
|
|
|
380
381
|
<span class="kb-drift-chip" id="kb-drift-chip" role="status" hidden
|
|
381
382
|
data-tip="Re-approving isn’t required — this workflow still runs as it is. But the Knowledge Base has changed since these pages were read, so double-check any values that came from them.">Knowledge Base updated since this was built</span>
|
|
382
383
|
</div>
|
|
384
|
+
<!-- #2228: live progress of a long run (a Blender animation, a big model read) — Flo, what it is doing
|
|
385
|
+
("Rendering frame 143 of 240"), elapsed time, a real bar, and Stop. Painted by web/run-strip.js from
|
|
386
|
+
aware.js; appears only once a run has lasted 2 s or reports progress, so quick runs never flash it. -->
|
|
387
|
+
<div class="run-strip" id="run-strip" role="group" aria-label="Run progress" hidden></div>
|
|
383
388
|
<div class="topology" id="topology"></div>
|
|
384
389
|
<div class="canvas-toolbar">
|
|
385
390
|
<div class="toolbar-group">
|
|
@@ -416,6 +421,7 @@
|
|
|
416
421
|
<button data-command-id="shell.workspace-step#model" type="button" data-step="model" class="active" role="tab" aria-selected="true">Model</button>
|
|
417
422
|
<button data-command-id="shell.workspace-step#exports" type="button" data-step="exports" role="tab" aria-selected="false">Exports</button>
|
|
418
423
|
<button data-command-id="shell.workspace-step#history" type="button" data-step="history" role="tab" aria-selected="false">History</button>
|
|
424
|
+
<button data-command-id="shell.workspace-step#pages" type="button" data-step="pages" role="tab" aria-selected="false">Pages</button>
|
|
419
425
|
</div>
|
|
420
426
|
<span class="ws-step-end">
|
|
421
427
|
<!-- Shown only on the Drawings/Source step. It used to have a 42px band of its own labelled
|
|
@@ -473,6 +479,9 @@
|
|
|
473
479
|
workspaces.js fills it on step-switch (renderHistory). Rollback is per-row (a header
|
|
474
480
|
↺ Rollback verb was cut in design review — no selection context; per-row is unambiguous). -->
|
|
475
481
|
<div class="ws-history" id="ws-history" hidden></div>
|
|
482
|
+
<!-- Pages (#2262) = a SHELL-rendered pane: this project's stored, versioned HTML Pages.
|
|
483
|
+
pages.js fills it on step-switch (flolessPages.renderList). -->
|
|
484
|
+
<div class="ws-pages" id="ws-pages" hidden></div>
|
|
476
485
|
<!-- Knowledge = a SHELL-rendered pane (not an iframe): the project's Knowledge Base.
|
|
477
486
|
workspaces.js fills it on step-switch (renderKnowledge). Stage B ships the References
|
|
478
487
|
column (drop / useAsKb / remove / Organize); the graph + note columns are Stage C/D.
|
|
@@ -1000,19 +1009,89 @@
|
|
|
1000
1009
|
</div>
|
|
1001
1010
|
</div>
|
|
1002
1011
|
|
|
1012
|
+
<!-- #2230: the video a run rendered (a Blender construction sequence, a fly-through, a turntable), played in
|
|
1013
|
+
the app. No native chrome: the <video> carries no `controls`; web/media-player.js draws the controls. -->
|
|
1014
|
+
<div class="modal-backdrop media-backdrop" id="media-modal" role="dialog" aria-modal="true" aria-labelledby="media-title" aria-describedby="media-sub">
|
|
1015
|
+
<div class="modal report-viewer media-viewer">
|
|
1016
|
+
<div class="report-head">
|
|
1017
|
+
<div class="report-titles">
|
|
1018
|
+
<div class="modal-title" id="media-title">Video</div>
|
|
1019
|
+
<div class="modal-sub" id="media-sub"></div>
|
|
1020
|
+
</div>
|
|
1021
|
+
<div class="report-actions">
|
|
1022
|
+
<button data-command-id="shell.media-open-file" id="media-open-file" type="button" class="ghost" data-tip="Open the video in your default player">⧉ Open file</button>
|
|
1023
|
+
<button data-command-id="shell.media-reveal" id="media-reveal" type="button" class="ghost" data-tip="Show the video in its folder">▤ Reveal in folder</button>
|
|
1024
|
+
<button data-command-id="shell.dialog-close#the video" id="media-close" type="button" aria-label="Close" data-tip="Close (Esc)">×</button>
|
|
1025
|
+
</div>
|
|
1026
|
+
</div>
|
|
1027
|
+
<div class="media-stage" id="media-stage" data-state="loading">
|
|
1028
|
+
<video id="media-video" playsinline preload="metadata"></video>
|
|
1029
|
+
<div class="media-status" id="media-status" role="status" aria-live="polite" hidden></div>
|
|
1030
|
+
</div>
|
|
1031
|
+
<div class="media-list" id="media-list" hidden></div>
|
|
1032
|
+
<div class="media-controls is-loading" id="media-controls">
|
|
1033
|
+
<button data-command-id="shell.media-play" id="media-play" type="button" class="media-btn" aria-label="Play" data-tip="Play (Space)" disabled>▶</button>
|
|
1034
|
+
<span class="media-time" id="media-time">0:00</span>
|
|
1035
|
+
<span class="media-seek-wrap"><input data-command-id="shell.media-seek" id="media-seek" type="range" min="0" max="0" step="0.04" value="0" aria-label="Position in the video" disabled></span>
|
|
1036
|
+
<span class="media-time" id="media-total">0:00</span>
|
|
1037
|
+
<button data-command-id="shell.media-loop" id="media-loop" type="button" class="media-btn" aria-pressed="false" aria-label="Loop" data-tip="Loop is off (L)" disabled>⟳</button>
|
|
1038
|
+
</div>
|
|
1039
|
+
</div>
|
|
1040
|
+
</div>
|
|
1041
|
+
|
|
1003
1042
|
<!-- HTML Viewer — renders the report HTML an exec node returned, in-app.
|
|
1004
1043
|
Double-click a report node on the canvas to run it and open this. -->
|
|
1044
|
+
<!-- Page viewer (#2262). The Page is NEVER put into this document: the frame loads
|
|
1045
|
+
/pages-content/…, which the server sends with `sandbox allow-scripts` in its own policy header,
|
|
1046
|
+
so the Page has an opaque origin and cannot reach FloLess. The iframe's own sandbox repeats that
|
|
1047
|
+
(belt and braces) and grants nothing more — no same-origin, pop-ups, forms or top navigation.
|
|
1048
|
+
Asks from the Page (open a link, allow a blocked site) appear in the banner ABOVE the frame,
|
|
1049
|
+
drawn by FloLess, never over the Page's own content. pages.js drives it. -->
|
|
1050
|
+
<div class="modal-backdrop report-backdrop page-viewer-backdrop" id="page-viewer" role="dialog" aria-modal="true" aria-labelledby="pv-title" aria-describedby="pv-sub">
|
|
1051
|
+
<div class="modal report-viewer page-viewer">
|
|
1052
|
+
<div class="report-head pv-head">
|
|
1053
|
+
<div class="report-titles">
|
|
1054
|
+
<div class="pv-title-row">
|
|
1055
|
+
<div class="modal-title" id="pv-title">Page</div>
|
|
1056
|
+
<span class="pg-ai-badge" id="pv-ai" tabindex="0" hidden data-tip="Made by AI.">AI-made</span>
|
|
1057
|
+
<span class="pv-info" tabindex="0" data-tip="This Page runs on its own. It can’t reach FloLess or your files." aria-label="This Page runs on its own. It can’t reach FloLess or your files.">ⓘ</span>
|
|
1058
|
+
</div>
|
|
1059
|
+
<div class="modal-sub" id="pv-sub" role="status"></div>
|
|
1060
|
+
</div>
|
|
1061
|
+
<div class="report-actions">
|
|
1062
|
+
<div class="pv-anchor">
|
|
1063
|
+
<button data-command-id="shell.page-version" id="pv-version" type="button" class="ghost pv-version" aria-haspopup="listbox" aria-expanded="false" aria-controls="pv-version-pop">Version 1 of 1</button>
|
|
1064
|
+
<div class="wf-popover pv-pop" id="pv-version-pop" role="listbox" aria-label="Versions of this Page" hidden></div>
|
|
1065
|
+
</div>
|
|
1066
|
+
<span class="pv-allowed" id="pv-allowed" hidden></span>
|
|
1067
|
+
<div class="pv-anchor">
|
|
1068
|
+
<button data-command-id="shell.page-sites" id="pv-sites" type="button" class="ghost" aria-haspopup="true" aria-expanded="false" aria-controls="pv-sites-pop" data-tip="Sites this Page may load">⋯</button>
|
|
1069
|
+
<div class="wf-popover pv-pop pv-sites-pop" id="pv-sites-pop" hidden></div>
|
|
1070
|
+
</div>
|
|
1071
|
+
<button data-command-id="shell.page-fullscreen" id="pv-full" type="button" class="ghost" aria-pressed="false" data-tip="Fill the window with this Page">⤢ Full screen</button>
|
|
1072
|
+
<button data-command-id="shell.page-delete" id="pv-delete" type="button" class="ghost pv-delete" data-tip="Delete this Page and all its versions">Delete</button>
|
|
1073
|
+
<button data-command-id="shell.dialog-close#the Page" id="pv-close" type="button" data-tip="Close">×</button>
|
|
1074
|
+
</div>
|
|
1075
|
+
</div>
|
|
1076
|
+
<div class="pv-banner" id="pv-banner" role="region" aria-label="This Page needs your decision" aria-live="polite" hidden></div>
|
|
1077
|
+
<div class="report-stage pv-stage" id="pv-stage">
|
|
1078
|
+
<div class="pv-loading" id="pv-loading" role="status" hidden>Opening Page…</div>
|
|
1079
|
+
<iframe id="pv-frame" sandbox="allow-scripts" title="Page"></iframe>
|
|
1080
|
+
</div>
|
|
1081
|
+
</div>
|
|
1082
|
+
</div>
|
|
1005
1083
|
<div class="modal-backdrop report-backdrop" id="report-modal" role="dialog" aria-modal="true" aria-labelledby="report-title" aria-describedby="report-sub">
|
|
1006
1084
|
<div class="modal report-viewer">
|
|
1007
1085
|
<div class="report-head">
|
|
1008
1086
|
<div class="report-titles">
|
|
1009
1087
|
<div class="modal-title" id="report-title">HTML Viewer</div>
|
|
1010
|
-
<div class="modal-sub" id="report-sub">Rendered from the live run — never composed by the UI.</div>
|
|
1088
|
+
<div class="modal-sub" id="report-sub" role="status">Rendered from the live run — never composed by the UI.</div>
|
|
1011
1089
|
</div>
|
|
1012
1090
|
<div class="report-actions">
|
|
1013
|
-
<button data-command-id="shell.report-stop" id="report-stop" class="ghost report-stop" hidden data-tip="Stop
|
|
1091
|
+
<button data-command-id="shell.report-stop" id="report-stop" class="ghost report-stop" hidden data-tip="Stop this workflow run">■ Stop run</button>
|
|
1014
1092
|
<button data-command-id="shell.report-share" id="report-share" class="ghost" hidden data-tip="Share this report as a link anyone can view — hosted on floless.io">↗ Share</button>
|
|
1015
1093
|
<button data-command-id="shell.report-download" id="report-download" class="ghost" hidden data-tip="Download the complete read-only model property report">↓ Download complete report</button>
|
|
1094
|
+
<button data-command-id="shell.report-watch" id="report-watch" type="button" class="ghost" hidden data-tip="Play the video this run rendered">▶ Watch video</button>
|
|
1016
1095
|
<button data-command-id="shell.report-open-file" id="report-open-file" class="ghost" hidden data-tip="Open the saved file in its default app">⧉ Open file</button>
|
|
1017
1096
|
<button data-command-id="shell.report-reveal-file" id="report-reveal-file" class="ghost" hidden data-tip="Show the saved file in its folder">▤ Reveal in folder</button>
|
|
1018
1097
|
<button data-command-id="shell.report-open" id="report-open" class="ghost" data-tip="Open the report in a new browser tab">↗ Open</button>
|
|
@@ -1256,6 +1335,11 @@
|
|
|
1256
1335
|
<div class="sr-only wsg-live" id="approval-review-live" role="status" aria-live="polite" aria-atomic="true"></div>
|
|
1257
1336
|
<div class="approval-impact" id="approval-review-impact"></div>
|
|
1258
1337
|
<div class="revreview-body approval-review-body" id="approval-review-body"></div>
|
|
1338
|
+
<div class="approval-revision-note modal-field" id="approval-revision-note" hidden>
|
|
1339
|
+
<label for="approval-revision-note-text">Revision note (optional)</label>
|
|
1340
|
+
<textarea id="approval-revision-note-text" data-command-id="shell.revision-note-text" rows="3" placeholder="What changed, and why?" aria-describedby="approval-revision-note-help"></textarea>
|
|
1341
|
+
<div id="approval-revision-note-help" class="field-help">Shown in History. This note can be edited later; approved model content stays unchanged.</div>
|
|
1342
|
+
</div>
|
|
1259
1343
|
<div class="approval-review-footer">
|
|
1260
1344
|
<div class="rev-counts" id="approval-review-counts" role="status" aria-live="polite"></div>
|
|
1261
1345
|
<div class="modal-actions">
|
|
@@ -1817,14 +1901,19 @@
|
|
|
1817
1901
|
<script src="leave-guard.js"></script>
|
|
1818
1902
|
<script src="flo.js"></script>
|
|
1819
1903
|
<script src="flo-avatar.js"></script>
|
|
1904
|
+
<script src="run-progress.js"></script>
|
|
1905
|
+
<script src="run-strip.js"></script>
|
|
1906
|
+
<script src="media-player.js"></script>
|
|
1820
1907
|
<script src="aware.js"></script>
|
|
1821
1908
|
<script src="tool-updates.js"></script>
|
|
1822
1909
|
<script src="panels.js"></script>
|
|
1823
1910
|
<script src="filter-guidance.js"></script>
|
|
1824
1911
|
<script src="workspaces.js"></script>
|
|
1825
1912
|
<script src="left-pane.js"></script>
|
|
1913
|
+
<script src="chat-question-card.js"></script>
|
|
1826
1914
|
<script src="chat.js"></script>
|
|
1827
1915
|
<script src="agents.js"></script>
|
|
1916
|
+
<script src="pages.js"></script>
|
|
1828
1917
|
<script src="guide.js"></script>
|
|
1829
1918
|
<script src="connections.js"></script>
|
|
1830
1919
|
<script src="local-discovery.js"></script>
|
package/dist/web/instructor.js
CHANGED
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
commandId: raw,
|
|
727
727
|
instance: parts.instance,
|
|
728
728
|
instanceLabel: instanceLabel,
|
|
729
|
-
label: cmd.label ? fillInstance(cmd.label, parts.instance) : instanceLabel,
|
|
729
|
+
label: cmd.label ? fillInstance(cmd.label, el.getAttribute('data-command-instance-label') || parts.instance) : instanceLabel,
|
|
730
730
|
originSurface: origin,
|
|
731
731
|
}));
|
|
732
732
|
});
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
doubled or clashing determiner, or a fallback left in front of a noun. */
|
|
763
763
|
function fillInstance(text, instance, anyInstance) {
|
|
764
764
|
if (!text || text.indexOf('{instance}') === -1) return text;
|
|
765
|
-
if (instance) return text.replace(/\{instance\}/g, instance);
|
|
765
|
+
if (instance) return text.replace(/\{instance\}/g, function () { return instance; });
|
|
766
766
|
/* A quoted slot quotes a NAME ("Export IFC"); a stand-in is not a name, so it loses them. */
|
|
767
767
|
text = text.replace(/["“]\{instance\}["”]/g, '{instance}');
|
|
768
768
|
if (anyInstance) return text.replace(/\{instance\}/g, anyInstance);
|
|
@@ -856,15 +856,16 @@
|
|
|
856
856
|
// #2046: the ways into the Guide on the empty pages, and its first-launch question.
|
|
857
857
|
'Getting started', 'In the Guide question',
|
|
858
858
|
'In the Workspace directory dialog', 'In Tekla source selection', 'In the new project dialog', 'In the project workspace', 'In the Revit workspace', 'In the Tekla Parser workspace', 'In the Drawing Checker profile', 'In Company knowledge',
|
|
859
|
+
'In the project History', 'In the revision note', 'In the Pages list',
|
|
859
860
|
'On the workflow canvas', 'In workflow setup dialogs',
|
|
860
861
|
// The Informed by row sits at the top of the canvas column, so it is read right after the canvas.
|
|
861
862
|
// #1998: the approval notices sit above the canvas with the Informed by row.
|
|
862
863
|
'In the Needs you notice', 'In the morning briefing notice', 'In the Approval carried over row',
|
|
863
|
-
'In the Informed by row', 'In Set inputs',
|
|
864
|
+
'In the Informed by row', 'In the run progress strip', 'In Set inputs',
|
|
864
865
|
'At the left edge of the workspace', 'At the edge of the left or Inspect panel', 'In the left panel', 'Between AI Chat and Model', 'In the Model section of the left panel', 'In the Grid object in the Model section',
|
|
865
866
|
'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
|
|
866
867
|
'In the ≡ menu', 'In the account menu', 'In the footer',
|
|
867
|
-
'In the contract editor', 'In the report viewer', 'In the Knowledge Base viewer', 'In the guide',
|
|
868
|
+
'In the contract editor', 'In the report viewer', 'In the Page viewer', 'In the video player', 'In the Knowledge Base viewer', 'In the guide',
|
|
868
869
|
'In the Tools library', 'In Discover local tools', 'In the requests list', 'In the revision review', 'In the run request dialog', 'In the Integrations dialog', 'In the Routines dialog', 'In the Automatic tool updates dialog',
|
|
869
870
|
'In the Report an issue dialog', 'In the Build a tool dialog', 'In the Bake dialog', 'In the CAD send review',
|
|
870
871
|
'In the FloLess dialogs', 'On the FloLess has stopped screen',
|
|
@@ -882,7 +883,7 @@
|
|
|
882
883
|
'In the ⋯ menu — Snapping', 'In the ⋯ menu — Display', 'In the ⋯ menu — Detailing',
|
|
883
884
|
'In the ⋯ menu — Model checks', 'In the ⋯ menu — Coordinate system', 'In the ⋯ menu — Session',
|
|
884
885
|
'In the steel editor dialogs', 'In the Generate views dialog', 'In the Details dialog', 'In the RFI dialog',
|
|
885
|
-
'In the Connections dialog', 'In the reference-model dialogs', 'In the connection-import dialog',
|
|
886
|
+
'In the Connections dialog', 'In the Frames dialog', 'In the reference-model dialogs', 'In the connection-import dialog',
|
|
886
887
|
'In the confidence report', 'In the Ask AI panel', 'In the Ask AI dialog', 'In the Favourites dialog',
|
|
887
888
|
// the read-only Revit model editor
|
|
888
889
|
'In the Revit model header', 'In the Revit model toolbar', 'In the Revit Saved views panel', 'In the Revit model coordinate HUD', 'In the Revit model selection bar', 'In the Revit model snapping bar', 'In the Revit spatial controls',
|
|
@@ -1053,7 +1054,7 @@
|
|
|
1053
1054
|
var label = document.createElement('span');
|
|
1054
1055
|
label.className = 'cmd-row-label';
|
|
1055
1056
|
// A template row has no instance, and its label must not show a reader the braces.
|
|
1056
|
-
label.textContent = fillInstance(cmd.label, cmd.instance, cmd.anyInstance);
|
|
1057
|
+
label.textContent = cmd.commandId ? cmd.label : fillInstance(cmd.label, cmd.instanceLabel || cmd.instance, cmd.anyInstance);
|
|
1057
1058
|
row.appendChild(label);
|
|
1058
1059
|
|
|
1059
1060
|
/* Where this command lives, for screen readers only. Arrow-key navigation
|
|
@@ -1305,7 +1306,7 @@
|
|
|
1305
1306
|
function describeCommand(cmd, carrier) {
|
|
1306
1307
|
var availability = carrierAvailability(carrier);
|
|
1307
1308
|
setFocusEntry({
|
|
1308
|
-
label: fillInstance(cmd.label, cmd.instance, cmd.anyInstance),
|
|
1309
|
+
label: cmd.commandId ? cmd.label : fillInstance(cmd.label, cmd.instance, cmd.anyInstance),
|
|
1309
1310
|
acts: cmd.actsOn ? fillInstance(cmd.actsOn, cmd.instanceLabel || cmd.instance, cmd.anyInstance) : null,
|
|
1310
1311
|
group: cmd.group,
|
|
1311
1312
|
key: cmd.key,
|
|
@@ -1523,13 +1524,13 @@
|
|
|
1523
1524
|
|
|
1524
1525
|
function openSheet() {
|
|
1525
1526
|
if (!$sheet || sheetOpen || !enabled) return false;
|
|
1526
|
-
/* Requests
|
|
1527
|
+
/* Requests and the Page viewer have runtime-built controls to browse in this sheet.
|
|
1527
1528
|
It is covered (inert + aria-hidden) while the sheet owns the screen, and app.css gives the
|
|
1528
1529
|
sheet the explicit upper tier. Every other dialog still refuses stacking: its controls are
|
|
1529
1530
|
already explained in place and opening above it would obscure an unfinished decision. */
|
|
1530
1531
|
var shownDialogs = Array.prototype.slice.call(document.querySelectorAll('.modal-backdrop.show'))
|
|
1531
1532
|
.filter(function (modal) { return modal !== $sheet; });
|
|
1532
|
-
if (shownDialogs.some(function (modal) { return modal.id !== 'requests-modal'; })) return false;
|
|
1533
|
+
if (shownDialogs.some(function (modal) { return modal.id !== 'requests-modal' && modal.id !== 'page-viewer'; })) return false;
|
|
1533
1534
|
|
|
1534
1535
|
returnFocusTo = document.activeElement;
|
|
1535
1536
|
sheetOpen = true;
|
package/dist/web/left-pane.js
CHANGED
|
@@ -79,6 +79,13 @@
|
|
|
79
79
|
let selectAnchor = null; // the list row last clicked without Shift: where a Shift-click's range starts
|
|
80
80
|
let pendingSelectIds = null; // what the last click asked for, until the editor answers: a quick second Ctrl-click builds on it
|
|
81
81
|
const pendingActions = new Map();
|
|
82
|
+
// #2255: AI view commands sent to the editor, by request id, waiting for its report.
|
|
83
|
+
const pendingViews = new Map();
|
|
84
|
+
/** The editor went away or changed: its outstanding actions will never answer. A view command it may have applied ends unconfirmed. */
|
|
85
|
+
function dropPendingActions() {
|
|
86
|
+
for (const view of pendingViews.values()) view.reject(Object.assign(new Error('The model view closed before it answered.'), { dispatched: true }));
|
|
87
|
+
pendingViews.clear(); pendingActions.clear();
|
|
88
|
+
}
|
|
82
89
|
let panelShown = null; // the panel tab the editor was last told it is showing (null: none)
|
|
83
90
|
let chosenByPerson = false; // true only while a click on a tab renders: the editor is told a person chose it
|
|
84
91
|
let displacedTab = null; // a chosen tab the snapshot stopped offering (a 3D-only tab while in 2D); it comes back with it
|
|
@@ -1009,12 +1016,14 @@
|
|
|
1009
1016
|
state.revision = data.revision;
|
|
1010
1017
|
if (data.state === 'failed') {
|
|
1011
1018
|
state.modelAvailable = false; state.snapshot = null; state.datasetKey = null;
|
|
1012
|
-
|
|
1019
|
+
dropPendingActions(); resetPanelFrame(); reflect();
|
|
1013
1020
|
}
|
|
1014
1021
|
return;
|
|
1015
1022
|
}
|
|
1016
1023
|
if (data.type === 'action-result') {
|
|
1017
1024
|
state.revision = data.revision;
|
|
1025
|
+
const view = pendingViews.get(data.requestId);
|
|
1026
|
+
if (view) { pendingViews.delete(data.requestId); view.resolve({ ok: data.ok === true, ran: data.ran !== false, result: data.result ?? null }); return; }
|
|
1018
1027
|
const pending = pendingActions.get(data.requestId); pendingActions.delete(data.requestId);
|
|
1019
1028
|
if (pending?.row?.isConnected) pending.row.removeAttribute('aria-busy');
|
|
1020
1029
|
if (pending?.kind === 'expand') {
|
|
@@ -1113,7 +1122,7 @@
|
|
|
1113
1122
|
// Everything the departing editor told us goes, and its controls leave with the panel frame.
|
|
1114
1123
|
function forgetModel() {
|
|
1115
1124
|
state.generation++; state.revision = -1; state.snapshot = null; state.datasetKey = null; state.modelAvailable = false;
|
|
1116
|
-
revealSequence++; pendingRevealId = null;
|
|
1125
|
+
revealSequence++; pendingRevealId = null; dropPendingActions(); resetPanelFrame(); reflect();
|
|
1117
1126
|
}
|
|
1118
1127
|
// A model frame loaded another document. Forgotten at once when the old one unloads — an editor reloads itself
|
|
1119
1128
|
// whenever the AI edits the model, and its moved controls would otherwise sit dead until the new page loads.
|
|
@@ -1127,8 +1136,36 @@
|
|
|
1127
1136
|
}
|
|
1128
1137
|
frame.addEventListener('load', onModelFrameLoad);
|
|
1129
1138
|
|
|
1139
|
+
/** #2255: the model view an AI view command may be applied to, or null unless one is shown, has finished loading and reports a complete target. */
|
|
1140
|
+
function viewTarget() {
|
|
1141
|
+
if (!state.modelAvailable || !modelVisible()) return null;
|
|
1142
|
+
const viewer = state.snapshot?.viewer;
|
|
1143
|
+
const text = (value) => typeof value === 'string' && value.length > 0 && value.length <= 200;
|
|
1144
|
+
if (!viewer || viewer.loading !== false || !text(viewer.projectId) || !text(viewer.source) || !text(viewer.revision)
|
|
1145
|
+
|| !text(viewer.sourceDigest) || !text(viewer.viewerSessionId)) return null;
|
|
1146
|
+
return { projectId: viewer.projectId, source: viewer.source, revision: viewer.revision, sourceDigest: viewer.sourceDigest, viewerSessionId: viewer.viewerSessionId };
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* Send a claimed AI view command to the editor. Resolves with its answer ({ ok, ran, result }); rejects with
|
|
1150
|
+
* `dispatched: false` when it could not be sent (nothing changed), or `dispatched: true` when it was sent and no answer
|
|
1151
|
+
* came: the view went away first, or `timeoutMs` passed.
|
|
1152
|
+
*/
|
|
1153
|
+
function applyView({ command, target, timeoutMs = 9000 }) {
|
|
1154
|
+
const requestId = sendAction({ action: 'view', command, target });
|
|
1155
|
+
if (!requestId) return Promise.reject(Object.assign(new Error('The model view is not open.'), { dispatched: false }));
|
|
1156
|
+
return new Promise((resolve, reject) => {
|
|
1157
|
+
const timer = setTimeout(() => {
|
|
1158
|
+
if (!pendingViews.delete(requestId)) return;
|
|
1159
|
+
reject(Object.assign(new Error('The model view did not answer in time.'), { dispatched: true }));
|
|
1160
|
+
}, timeoutMs);
|
|
1161
|
+
pendingViews.set(requestId, { resolve: (value) => { clearTimeout(timer); resolve(value); }, reject: (error) => { clearTimeout(timer); reject(error); } });
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1130
1165
|
window.flolessLeftPane = Object.freeze({
|
|
1131
1166
|
readSelection,
|
|
1167
|
+
viewTarget,
|
|
1168
|
+
applyView,
|
|
1132
1169
|
// AI Chat stored a question about model objects: the live editor reads its links again.
|
|
1133
1170
|
chatLinksChanged() { if (state.modelAvailable) send({ type: 'chat-links-changed' }); },
|
|
1134
1171
|
showSection(key) {
|
|
@@ -1153,7 +1190,7 @@
|
|
|
1153
1190
|
if (!!visible !== state.workspaceModelVisible) state.generation++;
|
|
1154
1191
|
state.workspaceModelVisible = !!visible;
|
|
1155
1192
|
if (visible) hello();
|
|
1156
|
-
else { sessionVisible.model = false; state.modelAvailable = false; state.snapshot = null; state.datasetKey = null; state.revision = -1; revealSequence++; pendingRevealId = null;
|
|
1193
|
+
else { sessionVisible.model = false; state.modelAvailable = false; state.snapshot = null; state.datasetKey = null; state.revision = -1; revealSequence++; pendingRevealId = null; dropPendingActions(); resetPanelFrame(); reflect(); }
|
|
1157
1194
|
},
|
|
1158
1195
|
// The model frame is being replaced (another project, or a reload from server truth). A new
|
|
1159
1196
|
// generation disowns everything the departing editor sends; the next document's load says hello.
|