@floless/app 0.166.0 → 0.168.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 (261) hide show
  1. package/autostart.mjs +169 -63
  2. package/desktop-shell.mjs +335 -0
  3. package/dist/floless-server.cjs +20570 -14555
  4. package/dist/schemas/drawing-check.profile.v1.schema.json +1 -1
  5. package/dist/schemas/steel.model.v2.schema.json +4 -2
  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-steel-takeoff/SKILL.md +34 -3
  9. package/dist/skills/floless-app-ui/SKILL.md +2 -2
  10. package/dist/skills/floless-app-workflows/SKILL.md +2 -2
  11. package/dist/templates/college-phase-exporter.flo +11 -45
  12. package/dist/web/agents.js +1 -1
  13. package/dist/web/app.css +223 -8
  14. package/dist/web/app.js +53 -13
  15. package/dist/web/aware-update-client.js +13 -5
  16. package/dist/web/aware.js +559 -118
  17. package/dist/web/chat.css +23 -0
  18. package/dist/web/chat.js +1003 -83
  19. package/dist/web/commands-filter.js +28 -5
  20. package/dist/web/commands-shell.js +304 -18
  21. package/dist/web/commands-steel.js +1 -1
  22. package/dist/web/desktop-window.js +435 -0
  23. package/dist/web/drawing-check-editor.js +18 -10
  24. package/dist/web/failure-copy.js +14 -1
  25. package/dist/web/guide.js +75 -9
  26. package/dist/web/index.html +72 -12
  27. package/dist/web/instructor.js +1 -1
  28. package/dist/web/leave-guard.js +347 -14
  29. package/dist/web/pages.js +5 -1
  30. package/dist/web/panels.js +5 -2
  31. package/dist/web/pdf-view.js +421 -0
  32. package/dist/web/project-history.js +133 -11
  33. package/dist/web/project-modules.js +3 -1
  34. package/dist/web/project-rfis.js +3 -1
  35. package/dist/web/project-workflows.js +4 -2
  36. package/dist/web/reference-geometry-worker.js +11 -2
  37. package/dist/web/revit-editor.html +1 -0
  38. package/dist/web/revit-editor.js +37 -8
  39. package/dist/web/shared-prefs.js +364 -0
  40. package/dist/web/steel-ai-marks.js +45 -1
  41. package/dist/web/steel-editor.html +265 -58
  42. package/dist/web/steel-filter-flo.js +243 -23
  43. package/dist/web/steel-filter.html +58 -16
  44. package/dist/web/tab-signal.js +36 -1
  45. package/dist/web/tekla-editor.html +1 -0
  46. package/dist/web/terminal-requests.js +5 -0
  47. package/dist/web/tool-updates.js +220 -54
  48. package/dist/web/vector-3d.html +14 -3
  49. package/dist/web/vector-editor.html +10 -2
  50. package/dist/web/vendor/README.md +23 -0
  51. package/dist/web/vendor/pdfjs/LICENSE +177 -0
  52. package/dist/web/vendor/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
  53. package/dist/web/vendor/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
  54. package/dist/web/vendor/pdfjs/cmaps/78-H.bcmap +0 -0
  55. package/dist/web/vendor/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
  56. package/dist/web/vendor/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
  57. package/dist/web/vendor/pdfjs/cmaps/78-V.bcmap +0 -0
  58. package/dist/web/vendor/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
  59. package/dist/web/vendor/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
  60. package/dist/web/vendor/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
  61. package/dist/web/vendor/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
  62. package/dist/web/vendor/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
  63. package/dist/web/vendor/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
  64. package/dist/web/vendor/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
  65. package/dist/web/vendor/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
  66. package/dist/web/vendor/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
  67. package/dist/web/vendor/pdfjs/cmaps/Add-H.bcmap +0 -0
  68. package/dist/web/vendor/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
  69. package/dist/web/vendor/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
  70. package/dist/web/vendor/pdfjs/cmaps/Add-V.bcmap +0 -0
  71. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
  72. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
  73. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
  74. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
  75. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
  76. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
  77. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
  78. package/dist/web/vendor/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  79. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
  80. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
  81. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
  82. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
  83. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
  84. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
  85. package/dist/web/vendor/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  86. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
  87. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
  88. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
  89. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
  90. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
  91. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
  92. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
  93. package/dist/web/vendor/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  94. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
  95. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
  96. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
  97. package/dist/web/vendor/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  98. package/dist/web/vendor/pdfjs/cmaps/B5-H.bcmap +0 -0
  99. package/dist/web/vendor/pdfjs/cmaps/B5-V.bcmap +0 -0
  100. package/dist/web/vendor/pdfjs/cmaps/B5pc-H.bcmap +0 -0
  101. package/dist/web/vendor/pdfjs/cmaps/B5pc-V.bcmap +0 -0
  102. package/dist/web/vendor/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
  103. package/dist/web/vendor/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
  104. package/dist/web/vendor/pdfjs/cmaps/CNS1-H.bcmap +0 -0
  105. package/dist/web/vendor/pdfjs/cmaps/CNS1-V.bcmap +0 -0
  106. package/dist/web/vendor/pdfjs/cmaps/CNS2-H.bcmap +0 -0
  107. package/dist/web/vendor/pdfjs/cmaps/CNS2-V.bcmap +3 -0
  108. package/dist/web/vendor/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
  109. package/dist/web/vendor/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
  110. package/dist/web/vendor/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
  111. package/dist/web/vendor/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
  112. package/dist/web/vendor/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
  113. package/dist/web/vendor/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
  114. package/dist/web/vendor/pdfjs/cmaps/EUC-H.bcmap +0 -0
  115. package/dist/web/vendor/pdfjs/cmaps/EUC-V.bcmap +0 -0
  116. package/dist/web/vendor/pdfjs/cmaps/Ext-H.bcmap +0 -0
  117. package/dist/web/vendor/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
  118. package/dist/web/vendor/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
  119. package/dist/web/vendor/pdfjs/cmaps/Ext-V.bcmap +0 -0
  120. package/dist/web/vendor/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
  121. package/dist/web/vendor/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
  122. package/dist/web/vendor/pdfjs/cmaps/GB-H.bcmap +4 -0
  123. package/dist/web/vendor/pdfjs/cmaps/GB-V.bcmap +0 -0
  124. package/dist/web/vendor/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
  125. package/dist/web/vendor/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
  126. package/dist/web/vendor/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
  127. package/dist/web/vendor/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
  128. package/dist/web/vendor/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
  129. package/dist/web/vendor/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
  130. package/dist/web/vendor/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
  131. package/dist/web/vendor/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
  132. package/dist/web/vendor/pdfjs/cmaps/GBT-H.bcmap +0 -0
  133. package/dist/web/vendor/pdfjs/cmaps/GBT-V.bcmap +0 -0
  134. package/dist/web/vendor/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
  135. package/dist/web/vendor/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
  136. package/dist/web/vendor/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
  137. package/dist/web/vendor/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
  138. package/dist/web/vendor/pdfjs/cmaps/H.bcmap +0 -0
  139. package/dist/web/vendor/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
  140. package/dist/web/vendor/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
  141. package/dist/web/vendor/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
  142. package/dist/web/vendor/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
  143. package/dist/web/vendor/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
  144. package/dist/web/vendor/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
  145. package/dist/web/vendor/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
  146. package/dist/web/vendor/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
  147. package/dist/web/vendor/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
  148. package/dist/web/vendor/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
  149. package/dist/web/vendor/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
  150. package/dist/web/vendor/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
  151. package/dist/web/vendor/pdfjs/cmaps/Hankaku.bcmap +0 -0
  152. package/dist/web/vendor/pdfjs/cmaps/Hiragana.bcmap +0 -0
  153. package/dist/web/vendor/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
  154. package/dist/web/vendor/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
  155. package/dist/web/vendor/pdfjs/cmaps/KSC-H.bcmap +0 -0
  156. package/dist/web/vendor/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
  157. package/dist/web/vendor/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
  158. package/dist/web/vendor/pdfjs/cmaps/KSC-V.bcmap +0 -0
  159. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
  160. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  161. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  162. package/dist/web/vendor/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
  163. package/dist/web/vendor/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
  164. package/dist/web/vendor/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
  165. package/dist/web/vendor/pdfjs/cmaps/Katakana.bcmap +0 -0
  166. package/dist/web/vendor/pdfjs/cmaps/LICENSE +36 -0
  167. package/dist/web/vendor/pdfjs/cmaps/NWP-H.bcmap +0 -0
  168. package/dist/web/vendor/pdfjs/cmaps/NWP-V.bcmap +0 -0
  169. package/dist/web/vendor/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
  170. package/dist/web/vendor/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
  171. package/dist/web/vendor/pdfjs/cmaps/Roman.bcmap +0 -0
  172. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  173. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  174. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  175. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  176. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  177. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  178. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  179. package/dist/web/vendor/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  180. package/dist/web/vendor/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
  181. package/dist/web/vendor/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
  182. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
  183. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
  184. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
  185. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
  186. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
  187. package/dist/web/vendor/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
  188. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  189. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  190. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  191. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  192. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  193. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  194. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  195. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  196. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  197. package/dist/web/vendor/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  198. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  199. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  200. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  201. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  202. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  203. package/dist/web/vendor/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  204. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  205. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  206. package/dist/web/vendor/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  207. package/dist/web/vendor/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  208. package/dist/web/vendor/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  209. package/dist/web/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  210. package/dist/web/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  211. package/dist/web/vendor/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
  212. package/dist/web/vendor/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
  213. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
  214. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
  215. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
  216. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
  217. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
  218. package/dist/web/vendor/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
  219. package/dist/web/vendor/pdfjs/cmaps/V.bcmap +0 -0
  220. package/dist/web/vendor/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
  221. package/dist/web/vendor/pdfjs/iccs/CGATS001Compat-v2-micro.icc +0 -0
  222. package/dist/web/vendor/pdfjs/iccs/LICENSE +116 -0
  223. package/dist/web/vendor/pdfjs/pdf.min.mjs +28 -0
  224. package/dist/web/vendor/pdfjs/pdf.worker.mjs +64908 -0
  225. package/dist/web/vendor/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
  226. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
  227. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
  228. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  229. package/dist/web/vendor/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
  230. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
  231. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
  232. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  233. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
  234. package/dist/web/vendor/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
  235. package/dist/web/vendor/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
  236. package/dist/web/vendor/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
  237. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
  238. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  239. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
  240. package/dist/web/vendor/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
  241. package/dist/web/vendor/pdfjs/wasm/LICENSE_JBIG2 +196 -0
  242. package/dist/web/vendor/pdfjs/wasm/LICENSE_OPENJPEG +39 -0
  243. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  244. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  245. package/dist/web/vendor/pdfjs/wasm/LICENSE_PDFJS_QCMS +19 -0
  246. package/dist/web/vendor/pdfjs/wasm/LICENSE_QCMS +21 -0
  247. package/dist/web/vendor/pdfjs/wasm/jbig2.wasm +0 -0
  248. package/dist/web/vendor/pdfjs/wasm/jbig2_nowasm_fallback.js +15 -0
  249. package/dist/web/vendor/pdfjs/wasm/openjpeg.wasm +0 -0
  250. package/dist/web/vendor/pdfjs/wasm/openjpeg_nowasm_fallback.js +17 -0
  251. package/dist/web/vendor/pdfjs/wasm/qcms_bg.wasm +0 -0
  252. package/dist/web/workspaces.js +527 -64
  253. package/home-env.mjs +28 -0
  254. package/install-path.mjs +59 -3
  255. package/launch-starting-page.mjs +35 -15
  256. package/launch.mjs +358 -51
  257. package/package.json +2 -1
  258. package/pin-home.mjs +6 -0
  259. package/post-update-marker.mjs +14 -0
  260. package/preferences-file.mjs +289 -0
  261. package/supervisor-lock.mjs +195 -0
