@floless/app 0.148.1 → 0.149.1

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 (43) hide show
  1. package/bin/floless.mjs +1 -1
  2. package/dist/floless-server.cjs +29115 -18888
  3. package/dist/schemas/drawing-check.profile.v1.schema.json +156 -0
  4. package/dist/schemas/steel.model.v2.schema.json +43 -1
  5. package/dist/schemas/tekla.model.v2.schema.json +6 -2
  6. package/dist/skills/floless-app-steel-model/SKILL.md +54 -11
  7. package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +9 -5
  8. package/dist/skills/floless-app-steel-takeoff/SKILL.md +128 -15
  9. package/dist/skills/floless-app-vectorize/SKILL.md +7 -4
  10. package/dist/templates/check-drawings.flo +46 -0
  11. package/dist/templates/drawing-check.flo +55 -0
  12. package/dist/templates/tekla-parser.flo +6 -2
  13. package/dist/web/app.css +143 -8
  14. package/dist/web/aware.js +444 -39
  15. package/dist/web/chat.css +189 -12
  16. package/dist/web/chat.js +2203 -772
  17. package/dist/web/commands-drawing-check.js +53 -0
  18. package/dist/web/commands-shell.js +299 -6
  19. package/dist/web/commands-steel.js +1 -0
  20. package/dist/web/commands-tekla-parser.js +3 -0
  21. package/dist/web/commands.js +1 -1
  22. package/dist/web/connections.js +382 -0
  23. package/dist/web/display-units.js +15 -1
  24. package/dist/web/drawing-check-editor.html +289 -0
  25. package/dist/web/drawing-check-editor.js +1242 -0
  26. package/dist/web/drawing-check-overlay.js +36 -0
  27. package/dist/web/filter-ai-proposal.js +32 -13
  28. package/dist/web/index.html +29 -3
  29. package/dist/web/instructor.js +2 -2
  30. package/dist/web/local-discovery.js +144 -2
  31. package/dist/web/model-display-units.js +23 -9
  32. package/dist/web/model-viewport-revit-adapter.js +12 -2
  33. package/dist/web/revit-editor.css +5 -0
  34. package/dist/web/revit-editor.js +141 -20
  35. package/dist/web/steel-editor.html +166 -27
  36. package/dist/web/steel-filter.html +60 -166
  37. package/dist/web/steel-model-v2-commands.js +13 -3
  38. package/dist/web/steel-model-v2-projection.js +20 -0
  39. package/dist/web/steel-units.js +3 -1
  40. package/dist/web/workspaces.js +306 -22
  41. package/launch.mjs +5 -5
  42. package/package.json +3 -1
  43. package/dist/web/filter-ai-context.js +0 -92
@@ -2,7 +2,7 @@
2
2
  name: floless-app-vectorize
3
3
  description: Vectorize a drawing into an editable drawing.vector/v1 contract in floless.app — the "Vectorize" reader. Triggers on a pending floless `rebake` request for the `vectorize` app (queued from its "Re-read & re-bake ▸" button), or asks like "vectorize this PDF", "turn my sketch into clean CAD linework", "read this detail into vectors", "trace this photo", "make this drawing 3D". Teaches the host AI to read a drawing at COMPOSE time — a vector PDF via ONE deterministic PyMuPDF pass (no LLM), a scan/photo/hand sketch by MEASURING its ink with a deterministic OpenCV centerline tracer for geometry plus AWARE's fenced vision.extract for the text (schema-bound, cached) — emit the drawing.vector/v1 contract, PUT it to the contract store, and hand the 2D vector editor to the user; and, for a multi-view set (plan + elevation), to classify views, read datums, and declare entities so the server reconstructs a viewable 3D model.
4
4
  metadata:
5
- version: 0.8.2
5
+ version: 0.8.3
6
6
  ---
7
7
 
8
8
  # Vectorize — read a drawing into a drawing.vector/v1 contract
@@ -67,9 +67,12 @@ location and do not go looking for a `request-work` path to create yourself: its
67
67
  deliberately declined to send you there.
68
68
 
69
69
  Every helper, intermediate file, and generated `contract.json` stays under `<scratch>`. The user's project
