@floless/app 0.162.0 → 0.163.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.
- package/dist/floless-server.cjs +11754 -8096
- package/dist/schemas/steel.model.v2.schema.json +16 -2
- package/dist/skills/floless-app-actions/SKILL.md +54 -3
- package/dist/skills/floless-app-onboarding/SKILL.md +2 -2
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +8 -6
- package/dist/skills/floless-app-report-issue/SKILL.md +12 -1
- package/dist/skills/floless-app-rfi/SKILL.md +36 -9
- package/dist/skills/floless-app-steel-model/SKILL.md +5 -3
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +39 -34
- package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +10 -6
- package/dist/web/agents.js +24 -4
- package/dist/web/app.css +45 -7
- package/dist/web/app.js +22 -3
- package/dist/web/aware.js +157 -43
- package/dist/web/chat.css +26 -1
- package/dist/web/chat.js +32 -8
- package/dist/web/commands-shell.js +190 -4
- package/dist/web/commands-steel.js +14 -0
- package/dist/web/failure-copy.js +168 -0
- package/dist/web/index.html +35 -1
- package/dist/web/instructor.js +3 -1
- package/dist/web/landing-sort.js +277 -0
- package/dist/web/model-editor-steel-adapter.js +3 -0
- package/dist/web/model-panel-bridge.js +13 -2
- package/dist/web/model-view-query.js +23 -15
- package/dist/web/project-access.js +3 -3
- package/dist/web/project-rfis.js +250 -7
- package/dist/web/project-workflows.js +1 -1
- package/dist/web/steel-3d-view.js +8 -1
- package/dist/web/steel-editor.html +441 -12
- package/dist/web/steel-filter-core.js +2 -0
- package/dist/web/steel-filter.html +38 -5
- package/dist/web/steel-model-v2-commands.js +3 -1
- package/dist/web/steel-profile-colours.js +124 -24
- package/dist/web/workspaces.js +243 -38
- package/package.json +1 -1
|
@@ -304,7 +304,20 @@
|
|
|
304
304
|
"rfiRef": { "type": "string", "minLength": 1, "description": "Optional reference to the RFI raised for this unknown." },
|
|
305
305
|
"why": { "type": "string", "minLength": 1, "maxLength": 600, "description": "See $defs/gapFacts. Optional in the schema, required by the audit - silence is the one content refusal left." },
|
|
306
306
|
"checked": { "type": "array", "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "See $defs/gapFacts." },
|
|
307
|
-
"candidates": { "$ref": "#/$defs/elevationCandidates" }
|
|
307
|
+
"candidates": { "$ref": "#/$defs/elevationCandidates" },
|
|
308
|
+
"estimate": { "$ref": "#/$defs/provisionalEstimate" }
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"provisionalEstimate": {
|
|
312
|
+
"type": "object",
|
|
313
|
+
"required": ["value", "how", "basis"],
|
|
314
|
+
"additionalProperties": false,
|
|
315
|
+
"description": "The reader's PROVISIONAL ESTIMATE for an end the drawings do not settle (#2873). Owner ruling 2026-10-28: a member whose height is genuinely missing is modelled at a useful estimate and linked to an open RFI, rather than left out or dropped onto a plan's cut plane. The server places the end at `value` and marks it `assumed`, so it is built, visible and selectable, and NOTHING treats it as evidence: it is never scored, never anchors another member, is priced only as assumed, offers no one-click Confirm, and its question stays open until a person states the height. Allowed on a member end's unknown arm (reader) and carried onto the assumed arm (server); never on an observation or a proven height.",
|
|
316
|
+
"properties": {
|
|
317
|
+
"value": { "type": "number", "description": "The estimated top of steel in world mm (Z-up), on the model's datum." },
|
|
318
|
+
"how": { "enum": ["derived", "measured", "assumption"], "description": "`derived`: worked out from other stated values (a beam depth per a detail, a datum plus a dimension). `measured`: scaled off a drawing with a valid scale. `assumption`: an explicit engineering assumption nothing drawn supports - the weakest kind, said as such." },
|
|
319
|
+
"basis": { "type": "string", "minLength": 1, "maxLength": 300, "pattern": "\\S", "description": "Plain English: how the value was worked out or what was assumed, naming the sheet or detail it rests on (e.g. `top matches the bottom of the existing column stiffener per 4/S-517; stiffener level scaled on S-303`)." },
|
|
320
|
+
"page": { "$ref": "#/$defs/checkedPage", "description": "The manifest page the estimate rests on, when one does; validated against the read's manifest." }
|
|
308
321
|
}
|
|
309
322
|
},
|
|
310
323
|
"assumedElevation": {
|
|
@@ -317,7 +330,8 @@
|
|
|
317
330
|
"assumed": { "const": true },
|
|
318
331
|
"why": { "type": "string", "minLength": 1, "maxLength": 1000, "description": "Plain English: what the set does say, and why it does not settle this endpoint. Read by `gapFactsStated`, which refuses a blank or template value. The server's own placement sentence, followed by the reader's `why` verbatim when the reader submitted the end as unknown (#1735) - hence 1000, not 600: the longest server sentence with a 40-character sheet name, the joining phrase, and a full 600-character reader `why`, with nothing cut from the stored reason (a published question, capped separately, shortens only this reason and keeps its sheet list)." },
|
|
319
332
|
"checked": { "type": "array", "minItems": 1, "maxItems": 20, "items": { "$ref": "#/$defs/checkedPage" }, "description": "The pages actually read. At least one, and the audit additionally requires one the manifest holds — a question pointing at a drawing nobody read is worse than no question." },
|
|
320
|
-
"candidates": { "$ref": "#/$defs/elevationCandidates", "description": "Carried verbatim from the reader's unknown end when the server places it (#1723). Never used to place anything." }
|
|
333
|
+
"candidates": { "$ref": "#/$defs/elevationCandidates", "description": "Carried verbatim from the reader's unknown end when the server places it (#1723). Never used to place anything." },
|
|
334
|
+
"estimate": { "$ref": "#/$defs/provisionalEstimate", "description": "Carried verbatim from the reader's unknown end (#2873). When it is what the server placed the end at, `known` equals `value` and `why` says so; a later move can leave them apart, and then the estimate is history, not the current basis." }
|
|
321
335
|
}
|
|
322
336
|
},
|
|
323
337
|
"answeredElevation": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-actions
|
|
3
3
|
description: Drive floless.app from the terminal through its action catalog — the same live list of everything the FloLess UI can do that the in-app AI chat uses. Use this skill whenever the user asks you (an AI working in their terminal) to do something IN FloLess — list projects or workflows, check a workflow's last run, run a workflow, run a routine now, archive or bring back a project, check queued requests, check tool updates — or says "use floless-app do", "what can floless do from here", "run my dummy-report workflow", "archive that project". It teaches the three verbs (`floless-app actions` to discover, `floless-app actions describe <id>` for the input, `floless-app do <id>` to act), how to read AWARE's JSON envelope and the exit codes, and that anything destructive or only-a-person (a real run, an approval) becomes a request the person answers in FloLess — never something you confirm. Prefer an action over calling FloLess's HTTP API with curl whenever an action exists.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.4.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# floless.app — actions from the terminal
|
|
@@ -16,8 +16,9 @@ The `floless-app` command is the FloLess launcher. It talks to the local FloLess
|
|
|
16
16
|
`PORT` when set) and **starts it if it is not running**. Always pass `--json` when you will read the
|
|
17
17
|
answer yourself.
|
|
18
18
|
|
|
19
|
-
- **Installed with npm** (`npm i -g @floless/app`): `floless-app` is on the PATH
|
|
20
|
-
|
|
19
|
+
- **Installed with npm** (`npm i -g @floless/app`): `floless-app` is on the PATH — but it may be a
|
|
20
|
+
copy too old to know these verbs. Check it first (§0).
|
|
21
|
+
- **The desktop app** (Windows) takes the same verbs on its own exe:
|
|
21
22
|
`& "$env:LOCALAPPDATA\FlolessApp\current\FlolessApp.exe" do projects.list --json` (PowerShell).
|
|
22
23
|
Read its stdout through your shell tool as usual; a desktop exe prints nothing to a bare console
|
|
23
24
|
window.
|
|
@@ -29,6 +30,35 @@ answer yourself.
|
|
|
29
30
|
CLI must not be used to step around what the run allows; if the run cannot do a step, hand it back
|
|
30
31
|
to the person as the run's instructions say.
|
|
31
32
|
|
|
33
|
+
## 0. Find the command that knows these verbs (once per session)
|
|
34
|
+
|
|
35
|
+
`actions` and `do` arrived in FloLess 0.156.0. An older npm `@floless/app` (some machines still have
|
|
36
|
+
0.0.1) only knows `open | stop | restart` and answers `floless-app do …` with `unknown command`; the
|
|
37
|
+
desktop app does not put `floless-app` on the PATH at all. So before your first call, find the command
|
|
38
|
+
that answers:
|
|
39
|
+
|
|
40
|
+
1. Run `floless-app actions --json`. If it prints AWARE's JSON envelope (`{"ok":true,…}` or
|
|
41
|
+
`{"ok":false,"error":{…}}` — an error envelope such as `server-unavailable` still counts), use
|
|
42
|
+
`floless-app` and skip the rest of this section.
|
|
43
|
+
2. If it prints `unknown command` (any wording), prints no JSON, or the shell says `floless-app` is not
|
|
44
|
+
found, the npm copy is too old or missing. **On Windows, use the desktop app's exe for every call
|
|
45
|
+
instead**, and run step 1 again with it:
|
|
46
|
+
- PowerShell: `& "$env:LOCALAPPDATA\FlolessApp\current\FlolessApp.exe" actions --json`
|
|
47
|
+
- bash (Git Bash): `"$LOCALAPPDATA/FlolessApp/current/FlolessApp.exe" actions --json`
|
|
48
|
+
- The full path is `C:\Users\<user>\AppData\Local\FlolessApp\current\FlolessApp.exe`; if
|
|
49
|
+
`LOCALAPPDATA` points somewhere else in your shell, try that path.
|
|
50
|
+
3. When you fell back, tell the person once, in one sentence, that their `floless-app` command is out of
|
|
51
|
+
date and that `npm i -g @floless/app@latest` updates it. Leave running it to them: it changes their
|
|
52
|
+
machine.
|
|
53
|
+
4. If nothing answers — the exe is missing (the desktop app is Windows-only; macOS and Linux have only
|
|
54
|
+
the npm package) or also says `unknown command` (a desktop app older than 0.156.0) — stop and tell
|
|
55
|
+
the person: update the npm package with `npm i -g @floless/app@latest`, or update the desktop app
|
|
56
|
+
(`FlolessApp.exe update`, then open FloLess again). Then run step 1 again.
|
|
57
|
+
|
|
58
|
+
Do not decide by `floless-app --version`: the npm launcher does not answer it (only the exe does), so
|
|
59
|
+
it says `unknown command` even on a current copy. Every `floless-app …` in this skill and in the other
|
|
60
|
+
FloLess skills means the command you found here; `PORT` works the same on both.
|
|
61
|
+
|
|
32
62
|
## 1. Discover — `floless-app actions [area] --json`
|
|
33
63
|
|
|
34
64
|
Lists every action: `id`, `area`, `title`, `risk`, `scope`. Areas today include `app`, `projects`,
|
|
@@ -212,6 +242,27 @@ any big files it needs kept beside it.
|
|
|
212
242
|
- Tell the person the Page's title and that they open it from the Pages list (Workspaces page) in
|
|
213
243
|
FloLess. Deleting a Page, or letting it load from another website, is theirs to do in its viewer.
|
|
214
244
|
|
|
245
|
+
## Steel models — change a part, not the whole model
|
|
246
|
+
|
|
247
|
+
A steel model can be far bigger than `do` can carry (one real model is 19 MB, almost all of it the
|
|
248
|
+
Drawing Filter). Work on parts:
|
|
249
|
+
|
|
250
|
+
- `steel.read-model` with `"keys"` — `{ "projectId", "keys": ["profile_colors"] }` — answers only
|
|
251
|
+
those parts, the model `etag` and `partSizes` (every part's size), instead of the whole model.
|
|
252
|
+
- `steel.patch-model` — `{ "projectId", "etag", "patch": { "<part>": … } }` — changes the named parts
|
|
253
|
+
through the editor's own save (a request card the person confirms). An object part merges entry by
|
|
254
|
+
entry, a list such as `members` is replaced whole, `null` removes a part.
|
|
255
|
+
- `steel.set-profile-colours` — `{ "projectId", "etag", "colours": { "W12X26": "#d9534f" } }` (`null`
|
|
256
|
+
puts a profile back to its automatic colour) — and `steel.reset-profile-colours` — `{ "projectId",
|
|
257
|
+
"etag" }` — do what the editor's Profile colours menu does. Use these for colours, not
|
|
258
|
+
`steel.patch-model`. The answer keeps the colours from before (`previous`); to undo, send them back
|
|
259
|
+
with `"replace": true`, which makes them the only custom colours (an empty list then clears all).
|
|
260
|
+
|
|
261
|
+
Every one checks the tag: "The model changed since you read it" means read the parts again and redo
|
|
262
|
+
the change on the fresh copy. The open editor picks the change up, and an approved model goes back to
|
|
263
|
+
waiting for the person's approval, as after any edit. **Never edit `contract.json` on disk**: that skips
|
|
264
|
+
the tag, the approval reset and the editor, and can clash with its auto-save.
|
|
265
|
+
|
|
215
266
|
## When there is no action yet
|
|
216
267
|
|
|
217
268
|
Not everything in the UI has an action yet (FloLess is adding them area by area). If
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-onboarding
|
|
3
3
|
description: Onboards a person into FloLess and the AWARE runtime underneath it, in four modes. Guide mode (the main one) runs inside FloLess AI Chat as the built-in Guide, whose first turn carries a JSON block of facts FloLess collected (apps, running, recentFiles, accounts, floless) — it briefs the person on what they seem to work on, then onboards them from their own situation, offering every next move as a button (floless_suggest_next_move, floless_connection_propose); the looks FloLess starts stay read only, and later it changes something only when the person asks and the chat's Access allows it. Terminal mode is the re-runnable guided tour for an AI in an external terminal (AWARE first, then the FloLess surfaces). Instructor focused mode answers one queued guide request about a single control. Project kickoff mode sets up a General project the person just created, from a project-kickoff request whose first turn carries a kickoff facts block (project, companyLibrary, projectKnowledge, modules, nextSteps) - one question on the question tool, company knowledge first (offered), then project knowledge, connections and at most two next steps, every change a card the person confirms. Use it when the Guide conversation or a project kickoff starts, and on asks like "what can FloLess do for me", "how do I", "onboard me", "get me started", "I'm new to FloLess or AWARE", "give me the guided tour", "walk me through floless.app", "what can AWARE do", "show me the agents", or "/floless-app-onboarding" - for the whole tour or one section.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.5.
|
|
5
|
+
version: 0.5.6
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Onboarding a person into FloLess + AWARE
|
|
@@ -295,7 +295,7 @@ For an AI working in a terminal next to FloLess (the `claude` or `codex` CLI). T
|
|
|
295
295
|
**Arc B — FloLess (the window)** — `references/floless-surfaces.md`
|
|
296
296
|
- **B1 · The shape of the window** — Workspaces | Workflows | Agents, AI Chat on the left, the ≡ menu, the footer.
|
|
297
297
|
- **B2 · AI Chat** — the provider, access levels, scope, connectors, approval cards, the Guide.
|
|
298
|
-
- **B3 · Workspaces and projects** — the workspace folder, project kinds, and the steps inside a project, which depend on its kind (every project has Knowledge
|
|
298
|
+
- **B3 · Workspaces and projects** — the workspace folder, project kinds, and the steps inside a project, which depend on its kind (every project has Knowledge, Pages and Workflows).
|
|
299
299
|
- **B4 · Workflows and the gate** — Compile → Approve → Run, Simulate, inputs, Inspect, Tweak, Requests.
|
|
300
300
|
- **B5 · Agents and Routines** — hand over a repeat check; run by hand, or on a schedule with nobody watching.
|
|
301
301
|
- **B6 · Tools, Discover, Graft, Bake, Integrations** — what FloLess can reach and how it grows.
|
|
@@ -83,12 +83,14 @@ conversations, with dated history (**Conversation history**, **New conversation*
|
|
|
83
83
|
exported or zipped one.
|
|
84
84
|
- **Project steps** (tabs inside a project) depend on the project's kind; never list steps a kind
|
|
85
85
|
does not have. Every project has **Knowledge** (the project's reference documents; also
|
|
86
|
-
**Company knowledge** shared across projects)
|
|
87
|
-
versions)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
**Company knowledge** shared across projects), **Pages** (saved reports and pages, with their
|
|
87
|
+
versions) and **Workflows** (the workflows that belong to this project, each with its state and last
|
|
88
|
+
run; **New workflow…** starts one here). A model project adds its source step (**Drawing Filter**:
|
|
89
|
+
which sheets and views a read uses), **Model** (the native model, with the Model section on the
|
|
90
|
+
left), **Exports** where it has them (files produced from the approved model, or sent to a CAD
|
|
91
|
+
application) and **History** (approved versions and checkpoints). A **General** project has no
|
|
92
|
+
model: it adds **RFIs**, **Modules** (the module projects linked to it) and **History** (what
|
|
93
|
+
happened in the project).
|
|
92
94
|
- **Approval:** changes to a project wait until a person approves them (**Approve the changes**,
|
|
93
95
|
leave pending, or discard). The AI never approves. Depth: **floless-app-approval**.
|
|
94
96
|
- **Knowledge** makes the plan smart: the AI reads it while building a workflow and cites the page.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-report-issue
|
|
3
3
|
description: File a diagnosed bug / idea / question from floless.app into the PRIVATE product log via the floless.io relay. Use when the user invokes /floless-app-report-issue, clicks "Report an issue" in the floless.app UI (a queued report or a copied prompt), or says "report this", "file a bug", "something broke in floless", "send feedback / a feature idea". It READS the live run evidence first (latest run trace, failing node + error, the .flo, exec code), offers a workaround grounded in the app's own command registry when another route exists, then composes a maintainer-ready report and sends it — always showing the exact text and confirming first. Read-only — it never re-runs a workflow node.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.5
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# floless.app — report an issue
|
|
@@ -112,6 +112,17 @@ digraph { "health + identify app" -> "read evidence (READ-ONLY)" -> "root-cause
|
|
|
112
112
|
-H 'Content-Type: application/json' \
|
|
113
113
|
-d '{"category":"bug","title":"…","body":"…","context":{ "appId":"…","appVersion":"…","awareVersion":"…","runId":"…","errorNodeId":"…" }}'
|
|
114
114
|
```
|
|
115
|
+
When the body holds apostrophes or quotes that would break the single-quoted `-d`, write the JSON
|
|
116
|
+
to a scratch file with a **quoted** heredoc and send that file — not a Python or Node script that
|
|
117
|
+
builds it, whose strings FloLess has to treat as code it might run, so the send asks for approval
|
|
118
|
+
again even after the user said yes:
|
|
119
|
+
```bash
|
|
120
|
+
cat > report.json <<'EOF'
|
|
121
|
+
{"category":"bug","title":"…","body":"…","context":{ … }}
|
|
122
|
+
EOF
|
|
123
|
+
curl -s -X POST http://127.0.0.1:4317/api/report-issue -H 'Content-Type: application/json' \
|
|
124
|
+
--data-binary @report.json; rm -f report.json
|
|
125
|
+
```
|
|
115
126
|
→ `{ "ok": true, "ref": "#123" }`. When the inbox is down or unreachable, FloLess keeps the
|
|
116
127
|
report on this computer and sends it automatically later: `{ "ok": true, "queued": true }` (HTTP
|
|
117
128
|
202, no `ref` yet). Do NOT send it again — tell the user it is saved and will go out on its own.
|
|
@@ -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.
|
|
5
|
+
version: 0.7.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# File and manage a project's RFIs
|
|
@@ -272,9 +272,33 @@ Read `attempt.status` (or the RFI row's `delivery.status`) rather than inferring
|
|
|
272
272
|
Both of these are `destructive` and ask the person on a card. Only the person can say they found the
|
|
273
273
|
marker, so never offer `rfis.deliver-confirm-sent` on a guess.
|
|
274
274
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
Mark sent
|
|
275
|
+
**When the person did not find it in Sent.** A search miss cannot prove Gmail did not accept the
|
|
276
|
+
message, so nothing happens on its own: while a delivery is `prepared` or `outcome-unknown`, ordinary
|
|
277
|
+
RFI mutations (Mark sent included) stay held so the record cannot tell two incompatible stories. The
|
|
278
|
+
person may settle the send one of three ways. Each is `destructive`, a card the person confirms, and
|
|
279
|
+
final; **you never pick one for them** — offer the choices, say what each means, and let them choose:
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
rfis.deliver-try-again { "projectId": "…", "rfiId": "…", "attemptId": "…", "recordRevision": <n>, "to": "…" }
|
|
283
|
+
rfis.deliver-sent-another-way { "projectId": "…", "rfiId": "…", "attemptId": "…", "to": "…", "via": "email" }
|
|
284
|
+
rfis.deliver-sent-another-way { "projectId": "…", "rfiId": "…", "attemptId": "…", "to": "…", "via": "other", "how": "…" }
|
|
285
|
+
rfis.deliver-leave-unconfirmed { "projectId": "…", "rfiId": "…", "attemptId": "…" }
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
- **Try Gmail again** settles the unconfirmed send and sends the RFI as a new email (to the same or
|
|
289
|
+
another address). The engineer **may get it twice** — always say so. Only for an `outcome-unknown`
|
|
290
|
+
send that is the RFI's live one (`delivery.canTryAgain`).
|
|
291
|
+
- **I sent it another way** records that the person sent it themselves — by email, or another way
|
|
292
|
+
they describe in a few words (`via: "other"` with `how`) — and marks the RFI sent. Use only their
|
|
293
|
+
word; it sends nothing. Same condition (`delivery.canRecordSentAnotherWay`).
|
|
294
|
+
- **Leave it unconfirmed** settles the send without recording a send, so the RFI can move on. FloLess
|
|
295
|
+
will not finish or send it, and cannot say whether Gmail already did. Open to every held send,
|
|
296
|
+
`prepared` or `outcome-unknown`, including an older one that is no longer the live send
|
|
297
|
+
(`delivery.canLeaveUnconfirmed`; a stale one offers only this).
|
|
298
|
+
|
|
299
|
+
A settled send stays in the history as **not confirmed**, with what the person chose. It is never
|
|
300
|
+
counted as a Gmail send, and it cannot be settled again. A 409 `rfi-delivery-in-progress` means
|
|
301
|
+
another Gmail send of the project is still running; wait and offer again.
|
|
278
302
|
|
|
279
303
|
**Dispositions.**
|
|
280
304
|
|
|
@@ -429,11 +453,14 @@ They live in their own store and use their own actions — the steel ones above
|
|
|
429
453
|
emails an outside party. The list's `delivery` on each row is its live send: `recorded` (accepted by
|
|
430
454
|
Gmail, not proof of the inbox), `failed` (nothing was sent; offer to send again or copy the text),
|
|
431
455
|
`prepared` (use `rfis.correspondence-deliver-continue` with its `attemptId` — it finishes that one
|
|
432
|
-
send, never a second) and `outcome-unknown` (**never send again**; ask the person to
|
|
433
|
-
`reconciliationMarker`, and only when they found it,
|
|
434
|
-
While a send is `prepared` or `outcome-unknown` the RFI
|
|
435
|
-
Answer and Close answer `rfi-delivery-recovery-required`.
|
|
436
|
-
|
|
456
|
+
send, never a second) and `outcome-unknown` (**never send again on your own**; ask the person to
|
|
457
|
+
search Sent for `reconciliationMarker`, and only when they found it,
|
|
458
|
+
`rfis.correspondence-deliver-confirm-sent`). While a send is `prepared` or `outcome-unknown` the RFI
|
|
459
|
+
is held: its `verbs` are empty and Mark sent, Answer and Close answer `rfi-delivery-recovery-required`.
|
|
460
|
+
When the person did not find it, they choose one of the three ways out described for a steel
|
|
461
|
+
project — `rfis.correspondence-deliver-try-again`, `rfis.correspondence-deliver-sent-another-way`,
|
|
462
|
+
`rfis.correspondence-deliver-leave-unconfirmed`, each with `rootId` / `projectUuid` too. The same
|
|
463
|
+
rules hold: a card the person confirms, never your pick, and Try again may reach them twice.
|
|
437
464
|
- **Sending yourself:** `rfis.correspondence-text` gives the subject and body to paste into their own
|
|
438
465
|
email; then `rfis.correspondence-mark-sent` (a card) records it.
|
|
439
466
|
- **Answer, close, reopen:** `rfis.correspondence-answer` (open or sent), `rfis.correspondence-close`
|
|
@@ -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.
|
|
5
|
+
version: 0.28.1
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Steel Model — guide a steel drawing set into an editable model
|
|
@@ -140,8 +140,10 @@ In a Quick read:
|
|
|
140
140
|
decision says so. A connection assumption you would have proposed to the person is
|
|
141
141
|
`{ channel: "connection", jointId, covers }`: never written into the connection assumptions, which are
|
|
142
142
|
the person's.
|
|
143
|
-
- **What stays the person's:** the Drawing Filter Save, the
|
|
144
|
-
|
|
143
|
+
- **What stays the person's:** the Drawing Filter Save, unless the read's instruction lets you choose it:
|
|
144
|
+
then follow its Filter step, and never say the person saved it. Also the staged review and approval
|
|
145
|
+
(stage 6, "Review changes"), where your heights on existing members wait for a tick.
|
|
146
|
+
The AI never approves, Quick or not.
|
|
145
147
|
- **RFIs are the last step.** Settle every question you can as a decision; file as an RFI only one you
|
|
146
148
|
cannot settle after trying, with your best recommendation, exactly as `floless-app-steel-takeoff`
|
|
147
149
|
"Quick model reads" teaches. They are filed marked as the AI's and sent to nobody. The closing summary
|
|
@@ -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.
|
|
10
|
+
version: 0.91.0
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## Shared height study: server-owned reader claims
|
|
@@ -739,7 +739,8 @@ In a Quick read:
|
|
|
739
739
|
state always wins over a decision, and so does the person's answer. A height on a member already in the
|
|
740
740
|
model is **proposed in the review** as the AI's; `heightDecisions` in the audit and submit responses says
|
|
741
741
|
which. Where it says `drawing-supported` there, name that end in your summary as an unsettled conflict.
|
|
742
|
-
- **What still stops a Quick read:** the Drawing Filter Save (the person's, as above
|
|
742
|
+
- **What still stops a Quick read:** the Drawing Filter Save (the person's, as above, unless the read's
|
|
743
|
+
instruction lets you choose it), and any audit
|
|
743
744
|
recovery whose owner is `"user"` (park with `needs-you`, as in a guided read). Name each one; never
|
|
744
745
|
work around it.
|
|
745
746
|
- **What answers 409 in a Quick read:** `height-questions` and `setup-questions` (`quick-read-decides`),
|
|
@@ -1008,7 +1009,8 @@ so a row still open must stay WHOLLY unstated:
|
|
|
1008
1009
|
no registration field on that plan row, and no grid field at all while the origin is open - but the
|
|
1009
1010
|
`grid` KEY itself must still be there: write `"grid": {}` (an empty object states nothing; a shell with
|
|
1010
1011
|
no `grid` key at all is refused, `it states no grid object`). That is also what a sheet carrying no
|
|
1011
|
-
gridlines or bubbles at all needs at this point.
|
|
1012
|
+
gridlines or bubbles at all needs at this point. After Save the read authors the whole grid, free
|
|
1013
|
+
lines too. Never re-PUT the checkpoint to add it: that clears Filter Save (`filterSaveCleared`).
|
|
1012
1014
|
|
|
1013
1015
|
A plan row you DO state must be complete: its answered scale and level (no `elevation_mm` when the
|
|
1014
1016
|
answer is "no single level") AND its two controls (`datum_at`, `control2_ref`, `control2_at`), because
|
|
@@ -1409,8 +1411,8 @@ and only the two end dashes link to the member's ends). The two
|
|
|
1409
1411
|
OUTLINE lines are the only lines attested `unresolved` (an owner ruling: honest, and it asks), in
|
|
1410
1412
|
`lineDispositionGroups[]`, never `duplicate`, which a flange edge is not. Give each member its own group with
|
|
1411
1413
|
`outlineOf` set to the member's name as a person would say it (mark, designation and sheet, for example
|
|
1412
|
-
"B7, 305x165x40 UKB on S-201"): the question then reads "Are these lines the outline of B7...?"
|
|
1413
|
-
|
|
1414
|
+
"B7, 305x165x40 UKB on S-201"): the question then reads "Are these lines the outline of B7...?". Include its
|
|
1415
|
+
id: a sheet's outlines of one member type are then one question. Without `outlineOf` the question stays the generic "Are these steel, and if so what?", so
|
|
1414
1416
|
use `outlineOf` only for lines you have pictured as a named member's outline. Take the element ids from the
|
|
1415
1417
|
facts (`edges[].representative` and `midline.contributors`, whose lists are sampled, so put every outline
|
|
1416
1418
|
element of the member that you can see in the manifest's candidates into its group, not only the sampled ids). Questions are grouped by source PDF, exact reason and
|
|
@@ -1463,28 +1465,31 @@ Work in this order:
|
|
|
1463
1465
|
6. **"See architectural" is a legitimate terminus.** The value lives in a discipline this read does not
|
|
1464
1466
|
have. Record unknown, put it in `open[]` naming that discipline. That is not the same as not having
|
|
1465
1467
|
looked.
|
|
1466
|
-
7. **Never take `plans[].elevation_mm` YOURSELF.** It is the
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
and the question still reaches the user. The difference is not the number - it is that the server's
|
|
1471
|
-
placement is *labelled* and yours would be silent.
|
|
1468
|
+
7. **Never take `plans[].elevation_mm` YOURSELF.** It is the cut plane, not a top of steel;
|
|
1469
|
+
a sloped or stepped roof reads dead level from it. Say `{"unknown": true}`: the server places a
|
|
1470
|
+
genuinely unresolved end there **marked unverified**, so the member is built and the question still
|
|
1471
|
+
reaches the user. Its placement is *labelled*; yours would be silent.
|
|
1472
1472
|
8. **Unknown is a real answer, and it PUBLISHES** - `{"unknown": true}` with `why` (what the set
|
|
1473
1473
|
does say about this end, in a sentence) and `checked` (the pages you read, as
|
|
1474
|
-
`{sourceHash, pageId, sheet}`)
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
**The member is never dropped for want of a height.** The server
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
the
|
|
1487
|
-
|
|
1474
|
+
`{sourceHash, pageId, sheet}`); the model publishes carrying the question.
|
|
1475
|
+
Silence does not: an unknown with no `why`, a template `why`, or no `checked` is refused.
|
|
1476
|
+
A lazy `why` is as wrong as a fabricated number.
|
|
1477
|
+
|
|
1478
|
+
**The member is never dropped for want of a height.** The server stores such an end as `{known,
|
|
1479
|
+
assumed: true, why, checked}`: built and visible, flagged unconfirmed, never scored or aligned to,
|
|
1480
|
+
billed as assumed. **You may NOT write `assumed` yourself** - that would
|
|
1481
|
+
claim server authority for a guess.
|
|
1482
|
+
|
|
1483
|
+
**A useful estimate is modelled and linked to an RFI (#2873).** With no supported exact value but a
|
|
1484
|
+
useful estimate, add `estimate: { value, how, basis, page? }` to the unknown end - `how` is
|
|
1485
|
+
`derived` (from stated values), `measured` (valid scale) or `assumption`; `basis` says how, citing
|
|
1486
|
+
the sheet/detail. The server places the member there, marked assumed: never evidence, no one-click
|
|
1487
|
+
confirm, question open. Then
|
|
1488
|
+
**recommend first "Model provisionally and raise an RFI"** (members at the estimate, their ends'
|
|
1489
|
+
questions in `rfiSelection`), still offering answer now and proceed on a stated assumption. Never
|
|
1490
|
+
write an estimate as `known` or call it confirmed, and never say the steel "stays out of the model":
|
|
1491
|
+
omit a member only if the person chooses that. With no useful estimate, say what is missing and leave
|
|
1492
|
+
the bare unknown. A member already in the model takes a height card instead.
|
|
1488
1493
|
|
|
1489
1494
|
**Look before you call a height unknown, and propose what you read.** Top-of-steel callouts are very
|
|
1490
1495
|
often DRAWN rather than written, so no text you were handed carries them - on the set this rule came
|
|
@@ -1520,14 +1525,11 @@ Work in this order:
|
|
|
1520
1525
|
- only an end with no row anywhere near it, and that nothing else in the set settles, is a bare
|
|
1521
1526
|
unknown with its `why` and `checked`.
|
|
1522
1527
|
|
|
1523
|
-
**The failure this procedure exists to stop,
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
sheet it cited. **A blanket unknown over a sheet that carries callouts is the failure, however true
|
|
1529
|
-
its `why`.** If you find yourself composing one rule for all the ends of such a sheet, stop and run
|
|
1530
|
-
the four-step callout procedure above.
|
|
1528
|
+
**The failure this procedure exists to stop, from a real read:** the reader wrote that a roof sheet *"shows several
|
|
1529
|
+
top-of-steel elevations"* yet set **every** roof end there `{"unknown": true}` with that one sentence
|
|
1530
|
+
and **no candidates**, so each reached the user as a cold question about a height drawn on the sheet
|
|
1531
|
+
it cited. **A blanket unknown over a sheet that carries callouts is the failure, however true its
|
|
1532
|
+
`why`.** Composing one rule for all ends of such a sheet? Stop and run the four steps above.
|
|
1531
1533
|
|
|
1532
1534
|
The candidate shape:
|
|
1533
1535
|
|
|
@@ -1567,7 +1569,7 @@ Work in this order:
|
|
|
1567
1569
|
The schedule retains affected members/ends, datum, directly read or
|
|
1568
1570
|
derived value, source/detail, calculation inputs and basis, competing readings, limitations and
|
|
1569
1571
|
unresolved dependency. Cross-link rows sharing a datum/detail and revisit only dependent rows after
|
|
1570
|
-
an answer.
|
|
1572
|
+
an answer. On a card, a placement is never a supported proposal. A direct reading names its
|
|
1571
1573
|
source; a derived proposal states calculation and assumptions. If supported readings cannot be
|
|
1572
1574
|
ranked, offer the alternatives without preferring one. A missing value names exactly what is
|
|
1573
1575
|
missing and the checks actually performed.
|
|
@@ -1989,6 +1991,9 @@ Score confidence per observed field, not once per member. Loop until the request
|
|
|
1989
1991
|
is met or the drawing cannot support it. If it cannot, retain the member, use unknown values where
|
|
1990
1992
|
necessary, and add a plain-English `read_notes` entry explaining what a reviewer must resolve.
|
|
1991
1993
|
|
|
1994
|
+
State an assumed span section as one sentence ("the beams between grids B and C are UB610X149") and build to it;
|
|
1995
|
+
the audit asks about any beam or column that disagrees.
|
|
1996
|
+
|
|
1992
1997
|
Before submission, render and inspect the result:
|
|
1993
1998
|
|
|
1994
1999
|
- overlay members against each registered source view;
|
|
@@ -114,15 +114,19 @@ without a positive one is refused (`source-registration-scale`).
|
|
|
114
114
|
|
|
115
115
|
## When to author it — and it is EARLIER than you think
|
|
116
116
|
|
|
117
|
-
**On the Filter shell,
|
|
118
|
-
freezes
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
**On the Filter shell, or not at all until after Save - never half.** The shell is saved first and the
|
|
118
|
+
transaction freezes whatever registration a row STATES, so a frame added later to a row that already
|
|
119
|
+
states part of its registration (say its `mm_per_px`) fails the completed candidate against the shell
|
|
120
|
+
(`shell-changed`), and the only way out is to restart the checkpoint. A row the shell leaves WHOLLY
|
|
121
|
+
unregistered - no `mm_per_px`, no `sourceRegistration`, no `frame` - states nothing, and the read may
|
|
122
|
+
author all three after Save (the `shell-preserved` warning lists them). So: if you can register the
|
|
123
|
+
elevation completely at shell time, do it in the shell; otherwise leave the row bare and register it
|
|
124
|
+
in the read. This matches the main skill's rule for plan rows and for the shell's `"grid": {}`.
|
|
121
125
|
|
|
122
126
|
What that registration is REQUIRED for is any view whose observations are active and carry a non-empty
|
|
123
127
|
`endpointLineage`: those endpoints have to be placed in the model, and without a frame they cannot be, so
|
|
124
|
-
the read blocks on `view-unregistered` naming the sheet.
|
|
125
|
-
|
|
128
|
+
the read blocks on `view-unregistered` naming the sheet. Adding the frame in the read is fine for a row
|
|
129
|
+
the shell left bare; it is not for a row whose registration the shell already half-states.
|
|
126
130
|
|
|
127
131
|
A view you will not read endpoints from needs none, and an observation with no endpoint lineage needs no
|
|
128
132
|
geometric transform at all.
|
package/dist/web/agents.js
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
(() => {
|
|
13
13
|
const $surface = document.getElementById('agents-surface');
|
|
14
|
+
// #2866: a changed Sort by choice repaints the Agents list (paint keeps focus by id and the scroll position).
|
|
15
|
+
globalThis.flolessLandingSort?.onChange('agents', () => { if (state.open && state.view !== 'page') paint(); });
|
|
14
16
|
if (!$surface) return;
|
|
15
17
|
|
|
16
18
|
const LS_PROVIDER = 'floless:agents-provider';
|
|
@@ -132,7 +134,9 @@
|
|
|
132
134
|
}
|
|
133
135
|
if (!response.ok) {
|
|
134
136
|
if (!body?.error) console.warn(`[agents] ${path} answered ${response.status} with no explanation`);
|
|
135
|
-
|
|
137
|
+
// #2868: with no sentence from the server, the shared failure copy names the kind of failure (busy, signed out, an
|
|
138
|
+
// answer that was not FloLess's) instead of "try again, restart FloLess", which fixes none of them.
|
|
139
|
+
const failure = new Error(body?.error || failureCopy({ status: response.status, body: body || { code: 'response-unreadable' } }).text);
|
|
136
140
|
failure.code = body?.code || null; failure.body = body; failure.status = response.status;
|
|
137
141
|
throw failure;
|
|
138
142
|
}
|
|
@@ -207,6 +211,9 @@
|
|
|
207
211
|
} catch (error) {
|
|
208
212
|
toast(error?.message || 'This run’s conversation could not be opened.', 'warn');
|
|
209
213
|
}
|
|
214
|
+
// #2764: told afterwards, once AI Chat shows this run's conversation, so whatever is bound to the conversation before
|
|
215
|
+
// it (a compile refusal's Ask AI to fix) lets go. AI Chat itself already has this scope, so it does not reload.
|
|
216
|
+
notifyChatScope();
|
|
210
217
|
}
|
|
211
218
|
|
|
212
219
|
function backToWorkspaceChat() {
|
|
@@ -799,20 +806,32 @@
|
|
|
799
806
|
function renderList() {
|
|
800
807
|
const active = state.agents.filter((agent) => !agent.archivedAt);
|
|
801
808
|
const archived = state.agents.filter((agent) => agent.archivedAt);
|
|
802
|
-
|
|
809
|
+
// #2866: the page's Sort by choice; an Agent always records when it was created and last changed.
|
|
810
|
+
const sorter = globalThis.flolessLandingSort || null;
|
|
811
|
+
const sortState = sorter ? sorter.get('agents') : null;
|
|
812
|
+
const sortKeys = (agent) => ({ name: agent.name, id: agent.agentId, created: agent.createdAt, modified: agent.updatedAt });
|
|
813
|
+
const shown = state.showArchived ? archived : active;
|
|
814
|
+
const rows = sorter ? sorter.sort(shown, sortState, sortKeys) : shown;
|
|
803
815
|
const wrap = el('div', { class: 'ag-list' });
|
|
804
816
|
const head = el('div', { class: 'ws-head' },
|
|
805
817
|
el('div', { class: 'ws-head-text' },
|
|
806
818
|
el('h2', { id: 'ag-landing-title', tabindex: '-1', text: 'Agents' }),
|
|
807
819
|
el('p', { class: 'ws-sub', text: 'An agent is a responsibility you hand over: what to check, and where. You run it by hand and review what it finds in AI Chat.' })));
|
|
820
|
+
const actions = el('div', { class: 'ws-head-actions' });
|
|
821
|
+
if (sorter && state.agents.length) {
|
|
822
|
+
const holder = document.createElement('div');
|
|
823
|
+
holder.innerHTML = sorter.controlHtml('agents');
|
|
824
|
+
if (holder.firstElementChild) actions.append(holder.firstElementChild);
|
|
825
|
+
}
|
|
808
826
|
if (archived.length) {
|
|
809
827
|
const seg = el('div', { class: 'ag-seg', role: 'radiogroup', 'aria-label': 'Which agents to show' });
|
|
810
828
|
for (const [value, label] of [[false, 'Active'], [true, `Archived (${archived.length})`]]) {
|
|
811
829
|
seg.append(el('button', { type: 'button', role: 'radio', 'aria-checked': String(state.showArchived === value), class: state.showArchived === value ? 'on' : '',
|
|
812
830
|
'data-command-id': `shell.agents-filter#${value ? 'Archived' : 'Active'}`, onclick: () => { state.showArchived = value; paint(); } }, label));
|
|
813
831
|
}
|
|
814
|
-
|
|
832
|
+
actions.append(seg);
|
|
815
833
|
}
|
|
834
|
+
if (actions.childElementCount) head.append(actions);
|
|
816
835
|
wrap.append(head);
|
|
817
836
|
if (!state.showArchived) {
|
|
818
837
|
const thumb = newAgentThumb();
|
|
@@ -837,7 +856,8 @@
|
|
|
837
856
|
el('span', { class: 'ws-kind wf-kind', text: agent.archivedAt ? 'Archived' : agent.pausedAt ? 'Paused' : agent.mode === 'compare' && agent.scope.length > 1 ? 'Compares' : 'Agent' }),
|
|
838
857
|
el('div', { class: 'ws-name', text: agent.name }),
|
|
839
858
|
el('div', { class: 'ws-meta', text: scopeSummary(agent) }),
|
|
840
|
-
el('div', { class: 'ws-meta wf-card-nodes', text: agent.lastRunAt ? `Last run ${agoText(agent.lastRunAt)}` : agent.lastRunUnreadable ? 'Last run unknown' : 'Never run'
|
|
859
|
+
el('div', { class: 'ws-meta wf-card-nodes', text: (agent.lastRunAt ? `Last run ${agoText(agent.lastRunAt)}` : agent.lastRunUnreadable ? 'Last run unknown' : 'Never run')
|
|
860
|
+
+ (sorter && sorter.cardDate(sortState, agent.createdAt, agent.updatedAt) ? ` · ${sorter.cardDate(sortState, agent.createdAt, agent.updatedAt)}` : '') })))))));
|
|
841
861
|
}
|
|
842
862
|
if (state.unreadable.length) {
|
|
843
863
|
wrap.append(el('div', { class: 'ag-banner', role: 'status', text: `${state.unreadable.length} agent${state.unreadable.length === 1 ? '' : 's'} could not be read and ${state.unreadable.length === 1 ? 'is' : 'are'} not shown. Its saved file may be damaged.` }));
|