@floless/app 0.126.2 → 0.126.4
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 +2021 -861
- package/dist/skills/floless-app-new-workflow/SKILL.md +38 -1
- package/dist/skills/floless-app-tweak-contract/SKILL.md +18 -2
- package/dist/skills/floless-app-workflows/SKILL.md +34 -1
- package/dist/skills/floless-app-workflows/references/workspace-data.md +16 -4
- package/dist/templates/floless-workspace-read.flo +1 -1
- package/dist/web/app.css +129 -0
- package/dist/web/app.js +4 -0
- package/dist/web/aware.js +433 -28
- package/dist/web/index.html +33 -2
- package/dist/web/steel-3d-view.js +14 -2
- package/dist/web/steel-editor.html +13 -8
- package/dist/web/vector-editor.html +6 -2
- package/dist/web/workspaces.js +3 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-new-workflow
|
|
3
3
|
description: This skill should be used to build a brand-new FloLess .flo workflow from scratch, step by step, as the host terminal AI — interviewing the user about what they want, checking that the AWARE agents the workflow needs are installed (installing an available one on consent, or reporting a not-yet-existing agent as an idea), then authoring the .flo node by node and verifying each step with the real toolchain (plain-English descriptions, aware app validate, aware app compile, a real run) before installing it so it appears in the floless.app picker for Compile and Run. Use it on triggers like "build a new workflow", "create a workflow from scratch", "build me a workflow", "new workflow", the floless.app "New workflow…" menu item, a queued new-workflow request, or "/floless-app-new-workflow". It leans on floless-app-workflows for the exec contract and hands back a runnable, approved app.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.2.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Build a new floless.app workflow from scratch
|
|
@@ -64,6 +64,43 @@ Pull the goal out in **one or two questions at a time**, plain English — never
|
|
|
64
64
|
Restate it in one sentence and get a nod before authoring. Keep it small — the first version should
|
|
65
65
|
**run**; extend it after. (Laziness: ship the one-node version that works, then grow it.)
|
|
66
66
|
|
|
67
|
+
### Ask which project's standards apply — then read them
|
|
68
|
+
|
|
69
|
+
**One more question belongs in this interview: "should this follow a particular project's
|
|
70
|
+
standards?"** A firm's own shop standards, RFIs and spec notes live in a Workspace project's
|
|
71
|
+
**knowledge base**, and a workflow built without them encodes the model's defaults instead of the
|
|
72
|
+
user's practice — a plausible bolt spacing rather than *their* bolt spacing.
|
|
73
|
+
|
|
74
|
+
1. **`GET <base>/api/workspace-projects`** — every live project, with `hasKnowledge` flagging which
|
|
75
|
+
have a published knowledge base. **Do not reach for the approved list**
|
|
76
|
+
(`/api/workspace-projects/approved`): it gates on an approved Model, which is orthogonal to having
|
|
77
|
+
knowledge, so it will hide exactly the project you want.
|
|
78
|
+
|
|
79
|
+
`<base>` is the same floless origin Step 0 used — from the request marker, else
|
|
80
|
+
`transport.rest.base` in `~/.aware/agents/floless-workspace/manifest.yaml`, which the server writes
|
|
81
|
+
with its own real origin. `http://127.0.0.1:4317` is the common default, not a guarantee: the
|
|
82
|
+
server honors `PORT`.
|
|
83
|
+
|
|
84
|
+
> Call the **route**, not the agent. `floless-workspace` is a `rest` agent, and `aware agent
|
|
85
|
+
> invoke` is builtin-only — it refuses a rest transport outright ("compose it in a .flo app and
|
|
86
|
+
> `aware app run` it"). The agent's `list-projects` command is how a **running workflow** reaches
|
|
87
|
+
> the same data; you, authoring, use plain HTTP.
|
|
88
|
+
2. If the user names one (or exactly one has knowledge and it obviously fits — confirm, don't
|
|
89
|
+
assume), consult it **before authoring any node**, per `floless-app-knowledge`
|
|
90
|
+
§ "Consulting the KB from other work (the Feed)" → "Required first step".
|
|
91
|
+
3. **Bake what it says in as literal values, and cite the page** in the node's plain-English
|
|
92
|
+
Description — e.g. "Spacing per `shop-standard-bolts`." That is what makes the decision traceable
|
|
93
|
+
to the firm's own document instead of looking like your preference.
|
|
94
|
+
|
|
95
|
+
`hasKnowledge: true` only means a knowledge base was published, not that it covers your subject. If
|
|
96
|
+
nothing relevant comes back, **say so and proceed on stated assumptions** — never invent a standard.
|
|
97
|
+
A project with no knowledge is a normal answer, not a blocker.
|
|
98
|
+
|
|
99
|
+
This is compose-time only: what you learn is **baked into the `.flo`**. Never add a node that
|
|
100
|
+
consults a model at run time — AWARE refuses it (`E_APP_RUNTIME_MODEL_FORBIDDEN`), and it would void
|
|
101
|
+
"build once, run forever". (AWARE admits exactly one fenced exception, the curated `vision.extract`,
|
|
102
|
+
which extracts but never decides — it is not a way to reach knowledge at run time.)
|
|
103
|
+
|
|
67
104
|
## Step 2 — Agent preflight (before writing any node)
|
|
68
105
|
|
|
69
106
|
A node references an `agent` (e.g. `tekla`, `file`). **Confirm each one exists before authoring it** —
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-tweak-contract
|
|
3
3
|
description: This skill should be used when there is a pending floless `tweak-contract` request — the user typed an instruction in the Steel Model contract editor and clicked Send (Ask AI). Also triggers on asks like "edit the steel takeoff contract via AI", "adjust the steel takeoff in the contract editor", "the user asked me to change the steel contract", "pick up my tweak-contract request", "update the member profile in the contract". It teaches the host AI to read the request, fetch the current steel.takeoff/v1 contract, apply the instruction (and any pasted screenshots), PUT the updated contract back, and resolve the request.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.5.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Handle a `tweak-contract` request (Slice 2 AI round-trip)
|
|
@@ -98,6 +98,20 @@ the server; a 400 means invalid — fix and retry.
|
|
|
98
98
|
beam") only resolves with the visual context ("this beam" = the one circled in red on the
|
|
99
99
|
screenshot).
|
|
100
100
|
|
|
101
|
+
**When the request carries a `project`, consult that project's knowledge base too — before you
|
|
102
|
+
decide anything.** `floless-app-knowledge` § "Consulting the KB from other work (the Feed)" →
|
|
103
|
+
"Required first step" owns that rule; follow it there rather than a summary here. The short of it:
|
|
104
|
+
`GET /api/workspace-projects/<project>/knowledge?q=<subject>&app=<appId>` — `<subject>` being what
|
|
105
|
+
you are about to change, url-encoded so it stays one URL token — returns ranked summaries of the
|
|
106
|
+
firm's own standards, shop preferences, RFIs and spec notes, and
|
|
107
|
+
`GET /api/projects/<project>/knowledge/page/<slug>` reads a decisive one in full.
|
|
108
|
+
|
|
109
|
+
This is what makes the edit derive from the **user's** knowledge instead of your priors. A shop
|
|
110
|
+
standard that fixes a bolt spacing, an RFI that governs a connection, a fabricator's stated
|
|
111
|
+
preference — these beat any default you would otherwise reach for. **Cite the `slug` you relied
|
|
112
|
+
on** in your step-6 summary so the user can trace the decision. If nothing relevant matches, say
|
|
113
|
+
so plainly rather than inventing a standard; an empty result is a normal outcome, not a failure.
|
|
114
|
+
|
|
101
115
|
4. **Produce the edit.** Modify the contract JSON to satisfy the instruction. The bullets below are
|
|
102
116
|
the **`steel.takeoff/v1`** field map; for `steel.model/v2` work from its own schema per step 2:
|
|
103
117
|
- Profile changes: update `members[j].profile`; if the new profile resolves in the AISC
|
|
@@ -136,7 +150,9 @@ the server; a 400 means invalid — fix and retry.
|
|
|
136
150
|
event; the editor picks it up and prompts to reload.
|
|
137
151
|
|
|
138
152
|
6. **Tell the user.** Summarize what you changed (e.g. "Updated W12X26 → W14X30 on 4 beams
|
|
139
|
-
in sheet S-202; updated `weights` entry to 30 plf").
|
|
153
|
+
in sheet S-202; updated `weights` entry to 30 plf"). **If a knowledge-base page steered the
|
|
154
|
+
change, name it** — "per `shop-standard-bolts`" — so the decision is traceable back to the firm's
|
|
155
|
+
own document rather than looking like your preference. Tell them to click **↻ Reload** in the
|
|
140
156
|
editor (or accept the reload banner) to see the change. Then resolve the request:
|
|
141
157
|
|
|
142
158
|
`DELETE http://localhost:<port>/api/requests/<id>`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-workflows
|
|
3
3
|
description: This skill should be used when building, modifying, or reasoning about FloLess .flo workflows for floless.app — especially reusable apps that take inputs (e.g. a phase number) and run across different Tekla models, exec nodes that run Roslyn C# against the live model, the in-app HTML Viewer, the Code tab, or "Debug in VS". Covers the exec contract, the install→validate→compile→run loop, app inputs templating, reading an approved Workspace project's data from a running workflow via the floless-workspace REST seam plus its workspace-project input picker, and the server seams (aware-adapter, app-reader, index).
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.4.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Building reusable .flo workflows in floless.app
|
|
@@ -316,6 +316,39 @@ Let the user **pick** the project (never type an opaque id): flag the input
|
|
|
316
316
|
(by name, searchable) and stores the opaque id. Client-only hint, never sent to `aware`
|
|
317
317
|
(like `widget: file`); optional `workspaceApp:` pre-filters to one app. See `references/workspace-data.md`.
|
|
318
318
|
|
|
319
|
+
## Author against the project's knowledge, not your priors — COMPOSE TIME
|
|
320
|
+
|
|
321
|
+
The section above is the workflow reading project data **at run time**. This is a different thing:
|
|
322
|
+
**you**, before writing a node, reading the project's **knowledge base** — the firm's own shop
|
|
323
|
+
standards, RFIs and spec notes — so the values you bake in are *theirs*.
|
|
324
|
+
|
|
325
|
+
When work is tied to a Workspace project (the user names one, or a queued request carries one):
|
|
326
|
+
|
|
327
|
+
1. **`GET <base>/api/workspace-projects`** — every live project, with `hasKnowledge` flagging a
|
|
328
|
+
published knowledge base. **The approved list is not a project list**:
|
|
329
|
+
`/api/workspace-projects/approved` gates on an approved Model, which is orthogonal to knowledge,
|
|
330
|
+
so it will hide the project you want.
|
|
331
|
+
|
|
332
|
+
`<base>` is the floless origin from the **request marker** you were handed, else
|
|
333
|
+
`transport.rest.base` in `~/.aware/agents/floless-workspace/manifest.yaml` — the server writes its
|
|
334
|
+
own real origin there. `http://127.0.0.1:4317` is only the common default: the server honors
|
|
335
|
+
`PORT`, so a hard-coded 4317 talks to the wrong host on any non-default instance.
|
|
336
|
+
|
|
337
|
+
> Call the **route**, not the agent. `floless-workspace` has a `rest` transport and `aware agent
|
|
338
|
+
> invoke` is builtin-only, so it cannot be driven directly from the terminal. Its `list-projects`
|
|
339
|
+
> command is the **run-path** equivalent, for a `.flo` node — see the section above.
|
|
340
|
+
2. Consult it per `floless-app-knowledge` § "Consulting the KB from other work (the Feed)" →
|
|
341
|
+
"Required first step", which owns the consult-and-cite rule — follow it there.
|
|
342
|
+
3. **Bake what it says in as literal values and cite the page** in the node's plain-English
|
|
343
|
+
Description ("Spacing per `shop-standard-bolts`"), so the choice is traceable to the firm's
|
|
344
|
+
document rather than to you. If nothing relevant matches, say so — never invent a standard.
|
|
345
|
+
|
|
346
|
+
Compose time only: what you learn is baked into the `.flo`. A model in the run path is refused by
|
|
347
|
+
AWARE (`E_APP_RUNTIME_MODEL_FORBIDDEN`) and would void "build once, run forever" — **outside the one
|
|
348
|
+
curated carve-out**, `vision.extract`, which is admitted only because it is `category: curated` and
|
|
349
|
+
declares `capabilities.runtime-model-extraction: true`, and which extracts but never decides. See
|
|
350
|
+
`references/visual-inputs.md`. Nothing you author for knowledge belongs in that carve-out.
|
|
351
|
+
|
|
319
352
|
## How the UI surfaces map to AWARE state
|
|
320
353
|
|
|
321
354
|
- **Code tab** shows the node's real source: `node.config.code` (the exec C#), not lockfile
|
|
@@ -11,13 +11,25 @@ Design: `docs/superpowers/specs/2026-07-06-workspaces-slice-6.5-workflow-data-se
|
|
|
11
11
|
`floless-workspace` is written to `~/.aware/agents/floless-workspace/manifest.yaml` by the FloLess
|
|
12
12
|
server **at startup** (`server/workspace-agent-manifest.ts`, `transport.rest.base =
|
|
13
13
|
http://127.0.0.1:<PORT>`) — so a terminal-only `aware app run` depends on the FloLess server being
|
|
14
|
-
up.
|
|
15
|
-
|
|
16
|
-
- **`list-
|
|
17
|
-
`{ ok, projects: [{ id, name, app,
|
|
14
|
+
up. Four `mode: read` commands:
|
|
15
|
+
|
|
16
|
+
- **`list-projects`** — **every live project**, which is what you want when you are choosing a project
|
|
17
|
+
to work against. Body: `{ ok, projects: [{ id, name, app, templateId, hasKnowledge }] }`.
|
|
18
|
+
`hasKnowledge` flags a published knowledge base. **Do not use `list-approved` for discovery** — see
|
|
19
|
+
the warning below.
|
|
20
|
+
- **`list-approved`** — only projects with an approved Model version (`app` optional query filter).
|
|
21
|
+
Body: `{ ok, projects: [{ id, name, app, templateId, currentApprovedAt, latestApprovedVersion }] }`.
|
|
22
|
+
Use it when you specifically need approved data, never as "list the projects".
|
|
18
23
|
- **`read-approved`** — one project's signed snapshot. Path param `project-id`; query `app` (guard —
|
|
19
24
|
mismatch 404), `version` (pin; omit = latest approved), `include` (`contract` default, `exports`
|
|
20
25
|
opt-in), `export-kind`, `export-contents`, `include-paths`, `max-bytes`.
|
|
26
|
+
- **`read-knowledge`** — the project's compiled knowledge base as ranked summaries (its own standards,
|
|
27
|
+
RFIs and spec notes — **not** approved model data). See `floless-app-knowledge`.
|
|
28
|
+
|
|
29
|
+
> **`list-approved` is not a project list.** Approval and knowledge are orthogonal: a project can hold
|
|
30
|
+
> a full knowledge base and no approved Model. On a real profile 13 projects existed, `list-approved`
|
|
31
|
+
> returned 2, and those 2 included a project with no knowledge while omitting one with 25 pages. Reach
|
|
32
|
+
> for `list-projects` unless you actually mean "approved".
|
|
21
33
|
|
|
22
34
|
```yaml
|
|
23
35
|
nodes:
|
|
@@ -26,7 +26,7 @@ inputs:
|
|
|
26
26
|
widget: workspace-project # client-only UI hint: render the approved-project picker instead of a text box (never sent to aware)
|
|
27
27
|
description: Approved Workspace project to read.
|
|
28
28
|
requires:
|
|
29
|
-
- floless-workspace@0.
|
|
29
|
+
- floless-workspace@0.2.x
|
|
30
30
|
- tekla@0.1.x
|
|
31
31
|
layout: linear
|
|
32
32
|
nodes:
|
package/dist/web/app.css
CHANGED
|
@@ -1293,6 +1293,14 @@
|
|
|
1293
1293
|
justify-content: center;
|
|
1294
1294
|
}
|
|
1295
1295
|
.modal-backdrop.show { display: flex; animation: fade-in 0.15s ease-out; }
|
|
1296
|
+
/* The shared form modal is the one every OTHER modal opens on top of itself — the run options
|
|
1297
|
+
over Requests, the folder over Integrations — so it cannot share their z-index. Every backdrop
|
|
1298
|
+
sitting at 100 means DOM ORDER decides, and #form-modal is declared before #requests-modal:
|
|
1299
|
+
the form painted UNDERNEATH, its buttons swallowed by the .req-item behind it. Not a paint bug
|
|
1300
|
+
you could see, either — the dialog looked fine and simply refused to respond, which is why it
|
|
1301
|
+
is pinned here rather than fixed by moving the element and hoping. Still below toasts (200),
|
|
1302
|
+
which must stay readable over anything. */
|
|
1303
|
+
#form-modal { z-index: 110; }
|
|
1296
1304
|
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
1297
1305
|
.modal {
|
|
1298
1306
|
background: var(--surface);
|
|
@@ -1969,6 +1977,125 @@
|
|
|
1969
1977
|
padding-left: 10px;
|
|
1970
1978
|
}
|
|
1971
1979
|
|
|
1980
|
+
/* ── Headless runs (#571 slice 3) ─────────────────────────────────────────────
|
|
1981
|
+
floless starting the user's OWN terminal AI on a queued request. Three things this
|
|
1982
|
+
styling is arranged around, all of them honesty constraints rather than taste:
|
|
1983
|
+
|
|
1984
|
+
1. There is no progress signal — only aliveness. So: a spinner, never a bar and never an
|
|
1985
|
+
elapsed clock, both of which invite reading meaning into a duration that carries none.
|
|
1986
|
+
2. There is no "ready" state for a runtime. A signed-out CLI resolves to a binary exactly
|
|
1987
|
+
like a working one, so nothing here may be --ok green: green already means "connected and
|
|
1988
|
+
working" on the OAuth cards in the same modal, and borrowing it would assert readiness
|
|
1989
|
+
floless has not earned. Found/not-found are both NEUTRAL.
|
|
1990
|
+
3. A parked run's question is handed back verbatim and never answered here — so the block
|
|
1991
|
+
that renders it carries no field, no reply box, nothing editable. */
|
|
1992
|
+
|
|
1993
|
+
/* The split: ▶ runs with the current default, ▾ opens the options form. Two buttons sharing one
|
|
1994
|
+
silhouette via joined radii — a real menu popover would need outside-click, focus trapping and
|
|
1995
|
+
its own scroll container for two decisions a themed form already asks better. */
|
|
1996
|
+
/* [hidden] LOSES TO A CLASS THAT SETS display, and this file has no global `[hidden]` rule — a
|
|
1997
|
+
trap this repo has now been caught by six times. Without these three, `$split.hidden = true`
|
|
1998
|
+
is a NO-OP: the queued-request modal's one caller queues a `revision-read`, which the run
|
|
1999
|
+
policy refuses, so "▶ Run it for me" painted on the one surface it could never work from —
|
|
2000
|
+
worse than a disabled control, because it looks live. `.request-help-steps` is pre-existing
|
|
2001
|
+
but only became a TOGGLED element in this change, and it is the other half: without it the
|
|
2002
|
+
modal shows "Paste the copied instructions" beside "Running in Claude Code". Found by review,
|
|
2003
|
+
invisible to any assertion that reads `.hidden` rather than computed style. */
|
|
2004
|
+
.run-split[hidden],
|
|
2005
|
+
.request-help-run-status[hidden],
|
|
2006
|
+
.request-help-steps[hidden] { display: none; }
|
|
2007
|
+
.run-split { display: inline-flex; }
|
|
2008
|
+
.run-split-main { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
2009
|
+
.run-split-caret { border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 7px 9px;
|
|
2010
|
+
border-left: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); }
|
|
2011
|
+
|
|
2012
|
+
/* The post-click state of #request-help-modal, standing where the 1-2-3 steps were. */
|
|
2013
|
+
.request-help-run-status { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0;
|
|
2014
|
+
padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); }
|
|
2015
|
+
.rhrs-title { margin: 0; font-size: 12.5px; color: var(--text); line-height: 1.4; }
|
|
2016
|
+
.rhrs-title strong { color: var(--accent-bright); font-weight: 600; }
|
|
2017
|
+
.rhrs-title code { font-family: var(--mono); font-size: 11px; color: var(--text-dim);
|
|
2018
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; }
|
|
2019
|
+
.rhrs-sub { margin: 4px 0 0; font-size: 11px; color: var(--text-dim); line-height: 1.5; }
|
|
2020
|
+
|
|
2021
|
+
/* The row's run/stop glyph — same 26x26 recipe as .req-copy/.req-del so the gutter stays one
|
|
2022
|
+
control language, and NOT a third size just because this one is new. */
|
|
2023
|
+
.req-run, .req-stop {
|
|
2024
|
+
display: inline-flex; align-items: center; justify-content: center; padding: 0;
|
|
2025
|
+
appearance: none; border: 1px solid var(--border-strong); background: transparent;
|
|
2026
|
+
color: var(--text-muted); cursor: pointer; width: 26px; height: 26px;
|
|
2027
|
+
border-radius: 4px; font-size: 11px; line-height: 1;
|
|
2028
|
+
}
|
|
2029
|
+
.req-run:hover { color: var(--accent-bright); border-color: var(--accent-dim); background: var(--accent-soft); }
|
|
2030
|
+
.req-stop:hover { color: var(--err); border-color: var(--err); }
|
|
2031
|
+
|
|
2032
|
+
/* The live status block, under the instruction. */
|
|
2033
|
+
.req-run-status { margin-top: 8px; padding: 8px 10px; border: 1px solid var(--border);
|
|
2034
|
+
border-radius: 6px; background: var(--surface); display: flex; flex-direction: column;
|
|
2035
|
+
gap: 6px; font-size: 11.5px; }
|
|
2036
|
+
.req-run-head { display: flex; align-items: center; gap: 7px; }
|
|
2037
|
+
.req-run-head .rtn-spinner { width: 11px; height: 11px; border-width: 2px; }
|
|
2038
|
+
.req-run-badge { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
|
|
2039
|
+
padding: 2px 8px; border-radius: 10px; font-weight: 600; width: fit-content; flex-shrink: 0; }
|
|
2040
|
+
.req-run-badge-active { background: var(--accent-soft); color: var(--accent-bright); }
|
|
2041
|
+
.req-run-badge-warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
|
|
2042
|
+
.req-run-badge-err { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
|
|
2043
|
+
.req-run-badge-muted { background: var(--surface-3); color: var(--text-dim); }
|
|
2044
|
+
.req-run-note { margin: 0; color: var(--text-muted); line-height: 1.45; }
|
|
2045
|
+
.req-run-where { font-family: var(--mono); font-size: 10px; color: var(--text-dim);
|
|
2046
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2047
|
+
/* The agent's question, VERBATIM. A quote, deliberately — the warn rule and the italic say
|
|
2048
|
+
"somebody said this to you", where a plain paragraph would read as floless's own prose and a
|
|
2049
|
+
field would read as somewhere to answer. There is nowhere to answer; that is the point. */
|
|
2050
|
+
.req-run-question { margin: 0; color: var(--text); font-style: italic; line-height: 1.45;
|
|
2051
|
+
border-left: 2px solid var(--warn); padding-left: 9px; white-space: pre-wrap; word-break: break-word; }
|
|
2052
|
+
/* The CLI's own tail, collapsed. 4000 chars of raw output expanded by default would swallow the
|
|
2053
|
+
list; <details> is the platform's own disclosure, with only its marker restyled. */
|
|
2054
|
+
.req-run-output { font-size: 11px; }
|
|
2055
|
+
.req-run-output > summary { list-style: none; cursor: pointer; color: var(--text-dim);
|
|
2056
|
+
font-size: 10.5px; user-select: none; }
|
|
2057
|
+
.req-run-output > summary::-webkit-details-marker { display: none; }
|
|
2058
|
+
.req-run-output > summary::before { content: '▸ '; font-size: 9px; }
|
|
2059
|
+
.req-run-output[open] > summary::before { content: '▾ '; }
|
|
2060
|
+
.req-run-output > summary:hover { color: var(--text-muted); }
|
|
2061
|
+
.req-run-output pre {
|
|
2062
|
+
margin: 6px 0 0; padding: 7px 9px; max-height: 120px; overflow: auto;
|
|
2063
|
+
background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
|
|
2064
|
+
font-family: var(--mono); font-size: 10px; line-height: 1.5; color: var(--text-muted);
|
|
2065
|
+
white-space: pre-wrap; word-break: break-word;
|
|
2066
|
+
}
|
|
2067
|
+
/* Why THIS row has no ▶, shown only when a runnable row is on screen beside it (see
|
|
2068
|
+
renderRequests). Metadata at .req-lifecycle's tier — never a greyed-out button. */
|
|
2069
|
+
.req-why-not { margin-top: 6px; font-size: 10.5px; font-style: italic; color: var(--text-dim); line-height: 1.4; }
|
|
2070
|
+
|
|
2071
|
+
/* The Integrations section: which terminal AIs are installed, and the folder runs happen in. */
|
|
2072
|
+
.int-section { border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface-2);
|
|
2073
|
+
padding: 12px; margin-bottom: 10px; flex-shrink: 0; }
|
|
2074
|
+
.int-section-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
|
|
2075
|
+
.int-section-sub { font-size: 11px; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }
|
|
2076
|
+
.int-runtimes { display: flex; flex-direction: column; gap: 6px; }
|
|
2077
|
+
.int-rt { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
|
|
2078
|
+
padding: 8px 10px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); }
|
|
2079
|
+
.int-rt.is-default { border-color: var(--accent); background: var(--accent-soft); }
|
|
2080
|
+
.int-rt.is-missing { opacity: 0.72; }
|
|
2081
|
+
.int-rt-name { font-size: 12.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 7px; }
|
|
2082
|
+
.int-rt-pill { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
|
|
2083
|
+
padding: 1px 6px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-bright); }
|
|
2084
|
+
.int-rt-blurb { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
|
|
2085
|
+
.int-rt-blurb code { font-family: var(--mono); color: var(--text-dim); }
|
|
2086
|
+
.int-rt-where { font-family: var(--mono); font-size: 9.5px; color: var(--text-dim); margin-top: 3px;
|
|
2087
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2088
|
+
/* NEUTRAL on purpose, both of them — see point 2 in this block's header. */
|
|
2089
|
+
.int-rt-badge { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
|
|
2090
|
+
padding: 2px 8px; border-radius: 10px; background: var(--surface-3); color: var(--text-muted); }
|
|
2091
|
+
.int-rt.is-missing .int-rt-badge { color: var(--text-dim); }
|
|
2092
|
+
.int-rt-side { display: flex; align-items: center; gap: 7px; }
|
|
2093
|
+
.int-folder { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
|
|
2094
|
+
display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); }
|
|
2095
|
+
.int-folder-path { font-family: var(--mono); font-size: 10px; color: var(--text); min-width: 0;
|
|
2096
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
|
|
2097
|
+
.int-folder-path.is-unset { font-family: var(--ui); font-style: italic; color: var(--text-dim); }
|
|
2098
|
+
|
|
1972
2099
|
/* "Don't save" in the unsaved-changes dialog: left-pushed, neutral at rest,
|
|
1973
2100
|
destructive only on hover — same restraint as the Requests "Clear all". */
|
|
1974
2101
|
#confirm-dont-save { margin-right: auto; }
|
|
@@ -2946,6 +3073,8 @@ body {
|
|
|
2946
3073
|
.run-state.ready { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
|
|
2947
3074
|
.run-state.drift { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
|
|
2948
3075
|
.run-state.uncompiled { color: var(--text-muted); border-color: var(--border-strong); }
|
|
3076
|
+
.run-state.running { color: var(--accent-bright); border-color: var(--accent-dim); }
|
|
3077
|
+
.run-state.cancelling { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
|
|
2949
3078
|
|
|
2950
3079
|
/* Header Stop — the always-reachable escape hatch during a run, regardless of whether
|
|
2951
3080
|
the HTML Viewer modal is open or closed (#39). Shown only while a run is in flight.
|
package/dist/web/app.js
CHANGED
|
@@ -1356,6 +1356,10 @@ function dismissFsNudge(remember) {
|
|
|
1356
1356
|
if (remember) { try { localStorage.setItem(FS_NUDGE_KEY, '1'); } catch {} }
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
|
+
// Passive notices yield to an explicit popup action for the rest of this page session. Do not
|
|
1360
|
+
// persist the seen flag: opening a project menu is not the same as dismissing the suggestion.
|
|
1361
|
+
document.addEventListener('floless:passive-overlay-yield', () => dismissFsNudge(false));
|
|
1362
|
+
|
|
1359
1363
|
function nudgeAlreadySeen() {
|
|
1360
1364
|
try { return localStorage.getItem(FS_NUDGE_KEY) === '1'; } catch { return false; }
|
|
1361
1365
|
}
|