@floless/app 0.164.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.7.0
5
+ version: 0.9.0
6
6
  ---
7
7
 
8
8
  # File and manage a project's RFIs
@@ -39,6 +39,13 @@ And the user always ends with a model. An RFI carries a question forward; it nev
39
39
  2. Resolve the project with the `projects.list` action (`floless-app do projects.list --json`; the
40
40
  list is in `data`). Keep the returned `id` and `app`; never build an id
41
41
  from a display name. If the name is ambiguous, ask the user to choose.
42
+ 3. **Pick the store by the project's kind.** A **steel** project (`app` `steel-model`, or a workflow
43
+ derived from it) keeps its RFIs in its own store: use the `rfis.*` actions below. Every other kind
44
+ that has an RFIs step — **General** (`floless-general`), **Trace** (`vectorize`), **Revit**
45
+ (`revit-model`), **Tekla** (`tekla-parser`) and **Drawing Checker** (`drawing-check`) — keeps
46
+ them on that step: use the `rfis.correspondence-*` actions in *RFIs on a project's RFIs step* below.
47
+ If an action answers `not-general` the project is a steel one; `rfis-not-here` means this kind of
48
+ project keeps no RFIs, so say so and offer to raise it on the project it is about.
42
49
 
43
50
  **A healthy server is not a usable one.** The workspace API is behind a subscription gate. Any RFI call
44
51
  can answer `402 {ok:false, error:"subscription required", state, reason, signInUrl}` — report `state`,
@@ -430,19 +437,26 @@ record actually says — never retry blind, and never invent a reason of your ow
430
437
  Never paper over a refusal. Quote the sentence the server gave — it is written for the user, and it
431
438
  names the way forward.
432
439
 
433
- ## A General project's RFIs (correspondence)
440
+ ## RFIs on a project's RFIs step (General, Trace, Revit, Tekla, Drawing Checker)
434
441
 
435
- A **General** project (`app` is `floless-general`) has no model, so its RFIs are questions in words.
436
- They live in their own store and use their own actions — the steel ones above do not apply to it:
442
+ A **General** project has no model, and a **Trace**, **Revit**, **Tekla** or **Drawing Checker** project
443
+ keeps its questions apart from its model, so their RFIs are questions in words. They live in the
444
+ project's own RFIs-step store and use their own actions — the steel ones above do not apply to them:
437
445
 
438
446
  - **Read first:** `rfis.correspondence-list` gives `rootId`, `project.uuid` and every RFI with its
439
447
  `status` (`open | sent | answered | closed`), `recordRevision`, the `verbs` legal now, and each
440
448
  citation's `state`. Every write below names that `rootId` and `projectUuid`; a change to either
441
449
  answers `project-changed` — read the list again.
442
450
  - **What can be cited:** `rfis.correspondence-citable` lists this project's Knowledge pages (cite one
443
- by its `generationId` and `slug`) and the saved sheets of the projects linked on its Modules step
451
+ by its `generationId` and `slug`) and, **on a General project only**, the saved sheets of the
452
+ projects linked on its Modules step
444
453
  (by `linkedProjectUuid`, `pageId`, `sourceHash`). A linked project outside this chat's scope is
445
- 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.
446
460
  - **Filing:** `rfis.correspondence-file` (title, question, citations) records the question only.
447
461
  `rfis.correspondence-file-and-mark-sent` also records who it was sent to and is a card the person
448
462
  confirms — use it only after the person sent the email themself.
@@ -473,6 +487,17 @@ They live in their own store and use their own actions — the steel ones above
473
487
  - **A set-aside store:** when the list says the RFI file couldn't be read, the person restores a good
474
488
  copy and `rfis.correspondence-repair` checks it. Never edit the file.
475
489
 
490
+ ### From a Drawing Checker finding
491
+
492
+ A Drawing Checker finding offers a paste-ready request that starts *"Use the floless-app-rfi skill to
493
+ raise an RFI for this Drawing Checker finding"* and names the sheet, the check, the finding and the run.
494
+ File it on **that Drawing Checker project's** RFIs step with `rfis.correspondence-file`: a title that
495
+ names the sheet and the check, and a question built from the finding in the person's words — ask them
496
+ first, as for any RFI. Cite a Knowledge page only if one really applies. Then reply with the RFI's
497
+ reference (`RFI-001`, …) so the person can record it on the finding. Nothing links the two by
498
+ itself: the finding keeps the reference the person typed, and the RFI keeps its own lifecycle. Do not
499
+ claim an answer to the RFI changes the finding.
500
+
476
501
  ## Say it back