package/dist/web/guide.js CHANGED
@@ -19,6 +19,12 @@
19
19
  apps: 'Installed programs', running: 'Open now', recentFiles: 'Recent files', accounts: 'Connected accounts',
20
20
  };
21
21
  const FLOLESS_LABEL = { projects: 'Projects', workflows: 'Workflows', agents: 'Agents', routines: 'Routines', tools: 'Tools' };
22
+ /** #3082: a project in the look carries its id for the AI ({ id, name }); the preview shows its name. */
23
+ const lookItemName = (item) => (typeof item === 'string' ? item : (item && typeof item.name === 'string' ? item.name : ''));
24
+ // #3082: where a person chooses again when the project or workflow an Open card named is gone.
25
+ const RECOVER_LABEL = { workspaces: 'Open Workspaces', archived: 'Show archived projects', workflows: 'Open Workflows' };
26
+ // Instructor's {instance}: where the button goes.
27
+ const RECOVER_PLACE = { workspaces: 'Workspaces', archived: 'the archived projects on Workspaces', workflows: 'Workflows' };
22
28
 
23
29
  // A click or key press this recently means the person is mid-action: the launch question waits.
24
30
  const QUIET_AFTER_INTERACTION_MS = 4000;
@@ -280,7 +286,7 @@
280
286
  const line = el('p', 'guide-preview-empty');
