@floless/app 0.165.0 → 0.166.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.
@@ -237,7 +237,9 @@
237
237
  "properties": { "type": { "const": "parts-located" }, "datums": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": ["member-end", "work-point", "centreline", "main-part-edge"] } },
238
238
  "axes": { "enum": ["both", "along-member"] }, "byReference": { "type": "boolean" }, "exempt": { "$ref": "#/$defs/words" },
239
239
  "workPointTokens": { "$ref": "#/$defs/words" }, "noteTokens": { "$ref": "#/$defs/words" },
240
- "faceBounds": { "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number", "minimum": 0 } }, "holeGroups": { "type": "boolean" } } }
240
+ "faceBounds": { "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number", "minimum": 0 } }, "holeGroups": { "type": "boolean" },
241
+ "lineBreakPt": { "type": "number", "minimum": 0, "maximum": 3 },
242
+ "lineBreakSeen": { "type": "object", "additionalProperties": false, "required": ["breaks", "sheets"], "properties": { "breaks": { "type": "integer", "minimum": 0 }, "sheets": { "type": "integer", "minimum": 0 } } } } }
241
243
  ]
242
244
  }
243
245
  }
@@ -2,7 +2,7 @@
2
2
  name: floless-app-knowledge
3
3
  description: This skill should be used when there is a pending floless `knowledge-organize` or `knowledge-adjust` request — the user pressed Organize on a floless.app project's Knowledge step, or asked to reshape that project's knowledge base. Also triggers on asks like "organize my project knowledge base", "compile the project wiki", "drain my knowledge-organize request", or "fold these shop standards into the project's knowledge". It teaches the host AI to claim the server-owned organize lock, project the enabled reference sources into that project's vault, compile a cross-linked LLM-wiki into the server-minted generation directory, and publish it — never writing the server-owned manifest, pointer, or lock.
4
4
  metadata:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  ---
7
7
 
8
8
  # Organize a project's Knowledge Base
@@ -225,6 +225,13 @@ This is the step that makes toggling a source **actually** take effect.
225
225
  Surface conflicts rather than silently resolving them: if an RFI supersedes a standard, say which
226
226
  governs and cite both.
227
227
 
228
+ **Keep every value exactly as the source states it** — its units, its precision, its words. "35 mm"
229
+ stays "35 mm" and "75 microns" stays "75 microns"; never convert a page to another unit system and
230
+ never round a figure. The display-units block FloLess adds to each chat message is for what you tell
231
+ the person, not for what you write into a page. If a converted figure genuinely helps, write it after
232
+ the original, marked approximate: `35 mm (≈ 1 3/8")`. A page that rounds or converts anything says so
233
+ next to that number.
234
+
228
235
  ### 6. Lint, then publish
229
236
 
230
237
  Check the compiled `wikiDir` for broken `[[links]]`, duplicate slugs, orphan pages (no inbound link,
@@ -2,7 +2,7 @@
2
2
  name: floless-app-rfi
3
3
  description: File, send, and manage RFIs on a floless.app project from the terminal. Use when the user asks to raise an RFI, send it through the connected Gmail account, record a manual send, chase one, record an answer that came back from the engineer, mark an answer as applied, close or reopen an RFI, or asks what questions are still outstanding on a project. Also use when a size the AI could not work out is one the user cannot answer either, so the question has to become a durable record instead of a message that scrolls away.
4
4
  metadata:
5
- version: 0.8.0
5
+ version: 0.9.0
6
6
  ---
7
7
 
8
8
  # File and manage a project's RFIs
@@ -451,7 +451,12 @@ project's own RFIs-step store and use their own actions — the steel ones above
451
451
  by its `generationId` and `slug`) and, **on a General project only**, the saved sheets of the
452
452
  projects linked on its Modules step
453
453
  (by `linkedProjectUuid`, `pageId`, `sourceHash`). A linked project outside this chat's scope is
454
- named but not read: offer to add it to the scope, never work around it. Up to five citations.
454
+ named but not read: offer to add it to the scope, never work around it. On a **Trace or Drawing
455
+ Checker** project it also lists the project's own sheets under `own` (traced sheets; reference
456
+ drawings and the latest check's drawings): cite one by copying its `source`, `ref`, `pageNumber`,
457
+ `digest` (and `runId`) exactly. Revit and Tekla projects keep no sheets of their own. Up to five
458
+ citations. A refusal with `citationIndex` names the item that no longer matches: list again and
459
+ re-cite it, or ask the person whether to file without it.
455
460
  - **Filing:** `rfis.correspondence-file` (title, question, citations) records the question only.