477
502
 
478
503
  An RFI filed in silence is the silence this design exists to delete. After every write, tell the user
@@ -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
@@ -4478,14 +4478,18 @@
4478
4478
  amber already reads (6.9:1); the light theme needs the darker one (routine-warning-contrast.test.ts). */
4479
4479
  --warn-text: hsl(38 92% 50%);
4480
4480
  --info: hsl(217.2 91.2% 59.8%);
4481
- /* FloLess's three parts in floless-web's role colours (owner, 2026-10-19: "same as floless web"): bright on
4481
+ /* FloLess's three parts in role colours that started as floless-web's (owner, 2026-10-19: "same as floless web"),
4482
+ with Agents and Workflows departing by the rulings below: bright on
4482
4483
  dark, ink on light, as its living logo draws them; -mark stays bright in both (the underline under an ink
4483
4484
  word). The mode tabs' icons use them, and so does Flo's scene on the chat's start screens (chat.css).
4484
4485
  Agents departs from floless-web's yellow on the owner's ruling (2026-10-19, chosen from ten pink and violet
4485
4486
  tones as "Grape"): violet, a light ink over a deeper mark on dark, so Flo's ring and the outline of its hat
4486
- stand apart from the hat, and a deep ink over a brighter mark on light. */
4487
- --part-ws: #3b82f6; --part-wf: #4ade80; --part-ag: #c4b5fd;
4488
- --part-ws-mark: #3b82f6; --part-wf-mark: #4ade80; --part-ag-mark: #6d28d9;
4487
+ stand apart from the hat, and a deep ink over a brighter mark on light.
4488
+ Workflows departs from floless-web's green on the owner's ruling (2026-10-29, chosen from eight greens as
4489
+ "Spring"): a vivid ink over a slightly deeper mark on dark, and a deep ink on light over that same mark,
4490
+ which the light block inherits rather than overrides. */
4491
+ --part-ws: #3b82f6; --part-wf: #00e676; --part-ag: #c4b5fd;
4492
+ --part-ws-mark: #3b82f6; --part-wf-mark: #00c853; --part-ag-mark: #6d28d9;
4489
4493
  }
4490
4494
 
4491
4495
  [data-theme="light"] {
@@ -4511,7 +4515,7 @@
4511
4515
  --err-text: hsl(0 73.7% 41.8%); /* Tailwind red-700 — see --err-text above (#1864) */
4512
4516
  --warn-text: hsl(26 90.5% 37.1%); /* Tailwind amber-700 — see --warn-text above */
4513
4517
  --info: hsl(221.2 83.2% 53.3%);
4514
- --part-ws: #1d4ed8; --part-wf: #166534; /* floless-web --role-*-ink; see --part-* above */
4518
+ --part-ws: #1d4ed8; --part-wf: #007e33; /* floless-web --role-ws-ink; Spring's ink. Both marks inherit :root's; see --part-* above */
4515
4519
  --part-ag: #5b21b6; --part-ag-mark: #7c3aed; /* Grape on light: the owner's Agents tone, see above */
4516
4520
  }
4517
4521
 
@@ -6746,8 +6750,36 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
6746
6750
  13px line, the 26px button is shorter than that, so it drops into the end slot without moving the
6747
6751
  pane below. min-height keeps that true if either side is ever restyled. */
6748
6752
  .ws-steps-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:37px; }
6749
- .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; }
6750
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
+ }
6751
6783
  /* Up one level, sat against the "project" label. Icon-only and quiet: it is navigation, and it shares a
6752
6784
  row with Review & approve, which is the only control here entitled to a filled treatment. */
6753
6785
  .ws-back { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px;
@@ -7959,6 +7991,34 @@ tr.hist-diff-row[hidden] { display:none; }
7959
7991
  margin:0 auto collapses to 0 under 68ch, so a narrow pane degrades for free — no media query. */
7960
7992
  .kb-page-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
7961
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; } }
7962
8022
  .kb-page-body::-webkit-scrollbar { width: 10px; }
7963
8023
  .kb-page-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
7964
8024
  .kb-page-body::-webkit-scrollbar-track { background: transparent; }
@@ -8360,6 +8420,11 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
8360
8420
  .ws-rfis .pr-delivery-held { color:var(--text); }
8361
8421
  /* #2470 R6.6e: the sends FloLess couldn't confirm, listed under their disclosure. */
8362
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; }
8363
8428
  .ws-rfis [data-pr-delivery-note]:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:3px; }
8364
8429
  .pr-radios { display:flex; flex-direction:column; gap:4px; }