281
287
  line.textContent = section?.problem
282
288
  ? `${FLOLESS_LABEL[key]}: couldn’t read`
283
- : `${FLOLESS_LABEL[key]}: ${(section?.items || []).length ? section.items.join(', ') : 'none'}`;
289
+ : `${FLOLESS_LABEL[key]}: ${(section?.items || []).length ? section.items.map(lookItemName).filter(Boolean).join(', ') : 'none'}`;
284
290
  floBlock.append(line);
285
291
  }
286
292
  const summary = el('p', 'guide-preview-summary');
@@ -673,13 +679,23 @@
673
679
  case 'create-workflow': return { title: `Build a workflow: ${move.name}`, action: 'Build it', detail: move.purpose };
674
680
  case 'create-agent': return { title: `Set up an agent: ${move.name}`, action: 'Review this agent…' };
675
681
  case 'create-routine': return { title: `Run ${move.target?.name || 'it'} on a schedule`, action: 'Set up the schedule…' };
676
- case 'open': return { title: `Open ${PAGE_LABEL[move.page] || 'this page'}`, action: `Open ${PAGE_LABEL[move.page] || 'it'}` };
682
+ case 'open':
683
+ // #3082: one project (at the step the suggestion is about) or one workflow, named on the card.
684
+ if (move.project?.name) {
685
+ const action = move.project.step === 'history' ? 'Open History' : move.project.step === 'model' ? 'View model' : 'Open project';
686
+ return { title: `Open ${move.project.name}`, action };
687
+ }
688
+ if (move.workflow?.name) return { title: `Open ${move.workflow.name}`, action: 'Open workflow' };
689
+ return { title: `Open ${PAGE_LABEL[move.page] || 'this page'}`, action: `Open ${PAGE_LABEL[move.page] || 'it'}` };
677
690
  default: return null;
678
691
  }
679
692
  }
680
693
 