70
- is their document, not this reader's workspace. FloLess removes a server-provided request directory when
71
- the request settles or is discarded, and clears it while the read sits idle; if a named directory has gone
72
- missing, do not re-create it — use your own temporary location. Remove an OS-temporary fallback when this
70
+ is their document, not this reader's workspace. A server-provided request directory is FloLess's: it
71
+ keeps it until the request settles or is
72
+ discarded, however long the read waits on the person, and then removes it: what you wrote before a break
73
+ is still there when they answer, so reuse it rather than rebuilding it. List and search only inside that
74
+ directory, never its parent `request-work` folder or another request's directory beside it. If a named
75
+ directory has gone missing, do not re-create it — use your own temporary location. Remove an OS-temporary fallback when this
73
76
  read finishes.
74
77
 
75
78
  ### Stay inside this project and this request
@@ -0,0 +1,46 @@
1
+ app: check-drawings
2
+ version: 0.1.0
3
+ display-name: Check Drawings
4
+ publisher: floless
5
+ module: drawing_check
6
+ description: >
7
+ Checks shop drawings against a client's Drawing Checker profile. Every item on the approved
8
+ checklist is checked by reading the drawing PDF, and each sheet comes back marked up with a numbered box
9
+ where FloLess looked. Anything that does not match is reported as a question, never a refusal.
10
+ exposes-as-agent: false
11
+ changelog:
12
+ - version: 0.1.0
13
+ summary: First release of the Drawing Checker workflow.
14
+ changes:
15
+ - "Added: check PDFs against an approved Drawing Checker profile and get a marked-up report."
16
+ inputs:
17
+ profile:
18
+ type: string
19
+ default: ""
20
+ widget: workspace-project
21
+ workspaceApp: drawing-check
22
+ description: The client's Drawing Checker profile to check against (approved profiles only).
23
+ drawings:
24
+ type: file
25
+ widget: file
26
+ accept: [pdf]
27
+ description: The shop drawing PDF to check (from the terminal you can pass several, comma-separated).
28
+ decisions:
29
+ type: string
30
+ default: ""
31
+ description: Your answers to earlier questions about these drawings, if any. Leave empty for a first run.
32
+ requires:
33
+ - floless-workspace@0.2.x
34
+ layout: linear
35
+ nodes:
36
+ - id: check
37
+ agent: floless-workspace
38
+ command: check-drawings
39
+ mode: read
40
+ description: >
41
+ Reads the drawing (or each of several) and checks it against the profile's approved checklist, then returns the
42
+ marked-up sheets, the results and any questions that need your answer.
43
+ config:
44
+ project-id: "{{ inputs.profile }}"
45
+ drawings: "{{ inputs.drawings }}"
46
+ decisions: "{{ inputs.decisions }}"
@@ -0,0 +1,55 @@
1
+ app: drawing-check
2
+ version: 0.1.0
3
+ display-name: Drawing Checker
4
+ publisher: floless
5
+ module: drawing_check
6
+ floless:
7
+ workspace: true
8
+ execution: internal
9
+ description: |
10
+ The client profile behind FloLess's Drawing Checker. Each Workspace project made from it holds one
11
+ client's profile: the reference drawings you already trust, the checklist proposed from them, and
12
+ every version of that checklist a person approved. You edit a profile in its own page, never by
13
+ running this workflow; the user-facing check runs through the Check Drawings workflow, which reads
14
+ only an approved version of this profile.
15
+ exposes-as-agent: false
16
+ changelog:
17
+ - version: 0.1.0
18
+ summary: First release of the Drawing Checker profile
19
+ changes:
20
+ - "Added: a Workspace project kind that holds one client's Drawing Checker profile and its approved checklist versions."
21
+ inputs:
22
+ project_id:
23
+ type: string
24
+ default: ""
25
+ description: The Drawing Checker profile project to read.
26
+ requires:
27
+ - floless-workspace@0.2.x
28
+ - html-report@0.2.x
29
+ layout: linear
30
+ nodes:
31
+ - id: read-profile
32
+ agent: floless-workspace
33
+ command: read-approved
34
+ mode: read
35
+ description: |
36
+ Opens the profile and reads its latest approved version: the client's name, which version was
37
+ approved and when, and the approved checklist. A profile nobody has approved yet is not read,
38
+ so an unapproved draft can never be checked against.
39
+ config:
40
+ project-id: "{{ inputs.project_id }}"
41
+ app: drawing-check
42
+ include: contract
43
+ # The approved checklist, carried in this app's lock. `contract` tells FloLess which document this
44
+ # node holds; Approve writes the reviewed profile into `takeoff` and recompiles, the same bake every
45
+ # Workspace app uses. Nothing here is ever composed by hand.
46
+ - id: approved-profile
47
+ agent: html-report
48
+ command: render
49
+ description: |
50
+ Holds the checklist a person approved for this client, written here when they press Approve, so
51
+ the approved version travels with the app. If it is ever run, it shows that checklist as a simple
52
+ report page; it never checks a drawing and never changes the profile.
53
+ config:
54
+ contract: drawing-check.profile/v1
55
+ title: Approved Drawing Checker profile
@@ -1,5 +1,5 @@
1
1
  app: tekla-parser
