@floless/app 0.170.0 → 0.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/floless-server.cjs +33000 -22928
  2. package/dist/schemas/steel.model.v2.schema.json +194 -3
  3. package/dist/skills/floless-app-bridge/SKILL.md +3 -3
  4. package/dist/skills/floless-app-knowledge/SKILL.md +4 -3
  5. package/dist/skills/floless-app-onboarding/SKILL.md +5 -4
  6. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +0 -3
  7. package/dist/skills/floless-app-queue/SKILL.md +2 -3
  8. package/dist/skills/floless-app-report-issue/SKILL.md +2 -2
  9. package/dist/skills/floless-app-steel-model/SKILL.md +35 -35
  10. package/dist/skills/floless-app-steel-model/references/custom-connections.md +47 -0
  11. package/dist/skills/floless-app-steel-model/references/custom-sections.md +32 -0
  12. package/dist/skills/floless-app-ui/SKILL.md +71 -126
  13. package/dist/web/add-ons.js +407 -0
  14. package/dist/web/analytics.js +1 -1
  15. package/dist/web/app.css +108 -189
  16. package/dist/web/app.js +11 -12
  17. package/dist/web/aware.js +49 -29
  18. package/dist/web/chat.css +6 -1
  19. package/dist/web/chat.js +133 -18
  20. package/dist/web/commands-filter.js +23 -0
  21. package/dist/web/commands-shell.js +39 -67
  22. package/dist/web/commands-steel.js +9 -1
  23. package/dist/web/commands-tekla-parser.js +23 -0
  24. package/dist/web/connections.js +14 -3
  25. package/dist/web/failure-copy.js +1 -0
  26. package/dist/web/guide.js +3 -3
  27. package/dist/web/index.html +29 -56
  28. package/dist/web/instructor.js +2 -2
  29. package/dist/web/kb-categories.js +64 -7
  30. package/dist/web/model-change-findings.js +430 -0
  31. package/dist/web/model-change-review.js +414 -0
  32. package/dist/web/model-editor-steel-adapter.js +2 -2
  33. package/dist/web/project-history.js +7 -1
  34. package/dist/web/revit-editor.css +85 -0
  35. package/dist/web/revit-editor.js +36 -1
  36. package/dist/web/sha256-sync.js +62 -0
  37. package/dist/web/steel-3d-core.js +7 -0
  38. package/dist/web/steel-3d-flo.js +127 -3
  39. package/dist/web/steel-3d-view.js +25 -2
  40. package/dist/web/steel-custom-connection.js +161 -0
  41. package/dist/web/steel-custom-sections.js +1796 -0
  42. package/dist/web/steel-editor.html +279 -41
  43. package/dist/web/steel-filter-usage.js +299 -0
  44. package/dist/web/steel-filter.html +101 -4
  45. package/dist/web/steel-model-v2-client-validation.js +3 -0
  46. package/dist/web/steel-model-v2-commands.js +95 -6
  47. package/dist/web/steel-model-v2-projection.js +1 -1
  48. package/dist/web/steel-read-confidence.js +1 -56
  49. package/dist/web/tekla-editor.html +1 -0
  50. package/dist/web/workspaces.js +263 -28
  51. package/launch.mjs +87 -9
  52. package/package.json +1 -1
  53. package/dist/web/panels.js +0 -831
package/dist/web/app.css CHANGED
@@ -888,7 +888,7 @@
888
888
  min-width: 0;
889
889
  position: relative;
890
890
  /* Touch: the canvas is a one-finger-pan + pinch-zoom surface on phones (handled in app.js);
891
- touch-action:none stops the browser claiming the gesture first. .dashboard re-enables scroll. */
891
+ touch-action:none stops the browser claiming the gesture first. */
892
892
  touch-action: none;
893
893
  /* The whole canvas is a pannable infinite surface (drag the background / middle-mouse),
894
894
  so the grab affordance covers the entire grid-area — not just .topology, which is
@@ -3801,21 +3801,6 @@
3801
3801
  transition: all 0.15s;
3802
3802
  margin-right: 0;
3803
3803
  flex-shrink: 0;
3804
- position: relative; /* anchors the dashboard-updated badge below */
3805
- }
3806
- /* "Dashboard updated" badge — panels.js lights this when dashboard panels change while
3807
- the user is on Canvas, so the signal stays visible without opening the ≡ menu (#149,
3808
- the old Dashboard-toggle dot's new home). Cleared when the dashboard is viewed. */
3809
- .hamburger.has-dash-update::after {
3810
- content: "";
3811
- position: absolute;
3812
- top: 3px;
3813
- right: 3px;
3814
- width: 6px;
3815
- height: 6px;
3816
- border-radius: 50%;
3817
- background: var(--accent);
3818
- box-shadow: 0 0 0 2px var(--bg);
3819
3804
  }
3820
3805
  .hamburger:hover {
3821
3806
  border-color: var(--accent-dim);
@@ -4525,7 +4510,7 @@
4525
4510
  The `::-webkit-scrollbar` block below is Chromium/Safari only; it carries NOTHING to Firefox,
4526
4511
  which reads the standard `scrollbar-width`/`scrollbar-color`. Without the `*` rule those
4527
4512
  properties had to be repeated on every scroll container by hand, and 20 of the 39 containers on
4528
- this surface never got them — `.messages` (the chat pane), `.dashboard`, `.wf-list`, `pre.code`,
4513
+ this surface never got them — `.messages` (the chat pane), `.wf-list`, `pre.code`,
4529
4514
  `html`/`body` among them — so Firefox drew its native light bar straight through the dark theme.
4530
4515
  Three CSS comments and two specs in docs/superpowers record maintainers hitting this and
4531
4516
  patching ONE container each time; the `*` rule is the root fix, and CLAUDE.md asks for exactly
@@ -5943,169 +5928,6 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
5943
5928
  .whats-new-detail { transition: none; }
5944
5929
  }
