@floless/app 0.169.0 → 0.171.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 (87) hide show
  1. package/dist/floless-server.cjs +65531 -43728
  2. package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
  3. package/dist/schemas/steel.model.v2.schema.json +196 -4
  4. package/dist/skills/floless-app-bridge/SKILL.md +3 -3
  5. package/dist/skills/floless-app-knowledge/SKILL.md +46 -15
  6. package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
  7. package/dist/skills/floless-app-onboarding/SKILL.md +5 -4
  8. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +0 -3
  9. package/dist/skills/floless-app-queue/SKILL.md +2 -3
  10. package/dist/skills/floless-app-report-issue/SKILL.md +2 -2
  11. package/dist/skills/floless-app-routines/SKILL.md +2 -2
  12. package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
  13. package/dist/skills/floless-app-steel-model/SKILL.md +42 -39
  14. package/dist/skills/floless-app-steel-model/references/custom-connections.md +47 -0
  15. package/dist/skills/floless-app-steel-model/references/custom-sections.md +32 -0
  16. package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
  17. package/dist/skills/floless-app-ui/SKILL.md +71 -126
  18. package/dist/skills/floless-app-workflows/SKILL.md +22 -3
  19. package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
  20. package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
  21. package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
  22. package/dist/web/add-ons.js +407 -0
  23. package/dist/web/agent-steps.js +89 -18
  24. package/dist/web/agents.js +32 -22
  25. package/dist/web/analytics.js +1 -1
  26. package/dist/web/app.css +331 -190
  27. package/dist/web/app.js +33 -13
  28. package/dist/web/aware.js +926 -218
  29. package/dist/web/chat.css +6 -1
  30. package/dist/web/chat.js +316 -112
  31. package/dist/web/checkpoint-standard.js +5 -3
  32. package/dist/web/commands-drawing-check.js +1 -0
  33. package/dist/web/commands-filter.js +23 -0
  34. package/dist/web/commands-shell.js +479 -78
  35. package/dist/web/commands-steel.js +69 -2
  36. package/dist/web/commands-tekla-parser.js +23 -0
  37. package/dist/web/connections.js +14 -3
  38. package/dist/web/drawing-check-editor.js +352 -88
  39. package/dist/web/failure-copy.js +33 -2
  40. package/dist/web/filter-ai-proposal.js +11 -8
  41. package/dist/web/flo-3d.js +1 -1
  42. package/dist/web/guide.js +36 -29
  43. package/dist/web/index.html +98 -57
  44. package/dist/web/instructor.js +101 -17
  45. package/dist/web/kb-categories.js +64 -7
  46. package/dist/web/left-pane.js +4 -1
  47. package/dist/web/local-discovery.js +8 -7
  48. package/dist/web/missed-routines.js +239 -0
  49. package/dist/web/model-change-findings.js +430 -0
  50. package/dist/web/model-change-review.js +414 -0
  51. package/dist/web/model-editor-steel-adapter.js +2 -2
  52. package/dist/web/model-measure.js +6 -0
  53. package/dist/web/model-spatial-panel.js +19 -4
  54. package/dist/web/model-spatial-tools.js +3 -3
  55. package/dist/web/model-viewport-revit-adapter.js +3 -3
  56. package/dist/web/origin-rule.js +155 -0
  57. package/dist/web/project-access.js +1 -1
  58. package/dist/web/project-history.js +7 -1
  59. package/dist/web/project-modules.js +2 -2
  60. package/dist/web/project-rfis.js +6 -1
  61. package/dist/web/project-workflows.js +2 -2
  62. package/dist/web/revit-editor.css +85 -0
  63. package/dist/web/revit-editor.js +58 -9
  64. package/dist/web/run-history.js +12 -1
  65. package/dist/web/sha256-sync.js +62 -0
  66. package/dist/web/steel-3d-core.js +46 -9
  67. package/dist/web/steel-3d-flo.js +153 -7
  68. package/dist/web/steel-3d-view.js +33 -5
  69. package/dist/web/steel-ai-marks.js +3 -1
  70. package/dist/web/steel-custom-connection.js +161 -0
  71. package/dist/web/steel-custom-sections.js +1796 -0
  72. package/dist/web/steel-editor.html +732 -161
  73. package/dist/web/steel-environments.js +297 -0
  74. package/dist/web/steel-filter-usage.js +299 -0
  75. package/dist/web/steel-filter.html +104 -6
  76. package/dist/web/steel-model-v2-client-validation.js +11 -1
  77. package/dist/web/steel-model-v2-commands.js +116 -13
  78. package/dist/web/steel-model-v2-projection.js +1 -1
  79. package/dist/web/steel-read-confidence.js +1 -56
  80. package/dist/web/step-rename.js +3 -2
  81. package/dist/web/tekla-editor.html +1 -0
  82. package/dist/web/terminal-requests.js +1 -1
  83. package/dist/web/tool-updates.js +7 -6
  84. package/dist/web/workspaces.js +1968 -138
  85. package/launch.mjs +87 -9
  86. package/package.json +4 -1
  87. package/dist/web/panels.js +0 -831
@@ -57,9 +57,11 @@
57
57
  */
58
58
 
59
59
  import { MM, normalizeDisplayUnits } from './display-units.js';
60
+ import { FALLBACK_ENVIRONMENT_ID, STEEL_ENVIRONMENT_TRAITS } from './steel-environments.js';
60
61
 