456
461
  `rfis.correspondence-file-and-mark-sent` also records who it was sent to and is a card the person
457
462
  confirms — use it only after the person sent the email themself.
@@ -2,7 +2,7 @@
2
2
  name: floless-app-steel-model
3
3
  description: The front-door guide for turning a structural steel drawing set into an editable native steel.model/v2 model in floless.app. It orchestrates project setup, set knowledge, AWARE detailer agents, Drawing Filter review, registered plan views, model reading, connection detailing, clash checks, and exports. Use for asks such as "model this steel job from the drawings", "take off this whole set", "start a steel model project", or "/floless-app-steel-model". It is re-runnable and preserves the Filter → Save → read → review → History process end to end.
4
4
  metadata:
5
- version: 0.28.1
5
+ version: 0.28.3
6
6
  ---
7
7
 
8
8
  # Steel Model — guide a steel drawing set into an editable model
@@ -148,6 +148,9 @@ In a Quick read:
148
148
  cannot settle after trying, with your best recommendation, exactly as `floless-app-steel-takeoff`
149
149
  "Quick model reads" teaches. They are filed marked as the AI's and sent to nobody. The closing summary
150
150
  says how many you settled, how many you filed and where the rest stand.
151
+ - **Make precise is the person's.** A Quick model stays Quick until the person reviews each AI decision
152
+ in Make precise (the editor's AI decisions strip). You may open it (`steel.make-precise.review` lists
153
+ what is left) but never confirm one or say one is reviewed.
151
154
 
152
155
  ## The flow
153
156
 
@@ -7,7 +7,7 @@ description: >-
7
7
  two-phase Drawing Filter process: first prepare and save the deterministic Filter, then read only the
8
8
  selected evidence into model-global members, registered plan views, observations, and revision history.
9
9
  metadata:
10
- version: 0.91.0
10
+ version: 0.93.0
11
11
  ---
12
12
 
13
13
  ## Shared height study: server-owned reader claims
@@ -887,8 +887,11 @@ checks the claims:
887
887
  detail instead of asking the same question again. Page co-location is not enough, and neither is an
888
888
  inherited, multi-member, stale, foreign or differently-sized observation. The audit blocks an
889
889
  explicit invalid link; without exact authority leave the profile unresolved and keep its question.
890
- - **A value split across two text spans is normal** - quote it and cite *both* elements. Roughly a
891
- third of real feet-and-inch values are not in any single span.
890
+ - **A value split across two text spans is normal** - quote it in the page's order and cite *both*
891
+ elements. Citations take the 64-hex `id`; observations and dispositions the `el-...` `elementId`
892
+ as listed (on evidence pages that is the 64-hex string).
893
+ - **A Filter element can be a whole drawn path**: citing it accounts for all of it; an outline-only
894
+ one goes by `outlineOf` to the member owning most of it.
892
895
  - **Which of `evidence` and `noneFound` a page row carries is decided by the PAGE, not its role.** A page
893
896
  whose text adds up to at least 3 quotable characters must quote it (`evidence`), whatever its role, a
894
897
  text-bearing cover sheet included; a page with less (none, whitespace, a lone letter) carries
@@ -928,7 +931,7 @@ checks the claims:
928
931
  ways for one. Getting it right is on you.
929
932
  **World Z is 0 at the stated datum level (finished floor or ground), never the absolute EL.** With `FGL = EL +99.000`,
930
933
  EL 103.000 is `worldZ_mm` 4000. Write every endpoint and the grid's `z` levels relative to it (`"z": "0, 4000"`) and keep the EL in
931
- `labels_z`. Absolute ELs in mm leave the 3D grid at 0 and the steel 99 m above it. On a height card `asRead` may be the EL as drawn (`EL +103.000`, `value` 4000) when the row adds `datum: { name, asDrawn, worldZMm }`; the card shows the conversion. No datum stated: ask.
934
+ `labels_z`. On a height card `asRead` may be the EL as drawn (`EL +103.000`, `value` 4000) when the row adds `datum: { name, asDrawn, worldZMm }`; the card shows the conversion. No datum stated: ask.
932
935
 
933
936
  #### The honest limit of this step
934
937
 