5945
5930
 
5946
- /* ============================================================================
5947
- CUSTOM PANELS — the Dashboard view + Customized badge (web/panels.js).
5948
- Renders ~/.floless/ui/extensions.json with the EXISTING tokens only (shadcn
5949
- dark slate-blue baseline); a user panel must be indistinguishable from
5950
- shipped UI. No new colors, fonts, or aesthetics here — composition only.
5951
- ========================================================================== */
5952
-
5953
- /* The Canvas|Dashboard segmented toggle moved into the ≡ menu in #149; its styles are
5954
- gone. The "dashboard updated" dot lives on now: in the menu's view-switch item (.view-dot)
5955
- and as the ≡ hamburger badge (.hamburger.has-dash-update, defined above). */
5956
- .view-dot { color: var(--accent); font-size: 8px; vertical-align: 2px; margin-left: auto; padding-left: 6px; }
5957
- .view-dot[hidden] { display: none; }
5958
-
5959
- /* Customized pill — present only while custom panels exist; opens the ext menu. */
5960
- .ext-badge {
5961
- margin-left: 8px; padding: 3px 10px; border-radius: 999px; cursor: pointer;
5962
- background: var(--accent-soft); border: 1px solid var(--accent-dim);
5963
- color: var(--accent); font-size: 10.5px; letter-spacing: 0.04em;
5964
- }
5965
- .ext-badge:hover { border-color: var(--accent); }
5966
- .ext-badge[hidden] { display: none; }
5967
-
5968
- /* Ext menu — inherits .menu chrome; position is set per-open (under the badge). */
5969
- .ext-menu { width: 290px; }
5970
- .ext-menu[hidden] { display: none; }
5971
- .ext-history-head {
5972
- padding: 6px 12px 2px; font-size: 10px; text-transform: uppercase;
5973
- letter-spacing: 0.1em; color: var(--text-muted);
5974
- }
5975
- .ext-history { max-height: 180px; overflow-y: auto; padding: 2px 4px 4px; }
5976
- .ext-history-item {
5977
- display: flex; justify-content: space-between; gap: 10px;
5978
- padding: 4px 8px; border-radius: 4px; font-size: 12px; color: var(--text-dim);
5979
- }
5980
- .ext-history-item.is-current .ext-history-when { color: var(--accent); }
5981
- .ext-history-when { color: var(--text); }
5982
- .ext-history-count { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
5983
- /* "you are here" marker on the cursor's history entry (multi-level undo/redo, #102). */
5984
- .ext-history-current {
5985
- font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
5986
- color: var(--accent); margin-right: 6px; vertical-align: 1px;
5987
- }
5988
- .ext-history-empty { padding: 6px 8px 8px; font-size: 12px; color: var(--text-muted); }
5989
- /* Reset is destructive-looking (though recoverable) — danger on hover, never accent. */
5990
- #ext-reset-confirm:hover { color: var(--err); border-color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); }
5991
-
5992
- /* Dashboard view — replaces the topology in the center column; chat + inspect stay. */
5993
- .canvas.view-dashboard .topology,
5994
- .canvas.view-dashboard .canvas-toolbar,
5995
- .canvas.view-dashboard .hint,
5996
- .canvas.view-dashboard .fav-bar,
5997
- .canvas.view-dashboard .notes-strip,
5998
- .canvas.view-dashboard .find-overlay { display: none; }
5999
- /* In dashboard view the pannable topology is hidden, so the canvas isn't a drag surface —
6000
- drop the grab affordance the .canvas rule sets for the normal view (#115 follow-up). */
6001
- .canvas.view-dashboard { cursor: default; }
6002
- .dashboard { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 24px 24px; touch-action: pan-y; }
6003
- .dashboard[hidden] { display: none; }
6004
-
6005
- /* Notices above the panels: dim note (degraded validation / warnings) and the
6006
- invalid-descriptor warning (defaults shown; file never bricks the app). */
6007
- .ext-note { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
6008
- .ext-invalid {
6009
- border: 1px solid var(--warn); border-radius: 8px; padding: 12px 14px;
6010
- background: color-mix(in srgb, var(--warn) 7%, transparent); margin-bottom: 14px;
6011
- }
6012
- .ext-invalid-title { font-size: 13px; font-weight: 600; color: var(--warn); }
6013
- .ext-invalid ul { margin: 8px 0 0 18px; font-size: 12px; color: var(--text-dim); font-family: var(--mono); }
6014
- .ext-invalid-hint { margin-top: 8px; font-size: 12px; color: var(--text-dim); }
6015
-
6016
- /* Panel grid + cards — same surface/border/radius family as .modal/.agent-card. */
6017
- .ext-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; align-items: start; }
6018
- .ext-panel {
6019
- background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
6020
- padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
6021
- }
6022
- .ext-panel-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
6023
-
6024
- /* stat — KPI card; consecutive stats render as one strip. */
6025
- .ext-stat-row { display: flex; flex-wrap: wrap; gap: 8px; }
6026
- .ext-stat {
6027
- flex: 1 1 90px; min-width: 0; background: var(--surface-2);
6028
- border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px 10px;
6029
- }
6030
- .ext-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
6031
- .ext-stat-value { font-size: 19px; font-weight: 600; color: var(--text); margin-top: 3px; overflow-wrap: anywhere; }
6032
- .ext-stat-hint { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
6033
-
6034
- /* table — data rows from the resolved payload; columns/sort mirror html-report. */
6035
- .ext-table-wrap { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: 6px; }
6036
- .ext-table { width: 100%; border-collapse: collapse; font-size: 12px; }
6037
- .ext-table th {
6038
- position: sticky; top: 0; background: var(--surface-2); text-align: left;
6039
- padding: 6px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
6040
- color: var(--text-dim); font-weight: 600; white-space: nowrap;
6041
- }
6042
- .ext-table td { padding: 5px 10px; border-top: 1px solid var(--border); color: var(--text); overflow-wrap: anywhere; }
6043
- .ext-table td.num { font-family: var(--mono); text-align: right; white-space: nowrap; }
6044
- .ext-table-more { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
6045
-
6046
- /* text — escaped prose paragraphs. */
6047
- .ext-text p { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); margin: 0 0 8px; }
6048
- .ext-text p:last-child { margin-bottom: 0; }
6049
-
6050
- /* report — opens the run's HTML in the existing sandboxed viewer. */
6051
- .ext-report-row { display: flex; align-items: center; gap: 10px; }
6052
- .ext-report-title { font-size: 12.5px; color: var(--text-dim); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
6053
- .ext-report-open {
6054
- flex: none; background: var(--surface-2); border: 1px solid var(--border-strong);
6055
- color: var(--accent); font-size: 11.5px; padding: 5px 11px; border-radius: 6px; cursor: pointer;
6056
- }
6057
- .ext-report-open:hover { border-color: var(--accent-dim); background: var(--accent-soft); }
6058
-
6059
- /* action — run-app buttons obey the same runnable gate as the header Run. */
6060
- .ext-action {
6061
- align-self: flex-start; background: var(--accent); border: 1px solid var(--accent);
6062
- color: #ffffff; font-size: 12px; font-weight: 600; padding: 6px 14px;
6063
- border-radius: 6px; cursor: pointer;
6064
- }
6065
- .ext-action:hover:not(:disabled) { background: var(--accent-bright); border-color: var(--accent-bright); box-shadow: 0 0 14px var(--accent-glow); }
6066
- .ext-action:disabled { background: var(--surface-2); border-color: var(--border-strong); color: var(--text-muted); cursor: not-allowed; }
6067
-
6068
- /* placeholders — missing data + forward-compat unknown blocks (dashed). */
6069
- .ext-placeholder {
6070
- border: 1px dashed var(--border-strong); border-radius: 6px; padding: 12px;
6071
- font-size: 12px; color: var(--text-muted); text-align: center;
6072
- }
6073
-
6074
- /* Empty state + the Customize composer (the dashboard's reverse channel). */
6075
- .ext-empty { font-size: 13px; color: var(--text-dim); margin: 18vh auto 0; max-width: 420px; text-align: center; }
6076
- .ext-composer-wrap { max-width: 640px; margin: 18px auto 0; }
6077
- .ext-grid + .ext-composer-wrap { margin-top: 22px; }
6078
- .ext-pending { font-size: 12px; color: var(--warn); margin-bottom: 8px; }
6079
- .ext-pending[hidden] { display: none; }
6080
- .ext-composer { display: flex; gap: 8px; }
6081
- .ext-composer input {
6082
- flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--border-strong);
6083
- border-radius: 6px; color: var(--text); font-size: 13px; padding: 9px 12px;
6084
- }
6085
- .ext-composer input:focus { outline: none; border-color: var(--accent-dim); }
6086
- .ext-composer input::placeholder { color: var(--text-muted); }
6087
- #ext-composer-send {
6088
- flex: none; background: var(--accent); border: 1px solid var(--accent); color: #ffffff;
6089
- font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: 6px; cursor: pointer;
6090
- }
6091
- #ext-composer-send:hover:not(:disabled) { background: var(--accent-bright); border-color: var(--accent-bright); }
6092
- #ext-composer-send:disabled { opacity: 0.6; cursor: default; }
6093
- .ext-composer-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 7px; }
6094
- /* Post-reset escape hatch: the empty state's one-line offer of the newest history
6095
- snapshot — without it, resetting hides the Customized pill and with it the only
6096
- Undo control, stranding a mistaken reset. Quiet hint scale; accent link. */
6097
- .ext-restore { max-width: 640px; margin: 10px auto 0; font-size: 12px; color: var(--text-dim); }
6098
- .ext-restore[hidden] { display: none; }
6099
- .ext-restore-btn {
6100
- background: none; border: none; padding: 0; font-size: 12px; cursor: pointer;
6101
- color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
6102
- }
6103
- .ext-restore-btn:hover { color: var(--accent-bright); }
6104
- .ext-restore-btn:disabled { color: var(--text-muted); cursor: default; text-decoration: none; }
6105
-
6106
- /* Inspect-tab panels reuse the same block styles inside the inspect body. */
6107
- .ext-inspect { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 0; }
6108
-
6109
5931
  /* ── Contract editor overlay ────────────────────────────────────────────────
6110
5932
  Full-window surface for an editable typed contract (steel takeoff, …).
6111
5933
  Same-origin iframe, so the editor page calls /api/contract directly.
@@ -6249,7 +6071,7 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
6249
6071
  and for Instructor, which narrates its data-blocked-reason. */
