@floless/app 0.169.0 → 0.171.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 +65531 -43728
- package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
- package/dist/schemas/steel.model.v2.schema.json +196 -4
- package/dist/skills/floless-app-bridge/SKILL.md +3 -3
- package/dist/skills/floless-app-knowledge/SKILL.md +46 -15
- package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
- package/dist/skills/floless-app-onboarding/SKILL.md +5 -4
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +0 -3
- package/dist/skills/floless-app-queue/SKILL.md +2 -3
- package/dist/skills/floless-app-report-issue/SKILL.md +2 -2
- package/dist/skills/floless-app-routines/SKILL.md +2 -2
- package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
- package/dist/skills/floless-app-steel-model/SKILL.md +42 -39
- package/dist/skills/floless-app-steel-model/references/custom-connections.md +47 -0
- package/dist/skills/floless-app-steel-model/references/custom-sections.md +32 -0
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
- package/dist/skills/floless-app-ui/SKILL.md +71 -126
- package/dist/skills/floless-app-workflows/SKILL.md +22 -3
- package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
- package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
- package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
- package/dist/web/add-ons.js +407 -0
- package/dist/web/agent-steps.js +89 -18
- package/dist/web/agents.js +32 -22
- package/dist/web/analytics.js +1 -1
- package/dist/web/app.css +331 -190
- package/dist/web/app.js +33 -13
- package/dist/web/aware.js +926 -218
- package/dist/web/chat.css +6 -1
- package/dist/web/chat.js +316 -112
- package/dist/web/checkpoint-standard.js +5 -3
- package/dist/web/commands-drawing-check.js +1 -0
- package/dist/web/commands-filter.js +23 -0
- package/dist/web/commands-shell.js +479 -78
- package/dist/web/commands-steel.js +69 -2
- package/dist/web/commands-tekla-parser.js +23 -0
- package/dist/web/connections.js +14 -3
- package/dist/web/drawing-check-editor.js +352 -88
- package/dist/web/failure-copy.js +33 -2
- package/dist/web/filter-ai-proposal.js +11 -8
- package/dist/web/flo-3d.js +1 -1
- package/dist/web/guide.js +36 -29
- package/dist/web/index.html +98 -57
- package/dist/web/instructor.js +101 -17
- package/dist/web/kb-categories.js +64 -7
- package/dist/web/left-pane.js +4 -1
- package/dist/web/local-discovery.js +8 -7
- package/dist/web/missed-routines.js +239 -0
- package/dist/web/model-change-findings.js +430 -0
- package/dist/web/model-change-review.js +414 -0
- package/dist/web/model-editor-steel-adapter.js +2 -2
- package/dist/web/model-measure.js +6 -0
- package/dist/web/model-spatial-panel.js +19 -4
- package/dist/web/model-spatial-tools.js +3 -3
- package/dist/web/model-viewport-revit-adapter.js +3 -3
- package/dist/web/origin-rule.js +155 -0
- package/dist/web/project-access.js +1 -1
- package/dist/web/project-history.js +7 -1
- package/dist/web/project-modules.js +2 -2
- package/dist/web/project-rfis.js +6 -1
- package/dist/web/project-workflows.js +2 -2
- package/dist/web/revit-editor.css +85 -0
- package/dist/web/revit-editor.js +58 -9
- package/dist/web/run-history.js +12 -1
- package/dist/web/sha256-sync.js +62 -0
- package/dist/web/steel-3d-core.js +46 -9
- package/dist/web/steel-3d-flo.js +153 -7
- package/dist/web/steel-3d-view.js +33 -5
- package/dist/web/steel-ai-marks.js +3 -1
- package/dist/web/steel-custom-connection.js +161 -0
- package/dist/web/steel-custom-sections.js +1796 -0
- package/dist/web/steel-editor.html +732 -161
- package/dist/web/steel-environments.js +297 -0
- package/dist/web/steel-filter-usage.js +299 -0
- package/dist/web/steel-filter.html +104 -6
- package/dist/web/steel-model-v2-client-validation.js +11 -1
- package/dist/web/steel-model-v2-commands.js +116 -13
- package/dist/web/steel-model-v2-projection.js +1 -1
- package/dist/web/steel-read-confidence.js +1 -56
- package/dist/web/step-rename.js +3 -2
- package/dist/web/tekla-editor.html +1 -0
- package/dist/web/terminal-requests.js +1 -1
- package/dist/web/tool-updates.js +7 -6
- package/dist/web/workspaces.js +1968 -138
- package/launch.mjs +87 -9
- package/package.json +4 -1
- package/dist/web/panels.js +0 -831
package/dist/web/failure-copy.js
CHANGED
|
@@ -39,6 +39,7 @@ function failureSubject(kind) {
|
|
|
39
39
|
if (kind === 'managed-runtime') return 'This AI runtime';
|
|
40
40
|
if (kind === 'page') return 'This Page';
|
|
41
41
|
if (kind === 'page-shares') return 'Your shared links';
|
|
42
|
+
if (kind === 'add-on') return 'This add-on';
|
|
42
43
|
return 'This app';
|
|
43
44
|
}
|
|
44
45
|
|
|
@@ -190,10 +191,40 @@ function failureParts(error, ctx) {
|
|
|
190
191
|
function personText(body) {
|
|
191
192
|
if (!body || typeof body !== 'object') return '';
|
|
192
193
|
if (typeof body.userMessage === 'string' && body.userMessage.trim()) return body.userMessage.trim();
|
|
193
|
-
|
|
194
|
+
// A one-word `error` is a code (`model_module_unavailable`, `forbidden`), not a sentence for a person; nor is the
|
|
195
|
+
// subscription gate's "subscription required", whose sentence is the shell's (failureCopy's `account`).
|
|
196
|
+
const error = typeof body.error === 'string' ? body.error.trim() : '';
|
|
197
|
+
if (!body.diagnostic && /\S\s+\S/.test(error) && error !== 'subscription required') return error;
|
|
194
198
|
return '';
|
|
195
199
|
}
|
|
196
200
|
|
|
201
|
+
/**
|
|
202
|
+
* #3097 slice 3b: the sentence for a caught error, so no page writes `err.message` into what a person reads.
|
|
203
|
+
* - An error a request helper threw carries the server's reply as `body`: the sentence is worked out again from that
|
|
204
|
+
* reply (personText, else failureCopy), never taken from `message`, which a helper may have built from anything.
|
|
205
|
+
* - An error the page threw FOR a person (`forPerson: true`, its message a sentence the page wrote) is said as written.
|
|
206
|
+
* - Anything else (the browser's "Failed to fetch", a reply that was not JSON, a library or a check that threw) was
|
|
207
|
+
* written for a developer: it goes to the console and the person gets the shared sentence.
|
|
208
|
+
* `ctx` is failureCopy's (`action`, `nothingDone`, `unsure`, `retrySafe`, …).
|
|
209
|
+
* @returns {string}
|
|
210
|
+
*/
|
|
211
|
+
function errorText(err, ctx) {
|
|
212
|
+
if (err && err.body && typeof err.body === 'object') {
|
|
213
|
+
// A busy lock, a sign-in or access refusal, a lost answer and an outdated AWARE have their own sentences here, which
|
|
214
|
+
// already say the server's userMessage where it wrote one; the server's `error` for them is "subscription required"
|
|
215
|
+
// or a lock's time estimate, which failureCopy deliberately does not repeat.
|
|
216
|
+
const kind = failureKind(err);
|
|
217
|
+
// The sign-in sentence is the shell's (aware.js accountAccessText), so a renewal or an update is not answered with
|
|
218
|
+
// "sign in again", and every surface says the same as the toast does.
|
|
219
|
+
const account = (ctx && ctx.account) || (globalThis.flolessBridge && globalThis.flolessBridge.accountAccessText);
|
|
220
|
+
if (kind === 'busy' || kind === 'access' || kind === 'connection' || kind === 'outdated') return failureCopy(err, { ...ctx, account }).text;
|
|
221
|
+
return personText(err.body) || failureCopy(err, ctx).text;
|
|
222
|
+
}
|
|
223
|
+
if (err && err.forPerson === true && typeof err.message === 'string' && err.message.trim()) return failureSentence(err.message);
|
|
224
|
+
console.warn(`FloLess: couldn’t ${(ctx && ctx.action) || 'finish that'}`, err);
|
|
225
|
+
return failureCopy(err, ctx).text;
|
|
226
|
+
}
|
|
227
|
+
|
|
197
228
|
if (typeof module !== 'undefined' && module.exports) {
|
|
198
|
-
module.exports = { failureKind, failureCopy, failureParts, personText, FAILURE_BUSY_CODES, FAILURE_BUSY_WORK };
|
|
229
|
+
module.exports = { failureKind, failureCopy, failureParts, personText, errorText, FAILURE_BUSY_CODES, FAILURE_BUSY_WORK };
|
|
199
230
|
}
|
|
@@ -59,10 +59,13 @@ export function filterAiKnownControls(filter) {
|
|
|
59
59
|
return known;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
/** #3097: the parser's refusals are sentences it wrote for the person, so a surface may say them (`forPerson`). */
|
|
63
|
+
const refusal = (sentence) => Object.assign(new Error(sentence), { forPerson: true });
|
|
64
|
+
|
|
62
65
|
/** Reject malformed or contradictory suggestions before any surface presents them. */
|
|
63
66
|
export function parseFilterAiProposalShape(answer) {
|
|
64
67
|
// Sized for MAX_FILTER_CHANGES changes of the longest names a snapshot carries, so no suggestion it allows is refused here.
|
|
65
|
-
if (typeof answer !== 'string' || answer.length > 2_000_000) throw
|
|
68
|
+
if (typeof answer !== 'string' || answer.length > 2_000_000) throw refusal('AI returned a suggestion that is too large. Ask about fewer layers.');
|
|
66
69
|
let value;
|
|
67
70
|
// A model that wraps the envelope in a ```json fence produced the envelope; the fence is packaging,
|
|
68
71
|
// not a different answer, so unwrap it before deciding anything.
|
|
@@ -84,7 +87,7 @@ export function parseFilterAiProposalShape(answer) {
|
|
|
84
87
|
// a change was proposed and lost. Only text that never attempted the envelope is prose.
|
|
85
88
|
const text = unfenced.trim();
|
|
86
89
|
if (!text || text.startsWith('{') || text.startsWith('[')) {
|
|
87
|
-
throw
|
|
90
|
+
throw refusal('AI did not return a usable selection. Ask it to try again.');
|
|
88
91
|
}
|
|
89
92
|
return { explanation: text.slice(0, MAX_FILTER_EXPLANATION), changes: [], mode: null };
|
|
90
93
|
}
|
|
@@ -94,26 +97,26 @@ export function parseFilterAiProposalShape(answer) {
|
|
|
94
97
|
|| !Array.isArray(value.changes) || value.changes.length > MAX_FILTER_CHANGES
|
|
95
98
|
|| (value.mode !== null && (typeof value.mode !== 'string'
|
|
96
99
|
|| !value.mode || value.mode !== canonicalMode(value.mode.split('+'))))) {
|
|
97
|
-
throw
|
|
100
|
+
throw refusal('AI returned a suggestion this filter cannot use. Ask it to try again.');
|
|
98
101
|
}
|
|
99
102
|
const seen = new Set();
|
|
100
103
|
for (const item of value.changes) {
|
|
101
104
|
if (!item || Array.isArray(item) || typeof item !== 'object'
|
|
102
105
|
|| Object.keys(item).sort().join(',') !== 'dimension,on,value'
|
|
103
106
|
|| !MODE_ORDER.includes(item.dimension) || typeof item.on !== 'boolean') {
|
|
104
|
-
throw
|
|
107
|
+
throw refusal('AI named a change this filter cannot use. Ask it to try again.');
|
|
105
108
|
}
|
|
106
109
|
if (item.dimension === 'thickness' && (typeof item.value !== 'number' || !Number.isFinite(item.value))) {
|
|
107
|
-
throw
|
|
110
|
+
throw refusal('AI named a value that is missing from this filter. Ask it to try again.');
|
|
108
111
|
}
|
|
109
112
|
if (item.dimension !== 'thickness' && typeof item.value !== 'string') {
|
|
110
|
-
throw
|
|
113
|
+
throw refusal('AI named a value that is missing from this filter. Ask it to try again.');
|
|
111
114
|
}
|
|
112
115
|
const key = item.value;
|
|
113
116
|
const canonical = facetKey(item.dimension, key);
|
|
114
117
|
const identity = item.dimension + '\0' + String(canonical);
|
|
115
118
|
if (canonical === undefined || seen.has(identity)) {
|
|
116
|
-
throw
|
|
119
|
+
throw refusal('AI named a value that is missing from this filter. Ask it to try again.');
|
|
117
120
|
}
|
|
118
121
|
seen.add(identity);
|
|
119
122
|
}
|
|
@@ -134,7 +137,7 @@ export function parseFilterAiProposal(answer, filter, allowedControls = null) {
|
|
|
134
137
|
const canonical = facetKey(item.dimension, item.value);
|
|
135
138
|
const identity = item.dimension + '\0' + String(canonical);
|
|
136
139
|
if (!known.has(identity) || (allowedControls && !allowedControls.has(identity))) {
|
|
137
|
-
throw
|
|
140
|
+
throw refusal('AI named a value that is missing from this filter. Ask it to try again.');
|
|
138
141
|
}
|
|
139
142
|
changes.push({ dimension:item.dimension, value:known.get(identity), on:item.on });
|
|
140
143
|
}
|
package/dist/web/flo-3d.js
CHANGED
|
@@ -294,7 +294,7 @@ export function createFlo3D(THREE, opts = {}) {
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
return {
|
|
297
|
-
object: root, get r() { return r; }, get position() { return here; },
|
|
297
|
+
object: root, body: squash, get r() { return r; }, get position() { return here; }, // body: Flo without its ground shadow
|
|
298
298
|
setColors, setSize, setMood, setHat, setReducedMotion, placeAt, hopTo, sayHello, tick, hit, isBusy, dispose,
|
|
299
299
|
get mood() { return mood; },
|
|
300
300
|
};
|
package/dist/web/guide.js
CHANGED
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
await globalThis.flolessStartupAdmission?.admit('/api/chat/session');
|
|
74
74
|
response = await fetch('/api/chat/session', { credentials: 'same-origin' });
|
|
75
75
|
}
|
|
76
|
-
catch { throw new Error('FloLess could not be reached. Make sure it is still running, then try again.'); }
|
|
77
|
-
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.');
|
|
76
|
+
catch { throw Object.assign(new Error('FloLess could not be reached. Make sure it is still running, then try again.'), { forPerson: true }); }
|
|
77
|
+
if (!response.ok) throw Object.assign(new Error('FloLess could not open AI Chat’s session, so the Guide could not load. Reload FloLess and try again.'), { forPerson: true });
|
|
78
78
|
state.sessionReady = true;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
let response;
|
|
88
88
|
try { response = await fetch(path, init); }
|
|
89
89
|
catch (error) {
|
|
90
|
-
throw new Error(error?.name === 'TimeoutError'
|
|
90
|
+
throw Object.assign(new Error(error?.name === 'TimeoutError'
|
|
91
91
|
? 'FloLess took too long to answer, most likely because it is busy. Try again in a moment.'
|
|
92
|
-
: 'FloLess could not be reached. Make sure it is still running, then try again.');
|
|
92
|
+
: 'FloLess could not be reached. Make sure it is still running, then try again.'), { forPerson: true });
|
|
93
93
|
}
|
|
94
94
|
let data = null;
|
|
95
95
|
try { data = await response.json(); } catch { data = null; }
|
|
@@ -98,10 +98,11 @@
|
|
|
98
98
|
return api(path, body, true);
|
|
99
99
|
}
|
|
100
100
|
if (!response.ok) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
failure
|
|
101
|
+
// #3097 3b: the reply rides on the error (an answer that was not FloLess's JSON marked unreadable), so errorText
|
|
102
|
+
// works the sentence out again from it rather than trusting this message.
|
|
103
|
+
const reply = data && typeof data === 'object' ? data : { code: 'response-unreadable' };
|
|
104
|
+
const failure = new Error(personText(reply) || failureCopy({ status: response.status, body: reply }, { action: 'do that', retrySafe: !body }).text);
|
|
105
|
+
failure.code = data?.code || null; failure.body = reply; failure.status = response.status;
|
|
105
106
|
throw failure;
|
|
106
107
|
}
|
|
107
108
|
return data;
|
|
@@ -142,7 +143,7 @@
|
|
|
142
143
|
await chat.openConversation(chatId, { owner: { kind: 'workspace' } });
|
|
143
144
|
return true;
|
|
144
145
|
} catch (error) {
|
|
145
|
-
toast(error
|
|
146
|
+
toast(errorText(error, { action: 'open the Guide conversation', retrySafe: true }), 'warn');
|
|
146
147
|
return false;
|
|
147
148
|
}
|
|
148
149
|
}
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
state.returnFocus = options.returnFocus || (document.activeElement instanceof HTMLElement ? document.activeElement : null);
|
|
156
157
|
let status;
|
|
157
158
|
try { status = await loadStatus(); }
|
|
158
|
-
catch (error) { toast(error
|
|
159
|
+
catch (error) { toast(errorText(error, { action: 'open the Guide', retrySafe: true }), 'warn'); return; }
|
|
159
160
|
if (!status.signedIn) { toast('Sign in to FloLess first. The Guide belongs to your FloLess account, so it starts once you are signed in.', 'warn'); return; }
|
|
160
161
|
if (status.consent?.choice === 'on' && status.activeChatId) { await openGuideChat(status.activeChatId); return; }
|
|
161
162
|
await showModal(status.consent?.choice === 'on' ? 'start' : 'consent');
|
|
@@ -414,9 +415,9 @@
|
|
|
414
415
|
'While you talk, the Guide may open more files or folders to answer you.',
|
|
415
416
|
], (line) => line));
|
|
416
417
|
const lock = el('div', 'guide-callout');
|
|
417
|
-
// #
|
|
418
|
-
lock.append(el('strong', '', 'It starts
|
|
419
|
-
document.createTextNode('
|
|
418
|
+
// #3406 (owner ruling 2026-11-10): the Guide starts on Auto; what FloLess starts by itself stays Read only.
|
|
419
|
+
lock.append(el('strong', '', 'It starts on Auto. '),
|
|
420
|
+
document.createTextNode('In your own messages, the Guide can make safe changes by itself, and its Auto check holds risky steps, like deleting, back. The looks and briefings FloLess starts by itself always run Read only. You can change its Access in the chat at any time, as in any conversation. Whichever Access it has, the AI program can open any folder you can. Read only only stops its file tools from changing files.'));
|
|
420
421
|
const where = el('p', 'guide-copy');
|
|
421
422
|
where.textContent = `What the Guide sees is sent to ${providerName} under your own subscription, and kept in this conversation’s history on this computer. You can turn the Guide off or delete its history at any time; whatever ${providerName} already received stays under its own rules.`;
|
|
422
423
|
const gives = el('p', 'guide-copy', 'You get a short briefing on what you seem to be working on, then suggested next moves as buttons.');
|
|
@@ -463,7 +464,9 @@
|
|
|
463
464
|
if (seq !== state.lookSeq) return false;
|
|
464
465
|
// Pressed Turn on and the look failed: say what that means for the Guide, not only what went wrong.
|
|
465
466
|
const off = because === 'turning-on' && state.mode === 'consent' ? ' The Guide is still off. Try again, or turn it on later from ≡ → Guide.' : '';
|
|
466
|
-
|
|
467
|
+
// The server's own reason keeps its lead; anything else is the shared sentence, which leads with it already.
|
|
468
|
+
const reason = personText(error?.body);
|
|
469
|
+
state.previewError = `${reason ? `FloLess couldn’t look at this computer: ${reason}` : errorText(error, { action: 'look at this computer', retrySafe: true })}${off}`;
|
|
467
470
|
}
|
|
468
471
|
if ($modal.classList.contains('show')) paint();
|
|
469
472
|
return landed;
|
|
@@ -529,7 +532,7 @@
|
|
|
529
532
|
closeModal();
|
|
530
533
|
if (!asking) return;
|
|
531
534
|
try { await api('/api/chat/guide/consent', { choice: 'not-now', share: state.share }); }
|
|
532
|
-
catch (error) { toast(error.
|
|
535
|
+
catch (error) { toast(errorText(error, { action: 'save your Not now', unsure: 'The Guide may ask again next time.' }), 'warn'); }
|
|
533
536
|
}
|
|
534
537
|
|
|
535
538
|
async function chooseFolder() {
|
|
@@ -540,7 +543,7 @@
|
|
|
540
543
|
const until = Date.now() + 10 * 60 * 1000;
|
|
541
544
|
while (Date.now() < until && document.querySelector('.modal-backdrop.show')) await new Promise((resolve) => setTimeout(resolve, 500));
|
|
542
545
|
try { await loadStatus(); }
|
|
543
|
-
catch (error) { toast(
|
|
546
|
+
catch (error) { toast(`${errorText(error, { action: 'continue to the Guide', retrySafe: true })} Open it again from ≡ → Guide.`, 'warn'); return; }
|
|
544
547
|
if (state.status?.workspace) await showModal('consent');
|
|
545
548
|
}
|
|
546
549
|
|
|
@@ -582,7 +585,7 @@
|
|
|
582
585
|
if (briefing && !briefed) {
|
|
583
586
|
// The Guide was already on: the briefing is its own step. A failure here never stops the Guide starting.
|
|
584
587
|
try { const answer = await api('/api/chat/guide/briefing', { on: true, provider: state.provider, time: '08:00', days: 'weekdays' }); setBriefing(answer.briefing); }
|
|
585
|
-
catch (error) { toast(`The Guide is starting, but the morning briefing wasn’t turned on
|
|
588
|
+
catch (error) { toast(`The Guide is starting, but the morning briefing wasn’t turned on. ${errorText(error, { action: 'turn on the morning briefing', unsure: 'Check ≡ → Guide to see whether it is on.' })}`, 'warn'); }
|
|
586
589
|
}
|
|
587
590
|
if (closed()) {
|
|
588
591
|
// Closed while the Guide was being turned on: it is on, but nothing more happens until the person opens it.
|
|
@@ -609,7 +612,7 @@
|
|
|
609
612
|
if (error.body.preview.share) state.share = { ...error.body.preview.share };
|
|
610
613
|
state.banner = 'Something changed since you looked (or it’s been a while), so here is a fresh preview. Check it, then press Start the Guide.';
|
|
611
614
|
} else {
|
|
612
|
-
state.banner = error.
|
|
615
|
+
state.banner = errorText(error, { action: 'start the Guide', unsure: 'Check ≡ → Guide to see whether it started.' });
|
|
613
616
|
}
|
|
614
617
|
state.busy = false;
|
|
615
618
|
paint();
|
|
@@ -633,7 +636,7 @@
|
|
|
633
636
|
}
|
|
634
637
|
await loadStatus().catch(() => null);
|
|
635
638
|
return true;
|
|
636
|
-
} catch (error) { toast(error.
|
|
639
|
+
} catch (error) { toast(errorText(error, { action: 'turn off the Guide', unsure: 'Check ≡ → Guide to see whether it is off.' }), 'warn'); return false; }
|
|
637
640
|
}
|
|
638
641
|
|
|
639
642
|
async function deleteHistory() {
|
|
@@ -648,7 +651,7 @@
|
|
|
648
651
|
}
|
|
649
652
|
await window.flolessChat?.refreshScope?.(true);
|
|
650
653
|
return true;
|
|
651
|
-
} catch (error) { toast(error.
|
|
654
|
+
} catch (error) { toast(errorText(error, { action: 'delete the Guide history', unsure: 'Check AI Chat to see what is left before deleting again.' }), 'warn'); return false; }
|
|
652
655
|
}
|
|
653
656
|
|
|
654
657
|
function confirmDelete() {
|
|
@@ -850,7 +853,7 @@
|
|
|
850
853
|
toast(`The Guide may suggest “${text.title}” again.`, 'info');
|
|
851
854
|
const nextButton = nextKey ? [...host.querySelectorAll('li')].find((li) => li.dataset.key === nextKey)?.querySelector('button') : null;
|
|
852
855
|
nextButton?.focus();
|
|
853
|
-
} catch (error) { back.disabled = false; toast(error.
|
|
856
|
+
} catch (error) { back.disabled = false; toast(errorText(error, { action: 'bring that suggestion back', unsure: 'Check the list before trying again.' }), 'warn'); }
|
|
854
857
|
});
|
|
855
858
|
item.dataset.key = row.key;
|
|
856
859
|
item.append(el('span', '', text.title), back);
|
|
@@ -900,7 +903,7 @@
|
|
|
900
903
|
else await ws?.setMode?.('workflows');
|
|
901
904
|
// Leaving a project can be declined (unsaved work): say so instead of seeming to do nothing.
|
|
902
905
|
if (!shown) status.textContent = 'You stayed in the project you have open, so the list was not shown.';
|
|
903
|
-
} catch (error) { status.textContent = error
|
|
906
|
+
} catch (error) { status.textContent = errorText(error, { action: 'show that list', retrySafe: true }); }
|
|
904
907
|
finally { button.disabled = false; }
|
|
905
908
|
});
|
|
906
909
|
recoverRow.append(button);
|
|
@@ -931,7 +934,7 @@
|
|
|
931
934
|
pending = { commandId: 'shell.guide-move-undo', label: 'Undo' };
|
|
932
935
|
undo.disabled = true; status.textContent = '';
|
|
933
936
|
try { await moveAside(move, false, moveKey); }
|
|
934
|
-
catch (error) { status.textContent = error.
|
|
937
|
+
catch (error) { status.textContent = errorText(error, { action: 'show this suggestion again', unsure: 'Check the card before trying again.' }); }
|
|
935
938
|
finally { pending = null; paintCard(); }
|
|
936
939
|
});
|
|
937
940
|
line.append(el('span', '', `Not now: ${text.title}`), undo);
|
|
@@ -987,7 +990,7 @@
|
|
|
987
990
|
if (!opened) status.textContent = 'FloLess couldn’t open that from here. Open it from the ≡ menu instead.';
|
|
988
991
|
else if (opened.said) status.textContent = opened.said;
|
|
989
992
|
} catch (error) {
|
|
990
|
-
status.textContent = error
|
|
993
|
+
status.textContent = errorText(error, { action: 'open that', retrySafe: true });
|
|
991
994
|
} finally {
|
|
992
995
|
go.disabled = false; go.removeAttribute('aria-busy'); go.textContent = text.action;
|
|
993
996
|
// Disabled while checking, the button dropped focus to the page; when nothing opened and the card is still shown,
|
|
@@ -1007,7 +1010,7 @@
|
|
|
1007
1010
|
if (answer?.key) { moveKey = answer.key; paintCard(); }
|
|
1008
1011
|
} catch (error) {
|
|
1009
1012
|
later.disabled = false;
|
|
1010
|
-
status.textContent = error.
|
|
1013
|
+
status.textContent = errorText(error, { action: 'set this suggestion aside', unsure: 'Check the card before trying again.' });
|
|
1011
1014
|
}
|
|
1012
1015
|
});
|
|
1013
1016
|
actions.append(go, later);
|
|
@@ -1051,8 +1054,12 @@
|
|
|
1051
1054
|
paintCard();
|
|
1052
1055
|
};
|
|
1053
1056
|
// The failed card already shows why; the line under the buttons says only what that card does not.
|
|
1054
|
-
const say = (error) => {
|
|
1055
|
-
|
|
1057
|
+
const say = (error) => {
|
|
1058
|
+
const said = errorText(error, { action: 'do that', unsure: 'Check the card before trying again.' });
|
|
1059
|
+
const shown = moveUpdates.get(moveId)?.reason;
|
|
1060
|
+
if (shown !== said && shown !== error?.message) status.textContent = said;
|
|
1061
|
+
};
|
|
1062
|
+
const missing = () => Object.assign(new Error('FloLess is still starting. Try again in a moment.'), { forPerson: true });
|
|
1056
1063
|
const build = async (node, label, busyLabel = 'Starting…', reopen = false) => {
|
|
1057
1064
|
busy(node, busyLabel);
|
|
1058
1065
|
try {
|
|
@@ -1131,7 +1138,7 @@
|
|
|
1131
1138
|
try {
|
|
1132
1139
|
const answer = await moveAside(move, true);
|
|
1133
1140
|
if (answer?.key) moveKey = answer.key;
|
|
1134
|
-
} catch (error) { status.textContent = error.
|
|
1141
|
+
} catch (error) { status.textContent = errorText(error, { action: 'set this suggestion aside', unsure: 'Check the card before trying again.' }); }
|
|
1135
1142
|
finally { done(); }
|
|
1136
1143
|
});
|
|
1137
1144
|
// Build it has no confirm step, so this note is the whole warning: Build it points a screen reader at it.
|
|
@@ -1242,7 +1249,7 @@
|
|
|
1242
1249
|
return answer;
|
|
1243
1250
|
} catch (error) {
|
|
1244
1251
|
if (error.body && 'briefing' in error.body) setBriefing(error.body.briefing);
|
|
1245
|
-
toast(error.
|
|
1252
|
+
toast(errorText(error, { action: 'change the morning briefing', unsure: 'Check its settings before trying again.' }), 'warn');
|
|
1246
1253
|
return null;
|
|
1247
1254
|
} finally {
|
|
1248
1255
|
briefingBusy = false;
|
package/dist/web/index.html
CHANGED
|
@@ -66,12 +66,6 @@
|
|
|
66
66
|
<!-- #2007: delegated responsibilities run by hand (web/agents.js). The AWARE library is Tools, in the ≡ menu. -->
|
|
67
67
|
<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>
|
|
68
68
|
</div>
|
|
69
|
-
<!-- Workspace view switch (Canvas = the workflow topology; Dashboard = the user's
|
|
70
|
-
custom panels from ~/.floless/ui/extensions.json) moved into the ≡ menu in #149.
|
|
71
|
-
The "dashboard updated" signal now rides the ≡ hamburger badge (.has-dash-update)
|
|
72
|
-
and the menu item's dot (#dash-dot, relocated into the menu). -->
|
|
73
|
-
<!-- Shown only while custom panels exist; opens Undo · History · Reset. -->
|
|
74
|
-
<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>
|
|
75
69
|
</div>
|
|
76
70
|
<div class="controls">
|
|
77
71
|
<label id="wf-label">workflow</label>
|
|
@@ -206,7 +200,7 @@
|
|
|
206
200
|
<!-- #2399: the account's "Suggest next steps" mode (On / Quiet / Off), the same in every chat; also in ≡. -->
|
|
207
201
|
<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>
|
|
208
202
|
<!-- #2046: the Guide's own controls, shown only in a Guide conversation. #2234: its Access is the ordinary
|
|
209
|
-
picker above (it starts
|
|
203
|
+
picker above (#3406: it starts on Auto); this cell keeps the briefing, set-aside suggestions, Turn off and Delete. -->
|
|
210
204
|
<div class="ai-chat-setting ai-chat-guide-access" id="chat-guide-access" role="group" aria-labelledby="chat-guide-settings-label" hidden>
|
|
211
205
|
<span id="chat-guide-settings-label">Guide</span>
|
|
212
206
|
<!-- #2053: the opt-in morning briefing; web/guide.js paints it (off by default). -->
|
|
@@ -419,10 +413,6 @@
|
|
|
419
413
|
<button data-command-id="canvas.fit" class="tb-btn" id="zoom-fit" data-tip="Fit the whole workflow to the screen (Home)">⤢</button>
|
|
420
414
|
</div>
|
|
421
415
|
</div>
|
|
422
|
-
<!-- Dashboard view — the user's custom panels (web/panels.js renders
|
|
423
|
-
~/.floless/ui/extensions.json here; the canvas children hide via
|
|
424
|
-
.canvas.view-dashboard). Composed by the terminal AI, rendered by us. -->
|
|
425
|
-
<div class="dashboard" id="dashboard" hidden></div>
|
|
426
416
|
<!-- Workspaces mode surfaces (web/workspaces.js renders both; hidden outside the mode).
|
|
427
417
|
Landing = project grid; project = step tabs over the editor/filter iframes. -->
|
|
428
418
|
<div class="ws-landing" id="ws-landing" hidden></div>
|
|
@@ -696,39 +686,6 @@
|
|
|
696
686
|
#aware-update; its body is rendered per-open in aware.js. -->
|
|
697
687
|
<div id="notes-popover" class="relnotes-popover" role="dialog" aria-modal="true" aria-label="Release notes" tabindex="-1" hidden></div>
|
|
698
688
|
|
|
699
|
-
<!-- Customized-badge menu — Undo · Reset · a read-only history list. Anchored
|
|
700
|
-
under the header badge; populated per-open in panels.js. -->
|
|
701
|
-
<div class="menu ext-menu" id="ext-menu" role="menu" data-reveal-by="#ext-badge" hidden>
|
|
702
|
-
<button data-command-id="shell.extension-undo" class="menu-item" id="ext-undo" role="menuitem">
|
|
703
|
-
<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>
|
|
704
|
-
<span class="menu-label">Undo</span>
|
|
705
|
-
</button>
|
|
706
|
-
<button data-command-id="shell.extension-redo" class="menu-item" id="ext-redo" role="menuitem">
|
|
707
|
-
<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>
|
|
708
|
-
<span class="menu-label">Redo</span>
|
|
709
|
-
</button>
|
|
710
|
-
<button data-command-id="shell.extension-reset" class="menu-item" id="ext-reset" role="menuitem">
|
|
711
|
-
<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>
|
|
712
|
-
<span class="menu-label">Reset to default</span>
|
|
713
|
-
</button>
|
|
714
|
-
<div class="menu-divider"></div>
|
|
715
|
-
<div class="ext-history-head">History — newest first</div>
|
|
716
|
-
<div class="ext-history" id="ext-history"></div>
|
|
717
|
-
</div>
|
|
718
|
-
|
|
719
|
-
<!-- Reset-to-default confirmation — destructive-looking but recoverable; Cancel
|
|
720
|
-
holds focus (Enter/Esc/backdrop all cancel), mirroring the routine delete. -->
|
|
721
|
-
<div class="modal-backdrop" id="ext-reset-modal">
|
|
722
|
-
<div class="modal">
|
|
723
|
-
<div class="modal-title">Reset dashboard to default</div>
|
|
724
|
-
<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>
|
|
725
|
-
<div class="modal-actions">
|
|
726
|
-
<button data-command-id="shell.dialog-cancel#resetting the extension edits" id="ext-reset-cancel">Cancel</button>
|
|
727
|
-
<button data-command-id="shell.extension-reset-confirm" id="ext-reset-confirm">Reset</button>
|
|
728
|
-
</div>
|
|
729
|
-
</div>
|
|
730
|
-
</div>
|
|
731
|
-
|
|
732
689
|
<!-- Workflow update (one click, owner ruling 2026-11-02): what is new in the open workflow (#wf-update-changelog),
|
|
733
690
|
the same row the status-bar dialog shows (#wf-update-row: where it stands, the warning when the person changed
|
|
734
691
|
it), and one button that does the next thing: Update, then Undo (or Approve model for a Steel Model). -->
|
|
@@ -979,17 +936,6 @@
|
|
|
979
936
|
<span class="menu-label">Find on canvas</span>
|
|
980
937
|
<span class="menu-kbd">Ctrl+F</span>
|
|
981
938
|
</button>
|
|
982
|
-
<!-- Workspace view switch (was the header Canvas|Dashboard toggle, #149). One
|
|
983
|
-
contextual item: the label names the OTHER view; the dot lights when the
|
|
984
|
-
dashboard changed while on Canvas. Wired in panels.js (owns the view state).
|
|
985
|
-
Hidden while the Dashboard surface is gated off (#902) — panels.js owns that
|
|
986
|
-
too, via its DASHBOARD_UI_ENABLED flag, so the markup stays put and one flag
|
|
987
|
-
brings the whole surface back. -->
|
|
988
|
-
<button class="menu-item" id="menu-view-switch" data-action="view-switch" data-command-id="menu.view-switch" role="menuitem">
|
|
989
|
-
<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>
|
|
990
|
-
<span class="menu-label" id="menu-view-label">Switch to Dashboard</span>
|
|
991
|
-
<span class="view-dot" id="dash-dot" hidden aria-label="Dashboard updated">●</span>
|
|
992
|
-
</button>
|
|
993
939
|
<div class="menu-divider"></div>
|
|
994
940
|
<!-- Tools library (was the header ⊞ Agents button, #149; renamed Tools in #2007). Heads the tool group
|
|
995
941
|
(Tools / Graft into tool / Bake into tool). Ctrl+G. -->
|
|
@@ -1033,6 +979,11 @@
|
|
|
1033
979
|
<span class="menu-label">Routines</span>
|
|
1034
980
|
<span class="menu-kbd">Ctrl+R</span>
|
|
1035
981
|
</button>
|
|
982
|
+
<!-- #3296 S1b: the person's own add-ons, made by the AI chat (web/add-ons.js). -->
|
|
983
|
+
<button class="menu-item" data-action="add-ons" data-command-id="menu.add-ons" role="menuitem">
|
|
984
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 2 3 7v10l9 5 9-5V7z"/><path d="M12 22V12"/><path d="m3 7 9 5 9-5"/><path d="M16.5 4.5 7.5 9.5"/></svg></span>
|
|
985
|
+
<span class="menu-label">My add-ons</span>
|
|
986
|
+
</button>
|
|
1036
987
|
<div class="menu-divider"></div>
|
|
1037
988
|
<!-- #2046: the Guide — FloLess's onboarding agent in AI Chat (web/guide.js). -->
|
|
1038
989
|
<button class="menu-item" data-action="guide" data-command-id="menu.guide" role="menuitem">
|
|
@@ -1362,6 +1313,8 @@
|
|
|
1362
1313
|
<!-- #2476: what the run viewer says about a report that carries files while its Page version is being saved (or why it
|
|
1363
1314
|
cannot be shown). Plain words, a polite live region; hidden when there is nothing to say. -->
|
|
1364
1315
|
<div class="report-files-note" id="report-files-note" role="status" aria-live="polite" hidden></div>
|
|
1316
|
+
<!-- #3229: the report was made before the run stopped at an AI step's check. Filled with textContent by aware.js. -->
|
|
1317
|
+
<div class="report-ai-stop" id="report-ai-stop" role="status" hidden></div>
|
|
1365
1318
|
<div class="report-stage" id="report-stage">
|
|
1366
1319
|
<!-- sandbox flags, each load-bearing:
|
|
1367
1320
|
• allow-same-origin — REQUIRED. Without it the srcdoc document gets an
|
|
@@ -1467,6 +1420,10 @@
|
|
|
1467
1420
|
<span class="project-setup-standard-label" data-standard-label="UK">UK · BS/EN</span>
|
|
1468
1421
|
<span>BS EN sections · S355</span>
|
|
1469
1422
|
</button>
|
|
1423
|
+
<button type="button" data-environment="EU" data-command-id="shell.project-standard#EU" aria-pressed="false">
|
|
1424
|
+
<span class="project-setup-standard-label" data-standard-label="EU">EU · EN</span>
|
|
1425
|
+
<span>EN sections · S355</span>
|
|
1426
|
+
</button>
|
|
1470
1427
|
</div>
|
|
1471
1428
|
<div class="project-setup-note">The standard is fixed for this project. Display units can be changed later.</div>
|
|
1472
1429
|
</fieldset>
|
|
@@ -1518,6 +1475,24 @@
|
|
|
1518
1475
|
</div>
|
|
1519
1476
|
</div>
|
|
1520
1477
|
</div>
|
|
1478
|
+
<!-- #2909 (owner ruling 2026-11-08): who chooses the model origin in a Quick build. Shown only with Quick; Precise
|
|
1479
|
+
always asks the origin on the read's setup card, so with Precise it is hidden and nothing is sent. The AI's
|
|
1480
|
+
choice is the default. -->
|
|
1481
|
+
<div class="project-setup-filter project-setup-origin" id="project-setup-origin" role="group"
|
|
1482
|
+
aria-labelledby="project-setup-origin-label" aria-describedby="project-setup-origin-explain" hidden>
|
|
1483
|
+
<strong class="project-setup-label" id="project-setup-origin-label">Model origin</strong>
|
|
1484
|
+
<p id="project-setup-origin-explain">The model origin is the grid intersection every position in the model is measured from. If the AI chooses it, it uses the bottom-left grid intersection when every plan view is upright and the grid is straight. Otherwise it picks one and records why. Its choice is labelled as the AI's. If you choose it, your answer is recorded as yours.</p>
|
|
1485
|
+
<div class="project-setup-standard-options">
|
|
1486
|
+
<button type="button" data-origin-choice="ai" data-command-id="shell.project-origin-choice#Let the AI choose" aria-pressed="true">
|
|
1487
|
+
<span class="project-setup-standard-label">Let the AI choose</span>
|
|
1488
|
+
<span>Bottom-left where the grid allows; the read does not stop</span>
|
|
1489
|
+
</button>
|
|
1490
|
+
<button type="button" data-origin-choice="person" data-command-id="shell.project-origin-choice#I'll choose it myself" aria-pressed="false">
|
|
1491
|
+
<span class="project-setup-standard-label">I'll choose it myself</span>
|
|
1492
|
+
<span>The read asks you on its setup card and carries on with work that does not depend on it</span>
|
|
1493
|
+
</button>
|
|
1494
|
+
</div>
|
|
1495
|
+
</div>
|
|
1521
1496
|
<div class="project-setup-quick-terms" id="project-setup-quick-terms" role="group" aria-label="Quick model terms" aria-live="polite" hidden>
|
|
1522
1497
|
<strong>Before you create a Quick model</strong>
|
|
1523
1498
|
<p>The AI answers this read's drawing questions itself instead of asking you, and files an RFI, marked as its own, only for a question it cannot settle; nothing is sent to anyone. It records every decision it makes, so you can review them afterwards, and the model is labelled as a Quick model. <span id="project-setup-quick-terms-tail">The AI never approves anything: you still decide on the Drawing Filter and on the review.</span></p>
|
|
@@ -1643,6 +1618,28 @@
|
|
|
1643
1618
|
</div>
|
|
1644
1619
|
</div>
|
|
1645
1620
|
|
|
1621
|
+
<!-- #3312: profile mapping before a CAD send. Bespoke rather than #form-modal (which renders a flat field list):
|
|
1622
|
+
the rows carry a suggestion with a confidence, a searchable picker of the destination's own profile names
|
|
1623
|
+
and a caution that depends on the choice. Same backdrop and .modal chrome as the revision review. -->
|
|
1624
|
+
<div class="modal-backdrop" id="profilemap-modal" role="dialog" aria-modal="true" aria-labelledby="profilemap-title" aria-describedby="profilemap-sub profilemap-source">
|
|
1625
|
+
<div class="modal revreview profilemap" tabindex="-1">
|
|
1626
|
+
<div class="modal-title" id="profilemap-title">Profiles Tekla does not have</div>
|
|
1627
|
+
<div class="modal-sub" id="profilemap-sub"></div>
|
|
1628
|
+
<div class="pm-source" id="profilemap-source" role="status" aria-live="polite"></div>
|
|
1629
|
+
<div class="pm-tools" id="profilemap-tools">
|
|
1630
|
+
<div class="pm-sources" id="profilemap-sources" role="group" aria-label="Check the profiles against" hidden></div>
|
|
1631
|
+
<button type="button" id="profilemap-import" data-command-id="shell.profile-map-import">Import a Tekla catalogue…</button>
|
|
1632
|
+
<input type="file" id="profilemap-file" accept=".profilecatalog,.lis" hidden tabindex="-1" aria-hidden="true" data-command-id="shell.profile-map-import">
|
|
1633
|
+
</div>
|
|
1634
|
+
<div class="revreview-body pm-body" id="profilemap-body" tabindex="0" role="region" aria-label="Profiles to map" data-command-id="shell.profile-map-table"></div>
|
|
1635
|
+
<div class="pm-note" id="profilemap-note"></div>
|
|
1636
|
+
<div class="modal-actions">
|
|
1637
|
+
<button type="button" id="profilemap-cancel" data-command-id="shell.dialog-cancel#the profile check">Cancel</button>
|
|
1638
|
+
<button type="button" id="profilemap-apply" class="primary" data-command-id="shell.profile-map-apply">Apply and continue</button>
|
|
1639
|
+
</div>
|
|
1640
|
+
</div>
|
|
1641
|
+
</div>
|
|
1642
|
+
|
|
1646
1643
|
<!-- Approval is a mandatory review, never a one-click mutation. The server supplies every group
|
|
1647
1644
|
and all plain-English copy; this surface only records an explicit decision for each group. -->
|
|
1648
1645
|
<div class="modal-backdrop" id="approval-review-modal" role="dialog" aria-modal="true" aria-labelledby="approval-review-title" aria-describedby="approval-review-sub approval-review-impact">
|
|
@@ -1846,6 +1843,24 @@
|
|
|
1846
1843
|
</div>
|
|
1847
1844
|
</div>
|
|
1848
1845
|
|
|
1846
|
+
<!-- #3301: Disconnect a service, asked above Integrations (after it in the page, so it stacks on top). Names the
|
|
1847
|
+
service and account and what stops working; Cancel holds focus. A failure stays here with Try again and the
|
|
1848
|
+
terminal command as a last resort. Filled and driven by confirmIntegrationDisconnect() in web/aware.js. -->
|
|
1849
|
+
<div class="modal-backdrop" id="int-disconnect-modal" role="alertdialog" aria-modal="true"
|
|
1850
|
+
aria-labelledby="int-disconnect-title" aria-describedby="int-disconnect-sub">
|
|
1851
|
+
<div class="modal int-disconnect" tabindex="-1">
|
|
1852
|
+
<div class="modal-title" id="int-disconnect-title">Disconnect?</div>
|
|
1853
|
+
<div class="modal-sub" id="int-disconnect-sub"></div>
|
|
1854
|
+
<div class="int-notice is-warn" id="int-disconnect-google" role="note" hidden>Google sign-in is shared by the whole computer, so this signs every FloLess on this computer out of Google.</div>
|
|
1855
|
+
<div class="int-disconnect-error" id="int-disconnect-error" role="alert"></div>
|
|
1856
|
+
<div class="modal-actions">
|
|
1857
|
+
<button type="button" data-command-id="shell.integrations-disconnect-copy-command" id="int-disconnect-copy" hidden>Copy command</button>
|
|
1858
|
+
<button type="button" data-command-id="shell.dialog-cancel#disconnecting a service" id="int-disconnect-cancel">Cancel</button>
|
|
1859
|
+
<button type="button" data-command-id="shell.integrations-disconnect-confirm#the service" id="int-disconnect-ok" class="danger">Disconnect</button>
|
|
1860
|
+
</div>
|
|
1861
|
+
</div>
|
|
1862
|
+
</div>
|
|
1863
|
+
|
|
1849
1864
|
<div class="modal-backdrop" id="workspace-root-modal" role="dialog" aria-modal="true"
|
|
1850
1865
|
aria-labelledby="workspace-root-title" aria-describedby="workspace-root-sub workspace-root-status">
|
|
1851
1866
|
<div class="modal workspace-root-modal" tabindex="-1">
|
|
@@ -1950,7 +1965,9 @@
|
|
|
1950
1965
|
<div class="modal-title">Routines</div>
|
|
1951
1966
|
<div class="modal-sub">Run a workflow automatically — on a schedule, or on a live trigger (e.g. whenever your model changes) — exactly like clicking ▶ Run workflow. Or start an agent on a schedule: nobody watches that run, so anything that would ask you is declined and listed for you on the Agents page.</div>
|
|
1952
1967
|
<!-- #2062: never read as always-on. The link shows only where the start-on-login setting exists (app.js). -->
|
|
1953
|
-
<p class="rtn-local-note" id="rtn-local-note">Routines run only while FloLess is running on this computer. A run that falls while it is closed is noted as missed, and
|
|
1968
|
+
<p class="rtn-local-note" id="rtn-local-note">Routines run only while FloLess is running on this computer. A run that falls while it is closed is noted as missed, and FloLess asks you once whether to run it when it starts again. <button type="button" class="rtn-link" id="rtn-startup-link" data-start-on-login-link data-command-id="shell.routines-start-on-login" data-tip="Closes Routines and shows the Start with Windows switch in the menu" hidden>Start FloLess when you sign in…</button></p>
|
|
1969
|
+
<!-- Owner ruling 2026-11-06: what still waits on the missed-runs card (missed-routines.js); Review shows it again. -->
|
|
1970
|
+
<p class="rtn-missed-note" id="rtn-missed-note" role="status" hidden><span id="rtn-missed-text"></span> <button type="button" class="rtn-link" id="rtn-missed-review" data-command-id="shell.missed-routines-review" data-tip="Closes Routines and shows the card that asks whether to run them now">Review…</button></p>
|
|
1954
1971
|
<div class="rtn-quota" id="rtn-quota"></div>
|
|
1955
1972
|
<div class="routines-list" id="routines-list"></div>
|
|
1956
1973
|
<div class="modal-actions">
|
|
@@ -1980,6 +1997,7 @@
|
|
|
1980
1997
|
<div class="modal-field" id="rtn-workflow-field">
|
|
1981
1998
|
<label for="rtn-workflow">Workflow</label>
|
|
1982
1999
|
<select data-command-id="shell.routine-workflow" id="rtn-workflow"></select>
|
|
2000
|
+
<div class="rtn-cron-hint" id="rtn-workflow-unnamed" role="status" hidden>FloLess couldn’t read the names of your own workflows just now, so they aren’t in this list. Close this and open it again in a moment.</div>
|
|
1983
2001
|
</div>
|
|
1984
2002
|
<div class="modal-field" id="rtn-agent-field" hidden>
|
|
1985
2003
|
<label for="rtn-agent">Agent</label>
|
|
@@ -2199,6 +2217,28 @@
|
|
|
2199
2217
|
</div>
|
|
2200
2218
|
</div>
|
|
2201
2219
|
|
|
2220
|
+
<!-- #3296 S1b: My add-ons (≡ → My add-ons). Filled by web/add-ons.js from /api/add-ons; turning one on is the
|
|
2221
|
+
person's click here or on a chat card. -->
|
|
2222
|
+
<div class="modal-backdrop" id="add-ons-modal" role="dialog" aria-modal="true"
|
|
2223
|
+
aria-labelledby="add-ons-title" aria-describedby="add-ons-sub">
|
|
2224
|
+
<div class="modal add-ons" tabindex="-1">
|
|
2225
|
+
<div class="modal-title" id="add-ons-title">My add-ons</div>
|
|
2226
|
+
<div class="modal-sub" id="add-ons-sub">Your own extensions, made by the AI chat. Each one is off until you turn it on, and each version is kept so you can go back.</div>
|
|
2227
|
+
<div class="add-ons-body">
|
|
2228
|
+
<div class="add-ons-side">
|
|
2229
|
+
<div id="add-ons-list" class="add-ons-list" aria-label="Add-ons"></div>
|
|
2230
|
+
<button data-command-id="shell.add-ons-import" id="add-ons-import" type="button" class="add-ons-quiet">Import…</button>
|
|
2231
|
+
<input data-command-id="shell.add-ons-import" id="add-ons-file" type="file" accept=".json,application/json" hidden tabindex="-1" aria-hidden="true">
|
|
2232
|
+
</div>
|
|
2233
|
+
<div id="add-ons-detail" class="add-ons-detail" aria-live="polite"></div>
|
|
2234
|
+
</div>
|
|
2235
|
+
<div id="add-ons-status" class="add-ons-status" role="status" aria-live="polite"></div>
|
|
2236
|
+
<div class="modal-actions">
|
|
2237
|
+
<button data-command-id="shell.dialog-close#add-ons" id="add-ons-close" type="button">Close</button>
|
|
2238
|
+
</div>
|
|
2239
|
+
</div>
|
|
2240
|
+
</div>
|
|
2241
|
+
|
|
2202
2242
|
<!-- #1998: the one-time carry-forward policy — asked at a person's first approval, and ≡ → Automatic tool updates….
|
|
2203
2243
|
Filled by renderPolicyModal (web/aware.js); the words come from the server, which hashes them. -->
|
|
2204
2244
|
<div class="modal-backdrop" id="policy-modal" role="dialog" aria-modal="true" aria-labelledby="policy-title" aria-describedby="policy-body">
|
|
@@ -2263,7 +2303,6 @@
|
|
|
2263
2303
|
<script src="report-csp.js"></script>
|
|
2264
2304
|
<script src="aware.js"></script>
|
|
2265
2305
|
<script src="tool-updates.js"></script>
|
|
2266
|
-
<script src="panels.js"></script>
|
|
2267
2306
|
<script src="filter-guidance.js"></script>
|
|
2268
2307
|
<script src="kb-categories.js"></script>
|
|
2269
2308
|
<script src="pdf-view.js"></script>
|
|
@@ -2274,6 +2313,7 @@
|
|
|
2274
2313
|
<script src="terminal-requests.js"></script>
|
|
2275
2314
|
<script src="agents.js"></script>
|
|
2276
2315
|
<script src="project-access.js"></script>
|
|
2316
|
+
<script src="missed-routines.js"></script>
|
|
2277
2317
|
<script src="pages.js"></script>
|
|
2278
2318
|
<script src="run-history.js"></script>
|
|
2279
2319
|
<script src="project-workflows.js"></script>
|
|
@@ -2283,6 +2323,7 @@
|
|
|
2283
2323
|
<script src="guide.js"></script>
|
|
2284
2324
|
<script src="connections.js"></script>
|
|
2285
2325
|
<script src="local-discovery.js"></script>
|
|
2326
|
+
<script src="add-ons.js"></script>
|
|
2286
2327
|
<script src="account-menu.js"></script>
|
|
2287
2328
|
<script src="commands-shell.js"></script>
|
|
2288
2329
|
<!-- The steel editor's capabilities load HERE as well as in steel-editor.html, and that is
|