@floless/app 0.174.1 → 0.175.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 (85) hide show
  1. package/autostart.mjs +117 -10
  2. package/dist/floless-server.cjs +2 -2
  3. package/dist/pdf-engine/floless_pdf/__init__.py +7 -3
  4. package/dist/pdf-engine/floless_pdf/backend_pdfium.py +292 -13
  5. package/dist/pdf-engine/floless_pdf/backend_pymupdf.py +25 -3
  6. package/dist/pdf-engine/floless_pdf/images.py +4 -3
  7. package/dist/pdf-engine/floless_pdf/pages.py +136 -0
  8. package/dist/schemas/steel.model.v2.schema.json +44 -1
  9. package/dist/skills/floless-app-approval/SKILL.md +28 -3
  10. package/dist/skills/floless-app-knowledge/SKILL.md +3 -2
  11. package/dist/skills/floless-app-sketches/SKILL.md +71 -0
  12. package/dist/skills/floless-app-sketches/references/steel-plate.md +15 -0
  13. package/dist/skills/floless-app-steel-model/SKILL.md +11 -1
  14. package/dist/skills/floless-app-steel-model/references/elements.md +90 -23
  15. package/dist/skills/floless-app-steel-takeoff/SKILL.md +11 -6
  16. package/dist/web/agents.js +1 -1
  17. package/dist/web/app.css +120 -15
  18. package/dist/web/app.js +89 -38
  19. package/dist/web/aware-hold.js +10 -0
  20. package/dist/web/aware.js +405 -51
  21. package/dist/web/boot-watchdog.js +249 -0
  22. package/dist/web/card-details.js +88 -0
  23. package/dist/web/chat.css +29 -0
  24. package/dist/web/chat.js +430 -128
  25. package/dist/web/commands-connection-design.js +23 -0
  26. package/dist/web/commands-revit.js +3 -0
  27. package/dist/web/commands-shell.js +226 -10
  28. package/dist/web/commands-steel.js +93 -4
  29. package/dist/web/commands-tekla-parser.js +21 -1
  30. package/dist/web/connection-design-editor.html +71 -0
  31. package/dist/web/connection-design-editor.js +794 -61
  32. package/dist/web/connection-design-handles.js +9 -3
  33. package/dist/web/element-approval.js +74 -0
  34. package/dist/web/element-context.js +76 -6
  35. package/dist/web/element-geometry.js +8 -2
  36. package/dist/web/element-holds.js +68 -5
  37. package/dist/web/element-type-actions.js +22 -3
  38. package/dist/web/element-types.js +12 -5
  39. package/dist/web/element-words.js +15 -11
  40. package/dist/web/grid-place.js +51 -0
  41. package/dist/web/guide.js +2 -0
  42. package/dist/web/index.html +13 -16
  43. package/dist/web/instructor.js +5 -2
  44. package/dist/web/missed-routines.js +6 -1
  45. package/dist/web/model-change-findings.js +100 -30
  46. package/dist/web/model-change-review.js +411 -27
  47. package/dist/web/model-clash-check.css +100 -0
  48. package/dist/web/model-clash-check.js +681 -0
  49. package/dist/web/model-clip-box.js +204 -0
  50. package/dist/web/model-clip-list.js +153 -3
  51. package/dist/web/model-clip-session.js +3 -3
  52. package/dist/web/model-clip-three-overlay.js +135 -25
  53. package/dist/web/model-editor.css +2 -0
  54. package/dist/web/model-elements.js +273 -18
  55. package/dist/web/model-fit-checks.js +354 -0
  56. package/dist/web/model-spatial-panel.js +9 -3
  57. package/dist/web/model-spatial-tools.js +12 -3
  58. package/dist/web/model-tekla-selection.js +74 -0
  59. package/dist/web/model-view-query.js +70 -14
  60. package/dist/web/model-viewport-revit-adapter.js +8 -7
  61. package/dist/web/model-viewport-toolbar.js +8 -4
  62. package/dist/web/pages.js +78 -1
  63. package/dist/web/project-history.js +31 -1
  64. package/dist/web/revit-editor.css +34 -1
  65. package/dist/web/revit-editor.js +174 -55
  66. package/dist/web/run-history.js +8 -0
  67. package/dist/web/sketch-editor.js +141 -2
  68. package/dist/web/sketches.js +192 -6
  69. package/dist/web/start-place.js +46 -0
  70. package/dist/web/steel-3d-core.js +70 -0
  71. package/dist/web/steel-3d-view.js +288 -47
  72. package/dist/web/steel-change-review.css +28 -0
  73. package/dist/web/steel-custom-connection.js +6 -0
  74. package/dist/web/steel-editor.html +532 -33
  75. package/dist/web/steel-filter.html +8 -3
  76. package/dist/web/steel-model-checks.css +76 -0
  77. package/dist/web/steel-model-v2-commands.js +17 -0
  78. package/dist/web/steel-view-generation.js +6 -2
  79. package/dist/web/teams.js +259 -19
  80. package/dist/web/tekla-editor.html +1 -0
  81. package/dist/web/terminal-requests.js +6 -0
  82. package/dist/web/vendor/connection-engine.js +886 -91
  83. package/dist/web/workspaces.js +630 -48
  84. package/package.json +2 -1
  85. package/preferences-file.mjs +27 -0
