@floless/app 0.168.0 → 0.170.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 (80) hide show
  1. package/cli-actions.mjs +8 -1
  2. package/dist/floless-server.cjs +125533 -99597
  3. package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
  4. package/dist/schemas/steel.model.v2.schema.json +2 -1
  5. package/dist/skills/floless-app-knowledge/SKILL.md +43 -13
  6. package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
  7. package/dist/skills/floless-app-rfi/SKILL.md +4 -2
  8. package/dist/skills/floless-app-routines/SKILL.md +2 -2
  9. package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
  10. package/dist/skills/floless-app-steel-model/SKILL.md +8 -5
  11. package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
  12. package/dist/skills/floless-app-workflows/SKILL.md +22 -3
  13. package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
  14. package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
  15. package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
  16. package/dist/templates/college-phase-exporter.flo +7 -2
  17. package/dist/templates/trimble-list-projects.flo +10 -2
  18. package/dist/web/agent-steps.js +90 -19
  19. package/dist/web/agents.js +77 -31
  20. package/dist/web/app.css +267 -4
  21. package/dist/web/app.js +71 -7
  22. package/dist/web/aware-update-client.js +4 -4
  23. package/dist/web/aware.js +1277 -219
  24. package/dist/web/chat.css +10 -0
  25. package/dist/web/chat.js +407 -117
  26. package/dist/web/checkpoint-standard.js +5 -3
  27. package/dist/web/commands-drawing-check.js +4 -0
  28. package/dist/web/commands-shell.js +551 -15
  29. package/dist/web/commands-steel.js +68 -2
  30. package/dist/web/commands-vector.js +69 -0
  31. package/dist/web/drawing-check-editor.html +10 -0
  32. package/dist/web/drawing-check-editor.js +821 -237
  33. package/dist/web/failure-copy.js +50 -2
  34. package/dist/web/filter-ai-proposal.js +11 -8
  35. package/dist/web/flo-3d.js +310 -0
  36. package/dist/web/flo-card.js +72 -0
  37. package/dist/web/guide.js +33 -24
  38. package/dist/web/index.html +95 -5
  39. package/dist/web/instructor.js +102 -15
  40. package/dist/web/left-pane.js +4 -1
  41. package/dist/web/local-discovery.js +8 -7
  42. package/dist/web/missed-routines.js +239 -0
  43. package/dist/web/model-editor-steel-adapter.js +41 -1
  44. package/dist/web/model-measure.js +6 -0
  45. package/dist/web/model-spatial-panel.js +19 -4
  46. package/dist/web/model-spatial-tools.js +3 -3
  47. package/dist/web/model-viewport-revit-adapter.js +3 -3
  48. package/dist/web/model-viewport-toolbar.js +11 -0
  49. package/dist/web/origin-rule.js +155 -0
  50. package/dist/web/pages.js +17 -14
  51. package/dist/web/panels.js +1 -1
  52. package/dist/web/project-access.js +1 -1
  53. package/dist/web/project-history.js +2 -2
  54. package/dist/web/project-modules.js +5 -5
  55. package/dist/web/project-reconciliation.js +1 -1
  56. package/dist/web/project-rfis.js +8 -3
  57. package/dist/web/project-workflows.js +8 -6
  58. package/dist/web/renderers.js +6 -0
  59. package/dist/web/report-csp.js +68 -0
  60. package/dist/web/revit-editor.js +22 -8
  61. package/dist/web/run-history.js +14 -4
  62. package/dist/web/steel-3d-core.js +39 -9
  63. package/dist/web/steel-3d-flo.js +331 -0
  64. package/dist/web/steel-3d-view.js +164 -0
  65. package/dist/web/steel-ai-marks.js +3 -1
  66. package/dist/web/steel-editor.html +583 -129
  67. package/dist/web/steel-environments.js +297 -0
  68. package/dist/web/steel-filter.html +3 -2
  69. package/dist/web/steel-model-v2-client-validation.js +8 -1
  70. package/dist/web/steel-model-v2-commands.js +23 -9
  71. package/dist/web/steel-model-v2-projection.js +1 -1
  72. package/dist/web/step-rename.js +3 -2
  73. package/dist/web/terminal-requests.js +79 -1
  74. package/dist/web/tool-updates.js +9 -7
  75. package/dist/web/vector-3d.html +1 -1
  76. package/dist/web/vector-editor.html +50 -8
  77. package/dist/web/workspace-root-management.js +1 -1
  78. package/dist/web/workspaces.js +2334 -253
  79. package/launch.mjs +5 -0
  80. package/package.json +11 -8
@@ -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
@@ -49,9 +49,13 @@
49
49
  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' });
50
50
  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' });
51
51
  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' });
52
+ def('drawing-check.unsaved-apply', { label: 'Apply my changes again', actsOn: 'Makes again, on the version now shown, the checklist changes that were not saved because the checklist changed before they went in', group: G, persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
53
+ def('drawing-check.unsaved-dismiss', { label: 'Dismiss the changes not saved', actsOn: 'Discards the list of checklist changes that were not saved; nothing more is sent', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
54
+ def('drawing-check.unsaved-show-all', { label: 'Show all changes not saved', actsOn: 'Shows or hides the full list of checklist changes that were not saved', group: G, persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
52
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' });
53
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.' });
54
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.' });
55
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.' });
56
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' });
57
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.' });