2
- version: 0.2.0
2
+ version: 0.3.0
3
3
  display-name: Tekla Parser
4
4
  publisher: floless
5
5
  module: tekla
@@ -12,6 +12,10 @@ description: |
12
12
  never edited, saved, synchronized, or connected to a running Tekla application.
13
13
  exposes-as-agent: false
14
14
  changelog:
15
+ - version: 0.3.0
16
+ summary: Open a model even when its Tekla catalogue files are missing
17
+ changes:
18
+ - "Changed: when profdb.bin, matdb.bin, screwdb.db or assdb.db is missing and you choose to continue, the model still opens; each missing file and every object it affects is listed in the Audit tab, and approval stays blocked until it is resolved."
15
19
  - version: 0.2.0
16
20
  summary: Add authenticated database coverage auditing
17
21
  changes:
@@ -57,5 +61,5 @@ nodes:
57
61
  source-namespaces:
58
62
  - id: model
59
63
  root: "{{ inputs.source_root }}"
60
- degraded-mode: refuse
64
+ degraded-mode: allow
61
65
  conversion-settings: {}
package/dist/web/app.css CHANGED
@@ -135,6 +135,24 @@
135
135
  (Raised by the Codex review on #592.) */
136
136
  input[type="checkbox"]:indeterminate { border-color: var(--accent); background: var(--accent-soft); }
137
137
  input[type="checkbox"]:indeterminate::before { transform: scale(1); clip-path: none; height: 2px; border-radius: 1px; }
138
+ /* RADIO, the same treatment, for every radio on this surface (first one: the read setup card's origin
139
+ choice, #1906). Unscoped on purpose so the next radio inherits it instead of leaking the white UA
140
+ widget into the dark theme. */
141
+ input[type="radio"] {
142
+ appearance: none; -webkit-appearance: none; flex: none; box-sizing: border-box;
143
+ width: 14px; height: 14px; margin: 0;
144
+ border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface-2);
145
+ cursor: pointer; display: inline-grid; place-content: center;
146
+ transition: border-color 0.12s;
147
+ }
148
+ input[type="radio"]::before {
149
+ content: ""; width: 8px; height: 8px; border-radius: 50%; transform: scale(0);
150
+ transition: transform 0.12s ease; background: var(--accent-bright);
151
+ }
152
+ input[type="radio"]:checked { border-color: var(--accent); }
153
+ input[type="radio"]:checked::before { transform: scale(1); }
154
+ input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
155
+ input[type="radio"]:disabled { cursor: default; opacity: .45; }
138
156
  /* FORCED COLORS (Windows High Contrast). The OS overrides every authored colour, so the custom box's
139
157
  fill and its clipped ::before both collapse to system colours and the two states stop being
140
158
  tellable apart. Hand the platform its own widget back: in that mode the UA control is the
@@ -150,6 +168,38 @@
150
168
  border: revert; background: revert; display: revert;
151
169
  }
152
170
  input[type="checkbox"]::before { content: none; }
171
+ input[type="radio"] {
172
+ appearance: revert; -webkit-appearance: revert; width: revert; height: revert;
173
+ border: revert; background: revert; display: revert;
174
+ }
175
+ input[type="radio"]::before { content: none; }
176
+ }
177
+ /* Global radio theming, the checkbox rule's sibling, for the same reason and placed beside it: the
178
+ first radios on this surface (#1899 — "Account FloLess uses" and Graft's connection-check
179
+ picker) would otherwise paint the UA widget, a white disc on the dark page. A circle with an
180
+ accent dot for :checked; forced-colors hands the platform its own control back, as above. */
181
+ input[type="radio"] {
182
+ appearance: none; -webkit-appearance: none; flex: none; margin: 0;
183
+ width: 16px; height: 16px;
184
+ border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface-2);
185
+ cursor: pointer; display: inline-grid; place-content: center;
186
+ transition: border-color 0.12s, background 0.12s;
187
+ }
188
+ input[type="radio"]::before {
189
+ content: ""; width: 8px; height: 8px; border-radius: 50%; transform: scale(0);
190
+ transition: transform 0.12s ease; background: var(--accent-bright);
191
+ }
192
+ input[type="radio"]:checked { border-color: var(--accent); background: var(--accent-soft); }
193
+ input[type="radio"]:checked::before { transform: scale(1); }
194
+ input[type="radio"]:hover:not(:disabled) { border-color: var(--accent); }
195
+ input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
196
+ input[type="radio"]:disabled { opacity: 0.5; cursor: not-allowed; }
197
+ @media (forced-colors: active) {
198
+ input[type="radio"] {
199
+ appearance: revert; -webkit-appearance: revert; width: revert; height: revert;
200
+ border: revert; background: revert; display: revert; border-radius: revert;
201
+ }
202
+ input[type="radio"]::before { content: none; }
153
203
  }