681
- /** Opens the existing flow for a move; true when it opened. Nothing is done from here. */
682
- async function openFlow(move) {
694
+ /**
695
+ * Opens the existing flow for a move; true (or `{ said }`, a note on where it landed) when it opened. Nothing is done
696
+ * from here. An Open card for one project or workflow only shows it: nothing is approved, compiled, run or exported.
697
+ */
698
+ async function openFlow(move, opts = {}) {
683
699
  const bridge = window.flolessBridge;
684
700
  switch (move.kind) {
685
701
  case 'install-tool':
@@ -691,6 +707,17 @@
691
707
  if (move.target?.kind === 'agent') { await window.flolessRoutines?.editForAgent?.(move.target.id); return Boolean(window.flolessRoutines); }
692
708
  await window.flolessRoutines?.editForWorkflow?.(move.target?.id); return Boolean(window.flolessRoutines?.editForWorkflow);
693
709
  case 'open':
710
+ if (move.project) {
711
+ if (typeof window.flolessWorkspaces?.openSuggestedProject !== 'function') return false;
712
+ const outcome = await window.flolessWorkspaces.openSuggestedProject(move.project, opts.ticket);
713
+ // A later press or open took over while this one was checking: that one speaks for itself.
714
+ if (outcome?.superseded) return true;
715
+ return outcome?.said ? { said: outcome.said } : Boolean(outcome?.ok);
716
+ }
717
+ if (move.workflow) {
718
+ if (typeof bridge?.openApp !== 'function') return false;
719
+ return Boolean(await bridge.openApp(move.workflow.id));
720
+ }
694
721
  if (['workspaces', 'workflows', 'agents'].includes(move.page)) { await window.flolessWorkspaces?.setMode?.(move.page); return Boolean(window.flolessWorkspaces); }
695
722
  if (move.page === 'routines' && typeof openRoutines === 'function') { openRoutines(); return true; }
696
723
  if (move.page === 'tools' && typeof openLibrary === 'function') { openLibrary(); return true; }
@@ -848,6 +875,35 @@
848
875
  card.setAttribute('aria-label', `Suggestion: ${text.title}`);
849
876
  const status = el('p', 'ai-chat-filter-note guide-move-status');
850
877
  status.setAttribute('role', 'status');
878
+ // #3082: when the project or workflow the card named is gone, where to choose again. Kept across repaints, like status.
879
+ const recoverRow = el('div', 'ai-chat-filter-actions guide-move-recover');
880
+ recoverRow.hidden = true;
881
+ const clearRecover = () => { recoverRow.replaceChildren(); recoverRow.hidden = true; };
882
+ const offerRecover = (where) => {
883
+ clearRecover();
884
+ const label = RECOVER_LABEL[where];
885
+ if (!label) return;
886
+ const button = el('button', '', label);
887
+ button.type = 'button';
888
+ button.dataset.commandId = `shell.guide-move-recover#${where}`;
889
+ button.dataset.commandInstanceLabel = RECOVER_PLACE[where];
890
+ button.dataset.tip = `${label}. Nothing changes.`;
891
+ button.addEventListener('click', async () => {
892
+ button.disabled = true;
893
+ try {
894
+ const ws = window.flolessWorkspaces;
895
+ let shown = true;
896
+ if (where === 'archived') shown = await ws?.showArchivedProjects?.(button) !== false;
897
+ else if (where === 'workspaces') shown = await ws?.showProjectList?.(button) !== false;
898
+ else await ws?.setMode?.('workflows');
899
+ // Leaving a project can be declined (unsaved work): say so instead of seeming to do nothing.
900
+ if (!shown) status.textContent = 'You stayed in the project you have open, so the list was not shown.';
901
+ } catch (error) { status.textContent = error.message; }
902
+ finally { button.disabled = false; }
903
+ });
904
+ recoverRow.append(button);
905
+ recoverRow.hidden = false;
906
+ };
851
907
  // A button press in progress — { commandId, label } — on this card: every drawing keeps every button waiting for it.
852
908
  let pending = null;
853
909
  // #2185: an install card's last painted answer (installed or not), so only a real change repaints it.
@@ -877,7 +933,8 @@
877
933
  finally { pending = null; paintCard(); }
878
934
  });
879
935
  line.append(el('span', '', `Not now: ${text.title}`), undo);
880
- card.append(line, status);
936
+ clearRecover(); // set aside: no way to choose again is offered for it
937
+ card.append(line, status, recoverRow);
881
938
  if (focusBack) undo.focus();
882
939
  return;
883
940
  }
@@ -917,16 +974,23 @@
917
974
  go.dataset.tip = opensOnly ? `${text.action}. Nothing changes.` : 'Opens the place to do this. Nothing happens until you confirm there.';
918
975
  go.addEventListener('click', async () => {
919
976
  go.disabled = true; go.setAttribute('aria-busy', 'true'); go.textContent = 'Checking…';
920
- status.textContent = '';
977
+ status.textContent = ''; clearRecover();
978
+ let opened = false;
979
+ // #3082: a project card claims its turn at the press, so a later press wins even while this one is being checked.
980
+ const ticket = move.kind === 'open' && move.project ? window.flolessWorkspaces?.claimSuggestedOpen?.() : undefined;
921
981
  try {
922
982
  const { check } = await api('/api/chat/guide/next-moves/recheck', { move });
923
- if (!check.ok) { status.textContent = check.message; return; }
924
- const opened = await openFlow(move);
983
+ if (!check.ok) { status.textContent = check.message; if (check.recover) offerRecover(check.recover); return; }
984
+ opened = await openFlow(move, { ticket });
925
985
  if (!opened) status.textContent = 'FloLess couldn’t open that from here. Open it from the ≡ menu instead.';
986
+ else if (opened.said) status.textContent = opened.said;
926
987
  } catch (error) {
927
988
  status.textContent = error.message;
928
989
  } finally {
929
990
  go.disabled = false; go.removeAttribute('aria-busy'); go.textContent = text.action;
991
+ // Disabled while checking, the button dropped focus to the page; when nothing opened and the card is still shown,
992
+ // put it back (after an open, focus belongs to what opened).
993
+ if (!opened && go.isConnected && (!document.activeElement || document.activeElement === document.body)) go.focus();
930
994
  }
931
995
  });
