@floless/app 0.156.0 → 0.158.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/cli-actions.mjs +28 -5
- package/dist/floless-server.cjs +110947 -67461
- package/dist/schemas/drawing-check.profile.v1.schema.json +15 -2
- package/dist/schemas/steel.model.v2.schema.json +25 -1
- package/dist/skills/floless-app-actions/SKILL.md +82 -17
- package/dist/skills/floless-app-knowledge/SKILL.md +34 -2
- package/dist/skills/floless-app-knowledge/references/schema.md +4 -1
- package/dist/skills/floless-app-new-workflow/SKILL.md +23 -7
- package/dist/skills/floless-app-onboarding/SKILL.md +31 -1
- package/dist/skills/floless-app-report-issue/SKILL.md +3 -3
- package/dist/skills/floless-app-rfi/SKILL.md +40 -6
- package/dist/skills/floless-app-routines/SKILL.md +9 -2
- package/dist/skills/floless-app-steel-model/SKILL.md +35 -1
- package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +4 -2
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +51 -1
- package/dist/skills/floless-app-tweak-contract/SKILL.md +25 -5
- package/dist/skills/floless-app-workflows/SKILL.md +46 -10
- package/dist/skills/floless-app-workflows/references/agent-steps.md +119 -0
- package/dist/web/agent-steps.js +864 -47
- package/dist/web/agents.js +28 -8
- package/dist/web/app.css +620 -17
- package/dist/web/app.js +110 -11
- package/dist/web/aware-update-client.js +1 -0
- package/dist/web/aware.js +921 -220
- package/dist/web/chat-landing-scene.js +372 -0
- package/dist/web/chat.css +263 -1
- package/dist/web/chat.js +2660 -86
- package/dist/web/commands-drawing-check.js +17 -0
- package/dist/web/commands-shell.js +1059 -8
- package/dist/web/commands-steel.js +6 -0
- package/dist/web/connections.js +1 -0
- package/dist/web/drawing-check-editor.html +33 -5
- package/dist/web/drawing-check-editor.js +538 -22
- package/dist/web/drawing-check-overlay.js +13 -0
- package/dist/web/flo-avatar.js +28 -3
- package/dist/web/guide.js +7 -2
- package/dist/web/index.html +143 -8
- package/dist/web/instructor.js +4 -4
- package/dist/web/kb-categories.js +351 -0
- package/dist/web/kb-graph-worker.js +73 -0
- package/dist/web/model-view-query.js +12 -2
- package/dist/web/pages.js +978 -39
- package/dist/web/panels.js +5 -2
- package/dist/web/parser-setup-recovery.js +12 -4
- package/dist/web/project-access.js +549 -0
- package/dist/web/run-page-view.js +353 -0
- package/dist/web/startup-admission.js +132 -0
- package/dist/web/steel-3d-core.js +9 -0
- package/dist/web/steel-editor.html +681 -22
- package/dist/web/steel-model-v2-commands.js +63 -5
- package/dist/web/step-rename.js +287 -0
- package/dist/web/tab-signal.js +323 -0
- package/dist/web/terminal-requests.js +103 -13
- package/dist/web/tool-updates.js +1 -0
- package/dist/web/workspace-root-management.js +39 -0
- package/dist/web/workspaces.js +2883 -146
- package/launch-starting-page.mjs +181 -0
- package/launch.mjs +97 -12
- package/package.json +5 -1
|
@@ -8,6 +8,19 @@ const STYLE = { pass: { w: 1.2, dash: '' }, fail: { w: 2.4, dash: '' }, 'dont-kn
|
|
|
8
8
|
const esc = (s) => String(s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));
|
|
9
9
|
const num = (v) => (Number.isFinite(v) ? Math.round(v * 10) / 10 : 0);
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* A run made before #2481 named a drawing picked in the run view by its storage digest (`<64 hex>.pdf`), and baked
|
|
13
|
+
* that name into its questions. Show such a name by its first eight characters and `ellipsis`; the full digest stays
|
|
14
|
+
* in the record and in the sheet's tooltip. A run made since names the drawing by the file name the person picked.
|
|
15
|
+
* Only that file-name form (`<64 hex>.pdf`) is shortened: any other digest-shaped value in a message (an id read from
|
|
16
|
+
* the sheet, say) is what the person has to judge, so it is shown whole.
|
|
17
|
+
* @param {unknown} text
|
|
18
|
+
* @param {string} [ellipsis]
|
|
19
|
+
*/
|
|
20
|
+
export function shortDigests(text, ellipsis = '…') {
|
|
21
|
+
return String(text ?? '').replace(/\b([0-9a-f]{8})[0-9a-f]{56}(?=\.pdf\b)/gi, (_, head) => `${head}${ellipsis}`);
|
|
22
|
+
}
|
|
23
|
+
|
|
11
24
|
const boxKey = (e) => `${e.drawing || ''}|${e.page}|${(e.bbox || []).map(num).join(',')}`;
|
|
12
25
|
|
|
13
26
|
/**
|
package/dist/web/flo-avatar.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
const reduced = () => Boolean(motion && motion.matches);
|
|
26
26
|
// A one-off (`once` seconds, e.g. Hello's hat tip) moves until it has played, then settles once on its still frame.
|
|
27
27
|
function moving(a) {
|
|
28
|
-
if (ANIMATED.has(a.mood)) return true;
|
|
28
|
+
if (ANIMATED.has(a.mood) || a.awake) return true;
|
|
29
29
|
if (!a.playUntil) return false;
|
|
30
30
|
if (performance.now() < a.playUntil) return true;
|
|
31
31
|
a.playUntil = 0; a.dirty = true;
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
c.clearRect(0, 0, a.w, a.h);
|
|
53
53
|
const t = !animates(a) ? STILL_T_BY_MOOD[a.mood] ?? STILL_T
|
|
54
54
|
: a.playUntil ? Math.max(0, (now - a.playStart) / 1000) : (now - epoch) / 1000;
|
|
55
|
-
|
|
55
|
+
// The blink shift belongs to a moving Flo: a still frame keeps the plain clock, or it could freeze mid-blink.
|
|
56
|
+
drawFlo(c, { x: a.w / 2, y: a.cy, r: a.r, mood: a.mood, hat: a.hat, t, colors: a.colors, look: a.look || undefined, seed: animates(a) ? a.seed : 0 });
|
|
56
57
|
a.dirty = false;
|
|
57
58
|
a.placed = true;
|
|
58
59
|
}
|
|
@@ -146,7 +147,7 @@
|
|
|
146
147
|
const a = {
|
|
147
148
|
canvas, ctx: canvas.getContext('2d'), dpr, w, h, r, cy: hatRoom ? h - 1.2 * r : h / 2,
|
|
148
149
|
mood, hat: Boolean(o.hat), colors: null, dirty: true, placed: false, onScreen: true,
|
|
149
|
-
once: o.once || 0, playStart: 0, playUntil: 0,
|
|
150
|
+
once: o.once || 0, playStart: 0, playUntil: 0, awake: false, look: null, seed: 0,
|
|
150
151
|
};
|
|
151
152
|
// Plays its one-off motion from the start (on mount, and again on each play()).
|
|
152
153
|
const play = () => {
|
|
@@ -180,6 +181,30 @@
|
|
|
180
181
|
if (!avatars.has(a)) { avatars.add(a); if (seen) seen.observe(canvas); }
|
|
181
182
|
schedule();
|
|
182
183
|
},
|
|
184
|
+
// Awake while the pointer is near it: it blinks (once at once, then as usual) and, given lookAt, watches the
|
|
185
|
+
// pointer. Under reduced motion it does not blink, but it still turns its eyes to where it is told to look.
|
|
186
|
+
wake() {
|
|
187
|
+
if (a.awake) return;
|
|
188
|
+
a.awake = true;
|
|
189
|
+
// Shift the blink clock so a blink begins now: a greeting, then the usual rhythm.
|
|
190
|
+
const now = (performance.now() - epoch) / 1000;
|
|
191
|
+
if (typeof FLO_BLINK_EVERY === 'number') a.seed = FLO_BLINK_AT - (now % FLO_BLINK_EVERY) + 0.01;
|
|
192
|
+
a.dirty = true; a.placed = false;
|
|
193
|
+
if (!avatars.has(a)) { avatars.add(a); if (seen) seen.observe(canvas); }
|
|
194
|
+
schedule();
|
|
195
|
+
},
|
|
196
|
+
// Where to look, each of x and y from -1 (left, up) to 1 (right, down).
|
|
197
|
+
lookAt(x, y) {
|
|
198
|
+
const k = (v) => Math.max(-1, Math.min(1, Number(v) || 0));
|
|
199
|
+
a.look = [k(x), k(y)]; a.dirty = true;
|
|
200
|
+
schedule();
|
|
201
|
+
},
|
|
202
|
+
// Back to its still self: eyes ahead, no more blinking.
|
|
203
|
+
rest() {
|
|
204
|
+
if (!a.awake && !a.look) return;
|
|
205
|
+
a.awake = false; a.look = null; a.seed = 0; a.dirty = true;
|
|
206
|
+
schedule();
|
|
207
|
+
},
|
|
183
208
|
destroy() {
|
|
184
209
|
forget(a);
|
|
185
210
|
canvas.remove();
|
package/dist/web/guide.js
CHANGED
|
@@ -63,13 +63,17 @@
|
|
|
63
63
|
async function ensureSession() {
|
|
64
64
|
if (state.sessionReady) return;
|
|
65
65
|
let response;
|
|
66
|
-
try {
|
|
66
|
+
try {
|
|
67
|
+
await globalThis.flolessStartupAdmission?.admit('/api/chat/session');
|
|
68
|
+
response = await fetch('/api/chat/session', { credentials: 'same-origin' });
|
|
69
|
+
}
|
|
67
70
|
catch { throw new Error('FloLess could not be reached. Make sure it is still running, then try again.'); }
|
|
68
71
|
if (!response.ok) throw new Error('FloLess could not open AI Chat’s session, so the Guide could not load. Reload FloLess and try again.');
|
|
69
72
|
state.sessionReady = true;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
async function api(path, body, retried = false) {
|
|
76
|
+
await globalThis.flolessStartupAdmission?.admit(path, { method: body ? 'POST' : 'GET' });
|
|
73
77
|
await ensureSession();
|
|
74
78
|
const init = { credentials: 'same-origin', method: body ? 'POST' : 'GET' };
|
|
75
79
|
if (body) { init.body = JSON.stringify(body); init.headers = { 'content-type': 'application/json' }; }
|
|
@@ -1505,7 +1509,8 @@
|
|
|
1505
1509
|
if (card) cardPainters.get(card)?.();
|
|
1506
1510
|
}
|
|
1507
1511
|
|
|
1508
|
-
|
|
1512
|
+
// #2399 PR C2: AI Chat's assistant cards name their buttons and open their places the way the Guide's cards do.
|
|
1513
|
+
window.flolessGuide = { open, maybeAskOnLaunch, turnOff, deleteHistory, renderNextMove, applyMoveUpdate, moveText, openFlow, status: loadStatus, paintBriefing, refreshBriefing };
|
|
1509
1514
|
|
|
1510
1515
|
// Ask once, after AI Chat is ready and the app has settled.
|
|
1511
1516
|
// #2053: and, once settled, whether a morning briefing is ready or needs an answer.
|
package/dist/web/index.html
CHANGED
|
@@ -53,14 +53,16 @@
|
|
|
53
53
|
OPENS in is unchanged — that is the remembered `floless:mode`, defaulting to
|
|
54
54
|
Workflows. -->
|
|
55
55
|
<div class="mode-switch" id="mode-switch" role="tablist" aria-label="Mode">
|
|
56
|
+
<!-- Each tab carries its part's icon in its part's colour, the same drawings Flo builds on the chat's
|
|
57
|
+
start screens (web/chat-landing-scene.js): stacked sheets, joined steps, Flo in its hard hat. -->
|
|
56
58
|
<!-- data-tip, never title= (verify:no-title) — the native tooltip renders a light OS panel
|
|
57
59
|
against this dark theme. The two describe the two MODULES rather than the two buttons,
|
|
58
60
|
because "what is the difference between these" is the question a new user actually has
|
|
59
61
|
here; they are deliberately parallel in shape so they read as two answers to it. -->
|
|
60
|
-
<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>
|
|
61
|
-
<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>
|
|
62
|
+
<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."><svg class="mode-icon mode-icon-ws" viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="9" width="6" height="5" rx="1"/><rect x="8.5" y="9" width="6" height="5" rx="1"/><rect x="5" y="2.5" width="6" height="5" rx="1"/><path d="M3 11.5h3M10 11.5h3M6.5 5h3"/></svg><span>Workspaces</span></button>
|
|
63
|
+
<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."><svg class="mode-icon mode-icon-wf" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 5.5 8 11.5 12.5 4.5"/><circle cx="3.5" cy="5.5" r="2.1"/><circle cx="8" cy="11.5" r="2.1"/><circle cx="12.5" cy="4.5" r="2.1"/></svg><span>Workflows</span></button>
|
|
62
64
|
<!-- #2007: delegated responsibilities run by hand (web/agents.js). The AWARE library is Tools, in the ≡ menu. -->
|
|
63
|
-
<button data-command-id="shell.mode-agents" type="button" data-mode="agents" role="tab" aria-selected="false" data-tip="A responsibility you hand over — what to check, and on which projects. Open this to set one up or run it by hand.">Agents</button>
|
|
65
|
+
<button data-command-id="shell.mode-agents" type="button" data-mode="agents" role="tab" aria-selected="false" data-tip="A responsibility you hand over — what to check, and on which projects. Open this to set one up or run it by hand."><svg class="mode-icon mode-icon-ag" viewBox="0 0 16 16" aria-hidden="true"><circle class="mode-icon-ring" cx="8" cy="10.6" r="4"/><rect class="mode-icon-eye" x="6.2" y="9.4" width="1.15" height="2.4" rx=".575"/><rect class="mode-icon-eye" x="8.65" y="9.4" width="1.15" height="2.4" rx=".575"/><path class="mode-icon-hat" d="M4.3 6.4C4.3 3.5 6 2 8 2s3.7 1.5 3.7 4.4Z"/><rect class="mode-icon-hat" x="3" y="5.9" width="10" height="1.5" rx=".75"/><path class="mode-icon-ridge" d="M8 2.6V5.9"/></svg><span>Agents</span></button>
|
|
64
66
|
</div>
|
|
65
67
|
<!-- Workspace view switch (Canvas = the workflow topology; Dashboard = the user's
|
|
66
68
|
custom panels from ~/.floless/ui/extensions.json) moved into the ≡ menu in #149.
|
|
@@ -123,6 +125,15 @@
|
|
|
123
125
|
<div class="wf-list" id="ws-proj-list"></div>
|
|
124
126
|
</div>
|
|
125
127
|
</div>
|
|
128
|
+
<!-- Project access (spec 2026-10-19): what reaches into this project — Agents, schedules, workflows. A header
|
|
129
|
+
chip, not a step tab: the step row is the project's work; this is about the whole project. The count is
|
|
130
|
+
written by project-access.js once it is read (never a 0 while loading). -->
|
|
131
|
+
<button data-command-id="shell.project-access" type="button" id="ws-access" class="ws-access-chip" hidden
|
|
132
|
+
aria-haspopup="dialog" aria-expanded="false" aria-controls="project-access-sheet"
|
|
133
|
+
data-tip="See which Agents, schedules and workflows reach into this project, and switch them off">
|
|
134
|
+
<svg class="ws-access-ico" width="14" height="14" viewBox="0 0 16 16" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="5.5" r="2.5"/><path d="M1.5 13.5c.6-2.4 2.3-3.7 4.5-3.7s3.9 1.3 4.5 3.7"/><path d="M10.5 3.2a2.5 2.5 0 0 1 0 4.6M12.2 9.9c1.2.5 2 1.7 2.3 3.6"/></svg>
|
|
135
|
+
<span class="ws-access-label">Project access</span><span class="ws-access-count" id="ws-access-count" hidden></span>
|
|
136
|
+
</button>
|
|
126
137
|
<span class="ctl-sep" aria-hidden="true"></span>
|
|
127
138
|
<button data-command-id="shell.approve" id="ws-approve" type="button" class="primary"
|
|
128
139
|
data-tip="Review every pending change before signing off.">Review & approve</button>
|
|
@@ -195,6 +206,8 @@
|
|
|
195
206
|
<button data-command-id="shell.chat-model" type="button" class="ai-chat-setting" id="chat-model" aria-haspopup="listbox" aria-expanded="false" data-tip="Choose the model for future messages in this conversation."><span>AI model</span><strong>Choose model</strong></button>
|
|
196
207
|
<button data-command-id="shell.chat-effort" type="button" class="ai-chat-setting" id="chat-effort" aria-haspopup="listbox" aria-expanded="false" data-tip="Choose how much reasoning the AI uses for future messages."><span>Effort</span><strong>Medium</strong></button>
|
|
197
208
|
<button data-command-id="shell.chat-permission" type="button" class="ai-chat-setting" id="chat-permission" aria-haspopup="listbox" aria-expanded="false" data-tip="Access controls what the AI may change: Read only, Auto, Working folder write, or Full access."><span>Access</span><strong>Read only</strong></button>
|
|
209
|
+
<!-- #2399: the account's "Suggest next steps" mode (On / Quiet / Off), the same in every chat; also in ≡. -->
|
|
210
|
+
<button data-command-id="shell.chat-suggest" type="button" class="ai-chat-setting" id="chat-suggest" aria-haspopup="listbox" aria-expanded="false" data-tip="Your account, in every project, workflow and workspace chat. The Guide always suggests; close it to stop."><span>Suggest next steps</span><strong>On</strong></button>
|
|
198
211
|
<!-- #2046: the Guide's own controls, shown only in a Guide conversation. #2234: its Access is the ordinary
|
|
199
212
|
picker above (it starts Read only); this cell keeps the briefing, set-aside suggestions, Turn off and Delete. -->
|
|
200
213
|
<div class="ai-chat-setting ai-chat-guide-access" id="chat-guide-access" role="group" aria-labelledby="chat-guide-settings-label" hidden>
|
|
@@ -439,8 +452,8 @@
|
|
|
439
452
|
<!-- Shown only on the Drawings/Source step. It used to have a 42px band of its own labelled
|
|
440
453
|
"Source", which cost a row of height to say a word that named nothing the user could
|
|
441
454
|
point at — the button already says what it does. -->
|
|
442
|
-
<button data-command-id="shell.attach-revision" type="button" id="ws-attach-revision" class="btn-mini" data-tip="Attach
|
|
443
|
-
<input data-command-id="shell.attach-revision" type="file" id="ws-revision-file" accept=".pdf
|
|
455
|
+
<button data-command-id="shell.attach-revision" type="button" id="ws-attach-revision" class="btn-mini" data-tip="Attach revised PDF drawings — your terminal AI reads them into a new version" hidden>⤒ Attach revised drawings…</button>
|
|
456
|
+
<input data-command-id="shell.attach-revision" type="file" id="ws-revision-file" accept=".pdf" multiple hidden>
|
|
444
457
|
</span>
|
|
445
458
|
</div>
|
|
446
459
|
<!-- The announcer stays outside the bounded visual region so it is mounted before the first
|
|
@@ -501,7 +514,9 @@
|
|
|
501
514
|
The UI never parses a source or edits the wiki — Organize queues a Request the
|
|
502
515
|
terminal AI drains (AI at the edges). -->
|
|
503
516
|
<div class="ws-knowledge" id="ws-knowledge" hidden></div>
|
|
504
|
-
<input data-command-id="shell.add-knowledge" type="file" id="ws-knowledge-file" accept=".pdf,.png,.jpg,.jpeg,.txt,.csv,.md,image/*" multiple hidden>
|
|
517
|
+
<input data-command-id="shell.add-knowledge" type="file" id="ws-knowledge-file" accept=".pdf,.png,.jpg,.jpeg,.webp,.docx,.docm,.xlsx,.xlsm,.msg,.eml,.txt,.csv,.md,image/*" multiple hidden>
|
|
518
|
+
<!-- #2491 R6.3: Replace file… on a Word, Excel or email reference whose text could not be read (one file). -->
|
|
519
|
+
<input data-command-id="shell.kb-text-replace" type="file" id="ws-knowledge-replace" accept=".pdf,.png,.jpg,.jpeg,.webp,.docx,.docm,.xlsx,.xlsm,.msg,.eml,.txt,.csv,.md,image/*" hidden>
|
|
505
520
|
</div>
|
|
506
521
|
<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>
|
|
507
522
|
<div class="fav-bar" id="fav-bar">
|
|
@@ -731,6 +746,12 @@
|
|
|
731
746
|
<div class="ac-body" id="ac-body"></div>
|
|
732
747
|
<div class="ac-warning" id="ac-warning" hidden></div>
|
|
733
748
|
<label class="modal-check"><input type="checkbox" id="ac-tick" data-command-id="shell.agent-consent-tick" aria-label="I understand that this workflow has an AI step whose answer may differ each run" aria-describedby="ac-hint"><span id="ac-tick-label"></span></label>
|
|
749
|
+
<!-- S8 (#2495): a workflow that waits for a trigger — each AI step's wait between answers, then the second tick, which quotes it. -->
|
|
750
|
+
<fieldset class="ac-trigger" id="ac-trigger" hidden>
|
|
751
|
+
<legend class="fm-group-label">When the trigger fires</legend>
|
|
752
|
+
<div id="ac-waits"></div>
|
|
753
|
+
<label class="modal-check"><input type="checkbox" id="ac-tick2" data-command-id="shell.agent-consent-trigger-tick" aria-labelledby="ac-tick2-label" aria-describedby="ac-hint"><span id="ac-tick2-label"></span></label>
|
|
754
|
+
</fieldset>
|
|
734
755
|
<div class="ac-hint" id="ac-hint">Tick the box to continue.</div>
|
|
735
756
|
<div class="ac-error" id="ac-error" role="alert" hidden></div>
|
|
736
757
|
<div class="modal-actions">
|
|
@@ -741,6 +762,36 @@
|
|
|
741
762
|
</div>
|
|
742
763
|
</div>
|
|
743
764
|
|
|
765
|
+
<!-- Two steps share one name (#2314, epic #2241 slice 3c). Opened by Compile when AWARE cannot tell two steps apart: which one to
|
|
766
|
+
rename, to what, the exact change, and anything FloLess cannot be sure about. Filled by web/step-rename.js; nothing is written
|
|
767
|
+
until the person presses the primary button. -->
|
|
768
|
+
<div class="modal-backdrop" id="step-rename-modal" role="dialog" aria-modal="true" aria-labelledby="sr-title" aria-describedby="sr-sub">
|
|
769
|
+
<div class="modal ac-dialog sr-dialog">
|
|
770
|
+
<div class="modal-title" id="sr-title" tabindex="-1">Two steps have the same name</div>
|
|
771
|
+
<div class="modal-sub" id="sr-sub"></div>
|
|
772
|
+
<div class="sr-body">
|
|
773
|
+
<div class="sr-choice" role="radiogroup" aria-labelledby="sr-choice-label">
|
|
774
|
+
<div class="fm-group-label" id="sr-choice-label">Which step to rename</div>
|
|
775
|
+
<div id="sr-steps"></div>
|
|
776
|
+
</div>
|
|
777
|
+
<div class="modal-field sr-name-field">
|
|
778
|
+
<label for="sr-name">New name</label>
|
|
779
|
+
<input id="sr-name" type="text" autocomplete="off" spellcheck="false" maxlength="64" data-command-id="shell.step-rename-name" aria-describedby="sr-name-msg">
|
|
780
|
+
<div class="sr-name-msg" id="sr-name-msg" aria-live="polite"></div>
|
|
781
|
+
</div>
|
|
782
|
+
<div class="sr-preview" id="sr-preview" aria-live="polite"></div>
|
|
783
|
+
<div class="ac-warning" id="sr-warning" hidden></div>
|
|
784
|
+
</div>
|
|
785
|
+
<div class="ac-error" id="sr-error" role="alert" hidden></div>
|
|
786
|
+
<p class="sr-note" id="sr-note"></p>
|
|
787
|
+
<div class="ac-hint" id="sr-hint"></div>
|
|
788
|
+
<div class="modal-actions">
|
|
789
|
+
<button data-command-id="shell.dialog-cancel#renaming a step" id="sr-cancel">Cancel</button>
|
|
790
|
+
<button data-command-id="shell.step-rename-confirm" id="sr-ok" class="primary" aria-disabled="true" aria-describedby="sr-hint">Rename step</button>
|
|
791
|
+
</div>
|
|
792
|
+
</div>
|
|
793
|
+
</div>
|
|
794
|
+
|
|
744
795
|
<!-- AWARE runtime + installed-host-bridge upgrade. One dedicated surface is
|
|
745
796
|
shared by the footer pill and Workspaces recovery actions. Progress comes
|
|
746
797
|
from the server transaction; this UI never infers installer completion. -->
|
|
@@ -960,6 +1011,18 @@
|
|
|
960
1011
|
<span class="rtn-toggle-track"></span>
|
|
961
1012
|
</label>
|
|
962
1013
|
</div>
|
|
1014
|
+
<!-- The tab signal's desktop notice (web/tab-signal.js): a run that ends while the person is in another window.
|
|
1015
|
+
Hidden where the browser has no notices; tab-signal.js shows and drives it. -->
|
|
1016
|
+
<div class="menu-run-notify" id="menu-run-notify" hidden>
|
|
1017
|
+
<div class="menu-theme">
|
|
1018
|
+
<label class="menu-label" for="menu-run-notify-toggle" data-tip="The notice comes from your browser, which asks once whether FloLess may show it">Run finished notices</label>
|
|
1019
|
+
<label class="rtn-toggle">
|
|
1020
|
+
<input type="checkbox" id="menu-run-notify-toggle" role="switch" aria-label="Run finished notices" aria-describedby="menu-run-notify-hint" data-command-id="shell.run-notify">
|
|
1021
|
+
<span class="rtn-toggle-track"></span>
|
|
1022
|
+
</label>
|
|
1023
|
+
</div>
|
|
1024
|
+
<p class="menu-ai-note-hint" id="menu-run-notify-hint">A desktop notice when a run ends while you are in another window.</p>
|
|
1025
|
+
</div>
|
|
963
1026
|
<!-- Start-on-login + Theme are sibling machine preferences (no divider between
|
|
964
1027
|
them — UX review 2026-05-31). Start-on-login toggles the per-user logon
|
|
965
1028
|
Scheduled Task that keeps the local server alive across logins; hidden unless
|
|
@@ -979,6 +1042,28 @@
|
|
|
979
1042
|
<span class="rtn-toggle-track"></span>
|
|
980
1043
|
</label>
|
|
981
1044
|
</div>
|
|
1045
|
+
<!-- #2448: the AI note FloLess adds to reports of workflows with an AI Agent step, for every workflow (each workflow also has its
|
|
1046
|
+
own switch in its Agent step's Inspect panel). Hidden while Agent steps are off; web/agent-steps.js shows and drives it. -->
|
|
1047
|
+
<div class="menu-ai-note" id="menu-ai-note" hidden>
|
|
1048
|
+
<div class="menu-theme">
|
|
1049
|
+
<span class="menu-label" id="menu-ai-note-label">AI note in reports</span>
|
|
1050
|
+
<label class="rtn-toggle">
|
|
1051
|
+
<input type="checkbox" id="menu-ai-note-toggle" role="switch" aria-label="AI note in reports" aria-describedby="menu-ai-note-hint" data-command-id="shell.report-ai-note-all">
|
|
1052
|
+
<span class="rtn-toggle-track"></span>
|
|
1053
|
+
</label>
|
|
1054
|
+
</div>
|
|
1055
|
+
<p class="menu-ai-note-hint" id="menu-ai-note-hint">Reports of workflows with an AI step say that part of them was written by an AI. A change applies to reports made from now on.</p>
|
|
1056
|
+
</div>
|
|
1057
|
+
<!-- #2399: the account's "Suggest next steps" mode; the same setting as the AI Chat ⚙ row. -->
|
|
1058
|
+
<div class="menu-theme menu-suggest" id="menu-suggest">
|
|
1059
|
+
<span class="menu-label" id="menu-suggest-label">Suggestions</span>
|
|
1060
|
+
<div class="theme-toggle" role="radiogroup" aria-labelledby="menu-suggest-label">
|
|
1061
|
+
<button data-command-id="shell.suggest-mode#on" type="button" class="suggest-btn" data-mode="on" role="radio" aria-checked="false" data-tip="Problems to fix, unfinished work, and ideas">On</button>
|
|
1062
|
+
<button data-command-id="shell.suggest-mode#quiet" type="button" class="suggest-btn" data-mode="quiet" role="radio" aria-checked="false" data-tip="Only problems to fix and unfinished work">Quiet</button>
|
|
1063
|
+
<button data-command-id="shell.suggest-mode#off" type="button" class="suggest-btn" data-mode="off" role="radio" aria-checked="false" data-tip="No suggestion cards. The AI still knows where the project stands.">Off</button>
|
|
1064
|
+
</div>
|
|
1065
|
+
</div>
|
|
1066
|
+
<div class="menu-suggest-note" id="menu-suggest-note" hidden>FloLess had to reset your suggestion settings. Suggestions are paused until you choose.</div>
|
|
982
1067
|
<div class="menu-theme">
|
|
983
1068
|
<span class="menu-label">Theme</span>
|
|
984
1069
|
<div class="theme-toggle">
|
|
@@ -1101,20 +1186,27 @@
|
|
|
1101
1186
|
<div class="pv-title-row">
|
|
1102
1187
|
<div class="modal-title" id="pv-title">Page</div>
|
|
1103
1188
|
<span class="pg-ai-badge" id="pv-ai" tabindex="0" hidden data-tip="Made by AI.">AI-made</span>
|
|
1189
|
+
<span class="pg-seq-chip" id="pv-seq" tabindex="0" role="note" hidden aria-describedby="pv-seq-text"></span>
|
|
1190
|
+
<span class="pg-seq-text" id="pv-seq-text" hidden></span>
|
|
1104
1191
|
<span class="pv-info" tabindex="0" data-tip="This Page runs on its own. It can’t reach FloLess or your files." aria-label="This Page runs on its own. It can’t reach FloLess or your files.">ⓘ</span>
|
|
1105
1192
|
</div>
|
|
1106
1193
|
<div class="modal-sub" id="pv-sub" role="status"></div>
|
|
1107
1194
|
</div>
|
|
1108
1195
|
<div class="report-actions">
|
|
1109
1196
|
<div class="pv-anchor">
|
|
1110
|
-
<button data-command-id="shell.page-version" id="pv-version" type="button" class="ghost pv-version" aria-haspopup="listbox" aria-expanded="false" aria-controls="pv-version-
|
|
1111
|
-
<div class="wf-popover pv-pop" id="pv-version-pop"
|
|
1197
|
+
<button data-command-id="shell.page-version" id="pv-version" type="button" class="ghost pv-version" aria-haspopup="listbox" aria-expanded="false" aria-controls="pv-version-list">Version 1 of 1</button>
|
|
1198
|
+
<div class="wf-popover pv-pop" id="pv-version-pop" hidden></div>
|
|
1112
1199
|
</div>
|
|
1200
|
+
<button data-command-id="shell.page-full-report" id="pv-full-report" type="button" class="ghost" hidden data-tip="Open the whole report FloLess keeps on this computer, in its report viewer">Open the full report</button>
|
|
1113
1201
|
<span class="pv-allowed" id="pv-allowed" hidden></span>
|
|
1114
1202
|
<div class="pv-anchor">
|
|
1115
1203
|
<button data-command-id="shell.page-sites" id="pv-sites" type="button" class="ghost" aria-haspopup="true" aria-expanded="false" aria-controls="pv-sites-pop" data-tip="Sites this Page may load">⋯</button>
|
|
1116
1204
|
<div class="wf-popover pv-pop pv-sites-pop" id="pv-sites-pop" hidden></div>
|
|
1117
1205
|
</div>
|
|
1206
|
+
<div class="pv-anchor">
|
|
1207
|
+
<button data-command-id="shell.page-share" id="pv-share" type="button" class="ghost pv-share" aria-haspopup="true" aria-expanded="false" aria-controls="pv-share-pop" aria-label="Share link"><span class="pv-share-dot" aria-hidden="true"></span><span id="pv-share-label">Share</span></button>
|
|
1208
|
+
<div class="wf-popover pv-pop pv-share-pop" id="pv-share-pop" role="group" aria-label="This Page's share link" data-reveal-by="#pv-share" hidden></div>
|
|
1209
|
+
</div>
|
|
1118
1210
|
<button data-command-id="shell.page-fullscreen" id="pv-full" type="button" class="ghost" aria-pressed="false" data-tip="Fill the window with this Page">⤢ Full screen</button>
|
|
1119
1211
|
<button data-command-id="shell.page-delete" id="pv-delete" type="button" class="ghost pv-delete" data-tip="Delete this Page and all its versions">Delete</button>
|
|
1120
1212
|
<button data-command-id="shell.dialog-close#the Page" id="pv-close" type="button" data-tip="Close">×</button>
|
|
@@ -1127,6 +1219,21 @@
|
|
|
1127
1219
|
</div>
|
|
1128
1220
|
</div>
|
|
1129
1221
|
</div>
|
|
1222
|
+
<!-- #2262 slice 4: every link this person shared from FloLess (web/pages.js fills the list). -->
|
|
1223
|
+
<div class="modal-backdrop" id="shared-links-modal" role="dialog" aria-modal="true" aria-labelledby="sl-title" aria-describedby="sl-sub">
|
|
1224
|
+
<div class="modal sl-modal">
|
|
1225
|
+
<div class="sl-head">
|
|
1226
|
+
<div>
|
|
1227
|
+
<div class="modal-title" id="sl-title">My shared links</div>
|
|
1228
|
+
<div class="modal-sub" id="sl-sub">Every link you shared from FloLess. Revoking a link stops it opening for everyone; a copy someone already opened or saved can't be taken back.</div>
|
|
1229
|
+
</div>
|
|
1230
|
+
<button data-command-id="shell.dialog-close#My shared links" id="sl-close" type="button" class="ghost" aria-label="Close">×</button>
|
|
1231
|
+
</div>
|
|
1232
|
+
<p class="sl-note" id="sl-note" role="status" hidden></p>
|
|
1233
|
+
<div class="sl-list" id="sl-list" role="list" aria-label="My shared links"></div>
|
|
1234
|
+
<div class="sl-foot"><button data-command-id="shell.shared-links-more" id="sl-more" type="button" class="ghost" hidden>Show more</button></div>
|
|
1235
|
+
</div>
|
|
1236
|
+
</div>
|
|
1130
1237
|
<div class="modal-backdrop report-backdrop" id="report-modal" role="dialog" aria-modal="true" aria-labelledby="report-title" aria-describedby="report-sub">
|
|
1131
1238
|
<div class="modal report-viewer">
|
|
1132
1239
|
<div class="report-head">
|
|
@@ -1157,6 +1264,9 @@
|
|
|
1157
1264
|
<button type="button" data-command-id="shell.report-go-object" id="report-go-object" class="ghost">Go</button>
|
|
1158
1265
|
<span id="report-object-error" class="report-object-error" hidden></span>
|
|
1159
1266
|
</nav>
|
|
1267
|
+
<!-- #2476: what the run viewer says about a report that carries files while its Page version is being saved (or why it
|
|
1268
|
+
cannot be shown). Plain words, a polite live region; hidden when there is nothing to say. -->
|
|
1269
|
+
<div class="report-files-note" id="report-files-note" role="status" aria-live="polite" hidden></div>
|
|
1160
1270
|
<div class="report-stage" id="report-stage">
|
|
1161
1271
|
<!-- sandbox flags, each load-bearing:
|
|
1162
1272
|
• allow-same-origin — REQUIRED. Without it the srcdoc document gets an
|
|
@@ -1171,6 +1281,11 @@
|
|
|
1171
1281
|
Scripts stay BLOCKED (no allow-scripts), so even though the report is now
|
|
1172
1282
|
same-origin it has no JS to touch the app page — static reports only. -->
|
|
1173
1283
|
<iframe id="report-frame" sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox" title="Report"></iframe>
|
|
1284
|
+
<!-- #2476: the report's saved Page version, shown once it says it is ready (a report with files: its pictures and
|
|
1285
|
+
files load only from there). The Pages screen's isolation exactly: scripts run, but NO allow-same-origin, so
|
|
1286
|
+
the document has an opaque origin and cannot touch the app page; no popups either — its link requests are
|
|
1287
|
+
answered by the Pages screen, not here. -->
|
|
1288
|
+
<iframe id="report-frame-page" sandbox="allow-scripts" title="Saved report" hidden></iframe>
|
|
1174
1289
|
<!-- Interactive output (the viewer-3d agent) needs scripts, so it cannot use the
|
|
1175
1290
|
scriptless static frame above. Loaded via a `data:text/html` URL → an opaque
|
|
1176
1291
|
origin (cannot reach the app page, cookies, or same-origin APIs). Minimal
|
|
@@ -1327,6 +1442,7 @@
|
|
|
1327
1442
|
<label for="company-promotion-lineage">Add as</label>
|
|
1328
1443
|
<select id="company-promotion-lineage" data-command-id="shell.company-promotion-lineage"></select>
|
|
1329
1444
|
<p>Choose an existing entry only when this file is a new version of that exact company reference.</p>
|
|
1445
|
+
<div id="company-promotion-notes" class="company-promotion-notes" role="note" hidden></div>
|
|
1330
1446
|
</section>
|
|
1331
1447
|
<section id="company-knowledge-list" class="company-knowledge-list" aria-label="Shared references"></section>
|
|
1332
1448
|
<section id="company-knowledge-confirm" class="company-knowledge-confirm" role="status" aria-live="polite" hidden></section>
|
|
@@ -1403,6 +1519,18 @@
|
|
|
1403
1519
|
|
|
1404
1520
|
<!-- Save-on-switch confirmation — shown when switching workflows with unsaved
|
|
1405
1521
|
input changes. Reuses the shared modal styling; no new backdrop look. -->
|
|
1522
|
+
<!-- Project access sheet (project-access.js): slides in from the right over the open project. -->
|
|
1523
|
+
<div class="modal-backdrop pa-backdrop" id="project-access-sheet" role="dialog" aria-modal="true" aria-labelledby="pa-title" aria-describedby="pa-sub">
|
|
1524
|
+
<aside class="pa-sheet" tabindex="-1">
|
|
1525
|
+
<header class="pa-head">
|
|
1526
|
+
<div><h2 class="pa-title" id="pa-title">Project access</h2><p class="pa-subtitle" id="pa-sub"></p></div>
|
|
1527
|
+
<button type="button" class="pa-close" id="pa-close" aria-label="Close Project access" data-tip="Close" data-command-id="shell.project-access-close">✕</button>
|
|
1528
|
+
</header>
|
|
1529
|
+
<div class="pa-body" id="pa-body"></div>
|
|
1530
|
+
<div class="pa-bar" id="pa-bar" hidden></div>
|
|
1531
|
+
<footer class="pa-foot">One-off runs you pick by hand aren’t listed.</footer>
|
|
1532
|
+
</aside>
|
|
1533
|
+
</div>
|
|
1406
1534
|
<div class="modal-backdrop" id="confirm-modal" role="dialog" aria-modal="true"
|
|
1407
1535
|
aria-labelledby="confirm-modal-title" aria-describedby="confirm-modal-sub">
|
|
1408
1536
|
<div class="modal">
|
|
@@ -1939,6 +2067,7 @@
|
|
|
1939
2067
|
nothing project-specific (spec §2). Populated per-open in workspaces.js. -->
|
|
1940
2068
|
<div class="menu ws-proj-menu" id="ws-proj-menu" role="menu" hidden></div>
|
|
1941
2069
|
|
|
2070
|
+
<script src="startup-admission.js"></script>
|
|
1942
2071
|
<script src="analytics.js"></script>
|
|
1943
2072
|
<script src="commands.js"></script>
|
|
1944
2073
|
<script src="app.js"></script>
|
|
@@ -1950,20 +2079,26 @@
|
|
|
1950
2079
|
<script src="leave-guard.js"></script>
|
|
1951
2080
|
<script src="flo.js"></script>
|
|
1952
2081
|
<script src="flo-avatar.js"></script>
|
|
2082
|
+
<script src="chat-landing-scene.js"></script>
|
|
1953
2083
|
<script src="run-progress.js"></script>
|
|
1954
2084
|
<script src="run-strip.js"></script>
|
|
2085
|
+
<script src="tab-signal.js"></script>
|
|
1955
2086
|
<script src="media-player.js"></script>
|
|
1956
2087
|
<script src="agent-steps.js"></script>
|
|
2088
|
+
<script src="step-rename.js"></script>
|
|
2089
|
+
<script src="run-page-view.js"></script>
|
|
1957
2090
|
<script src="aware.js"></script>
|
|
1958
2091
|
<script src="tool-updates.js"></script>
|
|
1959
2092
|
<script src="panels.js"></script>
|
|
1960
2093
|
<script src="filter-guidance.js"></script>
|
|
2094
|
+
<script src="kb-categories.js"></script>
|
|
1961
2095
|
<script src="workspaces.js"></script>
|
|
1962
2096
|
<script src="left-pane.js"></script>
|
|
1963
2097
|
<script src="chat-question-card.js"></script>
|
|
1964
2098
|
<script src="chat.js"></script>
|
|
1965
2099
|
<script src="terminal-requests.js"></script>
|
|
1966
2100
|
<script src="agents.js"></script>
|
|
2101
|
+
<script src="project-access.js"></script>
|
|
1967
2102
|
<script src="pages.js"></script>
|
|
1968
2103
|
<script src="guide.js"></script>
|
|
1969
2104
|
<script src="connections.js"></script>
|
package/dist/web/instructor.js
CHANGED
|
@@ -860,12 +860,12 @@
|
|
|
860
860
|
'On the workflow canvas', 'In workflow setup dialogs',
|
|
861
861
|
// The Informed by row sits at the top of the canvas column, so it is read right after the canvas.
|
|
862
862
|
// #1998: the approval notices sit above the canvas with the Informed by row.
|
|
863
|
-
'In the Needs you notice', 'In the morning briefing notice', 'In the Approval carried over row',
|
|
864
|
-
'In the Informed by row', 'In the run progress strip', 'In Set inputs', 'In the AI step confirmation',
|
|
863
|
+
'In the Needs you notice', 'In the morning briefing notice', 'In the run finished notice', 'In the Approval carried over row',
|
|
864
|
+
'In the Informed by row', 'In the run progress strip', 'In Set inputs', 'In the AI step confirmation', 'In the step rename',
|
|
865
865
|
'At the left edge of the workspace', 'At the edge of the left or Inspect panel', 'In the left panel', 'Between AI Chat and Model', 'In the Model section of the left panel', 'In the Grid object in the Model section',
|
|
866
866
|
'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
|
|
867
867
|
'In the ≡ menu', 'In the account menu', 'In the footer',
|
|
868
|
-
'In the contract editor', 'In the report viewer', 'In the Page viewer', 'In the video player', 'In the Knowledge Base viewer', 'In the guide',
|
|
868
|
+
'In the contract editor', 'In the report viewer', 'In the Page viewer', 'In My shared links', 'In the video player', 'In the Knowledge Base viewer', 'In the guide',
|
|
869
869
|
'In the Tools library', 'In Discover local tools', 'In the requests list', 'In the revision review', 'In the run request dialog', 'In the Integrations dialog', 'In the Routines dialog', 'In the Automatic tool updates dialog', 'In the terminal requests dialog',
|
|
870
870
|
'In the Report an issue dialog', 'In the Build a tool dialog', 'In the Bake dialog', 'In the CAD send review',
|
|
871
871
|
'In the FloLess dialogs', 'On the FloLess has stopped screen',
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
'In the ⋯ menu',
|
|
885
885
|
'In the ⋯ menu — Snapping', 'In the ⋯ menu — Display', 'In the ⋯ menu — Detailing',
|
|
886
886
|
'In the ⋯ menu — Model checks', 'In the ⋯ menu — Coordinate system', 'In the ⋯ menu — Session',
|
|
887
|
-
'In the steel editor dialogs', 'In the Generate views dialog', 'In the Details dialog', 'In the RFI dialog',
|
|
887
|
+
'In the steel editor dialogs', 'In the Generate views dialog', 'In the Details dialog', 'In the RFI dialog', 'In the Raise an RFI dialog',
|
|
888
888
|
'In the Connections dialog', 'In the Frames dialog', 'In the reference-model dialogs', 'In the connection-import dialog',
|
|
889
889
|
'In the confidence report', 'In the Ask AI panel', 'In the Ask AI dialog', 'In the Favourites dialog',
|
|
890
890
|
// the read-only Revit model editor
|