@floless/app 0.167.0 → 0.169.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 (277) hide show
  1. package/autostart.mjs +169 -63
  2. package/cli-actions.mjs +8 -1
  3. package/desktop-shell.mjs +335 -0
  4. package/dist/floless-server.cjs +73121 -55759
  5. package/dist/schemas/steel.model.v2.schema.json +2 -1
  6. package/dist/skills/floless-app-onboarding/SKILL.md +13 -4
  7. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +3 -0
  8. package/dist/skills/floless-app-rfi/SKILL.md +4 -2
  9. package/dist/skills/floless-app-steel-takeoff/SKILL.md +21 -2
  10. package/dist/skills/floless-app-ui/SKILL.md +2 -2
  11. package/dist/skills/floless-app-workflows/SKILL.md +2 -2
  12. package/dist/templates/college-phase-exporter.flo +7 -2
  13. package/dist/templates/trimble-list-projects.flo +10 -2
  14. package/dist/web/agent-steps.js +2 -2
  15. package/dist/web/agents.js +50 -14
  16. package/dist/web/app.css +209 -11
  17. package/dist/web/app.js +99 -16
  18. package/dist/web/aware-update-client.js +14 -6
  19. package/dist/web/aware.js +583 -69
  20. package/dist/web/chat.css +12 -1
  21. package/dist/web/chat.js +627 -96
  22. package/dist/web/commands-drawing-check.js +3 -0
  23. package/dist/web/commands-filter.js +5 -5
  24. package/dist/web/commands-shell.js +283 -14
  25. package/dist/web/commands-steel.js +9 -2
  26. package/dist/web/commands-vector.js +69 -0
  27. package/dist/web/desktop-window.js +435 -0
  28. package/dist/web/drawing-check-editor.html +10 -0
  29. package/dist/web/drawing-check-editor.js +515 -187
  30. package/dist/web/failure-copy.js +33 -2
  31. package/dist/web/flo-3d.js +310 -0
  32. package/dist/web/flo-card.js +72 -0
  33. package/dist/web/guide.js +78 -10
  34. package/dist/web/index.html +90 -10
  35. package/dist/web/instructor.js +4 -1
  36. package/dist/web/leave-guard.js +347 -14
  37. package/dist/web/model-editor-steel-adapter.js +41 -1
  38. package/dist/web/model-viewport-toolbar.js +11 -0
  39. package/dist/web/pages.js +21 -14
  40. package/dist/web/panels.js +5 -2
  41. package/dist/web/pdf-view.js +421 -0
  42. package/dist/web/project-history.js +3 -2
  43. package/dist/web/project-modules.js +5 -3
  44. package/dist/web/project-reconciliation.js +1 -1
  45. package/dist/web/project-rfis.js +4 -2
  46. package/dist/web/project-workflows.js +8 -4
  47. package/dist/web/reference-geometry-worker.js +11 -2
  48. package/dist/web/renderers.js +6 -0
  49. package/dist/web/report-csp.js +68 -0
  50. package/dist/web/revit-editor.html +1 -0
  51. package/dist/web/revit-editor.js +37 -8
  52. package/dist/web/run-history.js +2 -3
  53. package/dist/web/shared-prefs.js +364 -0
  54. package/dist/web/steel-3d-flo.js +309 -0
  55. package/dist/web/steel-3d-view.js +159 -0
  56. package/dist/web/steel-editor.html +329 -47
  57. package/dist/web/steel-filter-flo.js +74 -18
  58. package/dist/web/steel-filter.html +22 -6
  59. package/dist/web/tab-signal.js +36 -1
  60. package/dist/web/tekla-editor.html +1 -0
  61. package/dist/web/terminal-requests.js +78 -0
  62. package/dist/web/tool-updates.js +160 -38
  63. package/dist/web/vector-3d.html +14 -3
  64. package/dist/web/vector-editor.html +60 -10
  65. package/dist/web/vendor/README.md +23 -0
  66. package/dist/web/vendor/pdfjs/LICENSE +177 -0
  67. package/dist/web/vendor/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
  68. package/dist/web/vendor/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
  69. package/dist/web/vendor/pdfjs/cmaps/78-H.bcmap +0 -0
  70. package/dist/web/vendor/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
  71. package/dist/web/vendor/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
  72. package/dist/web/vendor/pdfjs/cmaps/78-V.bcmap +0 -0
  73. package/dist/web/vendor/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
  74. package/dist/web/vendor/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
  75. package/dist/web/vendor/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
  76. package/dist/web/vendor/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
  77. package/dist/web/vendor/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
  78. package/dist/web/vendor/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
  79. package/dist/web/vendor/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
  80. package/dist/web/vendor/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
  81. package/dist/web/vendor/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
  82. package/dist/web/vendor/pdfjs/cmaps/Add-H.bcmap +0 -0
  83. package/dist/web/vendor/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
  84. package/dist/web/vendor/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
  85. package/dist/web/vendor/pdfjs/cmaps/Add-V.bcmap +0 -0
  86. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
  87. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
  88. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
  89. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
  90. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
  91. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
  92. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
  93. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  94. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
  95. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
  96. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
  97. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
  98. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
  99. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
  100. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  101. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
  102. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
  103. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
  104. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
  105. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
  106. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
  107. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
  108. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  109. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
  110. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
  111. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
  112. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  113. package/dist/web/vendor/pdfjs/cmaps/B5-H.bcmap +0 -0
  114. package/dist/web/vendor/pdfjs/cmaps/B5-V.bcmap +0 -0
  115. package/dist/web/vendor/pdfjs/cmaps/B5pc-H.bcmap +0 -0
  116. package/dist/web/vendor/pdfjs/cmaps/B5pc-V.bcmap +0 -0
  117. package/dist/web/vendor/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
  118. package/dist/web/vendor/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
  119. package/dist/web/vendor/pdfjs/cmaps/CNS1-H.bcmap +0 -0
  120. package/dist/web/vendor/pdfjs/cmaps/CNS1-V.bcmap +0 -0
  121. package/dist/web/vendor/pdfjs/cmaps/CNS2-H.bcmap +0 -0
  122. package/dist/web/vendor/pdfjs/cmaps/CNS2-V.bcmap +3 -0
  123. package/dist/web/vendor/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
  124. package/dist/web/vendor/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
  125. package/dist/web/vendor/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
  126. package/dist/web/vendor/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
  127. package/dist/web/vendor/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
  128. package/dist/web/vendor/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
  129. package/dist/web/vendor/pdfjs/cmaps/EUC-H.bcmap +0 -0
  130. package/dist/web/vendor/pdfjs/cmaps/EUC-V.bcmap +0 -0
  131. package/dist/web/vendor/pdfjs/cmaps/Ext-H.bcmap +0 -0
  132. package/dist/web/vendor/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
  133. package/dist/web/vendor/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
  134. package/dist/web/vendor/pdfjs/cmaps/Ext-V.bcmap +0 -0
  135. package/dist/web/vendor/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
  136. package/dist/web/vendor/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
  137. package/dist/web/vendor/pdfjs/cmaps/GB-H.bcmap +4 -0
  138. package/dist/web/vendor/pdfjs/cmaps/GB-V.bcmap +0 -0
  139. package/dist/web/vendor/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
  140. package/dist/web/vendor/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
  141. package/dist/web/vendor/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
  142. package/dist/web/vendor/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
  143. package/dist/web/vendor/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
  144. package/dist/web/vendor/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
  145. package/dist/web/vendor/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
  146. package/dist/web/vendor/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
  147. package/dist/web/vendor/pdfjs/cmaps/GBT-H.bcmap +0 -0
  148. package/dist/web/vendor/pdfjs/cmaps/GBT-V.bcmap +0 -0
  149. package/dist/web/vendor/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
  150. package/dist/web/vendor/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
  151. package/dist/web/vendor/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
  152. package/dist/web/vendor/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
  153. package/dist/web/vendor/pdfjs/cmaps/H.bcmap +0 -0
  154. package/dist/web/vendor/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
  155. package/dist/web/vendor/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
  156. package/dist/web/vendor/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
  157. package/dist/web/vendor/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
  158. package/dist/web/vendor/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
  159. package/dist/web/vendor/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
  160. package/dist/web/vendor/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
  161. package/dist/web/vendor/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
  162. package/dist/web/vendor/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
  163. package/dist/web/vendor/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
  164. package/dist/web/vendor/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
  165. package/dist/web/vendor/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
  166. package/dist/web/vendor/pdfjs/cmaps/Hankaku.bcmap +0 -0
  167. package/dist/web/vendor/pdfjs/cmaps/Hiragana.bcmap +0 -0
  168. package/dist/web/vendor/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
  169. package/dist/web/vendor/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
  170. package/dist/web/vendor/pdfjs/cmaps/KSC-H.bcmap +0 -0
  171. package/dist/web/vendor/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
  172. package/dist/web/vendor/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
  173. package/dist/web/vendor/pdfjs/cmaps/KSC-V.bcmap +0 -0
  174. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
  175. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  176. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  177. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
  178. package/dist/web/vendor/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
  179. package/dist/web/vendor/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
  180. package/dist/web/vendor/pdfjs/cmaps/Katakana.bcmap +0 -0
  181. package/dist/web/vendor/pdfjs/cmaps/LICENSE +36 -0
  182. package/dist/web/vendor/pdfjs/cmaps/NWP-H.bcmap +0 -0
  183. package/dist/web/vendor/pdfjs/cmaps/NWP-V.bcmap +0 -0
  184. package/dist/web/vendor/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
  185. package/dist/web/vendor/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
  186. package/dist/web/vendor/pdfjs/cmaps/Roman.bcmap +0 -0
  187. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  188. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  189. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  190. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  191. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  192. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  193. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  194. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  195. package/dist/web/vendor/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
  196. package/dist/web/vendor/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
  197. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
  198. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
  199. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
  200. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
  201. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
  202. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
  203. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  204. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  205. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  206. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  207. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  208. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  209. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  210. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  211. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  212. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  213. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  214. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  215. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  216. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  217. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  218. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  219. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  220. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  221. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  222. package/dist/web/vendor/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  223. package/dist/web/vendor/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  224. package/dist/web/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  225. package/dist/web/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  226. package/dist/web/vendor/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
  227. package/dist/web/vendor/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
  228. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
  229. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
  230. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
  231. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
  232. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
  233. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
  234. package/dist/web/vendor/pdfjs/cmaps/V.bcmap +0 -0
  235. package/dist/web/vendor/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
  236. package/dist/web/vendor/pdfjs/iccs/CGATS001Compat-v2-micro.icc +0 -0
  237. package/dist/web/vendor/pdfjs/iccs/LICENSE +116 -0
  238. package/dist/web/vendor/pdfjs/pdf.min.mjs +28 -0
  239. package/dist/web/vendor/pdfjs/pdf.worker.mjs +64908 -0
  240. package/dist/web/vendor/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
  241. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
  242. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
  243. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  244. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
  245. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
  246. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
  247. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  248. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
  249. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
  250. package/dist/web/vendor/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
  251. package/dist/web/vendor/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
  252. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
  253. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  254. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
  255. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
  256. package/dist/web/vendor/pdfjs/wasm/LICENSE_JBIG2 +196 -0
  257. package/dist/web/vendor/pdfjs/wasm/LICENSE_OPENJPEG +39 -0
  258. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  259. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  260. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_QCMS +19 -0
  261. package/dist/web/vendor/pdfjs/wasm/LICENSE_QCMS +21 -0
  262. package/dist/web/vendor/pdfjs/wasm/jbig2.wasm +0 -0
  263. package/dist/web/vendor/pdfjs/wasm/jbig2_nowasm_fallback.js +15 -0
  264. package/dist/web/vendor/pdfjs/wasm/openjpeg.wasm +0 -0
  265. package/dist/web/vendor/pdfjs/wasm/openjpeg_nowasm_fallback.js +17 -0
  266. package/dist/web/vendor/pdfjs/wasm/qcms_bg.wasm +0 -0
  267. package/dist/web/workspace-root-management.js +1 -1
  268. package/dist/web/workspaces.js +792 -165
  269. package/home-env.mjs +28 -0
  270. package/install-path.mjs +59 -3
  271. package/launch-starting-page.mjs +35 -15
  272. package/launch.mjs +363 -51
  273. package/package.json +9 -8
  274. package/pin-home.mjs +6 -0
  275. package/post-update-marker.mjs +14 -0
  276. package/preferences-file.mjs +289 -0
  277. package/supervisor-lock.mjs +195 -0