@@ -984,8 +987,8 @@ rows to the same setup flow only after that study; do not ask them early merely
984
987
  ("1'-6" TOF west, 0'-0" east"). It is never forced into one number.
985
988
  2. Tell the person the card is in the chat; pause only dependent work and continue safe independent
986
989
  study or construction. Only they can answer: confirm a proposal, type a
987
- value, answer "no single level" or "none of these" with a note, or send a picture. They may add a
988
- source note and pictures to any answer. You can do none of these.
990
+ value, answer "no single level" or "none of these" with a note, or send a picture or an explanation.
991
+ They may add a note and pictures to any answer. You can do none of these.
989
992
  3. `GET` the same path. Each row has a `status` (`open`, `settled`, `picture`, `needs-new-choices`,
990
993
  `superseded`) and the person's `answer`.
991
994
  4. **Author exactly the settled values.** `mm_per_px` equal to the answer at 6 decimals. The answered
@@ -996,10 +999,11 @@ rows to the same setup flow only after that study; do not ask them early merely
996
999
  that would put a hanger's bottom above its top), ask THAT row again on a new card with
997
1000
  `conflict: "<one line saying why>"`. The person sees your reason beside their earlier answer, and
998
1001
  only what they answer next counts.
999
- 6. **"See snap"**: a row answered with only a picture (`status: "picture"`) is the person's evidence,
1000
- not a value. Look at it with `floless_evidence_read`, then ask that row again with
1002
+ 6. **"See snap"**: a row answered with a picture and/or a note but no value (`status: "picture"`) is the
1003
+ person's evidence, not a value. Text they typed that FloLess could not read as a value is kept whole as
1004
+ that note. Read the note, look at any picture with `floless_evidence_read`, then ask that row again with
1001
1005
  `fromEvidence: { questionId, n }` and your reading of it (level: `pictureReading: { value, asRead }`;
1002
- scale: `measured`; origin: `proposed`). The card tags it as your reading of their picture, and one
1006
+ scale: `measured`; origin: `proposed`). The card tags it as your reading of their picture or note, and one
1003
1007
  Confirm settles it. An origin answered "none of these" asks you to offer the points their note names.
1004
1008
 
1005
1009
  **On a first read, do not ask early level questions to populate the checkpoint shell.** It may keep
@@ -1039,12 +1043,10 @@ grid line's signed offset from `grid.origin`; later entries are positive gaps be
1039
1043
  lines. After expanding repetitions, N axes need N entries: one starting offset and N-1 gaps.
1040
1044
  For ten lines starting at the origin with 25-foot bays, write `0'-0", 9*25'-0"` (metric equivalent:
1041
1045
  `0mm, 9*7620mm`). Writing `10*25'-0"` also gives ten entries, but puts the first line 7620 mm from
1042
- the origin and shifts the whole run by one bay. Do not append a gap merely to satisfy an axis-count
1043
- error. Preserve intentional positive or negative starting offsets; use zero only when the first line
1044
- belongs at the origin. Check the expanded first and last positions against the drawing, not only the
1045
- count. If the starting offset is unclear, ask the user where the first line belongs, naming the sheet
1046
- and grid line with a link to the drawing; propose zero only as a stated option for them to confirm.
1047
- `grid.z` is different: its entries are absolute elevations, not cumulative gaps.
1046
+ the origin and shifts the whole run by one bay. Never add a gap to match a count; keep an intentional offset. Check the first and last lines against the drawing; if
1047
+ unsure, ask where the first one belongs (sheet, grid, link).
1048
+ `grid.z` is different: its entries are absolute elevations, not cumulative gaps; `grid.axes` needs a `z`
1049
+ row per level.
1048
1050
 
1049
1051
  Every plan view must declare `viewKind: "plan"`, `sheet`, `elevation_mm` (except a view the person
1050
1052
  answered "no single level" on the setup card, which states none), `mm_per_px` and two
@@ -1208,7 +1210,7 @@ initial read. Show the verified overlap to the user before submitting the full r
1208
1210
 
1209
1211
  One `plans[]` row is one drawing VIEW, not one page: a sheet carrying five elevations gets five rows
1210
1212
  sharing its `sheet`, each with its own `id`. An elevation or section registers with
1211
- `sourceRegistration`; see `references/elevation-registration.md`.
1213
+ `sourceRegistration`; see `references/elevation-registration.md` (also: where heights are read).
1212
1214
 
1213
1215
  **Narrow headless revision exception.** When floless.app's server-owned headless preamble says this is a
1214
1216
  phase-one-only `revision-read`, exposes only the immutable leased PDF sources plus the request-scoped
@@ -107,11 +107,25 @@ For every control, with `mmPerPoint = mm_per_px` and `(dx, dy)` its display offs
107
107
  world = worldOrigin + mmPerPoint * (dx * worldU − dy * worldV)
108
108
 
109
109
  Each control's stated `worldPoint` must equal that within 1e-6 mm. The minus on the `dy` term is the