8365
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
@@ -5608,7 +5608,9 @@
5608
5608
  // No Drive choice is sent: the server keeps whatever Drive access the account already has.
5609
5609
  api(`/api/connect/${encodeURIComponent(cred.id)}`, { method: 'POST', body: '{}' })
5610
5610
  .then((res) => { if (res && res.started === false) reset(typeof res.message === 'string' ? res.message : 'Couldn’t start sign-in. Open Integrations to try again.'); })
5611
- .catch(() => reset(CRED_SIGN_IN_FAILED));
5611
+ // A sign-in still running for this service (a 409 busy lock) says so in its own sentence.
5612
+ .catch((e) => reset(e?.status === 409 && e.body?.code === 'lifecycle-busy' && typeof e.body.error === 'string'
5613
+ ? e.body.error : CRED_SIGN_IN_FAILED));
5612
5614
  }
5613
5615
 
5614
5616
  // Shared by both run paths: when the server flags a credential issue, show the
@@ -15723,6 +15725,7 @@
15723
15725
 
15724
15726
  // #2649: what Google actually granted an account (people can untick a permission on Google's screen).
15725
15727
  const GOOGLE_INTEGRATION_ID = 'google-workspace';
15728
+ const MICROSOFT_INTEGRATION_ID = 'microsoft-365';
15726
15729
  function googleAccessLine(granted, alias) {
15727
15730
  // Gmail sending is what emails RFIs, so its absence is the one real fault; a missing Drive list is a choice.
15728
15731
  if (!granted.gmail) return `Gmail sending isn’t allowed, so FloLess can’t email RFIs. Click ${alias ? 'Reconnect this account' : 'Reconnect'} and leave Gmail sending ticked on Google’s screen.`;
@@ -15757,6 +15760,9 @@
15757
15760
  else if (ready) { state = 'Ready for AI Chat'; stateClass = 'is-chat-ready'; why = 'This verified account can be selected in AI Chat.'; }
15758
15761
  else if (slot.status === 'expired') { state = 'Reconnect for AI Chat'; stateClass = 'is-chat-warning'; why = 'This account’s sign-in has expired. Reconnect it to use it in AI Chat.'; }
15759
15762
  else if (slot.status !== 'valid') { state = 'Connect for AI Chat'; stateClass = 'is-chat-warning'; }
15763
+ // The installed tool cannot check accounts at all (`call-unsupported`): no sign-in changes that, so asking for a
15764
+ // Reconnect would loop, and with no proven command path nothing here may claim it is ready.
15765
+ else if (slot.unavailableCode === 'call-unsupported') { why = 'This account is signed in, but FloLess can’t check which account it is yet, so AI Chat can’t use it. Reconnecting won’t change that, so there’s nothing you need to do.'; }
15760
15766
  else if (!verified) { state = 'Reconnect to verify account'; stateClass = 'is-chat-warning'; why = 'FloLess could not verify this account. Reconnect it to use it in AI Chat.'; }
15761
15767
  if (!why && slot.unavailableCode === 'scope-missing' && integration.id === 'google-workspace') {
15762
15768
  why = `AI Chat lists your Drive files, so it needs the Drive file list. Tick “also let FloLess list your Google Drive files” and click ${slot.alias ? 'Reconnect this account' : 'Reconnect'} to allow it.`;
@@ -15861,9 +15867,7 @@
15861
15867
  notice = '<div class="int-notice" role="note">FloLess has its own Google sign-in. Click Reconnect to switch to it. Your current sign-in keeps working until then.</div>';
15862
15868
  }
15863
15869
  // Connected cards reconnect with the same Drive choice the checkbox shows, preset to what Google allows now.
15864
- const reconnect = i.status !== 'connected' ? ''
15865
- : '<button class="int-action" type="button" data-int="google-workspace" data-int-action="connect"'
15866
- + ` data-command-id="shell.integrations-connect#${escapeAttr(i.id)}" data-command-instance-label="${escapeAttr(i.name)}">Reconnect</button>`;
15870
+ const reconnect = i.status !== 'connected' ? '' : reconnectButtonHtml(i);
15867
15871
  // Shown only when the person clears a Drive permission Google already holds: Google keeps it until it is removed there.
15868
15872
  // The person's own Google app decides what Google asks for (its file may list scopes), so FloLess offers no choice.
15869
15873
  const ownApp = access.client === 'own';
@@ -15881,12 +15885,23 @@
15881
15885
  return { notice, reconnect, driveNote, driveChoice, deviceCodeAvailable: access.deviceCodeAvailable !== false };
15882
15886
  }