6250
6072
 
6251
6073
  /* Mode gating: Workflows chrome hides wholesale in Workspaces (hidden, never disabled).
6252
- ≡ keeps only app-wide items; Dashboard is Workflows-scoped (spec §2). */
6074
+ ≡ keeps only app-wide items (spec §2). */
6253
6075
  .app.mode-workspaces .controls > label,
6254
6076
  /* #wf-combo (by ID, not .wf-combo by class): the project picker below reuses the
6255
6077
  .wf-combo/.wf-popover/etc classes for visual parity and must NOT be caught by this
@@ -6259,8 +6081,6 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
6259
6081
  .app.mode-workspaces #restore-btn, .app.mode-workspaces #customize-btn,
6260
6082
  .app.mode-workspaces #compile-btn, .app.mode-workspaces #sim-btn,
6261
6083
  .app.mode-workspaces #run-btn, .app.mode-workspaces #stop-run-btn,
6262
- .app.mode-workspaces #ext-badge,
6263
- body.mode-workspaces #menu .menu-item[data-action="view-switch"],
6264
6084
  body.mode-workspaces #menu .menu-item[data-action="find"],
6265
6085
  body.mode-workspaces #menu .menu-item[data-action="open"],
6266
6086
  body.mode-workspaces #menu .menu-item[data-action="save"],
@@ -6270,7 +6090,7 @@ body.mode-workspaces #menu .menu-item[data-action="agents"],
6270
6090
  body.mode-workspaces #menu .menu-item[data-action="graft"],
6271
6091
  body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6272
6092
  .app.mode-workspaces .topology, .app.mode-workspaces .canvas-toolbar,
6273
- .app.mode-workspaces .hint, .app.mode-workspaces .fav-bar, .app.mode-workspaces .dashboard,
6093
+ .app.mode-workspaces .hint, .app.mode-workspaces .fav-bar,
6274
6094
  .app.mode-workspaces .notes-strip, .app.mode-workspaces .approval-strip, .app.mode-workspaces .run-strip, .app.mode-workspaces .kb-informed, .app.mode-workspaces .find-overlay,
6275
6095
  .app.mode-workspaces #canvas-drop-target, .app.mode-workspaces #wf-templates-stats,
6276
6096
  /* the ws surfaces carry their own headings — hide the canvas's "Canvas · transparency layer" label */