110
- display-Y inversion; it is not a sign convention you may choose.
110
+ display-Y inversion; it is not a sign convention you may choose. Compute every control from the
111
+ `mm_per_px` exactly as you store it on the row: a scale rounded for storage after the controls were worked
112
+ out from the unrounded one is enough to miss 1e-6 mm, and the refusal then prints the control, the point
113
+ FloLess expected, the distance and the scale it used.
111
114
 
112
115
  The `mm_per_px` used is the VIEW's own, not the plan's, and it is required — a registration on a view
113
116
  without a positive one is refused (`source-registration-scale`).
114
117
 
118
+ ## Reading heights off an elevation
119
+
120
+ - **Anchor on drawn level lines, never on a level marker's position.** A ground line, a slab line or a
121
+ drawn flange is where its level is. An `EL` marker's text and arrow are often staggered on a leader to
122
+ keep them clear of each other, so where the marker sits says nothing about the height; read its value
123
+ and find the line it names. Check one anchored height against a second printed level before reading on.
124
+ - **A member read off an elevation sits on the line you observed.** An observation is one drawn straight
125
+ segment, so a beam drawn as two flange lines is observed on one of them. Its ends are then that face:
126
+ on the top flange line they are top of steel with `position: "top"`; on a drawn centre line, `"middle"`.
127
+ Say which line in the observation's reason, so the height and the `position` are read together.
128
+
115
129
  ## When to author it — and it is EARLIER than you think
116
130
 
117
131
  **On the Filter shell, or not at all until after Save - never half.** The shell is saved first and the
@@ -1,5 +1,14 @@
1
1
  app: college-phase-exporter
2
- version: 0.1.0
2
+ version: 0.2.0
3
+ publisher: floless
4
+ update-mode: source-only
5
+ changelog:
6
+ - version: 0.2.0
7
+ summary: Works with the current Microsoft 365, Trimble Connect and HTML Report tools.
8
+ changes:
9
+ - Asks for the workbook's SharePoint drive and file IDs instead of its sharing link, which the current Excel step needs.
10
+ - Reads the saved report and uploads its contents to Trimble Connect, and the upload now carries a safety check.
11
+ - The summary shows the uploaded file's Trimble Connect ID, and the Teams post works with the current Teams step.
3
12
  display-name: College — Phase Exporter
4
13
  description: |
5
14
  Reproduces the desktop "College - Phase Exporter" outcome on AWARE.
@@ -9,9 +18,10 @@ description: |
9
18
  exposes-as-agent: false
10
19
  requires:
11
20
  - tekla@0.1.x
12
- - microsoft-365@0.1.x
13
- - trimble-connect@0.1.x
14
- - html-report@0.1.x
21
+ - microsoft-365@0.2.x
22
+ - trimble-connect@0.2.x
23
+ - html-report@0.2.x
24
+ - file@1.0.x
15
25
  requires-permissions:
16
26
  filesystem:
17
27
  - write: '{{ inputs.report-dir }}'
@@ -23,50 +33,65 @@ nodes:
23
33
  - id: report
24
34
  agent: tekla
25
35
  command: report-create
36
+ description: Runs the "350 Advanced Bill" Tekla report for the chosen phase and saves it as an Excel file in the report folder.
26
37
  inputs:
27
38
  template: '350 Advanced Bill'
28
- scope: phase
39
+ selection: phase
29
40
  phase: '{{ inputs.phase }}'
30
41
  output-path: '{{ inputs.report-dir }}/BOM-Phase-{{ inputs.phase }}.xlsx'
31
42
  - id: excel
32
43
  agent: microsoft-365
33
44
  command: excel.range.write
45
+ description: Writes the phase number and the report's row count into the phase's worksheet of the SharePoint workbook.
34
46
  inputs:
35
- workbook: '{{ inputs.sharepoint-workbook-url }}'
47
+ drive-id: '{{ inputs.workbook-drive-id }}'
48
+ item-id: '{{ inputs.workbook-item-id }}'
36
49
  worksheet: 'Phase {{ inputs.phase }}'
37
50
  range: 'A1:B2'
38
51
  values:
39
52
  - ['Phase', 'Rows']
40
53
  - ['{{ inputs.phase }}', '{{ report.row-count }}']
41
54
  safety: { transaction-group: phase-export, snapshot: false }
55
+ - id: read-report
56
+ agent: file
57
+ command: read
58
+ description: Reads the saved report file so its contents can be uploaded to Trimble Connect.
59
+ inputs:
60
+ path: '{{ report.path }}'
61
+ encoding: base64
42
62
  - id: upload
43
63
  agent: trimble-connect
44
64
  command: upload
65
+ description: Uploads the report to the reports folder of the Trimble Connect project.
45
66
  inputs:
46
- project-id: '{{ inputs.tc-project-id }}'
47
67
  folder-id: '{{ inputs.tc-reports-folder-id }}'
48
- file-path: '{{ report.path }}'
68
+ filename: 'BOM-Phase-{{ inputs.phase }}.xlsx'
69
+ bytes: '{{ read-report.content }}'
70
+ safety: { transaction-group: tc-upload, snapshot: false }
49
71
  - id: summary
50
72
  agent: html-report
51
73
  command: render
74
+ description: Builds a one-page HTML summary of the export — the phase, the report file and its Trimble Connect file id.
52
75
  inputs:
53
76
  template: 'phase-export-summary'
54
77
  data:
55
78
  phase: '{{ inputs.phase }}'
56
79
  report: '{{ report.path }}'
57
- uploaded: '{{ upload.url }}'
80
+ trimble-connect-file-id: '{{ upload.file-id }}'
58
81
  output-path: '{{ inputs.report-dir }}/Phase-{{ inputs.phase }}-summary.html'
59
82
  - id: teams
60
83
  agent: microsoft-365
61
84
  command: teams.channel.post-message
85
+ description: Posts a short message to the project's Teams channel saying the phase report was exported and uploaded.
62
86
  inputs:
63
87
  team-id: '{{ inputs.teams-team-id }}'
64
88
  channel-id: '{{ inputs.teams-channel-id }}'
65
- message: 'BOM Phase {{ inputs.phase }} exported {{ run.date }}. Report uploaded to Trimble Connect.'
89
+ text: 'BOM Phase {{ inputs.phase }} exported {{ run.date }}. Report uploaded to Trimble Connect.'
66
90
  safety: { transaction-group: notify, snapshot: false }
67
91
  - id: email
68
92
  agent: microsoft-365
69
93
  command: outlook.mail.send-with-attachment
94
+ description: Emails the report, as an attachment, to the address given for notifications.
70
95
  inputs:
71
96
  to: ['{{ inputs.notify-email }}']
72
97
  subject: 'Done — Phase {{ inputs.phase }} BOM'
@@ -78,9 +103,10 @@ nodes:
78
103
  filename: 'BOM-Phase-{{ inputs.phase }}.xlsx'
79
104
  safety: { transaction-group: notify, snapshot: false }
80
105
  connections:
81
- - { from: report, to: excel }
82
- - { from: report, to: upload }
83
- - { from: report, to: summary }
84
- - { from: upload, to: summary }
85
- - { from: summary, to: teams }
86
- - { from: summary, to: email }
106
+ - { from: report, to: excel }
107
+ - { from: report, to: read-report }
108
+ - { from: read-report, to: upload }
109
+ - { from: report, to: summary }
110
+ - { from: upload, to: summary }
111
+ - { from: summary, to: teams }
112
+ - { from: summary, to: email }
@@ -1,5 +1,12 @@
1
1
  app: screenshot-to-saved-settings
2
- version: 0.1.0
2
+ version: 0.1.1
3
+ publisher: floless
4
+ update-mode: source-only
5
+ changelog:
6
+ - version: 0.1.1
7
+ summary: Works with the current HTML Report tool.
8
+ changes:
9
+ - Uses the HTML Report tool FloLess installs today, so the workflow is no longer marked out of date.
3
10
  display-name: Screenshot to Saved Settings
4
11
  description: |
5
12
  Reproduces the desktop "screenshot-to-saved-settings" outcome on AWARE,
@@ -27,16 +34,18 @@ inputs:
27
34
  description: The connection-schedule screenshot baked into config — swap it to re-read & re-bake.
28
35
  requires:
29
36
  - tekla@0.1.x
30
- - html-report@0.1.x
37
+ - html-report@0.2.x
31
38
  layout: linear
32
39
  nodes:
33
40
  # Deterministic write: one .j attribute file per compose-time-extracted row.
34
41
  - id: write-attributes
42
+ description: Goes through each row read from the connection-schedule screenshot, one at a time.
35
43
  for-each: '{{ config.schedule-rows }}'
36
44
  do:
37
45
  - id: save
38
46
  agent: tekla
39
47
  command: save-attributes
48
+ description: Saves the row's settings in Tekla as a saved-settings file named after its preset.
40
49
  config:
41
50
  joint-id: '{{ item.joint-id }}'
42
51
  filename: '{{ item.preset }}'
@@ -47,6 +56,7 @@ nodes:
47
56
  - id: summary
48
57
  agent: html-report
49
58
  command: render
59
+ description: Builds a one-page HTML summary listing every preset that was saved.
50
60
  config:
