@floless/app 0.149.1 → 0.151.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 +104263 -88361
- package/dist/schemas/drawing-check.profile.v1.schema.json +45 -2
- package/dist/schemas/steel.model.v2.schema.json +9 -0
- package/dist/skills/floless-app-approval/SKILL.md +79 -4
- package/dist/skills/floless-app-onboarding/SKILL.md +200 -87
- package/dist/skills/floless-app-onboarding/references/aware-runtime.md +27 -18
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +207 -0
- package/dist/skills/floless-app-routines/SKILL.md +4 -1
- package/dist/skills/floless-app-routines/references/routines-api.md +14 -2
- package/dist/skills/floless-app-steel-model/SKILL.md +4 -2
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +14 -9
- package/dist/skills/floless-app-workflows/SKILL.md +2 -2
- package/dist/templates/tekla-parser.flo +13 -3
- package/dist/web/agents.js +983 -0
- package/dist/web/app.css +556 -43
- package/dist/web/app.js +34 -112
- package/dist/web/aware.js +1774 -169
- package/dist/web/chat.css +62 -1
- package/dist/web/chat.js +1666 -59
- package/dist/web/commands-drawing-check.js +15 -0
- package/dist/web/commands-revit.js +5 -0
- package/dist/web/commands-shell.js +955 -53
- package/dist/web/commands-tekla-parser.js +8 -1
- package/dist/web/connections.js +57 -14
- package/dist/web/drawing-check-editor.html +10 -2
- package/dist/web/drawing-check-editor.js +569 -40
- package/dist/web/drawing-check-overlay.js +45 -2
- package/dist/web/guide.js +675 -0
- package/dist/web/index.html +162 -31
- package/dist/web/instructor.js +91 -8
- package/dist/web/leave-guard.js +1 -0
- package/dist/web/left-pane.js +20 -1
- package/dist/web/local-discovery.js +12 -2
- package/dist/web/model-editor.css +32 -32
- package/dist/web/model-panel-bridge.js +11 -3
- package/dist/web/model-viewport-lighting.js +4 -2
- package/dist/web/model-viewport-revit-adapter.js +3 -0
- package/dist/web/model-viewport-toolbar.js +6 -3
- package/dist/web/model-viewport.js +11 -1
- package/dist/web/revit-editor.css +14 -14
- package/dist/web/revit-editor.js +64 -12
- package/dist/web/steel-3d-core.js +133 -0
- package/dist/web/steel-3d-view.js +10 -0
- package/dist/web/steel-editor.html +171 -39
- package/dist/web/steel-model-v2-client-validation.js +11 -0
- package/dist/web/steel-model-v2-commands.js +80 -5
- package/dist/web/tool-updates.js +533 -0
- package/dist/web/workspaces.js +896 -123
- package/package.json +2 -2
- package/dist/skills/floless-app-onboarding/references/floless-app-tour.md +0 -156
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floless/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Thin localhost host for floless.app
|
|
5
|
+
"description": "Thin localhost host for floless.app — serves web/ and shells the aware CLI. No engine, no LLM.",
|
|
6
6
|
"bin": {
|
|
7
7
|
"floless-app": "bin/floless.mjs"
|
|
8
8
|
},
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
# Arc B — floless.app, the UI
|
|
2
|
-
|
|
3
|
-
The detail behind Arc B. Walk B1→B7 (or the one section the user picked). Point the user at the
|
|
4
|
-
real elements in their browser (floless.app at `http://127.0.0.1:4317`) and, where useful, show the
|
|
5
|
-
live state. Keep each section short; check in before moving on. If the app isn't running, ask the
|
|
6
|
-
user to start it first.
|
|
7
|
-
|
|
8
|
-
Throughout: floless.app is a **thin UI** — it renders AWARE state and triggers `aware` verbs. It
|
|
9
|
-
never composes workflows or contains an LLM. FloLess AI Chat relays turns through the local server to
|
|
10
|
-
the selected provider runtime; that provider remains the brain.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## B1 · The 3-column window
|
|
15
|
-
|
|
16
|
-
The layout is **header / `chat │ canvas │ inspect` / footer**:
|
|
17
|
-
- **Left — AI Chat (~340px):** the conversation for this one project or standalone workflow. It keeps
|
|
18
|
-
dated history, drafts, attachments, loaded provider skills and model/effort/access settings, and
|
|
19
|
-
relays turns to the selected signed-in provider runtime.
|
|
20
|
-
- **Center — canvas:** the open workflow's **topology** — nodes and the edges between them, rendered
|
|
21
|
-
from the `.flo`. Zoom / fit controls; click a node to inspect it; **star ★** a node to save it as a
|
|
22
|
-
reusable Template (B3).
|
|
23
|
-
- **Right — inspect (~420px):** details of the selected node (B3).
|
|
24
|
-
- **Top-left — the workflow switcher:** pick which installed app is on the canvas. A small dot marks
|
|
25
|
-
unsaved edits.
|
|
26
|
-
|
|
27
|
-
Have the user pick a workflow from the switcher so there's something real on the canvas to tour.
|
|
28
|
-
|
|
29
|
-
Open **Chat settings** and explain its locality statement precisely: project files, chat history,
|
|
30
|
-
attachments and Knowledge stay on this computer; messages, images and relevant file content go to the
|
|
31
|
-
selected provider service for AI processing; connected integrations contact their services. Desktop
|
|
32
|
-
continuation is shown as unavailable unless the exact installed CLI and desktop version has passed the
|
|
33
|
-
complete transfer-and-return proof. Never describe that as an offline or on-device model.
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## B2 · The gate (Compile → Approve → Run)
|
|
38
|
-
|
|
39
|
-
The header carries the run controls and a **state** chip. This is "build once, run forever" (A1)
|
|
40
|
-
made visible:
|
|
41
|
-
|
|
42
|
-
- **`⎙ Compile`** — freezes the current `.flo` into its **`.lock`**. This *is* "Approve": the lock is
|
|
43
|
-
the contract that will run. After any edit, the Run gate **locks** until you Compile again (the
|
|
44
|
-
source-hash changed — a "drift").
|
|
45
|
-
- **`▶ Run workflow`** — the **real** run: executes the approved app against your live host. Each node
|
|
46
|
-
paints progress on the canvas (running → ✓ done / ✗ failed); if the app produces a report, the HTML
|
|
47
|
-
Viewer opens with the result. Run always executes the single open workflow against your one live
|
|
48
|
-
host — there's no parallel or multi-target run.
|
|
49
|
-
- **`Simulate`** — a **composition check**: every node is stubbed from its schema, no host touched.
|
|
50
|
-
Great for sanity-checking a workflow's *shape* fast. Caveat to mention: Simulate can't truly run
|
|
51
|
-
data-carrying `exec` apps (stubs carry no real values) — for those, use the real Run.
|
|
52
|
-
- **state chip** — shows where the gate is (needs compile / ready / running).
|
|
53
|
-
|
|
54
|
-
The everyday rhythm: **edit → Compile/Approve → Run**. Run stays disabled on drift until you
|
|
55
|
-
re-Compile. That gate is what keeps runs reproducible.
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## B3 · Templates, Routines, Agents, Inspect
|
|
60
|
-
|
|
61
|
-
The panels and buttons the user will actually click:
|
|
62
|
-
|
|
63
|
-
- **Templates (★):** star any node on the canvas — or, inside the Agents library, any command — to
|
|
64
|
-
save it as a reusable **Template**. It appears in the template bar and is reusable in **any**
|
|
65
|
-
workflow, and persists across projects. The terminal AI is *template-aware*: when a plain-English
|
|
66
|
-
request matches a saved Template, it reuses that saved logic instead of rebuilding it.
|
|
67
|
-
- **Routines (`⏱ Routines`):** run a workflow **automatically** — on a **schedule** (e.g. weekdays at
|
|
68
|
-
07:00) or on a **trigger** (a live event, e.g. *whenever your Tekla model changes*). Runs happen on
|
|
69
|
-
this machine through your live host, exactly like clicking ▶ Run. Authoring path: the
|
|
70
|
-
**floless-app-routines** skill (B6).
|
|
71
|
-
- **Agents (`⊞ Agents`):** the **Agents library** — every installed agent, each command starrable as a
|
|
72
|
-
Template. Agents you install (A4) show up here. It's also the entry point to **Graft** (B5).
|
|
73
|
-
- **Inspect (right panel):** click any node → its details. The tabs surface the node's
|
|
74
|
-
**Description / Skill**, its **Code** (the real source — an `exec` node's C#, syntax-highlighted),
|
|
75
|
-
and the live **Execution** trace while a run is in flight. A report/viewer node carries a
|
|
76
|
-
**"View report ▸"** button that opens the in-app **HTML Viewer** (a sandboxed iframe showing the
|
|
77
|
-
last result — load is split from run, so it shows the last report instantly without recomputing).
|
|
78
|
-
- **Tweak (✎):** select a node and queue a plain-English change ("also group by assembly"). The
|
|
79
|
-
terminal AI picks it up (via **floless-app-bridge**, B6), edits just that one node, and recompiles —
|
|
80
|
-
the UI itself never edits the `.flo`.
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## B4 · The footer
|
|
85
|
-
|
|
86
|
-
The bottom strip shows the **installed AWARE version** and the **floless.app version**.
|
|
87
|
-
- On current builds the AWARE version is **live** — it re-stamps if AWARE changes out of band (e.g.
|
|
88
|
-
you updated it from the terminal). On older builds it can be a boot-time snapshot, so if it ever
|
|
89
|
-
looks off, npm is the source of truth (A2).
|
|
90
|
-
- Update affordances live here too: an **app self-update** pill (`↑ Update to v…`) when a newer
|
|
91
|
-
floless.app is published, and — on builds that include it — an **`↑ Upgrade AWARE to v…`** pill (the
|
|
92
|
-
in-app AWARE update from A2). If you don't see the AWARE pill, your build predates it; the reliable
|
|
93
|
-
path is always the CLI (`npm i -g @aware-aeco/cli@latest`).
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## B5 · Bake & Graft (the two killer moves)
|
|
98
|
-
|
|
99
|
-
A matched pair — the input and output sides of "turn things into agents":
|
|
100
|
-
|
|
101
|
-
- **Bake — export a workflow as an agent.** (Reachable from the workflow menu as **"Bake into
|
|
102
|
-
agent"**; the confirm action carries the **⊙ Bake** glyph.) Takes a working multi-node `.flo` and
|
|
103
|
-
packages it as a single **callable agent** whose inputs become the agent's parameters. AWARE
|
|
104
|
-
reinstalls it with that exposed interface; it then appears in the **Agents library** as one callable
|
|
105
|
-
node that other workflows can drop in. (Mechanism: `exposes-as-agent` + `exposed-commands` in the
|
|
106
|
-
`.flo`.) Use it to turn a proven workflow into a reusable building block.
|
|
107
|
-
- **Graft — import your own tool as an agent.** (Reachable from the **`⊞ Agents`** library —
|
|
108
|
-
**"Graft new agent"** — or the workflow menu.) The input-side mirror of Bake. Turn a foreign tool
|
|
109
|
-
you already own — a .NET DLL (or a whole folder of them), an OpenAPI spec, a NuGet/npm package, a
|
|
110
|
-
COM ProgID, a CLI — into a first-class AWARE agent you can compose. The hero case: an in-house Tekla
|
|
111
|
-
plugin becomes a headless command you can run across an entire model at 2am. (Mechanism: AWARE's
|
|
112
|
-
`aware build agent --from-…`, A3; floless stages a preview of the discovered commands before you
|
|
113
|
-
commit.)
|
|
114
|
-
|
|
115
|
-
The full arc: **Graft your tool → compose it into a workflow → Bake the workflow → distribute.** That
|
|
116
|
-
is how floless.app turns "use the agents we ship" into "any tool you own becomes composable AI
|
|
117
|
-
infrastructure." Keep it concept-level here; the deep authoring lives in **floless-app-workflows**.
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## B6 · The floless skills (how to drive it from the terminal)
|
|
122
|
-
|
|
123
|
-
floless.app ships three skills into the AI terminal — they are how the terminal AI acts on the
|
|
124
|
-
user's behalf. When the user wants to *do* something, invoke the matching one:
|
|
125
|
-
|
|
126
|
-
- **floless-app-workflows** — build / modify / run `.flo` workflows: the install→validate→compile→run
|
|
127
|
-
loop, `exec` nodes (Roslyn C# against a live host), app inputs, the HTML Viewer. The doing-skill for
|
|
128
|
-
authoring.
|
|
129
|
-
- **floless-app-routines** — set up automatic runs (schedule or trigger) through the Routines API.
|
|
130
|
-
- **floless-app-bridge** — pick up what the user did in the UI (a queued **Tweak**, a "use this
|
|
131
|
-
Template" request), apply the change to the `.flo`, recompile, and clear the request.
|
|
132
|
-
|
|
133
|
-
All three talk to the same local server (port 4317) and preserve the contract: the UI records intent;
|
|
134
|
-
the selected provider AI does the real authoring. The user can continue in FloLess AI Chat or use an
|
|
135
|
-
external terminal, then watch and approve in the browser.
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## B7 · How to run + best practices
|
|
140
|
-
|
|
141
|
-
**The everyday loop:** pick a workflow (switcher) → set its inputs (on the input node) →
|
|
142
|
-
**`⎙ Compile`/Approve** → **`▶ Run workflow`** → read the result (HTML Viewer, or the Execution tab).
|
|
143
|
-
Edit → recompile → run.
|
|
144
|
-
|
|
145
|
-
**Habits that keep it good:**
|
|
146
|
-
- **Compile after every edit.** Run is gated on a fresh lock — determinism is AWARE's, not the UI's.
|
|
147
|
-
- **Trust the real Run, not a clean compile.** `Simulate` checks shape; only a real `▶ Run` proves a
|
|
148
|
-
workflow works against the host.
|
|
149
|
-
- **Tweak, don't rebuild.** To change one node, select it and **✎ Tweak** — the AI edits just that
|
|
150
|
-
node and recompiles.
|
|
151
|
-
- **Automate the repeat.** Once a workflow is solid, make it a **Routine** (schedule or trigger).
|
|
152
|
-
- **Reuse aggressively.** ★ star nodes/commands as **Templates**; **Bake** proven workflows into
|
|
153
|
-
agents; **Graft** your own tools in.
|
|
154
|
-
- **Keep AWARE current (A2).** New releases bring new agents and features.
|
|
155
|
-
- **Remember who's the brain.** Ask the selected provider AI to build and change things; watch,
|
|
156
|
-
approve, and run in the browser. The UI is the window, not the engine.
|