61
62
  /**
62
- * How each catalogue names itself to a person. Not a country — the standards body.
63
+ * How each catalogue names itself to a person. Not a country — the standards body. DERIVED from the
64
+ * trait registry (`steel-environments.js`), which is where an environment's label is declared.
63
65
  *
64
66
  * A `Map`, because a plain object indexed by an untrusted value is two different holes and this
65
67
  * module's whole job is to not invent a standard. Both were found by this file's own capability-gate
@@ -76,7 +78,7 @@ import { MM, normalizeDisplayUnits } from './display-units.js';
76
78
  * could be killed, because each survived on the other's defence. One total defence that a test can
77
79
  * prove beats two that hide each other.
78
80
  */
79
- export const STANDARD_LABEL = new Map([['US', 'US · AISC/ASTM'], ['UK', 'UK · BS/EN']]);
81
+ export const STANDARD_LABEL = new Map([...STEEL_ENVIRONMENT_TRAITS].map(([id, traits]) => [id, traits.label]));
80
82
 
81
83
  /**
82
84
  * The catalogue an unstated environment resolves against, spelled for a reader.
@@ -87,7 +89,7 @@ export const STANDARD_LABEL = new Map([['US', 'US · AISC/ASTM'], ['UK', 'UK ·
87
89
  * explain. `FALLBACK_ENVIRONMENT` in `server/steel-environment.ts` is the authority for WHICH; this is
88
90
  * only how to say it.
89
91
  */
90
- export const FALLBACK_LABEL = STANDARD_LABEL.get('US');
92
+ export const FALLBACK_LABEL = STANDARD_LABEL.get(FALLBACK_ENVIRONMENT_ID);
91
93
 
92
94
  /**
93
95
  * What an absent — or unresolvable — standard is called. A constant so the editor chip and the
@@ -55,6 +55,7 @@
55
55
  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' });
56
56
  def('drawing-check.fill-clearances', { label: 'Fill bolt clearances from a standard', actsOn: 'Replaces the hole-size check’s clearance table with starter values from {instance}', anyInstance: 'a standard', group: G, persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand', why: 'Starter values are a starting point: confirm them against your design standard.' });
57
57
  def('drawing-check.main-part', { label: 'Main part: is its mark the assembly mark?', actsOn: 'Sets the main part of the part list to {instance}', anyInstance: 'one answer', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Normally the main part’s mark is the assembly mark; the part-list check and “Every part is located” both find the main part this way.' });
58
+ def('drawing-check.bare-inches', { label: 'Does this client write inches without a mark?', actsOn: 'Sets whether a number written alone on a dimension is read as inches: {instance}', anyInstance: 'one answer', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Learned only when the reference drawings prove it; until then such dimensions say couldn’t tell.' });
58
59
  def('drawing-check.line-break', { label: 'Largest break in a drawn line FloLess closes', actsOn: 'Sets the largest break, in points, that “Every part is located” closes a part’s outline across', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Learned from the reference drawings; every result resting on an outline closed this way says so as an assumption.' });
59
60
  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' });
60
61
  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.' });
@@ -254,6 +254,29 @@
254
254
  why: 'While a drawing read runs, Flo stands beside the part of the sheet FloLess last showed the AI and says which part it is, how long ago it was shown, and how many sheets the AI has looked at. The progress strip above says what the AI reports it is doing. When the AI has asked you something, Flo moves to the corner and says it is waiting for your answer. It is on until you turn it off, and stays off on this computer. It changes nothing in the filter.',
255
255
  });
256
256
 
257
+ // 2026-11-10 plan (docs/superpowers/specs/2026-11-10-filter-used-lines-overlay-PLAN.md): which lines the model used.
258
+ def('filter.used-lines', {
259
+ label: 'Used lines',
260
+ actsOn: 'Marks the drawing lines the steel model was built from, and the selected lines nothing in the model uses',
261
+ group: 'On the Drawing Filter canvas',
262
+ persistence: 'local',
263
+ interaction: 'instant',
264
+ risk: [],
265
+ guidance: 'on-demand',
266
+ why: 'A line the model was built from gets a solid green mark under it, and a line a callout, a height or another reading came from gets a dashed one. A line the Filter selects that nothing in the model uses gets a dotted amber mark, so you can see what the read has not picked up. The marks sit under the lines, so they read the same on a grey drawing and on one coloured by layer. A count above the button says how many lines on this sheet are used and how many are not. It is on until you turn it off, and stays off on this computer. It changes nothing in the filter or the model.',
267
+ });
268
+
269
+ def('filter.used-only-unused', {
270
+ label: 'Only not used',
271
+ actsOn: 'Shows only the selected lines nothing in the steel model uses',
272
+ group: 'On the Drawing Filter canvas',
273
+ persistence: 'none',
274
+ interaction: 'instant',
275
+ risk: [],
276
+ guidance: 'on-demand',
277
+ why: 'Pressing the "not used" count hides the marks of the lines the model uses and fades the drawing, so only the dotted amber lines stand out. Press it again to see every mark. It lasts for this visit only and changes nothing in the filter or the model.',
278
+ });
279
+
257
280
  def('filter.flo-minimize', {
258
281
  label: 'Minimize Flo',
259
282
  actsOn: 'Tucks Flo into the Show Flo button',