51
61
  template: 'schedule-import-summary'
52
62
  data:
package/dist/web/app.css CHANGED
@@ -6750,8 +6750,36 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6750
6750
  13px line, the 26px button is shorter than that, so it drops into the end slot without moving the
6751
6751
  pane below. min-height keeps that true if either side is ever restyled. */
6752
6752
  .ws-steps-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:37px; }
6753
- .ws-step-end { display:flex; align-items:center; gap:12px; min-width:0; padding-right:14px; }
6753
+ .ws-step-end { display:flex; align-items:center; gap:12px; min-width:0; padding-right:14px; flex:none; }
6754
+ /* A narrow window (or the AI Chat open beside the project) has less room than the step tabs need. The tabs give way
6755
+ and scroll sideways so the step's own control at the end of the row is never pushed off-screen; the scrollbar is
6756
+ hidden so the row keeps its height, a fade marks the side that has more tabs (data-fade, set by workspaces.js),
6757
+ and the focus ring is drawn inside the tab so the scroll box cannot clip it. */
6758
+ .ws-steps-row > .ws-step-tabs { flex:0 1 auto; min-width:0; overflow-x:auto; overflow-y:hidden; position:relative;
6759
+ scrollbar-width:none; overscroll-behavior-x:contain; }
6760
+ .ws-steps-row > .ws-step-tabs::-webkit-scrollbar { display:none; }
6761
+ .ws-steps-row > .ws-step-tabs[data-fade="end"] { mask-image:linear-gradient(to right, #000 calc(100% - 24px), transparent); }
6762
+ .ws-steps-row > .ws-step-tabs[data-fade="start"] { mask-image:linear-gradient(to left, #000 calc(100% - 24px), transparent); }
6763
+ .ws-steps-row > .ws-step-tabs[data-fade="both"] { mask-image:linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
6764
+ .ws-steps-row > .ws-step-tabs button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
6754
6765
  .ws-step-end .btn-mini[hidden] { display:none; }
6766
+ /* #2470 R6.5b: a module project's History step shows its approval ledger or its activity journal. A two-part switch
6767
+ in the end slot, the height of the attach button it never appears beside; the chosen part is filled, the other
6768
+ muted, and in forced colors the chosen part is the system highlight, so the choice never rests on color alone. */
6769
+ .ws-history-views { display:inline-flex; flex:none; border:1px solid var(--border-strong); border-radius:6px; overflow:hidden; }
6770
+ .ws-history-views[hidden] { display:none; }
6771
+ .ws-history-views button { background:none; border:0; color:var(--text-muted); padding:4px 10px; font:inherit; font-size:11px;
6772
+ line-height:16px; cursor:pointer; white-space:nowrap; }
6773
+ .ws-history-views button + button { border-left:1px solid var(--border-strong); }
6774
+ .ws-history-views button:hover { color:var(--text); }
6775
+ .ws-history-views button[aria-checked="true"] { background:var(--surface-2); color:var(--text); }
6776
+ /* Approvals before a Steel project's first model: muted like a locked step tab, still focusable so its tip explains why. */
6777
+ .ws-history-views button[aria-disabled="true"],
6778
+ .ws-history-views button[aria-disabled="true"]:hover { color:var(--text-dim); cursor:not-allowed; opacity:.62; }
6779
+ .ws-history-views button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
6780
+ @media (forced-colors: active) {
6781
+ .ws-history-views button[aria-checked="true"] { background:Highlight; color:HighlightText; forced-color-adjust:none; }
6782
+ }
6755
6783
  /* Up one level, sat against the "project" label. Icon-only and quiet: it is navigation, and it shares a
6756
6784
  row with Review & approve, which is the only control here entitled to a filled treatment. */
6757
6785
  .ws-back { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px;
@@ -7963,6 +7991,34 @@ tr.hist-diff-row[hidden] { display:none; }
7963
7991
  margin:0 auto collapses to 0 under 68ch, so a narrow pane degrades for free — no media query. */
7964
7992
  .kb-page-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
7965
7993
  .kb-page-body-measure { max-width: 68ch; margin: 0 auto; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; line-height: 1.6; color: var(--text); font-size: 14px; }
7994
+ /* #3003: a page rendered as markdown, like the chat viewers; its [[links]] are page titles. */
7995
+ .kb-page-body-measure.kb-page-md { white-space: normal; }
7996
+ .kb-page-md h1, .kb-page-md h2, .kb-page-md h3 { margin: 16px 0 8px; color: var(--text); font-weight: 600; line-height: 1.3; }
7997
+ .kb-page-md h1 { font-size: 18px; } .kb-page-md h2 { font-size: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--border); } .kb-page-md h3 { font-size: 14px; color: var(--text-muted); }
7998
+ .kb-page-md h4, .kb-page-md h5, .kb-page-md h6 { margin: 12px 0 6px; color: var(--text-muted); font-size: 14px; font-weight: 600; line-height: 1.3; }
7999
+ .kb-page-md hr { margin: 14px 0; border: 0; border-top: 1px solid var(--border); }
8000
+ .kb-page-md strong { font-weight: 600; }
8001
+ .kb-page-md img { max-width: 100%; height: auto; }
8002
+ .kb-page-md > :first-child { margin-top: 0; }
8003
+ .kb-page-md p { margin: 0 0 10px; }
8004
+ .kb-page-md ul, .kb-page-md ol { margin: 4px 0 10px; padding-left: 22px; }
8005
+ .kb-page-md li + li { margin-top: 3px; }
8006
+ .kb-page-md blockquote { margin: 6px 0 10px; padding: 6px 10px; border-left: 2px solid var(--border-strong); border-radius: 0 4px 4px 0; background: var(--surface-3); }
8007
+ .kb-page-md code { padding: 1px 4px; border-radius: 3px; background: var(--surface-3); color: var(--text); font: .9em var(--mono); }
8008
+ .kb-page-md pre { margin: 8px 0; padding: 8px; overflow-x: auto; border-radius: 4px; background: var(--surface-3); scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
8009
+ .kb-page-md pre code { padding: 0; background: transparent; white-space: pre; }
8010
+ .kb-page-md a { color: var(--accent); text-decoration: underline; }
8011
+ .kb-page-md table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 6px 0 10px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
8012
+ .kb-page-md th, .kb-page-md td { padding: 4px 8px; border: 1px solid var(--border); text-align: left; }
8013
+ .kb-page-md th { font-weight: 600; background: var(--surface-3); }
8014
+ .kb-page-md pre::-webkit-scrollbar, .kb-page-md table::-webkit-scrollbar { height: 10px; }
8015
+ .kb-page-md pre::-webkit-scrollbar-thumb, .kb-page-md table::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
8016
+ .kb-page-md pre::-webkit-scrollbar-track, .kb-page-md table::-webkit-scrollbar-track { background: transparent; }
8017
+ button.kb-wikilink, .ai-chat-source-viewer button.kb-wikilink { appearance: none; display: inline; margin: 0; padding: 0; border: 0; border-radius: 2px; background: none; color: var(--accent); font: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
8018
+ button.kb-wikilink:hover, .ai-chat-source-viewer button.kb-wikilink:hover { background: none; color: var(--accent-bright); text-decoration-thickness: 2px; }
8019
+ button.kb-wikilink:focus-visible, .ai-chat-source-viewer button.kb-wikilink:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 3px; background: var(--accent-soft); }
8020
+ .kb-wikilink.missing { color: var(--text-muted); text-decoration: underline dotted; text-decoration-color: var(--border-strong); text-underline-offset: 2px; cursor: help; }
8021
+ @media (forced-colors: active) { button.kb-wikilink { color: LinkText; } }
7966
8022
  .kb-page-body::-webkit-scrollbar { width: 10px; }
7967
8023
  .kb-page-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
7968
8024
  .kb-page-body::-webkit-scrollbar-track { background: transparent; }
@@ -8364,6 +8420,11 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
8364
8420
  .ws-rfis .pr-delivery-held { color:var(--text); }
8365
8421
  /* #2470 R6.6e: the sends FloLess couldn't confirm, listed under their disclosure. */
8366
8422
  .ws-rfis .pr-settled { margin:4px 0 0; padding-left:18px; display:grid; gap:2px; }
8423
+ /* #2470 R6.6d: an RFI's earlier rounds, oldest first, under its current round. Existing tokens only. */
8424
+ .ws-rfis .pr-rounds { list-style:none; margin:6px 0 0; padding:0; display:grid; gap:8px; }
8425
+ .ws-rfis .pr-round-head { margin:0; font-size:12px; font-weight:600; color:var(--text-muted); }
8426
+ .ws-rfis .pr-rounds .pr-settled { white-space:normal; }
8427
+ .ws-rfis .pr-rounds-body:empty { display:none; }
8367
8428
  .ws-rfis [data-pr-delivery-note]:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:3px; }
8368
8429
  .pr-radios { display:flex; flex-direction:column; gap:4px; }
8369
8430
  .pr-radio { display:flex; align-items:flex-start; gap:8px; text-align:left; padding:5px 8px; border:1px solid transparent; border-radius:5px; background:transparent; color:var(--text); cursor:pointer; }
package/dist/web/aware.js CHANGED
@@ -19862,9 +19862,9 @@
19862
19862
  }
19863
19863
  return window.flolessChat.startProjectIntake(submissionId, payload);
19864
19864
  },
19865
- async resumeProjectChatIntake(submissionId) {
19865
+ async resumeProjectChatIntake(submissionId, options) {
19866
19866
  if (typeof window.flolessChat?.resumeProjectIntake !== 'function') return null;
19867
- return window.flolessChat.resumeProjectIntake(submissionId);
19867
+ return window.flolessChat.resumeProjectIntake(submissionId, options);
19868
19868
  },
19869
19869
  async openChatConversation(chatId) {
19870
19870
  if (typeof window.flolessChat?.openConversation !== 'function') {
@@ -273,7 +273,9 @@
273
273
  box = el('div', 'ai-chat-ask-other');
274
274
  const line = el('div', 'ai-chat-ask-other-line');
275
275
  const input = control('input', key('other-input'), question.header || 'your answer', 'ai-chat-ask-other-input');
276
- input.type = 'text'; input.autocomplete = 'off'; input.maxLength = 1000; input.spellcheck = true;
276
+ input.type = 'text'; input.autocomplete = 'off'; input.spellcheck = true;
277
+ // A card that keeps unreadable text as a note checks its own length on Submit and keeps the draft; nothing is cut here.
278
+ if (!question.otherUncapped) input.maxLength = 1000;
277
279
  input.placeholder = question.otherPlaceholder || 'Type your answer';
278
280
  input.setAttribute('aria-label', question.otherInputLabel || `Your own answer to: ${question.question}`);
279
281
  input.value = row.other;
package/dist/web/chat.css CHANGED
@@ -1167,6 +1167,14 @@
1167
1167
  /* #2642: the person went on with the claim as an assumption. Decided, so no warn edge; dashed, so never a source. */
1168
1168
  .ai-chat-source.assumed { flex-wrap: wrap; max-width: 100%; border-style: dashed; border-color: var(--border-strong); }
1169
1169
  .ai-chat-source.assumed .ai-chat-source-why { color: var(--text-muted); white-space: normal; overflow-wrap: anywhere; }
1170
+ /* #3000: the claim an assumption is about, in the answer's words, as the unresolved chip names what was cited. */
1171
+ .ai-chat-source.assumed .ai-chat-source-cited { color: var(--text); font: 9.5px/1.25 var(--mono); white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1172
+ /* #3000: sources no claim uses. After the claims' sources, below a hairline; quiet, never the warn edge of a claim. */
1173
+ .ai-chat-sources-head.also { margin-top: 2px; padding-top: 5px; border-top: 1px solid var(--border); align-self: stretch; }
1174
+ .ai-chat-source.consulted { border-color: var(--border-strong); background: transparent; }
1175
+ .ai-chat-source.consulted.not-found { flex-wrap: wrap; max-width: 100%; border-style: dashed; }
1176
+ .ai-chat-source.consulted.not-found .ai-chat-source-cited { color: var(--text-muted); font: 9.5px/1.25 var(--mono); white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
1177
+ .ai-chat-source.consulted.not-found .ai-chat-source-why { color: var(--text-muted); white-space: normal; overflow-wrap: anywhere; }
1170
1178
  /* #2643: the ways on from a claim with no source wrap between buttons, never inside one; a chosen source says so in words. */
1171
1179
  .ai-chat-source .ai-chat-source-actions { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%; }
1172
1180
  .ai-chat-source button.ai-chat-source-action.quiet { border-color: transparent; background: transparent; color: var(--text-muted); }
@@ -1249,6 +1257,8 @@
1249
1257
  small sizes, so the provenance marks, the Assumption tag and the "?" marker take the darker slate the chat uses. */
1250
1258
  [data-theme="light"] .ai-chat-source .ai-chat-source-marks,
1251
1259
  [data-theme="light"] .ai-chat-sources-head,
1260
+ [data-theme="light"] .ai-chat-source.consulted.not-found .ai-chat-source-cited,
1261
+ [data-theme="light"] .ai-chat-source.consulted.not-found .ai-chat-source-why,
1252
1262
  [data-theme="light"] .ai-chat-message-body .ai-chat-assume { color: #475569; }
1253
1263
  [data-theme="light"] .ai-chat-message-body button.ai-chat-cite.unresolved { color: var(--text); }
1254
1264
  [data-theme="light"] .ai-chat-source .ai-chat-source-note.warn { color: var(--text); }