@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
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Arc A — AWARE, the runtime
|
|
2
2
|
|
|
3
|
+
The detail behind Arc A of Terminal mode. (In Guide mode, use it only to answer "what is AWARE?" or
|
|
4
|
+
"what's underneath?" in plain words — the Guide runs no commands that change anything.)
|
|
5
|
+
|
|
6
|
+
FloLess calls AWARE's installable agents **tools** when talking to a person — "Agents" in FloLess are
|
|
7
|
+
the delegated checks on the Agents tab. The `aware agent …` commands below keep AWARE's own name.
|
|
8
|
+
|
|
3
9
|
The detail behind Arc A. Walk A1→A4 (or the one section the user picked). Run the read-only probes
|
|
4
10
|
live and narrate the user's real output; offer mutations (update, install) and run them only on a
|
|
5
11
|
yes. Keep each section short and check in before moving on.
|
|
@@ -10,15 +16,15 @@ yes. Keep each section short and check in before moving on.
|
|
|
10
16
|
|
|
11
17
|
**The pitch (say it in plain terms):** AWARE is the open-source **agentic substrate for AECO**
|
|
12
18
|
([github.com/aware-aeco/aware](https://github.com/aware-aeco/aware)) — the runtime everything in
|
|
13
|
-
|
|
14
|
-
workflow; AWARE **compiles** it into a frozen, version-pinned **`.lock`** (the approved contract) and
|
|
15
|
-
**runs** it.
|
|
19
|
+
FloLess sits on. You describe what you want; your AI (in FloLess AI Chat or a terminal) writes a
|
|
20
|
+
plain-text FloLess **`.flo`** workflow; AWARE **compiles** it into a frozen, version-pinned **`.lock`** (the approved contract) and
|
|
21
|
+
**runs** it. FloLess is just the window onto this — it holds no engine and no AI of its own.
|
|
16
22
|
|
|
17
23
|
**Build once, run forever** (the core idea — make sure it lands):
|
|
18
24
|
- `aware app compile` freezes a workflow's source into `<app>.lock` and pins the agent versions.
|
|
19
25
|
- `aware app run` **refuses to run** if the source changed since that compile (a "source-hash drift").
|
|
20
26
|
So an approved app stays exactly as approved until you deliberately recompile. That gate is what
|
|
21
|
-
makes runs reproducible — and it's the same gate the
|
|
27
|
+
makes runs reproducible — and it's the same gate the FloLess **Run workflow** button follows (B4).
|
|
22
28
|
- Determinism is layered: the `.lock` at the **app** level, and compiled code (an `exec` node's C#,
|
|
23
29
|
a Smart Node) at the **node** level.
|
|
24
30
|
|
|
@@ -26,13 +32,13 @@ workflow; AWARE **compiles** it into a frozen, version-pinned **`.lock`** (the a
|
|
|
26
32
|
```bash
|
|
27
33
|
ls ~/.aware
|
|
28
34
|
# apps/ installed workflows (<id>/<app>.flo + <app>.lock)
|
|
29
|
-
# agents/ installed
|
|
35
|
+
# agents/ installed tools (AWARE calls them agents) that apps can call
|
|
30
36
|
# bridges/ host connectors (e.g. aware-tekla.exe)
|
|
31
37
|
# logs/ per-run JSONL execution traces
|
|
32
38
|
# credentials/ connection secrets (opaque; never through the model)
|
|
33
39
|
```
|
|
34
|
-
AWARE itself is installed as the npm global **`@aware-aeco/cli`** (not bundled into
|
|
35
|
-
|
|
40
|
+
AWARE itself is installed as the npm global **`@aware-aeco/cli`** (not bundled into FloLess —
|
|
41
|
+
FloLess installs or repairs it on first start). That detail matters for A2.
|
|
36
42
|
|
|
37
43
|
---
|
|
38
44
|
|
|
@@ -43,7 +49,7 @@ read of what's actually on disk, not a guess):
|
|
|
43
49
|
```bash
|
|
44
50
|
npm ls -g @aware-aeco/cli # the installed global — the source of truth
|
|
45
51
|
```
|
|
46
|
-
The
|
|
52
|
+
The FloLess footer and `/api/health` (`awareVersion`, captured in Step 0) also surface it —
|
|
47
53
|
freshly re-probed on current builds, but an **older app build can show a stale boot snapshot**. If
|
|
48
54
|
the app's number and npm disagree, trust npm. State the version back to the user.
|
|
49
55
|
|
|
@@ -60,15 +66,15 @@ The reliable path on **every** build is the npm global — lead with it:
|
|
|
60
66
|
```bash
|
|
61
67
|
npm i -g @aware-aeco/cli@latest # always works; no running app required
|
|
62
68
|
```
|
|
63
|
-
**
|
|
64
|
-
|
|
69
|
+
**FloLess also has an in-app shortcut:** an **Update AWARE** pill in the footer next to the version
|
|
70
|
+
(clicking it reinstalls in place, no relaunch) — programmatically
|
|
65
71
|
`GET /api/aware/update` then `POST /api/aware/update/apply`. If that pill isn't there, the app isn't
|
|
66
72
|
running, or `GET /api/aware/update` 404s, the build predates the shortcut — just use the npm command
|
|
67
73
|
above.
|
|
68
74
|
|
|
69
75
|
After applying, **re-probe** (`npm ls -g @aware-aeco/cli`) and confirm the new version to the user.
|
|
70
76
|
|
|
71
|
-
**Why there's a button at all:**
|
|
77
|
+
**Why there's a button at all:** FloLess installs `@aware-aeco/cli@latest` above a minimum floor
|
|
72
78
|
on first run, but it deliberately does **not** force-upgrade an existing install on every boot (no
|
|
73
79
|
surprise upgrades, no slow starts). Moving an up-to-date-enough install to the newest release is
|
|
74
80
|
exactly what this on-demand update is for.
|
|
@@ -77,8 +83,8 @@ exactly what this on-demand update is for.
|
|
|
77
83
|
|
|
78
84
|
## A3 · The command surface
|
|
79
85
|
|
|
80
|
-
Give a **map**, not an exhaustive dump. Most of these the
|
|
81
|
-
buttons (
|
|
86
|
+
Give a **map**, not an exhaustive dump. Most of these the person will drive through FloLess's
|
|
87
|
+
buttons (B4, B6) — the CLI is the same machinery underneath. Group it like this, then suggest
|
|
82
88
|
`aware --help` (and `aware app --help` / `aware agent --help`) to see the live surface for *their*
|
|
83
89
|
version rather than enumerating flags they may not have.
|
|
84
90
|
|
|
@@ -90,7 +96,7 @@ version rather than enumerating flags they may not have.
|
|
|
90
96
|
- `run <id> [--input k=v] [--json]` — execute the approved app (run takes the **id**).
|
|
91
97
|
- `logs` — past runs (traces also land at `~/.aware/logs/<id>/…`).
|
|
92
98
|
|
|
93
|
-
**Agents — the
|
|
99
|
+
**Agents — the tools apps call (`aware agent …`; FloLess shows them as tools):**
|
|
94
100
|
- `list` — **installed** agents. `describe <id>` — an installed agent's commands + skills.
|
|
95
101
|
- `install <id>` / `uninstall <id>` — add/remove a capability.
|
|
96
102
|
- …plus the **catalog** commands for discovering agents you *don't* have yet — that's A4.
|
|
@@ -98,17 +104,19 @@ version rather than enumerating flags they may not have.
|
|
|
98
104
|
**Sidecars / bridges — host connectors (`aware sidecar …`):**
|
|
99
105
|
- `install <host>` — fetch a host bridge (e.g. `tekla`, `rhino`, `sketchup`, `revit`) so workflows
|
|
100
106
|
can drive that application. Required before a real host run against, say, a live Tekla model.
|
|
107
|
+
When AWARE is updated, FloLess offers **Repair installed bridges** for any that no longer match.
|
|
101
108
|
|
|
102
109
|
**Build — graft a tool into an agent (`aware build agent --from-…`):**
|
|
103
110
|
- Turns a foreign tool you own (a DLL, an OpenAPI spec, a NuGet/npm package, a COM ProgID, a CLI…)
|
|
104
|
-
into a first-class AWARE agent. This is
|
|
111
|
+
into a first-class AWARE agent. This is FloLess's **Graft** — covered in B6.
|
|
105
112
|
|
|
106
113
|
**Connections / credentials (`aware connect …`):** wire up external services; secrets live as opaque
|
|
107
|
-
handles under `~/.aware/credentials/`, never passed through the
|
|
114
|
+
handles under `~/.aware/credentials/`, never passed through the AI. In FloLess this is
|
|
115
|
+
**Integrations** (B6).
|
|
108
116
|
|
|
109
117
|
---
|
|
110
118
|
|
|
111
|
-
## A4 · Available
|
|
119
|
+
## A4 · Available tools (browse before you install)
|
|
112
120
|
|
|
113
121
|
**The gap to explain:** `aware agent list` and `aware agent describe` only see agents you've
|
|
114
122
|
**already installed**. To discover *what agents exist* before installing — and what each one does —
|
|
@@ -147,7 +155,8 @@ aware agent has <agent> <capability> # exit 0 if it exposes that capabilit
|
|
|
147
155
|
aware agent install <id>
|
|
148
156
|
```
|
|
149
157
|
It lands under `~/.aware/agents/<id>/`, then appears in `aware agent list` and is usable as a
|
|
150
|
-
workflow node (`agent: <id>`). It also shows up in
|
|
158
|
+
workflow node (`agent: <id>`). It also shows up in FloLess's **Tools** library (≡ menu → Tools,
|
|
159
|
+
Ctrl+G; B6), where the person can install the same way with a click.
|
|
151
160
|
|
|
152
161
|
**Degradation — older AWARE has no catalog (handle this gracefully):**
|
|
153
162
|
The catalog commands are newer than some installs. If `aware agent catalog` errors, is an unknown
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# FloLess surfaces — what each one is, where it lives, when to use it
|
|
2
|
+
|
|
3
|
+
The map behind Arc B of Terminal mode (B1→B9), and the Guide's reference for "where is …" and "how
|
|
4
|
+
do I …". Point the person at the real thing on their screen (FloLess at `http://127.0.0.1:4317`) and,
|
|
5
|
+
where useful, at their live state. Keep each section short; check in before moving on.
|
|
6
|
+
|
|
7
|
+
Ground rules for describing any of it:
|
|
8
|
+
- FloLess is a **window**: it shows AWARE's state, starts `aware` verbs, and relays what the person
|
|
9
|
+
wants to the AI provider they chose. It never composes a workflow or calls an AI on its own.
|
|
10
|
+
- If something below is not on the person's screen, their build may be older — say so plainly and use
|
|
11
|
+
what is there. The **Instructor's `?`** (B7) lists every control on the screen they are on.
|
|
12
|
+
- When you name a control, use its on-screen label.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## B1 · The shape of the window
|
|
17
|
+
|
|
18
|
+
- **Header:** three top tabs — **Workspaces** (projects: drawings, model, exports), **Workflows**
|
|
19
|
+
(build, approve and run a process), **Agents** (checks you hand over). Ctrl+1 / Ctrl+2 / Ctrl+3.
|
|
20
|
+
The **≡** menu holds everything else (B6, B8).
|
|
21
|
+
- **Left:** **AI Chat** — the conversation for whatever is in view (B2). In a project, the left panel
|
|
22
|
+
also has the **Model** section; either can be folded or moved.
|
|
23
|
+
- **Centre:** the page for the tab you're on — the project's steps, the workflow canvas, or an agent.
|
|
24
|
+
- **Right (Workflows):** **Inspect**, the details of the selected node.
|
|
25
|
+
- **Instructor strip** (above the footer): narrates what you're doing and explains any control (B7).
|
|
26
|
+
- **Footer:** **Report an issue**; counts of **tools**, **workflows**, **templates** and **requests**
|
|
27
|
+
(click requests to open Requests, B4); the AWARE and FloLess versions with their update pills (B8).
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## B2 · AI Chat
|
|
32
|
+
|
|
33
|
+
The person's AI, working inside FloLess. Each project, workflow and the workspace itself keeps its own
|
|
34
|
+
conversations, with dated history (**Conversation history**, **New conversation**, rename, archive).
|
|
35
|
+
|
|
36
|
+
- **Provider:** one of the two AI providers FloLess hosts, chosen when the conversation starts and fixed for its lifetime; it
|
|
37
|
+
answers from the person's own signed-in subscription. **Chat settings** shows the provider and
|
|
38
|
+
account, model, effort, file access, connected accounts, and where conversation data goes: project
|
|
39
|
+
files, chat history, attachments and Knowledge stay on this computer; messages, images and relevant
|
|
40
|
+
file content go to that provider for processing; connected services are contacted when used. It is
|
|
41
|
+
not an offline or on-device AI — never describe it as one.
|
|
42
|
+
- **Access** (how far the AI may go with files):
|
|
43
|
+
- **Read only** — the AI's file tools can't change files. The workspace conversation starts here.
|
|
44
|
+
- **Auto** — the AI approves safe steps itself and asks for the rest. Project and workflow
|
|
45
|
+
conversations start here.
|
|
46
|
+
- **Working folder write** — may change files inside the project or workflow folder, under the AI's
|
|
47
|
+
usual approvals (in the workspace conversation this shows as *Make changes (asks first)*).
|
|
48
|
+
- **Full access** — may change files without asking. Offered only inside a project or workflow.
|
|
49
|
+
- **Scope:** **Conversation scope** shows the home folder and lets the person add other projects or
|
|
50
|
+
workflows the conversation may work on. Scope adds places; it does not limit what can be read.
|
|
51
|
+
- **Approval cards:** when the AI wants to do something that needs a yes, a card asks — **Approve
|
|
52
|
+
once**, **Approve for this request**, **Allow … for this chat**, or **Deny**. Each allowance can be
|
|
53
|
+
revoked from the same conversation.
|
|
54
|
+
- **Connected accounts and connectors:** **Connected accounts** shows which FloLess integrations this
|
|
55
|
+
conversation uses. **Use my connectors in this chat** turns the connectors the person added
|
|
56
|
+
to their own AI provider (mail, Teams, …) on or off for this conversation only.
|
|
57
|
+
- **Cards from the AI:** the AI can propose — never perform — a connection (**Connect a suggested
|
|
58
|
+
service**, **Check it works** with a receipt of what was read), a new workflow (**Create workflow**),
|
|
59
|
+
or a scope addition (**Approve scope addition**). The person's click does it.
|
|
60
|
+
- **The Guide:** a built-in conversation that, with the person's consent, takes a read-only look at
|
|
61
|
+
this computer, briefs them on what they seem to work on, and suggests next moves as buttons. Reached
|
|
62
|
+
from the ≡ menu (**Guide**) or **Ask the Guide** on an empty Workspaces or Workflows page. It only
|
|
63
|
+
reads; every change is a button the person presses.
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## B3 · Workspaces and projects
|
|
68
|
+
|
|
69
|
+
- **Workspace directory** (≡ menu): the one folder on this computer where FloLess keeps projects and
|
|
70
|
+
workflows. Everything else hangs off it; with none chosen, start here.
|
|
71
|
+
- **Projects:** one job in one place. Start one from the project list — for example a steel model from
|
|
72
|
+
drawings, a Trace of a drawing, a read-only Tekla or Revit Parser project, or a Drawing Checker
|
|
73
|
+
client profile (the cards on the list show what this build offers). **Import project** restores an
|
|
74
|
+
exported or zipped one.
|
|
75
|
+
- **Project steps** (tabs inside a project): **Knowledge** (the project's reference documents; also
|
|
76
|
+
**Company knowledge** shared across projects), **Drawing Filter** (which sheets and views a read
|
|
77
|
+
uses), **Model** (the native model, with the Model section on the left), **Exports** (files produced
|
|
78
|
+
from the approved model, or sent to a CAD application), **History** (approved versions and
|
|
79
|
+
checkpoints).
|
|
80
|
+
- **Approval:** changes to a project wait until a person approves them (**Approve the changes**,
|
|
81
|
+
leave pending, or discard). The AI never approves. Depth: **floless-app-approval**.
|
|
82
|
+
- **Knowledge** makes the plan smart: the AI reads it while building a workflow and cites the page.
|
|
83
|
+
At run time it is only looked up and cited, never reasoned over. A "Knowledge Base updated since
|
|
84
|
+
this was built" note is informational; it never blocks Run.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## B4 · Workflows and the gate
|
|
89
|
+
|
|
90
|
+
A workflow is a FloLess `.flo` file — steps (nodes) and the links between them — that runs on AWARE.
|
|
91
|
+
|
|
92
|
+
- **Workflows page:** cards for every workflow, searchable; **New workflow** starts one (name it,
|
|
93
|
+
choose where it belongs, then the AI builds it with you — depth: **floless-app-new-workflow**). A
|
|
94
|
+
draft that hasn't compiled shows **Compile** and **Ask AI to fix**.
|
|
95
|
+
- **Canvas:** the open workflow's steps. Click a node to inspect it; **Fit to window**, zoom, find.
|
|
96
|
+
The **workflow picker** switches workflows (Ctrl+O). For a published workflow, a small beacon in the
|
|
97
|
+
header ("New here? See what this workflow does and how to run it.") walks through that one workflow.
|
|
98
|
+
- **Set inputs:** the values this workflow runs with (**Save inputs**).
|
|
99
|
+
- **The gate — Compile → Approve → Run:**
|
|
100
|
+
- **Compile** freezes the current `.flo` into its `.lock`, the approved version. That is the
|
|
101
|
+
approval.
|
|
102
|
+
- **Run workflow** executes the approved `.lock` against the live host (Tekla, Revit, …); nodes
|
|
103
|
+
show progress on the canvas, and a report opens in the viewer.
|
|
104
|
+
- After any edit, **Run stays off until you Compile again** — the `.flo` no longer matches what
|
|
105
|
+
was approved. This is AWARE's own rule, and it is what makes runs repeatable.
|
|
106
|
+
- **Simulate** checks the workflow hangs together by stubbing every node — it never touches the
|
|
107
|
+
host, so it proves shape, not results. Only a real Run proves it works.
|
|
108
|
+
- **Inspect** (right panel): **Description** (plain English — what the node does), **Skill**,
|
|
109
|
+
**Code** (an `exec` node's C#), **Execution** (the live trace). **Tweak this node** asks the AI to
|
|
110
|
+
change just that node. **Debug this node** re-runs an `exec` node with the debugger.
|
|
111
|
+
- **Templates:** **★** a node (or a command in Tools) to save it as a Template, reusable in any
|
|
112
|
+
workflow; the AI reuses a saved Template instead of rebuilding that logic.
|
|
113
|
+
- **Requests** (footer count): work queued for an AI — a tweak, a drawing read, a question. Each can
|
|
114
|
+
be **Start in AI Chat**, **Start this request in the background**, **Discuss this request**, or
|
|
115
|
+
copied for a terminal AI. Depth: **floless-app-queue**, **floless-app-bridge**.
|
|
116
|
+
- **Dashboard** (≡ → Switch to Dashboard): a panel view the person can customise with their own
|
|
117
|
+
cards, tables and buttons.
|
|
118
|
+
Depth: **floless-app-ui**.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## B5 · Agents and Routines
|
|
123
|
+
|
|
124
|
+
- **Agents** (top tab) are responsibilities handed over: a name, **What should it do?** (plain
|
|
125
|
+
English — the first message of every run), and the projects and workflows it works on. Several
|
|
126
|
+
projects run **each separately** or **compared**. **Can change files** off means its runs only read
|
|
127
|
+
and report; on, they run in Auto. **Run agent** shows exactly what will start, then starts ordinary
|
|
128
|
+
AI Chat conversations you can open and follow. **Schedule agent** opens a routine for it.
|
|
129
|
+
"Agents" in FloLess means these; the installable AWARE capabilities are called **tools** (B6).
|
|
130
|
+
- **Routines** (≡ menu, Ctrl+R) make something run on its own, on this computer:
|
|
131
|
+
- what runs: a **workflow**, or an **agent**;
|
|
132
|
+
- when: a **schedule** (every few minutes or hours, daily, weekdays, chosen days, or a cron
|
|
133
|
+
expression for power users) or, for workflows, a **trigger** (when something happens, such as a
|
|
134
|
+
model change or a file appearing).
|
|
135
|
+
- A routine that starts an agent runs with **nobody watching**: steps that would need a yes are
|
|
136
|
+
declined and listed on that run under **Questions for you**, to answer or redo by hand.
|
|
137
|
+
Depth: **floless-app-routines**.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## B6 · Tools, Discover, Graft, Bake, Integrations
|
|
142
|
+
|
|
143
|
+
- **Tools** (≡ menu, Ctrl+G): the library of AWARE tools this computer can reach — install, check,
|
|
144
|
+
update; **★** a command to save it as a Template. A workflow missing a tool shows **Install or check a tool**
|
|
145
|
+
/ **Install all missing tools**.
|
|
146
|
+
- **Discover local tools** (≡ menu, or inside Tools): looks at installed apps and file names in
|
|
147
|
+
folders the person chooses (**Scan this computer**). Finding something does not connect or test it;
|
|
148
|
+
each result offers the next step (**Open in Graft**, **Connect a service**, **Check it works**).
|
|
149
|
+
- **Graft** (≡ menu "Graft into tool", or in Tools): turns software the person already owns — a .NET
|
|
150
|
+
DLL or folder of them, an OpenAPI spec, a NuGet or npm package, a COM component, a command-line
|
|
151
|
+
program — into a tool workflows can use. A preview of the discovered commands comes first.
|
|
152
|
+
- **Bake** (≡ menu "Bake into tool"): packages a proven workflow as a tool, its inputs becoming the
|
|
153
|
+
tool's parameters, so other workflows can call it as one step.
|
|
154
|
+
- **Integrations** (≡ menu, Ctrl+I): connects FloLess to outside services and lets the person choose
|
|
155
|
+
which account FloLess uses for each. FloLess never switches accounts on its own; secrets never pass
|
|
156
|
+
through the AI.
|
|
157
|
+
- The arc: **Graft your software → use it in a workflow → Bake the workflow → reuse it everywhere.**
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## B7 · Help where you are
|
|
162
|
+
|
|
163
|
+
- **Instructor strip:** narrates what is happening on this screen. **`?`** or **F1** explains the
|
|
164
|
+
control under focus; with nothing selected it opens **All commands** — every command in FloLess,
|
|
165
|
+
this screen first, searchable. That list is the most reliable answer to "is there a button for …?".
|
|
166
|
+
- **Ask AI now:** starts a read-only AI Chat conversation about whatever the Instructor is explaining
|
|
167
|
+
(**More ways to ask** to pick the provider, or queue and copy it for a terminal AI).
|
|
168
|
+
- **The Guide** (B2) for the bigger "what should I do next?" questions.
|
|
169
|
+
- The Instructor can be collapsed, or turned off in the ≡ menu.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## B8 · Keeping current
|
|
174
|
+
|
|
175
|
+
- The footer shows the AWARE version and the FloLess version. **Update AWARE** and **Update
|
|
176
|
+
FloLess** pills appear when newer ones exist; if the AWARE pill isn't there, the terminal path
|
|
177
|
+
always works (`npm i -g @aware-aeco/cli@latest`, Arc A2).
|
|
178
|
+
- **Tool updates** (≡ menu, or the footer pill): new tool versions and what they mean for approved
|
|
179
|
+
workflows — **Approve updated workflows** moves them over, recorded as the person's approval.
|
|
180
|
+
**Automatic tool updates** decides whether small read-only fixes may carry an approval over.
|
|
181
|
+
- A workflow whose approved tool version is gone offers **Reinstall the approved version**, so it runs
|
|
182
|
+
exactly as approved.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## B9 · The skills, and the everyday loop
|
|
187
|
+
|
|
188
|
+
FloLess ships skills to the person's AI so it can act for them. The main ones:
|
|
189
|
+
- **floless-app-new-workflow** — build a workflow from scratch, step by step.
|
|
190
|
+
- **floless-app-workflows** — author, change and run `.flo` workflows (inputs, `exec` nodes, reports).
|
|
191
|
+
- **floless-app-routines** — routines on a live trigger.
|
|
192
|
+
- **floless-app-steel-model** / **floless-app-steel-takeoff** — a steel drawing set into a model.
|
|
193
|
+
- **floless-app-knowledge**, **floless-app-approval**, **floless-app-rfi** — a project's knowledge,
|
|
194
|
+
approvals and RFIs.
|
|
195
|
+
- **floless-app-queue**, **floless-app-bridge** — pick up queued Requests.
|
|
196
|
+
- **floless-app-report-issue** — report a problem to the FloLess team.
|
|
197
|
+
|
|
198
|
+
**The everyday loop:** open a workflow → set its inputs → **Compile** → **Run workflow** → read the
|
|
199
|
+
result. Change → Compile → Run.
|
|
200
|
+
|
|
201
|
+
**Habits that keep it trustworthy:**
|
|
202
|
+
- Compile after every edit; Run waits for a fresh approval on purpose.
|
|
203
|
+
- Trust a real Run, not a clean Compile or a Simulate.
|
|
204
|
+
- Tweak one node rather than rebuilding.
|
|
205
|
+
- Once a workflow is solid, make it a Routine; once a check repeats, make it an Agent.
|
|
206
|
+
- Reuse: Templates for nodes, Bake for proven workflows, Graft for your own software.
|
|
207
|
+
- Ask the AI to build and change things; watch, approve and run in FloLess.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: floless-app-routines
|
|
3
3
|
description: This skill should be used when the user wants to set up a floless.app workflow (.flo app) to run automatically — "routines" — either on a timer (schedule) or on a live event (trigger). Triggers on requests like "schedule tekla-bom-by-phase every weekday at 7am", "run this workflow every 2 hours", "run my BOM whenever the Tekla model changes", "watch the model and run X on each change", "set up a trigger routine", "list my routines", "disable the morning routine", "delete that routine". Covers the floless.app routines REST API (create / list / edit / enable-disable / delete / run-now), the schedule presets, the event-trigger kind, the confirm-first rule, and the runnable gate.
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.3
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Setting up floless.app routines (automatic .flo runs)
|
|
@@ -153,6 +153,9 @@ curl -s -X DELETE http://127.0.0.1:4317/api/routines/<id>
|
|
|
153
153
|
with a clear message — relay it and offer to delete one.
|
|
154
154
|
- **Workflow is fixed after create** (both kinds). `PATCH` cannot change a routine's workflow or its
|
|
155
155
|
`kind`. To switch workflows or convert schedule↔trigger, delete and recreate.
|
|
156
|
+
- **A FloLess-owned workflow follows its publication.** A FloLess-owned workflow is scheduled by its
|
|
157
|
+
current `activePublication.runtimeAppId`; the routine follows every later publish on its own — never
|
|
158
|
+
delete and recreate a routine after publishing.
|
|
156
159
|
- **Run-now is schedule-only.** `POST /api/routines/:id/run` on a trigger returns **400**
|
|
157
160
|
("a trigger routine runs on its event — enable/disable it instead"). Don't offer run-now for a
|
|
158
161
|
trigger; the control is the enable/disable toggle (start/stop the live watcher).
|
|
@@ -15,7 +15,7 @@ a `trigger` binding and, in `GET /api/routines`, a live `session` snapshot (no `
|
|
|
15
15
|
"id": "morning-bom-export", // slug, generated from the name (unique)
|
|
16
16
|
"name": "Morning BOM export",
|
|
17
17
|
"kind": "schedule", // "schedule" | "trigger" (defaults to schedule if omitted)
|
|
18
|
-
"workflow": "tekla-bom-by-phase", // installed app id (immutable after create)
|
|
18
|
+
"workflow": "tekla-bom-by-phase", // installed app id (immutable after create; an owned workflow's follows its publication)
|
|
19
19
|
"inputs": { "phase": 3 }, // coerced to the app's declared input types
|
|
20
20
|
"schedule": { "kind": "weekdays", "time": "07:00" },
|
|
21
21
|
"enabled": true,
|
|
@@ -109,13 +109,16 @@ Supporting reads (same server):
|
|
|
109
109
|
or `POST /:id/run` on a **trigger** (`{ "error": "a trigger routine runs on its event — enable/disable it instead" }`).
|
|
110
110
|
- `402` — no valid subscription (the app must be signed in).
|
|
111
111
|
- `404` — no routine with that id.
|
|
112
|
-
- `409` — **
|
|
112
|
+
- `409` — **different refusals; tell them apart by the `running` flag and the message, never by the status alone.**
|
|
113
113
|
- On `POST /api/routines` (create): `{ "error": "Routine limit reached (15). Delete one first." }` —
|
|
114
114
|
the cap (both kinds share it). Relay it and offer to delete an existing routine.
|
|
115
115
|
- On `POST /:id/run`: `{ "running": true, "error": "this routine is already running or waiting its
|
|
116
116
|
turn" }` — that routine is already queued or mid-run and **nothing was started**. Say it is
|
|
117
117
|
already running or waiting; do NOT relay a cap message and do NOT offer to delete anything.
|
|
118
118
|
Retrying is pointless until that fire completes.
|
|
119
|
+
- On `POST /api/routines` (create), rarely: `{ "error": "this installed workflow is not the owner’s active
|
|
120
|
+
publication" }` — a FloLess-owned workflow was published again while the routine was being created.
|
|
121
|
+
Retry the same request; the server resolves the current publication.
|
|
119
122
|
|
|
120
123
|
## Notes on behavior (so expectations are right)
|
|
121
124
|
|
|
@@ -128,6 +131,15 @@ Supporting reads (same server):
|
|
|
128
131
|
**dropped**, not queued behind itself: a routine whose run outlasts its interval would otherwise
|
|
129
132
|
run back-to-back forever. On the scheduled path the drop is silent to the user (the server logs it
|
|
130
133
|
and `nextFireAt` moves on); on `POST /:id/run` it is the `409 { running: true }` above.
|
|
134
|
+
- **A FloLess-owned workflow follows its publication.** A FloLess-owned workflow is scheduled by its
|
|
135
|
+
current `activePublication.runtimeAppId` (pass that id, or any earlier publication's id — the server
|
|
136
|
+
resolves the current one). The routine follows every later publish on its own: `workflow` changes to
|
|
137
|
+
the new runtime id, a trigger keeps listening on the new version, and its `trigger` binding follows
|
|
138
|
+
the new source. Never delete and recreate a routine after publishing. Archiving the workflow pauses
|
|
139
|
+
the routine (a schedule fire is `skipped`, a trigger is shown `broken`). Restoring resumes it only
|
|
140
|
+
when the publication comes back intact: if the workflow's source was edited since it was published,
|
|
141
|
+
restore leaves the workflow unpublished and the routine stays paused — publish it again and the
|
|
142
|
+
routine follows the new publication.
|
|
131
143
|
- **Inputs.** Only the app's declared inputs are kept, coerced to their declared type; omit an
|
|
132
144
|
input to use the app's default. Keys are validated `[A-Za-z0-9._-]`.
|
|
133
145
|
- **Triggers (event-driven).** A `kind:"trigger"` routine hosts a long-lived `aware app run` of a
|
|
@@ -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.
|
|
5
|
+
version: 0.17.0
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Steel Model — guide a steel drawing set into an editable model
|
|
@@ -244,7 +244,9 @@ skill's step 8 has the procedure; group ends answered alike, and read any pictur
|
|
|
244
244
|
instead of a number before asking again). The person's click on the card is what makes the height theirs in
|
|
245
245
|
the model; a "yes" in the chat is indistinguishable from your own guess and is discarded with it. So
|
|
246
246
|
never finish a read by telling the person to retype heights they already answered — if you asked on a
|
|
247
|
-
card, they are already in the model and the question is closed.
|
|
247
|
+
card, they are already in the model and the question is closed. (A member already in the published
|
|
248
|
+
model is the one exception: in a revision read its answered height is proposed in the staged review, so
|
|
249
|
+
tell the person to accept that member change there.)
|
|
248
250
|
|
|
249
251
|
- **Read each framing plan** via **`floless-app-steel-takeoff`** — it runs the filter pre-stage
|
|
250
252
|
(isolate the steel linework by layer/thickness/colour), the vision read, the AISC/EN/BS lookup
|
|
@@ -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.67.0
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Steel Takeoff — read drawings into `steel.model/v2`
|
|
@@ -1299,14 +1299,19 @@ Work in this order:
|
|
|
1299
1299
|
raised again and **you never tell the person to fix an answered height in the editor**.
|
|
1300
1300
|
5. The audit and publish responses carry `heightAnswers`: `applied` counts the answers that landed,
|
|
1301
1301
|
and each `notApplied` row names a member end whose answer did NOT land, with a plain `why` (the
|
|
1302
|
-
drawing states that end's height, the
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1302
|
+
drawing states that end's height, the read did not submit that member, …). **Relay every `why` to
|
|
1303
|
+
the person, naming the member and end** — an answer they gave that did not land is never left
|
|
1304
|
+
unsaid.
|
|
1305
|
+
6. **In a revision read you may ask about a member already in the published model too** — a column
|
|
1306
|
+
base or hanger end the person knows has moved. The card shows them what the model held when you
|
|
1307
|
+
asked. Their answer is NOT written straight in: it is **proposed as a member change in the staged
|
|
1308
|
+
review**, and lands only if they accept that row there. `heightAnswers.proposed` lists those ends
|
|
1309
|
+
(`toPropose` on a response that staged nothing yet); relay each `why`, and tell the person to
|
|
1310
|
+
accept the change in the review. Never tell them to retype it in the editor.
|
|
1311
|
+
|
|
1312
|
+
Asking again about an end suspends its earlier answer until the new card is answered. A read not
|
|
1313
|
+
running in FloLess AI Chat gets `409 height-question-needs-chat`: then ask in the conversation, and
|
|
1314
|
+
the end stays a question on the model as before.
|
|
1310
1315
|
|
|
1311
1316
|
**Group ends the person will answer alike.** Give them the same `group` (one line, e.g.
|
|
1312
1317
|
`"W10x33 column bases"`): the card shows them under one header, and the person can tick the whole
|
|
@@ -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 approved Workspace project data and immutable approved Revit model snapshots through the floless-workspace REST seam plus its themed pickers, and the server seams (aware-adapter, app-reader, index).
|
|
4
4
|
metadata:
|
|
5
|
-
version: 0.6.
|
|
5
|
+
version: 0.6.2
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Building reusable .flo workflows in floless.app
|
|
@@ -286,7 +286,7 @@ Mechanics (all confirmed against the substrate + a real run):
|
|
|
286
286
|
without a live Tekla. (An `exec` inner node needs the real host.) Note: an inline predicate sees the
|
|
287
287
|
upstream *event* as `e.<field>`, NOT `inputs.<field>` — don't assert routing via the predicate body.
|
|
288
288
|
|
|
289
|
-
floless.app play (designed, now unblocked): a "Bake into
|
|
289
|
+
floless.app play (designed, now unblocked): a "Bake into tool" affordance (≡ menu) that rewrites a working
|
|
290
290
|
`.flo` to add `exposes-as-agent` + `exposed-commands` mirroring the app's `inputs:`. Thin-UI: a
|
|
291
291
|
manifest edit + recompile, no engine. See the design doc for the Stage-1 plan.
|
|
292
292
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
app: tekla-parser
|
|
2
|
-
version: 0.3.
|
|
2
|
+
version: 0.3.1
|
|
3
3
|
display-name: Tekla Parser
|
|
4
4
|
publisher: floless
|
|
5
5
|
module: tekla
|
|
@@ -12,6 +12,10 @@ description: |
|
|
|
12
12
|
never edited, saved, synchronized, or connected to a running Tekla application.
|
|
13
13
|
exposes-as-agent: false
|
|
14
14
|
changelog:
|
|
15
|
+
- version: 0.3.1
|
|
16
|
+
summary: Give large models time to finish reading
|
|
17
|
+
changes:
|
|
18
|
+
- "Changed: reading a model may now take up to 30 minutes instead of 10, so a large model on a busy computer can finish instead of being stopped part-way."
|
|
15
19
|
- version: 0.3.0
|
|
16
20
|
summary: Open a model even when its Tekla catalogue files are missing
|
|
17
21
|
changes:
|
|
@@ -47,8 +51,9 @@ nodes:
|
|
|
47
51
|
command: read-snapshot
|
|
48
52
|
mode: read
|
|
49
53
|
description: |
|
|
50
|
-
|
|
51
|
-
parser
|
|
54
|
+
Read the copied Tekla model files with the installed Tekla Parser and return a checked,
|
|
55
|
+
read-only snapshot of the model for review. The parser gets a short-lived permission for this
|
|
56
|
+
one read, and the original model is never changed.
|
|
52
57
|
config:
|
|
53
58
|
contract: tekla.model/v2
|
|
54
59
|
reader-schema-version: model-reference-reader/v3
|
|
@@ -63,3 +68,8 @@ nodes:
|
|
|
63
68
|
root: "{{ inputs.source_root }}"
|
|
64
69
|
degraded-mode: allow
|
|
65
70
|
conversion-settings: {}
|
|
71
|
+
# AWARE stops a provider call after 10 minutes unless told otherwise. A model whose database
|
|
72
|
+
# expands to ~850 MiB reads in about 6 minutes on an idle machine and was stopped at 10 on a
|
|
73
|
+
# busy one (#1974); 30 minutes is AWARE's ceiling for one provider call.
|
|
74
|
+
limits:
|
|
75
|
+
conversionMs: 1800000
|