@@ -6287,7 +6107,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6287
6107
  .wf-landing[hidden], body.mode-workspaces .wf-landing { display:none !important; }
6288
6108
  :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .topology, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .canvas-toolbar,
6289
6109
  :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .hint, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .fav-bar,
6290
- :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .dashboard, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .notes-strip,
6110
+ :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .notes-strip,
6291
6111
  :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .kb-informed, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .approval-strip, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .run-strip, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) #canvas-drop-target,
6292
6112
  :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .canvas > .panel-label,
6293
6113
  :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) #compile-btn, :is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) #sim-btn,
@@ -6362,6 +6182,79 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6362
6182
  .local-discovery-errors { border-left:3px solid var(--warn); background:rgba(251,191,36,.07); padding:9px 12px; border-radius:0 4px 4px 0; font-size:12px; margin-bottom:10px; }
6363
6183
  .local-discovery-errors strong { color:var(--text); }
6364
6184
  .local-discovery-errors p { color:var(--text-muted); margin-top:4px; overflow-wrap:anywhere; }
6185
+
6186
+ /* #3296 S1b: My add-ons (web/add-ons.js). Two scroll columns, each with the themed thin scrollbar. */
6187
+ .modal.add-ons { width:min(880px, calc(100vw - 32px)); max-height:min(86vh, 780px); display:flex; flex-direction:column; }
6188
+ .add-ons-body { display:grid; grid-template-columns:220px minmax(0,1fr); gap:14px; min-height:0; flex:1; }
6189
+ .add-ons-empty .add-ons-body { grid-template-columns:minmax(0,1fr); }
6190
+ .add-ons-empty .add-ons-list { display:none; }
6191
+ .add-ons-side { display:flex; flex-direction:column; gap:8px; min-height:0; }
6192
+ .add-ons-list, .add-ons-detail { overflow-y:auto; min-height:0; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
6193
+ .add-ons-list::-webkit-scrollbar, .add-ons-detail::-webkit-scrollbar { width:8px; }
6194
+ .add-ons-list::-webkit-scrollbar-thumb, .add-ons-detail::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:8px; }
6195
+ .add-ons-list::-webkit-scrollbar-track, .add-ons-detail::-webkit-scrollbar-track { background:transparent; }
6196
+ .add-ons-list { display:flex; flex-direction:column; gap:4px; }
6197
+ .add-ons-detail { padding-right:6px; display:flex; flex-direction:column; gap:14px; }
6198
+ .add-ons button { color:var(--text); background:var(--surface-3); border:1px solid var(--border-strong); border-radius:5px; padding:6px 10px; cursor:pointer; font:inherit; font-size:12px; }
6199
+ .add-ons button:hover:not(:disabled) { border-color:var(--accent-dim); color:var(--accent-bright); }
6200
+ .add-ons button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
6201
+ .add-ons button:disabled { opacity:.55; cursor:default; }
6202
+ .add-ons button.primary { background:var(--accent); color:white; border-color:var(--accent); }
6203
+ .add-ons button.primary:hover:not(:disabled) { color:white; filter:brightness(1.08); }
6204
+ .add-ons button.add-ons-row { display:flex; flex-direction:column; align-items:flex-start; gap:4px; text-align:left; background:transparent; border-color:transparent; padding:8px 10px; }
6205
+ .add-ons button.add-ons-row[aria-current="true"] { background:var(--surface-2); border-color:var(--border-strong); }
6206
+ .add-ons-row-name { font-weight:600; color:var(--text); overflow-wrap:anywhere; }
6207
+ .add-ons-row-meta, .add-ons-chips, .add-ons-actions, .add-ons-title-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
6208
+ .add-ons-pill, .add-ons-chip { color:var(--text-muted); background:var(--surface-3); border:1px solid var(--border-strong); padding:2px 7px; border-radius:999px; font-size:10px; white-space:nowrap; }
6209
+ .add-ons-pill.on { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 40%, var(--border-strong)); }
6210
+ .add-ons-pill.waiting { color:var(--accent-bright); border-color:var(--accent-dim); }
6211
+ .add-ons-head { display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
6212
+ .add-ons-head h3 { font-size:15px; color:var(--text); outline:none; }
6213
+ .add-ons-ident { font-family:var(--mono); font-size:11px; }
6214
+ .add-ons-muted { color:var(--text-muted); font-size:12px; line-height:1.45; }
6215
+ .add-ons-verdict { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--text); }
6216
+ .add-ons-dot { width:8px; height:8px; border-radius:50%; background:var(--text-dim); }
6217
+ .add-ons-verdict.works .add-ons-dot { background:var(--ok); }
6218
+ .add-ons-verdict.works-partly .add-ons-dot { background:var(--warn); }
6219
+ .add-ons-callout { border-left:3px solid var(--warn); background:color-mix(in srgb, var(--warn) 7%, transparent); padding:9px 12px; border-radius:0 4px 4px 0; font-size:12px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
6220
+ .add-ons-callout ul { flex-basis:100%; margin:0; padding-left:16px; color:var(--text); }
6221
+ .add-ons-waiting { background:var(--surface-2); border:1px solid var(--border-strong); border-left:3px solid var(--accent); border-radius:0 6px 6px 0; padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
6222
+ .add-ons-waiting h4, .add-ons-section h4 { font-size:12px; color:var(--text); font-weight:600; }
6223
+ .add-ons-changes, .add-ons-cando { margin:0; padding-left:16px; font-size:12px; color:var(--text); display:flex; flex-direction:column; gap:3px; }
6224
+ .add-ons-draft { border:1px dashed var(--border-strong); border-radius:6px; padding:8px 12px; font-size:12px; color:var(--text-muted); }
6225
+ .add-ons-section { display:flex; flex-direction:column; gap:8px; }
6226
+ .add-ons-defs { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
6227
+ .add-ons-def { border:1px solid var(--border); border-radius:6px; padding:8px; display:flex; flex-direction:column; gap:3px; }
6228
+ .add-ons-def-pic { height:96px; background:var(--surface-3); border-radius:4px; display:flex; align-items:center; justify-content:center; }
6229
+ .add-ons-def-pic svg { width:100%; height:100%; padding:6px; }
6230
+ .add-ons-def-pic polygon { fill:color-mix(in srgb, var(--accent) 22%, transparent); stroke:var(--accent); stroke-width:1.5; vector-effect:non-scaling-stroke; stroke-linejoin:round; }
6231
+ .add-ons-def-pic.none { border:1px dashed var(--border-strong); background:transparent; color:var(--text-dim); font-size:11px; }
6232
+ .add-ons-def-name { font-size:12px; font-weight:600; color:var(--text); }
6233
+ .add-ons-def-id, .add-ons-def-facts { font-family:var(--mono); font-size:10.5px; color:var(--text-muted); overflow-wrap:anywhere; }
6234
+ .add-ons-def-off { font-size:11px; color:var(--warn); }
6235
+ .add-ons-versions { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
6236
+ .add-ons-version { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:6px 0; border-top:1px solid var(--border); font-size:12px; }
6237
+ .add-ons-version-label { font-family:var(--mono); color:var(--text); }
6238
+ .add-ons-version-notes { color:var(--text-muted); flex:1; min-width:80px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
6239
+ .add-ons button.add-ons-link { background:transparent; border-color:transparent; color:var(--accent-bright); padding:2px 4px; }
6240
+ .add-ons button.add-ons-link:hover:not(:disabled) { border-color:transparent; text-decoration:underline; }
6241
+ .add-ons button.armed { border-color:var(--warn); color:var(--warn); }
6242
+ .add-ons button.add-ons-quiet { align-self:flex-start; }
6243
+ .add-ons-foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid var(--border); }
6244
+ .add-ons button.add-ons-danger { background:transparent; color:var(--err); border-color:color-mix(in srgb, var(--err) 35%, var(--border-strong)); }
6245
+ .add-ons button.add-ons-danger:hover:not(:disabled) { color:var(--err); border-color:var(--err); }
6246
+ .add-ons-empty-state { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:18px 4px; max-width:520px; }
6247
+ .add-ons-empty-state h3 { font-size:15px; color:var(--text); }
6248
+ .add-ons-empty-state p { color:var(--text-muted); font-size:12px; line-height:1.5; }
6249
+ .add-ons-status { font-size:12px; color:var(--text-muted); padding:8px 2px 0; display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-height:1em; }
6250
+ .add-ons-status:empty { padding:0; }
6251
+ .add-ons-status[data-kind="warn"] { color:var(--warn); }
6252
+ @media (max-width:640px) {
6253
+ .add-ons-body { grid-template-columns:minmax(0,1fr); overflow-y:auto; }
6254
+ .add-ons-list { flex-direction:row; flex-wrap:wrap; overflow:visible; }
6255
+ .add-ons-detail { overflow:visible; }
6256
+ .add-ons-defs { grid-template-columns:repeat(2, minmax(0,1fr)); }
6257
+ }
6365
6258
  .local-discovery-browse { display:grid; gap:7px; margin:0 0 10px; }
6366
6259
  .local-discovery-browse[hidden] { display:none; }
6367
6260
  .local-discovery-browse p { color:var(--text-muted); font-size:11px; margin:0; }
@@ -7829,6 +7722,21 @@ tr.hist-diff-row[hidden] { display:none; }
7829
7722
  @keyframes kb-conn-spin { to { transform:rotate(360deg); } }
7830
7723
  @media (prefers-reduced-motion: reduce) { .kb-conn-sync[aria-busy="true"] span { animation:none; } }
7831
7724
  .kb-src .kb-conn-more { opacity:1; }
7725
+ /* #3425/#3411: a connected row is a grid. Line one: icon and name, then the controls as one group pinned to the
7726
+ top, so a row that grows (a sync adds a note) never moves its own ⟳ and nothing is drawn over the text. Below it the
7727
+ status line and the notes line up with the name and run under the controls to the row's edge; a stop card takes the whole width. */
7728
+ .kb-src.kb-conn { display:grid; grid-template-columns:26px minmax(0,1fr) auto; column-gap:9px; align-items:start; }
7729
+ .kb-conn > .kb-fico { grid-column:1; grid-row:1; }
7730
+ .kb-conn > .kb-fbody { grid-column:2; grid-row:1; padding-top:1px; }
7731
+ .kb-conn-ctl { grid-column:3; grid-row:1; display:flex; align-items:center; gap:2px; }
7732
+ .kb-conn-extra { grid-column:2 / -1; min-width:0; overflow-wrap:anywhere; }
7733
+ .kb-conn-extra-stop { grid-column:1 / -1; }
7734
+ .kb-conn .kb-fmeta { display:block; line-height:1.5; overflow-wrap:anywhere; }
7735
+ /* Each status part wraps as a unit while it fits a line, and breaks inside only when it cannot (a long address). */
7736
+ .kb-fmeta-part { display:inline-block; max-width:100%; margin-right:2px; }
7737
+ .kb-fmeta-sep { white-space:nowrap; }
7738
+ .kb-conn .kb-fmeta .kb-chip { display:inline-block; max-width:100%; white-space:normal; vertical-align:baseline; margin-top:2px; border-radius:8px; }
7739
+ .kb-src.kb-conn.off .kb-conn-extra:not(.kb-conn-extra-stop) { opacity:.5; }
7832
7740
  .kb-chip.kb-conn-paused { color:var(--text-muted); }
7833
7741
  .kb-conn-stop { font-size:10.5px; color:var(--text-muted); line-height:1.45; margin-top:5px; padding:6px 8px; border-radius:5px;
7834
7742
  border:1px solid color-mix(in srgb, var(--warn) 35%, transparent); background:color-mix(in srgb, var(--warn) 7%, transparent); }
@@ -8300,6 +8208,12 @@ tr.hist-diff-row[hidden] { display:none; }
8300
8208
  .kb-g-hit { fill: transparent; } /* wider click/focus target */
8301
8209
  .kb-g-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
8302
8210
  .kb-g-node text { fill: var(--text); font-size: 12px; } /* label is a click target too (not just the dot) */
8211
+ /* #3413: a label with no free spot is hidden until its node is pointed at, focused, next to the one pointed at, or a
8212
+ search match; then it reads over lines and dots on a halo in the panel colour (both themes). */
8213
+ .kb-g-node .kb-g-quiet { display: none; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
8214
+ .kb-g-node.nolabel:hover .kb-g-quiet, .kb-g-node.nolabel:focus-visible .kb-g-quiet, .kb-g-node.nolabel.near .kb-g-quiet,
8215
+ .kb-g-node.nolabel.match .kb-g-quiet { display: inline; }
8216
+ .kb-g-labelnote { position: absolute; left: 12px; bottom: 8px; font-size: 10.5px; color: var(--text-dim); pointer-events: none; }
8303
8217
  .kb-g-node:hover .kb-g-dot, .kb-g-node:focus-visible .kb-g-dot { fill: var(--accent-bright); filter: drop-shadow(0 0 5px var(--accent-glow)); }
8304
8218
  .kb-g-node:focus-visible { outline: none; }
8305
8219
  .kb-g-node:focus-visible .kb-g-dot { stroke: var(--accent-bright); }
@@ -8428,14 +8342,12 @@ html.mode-agents-boot .inspect, html.mode-agents-boot .pane-rail-right { display
8428
8342
  .app.mode-agents #wf-combo, .app.mode-agents #wf-update, .app.mode-agents #wf-forked, .app.mode-agents #wf-agent-step,
8429
8343
  .app.mode-agents #run-state, .app.mode-agents #restore-btn, .app.mode-agents #customize-btn,
8430
8344
  .app.mode-agents #compile-btn, .app.mode-agents #sim-btn, .app.mode-agents #run-btn, .app.mode-agents #stop-run-btn,
8431
- .app.mode-agents #ext-badge,
8432
- body.mode-agents #menu .menu-item[data-action="view-switch"],
8433
8345
  body.mode-agents #menu .menu-item[data-action="find"],
8434
8346
  body.mode-agents #menu .menu-item[data-action="open"],
8435
8347
  body.mode-agents #menu .menu-item[data-action="save"],
8436
8348
  body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
8437
8349
  .app.mode-agents .topology, .app.mode-agents .canvas-toolbar, .app.mode-agents .hint, .app.mode-agents .fav-bar,
8438
- .app.mode-agents .dashboard, .app.mode-agents .notes-strip, .app.mode-agents .kb-informed, .app.mode-agents .find-overlay,
8350
+ .app.mode-agents .notes-strip, .app.mode-agents .kb-informed, .app.mode-agents .find-overlay,
8439
8351
  .app.mode-agents #canvas-drop-target, .app.mode-agents #wf-templates-stats, .app.mode-agents .canvas > .panel-label,
8440
8352
  .app.mode-agents #ws-landing, .app.mode-agents #ws-project, .app.mode-agents #wf-landing, .app.mode-agents #wf-draft { display:none !important; }
8441
8353
  .app.mode-agents { --right-width:0px !important; }
@@ -9425,7 +9337,7 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
9425
9337
  Existing tokens only. Indent 12 px per level with a 1 px guide; selected = accent-dim fill + 2 px inset bar. */
9426
9338
  .kb-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
9427
9339
  .kb-tree { display:flex; flex-direction:column; }
9428
- .kb-tree .kb-src, .kb-tree .kb-cat, .kb-tree .kb-cat-empty, .kb-tree .kb-cat-edit { margin-left:calc(var(--kb-depth, 0) * 12px); }
9340
+ .kb-tree .kb-src, .kb-tree .kb-cat, .kb-tree .kb-cat-empty, .kb-tree .kb-cat-ds, .kb-tree .kb-cat-edit { margin-left:calc(var(--kb-depth, 0) * 12px); }
9429
9341
  .kb-tree .kb-src[style*="--kb-depth"] { position:relative; }
9430
9342
  .kb-tree .kb-src[style*="--kb-depth"]::before { content:''; position:absolute; left:-7px; top:-4px; bottom:-4px; width:1px; background:var(--border); }
9431
9343
  .kb-cat { display:flex; align-items:center; gap:4px; min-height:32px; margin-bottom:4px; border-radius:6px; position:relative; }
@@ -9444,7 +9356,14 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
9444
9356
  .kb-cat-more:hover { background:var(--surface-2); color:var(--text); }
9445
9357
  .kb-cat-more:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
9446
9358
  .kb-cat-empty { color:var(--text-dim); font-style:italic; font-size:11px; padding:4px 8px 8px 20px; }
9359
+ /* #3413: design-set drawings placed in a category are named here, quietly; they stay listed under their issue. */
9360
+ .kb-cat-ds { color:var(--text-muted); font-size:11px; line-height:1.45; padding:3px 8px 7px 20px; overflow-wrap:anywhere; }
9361
+ .kb-cat-ds-names { color:var(--text); }
9447
9362
  .kb-cat.drop-target { background:var(--accent-dim); outline:1px dashed var(--accent); outline-offset:-1px; }
9363
+ /* #3413: while a reference is dragged, an empty category's hint is a landing area too; under the pointer it lights with
9364
+ its header. A state change, not an animation. */
9365
+ .kb-refs-dragging .kb-cat-empty { outline:1px dashed var(--border-strong); outline-offset:-2px; border-radius:5px; }
9366
+ .kb-refs-dragging .kb-cat.drop-target + .kb-cat-empty { background:var(--accent-dim); outline-color:var(--accent); color:var(--text-muted); }
9448
9367
  .kb-cat.drop-target::after { content:attr(data-drop-label); position:absolute; right:34px; font-size:10.5px; color:var(--accent-bright); pointer-events:none; }
9449
9368
  .kb-cat-edit { display:flex; align-items:center; gap:6px; margin-bottom:6px; }
9450
9369
  .kb-cat-input { flex:1; min-width:0; font:inherit; font-size:12px; color:var(--text); background:var(--surface); border:1px solid var(--border-strong);
package/dist/web/app.js CHANGED
@@ -1283,10 +1283,10 @@ function escapeHtml(s) {
1283
1283
  function escapeAttr(s) { return escapeHtml(s).replace(/"/g, '"'); }
1284
1284
 
1285
1285
  /**
1286
- * How long ago a PAST instant was, in the spaced long form the project grid and the history
1287
- * list both show: '' · 'just now' · '7 min ago' · '3 h ago' · '2 d ago'.
1286
+ * How long ago a PAST instant was, in the spaced long form the project grid
1287
+ * shows: '' · 'just now' · '7 min ago' · '3 h ago' · '2 d ago'.
1288
1288
  *
1289
- * DEFINED HERE (app.js loads first) and reused by panels.js and workspaces.js, which each
1289
+ * DEFINED HERE (app.js loads first) and reused by workspaces.js, which (with the removed panels.js) each
1290
1290
  * carried a byte-identical copy — the same drift the `escapeHtml`/`onBackdropDismiss` pair
1291
1291
  * above exists to avoid. A blank string for an unparseable or future instant is part of the
1292
1292
  * contract: every caller interpolates the result straight into a meta line, so a caller that
@@ -1432,6 +1432,7 @@ function handleMenuAction(action) {
1432
1432
  case 'workspace-folder': openWorkspaceRoot(); break;
1433
1433
  case 'agents': openLibrary(); break;
1434
1434
  case 'routines': openRoutines(); break;
1435
+ case 'add-ons': window.flolessAddOns?.open(); break;
1435
1436
  case 'tool-update-policy': if (typeof window.openToolUpdatePolicy === 'function') window.openToolUpdatePolicy(); break;
1436
1437
  case 'report-issue': openReportIssue(); break;
1437
1438
  // #2046: the Guide — opens its conversation, or asks first (web/guide.js).
@@ -1490,9 +1491,9 @@ function openFind() {
1490
1491
  const app = document.getElementById('app');
1491
1492
  // In Workspaces mode there's nothing to find off the Model step — don't pop a dead overlay.
1492
1493
  if (app.classList.contains('mode-workspaces') && !ws) return false;
1493
- // Agents and the dashboard view hide the overlay in CSS: opening it there would focus an
1494
+ // Agents hides the overlay in CSS: opening it there would focus an
1494
1495
  // invisible input and swallow the browser's Find for nothing.
1495
- if (app.classList.contains('mode-agents') || document.querySelector('.canvas.view-dashboard')) return false;
1496
+ if (app.classList.contains('mode-agents')) return false;
1496
1497
  // An open dialog is what the person is looking at; the overlay would open behind it.
1497
1498
  if (document.querySelector('.modal-backdrop.show')) return false;
1498
1499
  $findInput.placeholder = ws ? 'Find in model…' : 'Find tool…';
@@ -1954,8 +1955,8 @@ const $canvasEl = document.querySelector('.canvas');
1954
1955
  function workflowCanvasGesture(target) {
1955
1956
  if ($app.classList.contains('mode-workspaces') || $app.classList.contains('mode-agents')
1956
1957
  || document.body.classList.contains('wf-landing-open') || document.body.classList.contains('wf-draft-open')
1957
- || $canvasEl.classList.contains('view-dashboard') || !$topology.getClientRects().length) return false;
1958
- return !target?.closest?.('#ws-landing, #ws-project, #wf-landing, #wf-draft, #agents-surface, .dashboard');
1958
+ || !$topology.getClientRects().length) return false;
1959
+ return !target?.closest?.('#ws-landing, #ws-project, #wf-landing, #wf-draft, #agents-surface');
1959
1960
  }
1960
1961
 
1961
1962
  function homeFitsCanvas(target) {
@@ -1998,10 +1999,8 @@ $canvasEl.addEventListener('mousedown', (e) => {
1998
1999
  // middle-mouse handler above (#115). Bail on interactive chrome so clicks/drags there still
1999
2000
  // work: node cards (their own select + HTML5 drag), the zoom toolbar, the Templates
2000
2001
  // fav-bar, and the find input. Non-interactive chrome (panel label, hint, notes) still pans.
2001
- // `.dashboard` (the custom-panels view that replaces the topology) is excluded too — it has
2002
- // its own scroll/click surface and the topology it would pan is hidden in that view.
2003
2002
  $canvasEl.addEventListener('mousedown', (e) => {
2004
- if (e.button !== 0 || !workflowCanvasGesture(e.target) || e.target.closest('.agent-card, .canvas-toolbar, .fav-bar, .find-overlay, .dashboard, input, textarea, select, button, [contenteditable]')) return;
2003
+ if (e.button !== 0 || !workflowCanvasGesture(e.target) || e.target.closest('.agent-card, .canvas-toolbar, .fav-bar, .find-overlay, input, textarea, select, button, [contenteditable]')) return;
2005
2004
  e.preventDefault();
2006
2005
  startPan(e);
2007
2006
  });
@@ -2031,8 +2030,8 @@ $canvasEl.addEventListener('touchstart', (e) => {
2031
2030
  tPinch = true; tPan = false;
2032
2031
  pinchDist0 = pinchSpan(e.touches) || 1; pinchZoom0 = zoom;
2033
2032
  } else if (e.touches.length === 1) {
2034
- // Let taps on interactive chrome through (node select, zoom toolbar, fav-bar, find, dashboard).
2035
- if (e.target.closest('.agent-card, .canvas-toolbar, .fav-bar, .find-overlay, .dashboard, input, textarea, select, button, [contenteditable]')) return;
2033
+ // Let taps on interactive chrome through (node select, zoom toolbar, fav-bar, find).
2034
+ if (e.target.closest('.agent-card, .canvas-toolbar, .fav-bar, .find-overlay, input, textarea, select, button, [contenteditable]')) return;
2036
2035
  e.preventDefault();
2037
2036
  tPan = true; tPinch = false;
2038
2037
  tFromX = e.touches[0].clientX; tFromY = e.touches[0].clientY;