@floless/app 0.148.1 → 0.149.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.
Files changed (43) hide show
  1. package/bin/floless.mjs +1 -1
  2. package/dist/floless-server.cjs +28663 -18914
  3. package/dist/schemas/drawing-check.profile.v1.schema.json +156 -0
  4. package/dist/schemas/steel.model.v2.schema.json +43 -1
  5. package/dist/schemas/tekla.model.v2.schema.json +6 -2
  6. package/dist/skills/floless-app-steel-model/SKILL.md +54 -11
  7. package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +9 -5
  8. package/dist/skills/floless-app-steel-takeoff/SKILL.md +128 -15
  9. package/dist/skills/floless-app-vectorize/SKILL.md +7 -4
  10. package/dist/templates/check-drawings.flo +46 -0
  11. package/dist/templates/drawing-check.flo +55 -0
  12. package/dist/templates/tekla-parser.flo +6 -2
  13. package/dist/web/app.css +143 -8
  14. package/dist/web/aware.js +444 -39
  15. package/dist/web/chat.css +171 -9
  16. package/dist/web/chat.js +2005 -759
  17. package/dist/web/commands-drawing-check.js +53 -0
  18. package/dist/web/commands-shell.js +275 -3
  19. package/dist/web/commands-steel.js +1 -0
  20. package/dist/web/commands-tekla-parser.js +3 -0
  21. package/dist/web/commands.js +1 -1
  22. package/dist/web/connections.js +382 -0
  23. package/dist/web/display-units.js +15 -1
  24. package/dist/web/drawing-check-editor.html +289 -0
  25. package/dist/web/drawing-check-editor.js +1242 -0
  26. package/dist/web/drawing-check-overlay.js +36 -0
  27. package/dist/web/filter-ai-proposal.js +32 -13
  28. package/dist/web/index.html +25 -3
  29. package/dist/web/instructor.js +2 -2
  30. package/dist/web/local-discovery.js +144 -2
  31. package/dist/web/model-display-units.js +23 -9
  32. package/dist/web/model-viewport-revit-adapter.js +12 -2
  33. package/dist/web/revit-editor.css +5 -0
  34. package/dist/web/revit-editor.js +141 -20
  35. package/dist/web/steel-editor.html +166 -27
  36. package/dist/web/steel-filter.html +60 -166
  37. package/dist/web/steel-model-v2-commands.js +13 -3
  38. package/dist/web/steel-model-v2-projection.js +20 -0
  39. package/dist/web/steel-units.js +3 -1
  40. package/dist/web/workspaces.js +306 -22
  41. package/launch.mjs +5 -5
  42. package/package.json +3 -1
  43. package/dist/web/filter-ai-context.js +0 -92