932
996
  const later = el('button', '', 'Not now');
@@ -945,7 +1009,9 @@
945
1009
  }
946
1010
  });
947
1011
  actions.append(go, later);
948
- card.append(actions, el('p', 'ai-chat-filter-note', opensOnly ? 'This only opens the page. Nothing changes.' : 'Nothing happens until you confirm in the next step.'), status);
1012
+ // #3082: an Open card for one project or workflow opens that, not a page.
1013
+ const opensWhat = move.kind === 'open' && (move.project || move.workflow) ? `This only opens ${move.project ? 'the project' : 'the workflow'}. Nothing changes.` : 'This only opens the page. Nothing changes.';
1014
+ card.append(actions, el('p', 'ai-chat-filter-note', opensOnly ? opensWhat : 'Nothing happens until you confirm in the next step.'), status, recoverRow);
949
1015
  if (focusBack) go.focus();
950
1016
  };
951
1017
  /**
@@ -22,6 +22,8 @@
22
22
  </script>
23
23
  <link rel="stylesheet" href="app.css">
24
24
  <link rel="stylesheet" href="chat.css">
25
+ <!-- The FloLess window (Electron shell): puts `desktop` on <html> before first paint when the shell's bridge is present. -->
26
+ <script src="desktop-window.js"></script>
25
27
  </head>
26
28
  <body>
27
29
  <div class="app" id="app">
@@ -145,7 +147,7 @@
145
147
  appears only when its logic drifted (re-installs the official version); Customize (fork) is
146
148
  always available for a maintained app. When shown on drift they replace Compile, so a
147
149
  shipped app's logic edit can't be silently approved (form-only). -->
148
- <button data-command-id="shell.restore-workflow" id="restore-btn" type="button" hidden data-tip="Restore the official workflow — undoes any out-of-band edits and re-arms Run">↺ Restore</button>
150
+ <button data-command-id="shell.restore-workflow#the open workflow" data-command-instance-label="the open workflow" id="restore-btn" type="button" hidden data-tip="Put FloLess’s version of this workflow back and make it ready to run. Your changes are kept in a backup, and Undo puts them back.">↺ Restore</button>
149
151
  <button data-command-id="shell.customize-workflow" id="customize-btn" type="button" hidden data-tip="Fork this workflow to edit it yourself — takes it off the FloLess update channel">Customize…</button>
150
152
  <button id="compile-btn" data-command-id="workflow.compile" data-acts="Acts on the whole workflow" data-tip="Compile + approve → freeze the .lock">⎙ Compile</button>
151
153
  <button id="sim-btn" data-command-id="workflow.simulate" data-acts="Acts on the workflow only — never the live host" data-tip="Simulate: stub every node from its output schema — no live host is contacted. Validates the workflow's composition end-to-end, even when the real tools aren't connected yet.">Simulate</button>
@@ -663,10 +665,11 @@
663
665
  <span class="stat stat-requests" id="req-stat" role="button" tabindex="0" data-command-id="shell.requests-open" aria-label="Open Requests" aria-haspopup="dialog" aria-controls="requests-modal" data-tip="Changes queued for your terminal AI — click to view & manage"><span class="stat-key">requests</span><span class="stat-val" id="req-count">0</span></span>
664
666
  </div>
665
667
  <span class="version-info">
666
- <span class="aware-version" id="aware-version" data-tip="AWARE runtime version — the aware CLI/npm package this app drives"></span>
667
- <button data-command-id="shell.aware-update" id="aware-update" class="app-update" hidden data-tip="An AWARE runtime upgrade is available — reinstalls in place, no relaunch"></button>
668
+ <!-- #3081: workflow updates first, so the AWARE and FloLess versions stay side by side. -->
668
669
  <button data-command-id="shell.tool-updates" id="tool-updates" type="button" class="app-update tool-updates-pill" hidden
669
670
  aria-haspopup="dialog" aria-controls="tool-updates-modal" data-tip="Review workflows whose tools have new versions"></button>
671
+ <span class="aware-version" id="aware-version" data-tip="AWARE runtime version — the aware CLI/npm package this app drives"></span>
672
+ <button data-command-id="shell.aware-update" id="aware-update" class="app-update" hidden data-tip="An AWARE runtime upgrade is available — reinstalls in place, no relaunch"></button>
670
673
  <span class="sep ver-sep" id="ver-sep" hidden>·</span>
671
674
  <span class="app-version" id="app-version" data-tip="floless.app build serving this window (installed build, or the dev build when run from source)"></span>
672
675
  <button data-command-id="shell.app-update" id="app-update" class="app-update" hidden></button>
@@ -726,18 +729,20 @@
726
729
  </div>
727
730
  </div>
728
731
 
729
- <!-- Workflow update: a FloLess-published workflow has a newer version. The changelog (entries
730
- newer than installed) renders into #wf-update-changelog; "Back up & update" swaps the
731
- structure but keeps the user's data (re-baked from the contract store). -->
732
+ <!-- Workflow update (one click, owner ruling 2026-11-02): what is new in the open workflow (#wf-update-changelog),
733
+ the same row the status-bar dialog shows (#wf-update-row: where it stands, the warning when the person changed
734
+ it), and one button that does the next thing: Update, then Undo (or Approve model for a Steel Model). -->
732
735
  <div class="modal-backdrop" id="wf-update-modal">
733
736
  <div class="modal">
734
737
  <div class="modal-title" id="wf-update-title">Workflow update</div>
735
738
  <div class="modal-sub" id="wf-update-sub"></div>
736
739
  <div class="wf-update-changelog" id="wf-update-changelog"></div>
737
- <div class="wf-update-note">Your work is safe — this updates the workflow's steps and keeps your data. A backup of the current version is saved first.</div>
740
+ <div id="wf-update-row" class="wf-update-row"></div>
741
+ <div id="wf-update-announce" class="sr-only" role="status" aria-live="polite"></div>
738
742
  <div class="modal-actions">
739
743
  <button data-command-id="shell.dialog-cancel#the workflow update" id="wf-update-cancel">Not now</button>
740
- <button data-command-id="shell.workflow-update-apply" id="wf-update-ok" class="primary">↑ Back up &amp; update</button>
744
+ <button data-command-id="shell.workflow-update-keep-mine#the open workflow" id="wf-update-ai" type="button" hidden data-tip="Asks the AI chat to bring your changes into the new version. Nothing changes until you send it.">Keep my changes (AI)</button>
745
+ <button data-command-id="shell.workflow-update-apply#the open workflow" data-command-instance-label="the open workflow" id="wf-update-ok" class="primary">Update</button>
741
746
  </div>
742
747
  </div>
743
748
  </div>
@@ -1032,6 +1037,16 @@
1032
1037
  <span class="menu-icon" aria-hidden="true" id="menu-fullscreen-icon"><svg viewBox="0 0 24 24"><path d="M8 3H5a2 2 0 0 0-2 2v3"/><path d="M21 8V5a2 2 0 0 0-2-2h-3"/><path d="M3 16v3a2 2 0 0 0 2 2h3"/><path d="M16 21h3a2 2 0 0 0 2-2v-3"/></svg></span>
1033
1038
  <span class="menu-label" id="menu-fullscreen-label">Enter full screen</span>
1034
1039
  </button>
1040
+ <!-- The FloLess window (web/desktop-window.js). Open in browser shows only inside the window; Open in app shows only in a
1041
+ browser tab, and only once the server reports the window installed. Hidden otherwise: hide, never show a dead control. -->
1042
+ <button class="menu-item" data-action="open-in-browser" data-command-id="menu.open-in-browser" id="menu-open-in-browser" role="menuitem" hidden data-tip="Open this same FloLess in your web browser. Anything running keeps running.">
1043
+ <span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/></svg></span>
1044
+ <span class="menu-label">Open in browser</span>
1045
+ </button>
1046
+ <button class="menu-item" data-action="open-in-app" data-command-id="menu.open-in-app" id="menu-open-in-app" role="menuitem" hidden data-tip="Open FloLess in its own window.">
1047
+ <span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M10 4v4"/><path d="M2 8h20"/><path d="M6 4v4"/></svg></span>
1048
+ <span class="menu-label">Open in app</span>
1049
+ </button>
1035
1050
  <!-- Instructor and Start-on-startup are adjacent binary preferences and deliberately use the
1036
1051
  same switch treatment. OFF removes .has-instructor from `.app` outright (the grid row
1037
1052
  disappears, no space reserved); ON restores it without a reload. -->
@@ -1064,7 +1079,7 @@
1064
1079
  Scheduled Task that keeps the local server alive across logins; hidden unless
1065
1080
  supported (Windows packaged build), JS unhides it from GET /api/autostart. -->
1066
1081
  <div class="menu-theme menu-startup" id="menu-startup" hidden>
1067
- <label class="menu-label" for="startup-toggle" data-tip="Starts the FloLess server automatically when you sign in, so your browser reconnects on its own">Start on startup</label>
1082
+ <label class="menu-label" for="startup-toggle" data-tip="Starts the FloLess server automatically when you sign in, so your browser reconnects on its own">Start with Windows</label>
1068
1083
  <!-- The id sits on the label, not the checkbox it wraps: accessibleNameOf() reads the element
1069
1084
  the id is on, and the label is what carries the name here. Same shape as the 3D view
1070
1085
  toggles in the steel editor (#779).
@@ -1073,11 +1088,32 @@
1073
1088
  only hands focus on to it. This one is
1074
1089
  unchanged only because that slice had no business editing this surface; the same move is
1075
1090
  available here whenever someone owns it. -->
1076
- <label class="rtn-toggle" data-command-id="shell.open-at-startup" aria-label="Start FloLess on startup">
1091
+ <label class="rtn-toggle" data-command-id="shell.open-at-startup" aria-label="Start FloLess with Windows">
1077
1092
  <input type="checkbox" id="startup-toggle" role="switch">
1078
1093
  <span class="rtn-toggle-track"></span>
1079
1094
  </label>
1080
1095
  </div>
1096
+ <!-- The FloLess window (web/desktop-window.js): where FloLess opens next time, and whether it stays in the tray. Both are shared
1097
+ preferences (web/shared-prefs.js). "Open FloLess in" shows once the window is installed (always inside it); the tray switch
1098
+ shows inside the window only. Hidden otherwise: hide, never show a dead control. -->
1099
+ <div class="menu-theme menu-client" id="menu-client" hidden>
1100
+ <span class="menu-label" id="menu-client-label">Open FloLess in</span>
1101
+ <div class="theme-toggle" role="radiogroup" aria-labelledby="menu-client-label">
1102
+ <button data-command-id="shell.open-client#the FloLess window" type="button" class="client-btn" data-client="window" role="radio" aria-checked="false" data-tip="Next time, FloLess opens in its own window">Window</button>
1103
+ <button data-command-id="shell.open-client#your web browser" type="button" class="client-btn" data-client="browser" role="radio" aria-checked="false" data-tip="Next time, FloLess opens in a tab of your web browser">Browser</button>
1104
+ </div>
1105
+ </div>
1106
+ <p class="menu-ai-note-hint" id="menu-client-hint" role="status" hidden></p>
1107
+ <div class="menu-tray" id="menu-tray" hidden>
1108
+ <div class="menu-theme">
1109
+ <label class="menu-label" for="menu-tray-toggle" data-tip="Keeps a FloLess icon near the clock, so closing the window does not stop your routines and watchers">Keep FloLess in the tray</label>
1110
+ <label class="rtn-toggle">
1111
+ <input type="checkbox" id="menu-tray-toggle" role="switch" aria-label="Keep FloLess in the tray" aria-describedby="menu-tray-hint" data-command-id="shell.tray-keep">
1112
+ <span class="rtn-toggle-track"></span>
1113
+ </label>
1114
+ </div>
1115
+ <p class="menu-ai-note-hint" id="menu-tray-hint">Closing this window leaves FloLess running, with its icon near the clock.</p>
1116
+ </div>
1081
1117
  <!-- #2448: the AI note FloLess adds to reports of workflows with an AI Agent step, for every workflow (each workflow also has its
1082
1118
  own switch in its Agent step's Inspect panel). Hidden while Agent steps are off; web/agent-steps.js shows and drives it. -->
1083
1119
  <div class="menu-ai-note" id="menu-ai-note" hidden>
@@ -1672,20 +1708,42 @@
1672
1708
  <div class="modal leave-guard">
1673
1709
  <div class="modal-title" id="leave-guard-title">Stop FloLess?</div>
1674
1710
  <div class="modal-sub" id="leave-guard-sub"></div>
1711
+ <!-- Stop FloLess only: what stopping means right now (fed by GET /api/desktop/tray-status), and the wait for a run. -->
1712
+ <ul class="leave-guard-effects" id="leave-guard-effects" aria-label="What happens when FloLess stops" hidden></ul>
1713
+ <!-- Stop FloLess only, and only where Start with Windows exists: a way to the setting, not a third answer. Hidden until the status says so. -->
1714
+ <p class="leave-guard-aside" id="leave-guard-autostart-row" hidden><button type="button" class="lg-link" id="leave-guard-autostart" data-command-id="leave.change-start-with-windows">Change Start with Windows</button></p>
1675
1715
  <div class="leave-guard-unsaved" id="leave-guard-unsaved" hidden>
1676
1716
  <ul class="leave-guard-list" id="leave-guard-list" aria-label="Unsaved work"></ul>
1677
1717
  </div>
1678
1718
  <p class="leave-guard-note" id="leave-guard-note" role="alert" hidden></p>
1679
1719
  <p class="leave-guard-running" id="leave-guard-running" hidden></p>
1720
+ <p class="leave-guard-waiting" id="leave-guard-waiting" role="status" aria-live="polite"></p>
1721
+ <div class="leave-guard-hint" id="leave-guard-hint" hidden></div>
1680
1722
  <div class="modal-actions">
1681
1723
  <button data-command-id="leave.discard" id="leave-guard-discard" class="danger" hidden>Stop without saving</button>
1682
1724
  <button data-command-id="shell.dialog-cancel#the stop or sign-out prompt" id="leave-guard-cancel">Cancel</button>
1725
+ <button data-command-id="leave.wait-for-runs" id="leave-guard-wait" hidden data-tip="FloLess waits for the workflow runs to end, starts no new ones, then stops by itself. Keep running cancels it.">Finish runs, then stop</button>
1683
1726
  <button data-command-id="leave.save" id="leave-guard-save" class="primary" hidden>Save and stop</button>
1684
1727
  <button data-command-id="leave.confirm" id="leave-guard-confirm" class="primary">Stop FloLess</button>
1685
1728
  </div>
1686
1729
  </div>
1687
1730
  </div>
1688
1731
 
1732
+ <!-- Close to the tray (web/desktop-window.js): shown inside the FloLess window only, when the person presses X while the tray is on
1733
+ and has not ticked "Don't show this again". Escape or a click outside keeps the window open. -->
1734
+ <div class="modal-backdrop" id="close-tray-modal" role="dialog" aria-modal="true"
1735
+ aria-labelledby="close-tray-title" aria-describedby="close-tray-body">
1736
+ <div class="modal close-tray">
1737
+ <div class="modal-title" id="close-tray-title">FloLess keeps running</div>
1738
+ <div class="modal-sub" id="close-tray-body">Closing this window does not stop FloLess. It keeps running in the background, so your routines and watchers still run. You can open it again from the FloLess icon near the clock.</div>
1739
+ <label class="modal-check"><input type="checkbox" id="close-tray-dont" data-command-id="shell.close-tray-dont-show" aria-label="Don’t show this again"><span>Don’t show this again</span></label>
1740
+ <div class="modal-actions">
1741
+ <button data-command-id="shell.close-tray-stop" id="close-tray-stop">Stop FloLess…</button>
1742
+ <button data-command-id="shell.close-tray-got-it" id="close-tray-ok" class="primary">Got it</button>
1743
+ </div>
1744
+ </div>
1745
+ </div>
1746
+
1689
1747
  <div class="modal-backdrop" id="add-fav-modal">
1690
1748
  <div class="modal">
1691
1749
  <div class="modal-title" id="add-fav-title">Save as Template</div>
@@ -1873,7 +1931,7 @@
1873
1931
  <div class="modal-title">Routines</div>
1874
1932
  <div class="modal-sub">Run a workflow automatically — on a schedule, or on a live trigger (e.g. whenever your model changes) — exactly like clicking ▶ Run workflow. Or start an agent on a schedule: nobody watches that run, so anything that would ask you is declined and listed for you on the Agents page.</div>
1875
1933
  <!-- #2062: never read as always-on. The link shows only where the start-on-login setting exists (app.js). -->
1876
- <p class="rtn-local-note" id="rtn-local-note">Routines run only while FloLess is running on this computer. A run that falls while it is closed is noted as missed, and isn’t made up later. <button type="button" class="rtn-link" id="rtn-startup-link" data-start-on-login-link data-command-id="shell.routines-start-on-login" data-tip="Closes Routines and shows the Start on startup switch in the menu" hidden>Start FloLess when you sign in…</button></p>
1934
+ <p class="rtn-local-note" id="rtn-local-note">Routines run only while FloLess is running on this computer. A run that falls while it is closed is noted as missed, and isn’t made up later. <button type="button" class="rtn-link" id="rtn-startup-link" data-start-on-login-link data-command-id="shell.routines-start-on-login" data-tip="Closes Routines and shows the Start with Windows switch in the menu" hidden>Start FloLess when you sign in…</button></p>
1877
1935
  <div class="rtn-quota" id="rtn-quota"></div>
1878
1936
  <div class="routines-list" id="routines-list"></div>
1879
1937
  <div class="modal-actions">
@@ -1992,7 +2050,7 @@
1992
2050
  </div>
1993
2051
  <!-- #2062: the editor says it too (it opens straight from an agent's Schedule…); no link here, because leaving
1994
2052
  would drop the routine being written — the Routines list carries the link. -->
1995
- <div class="rtn-cron-hint rtn-local-hint" id="rtn-local-hint">Runs only while FloLess is running on this computer.<span data-start-on-login-hint hidden> To have FloLess start when you sign in, turn on Start on startup in the ≡ menu.</span></div>
2053
+ <div class="rtn-cron-hint rtn-local-hint" id="rtn-local-hint">Runs only while FloLess is running on this computer.<span data-start-on-login-hint hidden> To have FloLess start when you sign in, turn on Start with Windows in the ≡ menu.</span></div>
1996
2054
  <div class="modal-field rtn-enabled-field">
1997
2055
  <label class="rtn-toggle" data-command-id="shell.routine-enabled">
1998
2056
  <input type="checkbox" id="rtn-enabled" checked>
@@ -2158,6 +2216,7 @@
2158
2216
  <div class="menu ws-proj-menu" id="ws-proj-menu" role="menu" hidden></div>
2159
2217
 
2160
2218
  <script src="startup-admission.js"></script>
2219
+ <script src="shared-prefs.js"></script>
2161
2220
  <script src="analytics.js"></script>
2162
2221
  <script src="commands.js"></script>
2163
2222
  <script src="failure-copy.js"></script>
@@ -2185,6 +2244,7 @@
2185
2244
  <script src="panels.js"></script>
2186
2245
  <script src="filter-guidance.js"></script>
2187
2246
  <script src="kb-categories.js"></script>
2247
+ <script src="pdf-view.js"></script>
2188
2248
  <script src="workspaces.js"></script>
2189
2249
  <script src="left-pane.js"></script>
2190
2250
  <script src="chat-question-card.js"></script>
@@ -876,7 +876,7 @@
876
876
  'At the left edge of the workspace', 'At the edge of the left or Inspect panel', 'In the left panel', 'Between AI Chat and Model', 'In the Model section of the left panel', 'In the Grid object in the Model section',
877
877
  'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
878
878
  'In the ≡ menu', 'In the account menu', 'In the footer',
879
- 'In the contract editor', 'In the report viewer', 'In the Page viewer', 'In My shared links', 'In the video player', 'In the Knowledge Base viewer',
879
+ 'In the contract editor', 'In the report viewer', 'In the Page viewer', 'In My shared links', 'In the video player', 'In the Knowledge Base viewer', 'In a PDF FloLess shows',
880
880
  'In the Tools library', 'In Discover local tools', 'In the requests list', 'In the revision review', 'In the run request dialog', 'In the Integrations dialog', 'In the Routines dialog', 'In the Automatic tool updates dialog', 'In the terminal requests dialog',
881
881
  'In the Report an issue dialog', 'In the Build a tool dialog', 'In the Bake dialog', 'In the CAD send review',
882
882
  'While reconnecting to FloLess', 'In the FloLess dialogs', 'On the FloLess has stopped screen',