154
204
 
155
205
  /* ========== LAYOUT ========== */
@@ -420,6 +470,17 @@
420
470
  align-items: center;
421
471
  gap: 10px;
422
472
  }
473
+ /* #1798: the workflow's Units control — the model views' segmented control (revit-editor.css), in the canvas header. */
474
+ .workflow-display-units { display: flex; align-items: center; gap: 0; flex-shrink: 0; font-size: 11px; text-transform: none; letter-spacing: normal; }
475
+ .workflow-display-units[hidden] { display: none; }
476
+ .workflow-display-units > span { margin-right: 7px; color: var(--text-dim); }
477
+ .workflow-display-units button { min-height: 20px; padding: 0 7px; border-radius: 0; font-size: 10.5px; line-height: 1; text-transform: none; letter-spacing: normal; }
478
+ .workflow-display-units button:focus-visible { outline-offset: -2px; position: relative; z-index: 1; }
479
+ .workflow-display-units button[data-unit-choice="ft-in"] { border-radius: 5px 0 0 5px; }
480
+ .workflow-display-units button[data-unit-choice="mm"] { border-radius: 0 5px 5px 0; margin-left: -1px; }
481
+ .workflow-display-units button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text); position: relative; z-index: 1; }
482
+ .workflow-display-units .model-units-retry { border-radius: 5px; margin-left: 7px; }
483
+ .workflow-display-units .model-units-status { margin-left: 7px; margin-right: 0; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
423
484
  /* THE PANE GRIP — one control, one identity, sitting IN the seam.
424
485
  It used to be a 28x42 pill floating 4px inside the pane on a `0 4px 14px` drop shadow: an object
425
486
  dropped ON the panel, painted over the message list, and re-lit even louder once collapsed, when
@@ -4043,6 +4104,20 @@
4043
4104
  --ok: hsl(142 71% 45%);
4044
4105
  --warn: hsl(38 92% 50%);
4045
4106
  --err: hsl(0 62.8% 50%); /* shifted lighter from floless-web's 30.6% so it reads on dark */
4107
+ /* Error red for TEXT ON A NEUTRAL SURFACE, where WCAG AA asks 4.5:1 for small text. --err gives only
4108
+ 3.0:1 on a dark chat row and 3.5:1 on a light one (#1864). --err is tuned for the EDGE and the
4109
+ background wash — the borders and the 7-16% tints it is mixed into, which 1.4.11 holds to 3:1 —
4110
+ so rather than retune it and move every border in the app, error ink gets its own token.
4111
+ NOTE this is the intended split, not yet the state of the sheet: 51 declarations in this file
4112
+ still set `color: var(--err)` — most of them text, several below AA (.revision-discard-error);
4113
+ converting them is
4114
+ the app-wide sweep in #1869, and this token is what they convert TO. Today only the three AI
4115
+ Chat rules in chat.css use it. Tailwind red-400 on dark, red-700 on light — both steps already
4116
+ carry error red here, red-400 as the Block 1 dark --err above and red-700 as --err/--err-ink in
4117
+ the standalone editors' light blocks. Not to be confused with that --err-ink, which is ink on a
4118
+ red FILL (--err-bg): on dark it is red-200, pale against this token's red-400 (on light the two
4119
+ happen to coincide). */
4120
+ --err-text: hsl(0 90.6% 70.8%);
4046
4121
  --info: hsl(217.2 91.2% 59.8%);
4047
4122
  }