@@ -0,0 +1,53 @@
1
+ /* ──────────────────────────────────────────────────────────────────────────
2
+ Drawing Checker profile page capability registrations (drawing-check-editor.html).
3
+
4
+ Loaded by drawing-check-editor.html AND index.html, like every child surface:
5
+ the shell is the sole guidance producer and must resolve an id that arrives
6
+ over the reporter seam.
7
+
8
+ Nothing here is 'active-command': the page arms nothing. Ticks, approval and
9
+ runs are single actions; pan/zoom on the drawing is a plain drag.
10
+
11
+ Persistence: a tick or a new item edits the profile DRAFT ('working'); only
12
+ approval changes what runs use ('approved'). Marking a sheet checked writes
13
+ the run record ('working'). Colours are a profile display preference, outside
14
+ the approved version ('working').
15
+ ────────────────────────────────────────────────────────────────────────── */
16
+ (function () {
17
+ 'use strict';
18
+ if (!window.Commands) return;
19
+ window.Commands.surfaceScope('drawing-check-editor');
20
+ var def = window.Commands.define;
21
+ var G = 'In the Drawing Checker profile';
22
+ def('drawing-check.tab', { label: 'Profile tab', actsOn: 'Shows the {instance} tab of this client profile', anyInstance: 'one', group: G, persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
23
+ def('drawing-check.add-references', { label: 'Add reference drawings', actsOn: 'Adds PDF drawings this client already signed off to the profile', group: G, persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand', why: 'The checklist is proposed from what the reference drawings have in common.' });
24
+ def('drawing-check.propose', { label: 'Propose from references', actsOn: 'Reads the reference drawings and proposes checklist items with how often each held', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Items you added from the client standard stay; proposed items are replaced.' });
25
+ def('drawing-check.tick-item', { label: 'Tick checklist item', actsOn: 'Includes or leaves out “{instance}” in the draft checklist', anyInstance: 'an item', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Common doesn’t mean required. Runs use the approved checklist only.' });
26
+ def('drawing-check.client', { label: 'Client', actsOn: 'Names the client this checklist is for', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Sheets naming another client ask before they are checked.' });
27
+ def('drawing-check.title-label', { label: 'Title-block label', actsOn: 'Changes the label “{instance}” is written as on this client’s drawings', anyInstance: 'a field', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Its place on the reference drawings is measured again.' });
28
+ def('drawing-check.title-read', { label: 'How a title-block value is read', actsOn: 'Changes where the value of “{instance}” is read: to the right, below, or from the revision table', anyInstance: 'a field', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A value not where this says is marked “couldn’t tell”, never guessed.' });
29
+ def('drawing-check.title-required', { label: 'Must be filled in', actsOn: 'Includes or leaves out “{instance}” in “Title block filled in”', anyInstance: 'a field', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
30
+ def('drawing-check.title-remove', { label: 'Remove title-block field', actsOn: 'Removes your field “{instance}” from the title block', anyInstance: 'a field', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
31
+ def('drawing-check.title-add', { label: 'Add a title-block field', actsOn: 'Adds a label of this client’s title block and finds it on the reference drawings', group: G, persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
32
+ def('drawing-check.title-answer', { label: 'Answer a title-block question', actsOn: 'Settles a question proposing could not: {instance}', anyInstance: 'an answer', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Until it is answered, that field is not read on any drawing.' });
33
+ def('drawing-check.check-with-version', { label: 'Check with an earlier approved version', actsOn: 'Checks the drawings against the newest earlier approved checklist when the latest cannot be read; every sheet says which version it used', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
34
+ def('drawing-check.go-to-question', { label: 'Go to the title-block question', actsOn: 'Opens the title block and moves to the first unanswered question', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
35
+ def('drawing-check.typed-label', { label: 'Type the label', actsOn: 'Takes the label exactly as it is printed on this client’s drawings, for a question none of the choices answers', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
36
+ def('drawing-check.reload', { label: 'Reload the profile', actsOn: 'Reads this client profile again, after it changed in another window or could not be read', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
37
+ def('drawing-check.add-item', { label: 'Add item from client standard', actsOn: 'Adds a text to look for on every drawing and tests it on the reference drawings', group: G, persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
38
+ def('drawing-check.approve', { label: 'Approve checklist', actsOn: 'Approves the ticked items as the new version that runs use', group: G, persistence: 'approved', interaction: 'dialog', risk: [], guidance: 'on-demand', why: 'Earlier runs keep the version they were checked against.' });
39
+ def('drawing-check.check-drawings', { label: 'Check drawings', actsOn: 'Checks chosen PDF drawings against the approved checklist and marks them up', group: G, persistence: 'working', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand', why: 'Anything unexpected becomes a question with a suggested answer before the run starts.' });
40
+ def('drawing-check.open-run', { label: 'Open run', actsOn: 'Shows a run as the marked-up drawings', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
41
+ def('drawing-check.sheet', { label: 'Show sheet', actsOn: 'Shows another sheet of this run', group: G, persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
42
+ def('drawing-check.item', { label: 'Show checklist item', actsOn: 'Zooms to where this item was looked for and shows why it got its result', group: G, persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
43
+ def('drawing-check.zoom', { label: 'Zoom the drawing', actsOn: 'Fits the page, zooms in or zooms out', group: G, persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
44
+ def('drawing-check.mark-checked', { label: 'Mark checked, by me', actsOn: 'Records that you checked this sheet, with your name and the time', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'FloLess never marks a drawing checked; a person does.' });
45
+ def('drawing-check.export', { label: 'Export marked-up PDF', actsOn: 'Saves this drawing as a PDF with the numbered boxes drawn on it', group: G, persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand' });
46
+ def('drawing-check.back-to-runs', { label: 'Back to runs', actsOn: 'Closes this run and shows the list of runs', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
47
+ def('drawing-check.show-decisions', { label: 'Show this run’s decisions', actsOn: 'Shows every choice made for this run, including the ones FloLess made on safe defaults', group: G, persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand' });
48
+ def('drawing-check.retry-page', { label: 'Draw the sheet again', actsOn: 'Tries again to draw this sheet behind its boxes', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
49
+ def('drawing-check.export-open', { label: 'Open the marked-up PDF', actsOn: 'Opens the exported PDF in your PDF viewer', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
50
+ def('drawing-check.export-reveal', { label: 'Show the marked-up PDF in its folder', actsOn: 'Opens the folder that holds the exported PDF', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
51
+ def('drawing-check.colour', { label: 'Markup colour', actsOn: 'Changes the colour of {instance} boxes on marked-up drawings', anyInstance: 'one result', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Colours are not part of the approved checklist.' });
52
+ def('drawing-check.reset-colours', { label: 'Reset to green and red', actsOn: 'Puts the markup colours back to the defaults', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
53
+ })();
@@ -316,6 +316,55 @@
316
316
  label: 'Open in Graft', actsOn: 'Prefills a supported found source for review in Graft',
317
317
  group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
318
318
  });
319
+ def('shell.discovery-prepare-tool', {
320
+ label: 'Prepare a tool', actsOn: 'Opens Graft to prepare a tool for a program FloLess cannot connect yet',
321
+ group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
322
+ });
323
+ def('shell.discovery-service-connect', {
324
+ label: 'Connect a service', actsOn: 'Opens Integrations at {instance} so you can connect or manage its account',
325
+ group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
326
+ });
327
+ def('shell.discovery-service-copy-key', {
328
+ label: 'Copy the command to add a key', actsOn: 'Copies the terminal command that stores your key for {instance}',
329
+ group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
330
+ });
331
+ def('shell.connection-check', {
332
+ label: 'Check it works', actsOn: 'Runs the read-only connection check of {instance} against the real program or account and shows a receipt',
333
+ group: 'In Discover local tools', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
334
+ why: 'Proves the connection reaches the real program or account. It only reads; a check FloLess cannot confirm as read-only asks you first.',
335
+ });
336
+ def('shell.connection-confirm-run', {
337
+ label: 'Run the check', actsOn: 'Runs a connection check you were asked to confirm',
338
+ group: 'In Discover local tools', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
339
+ });
340
+ def('shell.connection-confirm-cancel', {
341
+ label: 'Cancel the check', actsOn: 'Closes the question without running anything',
342
+ group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
343
+ });
344
+ def('shell.integrations-account-choice', {
345
+ label: 'Account FloLess uses', actsOn: 'Chooses which account FloLess uses for {instance}; FloLess never switches to another on its own',
346
+ group: 'In the Integrations dialog', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
347
+ });
348
+ def('shell.graft-add-check', {
349
+ label: 'Add a connection check', actsOn: 'Shows the commands this tool could use to check its connection',
350
+ group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
351
+ });
352
+ def('shell.graft-check-command', {
353
+ label: 'Connection check command', actsOn: 'Picks the command the tool will use to check its connection',
354
+ group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
355
+ });
356
+ def('shell.graft-add-check-apply', {
357
+ label: 'Add this check', actsOn: 'Rebuilds the tool with the chosen connection check and shows the preview again',
358
+ group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
359
+ });
360
+ def('shell.graft-add-check-cancel', {
361
+ label: 'Cancel adding a check', actsOn: 'Closes the list without changing the tool',
362
+ group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
363
+ });
364
+ def('shell.graft-connect-service', {
365
+ label: 'Connect the account it needs', actsOn: 'Opens Integrations at {instance} so you can connect the account this tool needs',
366
+ group: 'In the Build an agent dialog', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
367
+ });
319
368
  def('shell.discovery-ask-chat', {
320
369
  label: 'Ask AI Chat', actsOn: 'Opens an editable unsent draft about this finding',
321
370
  group: 'In Discover local tools', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
@@ -512,6 +561,26 @@
512
561
 
513
562
  /* ── canvas + guidance affordances ───────────────────────────────────────── */
514
563
 
564
+ def('canvas.display-units', {
565
+ label: 'Workflow units',
566
+ actsOn: 'Sets this workflow’s units to {instance}: what its AI Chat answers in and shows weights in',
567
+ group: 'On the workflow canvas',
568
+ persistence: 'working',
569
+ interaction: 'instant',
570
+ risk: [],
571
+ guidance: 'on-demand',
572
+ why: 'A workflow that belongs to a project uses the project’s units, so changing them here changes them for the whole project.',
573
+ });
574
+ def('canvas.display-units-retry', {
575
+ label: 'Retry workflow units',
576
+ actsOn: 'Reloads this workflow’s saved display-unit preference',
577
+ group: 'On the workflow canvas',
578
+ persistence: 'none',
579
+ interaction: 'instant',
580
+ risk: [],
581
+ guidance: 'on-demand',
582
+ });
583
+
515
584
  def('canvas.fit', {
516
585
  label: 'Fit to window',
517
586
  actsOn: 'Frames every node on the canvas',
@@ -805,6 +874,39 @@
805
874
  why: 'The source model is not changed; FloLess starts a read only after you choose a model folder or ZIP.',
806
875
  });
807
876
 
877
+ def('shell.project-create-drawing-check-profile', {
878
+ label: 'New Drawing Checker client profile',
879
+ actsOn: 'Opens project setup for a new Drawing Checker client profile',
880
+ group: 'In the project list',
881
+ persistence: 'none',
882
+ interaction: 'dialog',
883
+ risk: [],
884
+ guidance: 'on-demand',
885
+ why: 'A profile starts empty; you add reference drawings this client already signed off on its own page.',
886
+ });
887
+
888
+ def('shell.drawing-check-view-access', {
889
+ label: 'View Drawing Checker access',
890
+ actsOn: 'Checks which FloLess account and access Drawing Checker uses on this computer',
891
+ group: 'In the project list',
892
+ persistence: 'none',
893
+ interaction: 'dialog',
894
+ risk: [],
895
+ guidance: 'on-demand',
896
+ why: 'This card explains why Drawing Checker is unavailable and leads to choosing an account or checking access again.',
897
+ });
898
+
899
+ def('shell.drawing-check-retry-setup', {
900
+ label: 'Retry Drawing Checker setup',
901
+ actsOn: 'Runs the Drawing Checker workflow setup again on this computer',
902
+ group: 'In the project list',
903
+ persistence: 'none',
904
+ interaction: 'instant',
905
+ risk: [],
906
+ guidance: 'on-demand',
907
+ why: 'This card appears when automatic Drawing Checker setup did not finish; retrying installs the same two workflows again.',
908
+ });
909
+
808
910
  def('shell.project-steel-missing-workflow', {
809
911
  label: 'Steel model needs setup',
810
912
  actsOn: 'Explains that the Steel workflow is missing and how to report the setup problem',
@@ -1584,11 +1686,11 @@
1584
1686
  group: 'In AI Chat', key: 'Enter sends · Shift + Enter starts a new line', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1585
1687
  });
1586
1688
  def('shell.chat-attach', {
1587
- label: 'Attach file', actsOn: 'Adds images (up to five per message) or PDFs from this computer to the next message or follow-up; on the Drawing Filter only pictures can be sent and a PDF is turned away as soon as it is chosen, because the AI answering there cannot open one — unless a drawing read in this conversation is waiting on your answer, when the message goes to that read and takes images or PDFs',
1689
+ label: 'Attach file', actsOn: 'Adds images (up to five per message), PDFs, or data files the AI reads as text — IFC, DXF, CSV and other text files, up to four per message — from this computer to the next message or follow-up, on every screen including the Drawing Filter; a DWG or a file FloLess cannot read is turned away as soon as it is chosen and nothing is sent',
1588
1690
  group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1589
1691
  });
1590
1692
  def('shell.chat-attach-input', {
1591
- label: 'Choose attachments', actsOn: 'Selects images (up to five per message) or PDFs to add to the next message or follow-up; on the Drawing Filter a PDF is turned away as soon as it is chosen, because the AI answering there cannot open one — unless a drawing read in this conversation is waiting on your answer, when the message goes to that read and takes images or PDFs',
1693
+ label: 'Choose attachments', actsOn: 'Selects images (up to five per message), PDFs, or data files such as IFC, DXF and CSV (up to four per message) to add to the next message or follow-up, on every screen including the Drawing Filter; a DWG or a file FloLess cannot read is turned away as soon as it is chosen',
1592
1694
  group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1593
1695
  });
1594
1696
  def('shell.chat-subjects', {
@@ -1620,7 +1722,26 @@
1620
1722
  group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1621
1723
  });
1622
1724
  def('shell.chat-questions-retry', {
1623
- label: 'Retry loading questions', actsOn: 'Reads the questions asked in AI Chat about this project’s Tekla parts again',
1725
+ label: 'Retry loading questions', actsOn: 'Reads the questions asked in this project’s or workflow’s AI Chat about these Tekla parts again',
1726
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1727
+ });
1728
+ // #1890: the Workflows landing, the Workflows tab's home.
1729
+ def('shell.workflows-landing-open', {
1730
+ label: 'Open workflow', actsOn: 'Opens the workflow {instance} on the canvas', anyInstance: 'a workflow',
1731
+ group: 'On the Workflows page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1732
+ });
1733
+ def('shell.workflows-landing-new', {
1734
+ label: 'New workflow', actsOn: 'Starts a new workflow: you name it and choose where it belongs, then AI builds it with you',
1735
+ group: 'On the Workflows page', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1736
+ });
1737
+ // #1890: a workspace conversation has no project or workflow Units setting, so it asks which units to use.
1738
+ def('shell.chat-units-choose', {
1739
+ label: 'Choose units', actsOn: 'AI answers in {instance} in this workspace conversation', anyInstance: 'the units you pick',
1740
+ group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1741
+ why: 'A workspace conversation belongs to no project, so it has no Units setting to follow. The suggested choice is the units of the project you opened last.',
1742
+ });
1743
+ def('shell.chat-units-change', {
1744
+ label: 'Change units', actsOn: 'Asks again which units AI answers in, in this workspace conversation',
1624
1745
  group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1625
1746
  });
1626
1747
  def('shell.chat-attachment-remove', {
@@ -1653,6 +1774,157 @@
1653
1774
  label: 'Undo applied suggestion', actsOn: 'Restores the Drawing Filter ticks from before Apply selection, until you edit or save them',
1654
1775
  group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
1655
1776
  });
1777
+ // #1882: a height question a drawing read asked the person. Only the person can answer it, and the answer
1778
+ // goes straight into the model the read publishes.
1779
+ def('shell.chat-height-rows', {
1780
+ label: 'Heights to confirm', actsOn: 'Lists the member heights {instance} asks you about', anyInstance: 'a height question',
1781
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1782
+ why: 'The drawings did not settle these heights. The AI cannot answer for you; what you confirm or type here is what the model uses.',
1783
+ });
1784
+ def('shell.chat-height-confirm', {
1785
+ label: 'Confirm proposed height', actsOn: 'Records the proposed height for {instance} as your answer; the read uses it in the model', anyInstance: 'a member end',
1786
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1787
+ why: 'Your click is the record: the AI cannot confirm a height for you. You can change it until the read publishes.',
1788
+ });
1789
+ def('shell.chat-height-input', {
1790
+ label: 'Type a height', actsOn: 'Type the height for {instance}, for example 15\'-11 3/4" or 4870 mm, then press Enter or Use', anyInstance: 'a member end',
1791
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1792
+ });
1793
+ def('shell.chat-height-use', {
1794
+ label: 'Use typed height', actsOn: 'Records the height you typed for {instance} as your answer; the read uses it in the model', anyInstance: 'a member end',
1795
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1796
+ why: 'FloLess reads the height you typed in this project’s units and refuses anything it cannot read, so a typo never becomes a height.',
1797
+ });
1798
+ def('shell.chat-height-change', {
1799
+ label: 'Change answered height', actsOn: 'Reopens {instance} so you can confirm or type a different height; your earlier answer counts until you give a new one', anyInstance: 'a member end',
1800
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1801
+ });
1802
+ def('shell.chat-height-confirm-all', {
1803
+ label: 'Confirm all proposed heights', actsOn: 'Records every proposed height on {instance} as your answer', anyInstance: 'a height question',
1804
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1805
+ });
1806
+ def('shell.chat-height-tell-read', {
1807
+ label: 'Tell the read', actsOn: 'Puts a short message saying {instance} is answered in the message box and moves to Send; you send it', anyInstance: 'a height question',
1808
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1809
+ });
1810
+ def('shell.chat-height-retry', {
1811
+ label: 'Load the height question again', actsOn: 'Reads {instance} from FloLess again', anyInstance: 'a height question',
1812
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1813
+ });
1814
+ // #1906: answering several ends at once on a height question.
1815
+ def('shell.chat-height-select', {
1816
+ label: 'Select an end to answer with others', actsOn: 'Ticks {instance} so one height can answer it together with the other ticked ends', anyInstance: 'a member end',
1817
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1818
+ });
1819
+ def('shell.chat-height-select-group', {
1820
+ label: 'Select a group of ends', actsOn: 'Ticks (or clears) every open end in {instance}, so one height answers them all', anyInstance: 'a group of member ends',
1821
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1822
+ });
1823
+ def('shell.chat-height-bulk-input', {
1824
+ label: 'Type one height for the selected ends', actsOn: 'Type one height for every ticked end of {instance}, then press Enter or Use', anyInstance: 'a height question',
1825
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1826
+ });
1827
+ def('shell.chat-height-bulk-use', {
1828
+ label: 'Use one height for the selected ends', actsOn: 'Records the height you typed as your answer for every ticked end of {instance}', anyInstance: 'a height question',
1829
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1830
+ why: 'Every ticked end is answered together, or none is: if FloLess cannot read the height, nothing is recorded.',
1831
+ });
1832
+ def('shell.chat-height-bulk-confirm', {
1833
+ label: 'Confirm the proposed height for the selected ends', actsOn: 'Records the one height proposed for every ticked end of {instance} as your answer', anyInstance: 'a height question',
1834
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1835
+ });
1836
+ def('shell.chat-height-bulk-clear', {
1837
+ label: 'Clear the selected ends', actsOn: 'Unticks every end selected on {instance}', anyInstance: 'a height question',
1838
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1839
+ });
1840
+ // #1906: where an answer came from — a note and the person's own pictures, on any question card.
1841
+ def('shell.chat-answer-source', {
1842
+ label: 'Add a source to an answer', actsOn: 'Opens a note and a paperclip for {instance}, to say where your answer comes from', anyInstance: 'an answer',
1843
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1844
+ });
1845
+ def('shell.chat-answer-note', {
1846
+ label: 'Source note', actsOn: 'Type where your answer for {instance} comes from, for example per 7/S-502; it is kept with the answer', anyInstance: 'an answer',
1847
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1848
+ });
1849
+ def('shell.chat-answer-attach', {
1850
+ label: 'Attach a picture to an answer', actsOn: 'Choose a screenshot or PDF to keep with your answer for {instance}; you can also paste or drop it', anyInstance: 'an answer',
1851
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1852
+ why: 'Only you can attach a picture to an answer. The read can look at it, but never add one.',
1853
+ });
1854
+ def('shell.chat-answer-attach-input', {
1855
+ label: 'Choose a picture for an answer', actsOn: 'The file chooser behind the paperclip on {instance}', anyInstance: 'an answer',
1856
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1857
+ });
1858
+ def('shell.chat-answer-picture-remove', {
1859
+ label: 'Remove a picture from an answer', actsOn: 'Removes {instance} before you answer with it', anyInstance: 'an attached picture',
1860
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1861
+ });
1862
+ def('shell.chat-answer-picture-only', {
1863
+ label: 'Answer with the picture', actsOn: 'Answers {instance} with your picture only; the read reads it and asks you again with what it reads', anyInstance: 'an answer',
1864
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1865
+ why: 'A picture is your evidence, not a number. Nothing reaches the model until you confirm the read’s reading of it.',
1866
+ });
1867
+ def('shell.chat-answer-picture-open', {
1868
+ label: 'Open a picture on an answer', actsOn: 'Opens the picture kept with your answer for {instance}', anyInstance: 'an answer',
1869
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1870
+ });
1871
+ // #1906: the read setup card — each plan's scale, the model origin and each plan's level.
1872
+ def('shell.chat-setup-body', {
1873
+ label: 'Read setup questions', actsOn: 'Lists the drawing scales, the model origin and the plan levels {instance} asks you to settle', anyInstance: 'a setup question',
1874
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1875
+ why: 'These shape the whole model. The read must use exactly what you settle here and cannot change it by itself.',
1876
+ });
1877
+ def('shell.chat-setup-section', {
1878
+ label: 'Show or hide a setup section', actsOn: 'Opens or folds the {instance} section of the read setup', anyInstance: 'chosen',
1879
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1880
+ });
1881
+ def('shell.chat-setup-confirm', {
1882
+ label: 'Confirm a proposed setup value', actsOn: 'Records the proposed value as your answer for {instance}; the read must use it', anyInstance: 'a setup row',
1883
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1884
+ why: 'Your click is the record: the AI cannot settle a scale, the origin or a level for you.',
1885
+ });
1886
+ def('shell.chat-setup-input', {
1887
+ label: 'Type a setup value', actsOn: 'Type your answer for {instance}: a scale like 1/4" = 1\'-0" or 1:100, a level like 16\'-6", or a grid point like K/1.1', anyInstance: 'a setup row',
1888
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1889
+ });
1890
+ def('shell.chat-setup-use', {
1891
+ label: 'Use typed setup value', actsOn: 'Records what you typed as your answer for {instance}', anyInstance: 'a setup row',
1892
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1893
+ why: 'FloLess reads what you typed and refuses anything it cannot read, so a typo never becomes a scale or a level.',
1894
+ });
1895
+ def('shell.chat-setup-origin-choice', {
1896
+ label: 'Pick a grid point for the origin', actsOn: 'Picks {instance} as the model origin; nothing is recorded until you confirm', anyInstance: 'a grid point',
1897
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1898
+ });
1899
+ def('shell.chat-setup-origin-confirm', {
1900
+ label: 'Confirm the model origin', actsOn: 'Records the picked grid point as the model origin for {instance}', anyInstance: 'the model origin',
1901
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1902
+ why: 'Only straight grid lines can anchor the model. A point on a skewed line is first stated as the straight point it equals, and that is what you confirm.',
1903
+ });
1904
+ def('shell.chat-setup-none', {
1905
+ label: 'Answer with no single value', actsOn: 'Opens a short note to answer {instance} with “no single level” or “none of these”', anyInstance: 'a setup row',
1906
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1907
+ });
1908
+ def('shell.chat-setup-none-note', {
1909
+ label: 'Why there is no single value', actsOn: 'Type the short note the read needs for {instance}, for example 1\'-6" TOF west, 0\'-0" east', anyInstance: 'a setup row',
1910
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1911
+ });
1912
+ def('shell.chat-setup-none-save', {
1913
+ label: 'Save the answer with no single value', actsOn: 'Records “no single level” or “none of these” with your note for {instance}', anyInstance: 'a setup row',
1914
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1915
+ });
1916
+ def('shell.chat-setup-change', {
1917
+ label: 'Change a setup answer', actsOn: 'Reopens {instance} so you can answer it again; your earlier answer counts until you give a new one', anyInstance: 'a setup row',
1918
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1919
+ });
1920
+ def('shell.chat-setup-tell-read', {
1921
+ label: 'Tell the read', actsOn: 'Puts a short message saying {instance} is answered in the message box and moves to Send; you send it', anyInstance: 'a setup question',
1922
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1923
+ });
1924
+ def('shell.chat-setup-retry', {
1925
+ label: 'Load the read setup again', actsOn: 'Reads {instance} from FloLess again', anyInstance: 'a setup question',
1926
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1927
+ });
1656
1928
  def('shell.chat-followup-resolve-local', {
1657
1929
  label: 'Review draft and continue', actsOn: 'Lets you review the restored text for {instance}; if it had attached files, refresh to check for them. AI may already have received it, so sending again could duplicate it',
1658
1930
  group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
@@ -2309,6 +2309,7 @@
2309
2309
  def('steel.provisional-source', { label: 'Open source', actsOn: 'Opens the exact drawing region where the source-only member was traced', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2310
2310
  def('steel.locate-member', { label: 'Locate member', actsOn: 'Closes the report and selects {instance}', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2311
2311
  def('steel.confidence-filter', { label: 'Confidence filter', actsOn: 'Filters the confidence report by {instance}', group: 'In the confidence report', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2312
+ def('steel.answer-picture-open', { label: 'Open the picture on your answer', actsOn: 'Opens {instance}, the picture you attached when you answered a height on the drawing read’s question card', group: 'In the confidence report', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2312
2313
  def('steel.confidence-fields', { label: 'Review confidence fields', actsOn: 'Shows or hides every recorded drawing field for {instance}', group: 'In the confidence report', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Keeps the original value, percentage, and source visible without changing the model.' });
2313
2314
 
2314
2315
  /* ── Profile Position, in the Properties panel ─────────────────────────── */
@@ -45,6 +45,9 @@
45
45
  def('tekla-parser.open-model', { label: 'Open Model tab', actsOn: 'Opens the new read-only snapshot on the Model tab', group: 'In the Tekla Parser workspace', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
46
46
  def('tekla-parser.replace-source', { label: 'Choose or replace Tekla source', actsOn: 'Chooses a Tekla model folder or ZIP; an existing snapshot stays available until replacement succeeds', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
47
47
  def('tekla-parser.report-import-failure', { label: 'Report this problem', actsOn: 'Opens Report an issue for this failed read, listing the failure details you can choose to include', group: 'In the Tekla Parser workspace', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand' });
48
+ // #1836: the question FloLess asks when a copied model is missing Tekla catalogue files.
49
+ def('tekla-parser.add-catalogue-files', { label: 'Add catalogue files', actsOn: 'Adds the missing Tekla catalogue files to this read, then checks the model again', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand', why: 'Without profdb.bin, screwdb.db or assdb.db, some parts and bolts cannot be drawn faithfully. matdb.bin is kept with the model but changes nothing drawn.' });
50
+ def('tekla-parser.continue-without-catalogues', { label: 'Continue without the missing files', actsOn: 'Reads the model without the missing catalogue files; everything they affect is listed in the Audit tab and approval stays blocked', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
48
51
  def('tekla-parser.cancel-import', { label: 'Cancel Tekla read', actsOn: 'Cancels the in-progress read without removing the current snapshot', group: 'In the Tekla Parser workspace', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
49
52
  // Questions in chat (#1653): the card in the Properties panel, worded as the Steel Model's (web/model-chat-questions.js).
50
53
  def('tekla-parser.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.' });
@@ -70,7 +70,7 @@
70
70
  drift out of step with the registrations. That table was the alternative,
71
71
  and a second statement of which command sits where is exactly the drift
72
72
  this design exists to prevent. */
73
- var SURFACE = ['shell', 'steel-editor', 'revit-editor', 'tekla-parser-editor', 'steel-filter', 'vector-editor', 'vector-3d'];
73
+ var SURFACE = ['shell', 'steel-editor', 'revit-editor', 'tekla-parser-editor', 'steel-filter', 'vector-editor', 'vector-3d', 'drawing-check-editor'];
74
74
 
75
75
  var registry = Object.create(null);
76
76
  /* Templates removed by retire() — a capability gated OFF in this build, not one nobody