@@ -0,0 +1,100 @@
1
+ /* #4029: the clash check of the current steel model: its settings dialog and its results in the Review changes drawer.
2
+ Only this page's own tokens (both themes follow them), the editor's dialog shell (.mpanel/.mhead), its segmented
3
+ .grp, its slider switch, its themed checkboxes and the drawer's shared panel rules. No colour, font or animation of its
4
+ own: the running state is a still track plus the editor's one spinner (ci-spin), as the baseline does elsewhere. */
5
+ /* A stylesheet themes its own scrollbars (verify-scrollbars reads each sheet alone): the steel editor's rule, as it is. */
6
+ *{scrollbar-width:thin;scrollbar-color:var(--scroll) transparent}
7
+ *::-webkit-scrollbar{width:10px;height:10px}
8
+ *::-webkit-scrollbar-track{background:transparent}
9
+ *::-webkit-scrollbar-thumb{background:var(--scroll);border-radius:6px;border:2px solid transparent;background-clip:content-box}
10
+ *::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover);background-clip:content-box}
11
+ *::-webkit-scrollbar-corner{background:transparent}
12
+
13
+ /* ── the settings dialog ── */
14
+ #clashCheckModal{position:fixed;inset:0;z-index:60;display:none;align-items:center;justify-content:center} /* above the 3D toolbar (z:59), like #viewGenModal */
15
+ #clashCheckModal .mpanel{width:min(560px,92vw)}
16
+ #clashCheckBody{display:flex;flex-direction:column;gap:12px;padding:12px 14px;overflow:auto;min-height:0;overscroll-behavior:contain}
17
+ #clashCheckFoot{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--line)}
18
+ #clashCheckFoot button{margin:0}
19
+ #clashCheckFoot button.primary,#clashCheckBody .ccd-ask button.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600}
20
+ #clashCheckFoot button.ghost,#clashCheckBody .ccd-ask button.ghost{background:transparent}
21
+ .ccd-sub{margin:0;color:var(--mut);font-size:12px;line-height:1.45}
22
+ .ccd-section{display:flex;flex-direction:column;gap:5px}
23
+ .ccd-label{color:var(--mut);font-size:10px;text-transform:uppercase;letter-spacing:.06em}
24
+ .ccd-help{margin:0;color:var(--mut);font-size:11px;line-height:1.4}
25
+ .ccd-static{padding-top:2px}
26
+ .ccd-note{margin:0;padding:7px 9px;border:1px solid var(--line);border-left:3px solid var(--line);border-radius:6px;background:var(--sunken);color:var(--text);font-size:11.5px;line-height:1.45}
27
+ .ccd-note.ccd-warn{border-color:var(--warn-edge);border-left-color:var(--warn);background:var(--warn-bg)}
28
+ .ccd-ask{display:flex;flex-direction:column;gap:7px}
29
+ .ccd-ask-actions{display:flex;flex-wrap:wrap;gap:6px}
30
+ .ccd-ask-actions button{margin:0;min-height:28px;padding:4px 10px;font-size:11.5px}
31
+ .ccd-scope{display:inline-flex;align-self:flex-start;border:1px solid var(--line);border-radius:6px;overflow:hidden}
32
+ .ccd-scope button{margin:0;border:0;border-radius:0;background:transparent;color:var(--mut);padding:5px 11px;box-shadow:none;font-size:12px}
33
+ .ccd-scope button.on{background:var(--brand);color:var(--brand-ink)}
34
+ .ccd-scope button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
35
+ .ccd-lengths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
36
+ .ccd-field{display:flex;flex-direction:column;gap:4px;min-width:0}
37
+ .ccd-length{display:flex;align-items:center;gap:6px}
38
+ #clashCheckBody .ccd-input{width:100%;min-width:0;box-sizing:border-box;background:var(--field);border:1px solid var(--ctrl-border);border-radius:6px;padding:5px 8px;color:var(--text);font:12px var(--ui);font-variant-numeric:tabular-nums}
39
+ #clashCheckBody .ccd-input:focus{outline:none;border-color:var(--brand)}
40
+ .ccd-unit{color:var(--mut);font-size:12px;flex:none}
41
+ .ccd-note-slot:empty{display:none}
42
+ .ccd-switches{gap:9px}
43
+ .ccd-switch-row{display:flex;align-items:flex-start;gap:10px}
44
+ .ccd-switch-text{display:flex;flex-direction:column;gap:2px;min-width:0}
45
+ .ccd-switch-label{color:var(--text);font-size:12px;cursor:pointer}
46
+ /* The editor's slider switch (#moreMenu .mck), as a button of its own. */
47
+ #clashCheckBody button.ccd-switch{position:relative;flex:none;width:26px;height:14px;min-height:0;margin:2px 0 0;padding:0;border-radius:7px;border:1px solid var(--line);background:var(--sunken);box-shadow:none;cursor:pointer;transition:background-color .15s,border-color .15s}
48
+ #clashCheckBody button.ccd-switch::after{content:'';position:absolute;top:1px;left:1px;width:10px;height:10px;border-radius:50%;background:var(--mut);transition:transform .15s,background-color .15s}
49
+ #clashCheckBody button.ccd-switch.on{background:var(--brand-wash-strong);border-color:var(--brand)}
50
+ #clashCheckBody button.ccd-switch.on::after{transform:translateX(12px);background:var(--brand)}
51
+ #clashCheckBody button.ccd-switch:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
52
+ .ccd-pairs{border:1px solid var(--line);border-radius:7px}
53
+ .ccd-pairs>summary{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;padding:7px 9px;cursor:pointer;color:var(--text);font-size:12px}
54
+ .ccd-pairs>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}
55
+ .ccd-pairs-sum{color:var(--mut);font-size:11px}
56
+ .ccd-pairs-body{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:4px 9px 9px;overflow:auto}
57
+ .ccd-pairs-table{border-collapse:collapse;font-size:11.5px}
58
+ .ccd-pairs-table th{padding:4px 8px;color:var(--mut);font-weight:600;text-align:left;white-space:nowrap}
59
+ .ccd-pairs-table thead th{text-align:center}
60
+ .ccd-pairs-table td{padding:4px 8px;text-align:center;border-top:1px solid var(--line)}
61
+ .ccd-pairs-table td.ccd-pair-empty{background:var(--sunken)}
62
+ .ccd-check{display:flex;align-items:center;gap:8px;color:var(--text);font-size:12px;cursor:pointer}
63
+ .ccd-check input{margin:0}
64
+
65
+ /* ── the results, in the drawer ── */
66
+ .crv-drawer .ccx-host{overflow:auto;overscroll-behavior:contain}
67
+ .crv-drawer .ccx-host[hidden],.crv-drawer .tekla-changes-host[hidden]{display:none}
68
+ .ccx-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 9px;border-bottom:1px solid var(--line)}
69
+ .ccx-bar .ccx-count{font-variant-numeric:tabular-nums}
70
+ .ccx-bar .ccx-settings{margin-left:auto}
71
+ .ccx-line{margin:7px 9px 0;color:var(--mut);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
72
+ .ccx-line:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:3px}
73
+ /* The headline is a sentence, not a section label: the drawer's aside h3 rule (uppercase, muted) does not apply. */
74
+ .crv-drawer .ccx-headline{margin:8px 9px 4px;color:var(--text);font-size:13px;font-weight:600;line-height:1.4;text-transform:none;letter-spacing:normal}
75
+ /* The shared banner rule draws a red edge; only a danger banner keeps it here. A question or caution is amber, a note neutral. */
76
+ .ccx-host .tekla-changes-gate.crv-choice{border-left-color:var(--warn)}
77
+ .ccx-host .tekla-changes-gate.neutral{border-left-color:var(--line-strong)}
78
+ .ccx-headline:focus{outline:none}
79
+ .ccx-headline:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
80
+ .ccx-unchecked{margin:0 9px;padding:2px 2px 2px 18px;list-style:disc}
81
+ .ccx-unchecked li{margin:2px 0}
82
+ .ccx-notchecked{margin:6px 9px}
83
+ .ccx-group{padding:4px 7px}
84
+ .ccx-group-head{display:flex;align-items:center;gap:6px;margin:6px 2px 1px;font-size:12px}
85
+ .ccx-group-sub{margin:0 2px 5px}
86
+ .ccx-below{margin:4px 9px}
87
+ .ccx-setaside{margin:6px 9px}
88
+ .ccx-setaside>.tekla-changes-finding-meta{margin:2px 2px 4px}
89
+ .ccx-setaside-list{list-style:none;padding:2px}
90
+ .ccx-running{display:flex;flex-direction:column;gap:6px;padding:9px;color:var(--text);font-size:12px}
91
+ .ccx-running>span{display:flex;align-items:center;gap:8px}
92
+ .ccx-running>span::before{content:'';width:12px;height:12px;border-radius:50%;flex:none;border:2px solid var(--line);border-top-color:var(--brand);animation:ci-spin .8s linear infinite}
93
+ .ccx-progress{height:3px;border-radius:2px;background:var(--brand-wash);overflow:hidden}
94
+ .ccx-dim{opacity:.5}
95
+ .ccx-last,.ccx-update-said{color:var(--mut)}
96
+ .ccx-idle .ccx-primary,.ccx-not-kept .ccx-primary{align-self:center;margin-top:4px;border-color:var(--brand);background:var(--brand-wash);color:var(--text);font-weight:600}
97
+ @media (prefers-reduced-motion:reduce){.ccx-running>span::before{animation:none}}
98
+ /* The menu item exists only with a project open (the routes are a project's): the same rule #reviewChangesB follows. */
99
+ #moreMenu #clashCheckB{display:none}
100
+ body.has-project #moreMenu #clashCheckB{display:block}