15883
15887
 
15888
+ /** A connected card's Reconnect: a new sign-in for the default account, through Connect's own route and carrier. */
15889
+ function reconnectButtonHtml(i) {
15890
+ return `<button class="int-action" type="button" data-int="${escapeAttr(i.id)}" data-int-action="connect"`
15891
+ + ` data-command-id="shell.integrations-connect#${escapeAttr(i.id)}" data-command-instance-label="${escapeAttr(i.name)}">Reconnect</button>`;
15892
+ }
15893
+
15884
15894
  /** One OAuth integration's card (#2649: a named function, so its rendered carriers and controls are tested). */
15885
15895
  function integrationCardHtml(i) {
15886
15896
  const action = i.status === 'connected' ? 'Disconnect' : i.status === 'expired' ? 'Reconnect' : 'Connect';
15887
15897
  const badge = i.status === 'connected' ? 'Connected' : i.status === 'expired' ? 'Token expired' : 'Not connected';
15888
15898
  const meta = i.status === 'disconnected' ? '—' : i.expiresAt ? `expires ${new Date(i.expiresAt).toLocaleString()}` : 'connected';
15889
15899
  const google = i.id === GOOGLE_INTEGRATION_ID ? googleCardParts(i) : null;
15900
+ // 2026-10-29 plan, Phase 1: a connected Microsoft card reconnects too. That moves the DEFAULT account's sign-in from
15901
+ // AWARE's app to FloLess's own (identity only for now), and gives the default account a new sign-in without
15902
+ // Disconnect when its row asks for one.
15903
+ const reconnect = google ? google.reconnect
15904
+ : i.id === MICROSOFT_INTEGRATION_ID && i.status === 'connected' ? reconnectButtonHtml(i) : '';
15890
15905
  return `
15891
15906
  <div class="int-item int-${i.status}" data-integration-id="${escapeAttr(i.id)}" tabindex="-1">
15892
15907
  <div class="int-icon" aria-hidden="true">${escapeHtml(VENDOR_ICON[i.vendor] || (i.name[0] || '?'))}</div>
@@ -15901,7 +15916,7 @@
15901
15916
  <div class="int-row">
15902
15917
  <span class="int-badge int-badge-${i.status}">${badge}</span>
15903
15918
  <span class="int-recovery-actions">
15904
- ${google ? google.reconnect : ''}
15919
+ ${reconnect}
15905
15920
  <button class="int-action" data-int="${escapeAttr(i.id)}" data-int-action="${action.toLowerCase()}"${action === 'Disconnect' ? '' : ` data-command-id="shell.integrations-connect#${escapeAttr(i.id)}" data-command-instance-label="${escapeAttr(i.name)}"`}>${action}</button>
15906
15921
  </span>
15907
15922
  </div>
@@ -16141,9 +16156,11 @@
16141
16156
  }
16142
16157
  } catch (e) {
16143
16158
  connecting.delete(id);
16144
- // #2649: the route's own refusal (an account name it cannot use) is shown where the person clicked. Only a 400 is
16145
- // the route's sentence; anything else goes to the usual error report.
16146
- const said = e && e.status === 400 && e.body && typeof e.body.error === 'string' ? e.body.error : '';
16159
+ // #2649: the route's own refusal (an account name it cannot use, a 400) and a sign-in still running for this service
16160
+ // (a 409 busy lock, whose sentence names it) are shown where the person clicked; anything else goes to the usual
16161
+ // error report.
16162
+ const own = e && (e.status === 400 || (e.status === 409 && e.body?.code === 'lifecycle-busy'));
16163
+ const said = own && e.body && typeof e.body.error === 'string' ? e.body.error : '';
16147
16164
  if (slot) slot.innerHTML = said ? escapeHtml(said) : '';
16148
16165
  if (!said) reportErr(e);
16149
16166
  }
@@ -19845,9 +19862,9 @@
19845
19862
  }
19846
19863
  return window.flolessChat.startProjectIntake(submissionId, payload);
19847
19864
  },
19848
- async resumeProjectChatIntake(submissionId) {
19865
+ async resumeProjectChatIntake(submissionId, options) {
19849
19866
  if (typeof window.flolessChat?.resumeProjectIntake !== 'function') return null;
19850
- return window.flolessChat.resumeProjectIntake(submissionId);
19867
+ return window.flolessChat.resumeProjectIntake(submissionId, options);
19851
19868
  },
19852
19869
  async openChatConversation(chatId) {
19853
19870
  if (typeof window.flolessChat?.openConversation !== 'function') {