4048
4123
 
@@ -4066,6 +4141,7 @@
4066
4141
  --ok: hsl(142 71% 45%);
4067
4142
  --warn: hsl(38 92% 50%);
4068
4143
  --err: hsl(0 84.2% 60.2%); /* floless-web --destructive */
4144
+ --err-text: hsl(0 73.7% 41.8%); /* Tailwind red-700 — see --err-text above (#1864) */
4069
4145
  --info: hsl(221.2 83.2% 53.3%);
4070
4146
  }
4071
4147
 
@@ -5436,6 +5512,27 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5436
5512
  .app.mode-workspaces .inspect { display:none; }
5437
5513
  .app.mode-workspaces .canvas { cursor:default; touch-action:auto; }
5438
5514
 
5515
+ /* #1890: the Workflows landing — the Workflows tab's home, sharing the Workspaces landing's cards. While it shows, the
5516
+ loaded workflow's canvas and its header controls step aside; it never shows in Workspaces mode. */
5517
+ .wf-landing[hidden], body.mode-workspaces .wf-landing { display:none !important; }
5518
+ body.wf-landing-open:not(.mode-workspaces) .topology, body.wf-landing-open:not(.mode-workspaces) .canvas-toolbar,
5519
+ body.wf-landing-open:not(.mode-workspaces) .hint, body.wf-landing-open:not(.mode-workspaces) .fav-bar,
5520
+ body.wf-landing-open:not(.mode-workspaces) .dashboard, body.wf-landing-open:not(.mode-workspaces) .notes-strip,
5521
+ body.wf-landing-open:not(.mode-workspaces) .kb-informed, body.wf-landing-open:not(.mode-workspaces) #canvas-drop-target,
5522
+ body.wf-landing-open:not(.mode-workspaces) .canvas > .panel-label,
5523
+ body.wf-landing-open:not(.mode-workspaces) #compile-btn, body.wf-landing-open:not(.mode-workspaces) #sim-btn,
5524
+ body.wf-landing-open:not(.mode-workspaces) #run-btn, body.wf-landing-open:not(.mode-workspaces) #restore-btn,
5525
+ body.wf-landing-open:not(.mode-workspaces) #customize-btn, body.wf-landing-open:not(.mode-workspaces) #guide-beacon,
5526
+ body.wf-landing-open:not(.mode-workspaces) #run-state { display:none !important; }
5527
+ body.wf-landing-open:not(.mode-workspaces) .app { --right-width:0px !important; }
5528
+ body.wf-landing-open:not(.mode-workspaces) .inspect { display:none; }
5529
+ body.wf-landing-open:not(.mode-workspaces) .canvas { cursor:default; touch-action:auto; }
5530
+ .ws-card.wf-card .ws-body { display:block; }
5531
+ .ws-card.wf-card .ws-kind.wf-kind { position:static; display:inline-block; margin-bottom:6px; }
5532
+ .wf-card .wf-card-nodes { font-family:var(--mono); font-size:10px; color:var(--text-dim); }
5533
+ .wf-card:focus-visible, .wf-create:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
5534
+ .wf-group-label { margin:16px 0 8px; color:var(--text-dim); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
5535
+
5439
5536
  /* Local discovery shares the approved dark shell palette and dialog spacing. */
5440
5537
  .modal.local-discovery { width: 700px; max-height: min(86vh, 760px); display:flex; flex-direction:column; }
5441
5538
  .local-discovery-body { overflow-y:auto; min-height:0; padding-right:5px; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
@@ -5476,6 +5573,33 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5476
5573
  .local-discovery-facts dt { color:var(--text-dim); }
5477
5574
  .local-discovery-facts dd { color:var(--text-muted); overflow-wrap:anywhere; }
5478
5575
  .local-discovery-card-actions { display:flex; flex-wrap:wrap; gap:7px; }
5576
+ /* #1899: how a finding connects, its latest check, and the services list. Existing tokens only. */
5577
+ .local-discovery-chips { display:inline-flex; flex-wrap:wrap; gap:5px; justify-content:flex-end; }
5578
+ .local-discovery-found.conn-chip.is-chat-ready { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 35%, var(--border-strong)); }
5579
+ .local-discovery-found.conn-chip.is-chat-warning { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 35%, var(--border-strong)); }
5580
+ .local-discovery-found.conn-chip.is-chat-unavailable { color:var(--text-dim); }
5581
+ .local-discovery-route { color:var(--text-muted); font-size:11px; margin:-3px 0 10px; }
5582
+ .local-discovery-services { display:grid; gap:8px; margin-top:6px; padding-top:12px; border-top:1px solid var(--border); }
5583
+ .local-discovery-services > strong { font-size:13px; }
5584
+ .local-discovery-services > p { color:var(--text-muted); font-size:11px; margin:0; }
5585
+ .local-discovery-services-list { display:grid; gap:8px; }
5586
+ .local-discovery-service-wrap { display:grid; gap:6px; border:1px solid var(--border-strong); border-radius:6px; background:var(--surface-2); padding:10px 12px; }
5587
+ .conn-receipt-host:empty, .conn-confirm-host:empty, .conn-said:empty { display:none; }
5588
+ .conn-receipt, .conn-receipt-host, .conn-confirm-host { display:grid; gap:5px; margin-top:7px; }
5589
+ .conn-confirm { grid-template-columns:minmax(0,1fr); }
5590
+ .conn-confirm-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:4px; }
5591
+ .conn-code { font-family:var(--mono); font-size:10px; color:var(--text); background:var(--surface-3); border:1px solid var(--border); border-radius:3px; padding:0 4px; overflow-wrap:anywhere; }
5592
+ .conn-int:empty { display:none; }
5593
+ .conn-int { display:grid; gap:6px; margin:0 0 7px; }
5594
+ .conn-choice { display:grid; gap:5px; margin:0; padding:0; border:0; min-width:0; }
5595
+ .conn-choice > legend { padding:0; margin-bottom:5px; }
5596
+ .conn-choice-option { display:grid; grid-template-columns:16px minmax(0,1fr); gap:8px; align-items:start; padding:6px 7px; border:1px solid var(--border); border-radius:4px; background:var(--surface); cursor:pointer; }
5597
+ .conn-choice-option:has(input:checked) { border-color:color-mix(in srgb, var(--accent) 45%, var(--border)); }
5598
+ .conn-choice-option input[type="radio"] { margin-top:1px; }
5599
+ .conn-choice-text { display:grid; gap:1px; min-width:0; }
5600
+ .conn-choice-text .conn-code { justify-self:start; }
5601
+ .graft-check-picker { display:grid; gap:8px; margin-top:8px; max-height:260px; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
5602
+ .graft-success-actions { display:grid; gap:6px; margin-top:12px; }
5479
5603
  #lib-discover-local { margin-right:0 !important; }
5480
5604
  .ws-spine { display:flex; align-items:center; gap:10px; }
5481
5605
  #ws-proj-name { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@@ -5735,16 +5859,27 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
5735
5859
  .ws-source-sub { font-size:12px; color:var(--text-dim); line-height:1.55; white-space:pre-line; }
5736
5860
  /* A refusal can explain several findings and next steps. Keep the existing Source surface, but
5737
5861
  present its copy as readable prose in both themes instead of a narrow, centered caption. */
5738
- .ws-source-placeholder[role="alert"] { overflow-y:auto; align-items:flex-start;
5862
+ /* The missing-catalogue question (#1836, data-asking) reads as the same left-aligned prose, but it
5863
+ is a question, not an error: polite status, the warning glyph colour, never --err. */
5864
+ .ws-source-placeholder[role="alert"], .ws-source-placeholder[data-asking="true"] { overflow-y:auto; align-items:flex-start;
5739
5865
  scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
5740
- .ws-source-placeholder[role="alert"]::-webkit-scrollbar { width:9px; }
5741
- .ws-source-placeholder[role="alert"]::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
5742
- .ws-source-placeholder[role="alert"]::-webkit-scrollbar-track { background:transparent; }
5743
- .ws-source-placeholder[role="alert"] .ws-source-inner { width:100%; max-width:620px; margin:auto; text-align:left; }
5866
+ .ws-source-placeholder[role="alert"]::-webkit-scrollbar, .ws-source-placeholder[data-asking="true"]::-webkit-scrollbar { width:9px; }
5867
+ .ws-source-placeholder[role="alert"]::-webkit-scrollbar-thumb, .ws-source-placeholder[data-asking="true"]::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
5868
+ .ws-source-placeholder[role="alert"]::-webkit-scrollbar-track, .ws-source-placeholder[data-asking="true"]::-webkit-scrollbar-track { background:transparent; }
5869
+ .ws-source-placeholder[role="alert"] .ws-source-inner, .ws-source-placeholder[data-asking="true"] .ws-source-inner { width:100%; max-width:620px; margin:auto; text-align:left; }
5744
5870
  .ws-source-placeholder[role="alert"] .ws-source-ico { margin:0 0 14px; font-size:28px; color:var(--err); }
5745
- .ws-source-placeholder[role="alert"] .ws-source-title { margin-bottom:9px; font-size:15px; }
5746
- .ws-source-placeholder[role="alert"] .ws-source-sub { max-width:68ch; color:var(--text-muted); font-size:13px; line-height:1.65; }
5747
- .ws-source-placeholder[role="alert"] .ws-source-actions { justify-content:flex-start; flex-wrap:wrap; }
5871
+ .ws-source-placeholder[data-asking="true"] .ws-source-ico { margin:0 0 14px; font-size:28px; color:var(--warn); }
5872
+ .ws-source-placeholder[role="alert"] .ws-source-title, .ws-source-placeholder[data-asking="true"] .ws-source-title { margin-bottom:9px; font-size:15px; }
5873
+ .ws-source-title:focus { outline:none; }
5874
+ .ws-source-title:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:3px; }
5875
+ .ws-source-placeholder[role="alert"] .ws-source-sub, .ws-source-placeholder[data-asking="true"] .ws-source-sub { max-width:68ch; color:var(--text-muted); font-size:13px; line-height:1.65; }
5876
+ .ws-source-placeholder[role="alert"] .ws-source-actions, .ws-source-placeholder[data-asking="true"] .ws-source-actions { justify-content:flex-start; flex-wrap:wrap; }
5877
+ .ws-source-files { list-style:none; margin:14px 0 0; padding:0; border:1px solid var(--border); border-radius:8px; font-size:12px; }
5878
+ .ws-source-files[hidden] { display:none; }
5879
+ .ws-source-files li { display:flex; gap:12px; align-items:baseline; padding:8px 12px; color:var(--text-muted); line-height:1.5; }
5880
+ .ws-source-files li + li { border-top:1px solid var(--border); }
5881
+ .ws-source-files code { flex:0 0 auto; min-width:86px; color:var(--text); font-family:var(--mono); }
5882
+ #ws-source-hint code { font-family:var(--mono); overflow-wrap:anywhere; }
5748
5883
  /* Import in flight: paintRevitSourceActions sets data-importing="true" on the pane, and the glyph
5749
5884
  gives way to a ring spinner — the editor's own .state-spinner recipe (revit-editor.css), reduced
5750
5885
  motion keeps the ring and drops the spin, like .kb-view-spin. The hook is data-importing rather