@floless/app 0.131.0 → 0.132.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 +2558 -1885
- package/dist/schemas/steel.model.v2.schema.json +3 -1
- package/dist/web/app.css +359 -0
- package/dist/web/app.js +22 -0
- package/dist/web/aware.js +62 -10
- package/dist/web/commands-filter.js +157 -0
- package/dist/web/commands-shell.js +1316 -0
- package/dist/web/commands-steel.js +1829 -0
- package/dist/web/commands-vector.js +154 -0
- package/dist/web/commands-vector3d.js +96 -0
- package/dist/web/commands.js +316 -0
- package/dist/web/grid-core.js +124 -23
- package/dist/web/index.html +269 -164
- package/dist/web/instructor-reporter.js +201 -0
- package/dist/web/instructor.js +1119 -0
- package/dist/web/reference-changes.js +55 -0
- package/dist/web/reference-geometry-worker.js +194 -0
- package/dist/web/steel-3d-core.js +454 -107
- package/dist/web/steel-3d-view.js +790 -165
- package/dist/web/steel-canvas-guidance.js +7 -4
- package/dist/web/steel-editor.html +2347 -1810
- package/dist/web/steel-filter-core.js +13 -5
- package/dist/web/steel-filter.html +36 -22
- package/dist/web/steel-model-adapter.js +17 -22
- package/dist/web/steel-model-commands.js +23 -10
- package/dist/web/steel-model-v2-client-validation.js +20 -3
- package/dist/web/steel-model-v2-commands.js +91 -3
- package/dist/web/steel-model-v2-projection.js +4 -5
- package/dist/web/steel-plan-transform.js +4 -8
- package/dist/web/steel-split-view.js +52 -0
- package/dist/web/vector-3d.html +19 -7
- package/dist/web/vector-editor.html +21 -8
- package/dist/web/workspaces.js +9 -24
- package/package.json +9 -1
package/dist/web/index.html
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
<body>
|
|
15
15
|
<div class="app" id="app">
|
|
16
16
|
|
|
17
|
-
<header>
|
|
17
|
+
<header data-group="In the header">
|
|
18
18
|
<div class="header-left">
|
|
19
|
-
<button id="menu-btn" class="hamburger" data-tip="Menu" aria-label="Menu">≡</button>
|
|
19
|
+
<button data-command-id="shell.menu-toggle" id="menu-btn" class="hamburger" data-tip="Menu" aria-label="Menu">≡</button>
|
|
20
20
|
<div class="brand">
|
|
21
21
|
<span class="mark" aria-hidden="true">
|
|
22
22
|
<svg viewBox="0 0 192 181" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -41,15 +41,19 @@
|
|
|
41
41
|
OPENS in is unchanged — that is the remembered `floless:mode`, defaulting to
|
|
42
42
|
Workflows. -->
|
|
43
43
|
<div class="mode-switch" id="mode-switch" role="tablist" aria-label="Mode">
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
<!-- data-tip, never title= (verify:no-title) — the native tooltip renders a light OS panel
|
|
45
|
+
against this dark theme. The two describe the two MODULES rather than the two buttons,
|
|
46
|
+
because "what is the difference between these" is the question a new user actually has
|
|
47
|
+
here; they are deliberately parallel in shape so they read as two answers to it. -->
|
|
48
|
+
<button data-command-id="shell.mode-workspaces" type="button" data-mode="workspaces" role="tab" aria-selected="false" data-tip="One project at a time — its drawings, the model built from them, and what comes out. Open this to work on a job.">Workspaces</button>
|
|
49
|
+
<button data-command-id="shell.mode-workflows" type="button" data-mode="workflows" class="active" role="tab" aria-selected="true" data-tip="A repeatable process — pick one, set its inputs, compile it, then run it against your project. Open this to build or run an automation.">Workflows</button>
|
|
46
50
|
</div>
|
|
47
51
|
<!-- Workspace view switch (Canvas = the workflow topology; Dashboard = the user's
|
|
48
52
|
custom panels from ~/.floless/ui/extensions.json) moved into the ≡ menu in #149.
|
|
49
53
|
The "dashboard updated" signal now rides the ≡ hamburger badge (.has-dash-update)
|
|
50
54
|
and the menu item's dot (#dash-dot, relocated into the menu). -->
|
|
51
55
|
<!-- Shown only while custom panels exist; opens Undo · History · Reset. -->
|
|
52
|
-
<button type="button" id="ext-badge" class="ext-badge" hidden aria-haspopup="menu" aria-expanded="false" aria-controls="ext-menu" data-tip="Your dashboard is customized — undo, history, reset to default">Customized</button>
|
|
56
|
+
<button data-command-id="shell.extension-badge" type="button" id="ext-badge" class="ext-badge" hidden aria-haspopup="menu" aria-expanded="false" aria-controls="ext-menu" data-tip="Your dashboard is customized — undo, history, reset to default">Customized</button>
|
|
53
57
|
</div>
|
|
54
58
|
<div class="controls">
|
|
55
59
|
<label id="wf-label">workflow</label>
|
|
@@ -58,18 +62,18 @@
|
|
|
58
62
|
license check, the health probe and (when AWARE is not ready) the whole bootstrap, so an
|
|
59
63
|
enabled start state let a click in that window open the popover onto an empty list — the
|
|
60
64
|
symptom of #358. buildWorkflowCombo() enables it the moment there are real rows. -->
|
|
61
|
-
<button id="wf-trigger" class="wf-trigger" type="button" disabled aria-haspopup="listbox" aria-expanded="false" aria-controls="wf-popover" aria-labelledby="wf-label wf-trigger-label" data-tip="Pick a workflow — type to search; grouped by provider">
|
|
65
|
+
<button data-command-id="shell.workflow-picker" id="wf-trigger" class="wf-trigger" type="button" disabled aria-haspopup="listbox" aria-expanded="false" aria-controls="wf-popover" aria-labelledby="wf-label wf-trigger-label" data-tip="Pick a workflow — type to search; grouped by provider">
|
|
62
66
|
<span class="wf-trigger-label" id="wf-trigger-label">loading…</span>
|
|
63
67
|
<span class="wf-dirty-dot" id="wf-dirty-dot" data-tip="Unsaved input changes — Save (Ctrl+S) to keep them" hidden>●</span>
|
|
64
68
|
<svg class="wf-caret" width="10" height="6" viewBox="0 0 10 6" aria-hidden="true"><path fill="currentColor" d="M0 0l5 6 5-6z"/></svg>
|
|
65
69
|
</button>
|
|
66
70
|
<div id="wf-popover" class="wf-popover" role="listbox" aria-label="Select workflow" hidden>
|
|
67
|
-
<div class="wf-search-wrap"><input id="wf-search" class="wf-search" type="text" placeholder="Search workflows…" autocomplete="off" aria-label="Search workflows" aria-controls="wf-list"></div>
|
|
71
|
+
<div class="wf-search-wrap"><input data-command-id="shell.workflow-search" id="wf-search" class="wf-search" type="text" placeholder="Search workflows…" autocomplete="off" aria-label="Search workflows" aria-controls="wf-list"></div>
|
|
68
72
|
<div class="wf-list" id="wf-list"></div>
|
|
69
73
|
</div>
|
|
70
74
|
</div>
|
|
71
|
-
<select id="prompt-select" hidden></select>
|
|
72
|
-
<button id="wf-update" class="wf-update-pill" type="button" hidden aria-haspopup="dialog"></button>
|
|
75
|
+
<select data-command-id="shell.workflow-picker" id="prompt-select" hidden></select>
|
|
76
|
+
<button data-command-id="shell.workflow-update" id="wf-update" class="wf-update-pill" type="button" hidden aria-haspopup="dialog"></button>
|
|
73
77
|
<!-- Shown only when the OPEN workflow is forked (user-owned, off the update channel). Purely
|
|
74
78
|
informational (the badge of ownership); the picker row carries the same "yours" cue. -->
|
|
75
79
|
<span id="wf-forked" class="wf-forked-pill" hidden role="status" data-tip="You forked this workflow — it no longer receives FloLess updates. You are responsible for verifying its output.">yours · off updates</span>
|
|
@@ -85,24 +89,24 @@
|
|
|
85
89
|
the SAME control as the workflow picker, not a bespoke reskin — see
|
|
86
90
|
docs/superpowers/specs/2026-07-06-workspaces-slices-6.1-6.5-post-testing-fixes.md. -->
|
|
87
91
|
<div class="wf-combo" id="ws-proj-combo">
|
|
88
|
-
<button id="ws-proj-trigger" class="wf-trigger" type="button" aria-haspopup="listbox" aria-expanded="false" aria-controls="ws-proj-popover" aria-labelledby="ws-proj-label ws-proj-name"
|
|
92
|
+
<button data-command-id="shell.project-select" id="ws-proj-trigger" class="wf-trigger" type="button" aria-haspopup="listbox" aria-expanded="false" aria-controls="ws-proj-popover" aria-labelledby="ws-proj-label ws-proj-name"
|
|
89
93
|
data-tip="This project — open another, rename, duplicate, archive">
|
|
90
94
|
<span id="ws-proj-name" class="wf-trigger-label">—</span>
|
|
91
95
|
<svg class="wf-caret" width="10" height="6" viewBox="0 0 10 6" aria-hidden="true"><path fill="currentColor" d="M0 0l5 6 5-6z"/></svg>
|
|
92
96
|
</button>
|
|
93
97
|
<div id="ws-proj-popover" class="wf-popover" role="listbox" aria-label="Select project" hidden>
|
|
94
|
-
<div class="wf-search-wrap"><input id="ws-proj-search" class="wf-search" type="text" placeholder="Search projects…" autocomplete="off" aria-label="Search projects" aria-controls="ws-proj-list"></div>
|
|
98
|
+
<div class="wf-search-wrap"><input data-command-id="shell.project-search" id="ws-proj-search" class="wf-search" type="text" placeholder="Search projects…" autocomplete="off" aria-label="Search projects" aria-controls="ws-proj-list"></div>
|
|
95
99
|
<div class="wf-list" id="ws-proj-list"></div>
|
|
96
100
|
</div>
|
|
97
101
|
</div>
|
|
98
102
|
<span class="ctl-sep" aria-hidden="true"></span>
|
|
99
|
-
<button id="ws-approve" type="button" class="primary"
|
|
103
|
+
<button data-command-id="shell.approve" id="ws-approve" type="button" class="primary"
|
|
100
104
|
data-tip="Review every pending change before signing off.">Review & approve</button>
|
|
101
105
|
</div>
|
|
102
106
|
<!-- Per-workflow onboarding beacon. Pulses "✨ Start here" while this workflow is
|
|
103
107
|
new to the user (no first Run completed, not dismissed); calms to a quiet
|
|
104
108
|
"❔ Guide" after — always clickable for re-reference. Hidden until an app loads. -->
|
|
105
|
-
<button id="guide-beacon" class="guide-beacon" type="button" hidden aria-haspopup="dialog" data-tip="New here? See what this workflow does and how to run it.">
|
|
109
|
+
<button data-command-id="guide.open" id="guide-beacon" class="guide-beacon" type="button" hidden aria-haspopup="dialog" data-tip="New here? See what this workflow does and how to run it.">
|
|
106
110
|
<span class="guide-beacon-ico" aria-hidden="true">✦</span>
|
|
107
111
|
<span class="guide-beacon-label">Start here</span>
|
|
108
112
|
</button>
|
|
@@ -111,25 +115,25 @@
|
|
|
111
115
|
appears only when its logic drifted (re-installs the official version); Customize (fork) is
|
|
112
116
|
always available for a maintained app. When shown on drift they replace Compile, so a
|
|
113
117
|
shipped app's logic edit can't be silently approved (form-only). -->
|
|
114
|
-
<button id="restore-btn" type="button" hidden data-tip="Restore the official workflow — undoes any out-of-band edits and re-arms Run">↺ Restore</button>
|
|
115
|
-
<button id="customize-btn" type="button" hidden data-tip="Fork this workflow to edit it yourself — takes it off the FloLess update channel">Customize…</button>
|
|
116
|
-
<button id="compile-btn" data-tip="Compile + approve → freeze the .lock">⎙ Compile</button>
|
|
117
|
-
<button id="sim-btn" data-tip="Simulate: stub every node from its output schema — no live host is contacted. Validates the workflow's composition end-to-end, even when the real agents aren't connected yet.">Simulate</button>
|
|
118
|
-
<button id="run-btn" data-tip="Run the workflow for real against the live host (uses the inputs; renders the report node in the HTML Viewer)">▶ Run workflow</button>
|
|
119
|
-
<button id="stop-run-btn" class="run-stop-btn" type="button" aria-label="Stop the current run" data-tip="Stop the in-flight run (always reachable, even with the HTML Viewer closed)" hidden>■ Stop run</button>
|
|
118
|
+
<button data-command-id="shell.restore-workflow" id="restore-btn" type="button" hidden data-tip="Restore the official workflow — undoes any out-of-band edits and re-arms Run">↺ Restore</button>
|
|
119
|
+
<button data-command-id="shell.customize-workflow" id="customize-btn" type="button" hidden data-tip="Fork this workflow to edit it yourself — takes it off the FloLess update channel">Customize…</button>
|
|
120
|
+
<button id="compile-btn" data-command-id="workflow.compile" data-acts="Acts on the whole workflow" data-tip="Compile + approve → freeze the .lock">⎙ Compile</button>
|
|
121
|
+
<button id="sim-btn" data-command-id="workflow.simulate" data-acts="Acts on the workflow only — never the live host" data-tip="Simulate: stub every node from its output schema — no live host is contacted. Validates the workflow's composition end-to-end, even when the real agents aren't connected yet.">Simulate</button>
|
|
122
|
+
<button id="run-btn" data-command-id="workflow.run" data-acts="Acts on the approved lock, against the live host" data-blocked-reason="Blocked until the workflow is compiled" data-tip="Run the workflow for real against the live host (uses the inputs; renders the report node in the HTML Viewer)">▶ Run workflow</button>
|
|
123
|
+
<button id="stop-run-btn" class="run-stop-btn" type="button" data-command-id="workflow.stop" aria-label="Stop the current run" data-tip="Stop the in-flight run (always reachable, even with the HTML Viewer closed)" hidden>■ Stop run</button>
|
|
120
124
|
</div>
|
|
121
125
|
</header>
|
|
122
126
|
|
|
123
|
-
<aside class="chat" id="chat-panel">
|
|
127
|
+
<aside class="chat" id="chat-panel" data-group="In the Narrative panel">
|
|
124
128
|
<div class="panel-label">
|
|
125
129
|
<span>Narrative</span>
|
|
126
130
|
<span class="label-end">
|
|
127
131
|
<span class="role">curated · full chat in your terminal</span>
|
|
128
|
-
<button type="button" class="panel-toggle" data-side="left" aria-label="Collapse Narrative panel" aria-controls="chat-panel" aria-expanded="true" data-tip="Collapse Narrative panel">‹</button>
|
|
132
|
+
<button data-command-id="shell.narrative-panel" type="button" class="panel-toggle" data-side="left" aria-label="Collapse Narrative panel" aria-controls="chat-panel" aria-expanded="true" data-tip="Collapse Narrative panel">‹</button>
|
|
129
133
|
</span>
|
|
130
134
|
</div>
|
|
131
135
|
<div class="collapsed-stub">
|
|
132
|
-
<button type="button" class="panel-toggle" data-side="left" aria-label="Expand Narrative panel" aria-controls="chat-panel" aria-expanded="false" data-tip="Expand Narrative panel">›</button>
|
|
136
|
+
<button data-command-id="shell.narrative-panel" type="button" class="panel-toggle" data-side="left" aria-label="Expand Narrative panel" aria-controls="chat-panel" aria-expanded="false" data-tip="Expand Narrative panel">›</button>
|
|
133
137
|
<div class="vertical-label">Narrative</div>
|
|
134
138
|
<div class="stub-icon">💬</div>
|
|
135
139
|
</div>
|
|
@@ -140,7 +144,7 @@
|
|
|
140
144
|
<div class="resize-handle resize-handle-right" data-resize="left" data-tip="Drag to resize · double-click to reset"></div>
|
|
141
145
|
</aside>
|
|
142
146
|
|
|
143
|
-
<main class="canvas" id="canvas-main">
|
|
147
|
+
<main class="canvas" id="canvas-main" data-group="On the canvas">
|
|
144
148
|
<div class="panel-label">
|
|
145
149
|
<span id="center-panel-name">Canvas</span>
|
|
146
150
|
<span class="label-end">
|
|
@@ -152,11 +156,11 @@
|
|
|
152
156
|
<div class="canvas-drop-label">Drop a .flo file to import</div>
|
|
153
157
|
<div class="canvas-drop-sub">The workflow installs and is added to your picker</div>
|
|
154
158
|
</div>
|
|
155
|
-
<input type="file" id="import-file" accept=".flo,.app,.flow,.aware" hidden>
|
|
159
|
+
<input data-command-id="menu.import" type="file" id="import-file" accept=".flo,.app,.flow,.aware" hidden>
|
|
156
160
|
<div class="find-overlay" id="find-overlay">
|
|
157
|
-
<input type="text" id="find-input" placeholder="Find agent…">
|
|
161
|
+
<input data-command-id="shell.find-input" aria-label="Find agent" type="text" id="find-input" placeholder="Find agent…">
|
|
158
162
|
<span class="find-count" id="find-count"></span>
|
|
159
|
-
<button class="find-close" id="find-close" data-tip="Close">×</button>
|
|
163
|
+
<button data-command-id="shell.find-close" class="find-close" id="find-close" data-tip="Close">×</button>
|
|
160
164
|
</div>
|
|
161
165
|
<div class="notes-strip" id="notes-strip" hidden></div>
|
|
162
166
|
<!-- Which of the firm's own knowledge this workflow was built from, and whether it has changed
|
|
@@ -174,10 +178,10 @@
|
|
|
174
178
|
<div class="topology" id="topology"></div>
|
|
175
179
|
<div class="canvas-toolbar">
|
|
176
180
|
<div class="toolbar-group">
|
|
177
|
-
<button class="tb-btn" id="zoom-out" data-tip="Zoom out">−</button>
|
|
178
|
-
<button class="tb-btn tb-pct" id="zoom-reset" data-tip="Reset to 100%">100%</button>
|
|
179
|
-
<button class="tb-btn" id="zoom-in" data-tip="Zoom in">+</button>
|
|
180
|
-
<button class="tb-btn" id="zoom-fit" data-tip="Fit the whole workflow to the screen (Home)">⤢</button>
|
|
181
|
+
<button data-command-id="canvas.zoom#out" class="tb-btn" id="zoom-out" data-tip="Zoom out">−</button>
|
|
182
|
+
<button data-command-id="canvas.zoom#back to 100%" class="tb-btn tb-pct" id="zoom-reset" data-tip="Reset to 100%">100%</button>
|
|
183
|
+
<button data-command-id="canvas.zoom#in" class="tb-btn" id="zoom-in" data-tip="Zoom in">+</button>
|
|
184
|
+
<button data-command-id="canvas.fit" class="tb-btn" id="zoom-fit" data-tip="Fit the whole workflow to the screen (Home)">⤢</button>
|
|
181
185
|
</div>
|
|
182
186
|
</div>
|
|
183
187
|
<!-- Dashboard view — the user's custom panels (web/panels.js renders
|
|
@@ -189,31 +193,26 @@
|
|
|
189
193
|
<div class="ws-landing" id="ws-landing" hidden></div>
|
|
190
194
|
<div class="ws-project" id="ws-project" hidden>
|
|
191
195
|
<div class="ws-crumb-row">
|
|
192
|
-
<span class="ws-crumb"><button type="button" id="ws-back" class="ws-crumb-link">Workspaces</button>
|
|
196
|
+
<span class="ws-crumb"><button data-command-id="shell.workspace-back" type="button" id="ws-back" class="ws-crumb-link">Workspaces</button>
|
|
193
197
|
<span class="ws-crumb-sep">›</span><span id="ws-crumb-name" class="ws-crumb-cur">—</span></span>
|
|
194
198
|
<span class="ws-status" id="ws-status"></span>
|
|
195
199
|
</div>
|
|
196
200
|
<div class="tabs ws-step-tabs" id="ws-step-tabs" role="tablist" aria-label="Project steps">
|
|
197
|
-
<button type="button" data-step="knowledge" role="tab" aria-selected="false">Knowledge</button>
|
|
198
|
-
<button type="button" data-step="drawings" role="tab" aria-selected="false">Drawings</button>
|
|
199
|
-
<button type="button" data-step="model" class="active" role="tab" aria-selected="true">Model</button>
|
|
200
|
-
<button type="button" data-step="exports" role="tab" aria-selected="false">Exports</button>
|
|
201
|
-
<button type="button" data-step="history" role="tab" aria-selected="false">History</button>
|
|
201
|
+
<button data-command-id="shell.workspace-step#knowledge" type="button" data-step="knowledge" role="tab" aria-selected="false">Knowledge</button>
|
|
202
|
+
<button data-command-id="shell.workspace-step#drawings" type="button" data-step="drawings" role="tab" aria-selected="false">Drawings</button>
|
|
203
|
+
<button data-command-id="shell.workspace-step#model" type="button" data-step="model" class="active" role="tab" aria-selected="true">Model</button>
|
|
204
|
+
<button data-command-id="shell.workspace-step#exports" type="button" data-step="exports" role="tab" aria-selected="false">Exports</button>
|
|
205
|
+
<button data-command-id="shell.workspace-step#history" type="button" data-step="history" role="tab" aria-selected="false">History</button>
|
|
202
206
|
</div>
|
|
203
207
|
<!-- Drawings step: a shell toolbar band + revision-read status card ABOVE the filter iframe
|
|
204
208
|
(chrome around it, never inside — the filter owns its own layout). Shown only on Drawings. -->
|
|
205
209
|
<div class="ws-drawings-bar" id="ws-drawings-bar" hidden>
|
|
206
210
|
<span class="ws-drawings-bar-label">Source</span>
|
|
207
211
|
<span class="ws-drawings-bar-sep"></span>
|
|
208
|
-
<button type="button" id="ws-attach-revision" class="btn-mini" data-tip="Attach a revised drawing set (PDF or image) — your terminal AI reads it into a new version">⤒ Attach revised drawings…</button>
|
|
209
|
-
<input type="file" id="ws-revision-file" accept=".pdf,image/*" multiple hidden>
|
|
212
|
+
<button data-command-id="shell.attach-revision" type="button" id="ws-attach-revision" class="btn-mini" data-tip="Attach a revised drawing set (PDF or image) — your terminal AI reads it into a new version">⤒ Attach revised drawings…</button>
|
|
213
|
+
<input data-command-id="shell.attach-revision" type="file" id="ws-revision-file" accept=".pdf,image/*" multiple hidden>
|
|
210
214
|
</div>
|
|
211
215
|
<div class="ws-revision-card" id="ws-revision-card" hidden></div>
|
|
212
|
-
<!-- The v1 → v2 conversion offer (unit 5, P7e). A thin NEUTRAL gate-banner, the same register
|
|
213
|
-
.ws-exports-gate and .hist-working use for "there is a forward step you have not taken" —
|
|
214
|
-
deliberately not a card like #ws-revision-card above: that one is Drawings-scoped and
|
|
215
|
-
revision-shaped, and borrowing its weight for a one-time act would both misstate the
|
|
216
|
-
frequency and compete with an actual pending read on the same project. Model-step only. -->
|
|
217
216
|
<!-- Two lazily-srced iframes so switching steps never reloads the editor's 3D state.
|
|
218
217
|
Same-origin like #contract-editor-frame (they call /api/contract directly). -->
|
|
219
218
|
<iframe id="ws-frame-model" class="ws-frame" title="Project model editor" hidden></iframe>
|
|
@@ -241,7 +240,7 @@
|
|
|
241
240
|
The UI never parses a source or edits the wiki — Organize queues a Request the
|
|
242
241
|
terminal AI drains (AI at the edges). -->
|
|
243
242
|
<div class="ws-knowledge" id="ws-knowledge" hidden></div>
|
|
244
|
-
<input type="file" id="ws-knowledge-file" accept=".pdf,.png,.jpg,.jpeg,.txt,.csv,.md,image/*" multiple hidden>
|
|
243
|
+
<input data-command-id="shell.add-knowledge" type="file" id="ws-knowledge-file" accept=".pdf,.png,.jpg,.jpeg,.txt,.csv,.md,image/*" multiple hidden>
|
|
245
244
|
</div>
|
|
246
245
|
<div class="hint" id="canvas-hint">Click any node to inspect. Star ★ a node to save it as a reusable Template. Drag the background to pan — or press Home to fit.</div>
|
|
247
246
|
<div class="fav-bar" id="fav-bar">
|
|
@@ -251,27 +250,27 @@
|
|
|
251
250
|
</div>
|
|
252
251
|
</main>
|
|
253
252
|
|
|
254
|
-
<aside class="inspect" id="inspect-panel">
|
|
253
|
+
<aside class="inspect" id="inspect-panel" data-group="In the Inspect panel">
|
|
255
254
|
<div class="resize-handle resize-handle-left" data-resize="right" data-tip="Drag to resize · double-click to reset"></div>
|
|
256
255
|
<div class="panel-label">
|
|
257
256
|
<span>Inspect</span>
|
|
258
257
|
<span class="label-end">
|
|
259
258
|
<span class="role" id="inspect-role">click an agent</span>
|
|
260
|
-
<button id="debug-btn" class="tweak-btn" data-tip="Re-run this exec node with the .NET debugger attached (Visual Studio)" hidden>⊟ Debug in VS</button>
|
|
261
|
-
<button id="tweak-btn" class="tweak-btn" data-tip="Ask the terminal AI to change just this node" hidden>✎ Tweak</button>
|
|
262
|
-
<button type="button" class="panel-toggle" data-side="right" aria-label="Collapse Inspect panel" aria-controls="inspect-panel" aria-expanded="true" data-tip="Collapse Inspect panel">›</button>
|
|
259
|
+
<button data-command-id="shell.debug-node" id="debug-btn" class="tweak-btn" data-tip="Re-run this exec node with the .NET debugger attached (Visual Studio)" hidden>⊟ Debug in VS</button>
|
|
260
|
+
<button data-command-id="shell.tweak-node" id="tweak-btn" class="tweak-btn" data-tip="Ask the terminal AI to change just this node" hidden>✎ Tweak</button>
|
|
261
|
+
<button data-command-id="shell.inspect-panel" type="button" class="panel-toggle" data-side="right" aria-label="Collapse Inspect panel" aria-controls="inspect-panel" aria-expanded="true" data-tip="Collapse Inspect panel">›</button>
|
|
263
262
|
</span>
|
|
264
263
|
</div>
|
|
265
264
|
<div class="collapsed-stub">
|
|
266
|
-
<button type="button" class="panel-toggle" data-side="right" aria-label="Expand Inspect panel" aria-controls="inspect-panel" aria-expanded="false" data-tip="Expand Inspect panel">‹</button>
|
|
265
|
+
<button data-command-id="shell.inspect-panel" type="button" class="panel-toggle" data-side="right" aria-label="Expand Inspect panel" aria-controls="inspect-panel" aria-expanded="false" data-tip="Expand Inspect panel">‹</button>
|
|
267
266
|
<div class="vertical-label">Inspect</div>
|
|
268
267
|
<div class="stub-icon">⌕</div>
|
|
269
268
|
</div>
|
|
270
269
|
<div class="tabs" id="tabs">
|
|
271
|
-
<button data-tab="description" class="active">Description</button>
|
|
272
|
-
<button data-tab="skill">Skill</button>
|
|
273
|
-
<button data-tab="code">Code</button>
|
|
274
|
-
<button data-tab="execution">Execution</button>
|
|
270
|
+
<button data-command-id="shell.inspect-tab#description" data-tab="description" class="active">Description</button>
|
|
271
|
+
<button data-command-id="shell.inspect-tab#skill" data-tab="skill">Skill</button>
|
|
272
|
+
<button data-command-id="shell.inspect-tab#code" data-tab="code">Code</button>
|
|
273
|
+
<button data-command-id="shell.inspect-tab#execution" data-tab="execution">Execution</button>
|
|
275
274
|
</div>
|
|
276
275
|
<div class="inspect-body" id="inspect-body"></div>
|
|
277
276
|
</aside>
|
|
@@ -284,9 +283,9 @@
|
|
|
284
283
|
<div class="whats-new-summary">
|
|
285
284
|
<span class="whats-new-label">Updated</span>
|
|
286
285
|
<span class="whats-new-summary-text"></span>
|
|
287
|
-
<button class="whats-new-toggle" type="button" aria-expanded="false">What's new</button>
|
|
286
|
+
<button data-command-id="shell.whats-new" class="whats-new-toggle" type="button" aria-expanded="false">What's new</button>
|
|
288
287
|
<a class="whats-new-link" target="_blank" rel="noopener">Full changelog ↗</a>
|
|
289
|
-
<button class="whats-new-dismiss" type="button" aria-label="Dismiss">✕</button>
|
|
288
|
+
<button data-command-id="shell.whats-new-dismiss" class="whats-new-dismiss" type="button" aria-label="Dismiss">✕</button>
|
|
290
289
|
</div>
|
|
291
290
|
<div class="whats-new-detail"><div class="whats-new-detail-inner"></div></div>
|
|
292
291
|
</div>
|
|
@@ -302,13 +301,46 @@
|
|
|
302
301
|
<div class="fsn-text">
|
|
303
302
|
<div class="fsn-title">Need more working space?</div>
|
|
304
303
|
<div class="fsn-sub">Go fullscreen to give FloLess the whole screen.</div>
|
|
305
|
-
<button type="button" class="fsn-go" id="fsn-go">Go fullscreen</button>
|
|
304
|
+
<button data-command-id="shell.fullscreen-suggest" type="button" class="fsn-go" id="fsn-go">Go fullscreen</button>
|
|
306
305
|
</div>
|
|
307
|
-
<button type="button" class="fsn-dismiss" id="fsn-dismiss" aria-label="Dismiss fullscreen suggestion">✕</button>
|
|
306
|
+
<button data-command-id="shell.fullscreen-dismiss" type="button" class="fsn-dismiss" id="fsn-dismiss" aria-label="Dismiss fullscreen suggestion">✕</button>
|
|
308
307
|
</aside>
|
|
309
308
|
|
|
310
|
-
|
|
309
|
+
<!-- ── The Instructor ────────────────────────────────────────────────────
|
|
310
|
+
A 5th grid row above the footer, inserted by .has-instructor (same
|
|
311
|
+
technique as .has-whats-new). Narrates the active workflow's state and,
|
|
312
|
+
on `?`, explains whatever control you are on. aria-live is OFF by
|
|
313
|
+
design: #run-state already announces gate changes, and a hover-driven
|
|
314
|
+
live region would flood a screen reader as the pointer crosses a
|
|
315
|
+
toolbar. -->
|
|
316
|
+
<div class="instructor" id="instructor" role="group" aria-label="Instructor" aria-live="off">
|
|
317
|
+
<button data-command-id="instructor.toggle" type="button" class="ix-toggle" aria-expanded="true" data-tip="Hide the Instructor">
|
|
318
|
+
<span class="ix-caret" aria-hidden="true">⌄</span>
|
|
319
|
+
<span class="ix-toggle-label">Instructor</span>
|
|
320
|
+
</button>
|
|
321
|
+
<span class="ix-chip"></span>
|
|
322
|
+
<span class="ix-parts"></span>
|
|
323
|
+
<span class="ix-grow"></span>
|
|
324
|
+
<button type="button" class="ix-hint" id="ix-all" data-command-id="instructor.sheet"
|
|
325
|
+
data-tip="Every command FloLess knows, with what it acts on and how to reach it">
|
|
326
|
+
press <kbd>?</kbd> to explain a control<span class="ix-hint-sep">·</span><span class="ix-hint-link">see all</span>
|
|
327
|
+
</button>
|
|
328
|
+
<button data-command-id="shell.instructor-ask" type="button" class="ix-ask" data-tip="Send this to your terminal AI">Ask my terminal AI</button>
|
|
329
|
+
</div>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
<footer data-group="In the footer">
|
|
311
333
|
<div class="status">
|
|
334
|
+
<!-- Persistent support lifeline. This deliberately reuses the same report-issue action
|
|
335
|
+
as the hamburger item; the footer only makes that existing path discoverable. -->
|
|
336
|
+
<button id="report-issue-trigger" class="footer-report-issue" type="button" data-command-id="menu.report-issue"
|
|
337
|
+
data-acts="Sends a report to the FloLess team"
|
|
338
|
+
aria-label="Report an issue" aria-haspopup="dialog" aria-controls="report-issue-modal"
|
|
339
|
+
data-tip="Report a bug, idea, or question">
|
|
340
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m8 2 1.88 1.88"/><path d="M14.12 3.88 16 2"/><path d="M9 7.13v-1a3 3 0 0 1 6 0v1"/><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"/><path d="M12 20v-9"/><path d="M6.53 9C4.6 8.8 3 7.1 3 5"/><path d="M6 13H2"/><path d="M3 21c0-2.1 1.7-3.9 3.8-4"/><path d="M17.47 9C19.4 8.8 21 7.1 21 5"/><path d="M18 13h4"/><path d="M21 21c0-2.1-1.7-3.9-3.8-4"/></svg>
|
|
341
|
+
<span class="report-issue-trigger-label">Report an issue</span>
|
|
342
|
+
</button>
|
|
343
|
+
<span class="sep" aria-hidden="true">·</span>
|
|
312
344
|
<span class="stat"><span class="dot"></span><span class="stat-val">runtime online</span></span>
|
|
313
345
|
<span class="sep">·</span>
|
|
314
346
|
<span class="stat"><span class="stat-key">agents</span><span class="stat-val" id="agents-count">—</span></span>
|
|
@@ -323,10 +355,10 @@
|
|
|
323
355
|
</div>
|
|
324
356
|
<span class="version-info">
|
|
325
357
|
<span class="aware-version" id="aware-version" data-tip="AWARE runtime version — the aware CLI/npm package this app drives"></span>
|
|
326
|
-
<button id="aware-update" class="app-update" hidden data-tip="An AWARE runtime upgrade is available — reinstalls in place, no relaunch"></button>
|
|
358
|
+
<button data-command-id="shell.aware-update" id="aware-update" class="app-update" hidden data-tip="An AWARE runtime upgrade is available — reinstalls in place, no relaunch"></button>
|
|
327
359
|
<span class="sep ver-sep" id="ver-sep" hidden>·</span>
|
|
328
360
|
<span class="app-version" id="app-version" data-tip="floless.app build serving this window (installed build, or the dev build when run from source)"></span>
|
|
329
|
-
<button id="app-update" class="app-update" hidden></button>
|
|
361
|
+
<button data-command-id="shell.app-update" id="app-update" class="app-update" hidden></button>
|
|
330
362
|
</span>
|
|
331
363
|
</footer>
|
|
332
364
|
</div>
|
|
@@ -339,15 +371,15 @@
|
|
|
339
371
|
<!-- Customized-badge menu — Undo · Reset · a read-only history list. Anchored
|
|
340
372
|
under the header badge; populated per-open in panels.js. -->
|
|
341
373
|
<div class="menu ext-menu" id="ext-menu" role="menu" hidden>
|
|
342
|
-
<button class="menu-item" id="ext-undo" role="menuitem">
|
|
374
|
+
<button data-command-id="shell.extension-undo" class="menu-item" id="ext-undo" role="menuitem">
|
|
343
375
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"/></svg></span>
|
|
344
376
|
<span class="menu-label">Undo</span>
|
|
345
377
|
</button>
|
|
346
|
-
<button class="menu-item" id="ext-redo" role="menuitem">
|
|
378
|
+
<button data-command-id="shell.extension-redo" class="menu-item" id="ext-redo" role="menuitem">
|
|
347
379
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M15 14l5-5-5-5"/><path d="M20 9H9.5a5.5 5.5 0 0 0 0 11H13"/></svg></span>
|
|
348
380
|
<span class="menu-label">Redo</span>
|
|
349
381
|
</button>
|
|
350
|
-
<button class="menu-item" id="ext-reset" role="menuitem">
|
|
382
|
+
<button data-command-id="shell.extension-reset" class="menu-item" id="ext-reset" role="menuitem">
|
|
351
383
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/></svg></span>
|
|
352
384
|
<span class="menu-label">Reset to default</span>
|
|
353
385
|
</button>
|
|
@@ -363,8 +395,8 @@
|
|
|
363
395
|
<div class="modal-title">Reset dashboard to default</div>
|
|
364
396
|
<div class="modal-sub">Removes all custom panels and restores the FloLess default view. Your current layout is saved to history first — Undo (or your terminal AI) can bring it back.</div>
|
|
365
397
|
<div class="modal-actions">
|
|
366
|
-
<button id="ext-reset-cancel">Cancel</button>
|
|
367
|
-
<button id="ext-reset-confirm">Reset</button>
|
|
398
|
+
<button data-command-id="shell.dialog-cancel#resetting the extension edits" id="ext-reset-cancel">Cancel</button>
|
|
399
|
+
<button data-command-id="shell.extension-reset-confirm" id="ext-reset-confirm">Reset</button>
|
|
368
400
|
</div>
|
|
369
401
|
</div>
|
|
370
402
|
</div>
|
|
@@ -379,8 +411,8 @@
|
|
|
379
411
|
<div class="wf-update-changelog" id="wf-update-changelog"></div>
|
|
380
412
|
<div class="wf-update-note">Your work is safe — this updates the workflow's steps and keeps your data. A backup of the current version is saved first.</div>
|
|
381
413
|
<div class="modal-actions">
|
|
382
|
-
<button id="wf-update-cancel">Not now</button>
|
|
383
|
-
<button id="wf-update-ok" class="primary">↑ Back up & update</button>
|
|
414
|
+
<button data-command-id="shell.dialog-cancel#the workflow update" id="wf-update-cancel">Not now</button>
|
|
415
|
+
<button data-command-id="shell.workflow-update-apply" id="wf-update-ok" class="primary">↑ Back up & update</button>
|
|
384
416
|
</div>
|
|
385
417
|
</div>
|
|
386
418
|
</div>
|
|
@@ -396,9 +428,9 @@
|
|
|
396
428
|
<div class="aware-update-live" id="aware-update-live" role="status" aria-live="polite" aria-atomic="true"></div>
|
|
397
429
|
<div class="aware-update-results" id="aware-update-results"></div>
|
|
398
430
|
<div class="modal-actions">
|
|
399
|
-
<button id="aware-update-cancel">Not now</button>
|
|
400
|
-
<button id="aware-update-retry" class="primary" hidden>Try failed bridges again</button>
|
|
401
|
-
<button id="aware-update-ok" class="primary">Upgrade now</button>
|
|
431
|
+
<button data-command-id="shell.dialog-cancel#the AWARE update" id="aware-update-cancel">Not now</button>
|
|
432
|
+
<button data-command-id="shell.aware-update-retry" id="aware-update-retry" class="primary" hidden>Try failed bridges again</button>
|
|
433
|
+
<button data-command-id="shell.aware-update-apply" id="aware-update-ok" class="primary">Upgrade now</button>
|
|
402
434
|
</div>
|
|
403
435
|
</div>
|
|
404
436
|
</div>
|
|
@@ -421,32 +453,32 @@
|
|
|
421
453
|
<pre class="fm-note" id="import-failed-raw" tabindex="0" role="region" aria-labelledby="import-failed-summary"></pre>
|
|
422
454
|
</details>
|
|
423
455
|
<div class="modal-actions">
|
|
424
|
-
<button id="import-failed-close">Close</button>
|
|
456
|
+
<button data-command-id="shell.dialog-close#the import error" id="import-failed-close">Close</button>
|
|
425
457
|
</div>
|
|
426
458
|
</div>
|
|
427
459
|
</div>
|
|
428
460
|
|
|
429
|
-
<div class="menu" id="menu" role="menu">
|
|
430
|
-
<button class="menu-item" data-action="open" role="menuitem">
|
|
461
|
+
<div class="menu" id="menu" role="menu" data-group="In the ≡ menu">
|
|
462
|
+
<button class="menu-item" data-action="open" data-command-id="menu.open" role="menuitem">
|
|
431
463
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/></svg></span>
|
|
432
464
|
<span class="menu-label">Open</span>
|
|
433
465
|
<span class="menu-kbd">Ctrl+O</span>
|
|
434
466
|
</button>
|
|
435
|
-
<button class="menu-item" data-action="save" role="menuitem">
|
|
467
|
+
<button class="menu-item" data-action="save" data-command-id="menu.save" role="menuitem">
|
|
436
468
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"/><path d="M7 3v4a1 1 0 0 0 1 1h7"/></svg></span>
|
|
437
469
|
<span class="menu-label">Save inputs</span>
|
|
438
470
|
<span class="menu-kbd">Ctrl+S</span>
|
|
439
471
|
</button>
|
|
440
|
-
<button class="menu-item" data-action="new-workflow" role="menuitem">
|
|
472
|
+
<button class="menu-item" data-action="new-workflow" data-command-id="menu.new-workflow" role="menuitem">
|
|
441
473
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M9 15h6"/><path d="M12 18v-6"/></svg></span>
|
|
442
474
|
<span class="menu-label">New workflow…</span>
|
|
443
475
|
</button>
|
|
444
|
-
<button class="menu-item" data-action="import" role="menuitem">
|
|
476
|
+
<button class="menu-item" data-action="import" data-command-id="menu.import" role="menuitem">
|
|
445
477
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3v12m0 0-4-4m4 4 4-4"/><path d="M3 17v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2"/></svg></span>
|
|
446
478
|
<span class="menu-label">Import workflow…</span>
|
|
447
479
|
</button>
|
|
448
480
|
<div class="menu-divider"></div>
|
|
449
|
-
<button class="menu-item" data-action="find" role="menuitem">
|
|
481
|
+
<button class="menu-item" data-action="find" data-command-id="menu.find" role="menuitem">
|
|
450
482
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg></span>
|
|
451
483
|
<span class="menu-label">Find on canvas</span>
|
|
452
484
|
<span class="menu-kbd">Ctrl+F</span>
|
|
@@ -454,7 +486,7 @@
|
|
|
454
486
|
<!-- Workspace view switch (was the header Canvas|Dashboard toggle, #149). One
|
|
455
487
|
contextual item: the label names the OTHER view; the dot lights when the
|
|
456
488
|
dashboard changed while on Canvas. Wired in panels.js (owns the view state). -->
|
|
457
|
-
<button class="menu-item" data-action="view-switch" role="menuitem">
|
|
489
|
+
<button class="menu-item" data-action="view-switch" data-command-id="menu.view-switch" role="menuitem">
|
|
458
490
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M8 3 4 7l4 4"/><path d="M4 7h16"/><path d="m16 21 4-4-4-4"/><path d="M20 17H4"/></svg></span>
|
|
459
491
|
<span class="menu-label" id="menu-view-label">Switch to Dashboard</span>
|
|
460
492
|
<span class="view-dot" id="dash-dot" hidden aria-label="Dashboard updated">●</span>
|
|
@@ -462,32 +494,32 @@
|
|
|
462
494
|
<div class="menu-divider"></div>
|
|
463
495
|
<!-- Agents library (was the header ⊞ Agents button, #149). Heads the agent group
|
|
464
496
|
(Agents / Graft into agent / Bake into agent). Ctrl+G. -->
|
|
465
|
-
<button class="menu-item" data-action="agents" role="menuitem">
|
|
497
|
+
<button class="menu-item" data-action="agents" data-command-id="menu.agents" role="menuitem">
|
|
466
498
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 8V4H8"/><rect width="16" height="12" x="4" y="8" rx="2"/><path d="M2 14h2"/><path d="M20 14h2"/><path d="M15 13v2"/><path d="M9 13v2"/></svg></span>
|
|
467
499
|
<span class="menu-label">Agents</span>
|
|
468
500
|
<span class="menu-kbd">Ctrl+G</span>
|
|
469
501
|
</button>
|
|
470
|
-
<button class="menu-item" data-action="graft" role="menuitem">
|
|
502
|
+
<button class="menu-item" data-action="graft" data-command-id="menu.graft" role="menuitem">
|
|
471
503
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 22v-5"/><path d="M15 8V2"/><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"/><path d="M9 8V2"/></svg></span>
|
|
472
504
|
<span class="menu-label">Graft into agent</span>
|
|
473
505
|
</button>
|
|
474
|
-
<button class="menu-item" data-action="bake" id="menu-bake-item" role="menuitem">
|
|
506
|
+
<button class="menu-item" data-action="bake" data-command-id="menu.bake" id="menu-bake-item" role="menuitem">
|
|
475
507
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="M12 22V12"/><polyline points="3.29 7 12 12 20.71 7"/><path d="m7.5 4.27 9 5.15"/></svg></span>
|
|
476
508
|
<span class="menu-label" id="menu-bake-label">Bake into agent</span>
|
|
477
509
|
</button>
|
|
478
510
|
<div class="menu-divider"></div>
|
|
479
|
-
<button class="menu-item" data-action="integrations" role="menuitem">
|
|
511
|
+
<button class="menu-item" data-action="integrations" data-command-id="menu.integrations" role="menuitem">
|
|
480
512
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></span>
|
|
481
513
|
<span class="menu-label">Integrations</span>
|
|
482
514
|
<span class="menu-kbd">Ctrl+I</span>
|
|
483
515
|
</button>
|
|
484
|
-
<button class="menu-item" data-action="routines" role="menuitem">
|
|
516
|
+
<button class="menu-item" data-action="routines" data-command-id="menu.routines" role="menuitem">
|
|
485
517
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><line x1="10" x2="14" y1="2" y2="2"/><line x1="12" x2="15" y1="14" y2="11"/><circle cx="12" cy="14" r="8"/></svg></span>
|
|
486
518
|
<span class="menu-label">Routines</span>
|
|
487
519
|
<span class="menu-kbd">Ctrl+R</span>
|
|
488
520
|
</button>
|
|
489
521
|
<div class="menu-divider"></div>
|
|
490
|
-
<button class="menu-item" data-action="report-issue" role="menuitem">
|
|
522
|
+
<button class="menu-item" data-action="report-issue" data-command-id="menu.report-issue" role="menuitem">
|
|
491
523
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"/><line x1="4" x2="4" y1="22" y2="15"/></svg></span>
|
|
492
524
|
<span class="menu-label">Report an issue</span>
|
|
493
525
|
</button>
|
|
@@ -498,17 +530,39 @@
|
|
|
498
530
|
API is unavailable — hide, never show a dead control. No F11 kbd hint: F11
|
|
499
531
|
is the browser's own fullscreen, which is separate from the Fullscreen API
|
|
500
532
|
and wouldn't keep this control's state in sync. -->
|
|
501
|
-
<button class="menu-item" data-action="fullscreen" id="menu-fullscreen" role="menuitem">
|
|
533
|
+
<button class="menu-item" data-action="fullscreen" data-command-id="menu.fullscreen" id="menu-fullscreen" role="menuitem">
|
|
502
534
|
<span class="menu-icon" aria-hidden="true" id="menu-fullscreen-icon"><svg viewBox="0 0 24 24"><path d="M8 3H5a2 2 0 0 0-2 2v3"/><path d="M21 8V5a2 2 0 0 0-2-2h-3"/><path d="M3 16v3a2 2 0 0 0 2 2h3"/><path d="M16 21h3a2 2 0 0 0 2-2v-3"/></svg></span>
|
|
503
535
|
<span class="menu-label" id="menu-fullscreen-label">Enter full screen</span>
|
|
504
536
|
</button>
|
|
537
|
+
<!-- Instructor ON/OFF — a menuitemcheckbox (not the .menu-theme switch row): this is a chrome
|
|
538
|
+
visibility toggle, same shape as Fullscreen above it, not a machine/app preference like
|
|
539
|
+
Start-on-startup or Theme. Static label; aria-checked (kept in sync by instructor.js) carries
|
|
540
|
+
the state — flipping the LABEL is the imperative-button convention Fullscreen uses, and a
|
|
541
|
+
checkbox item's label must stay put. OFF removes .has-instructor from `.app` outright (the
|
|
542
|
+
grid row disappears, no space reserved) — a different, wider control than the band's own
|
|
543
|
+
collapse rail. Registers itself as `instructor.enabled` in the command registry. -->
|
|
544
|
+
<button class="menu-item" data-action="toggle-instructor" data-command-id="instructor.enabled"
|
|
545
|
+
id="menu-instructor-toggle" role="menuitemcheckbox" aria-checked="true"
|
|
546
|
+
data-tip="A docked strip that narrates what you're doing and explains any control on ? — turn it off to reclaim the space, any time">
|
|
547
|
+
<span class="menu-icon" aria-hidden="true">
|
|
548
|
+
<svg viewBox="0 0 24 24">
|
|
549
|
+
<path d="M12 7v14"/>
|
|
550
|
+
<path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/>
|
|
551
|
+
</svg>
|
|
552
|
+
</span>
|
|
553
|
+
<span class="menu-label">Instructor</span>
|
|
554
|
+
<span class="menu-check" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M20 6 9 17l-5-5"/></svg></span>
|
|
555
|
+
</button>
|
|
505
556
|
<!-- Start-on-login + Theme are sibling machine preferences (no divider between
|
|
506
557
|
them — UX review 2026-05-31). Start-on-login toggles the per-user logon
|
|
507
558
|
Scheduled Task that keeps the local server alive across logins; hidden unless
|
|
508
559
|
supported (Windows packaged build), JS unhides it from GET /api/autostart. -->
|
|
509
560
|
<div class="menu-theme menu-startup" id="menu-startup" hidden>
|
|
510
561
|
<span class="menu-label" data-tip="Starts the FloLess server automatically when you sign in, so your browser reconnects on its own">Start on startup</span>
|
|
511
|
-
|
|
562
|
+
<!-- The id sits on the label, not the checkbox it wraps: accessibleNameOf() reads the element
|
|
563
|
+
the id is on, and the label is what carries the name here. Same shape as the 3D view
|
|
564
|
+
toggles in the steel editor and the Drawing Filter's match-on rows (#779). -->
|
|
565
|
+
<label class="rtn-toggle" data-command-id="shell.open-at-startup" aria-label="Start FloLess on startup">
|
|
512
566
|
<input type="checkbox" id="startup-toggle" role="switch">
|
|
513
567
|
<span class="rtn-toggle-track"></span>
|
|
514
568
|
</label>
|
|
@@ -516,8 +570,44 @@
|
|
|
516
570
|
<div class="menu-theme">
|
|
517
571
|
<span class="menu-label">Theme</span>
|
|
518
572
|
<div class="theme-toggle">
|
|
519
|
-
<button class="theme-btn" data-theme="light" data-tip="Light">☀</button>
|
|
520
|
-
<button class="theme-btn" data-theme="dark" data-tip="Dark">☾</button>
|
|
573
|
+
<button data-command-id="shell.theme#the light theme" class="theme-btn" data-theme="light" data-tip="Light">☀</button>
|
|
574
|
+
<button data-command-id="shell.theme#the dark theme" class="theme-btn" data-theme="dark" data-tip="Dark">☾</button>
|
|
575
|
+
</div>
|
|
576
|
+
</div>
|
|
577
|
+
</div>
|
|
578
|
+
|
|
579
|
+
<!-- ── The `?` command sheet ──────────────────────────────────────────────
|
|
580
|
+
Every registered command, searchable. `?`/F1 explain the ONE control you are
|
|
581
|
+
on; this is the "show me everything" surface, reached by the same key when
|
|
582
|
+
there is no control to explain, or from the strip's "see all".
|
|
583
|
+
|
|
584
|
+
A SIBLING of #app, like every other real modal in this file — not a child.
|
|
585
|
+
That is what lets the open handler inert every body child except this one,
|
|
586
|
+
which is the only way to be sure nothing focusable is left behind it (a
|
|
587
|
+
toast carries a focusable close button and is a body sibling too).
|
|
588
|
+
|
|
589
|
+
Built on .modal-backdrop/.modal, so it inherits the shared backdrop, blur,
|
|
590
|
+
fade and z-index band rather than inventing a third stacking tier. -->
|
|
591
|
+
<div class="modal-backdrop cmd-sheet-backdrop" id="command-sheet" role="dialog" aria-modal="true"
|
|
592
|
+
aria-labelledby="cmd-sheet-title" aria-describedby="cmd-sheet-sub" hidden>
|
|
593
|
+
<div class="modal cmd-sheet" tabindex="-1">
|
|
594
|
+
<div class="cmd-sheet-head">
|
|
595
|
+
<div>
|
|
596
|
+
<div class="modal-title" id="cmd-sheet-title">Commands</div>
|
|
597
|
+
<div class="modal-sub" id="cmd-sheet-sub" role="status" aria-live="polite">Everything FloLess can do — this screen first.</div>
|
|
598
|
+
</div>
|
|
599
|
+
<!-- Both of these are instances of the one `instructor.sheet` capability —
|
|
600
|
+
how you work this surface, not two more capabilities. The coverage
|
|
601
|
+
ratchet counts them, and it was right to: they shipped bare first. -->
|
|
602
|
+
<button type="button" class="cmd-sheet-close" id="cmd-sheet-close" data-command-id="instructor.sheet"
|
|
603
|
+
aria-label="Close" data-tip="Close (Esc)">✕</button>
|
|
604
|
+
</div>
|
|
605
|
+
<input type="text" id="cmd-sheet-filter" class="cmd-sheet-filter" autocomplete="off" data-command-id="instructor.sheet"
|
|
606
|
+
spellcheck="false" placeholder="Search commands…" aria-label="Search commands"
|
|
607
|
+
role="combobox" aria-expanded="true" aria-controls="cmd-sheet-list" aria-activedescendant="">
|
|
608
|
+
<div class="cmd-sheet-list" id="cmd-sheet-list" role="listbox" aria-label="Commands"></div>
|
|
609
|
+
<div class="cmd-sheet-foot">
|
|
610
|
+
<span class="cmd-sheet-hint"><kbd>↑↓</kbd> move · <kbd>Enter</kbd> go to it · <kbd>Esc</kbd> close</span>
|
|
521
611
|
</div>
|
|
522
612
|
</div>
|
|
523
613
|
</div>
|
|
@@ -529,8 +619,8 @@
|
|
|
529
619
|
<div class="contract-editor-bar">
|
|
530
620
|
<span id="contract-editor-title" class="contract-editor-title"></span>
|
|
531
621
|
<span style="flex:1"></span>
|
|
532
|
-
<button id="contract-editor-close" type="button" data-tip="Close the editor and go back — your edits are already saved">Close</button>
|
|
533
|
-
<button id="contract-editor-approve" type="button" class="primary" data-tip="Locks in this version of the model so it can be Run. Your edits already auto-save — this is the sign-off, and Run stays disabled until you approve after each change.">✓ Approve</button>
|
|
622
|
+
<button data-command-id="shell.editor-close" id="contract-editor-close" type="button" data-tip="Close the editor and go back — your edits are already saved">Close</button>
|
|
623
|
+
<button data-command-id="shell.editor-approve" id="contract-editor-approve" type="button" class="primary" data-tip="Locks in this version of the model so it can be Run. Your edits already auto-save — this is the sign-off, and Run stays disabled until you approve after each change.">✓ Approve</button>
|
|
534
624
|
</div>
|
|
535
625
|
<iframe id="contract-editor-frame" title="Contract editor"></iframe>
|
|
536
626
|
</div>
|
|
@@ -545,12 +635,12 @@
|
|
|
545
635
|
<div class="modal-sub" id="report-sub">Rendered from the live run — never composed by the UI.</div>
|
|
546
636
|
</div>
|
|
547
637
|
<div class="report-actions">
|
|
548
|
-
<button id="report-stop" class="ghost report-stop" hidden data-tip="Stop the live session — the report stops updating on each change">■ Stop run</button>
|
|
549
|
-
<button id="report-share" class="ghost" hidden data-tip="Share this report as a link anyone can view — hosted on floless.io">↗ Share</button>
|
|
550
|
-
<button id="report-open-file" class="ghost" hidden data-tip="Open the saved file in its default app">⧉ Open file</button>
|
|
551
|
-
<button id="report-reveal-file" class="ghost" hidden data-tip="Show the saved file in its folder">▤ Reveal in folder</button>
|
|
552
|
-
<button id="report-open" class="ghost" data-tip="Open the report in a new browser tab">↗ Open</button>
|
|
553
|
-
<button id="report-close" data-tip="Close">×</button>
|
|
638
|
+
<button data-command-id="shell.report-stop" id="report-stop" class="ghost report-stop" hidden data-tip="Stop the live session — the report stops updating on each change">■ Stop run</button>
|
|
639
|
+
<button data-command-id="shell.report-share" id="report-share" class="ghost" hidden data-tip="Share this report as a link anyone can view — hosted on floless.io">↗ Share</button>
|
|
640
|
+
<button data-command-id="shell.report-open-file" id="report-open-file" class="ghost" hidden data-tip="Open the saved file in its default app">⧉ Open file</button>
|
|
641
|
+
<button data-command-id="shell.report-reveal-file" id="report-reveal-file" class="ghost" hidden data-tip="Show the saved file in its folder">▤ Reveal in folder</button>
|
|
642
|
+
<button data-command-id="shell.report-open" id="report-open" class="ghost" data-tip="Open the report in a new browser tab">↗ Open</button>
|
|
643
|
+
<button data-command-id="shell.dialog-close#the report" id="report-close" data-tip="Close">×</button>
|
|
554
644
|
</div>
|
|
555
645
|
</div>
|
|
556
646
|
<div class="report-stage" id="report-stage">
|
|
@@ -587,7 +677,7 @@
|
|
|
587
677
|
<div class="modal ws-thumb-viewer" tabindex="-1">
|
|
588
678
|
<div class="ws-thumb-head">
|
|
589
679
|
<div class="modal-title" id="ws-thumb-title">Thumbnail</div>
|
|
590
|
-
<button type="button" id="ws-thumb-close" data-tip="Close">×</button>
|
|
680
|
+
<button data-command-id="shell.dialog-close#the thumbnail" type="button" id="ws-thumb-close" data-tip="Close">×</button>
|
|
591
681
|
</div>
|
|
592
682
|
<div class="ws-thumb-stage"><img id="ws-thumb-full" alt=""></div>
|
|
593
683
|
</div>
|
|
@@ -607,8 +697,8 @@
|
|
|
607
697
|
<div class="modal-sub" id="form-modal-sub"></div>
|
|
608
698
|
<div id="form-modal-body"></div>
|
|
609
699
|
<div class="modal-actions">
|
|
610
|
-
<button id="form-modal-cancel">Cancel</button>
|
|
611
|
-
<button id="form-modal-ok" class="primary">Save</button>
|
|
700
|
+
<button data-command-id="shell.dialog-cancel#the form" id="form-modal-cancel">Cancel</button>
|
|
701
|
+
<button data-command-id="shell.form-submit" id="form-modal-ok" class="primary">Save</button>
|
|
612
702
|
</div>
|
|
613
703
|
</div>
|
|
614
704
|
</div>
|
|
@@ -626,8 +716,8 @@
|
|
|
626
716
|
<div class="rev-counts" id="revreview-counts"></div>
|
|
627
717
|
<div class="revreview-body" id="revreview-body"></div>
|
|
628
718
|
<div class="modal-actions">
|
|
629
|
-
<button id="revreview-cancel">Cancel</button>
|
|
630
|
-
<button id="revreview-confirm" class="primary">Apply selected</button>
|
|
719
|
+
<button data-command-id="shell.dialog-cancel#the revision review" id="revreview-cancel">Cancel</button>
|
|
720
|
+
<button data-command-id="shell.revision-confirm" id="revreview-confirm" class="primary">Apply selected</button>
|
|
631
721
|
</div>
|
|
632
722
|
</div>
|
|
633
723
|
</div>
|
|
@@ -643,8 +733,8 @@
|
|
|
643
733
|
<div class="approval-review-footer">
|
|
644
734
|
<div class="rev-counts" id="approval-review-counts" role="status" aria-live="polite"></div>
|
|
645
735
|
<div class="modal-actions">
|
|
646
|
-
<button id="approval-review-cancel" type="button">Cancel</button>
|
|
647
|
-
<button id="approval-review-confirm" type="button" class="primary" disabled>Approve selected changes</button>
|
|
736
|
+
<button data-command-id="shell.dialog-cancel#the approval review" id="approval-review-cancel" type="button">Cancel</button>
|
|
737
|
+
<button data-command-id="shell.approval-confirm" id="approval-review-confirm" type="button" class="primary" disabled>Approve selected changes</button>
|
|
648
738
|
</div>
|
|
649
739
|
</div>
|
|
650
740
|
</div>
|
|
@@ -658,9 +748,9 @@
|
|
|
658
748
|
<div class="modal-title" id="confirm-modal-title">Unsaved input changes</div>
|
|
659
749
|
<div class="modal-sub" id="confirm-modal-sub"></div>
|
|
660
750
|
<div class="modal-actions">
|
|
661
|
-
<button id="confirm-dont-save">Don’t save</button>
|
|
662
|
-
<button id="confirm-cancel">Cancel</button>
|
|
663
|
-
<button id="confirm-save" class="primary">Save</button>
|
|
751
|
+
<button data-command-id="shell.discard-changes" id="confirm-dont-save">Don’t save</button>
|
|
752
|
+
<button data-command-id="shell.dialog-cancel#the unsaved-changes prompt" id="confirm-cancel">Cancel</button>
|
|
753
|
+
<button data-command-id="shell.save-changes" id="confirm-save" class="primary">Save</button>
|
|
664
754
|
</div>
|
|
665
755
|
</div>
|
|
666
756
|
</div>
|
|
@@ -671,16 +761,16 @@
|
|
|
671
761
|
<div class="modal-sub" id="add-fav-sub">Save this node as a reusable Template — usable in any workflow.</div>
|
|
672
762
|
<div class="modal-field">
|
|
673
763
|
<label for="fav-name">Name</label>
|
|
674
|
-
<input id="fav-name" type="text">
|
|
764
|
+
<input data-command-id="shell.favourite-name" id="fav-name" type="text">
|
|
675
765
|
</div>
|
|
676
766
|
<div class="modal-field">
|
|
677
767
|
<label for="fav-cat">Category</label>
|
|
678
|
-
<input id="fav-cat" type="text" placeholder="e.g. Tekla, MEP, Fab Pipeline">
|
|
768
|
+
<input data-command-id="shell.favourite-category" id="fav-cat" type="text" placeholder="e.g. Tekla, MEP, Fab Pipeline">
|
|
679
769
|
<div class="modal-categories" id="fav-cat-suggest"></div>
|
|
680
770
|
</div>
|
|
681
771
|
<div class="modal-actions">
|
|
682
|
-
<button id="fav-cancel">Cancel</button>
|
|
683
|
-
<button id="fav-save" class="primary">★ Save</button>
|
|
772
|
+
<button data-command-id="shell.dialog-cancel#Favourites" id="fav-cancel">Cancel</button>
|
|
773
|
+
<button data-command-id="shell.favourite-save" id="fav-save" class="primary">★ Save</button>
|
|
684
774
|
</div>
|
|
685
775
|
</div>
|
|
686
776
|
</div>
|
|
@@ -689,26 +779,26 @@
|
|
|
689
779
|
<div class="modal library">
|
|
690
780
|
<div class="modal-title">Agent Library</div>
|
|
691
781
|
<div class="tabs lib-tabs" id="lib-tabs" role="tablist" aria-label="Agent Library tabs">
|
|
692
|
-
<button data-libtab="installed" class="active" role="tab" aria-selected="true" aria-controls="lib-pane-installed">Installed</button>
|
|
693
|
-
<button data-libtab="available" role="tab" aria-selected="false" aria-controls="lib-pane-available">Available</button>
|
|
782
|
+
<button data-command-id="shell.library-tab#installed" data-libtab="installed" class="active" role="tab" aria-selected="true" aria-controls="lib-pane-installed">Installed</button>
|
|
783
|
+
<button data-command-id="shell.library-tab#available" data-libtab="available" role="tab" aria-selected="false" aria-controls="lib-pane-available">Available</button>
|
|
694
784
|
</div>
|
|
695
785
|
|
|
696
786
|
<div class="lib-pane" id="lib-pane-installed" role="tabpanel" aria-label="Installed agents">
|
|
697
787
|
<div class="modal-sub">All installed agents · star a command to save it as a Template.</div>
|
|
698
|
-
<input id="lib-search" class="lib-search" type="text" placeholder="Search (tekla, slack, file, …)" aria-label="Search installed agents">
|
|
788
|
+
<input data-command-id="shell.library-search#installed" id="lib-search" class="lib-search" type="text" placeholder="Search (tekla, slack, file, …)" aria-label="Search installed agents">
|
|
699
789
|
<div class="lib-list" id="lib-list"></div>
|
|
700
790
|
</div>
|
|
701
791
|
|
|
702
792
|
<div class="lib-pane" id="lib-pane-available" role="tabpanel" aria-label="Available agents" hidden>
|
|
703
793
|
<div class="modal-sub">Every agent in the AWARE registry · install one to add it to your library.</div>
|
|
704
|
-
<input id="lib-avail-search" class="lib-search" type="text" placeholder="Search available agents (revit, ifc, slack, …)" aria-label="Search available agents">
|
|
794
|
+
<input data-command-id="shell.library-search#available" id="lib-avail-search" class="lib-search" type="text" placeholder="Search available agents (revit, ifc, slack, …)" aria-label="Search available agents">
|
|
705
795
|
<span class="sr-only" aria-live="polite" id="lib-avail-count"></span>
|
|
706
796
|
<div class="lib-list" id="lib-avail-list"></div>
|
|
707
797
|
</div>
|
|
708
798
|
|
|
709
799
|
<div class="modal-actions">
|
|
710
|
-
<button id="lib-graft" style="margin-right:auto;" data-tip="Build a new agent from a tool you own — a DLL, C# source, NuGet package, or API spec.">⊕ Graft new agent</button>
|
|
711
|
-
<button id="lib-close">Close</button>
|
|
800
|
+
<button data-command-id="menu.graft" id="lib-graft" style="margin-right:auto;" data-tip="Build a new agent from a tool you own — a DLL, C# source, NuGet package, or API spec.">⊕ Graft new agent</button>
|
|
801
|
+
<button data-command-id="shell.dialog-close#the agent library" id="lib-close">Close</button>
|
|
712
802
|
</div>
|
|
713
803
|
</div>
|
|
714
804
|
</div>
|
|
@@ -734,7 +824,7 @@
|
|
|
734
824
|
</div>
|
|
735
825
|
<div class="integrations-list" id="integrations-list"></div>
|
|
736
826
|
<div class="modal-actions">
|
|
737
|
-
<button id="integrations-close">Close</button>
|
|
827
|
+
<button data-command-id="shell.dialog-close#Integrations" id="integrations-close">Close</button>
|
|
738
828
|
</div>
|
|
739
829
|
</div>
|
|
740
830
|
</div>
|
|
@@ -747,15 +837,15 @@
|
|
|
747
837
|
Workspaces landing, or Workflows with no workflow selected) — a filter with one
|
|
748
838
|
possible answer is noise. Labels/counts are written per-render in aware.js. -->
|
|
749
839
|
<div class="tabs req-scope" id="requests-scope" role="tablist" aria-label="Filter requests by what you have open" hidden>
|
|
750
|
-
<button type="button" data-reqscope="scoped" class="active" role="tab" aria-selected="true" id="requests-scope-here"></button>
|
|
751
|
-
<button type="button" data-reqscope="all" role="tab" aria-selected="false" id="requests-scope-all">All</button>
|
|
840
|
+
<button data-command-id="shell.request-scope#this project" type="button" data-reqscope="scoped" class="active" role="tab" aria-selected="true" id="requests-scope-here"></button>
|
|
841
|
+
<button data-command-id="shell.request-scope#every project" type="button" data-reqscope="all" role="tab" aria-selected="false" id="requests-scope-all">All</button>
|
|
752
842
|
</div>
|
|
753
|
-
<input id="requests-search" class="lib-search req-search" type="text" placeholder="Search by project, workflow, or what you asked for" aria-label="Search requests">
|
|
843
|
+
<input data-command-id="shell.request-search" id="requests-search" class="lib-search req-search" type="text" placeholder="Search by project, workflow, or what you asked for" aria-label="Search requests">
|
|
754
844
|
<div class="requests-list" id="requests-list"></div>
|
|
755
845
|
<div class="modal-actions">
|
|
756
|
-
<button id="requests-clear">Clear all</button>
|
|
757
|
-
<button id="requests-copy">Copy all</button>
|
|
758
|
-
<button id="requests-close" class="primary">Close</button>
|
|
846
|
+
<button data-command-id="shell.request-clear" id="requests-clear">Clear all</button>
|
|
847
|
+
<button data-command-id="shell.request-copy" id="requests-copy">Copy all</button>
|
|
848
|
+
<button data-command-id="shell.dialog-close#the requests list" id="requests-close" class="primary">Close</button>
|
|
759
849
|
</div>
|
|
760
850
|
</div>
|
|
761
851
|
</div>
|
|
@@ -784,15 +874,15 @@
|
|
|
784
874
|
</div>
|
|
785
875
|
<div class="request-help-note" id="request-help-note">The web UI queues the request; your terminal agent applies it and reports progress back here.</div>
|
|
786
876
|
<div class="modal-actions">
|
|
787
|
-
<button id="request-help-copy" hidden>Copy instruction</button>
|
|
788
|
-
<button id="request-help-keep">Keep working</button>
|
|
789
|
-
<button id="request-help-open">Open Requests</button>
|
|
877
|
+
<button data-command-id="shell.request-help-copy" id="request-help-copy" hidden>Copy instruction</button>
|
|
878
|
+
<button data-command-id="shell.request-help-keep" id="request-help-keep">Keep working</button>
|
|
879
|
+
<button data-command-id="shell.request-help-open" id="request-help-open">Open Requests</button>
|
|
790
880
|
<!-- The §E4 split: ▶ runs with the current default, ▾ opens folder + which terminal AI for
|
|
791
881
|
THIS run only. Hidden outright when no runtime is installed or this request's type
|
|
792
882
|
can't run headless — hide, never disable. -->
|
|
793
883
|
<span class="run-split" id="request-help-run-split" hidden>
|
|
794
|
-
<button id="request-help-run" class="primary run-split-main">▶ Run it for me</button>
|
|
795
|
-
<button id="request-help-run-opts" class="primary run-split-caret" aria-label="Choose folder and terminal AI" data-tip="Choose the folder and which terminal AI to use">▾</button>
|
|
884
|
+
<button data-command-id="shell.request-help-run" id="request-help-run" class="primary run-split-main">▶ Run it for me</button>
|
|
885
|
+
<button data-command-id="shell.request-help-options" id="request-help-run-opts" class="primary run-split-caret" aria-label="Choose folder and terminal AI" data-tip="Choose the folder and which terminal AI to use">▾</button>
|
|
796
886
|
</span>
|
|
797
887
|
</div>
|
|
798
888
|
</div>
|
|
@@ -809,8 +899,8 @@
|
|
|
809
899
|
<div class="modal-sub">What this workflow does, and how to go through it.</div>
|
|
810
900
|
<div id="guide-body"></div>
|
|
811
901
|
<div class="modal-actions">
|
|
812
|
-
<button id="guide-got-it">Got it</button>
|
|
813
|
-
<button id="guide-walk" class="primary">Walk me through it →</button>
|
|
902
|
+
<button data-command-id="shell.guide-dismiss" id="guide-got-it">Got it</button>
|
|
903
|
+
<button data-command-id="shell.guide-walk" id="guide-walk" class="primary">Walk me through it →</button>
|
|
814
904
|
</div>
|
|
815
905
|
</div>
|
|
816
906
|
</div>
|
|
@@ -823,8 +913,8 @@
|
|
|
823
913
|
<div class="guide-spotlight-bubble" role="dialog" aria-modal="false" aria-label="New workflow tip" tabindex="-1">
|
|
824
914
|
<div class="guide-spotlight-text">New to this workflow? <strong>Start here</strong> — see what it does and how to run it.</div>
|
|
825
915
|
<div class="guide-spotlight-actions">
|
|
826
|
-
<button type="button" id="guide-spotlight-got" class="ghost">Got it</button>
|
|
827
|
-
<button type="button" id="guide-spotlight-show" class="primary">Show me</button>
|
|
916
|
+
<button data-command-id="shell.guide-dismiss" type="button" id="guide-spotlight-got" class="ghost">Got it</button>
|
|
917
|
+
<button data-command-id="shell.guide-walk" type="button" id="guide-spotlight-show" class="primary">Show me</button>
|
|
828
918
|
</div>
|
|
829
919
|
</div>
|
|
830
920
|
</div>
|
|
@@ -837,8 +927,8 @@
|
|
|
837
927
|
<div class="rtn-quota" id="rtn-quota"></div>
|
|
838
928
|
<div class="routines-list" id="routines-list"></div>
|
|
839
929
|
<div class="modal-actions">
|
|
840
|
-
<button id="rtn-add" class="primary">+ Add routine</button>
|
|
841
|
-
<button id="routines-close">Close</button>
|
|
930
|
+
<button data-command-id="shell.routine-add" id="rtn-add" class="primary">+ Add routine</button>
|
|
931
|
+
<button data-command-id="shell.dialog-close#Routines" id="routines-close">Close</button>
|
|
842
932
|
</div>
|
|
843
933
|
</div>
|
|
844
934
|
</div>
|
|
@@ -850,24 +940,24 @@
|
|
|
850
940
|
<div class="modal-sub">Pick a workflow and when it should run.</div>
|
|
851
941
|
<div class="modal-field">
|
|
852
942
|
<label for="rtn-name">Name</label>
|
|
853
|
-
<input id="rtn-name" type="text" placeholder="e.g. Morning BOM export" autocomplete="off">
|
|
943
|
+
<input data-command-id="shell.routine-name" id="rtn-name" type="text" placeholder="e.g. Morning BOM export" autocomplete="off">
|
|
854
944
|
</div>
|
|
855
945
|
<div class="modal-field">
|
|
856
946
|
<label for="rtn-workflow">Workflow</label>
|
|
857
|
-
<select id="rtn-workflow"></select>
|
|
947
|
+
<select data-command-id="shell.routine-workflow" id="rtn-workflow"></select>
|
|
858
948
|
</div>
|
|
859
949
|
<!-- Routine kind chooser — schedule vs event-trigger. Hidden unless the picked
|
|
860
950
|
workflow is trigger-eligible (its source is a streaming lifecycle:start command). -->
|
|
861
951
|
<div class="modal-field" id="rtn-mode-field" hidden>
|
|
862
952
|
<label>Runs</label>
|
|
863
953
|
<div class="rtn-mode" role="group" aria-label="Routine kind">
|
|
864
|
-
<button type="button" class="rtn-mode-btn active" data-mode="schedule" aria-pressed="true">On a schedule</button>
|
|
865
|
-
<button type="button" class="rtn-mode-btn" data-mode="trigger" aria-pressed="false">On a trigger</button>
|
|
954
|
+
<button data-command-id="shell.routine-mode#a schedule" type="button" class="rtn-mode-btn active" data-mode="schedule" aria-pressed="true">On a schedule</button>
|
|
955
|
+
<button data-command-id="shell.routine-mode#a trigger" type="button" class="rtn-mode-btn" data-mode="trigger" aria-pressed="false">On a trigger</button>
|
|
866
956
|
</div>
|
|
867
957
|
</div>
|
|
868
958
|
<div class="modal-field" id="rtn-sched-kind-field">
|
|
869
959
|
<label for="rtn-kind">Schedule</label>
|
|
870
|
-
<select id="rtn-kind" class="rtn-kind-select">
|
|
960
|
+
<select data-command-id="shell.routine-schedule-kind" id="rtn-kind" class="rtn-kind-select">
|
|
871
961
|
<option value="daily">Every day</option>
|
|
872
962
|
<option value="weekdays">Every weekday (Mon–Fri)</option>
|
|
873
963
|
<option value="weekly">Specific days</option>
|
|
@@ -879,7 +969,7 @@
|
|
|
879
969
|
<div id="rtn-sched-detail">
|
|
880
970
|
<div class="modal-field" data-sched="minutes" hidden>
|
|
881
971
|
<label for="rtn-everyminutes">Run every</label>
|
|
882
|
-
<select id="rtn-everyminutes" class="rtn-kind-select" aria-describedby="rtn-minutes-hint">
|
|
972
|
+
<select data-command-id="shell.routine-interval#minutes" id="rtn-everyminutes" class="rtn-kind-select" aria-describedby="rtn-minutes-hint">
|
|
883
973
|
<option value="5" selected>Every 5 minutes</option>
|
|
884
974
|
<option value="10">Every 10 minutes</option>
|
|
885
975
|
<option value="15">Every 15 minutes</option>
|
|
@@ -890,7 +980,7 @@
|
|
|
890
980
|
</div>
|
|
891
981
|
<div class="modal-field" data-sched="hourly" hidden>
|
|
892
982
|
<label for="rtn-everyhours">Run every</label>
|
|
893
|
-
<select id="rtn-everyhours" class="rtn-kind-select">
|
|
983
|
+
<select data-command-id="shell.routine-interval#hours" id="rtn-everyhours" class="rtn-kind-select">
|
|
894
984
|
<option value="1">Every hour</option>
|
|
895
985
|
<option value="2" selected>Every 2 hours</option>
|
|
896
986
|
<option value="3">Every 3 hours</option>
|
|
@@ -908,14 +998,14 @@
|
|
|
908
998
|
<div class="modal-field" data-sched="daily weekdays weekly">
|
|
909
999
|
<label for="rtn-hour">At (local time)</label>
|
|
910
1000
|
<div class="rtn-time">
|
|
911
|
-
<select id="rtn-hour" aria-label="Hour"></select>
|
|
1001
|
+
<select data-command-id="shell.routine-time#hour" id="rtn-hour" aria-label="Hour"></select>
|
|
912
1002
|
<span class="rtn-time-sep">:</span>
|
|
913
|
-
<select id="rtn-minute" aria-label="Minute"></select>
|
|
1003
|
+
<select data-command-id="shell.routine-time#minute" id="rtn-minute" aria-label="Minute"></select>
|
|
914
1004
|
</div>
|
|
915
1005
|
</div>
|
|
916
1006
|
<div class="modal-field" data-sched="cron" hidden>
|
|
917
1007
|
<label for="rtn-cron">Cron expression</label>
|
|
918
|
-
<input id="rtn-cron" type="text" placeholder="0 4 * * 1" autocomplete="off" spellcheck="false">
|
|
1008
|
+
<input data-command-id="shell.routine-cron" id="rtn-cron" type="text" placeholder="0 4 * * 1" autocomplete="off" spellcheck="false">
|
|
919
1009
|
<div class="rtn-cron-hint"><code>min hour day-of-month month day-of-week</code> · e.g. <code>0 4 * * 1</code> = Mondays 04:00. Runs no finer than the ~1-minute scheduler tick.</div>
|
|
920
1010
|
</div>
|
|
921
1011
|
</div>
|
|
@@ -933,15 +1023,15 @@
|
|
|
933
1023
|
<div id="rtn-inputs"></div>
|
|
934
1024
|
</div>
|
|
935
1025
|
<div class="modal-field rtn-enabled-field">
|
|
936
|
-
<label class="rtn-toggle">
|
|
1026
|
+
<label class="rtn-toggle" data-command-id="shell.routine-enabled">
|
|
937
1027
|
<input type="checkbox" id="rtn-enabled" checked>
|
|
938
1028
|
<span class="rtn-toggle-track"></span>
|
|
939
1029
|
<span class="rtn-toggle-label" id="rtn-enabled-label">Enabled</span>
|
|
940
1030
|
</label>
|
|
941
1031
|
</div>
|
|
942
1032
|
<div class="modal-actions">
|
|
943
|
-
<button id="rtn-edit-cancel">Cancel</button>
|
|
944
|
-
<button id="rtn-edit-save" class="primary">Save routine</button>
|
|
1033
|
+
<button data-command-id="shell.dialog-cancel#the routine" id="rtn-edit-cancel">Cancel</button>
|
|
1034
|
+
<button data-command-id="shell.routine-save" id="rtn-edit-save" class="primary">Save routine</button>
|
|
945
1035
|
</div>
|
|
946
1036
|
</div>
|
|
947
1037
|
</div>
|
|
@@ -950,30 +1040,30 @@
|
|
|
950
1040
|
(the floless.io relay; report-relay.ts). The user gets a confirmation ref, not a
|
|
951
1041
|
public link (the repo is private). JS swaps #ri-form for #ri-state (success / sign-in). -->
|
|
952
1042
|
<div class="modal-backdrop" id="report-issue-modal">
|
|
953
|
-
<div class="modal report-issue">
|
|
954
|
-
<div class="modal-title">Report an issue</div>
|
|
955
|
-
<div class="modal-sub">Reports go to a private log — you won't get a public link to track it. We'll follow up with you if we need more details.</div>
|
|
1043
|
+
<div class="modal report-issue" role="dialog" aria-modal="true" aria-labelledby="ri-modal-title" aria-describedby="ri-modal-sub">
|
|
1044
|
+
<div class="modal-title" id="ri-modal-title">Report an issue</div>
|
|
1045
|
+
<div class="modal-sub" id="ri-modal-sub">Reports go to a private log — you won't get a public link to track it. We'll follow up with you if we need more details.</div>
|
|
956
1046
|
<div id="ri-form">
|
|
957
1047
|
<div class="modal-field">
|
|
958
1048
|
<label>Category</label>
|
|
959
1049
|
<div class="rtn-mode" id="ri-category" role="group" aria-label="Report category">
|
|
960
|
-
<button type="button" class="rtn-mode-btn active" data-cat="bug" aria-pressed="true">Bug</button>
|
|
961
|
-
<button type="button" class="rtn-mode-btn" data-cat="idea" aria-pressed="false">Idea</button>
|
|
962
|
-
<button type="button" class="rtn-mode-btn" data-cat="question" aria-pressed="false">Question</button>
|
|
1050
|
+
<button data-command-id="shell.issue-category#a bug" type="button" class="rtn-mode-btn active" data-cat="bug" aria-pressed="true">Bug</button>
|
|
1051
|
+
<button data-command-id="shell.issue-category#an idea" type="button" class="rtn-mode-btn" data-cat="idea" aria-pressed="false">Idea</button>
|
|
1052
|
+
<button data-command-id="shell.issue-category#a question" type="button" class="rtn-mode-btn" data-cat="question" aria-pressed="false">Question</button>
|
|
963
1053
|
</div>
|
|
964
1054
|
</div>
|
|
965
1055
|
<div class="modal-field">
|
|
966
1056
|
<label for="ri-title">Title</label>
|
|
967
|
-
<input id="ri-title" type="text" placeholder="Summarise the issue in a few words" autocomplete="off">
|
|
1057
|
+
<input data-command-id="shell.issue-title" id="ri-title" type="text" placeholder="Summarise the issue in a few words" autocomplete="off">
|
|
968
1058
|
</div>
|
|
969
1059
|
<div class="modal-field">
|
|
970
1060
|
<label for="ri-desc">Description</label>
|
|
971
|
-
<textarea id="ri-desc" placeholder="What happened? What did you expect? Steps to reproduce if it's a bug."></textarea>
|
|
1061
|
+
<textarea data-command-id="shell.issue-description" id="ri-desc" placeholder="What happened? What did you expect? Steps to reproduce if it's a bug."></textarea>
|
|
972
1062
|
</div>
|
|
973
1063
|
<div class="integrations-hint" id="ri-context"></div>
|
|
974
1064
|
<div class="modal-actions">
|
|
975
|
-
<button id="ri-cancel">Cancel</button>
|
|
976
|
-
<button id="ri-send" class="primary" disabled>Send report</button>
|
|
1065
|
+
<button data-command-id="shell.dialog-cancel#the issue report" id="ri-cancel">Cancel</button>
|
|
1066
|
+
<button data-command-id="shell.issue-send" id="ri-send" class="primary" disabled>Send report</button>
|
|
977
1067
|
</div>
|
|
978
1068
|
</div>
|
|
979
1069
|
<div id="ri-state" hidden></div>
|
|
@@ -987,8 +1077,8 @@
|
|
|
987
1077
|
<div class="modal-title">Delete routine</div>
|
|
988
1078
|
<div class="modal-sub" id="rtn-delete-sub"></div>
|
|
989
1079
|
<div class="modal-actions">
|
|
990
|
-
<button id="rtn-delete-cancel">Cancel</button>
|
|
991
|
-
<button id="rtn-delete-confirm">Delete</button>
|
|
1080
|
+
<button data-command-id="shell.dialog-cancel#deleting the routine" id="rtn-delete-cancel">Cancel</button>
|
|
1081
|
+
<button data-command-id="shell.routine-delete" id="rtn-delete-confirm">Delete</button>
|
|
992
1082
|
</div>
|
|
993
1083
|
</div>
|
|
994
1084
|
</div>
|
|
@@ -1003,9 +1093,9 @@
|
|
|
1003
1093
|
<div class="modal-sub" id="graft-sub">Point at a DLL, package, or API spec — AWARE reads it and builds an agent you can drop into any workflow.</div>
|
|
1004
1094
|
<div id="graft-body"></div>
|
|
1005
1095
|
<div class="modal-actions">
|
|
1006
|
-
<button id="graft-back" style="margin-right:auto;" hidden>‹ Back</button>
|
|
1007
|
-
<button id="graft-cancel">Cancel</button>
|
|
1008
|
-
<button id="graft-primary" class="primary" disabled>Introspect</button>
|
|
1096
|
+
<button data-command-id="shell.graft-back" id="graft-back" style="margin-right:auto;" hidden>‹ Back</button>
|
|
1097
|
+
<button data-command-id="shell.dialog-cancel#building an agent" id="graft-cancel">Cancel</button>
|
|
1098
|
+
<button data-command-id="shell.graft-next" id="graft-primary" class="primary" disabled>Introspect</button>
|
|
1009
1099
|
</div>
|
|
1010
1100
|
</div>
|
|
1011
1101
|
</div>
|
|
@@ -1027,8 +1117,8 @@
|
|
|
1027
1117
|
</div>
|
|
1028
1118
|
</div>
|
|
1029
1119
|
<div class="modal-actions">
|
|
1030
|
-
<button id="bake-cancel">Cancel</button>
|
|
1031
|
-
<button id="bake-confirm" class="primary">⊙ Bake</button>
|
|
1120
|
+
<button data-command-id="shell.dialog-cancel#Bake" id="bake-cancel">Cancel</button>
|
|
1121
|
+
<button data-command-id="shell.bake-confirm" id="bake-confirm" class="primary">⊙ Bake</button>
|
|
1032
1122
|
</div>
|
|
1033
1123
|
</div>
|
|
1034
1124
|
</div>
|
|
@@ -1037,11 +1127,26 @@
|
|
|
1037
1127
|
<div class="menu ws-proj-menu" id="ws-proj-menu" role="menu" hidden></div>
|
|
1038
1128
|
|
|
1039
1129
|
<script src="analytics.js"></script>
|
|
1130
|
+
<script src="commands.js"></script>
|
|
1040
1131
|
<script src="app.js"></script>
|
|
1041
1132
|
<script src="renderers.js"></script>
|
|
1042
1133
|
<script src="aware-update-client.js"></script>
|
|
1043
1134
|
<script src="aware.js"></script>
|
|
1044
1135
|
<script src="panels.js"></script>
|
|
1045
1136
|
<script src="workspaces.js"></script>
|
|
1137
|
+
<script src="commands-shell.js"></script>
|
|
1138
|
+
<!-- The steel editor's capabilities load HERE as well as in steel-editor.html, and that is
|
|
1139
|
+
deliberate: the shell is the sole guidance producer, so it must be able to resolve a
|
|
1140
|
+
steel command id that arrives over the reporter seam. These are immutable declarations
|
|
1141
|
+
with no state — the co-location finding from phase 0 is about the armed FLAGS, which are
|
|
1142
|
+
lexically scoped inside steel-editor.html's main() and stay there. -->
|
|
1143
|
+
<script src="commands-steel.js"></script>
|
|
1144
|
+
<!-- The other three child surfaces, for the same reason. Each declares its own surface, so
|
|
1145
|
+
the `?` sheet can put whichever one is on screen first — see Commands.surfaceScope, and
|
|
1146
|
+
activeSurface() in instructor.js for the consumer. -->
|
|
1147
|
+
<script src="commands-filter.js"></script>
|
|
1148
|
+
<script src="commands-vector.js"></script>
|
|
1149
|
+
<script src="commands-vector3d.js"></script>
|
|
1150
|
+
<script src="instructor.js"></script>
|
|
1046
1151
|
</body>
|
|
1047
1152
|
</html>
|