@@ -27,6 +27,7 @@ import { snapPoint, planPointToWp, memberGeometry, snapElevation, dim3dGeom, dom
27
27
  import { visibleGridLevels, gridTransientScopeSignature, reconcileGridTransientState, objectSelectionStatus } from './grid-core.js';
28
28
  import { createEntityKeyRegistry, encodeCameraState } from './model-viewport-state.js';
29
29
  import { createModelViewportController } from './model-viewport.js';
30
+ import { createSteelFlo } from './steel-3d-flo.js';
30
31
  import { createSteelViewportAdapter } from './model-viewport-steel-adapter.js';
31
32
  import { MODEL_NAMED_VIEWS, createCadOrbitEventProxy, mountCadInputArbiter, modelCameraClipRange } from './model-navigation-controls.js';
32
33
  import { createModelCadToolController } from './model-cad-tools.js';
@@ -698,6 +699,37 @@ function init(canvas, theApi, options = {}) {
698
699
  // every stroke gets a dark halo so it reads on any background. depthTest off → always on top.
699
700
  marker = new THREE.Sprite(new THREE.SpriteMaterial({ map: reticleFor('dot'), transparent: true, depthTest: false, depthWrite: false }));
700
701
  marker.visible = false; marker.renderOrder = 999; scene.add(marker);
702
+ // Flo on the model (web/steel-3d-flo.js): decoration only. It is not in meshById, so it is never picked as a
703
+ // member, never in the Fit box and never a snap candidate. Needs flo.js (floPose), which the editor loads first.
704
+ if (typeof window.floPose === 'function') {
705
+ const reduce = window.matchMedia ? window.matchMedia('(prefers-reduced-motion: reduce)') : null;
706
+ floView = createSteelFlo({ THREE, scene, meshById, getCamera: () => camera, getSceneBox: () => sceneBox, pxToWorldAt,
707
+ floPose: window.floPose, reducedMotion: !!reduce?.matches, enabled: floStartsShown(), onPerch: showFloCard });
708
+ floReduceOff?.();
709
+ const onReduce = () => floView?.setReducedMotion(reduce.matches);
710
+ reduce?.addEventListener?.('change', onReduce);
711
+ floReduceOff = () => { reduce?.removeEventListener?.('change', onReduce); floReduceOff = null; };
712
+ floView.setShellMood(floMoodWanted); // the shell may have said what AI Chat is doing before 3D was opened
713
+ // Hide, next to Flo while the pointer is on it (the Drawing Filter's "–" in Flo's bubble corner). The
714
+ // always-there control is Show Flo in the 3D Labels menu; this is the shortcut where Flo is.
715
+ // Flo's card: what the member Flo stands on is (web/flo-card.js decides what it says, the page supplies the
716
+ // values). Decorative and a copy of Properties, so it takes no pointer and is hidden from screen readers.
717
+ floCard = document.createElement('div');
718
+ floCard.id = 'm3dFloCard';
719
+ floCard.setAttribute('aria-hidden', 'true');
720
+ document.body.appendChild(floCard);
721
+ applyFloSize(floStoredSize()); // Flo and its card at the person's size (Labels → Flo size)
722
+ floMinChip = document.createElement('button');
723
+ floMinChip.id = 'm3dFloMin'; floMinChip.type = 'button';
724
+ floMinChip.setAttribute('aria-label', 'Hide Flo');
725
+ floMinChip.dataset.commandId = 'steel.flo-minimize';
726
+ floMinChip.dataset.tip = 'Hide Flo. Turn it back on in Labels.';
727
+ floMinChip.innerHTML = '<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 8h8"/></svg>';
728
+ floMinChip.addEventListener('pointerenter', () => clearTimeout(floMinTimer));
729
+ floMinChip.addEventListener('pointerleave', () => hideFloMinSoon());
730
+ floMinChip.addEventListener('click', (e) => { e.stopPropagation(); setFloShown(false, 'chip'); });
731
+ document.body.appendChild(floMinChip);
732
+ }
701
733
  // live dimension readout (toast-styled, follows the cursor during a drag — feet + snap type).
702
734
  // Two spans + textContent (never innerHTML) so it's XSS-proof; the type span is muted.
703
735
  readout = document.createElement('div');
@@ -893,6 +925,7 @@ let unframedFrames = 0, unframedWarned = false; // a gate that never opens loo
893
925
  // and left selLenLabelHost out, which this closes.
894
926
  function hideLabelHosts() {
895
927
  for (const host of [dimLabelHost, memberLabelHost, propLabelHost, selLenLabelHost]) if (host) host.style.display = 'none';
928
+ floCard?.classList.remove('show');
896
929
  if (propLabelNote) propLabelNote.style.display = 'none';
897
930
  }
898
931
  function renderSteelFrame() {
@@ -922,6 +955,8 @@ function renderSteelFrame() {
922
955
  positionMemberLabels();
923
956
  positionPropLabels();
924
957
  positionSelLenLabels();
958
+ floView?.tick();
959
+ placeFloMin(placeFloCard()); // after the card: with a card up, the chip sits on its corner
925
960
  renderer.render(scene, camera);
926
961
  if (overlayScene && overlayScene.children.length) { // 2nd pass with clipping OFF → the clip/work-area gizmos are never sectioned by any clip
927
962
  const saved = renderer.clippingPlanes;
@@ -1496,6 +1531,7 @@ function buildFromScene(sc) {
1496
1531
  if (hadVisibilityFilter !== hasVisibilityFilter()) notifyVisibilityChange({ intentional: false }); // keep the host's recovery control honest when an edit removes the last hidden/isolated mesh
1497
1532
  applyGroupVisibility(); applyDisplayMode();
1498
1533
  built = true;
1534
+ floView?.modelChanged(); // Flo arrives on the model, or follows the member it stood on
1499
1535
  // Fit only on entering 3D (rebuild(true)) — NOT on every edit. Frames whatever is on screen, so a
1500
1536
  // project whose references are already cached opens on the borrowed model rather than on nothing.
1501
1537
  // (A reference whose geometry is still streaming in arrives after this and is not re-framed; landing
@@ -5316,8 +5352,114 @@ function setSelection(ids) {
5316
5352
  if (reglow) applyDisplayMode(); // one re-sync after re-lighting the whole set, not one per part
5317
5353
  updateStatusChip();
5318
5354
  syncGizmoVisibility(); // the Profile Position gizmo follows the selection (single member only); (un)hides the frame gizmo to match
5355
+ floView?.selectionChanged(set); // Flo hops onto the member just selected
5356
+ if (floPerchId && set.has(floPerchId)) showFloCard(floPerchId); // with several selected, the card speaks for all of them
5319
5357
  }
5320
5358
  let selIds = new Set();
5359
+ let floView = null, floMoodWanted = 'idle', floMinChip = null, floMinTimer = 0, floReduceOff = null;
5360
+ let floCard = null, floCardId = null;
5361
+ // The member Flo stands on, kept even while its card has nothing to say (every field off): a field switched back on
5362
+ // (or Reset) brings the card back from it. floCardId is that member only while its card is showing.
5363
+ let floPerchId = null;
5364
+ // The card's size, measured only when its words or Flo size change (not every frame), and where it was last put.
5365
+ let floCardWH = null, floCardAt = null;
5366
+ const FLO_CARD_GAP = 12, FLO_CARD_EDGE = 8;
5367
+ // Flo's size as the page left it (Labels → Flo size, in percent); 1 when nothing valid is stored. The page's own
5368
+ // settings come first (api.floSettings): they hold even when the browser refuses to store them.
5369
+ function floStoredSize() {
5370
+ const pg = typeof api?.floSettings === 'function' ? api.floSettings() : null;
5371
+ if (pg) return pg.size >= 60 && pg.size <= 200 ? pg.size / 100 : 1;
5372
+ try { const v = Number(localStorage.getItem('steel:floSize:v2')); return v >= 60 && v <= 200 ? v / 100 : 1; } catch { return 1; }
5373
+ }
5374
+ function applyFloSize(k) { floView?.setScale(k); floCard?.style.setProperty('--fc-s', String(k)); measureFloCard(); }
5375
+ function measureFloCard() { floCardWH = floCard && floCardId ? { w: floCard.offsetWidth, h: floCard.offsetHeight } : null; }
5376
+ // Flo starts as the page left it: off until the person turns it on in the Labels menu.
5377
+ function floStartsShown() {
5378
+ const pg = typeof api?.floSettings === 'function' ? api.floSettings() : null;
5379
+ if (pg) return !!pg.on;
5380
+ try { return localStorage.getItem('steel:flo3d:v2') === 'on'; } catch { return false; }
5381
+ }
5382
+ // Flo landed on a member (or left it: id null). The card is filled once here, from the page's own formatted values,
5383
+ // and placed beside Flo on every frame by placeFloCard.
5384
+ function showFloCard(id) {
5385
+ if (!floCard) return;
5386
+ const card = id && typeof api?.floCardFor === 'function' ? api.floCardFor(id) : null;
5387
+ floPerchId = id || null;
5388
+ floCardId = card ? id : null;
5389
+ if (!card) { floCard.classList.remove('show'); floCardWH = floCardAt = null; return; }
5390
+ floCard.replaceChildren();
5391
+ const add = (cls, text, parent = floCard) => { const e = document.createElement('div'); e.className = cls; e.textContent = text; parent.appendChild(e); return e; };
5392
+ if (card.caption) add('fc-cap', card.caption);
5393
+ if (card.headline) add(card.headlineVaries ? 'fc-head fc-varies' : 'fc-head', card.headline);
5394
+ if (card.rows.length) {
5395
+ const grid = add('fc-rows', '');
5396
+ for (const r of card.rows) { add('fc-k', r.label, grid); add(r.varies ? 'fc-v fc-varies' : 'fc-v', r.value, grid); }
5397
+ }
5398
+ floCard.style.visibility = 'hidden'; // measured where it lands before it is seen
5399
+ floCard.classList.add('show');
5400
+ measureFloCard();
5401
+ placeFloCard();
5402
+ }
5403
+ // Beside Flo's head, on the right unless that runs off the stage or under the view cube (top right), then on the
5404
+ // left; always inside the stage. Hidden while Flo is off screen.
5405
+ // Returns the stage rect it read (or null), so the chip placed after it in the same frame need not read it again.
5406
+ function placeFloCard() {
5407
+ floCardAt = null;
5408
+ if (!floCard || !floCardId || !floView) return null;
5409
+ if (!canvasEl || canvasEl.style.display === 'none') { floCard.classList.remove('show'); return null; }
5410
+ const rect = canvasEl.getBoundingClientRect();
5411
+ const at = floView.hatScreen(camera, rect.width, rect.height);
5412
+ if (!at || at.x < 0 || at.y < 0 || at.x > rect.width || at.y > rect.height) { floCard.style.visibility = 'hidden'; return rect; }
5413
+ if (!floCardWH) measureFloCard();
5414
+ const { w, h } = floCardWH;
5415
+ const hx = rect.left + at.x, hy = rect.top + at.y;
5416
+ const cube = { left: rect.right - 110, bottom: rect.top + 110 }; // the view cube
5417
+ let left = hx + FLO_CARD_GAP, side = 'right';
5418
+ const top = Math.min(rect.bottom - FLO_CARD_EDGE - h, Math.max(rect.top + FLO_CARD_EDGE, hy - h * 0.35));
5419
+ if (left + w > rect.right - FLO_CARD_EDGE || (left + w > cube.left && top < cube.bottom)) { left = hx - FLO_CARD_GAP - w; side = 'left'; }
5420
+ left = Math.max(rect.left + FLO_CARD_EDGE, left);
5421
+ floCard.style.left = Math.round(left) + 'px';
5422
+ floCard.style.top = Math.round(top) + 'px';
5423
+ floCard.dataset.side = side;
5424
+ // the tail points at Flo's head wherever the card had to sit
5425
+ floCard.style.setProperty('--fc-tail', Math.round(Math.min(h - 14, Math.max(10, hy - top - 6))) + 'px');
5426
+ floCard.style.visibility = '';
5427
+ floCardAt = { left, top, w };
5428
+ return rect;
5429
+ }
5430
+ // The one way Flo is shown or hidden (the chip beside Flo and the Labels menu both come here), so the page hears
5431
+ // every change and keeps its switch in step.
5432
+ function setFloShown(on, via) {
5433
+ if (!floView) return;
5434
+ floView.setEnabled(on, { animate: true });
5435
+ hideFloMin();
5436
+ window.dispatchEvent(new CustomEvent('floless:flo3d-shown', { detail: { on: !!on, via } }));
5437
+ }
5438
+ function hideFloMin() { clearTimeout(floMinTimer); floMinChip?.classList.remove('show'); }
5439
+ function hideFloMinSoon() { clearTimeout(floMinTimer); floMinTimer = setTimeout(hideFloMin, 2000); }
5440
+ // Pointer on Flo: show the Hide chip just above-right of its hat; it rides along with Flo while shown (placeFloMin),
5441
+ // so a hop or a turn of the view never leaves it behind. Off Flo: it stays two seconds, longer while pointed at.
5442
+ function floHoverAt(e) {
5443
+ if (!floView || !floMinChip || !floView.enabled) return;
5444
+ const rect = canvasEl.getBoundingClientRect();
5445
+ const ndc = new THREE.Vector2(((e.clientX - rect.left) / rect.width) * 2 - 1, -((e.clientY - rect.top) / rect.height) * 2 + 1);
5446
+ if (!floView.hover(ndc, camera)) { if (floMinChip.classList.contains('show')) hideFloMinSoon(); return; }
5447
+ clearTimeout(floMinTimer);
5448
+ if (floMinChip.classList.contains('show')) return;
5449
+ floMinChip.classList.add('show');
5450
+ placeFloMin();
5451
+ }
5452
+ // Every frame while the chip shows: on the top-right corner of Flo's card when the card is up (half outside it, so it
5453
+ // covers none of what the card says), else just above-right of Flo's hat; gone when Flo is off screen or not drawn.
5454
+ function placeFloMin(stageRect) {
5455
+ if (!floMinChip || !floMinChip.classList.contains('show') || !floView) return;
5456
+ const rect = stageRect || canvasEl.getBoundingClientRect();
5457
+ const at = canvasEl.style.display === 'none' ? null : floView.hatScreen(camera, rect.width, rect.height);
5458
+ if (!at || at.x < 0 || at.y < 0 || at.x > rect.width || at.y > rect.height) { hideFloMin(); return; }
5459
+ const card = floCardAt; // set by placeFloCard when the card is up and on screen
5460
+ floMinChip.style.left = Math.round(card ? card.left + card.w - 12 : rect.left + at.x + 10) + 'px';
5461
+ floMinChip.style.top = Math.round(card ? card.top - 12 : rect.top + at.y - 12) + 'px';
5462
+ }
5321
5463
  // Material.clone() copies parameters but NOT instance-assigned callbacks, so a cloned highlight
5322
5464
  // material loses the triplanar patch and falls back to three's stock UV sampling — the highlighted
5323
5465
  // member's texture stretches and smears for as long as it stays selected or hovered.
@@ -8182,6 +8324,13 @@ function onDown(e) {
8182
8324
  let onAnchorDown = false; try { onAnchorDown = pickPositionAnchorHover(e.clientX, e.clientY); } catch (err) { console.error('steel-3d: position-anchor hit-test failed', err); onAnchorDown = false; }
8183
8325
  if (onAnchorDown) { e.stopPropagation(); controls.enabled = false; pending = { posAnchor: true }; return; }
8184
8326
  }
8327
+ // A press on Flo tips its hat and leaves the selection alone; dragging on from it still becomes a marquee. Flo stands
8328
+ // on the selected member, where its end dots, the position gizmo and Trim/Extend/Split clicks are, so those come first.
8329
+ if (floView?.enabled && !endpointHit && !geoMode()) {
8330
+ const rect = canvasEl.getBoundingClientRect();
8331
+ const ndc = new THREE.Vector2(((e.clientX - rect.left) / rect.width) * 2 - 1, -((e.clientY - rect.top) / rect.height) * 2 + 1);
8332
+ if (floView.pointerDown(ndc, camera)) { e.stopPropagation(); controls.enabled = false; pending = { posAnchor: true }; return; }
8333
+ }
8185
8334
  let id = null; try { id = pickAt(e.clientX, e.clientY); } catch { id = null; }
8186
8335
  // Geometry-edit mode (Trim/Extend or Split armed in the inspector): a click does the edit, no drag.
8187
8336
  const armedGeo = geoMode();
@@ -8479,6 +8628,7 @@ function onMoveEndpoint(e) {
8479
8628
  function onMove(e) {
8480
8629
  if (rightDownXY && Math.hypot(e.clientX - rightDownXY[0], e.clientY - rightDownXY[1]) > 5) rightMoved = true; // right-DRAG = orbit/pan, so no snap menu on the release
8481
8630
  if (!renderer || !canvasEl || canvasEl.style.display === 'none') return; // 3D inactive — ignore window pointer events
8631
+ if (!pending && !boxSel && !teklaDrag && e.target === canvasEl) floHoverAt(e);
8482
8632
  // Ctrl+Shift drag-out armed: this pointer stream is the gesture, so the move/copy path stands down.
8483
8633
  // Below the drag tolerance nothing has happened yet — the press can still turn out to be a click.
8484
8634
  if (teklaDrag) {
@@ -9198,6 +9348,7 @@ function setInputActive(on) { inputActive = on !== false; viewportController?.se
9198
9348
  function isReady() { return built; }
9199
9349
 
9200
9350
  function disposeSteel() {
9351
+ floReduceOff?.(); floView?.dispose(); floView = null; clearTimeout(floMinTimer); floMinChip?.remove(); floMinChip = null; floCard?.remove(); floCard = null; floCardId = null; floPerchId = null;
9201
9352
  if (aiMarkGroup) { scene?.remove(aiMarkGroup); aiMarkGroup = null; } disposeAiMarkMats(); // #2521 row 6 (the spec is kept: a re-init redraws it)
9202
9353
  clipGesture?.dispose(); clipGesture = null;
9203
9354
  sharedClipList?.destroy?.(); sharedClipList = null; releaseClipGestureInput?.(); releaseClipGestureInput = null; releaseClipOverlayInput?.(); releaseClipOverlayInput = null;
@@ -9492,6 +9643,14 @@ window.Steel3DView = {
9492
9643
  setConnReview,
9493
9644
  // #2521 row 6: the member ends and connections that rest on an AI decision (the editor's ⋯ Display switch).
9494
9645
  setAiMarks, aiMarksProbe,
9646
+ // Flo on the model: the Labels menu switch, the mood the shell pushes from AI Chat, the editor's note before
9647
+ // it reloads for a change made elsewhere (so Flo can visit what changed), and a test probe.
9648
+ setFlo: (on) => setFloShown(on, 'page'),
9649
+ setFloMood: (mood) => { floMoodWanted = mood; floView?.setShellMood(mood); },
9650
+ // The person changed what Flo's card shows (3D Labels → Flo): read the card again.
9651
+ refreshFloCard: () => { if (floPerchId) showFloCard(floPerchId); },
9652
+ // Labels → Flo size (a factor, 1 = as designed): Flo and its card together; the card is re-placed on the next frame.
9653
+ setFloSize: (k) => applyFloSize(Number.isFinite(k) && k > 0 ? k : 1), floRemember: () => floView?.remember(), floProbe: () => { if (!floView) return null; const r = canvasEl.getBoundingClientRect(), h = floView.hatScreen(camera, r.width, r.height); return { ...floView.probe(), hat: h && { x: r.left + h.x, y: r.top + h.y }, chip: !!floMinChip?.classList.contains('show'), card: floCardId && floCard?.classList.contains('show') && floCard.style.visibility !== 'hidden' ? { id: floCardId, rect: floCard.getBoundingClientRect().toJSON(), side: floCard.dataset.side, text: floCard.innerText } : null }; },
9495
9654
  // Reference models (#278) — an editor-only layer. `setReferences` takes the geometry the editor
9496
9655
  // fetched from the reference route; nothing here ever passes through contractToScene, which is what
9497
9656
  // keeps borrowed geometry out of every export by construction rather than by filtering.