@floless/app 0.141.0 → 0.142.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 +4283 -2494
- package/dist/web/account-menu.js +168 -0
- package/dist/web/app.css +97 -9
- package/dist/web/app.js +2 -0
- package/dist/web/aware.js +771 -72
- package/dist/web/chat.css +70 -0
- package/dist/web/chat.js +1331 -109
- package/dist/web/commands-revit.js +1 -1
- package/dist/web/commands-shell.js +143 -9
- package/dist/web/commands-steel.js +4 -0
- package/dist/web/index.html +78 -2
- package/dist/web/instructor.js +2 -2
- package/dist/web/leave-guard.js +480 -0
- package/dist/web/left-pane.js +43 -0
- package/dist/web/model-clip-session.js +2 -3
- package/dist/web/model-navigation-controls.js +17 -3
- package/dist/web/model-orientation-overlay.js +2 -3
- package/dist/web/model-panel-bridge.js +15 -3
- package/dist/web/model-viewport-revit-adapter.js +1 -0
- package/dist/web/model-viewport-toolbar.js +0 -2
- package/dist/web/revit-editor.js +4 -6
- package/dist/web/steel-3d-view.js +79 -45
- package/dist/web/steel-editor.html +167 -15
- package/dist/web/steel-filter.html +19 -9
- package/dist/web/steel-model-commands.js +0 -1
- package/dist/web/vector-editor.html +20 -3
- package/dist/web/workspaces.js +405 -41
- package/launch.mjs +32 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var def = window.Commands.define;
|
|
6
6
|
def('revit.projection', { label: 'Camera projection', actsOn: 'Opens perspective and orthographic camera choices', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
7
7
|
def('revit.projection-mode', { label: 'Set camera projection', actsOn: 'Draws the Revit model in {instance}', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
8
|
-
def('revit.fit', { label: 'Fit all to view', actsOn: 'Frames the whole Revit model', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
8
|
+
def('revit.fit', { label: 'Fit all to view', key: 'Also: Home', actsOn: 'Frames the whole Revit model', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
9
9
|
def('revit.fit-selection', { label: 'Zoom to selected', actsOn: 'Frames the selected Revit object', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
10
10
|
def('revit.display-mode', { label: 'Display mode', actsOn: 'Opens solid, wireframe, X-ray and realistic choices', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
11
11
|
def('revit.display-mode-set', { label: 'Set display mode', actsOn: 'Draws the Revit model as {instance}', group: 'In the Revit model toolbar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -412,6 +412,104 @@
|
|
|
412
412
|
guidance: 'on-demand',
|
|
413
413
|
});
|
|
414
414
|
|
|
415
|
+
def('menu.stop-app', {
|
|
416
|
+
label: 'Stop FloLess',
|
|
417
|
+
actsOn: 'Closes FloLess on this computer',
|
|
418
|
+
group: 'In the ≡ menu',
|
|
419
|
+
persistence: 'external', // ends the local server process
|
|
420
|
+
interaction: 'dialog',
|
|
421
|
+
risk: [], // reversible: start FloLess / sign in again; the leave question guards unsaved work
|
|
422
|
+
guidance: 'on-demand',
|
|
423
|
+
why: 'Asks first: it lists anything not saved yet and offers to save it, and warns when a workflow is running, because stopping ends that run. Start FloLess again from the Start menu or the link on the stopped screen.',
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
/* ── the account menu (web/account-menu.js) — floless.io's avatar dropdown ── */
|
|
427
|
+
|
|
428
|
+
def('shell.account-menu', {
|
|
429
|
+
label: 'Account menu',
|
|
430
|
+
actsOn: 'Shows who is signed in, with Profile, Settings and Sign Out',
|
|
431
|
+
group: 'In the header',
|
|
432
|
+
persistence: 'none',
|
|
433
|
+
interaction: 'instant',
|
|
434
|
+
risk: [],
|
|
435
|
+
guidance: 'on-demand',
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
def('account.profile', {
|
|
439
|
+
label: 'Profile',
|
|
440
|
+
actsOn: 'Opens your FloLess profile on floless.io in your browser',
|
|
441
|
+
group: 'In the account menu',
|
|
442
|
+
persistence: 'external',
|
|
443
|
+
interaction: 'instant',
|
|
444
|
+
risk: [],
|
|
445
|
+
guidance: 'on-demand',
|
|
446
|
+
});
|
|
447
|
+
|
|
448
|
+
def('account.settings', {
|
|
449
|
+
label: 'Settings',
|
|
450
|
+
actsOn: 'Opens your FloLess account settings on floless.io in your browser',
|
|
451
|
+
group: 'In the account menu',
|
|
452
|
+
persistence: 'external',
|
|
453
|
+
interaction: 'instant',
|
|
454
|
+
risk: [],
|
|
455
|
+
guidance: 'on-demand',
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
def('account.sign-out', {
|
|
459
|
+
label: 'Sign Out',
|
|
460
|
+
actsOn: 'Signs this computer out of your FloLess account',
|
|
461
|
+
group: 'In the account menu',
|
|
462
|
+
persistence: 'local',
|
|
463
|
+
interaction: 'dialog',
|
|
464
|
+
risk: [], // reversible: start FloLess / sign in again; the leave question guards unsaved work
|
|
465
|
+
guidance: 'on-demand',
|
|
466
|
+
why: 'Asks first and offers to save anything not saved yet. A workflow that is running keeps running; you sign in again to see its result.',
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
/* ── the stop / sign-out question (web/leave-guard.js) ───────────────────── */
|
|
470
|
+
|
|
471
|
+
def('leave.confirm', {
|
|
472
|
+
label: 'Stop FloLess or Sign out',
|
|
473
|
+
actsOn: 'Goes ahead — shown only when nothing is left unsaved',
|
|
474
|
+
group: 'In the FloLess dialogs',
|
|
475
|
+
persistence: 'external',
|
|
476
|
+
interaction: 'instant',
|
|
477
|
+
risk: [],
|
|
478
|
+
guidance: 'on-demand',
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
def('leave.save', {
|
|
482
|
+
label: 'Save and continue',
|
|
483
|
+
actsOn: 'Saves everything listed, then stops FloLess or signs out',
|
|
484
|
+
group: 'In the FloLess dialogs',
|
|
485
|
+
persistence: 'working',
|
|
486
|
+
interaction: 'instant',
|
|
487
|
+
risk: [],
|
|
488
|
+
guidance: 'on-demand',
|
|
489
|
+
why: 'If anything cannot be saved, the question stays open and says which item and what to do.',
|
|
490
|
+
});
|
|
491
|
+
|
|
492
|
+
def('leave.discard', {
|
|
493
|
+
label: 'Continue without saving',
|
|
494
|
+
actsOn: 'Stops FloLess or signs out, leaving the listed changes unsaved',
|
|
495
|
+
group: 'In the FloLess dialogs',
|
|
496
|
+
persistence: 'working',
|
|
497
|
+
interaction: 'instant',
|
|
498
|
+
risk: ['destructive'],
|
|
499
|
+
guidance: 'on-demand',
|
|
500
|
+
why: 'The unsaved changes listed in the question are lost — this is the one button in it that loses work.',
|
|
501
|
+
});
|
|
502
|
+
|
|
503
|
+
def('app.start-again', {
|
|
504
|
+
label: 'Start FloLess again',
|
|
505
|
+
actsOn: 'Opens FloLess again on this computer',
|
|
506
|
+
group: 'On the FloLess has stopped screen',
|
|
507
|
+
persistence: 'external',
|
|
508
|
+
interaction: 'instant',
|
|
509
|
+
risk: [],
|
|
510
|
+
guidance: 'on-demand',
|
|
511
|
+
});
|
|
512
|
+
|
|
415
513
|
/* ── canvas + guidance affordances ───────────────────────────────────────── */
|
|
416
514
|
|
|
417
515
|
def('canvas.fit', {
|
|
@@ -770,6 +868,18 @@
|
|
|
770
868
|
why: 'The standard is fixed when the project is created because changing catalogues later would unresolve modelled sections.',
|
|
771
869
|
});
|
|
772
870
|
|
|
871
|
+
def('shell.project-chat-provider', {
|
|
872
|
+
label: 'Use {instance} for AI Chat',
|
|
873
|
+
anyInstance: 'Claude or Codex',
|
|
874
|
+
actsOn: 'Chooses which AI answers this project’s conversation when you create the project and start chat',
|
|
875
|
+
group: 'In the new project dialog',
|
|
876
|
+
persistence: 'none',
|
|
877
|
+
interaction: 'instant',
|
|
878
|
+
risk: [],
|
|
879
|
+
guidance: 'on-demand',
|
|
880
|
+
why: 'The conversation stays with this AI for the project. Claude and Codex each answer through your own account for that AI.',
|
|
881
|
+
});
|
|
882
|
+
|
|
773
883
|
def('shell.project-create', {
|
|
774
884
|
label: 'Create project only',
|
|
775
885
|
actsOn: 'Creates the project in the selected folder and saves the initial drawing task without starting AI',
|
|
@@ -788,7 +898,7 @@
|
|
|
788
898
|
interaction: 'instant',
|
|
789
899
|
risk: ['costs-time', 'costs-money'],
|
|
790
900
|
guidance: 'on-demand',
|
|
791
|
-
why: 'The project, drawings, Request and conversation stay together in the chosen project folder.',
|
|
901
|
+
why: 'The project, drawings, Request and conversation stay together in the chosen project folder. If FloLess has not set up the chosen AI on this computer yet, it does that first and then creates the project.',
|
|
792
902
|
});
|
|
793
903
|
|
|
794
904
|
def('shell.project-duplicate', {
|
|
@@ -1295,6 +1405,12 @@
|
|
|
1295
1405
|
label: 'Delete conversation', actsOn: 'Permanently deletes {instance} and its local attachments',
|
|
1296
1406
|
group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
|
|
1297
1407
|
});
|
|
1408
|
+
def('shell.chat-history-discard', {
|
|
1409
|
+
label: 'Discard damaged conversation',
|
|
1410
|
+
actsOn: 'Permanently removes a conversation whose saved file is damaged and can no longer be opened',
|
|
1411
|
+
group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
|
|
1412
|
+
why: 'A damaged conversation cannot be opened or repaired in FloLess; discarding it leaves every other conversation untouched.',
|
|
1413
|
+
});
|
|
1298
1414
|
def('shell.chat-history-filter', {
|
|
1299
1415
|
label: 'Filter conversation history', actsOn: 'Shows {instance} for the current project or workflow only',
|
|
1300
1416
|
group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
|
|
@@ -1363,19 +1479,28 @@
|
|
|
1363
1479
|
group: 'In AI Chat', key: 'Enter sends · Shift + Enter starts a new line', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1364
1480
|
});
|
|
1365
1481
|
def('shell.chat-attach', {
|
|
1366
|
-
label: 'Attach file', actsOn: 'Adds images (up to five per message) or PDFs from this computer to the next message or follow-up',
|
|
1482
|
+
label: 'Attach file', actsOn: 'Adds images (up to five per message) or PDFs from this computer to the next message or follow-up; on the Drawing Filter only pictures can be sent and a PDF is turned away as soon as it is chosen, because the AI answering there cannot open one',
|
|
1367
1483
|
group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
1368
1484
|
});
|
|
1369
1485
|
def('shell.chat-attach-input', {
|
|
1370
|
-
label: 'Choose attachments', actsOn: 'Selects images (up to five per message) or PDFs to add to the next message or follow-up',
|
|
1486
|
+
label: 'Choose attachments', actsOn: 'Selects images (up to five per message) or PDFs to add to the next message or follow-up; on the Drawing Filter a PDF is turned away as soon as it is chosen, because the AI answering there cannot open one',
|
|
1371
1487
|
group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
1372
1488
|
});
|
|
1489
|
+
def('shell.chat-subjects', {
|
|
1490
|
+
label: 'Selected objects for the next question', actsOn: 'Says which selected Steel Model objects will be attached to your next question',
|
|
1491
|
+
group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1492
|
+
why: 'A question sent with objects selected is linked to them, so selecting one later shows the question and opens it in chat.',
|
|
1493
|
+
});
|
|
1494
|
+
def('shell.chat-subjects-remove', {
|
|
1495
|
+
label: 'Leave selected objects out', actsOn: 'Sends your next question without the selected Steel Model objects, until the selection changes',
|
|
1496
|
+
group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1497
|
+
});
|
|
1373
1498
|
def('shell.chat-attachment-remove', {
|
|
1374
1499
|
label: 'Remove pending attachment', actsOn: 'Leaves {instance} out of the next message',
|
|
1375
1500
|
group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1376
1501
|
});
|
|
1377
1502
|
def('shell.chat-tekla-remove', {
|
|
1378
|
-
label: 'Remove Tekla model library', actsOn: 'Removes the Tekla model library carried over from Graft, so Chat cannot ask to read the open model name in this conversation',
|
|
1503
|
+
label: 'Remove Tekla model library', actsOn: 'Removes the Tekla model library carried over from Graft, so Chat cannot ask to read the open model name or the parts you have selected in this conversation',
|
|
1379
1504
|
group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1380
1505
|
why: 'Before you send, this only changes the draft. After the first message the library stays with this conversation and cannot be removed.',
|
|
1381
1506
|
});
|
|
@@ -1426,9 +1551,18 @@
|
|
|
1426
1551
|
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
|
|
1427
1552
|
});
|
|
1428
1553
|
def('shell.chat-approval-request', {
|
|
1429
|
-
label: 'Approve for this request', actsOn: 'Allows this access action and future access actions until the current response finishes; keeps your permission setting and review checkpoints unchanged
|
|
1554
|
+
label: 'Approve for this request', actsOn: 'Allows this access action and future access actions until the current response finishes; keeps your permission setting and review checkpoints unchanged; Tekla reads ask unless you allow them for this chat',
|
|
1430
1555
|
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
|
|
1431
|
-
why: 'Saves approving each access action one by one during this response. A Tekla
|
|
1556
|
+
why: 'Saves approving each access action one by one during this response. A Tekla read is not covered: it has its own Allow for this chat.',
|
|
1557
|
+
});
|
|
1558
|
+
def('shell.chat-tekla-allow-chat', {
|
|
1559
|
+
label: 'Allow Tekla reads for this chat', actsOn: 'Allows this Tekla read and every later read this chat may ask for, of the open model name or the parts you have selected, without asking again in this conversation until you revoke it',
|
|
1560
|
+
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1561
|
+
why: 'Saves approving each Tekla read one by one. FloLess still checks Tekla live before every read and shows every result; nothing in the model changes.',
|
|
1562
|
+
});
|
|
1563
|
+
def('shell.chat-tekla-allowance-revoke', {
|
|
1564
|
+
label: 'Revoke Tekla reads for this chat', actsOn: 'Makes Chat ask you again before each Tekla read in this conversation; a read already running may finish',
|
|
1565
|
+
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1432
1566
|
});
|
|
1433
1567
|
def('shell.chat-approval-revoke', {
|
|
1434
1568
|
label: 'Revoke request auto-approval', actsOn: 'Asks before future access actions in this request; actions already approved may finish',
|
|
@@ -1470,7 +1604,7 @@
|
|
|
1470
1604
|
def('shell.requests-start-chat', {
|
|
1471
1605
|
label: 'Start in AI Chat', actsOn: 'Starts {instance} in its project or workflow conversation',
|
|
1472
1606
|
group: 'In the requests list', persistence: 'external', interaction: 'instant', risk: ['costs-time', 'costs-money'], guidance: 'on-demand',
|
|
1473
|
-
why: 'The request and every follow-up stay together in the same scoped conversation.',
|
|
1607
|
+
why: 'The request and every follow-up stay together in the same scoped conversation. If FloLess has not set up the AI on this computer yet, it does that first and then starts the request.',
|
|
1474
1608
|
});
|
|
1475
1609
|
|
|
1476
1610
|
def('shell.requests-discuss', {
|
|
@@ -2451,13 +2585,13 @@
|
|
|
2451
2585
|
|
|
2452
2586
|
def('shell.graft-continue-chat', {
|
|
2453
2587
|
label: 'Continue in AI Chat',
|
|
2454
|
-
actsOn: 'Closes this dialog and opens an editable, unsent AI Chat draft about the verified model read; nothing is sent and Tekla is not read again',
|
|
2588
|
+
actsOn: 'Closes this dialog and opens an editable, unsent AI Chat draft about the verified model read; nothing is sent and Tekla is not read again until you approve a read there, of the model name or the parts you have selected',
|
|
2455
2589
|
group: 'In the Build an agent dialog',
|
|
2456
2590
|
persistence: 'none',
|
|
2457
2591
|
interaction: 'instant',
|
|
2458
2592
|
risk: [],
|
|
2459
2593
|
guidance: 'on-demand',
|
|
2460
|
-
why: 'Appears only after a successful model read. Chat can ask to read the model name
|
|
2594
|
+
why: 'Appears only after a successful model read. Chat can then ask to read the model name or the parts you have selected in Tekla, but FloLess asks you first and checks live each time.',
|
|
2461
2595
|
});
|
|
2462
2596
|
|
|
2463
2597
|
def('shell.graft-verify-tekla-read', {
|
|
@@ -2228,6 +2228,10 @@
|
|
|
2228
2228
|
def('steel.registration-detail', { label: 'Registration details', actsOn: 'Shows the exact reason this sheet’s registration was refused, naming the contract fields to change', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The plain-English warning is for you; this is the sentence your terminal AI needs.' });
|
|
2229
2229
|
def('steel.registration-copy', { label: 'Copy reason', actsOn: 'Copies the exact registration refusal to the clipboard', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This sheet cannot be corrected in the editor — paste the reason to your terminal AI and ask it to fix the registration.' });
|
|
2230
2230
|
def('steel.review-select', { label: 'Select this connection', actsOn: 'Selects {instance} from the review list', group: 'In the review list', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A watched connection selects the members it watches; an unwatched one opens the 3D view and selects the connection itself.' });
|
|
2231
|
+
def('steel.chat-question-show', { label: 'Show in chat', actsOn: 'Opens AI Chat at the question “{instance}”', anyInstance: 'a question asked about this object', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Questions asked in AI Chat with objects selected stay linked to those objects.' });
|
|
2232
|
+
def('steel.chat-questions-more', { label: 'Show more questions', actsOn: 'Shows the older questions asked in AI Chat about the selection', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2233
|
+
def('steel.chat-questions-orphans', { label: 'Questions about objects no longer in the model', actsOn: 'Shows AI Chat questions about objects this model no longer has, with the name each had when asked', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'A question is never moved to another object, even one with the same name.' });
|
|
2234
|
+
def('steel.chat-questions-retry', { label: 'Retry loading questions', actsOn: 'Reads the questions asked in AI Chat about this project again', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2231
2235
|
def('steel.connection-part-back', { label: 'Back to connection', actsOn: 'Selects the whole connection that owns this part', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2232
2236
|
def('steel.connection-part-edit', { label: 'Edit on parent member', actsOn: 'Selects the member that owns this connection part', group: 'In the Properties panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
2233
2237
|
def('steel.quick-dimension-place', { label: 'Place spacing dimensions', actsOn: 'Arms a running dimension row for the current selection', group: 'In the Properties panel', persistence: 'working', interaction: 'mode', risk: [], guidance: 'active-command', steps: ['Click where the spacing dimension row should sit'], why: 'The dimensions stay attached to the selected members or grid lines.' });
|
package/dist/web/index.html
CHANGED
|
@@ -137,6 +137,12 @@
|
|
|
137
137
|
<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>
|
|
138
138
|
<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>
|
|
139
139
|
</div>
|
|
140
|
+
<!-- The signed-in account, far right (floless.io puts its avatar menu in the same place).
|
|
141
|
+
Hidden until web/account-menu.js has read who is signed in. -->
|
|
142
|
+
<button data-command-id="shell.account-menu" id="account-btn" class="account-btn" type="button" hidden
|
|
143
|
+
aria-haspopup="menu" aria-expanded="false" aria-controls="account-menu" aria-label="Account menu">
|
|
144
|
+
<span class="account-initials" id="account-initials" aria-hidden="true"></span>
|
|
145
|
+
</button>
|
|
140
146
|
</header>
|
|
141
147
|
|
|
142
148
|
<aside class="chat combined-left-pane" id="chat-panel" data-group="In the left panel" aria-label="AI Chat and Model panel">
|
|
@@ -760,6 +766,38 @@
|
|
|
760
766
|
<button data-command-id="shell.theme#the dark theme" class="theme-btn" data-theme="dark" data-tip="Dark">☾</button>
|
|
761
767
|
</div>
|
|
762
768
|
</div>
|
|
769
|
+
<!-- Quit sits last, below its own divider — the conventional place for it, apart from the
|
|
770
|
+
preferences above. Tinted as the one row that ends something; it always asks first
|
|
771
|
+
(web/leave-guard.js checks for unsaved work before the server is told to stop). -->
|
|
772
|
+
<div class="menu-divider"></div>
|
|
773
|
+
<button class="menu-item menu-item-danger" data-action="stop-app" data-command-id="menu.stop-app" id="menu-stop-app" role="menuitem">
|
|
774
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 2v10"/><path d="M18.4 6.6a9 9 0 1 1-12.77.04"/></svg></span>
|
|
775
|
+
<span class="menu-label">Stop FloLess</span>
|
|
776
|
+
</button>
|
|
777
|
+
</div>
|
|
778
|
+
|
|
779
|
+
<!-- Account menu — the avatar at the far right of the header opens it. Mirrors floless.io's own
|
|
780
|
+
avatar dropdown: name, email, Profile, Settings, Sign Out. Filled in and un-hidden by
|
|
781
|
+
web/account-menu.js only while someone is signed in. -->
|
|
782
|
+
<div class="menu account-menu" id="account-menu" role="menu" aria-labelledby="account-btn" data-group="In the account menu" data-reveal-by="#account-btn">
|
|
783
|
+
<div class="account-id" role="presentation">
|
|
784
|
+
<div class="account-name" id="account-name"></div>
|
|
785
|
+
<div class="account-email" id="account-email"></div>
|
|
786
|
+
</div>
|
|
787
|
+
<div class="menu-divider" role="separator"></div>
|
|
788
|
+
<a class="menu-item" id="account-profile" data-command-id="account.profile" role="menuitem" target="_blank" rel="noopener">
|
|
789
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg></span>
|
|
790
|
+
<span class="menu-label">Profile</span>
|
|
791
|
+
</a>
|
|
792
|
+
<a class="menu-item" id="account-settings" data-command-id="account.settings" role="menuitem" target="_blank" rel="noopener">
|
|
793
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/></svg></span>
|
|
794
|
+
<span class="menu-label">Settings</span>
|
|
795
|
+
</a>
|
|
796
|
+
<div class="menu-divider" role="separator"></div>
|
|
797
|
+
<button class="menu-item" id="account-sign-out" data-command-id="account.sign-out" role="menuitem">
|
|
798
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" x2="9" y1="12" y2="12"/></svg></span>
|
|
799
|
+
<span class="menu-label">Sign Out</span>
|
|
800
|
+
</button>
|
|
763
801
|
</div>
|
|
764
802
|
|
|
765
803
|
<!-- ── The `?` command sheet ──────────────────────────────────────────────
|
|
@@ -919,9 +957,24 @@
|
|
|
919
957
|
</div>
|
|
920
958
|
<div class="project-setup-note">The standard is fixed for this project. Display units can be changed later.</div>
|
|
921
959
|
</fieldset>
|
|
960
|
+
<!-- Which AI answers this project's conversation (#1605). The same Claude / Codex choice the
|
|
961
|
+
AI Chat empty state asks, with each one's own sign-in underneath; it defaults to the AI
|
|
962
|
+
FloLess would pick, so Create project & start chat stays one click. Hidden with that
|
|
963
|
+
button when no AI is installed, and for a Revit project, which starts no chat. -->
|
|
964
|
+
<fieldset class="project-setup-field project-setup-provider" id="project-setup-provider" hidden>
|
|
965
|
+
<legend class="project-setup-label">AI Chat</legend>
|
|
966
|
+
<div class="project-setup-provider-options">
|
|
967
|
+
<button type="button" data-chat-provider="claude" data-command-id="shell.project-chat-provider#Claude" aria-pressed="false">Claude</button>
|
|
968
|
+
<button type="button" data-chat-provider="codex" data-command-id="shell.project-chat-provider#Codex" aria-pressed="false">Codex</button>
|
|
969
|
+
</div>
|
|
970
|
+
<div class="project-setup-provider-accounts" aria-live="polite">
|
|
971
|
+
<span data-chat-provider-status="claude"></span>
|
|
972
|
+
<span data-chat-provider-status="codex"></span>
|
|
973
|
+
</div>
|
|
974
|
+
<div class="project-setup-note">This project’s conversation stays with the AI you choose here.</div>
|
|
975
|
+
</fieldset>
|
|
922
976
|
</div>
|
|
923
977
|
<div class="project-setup-storage-note">FloLess stores this project, its AI Chat history, Knowledge and project workflows in this folder. AI starts here too.</div>
|
|
924
|
-
<div class="project-setup-chat-meta" id="project-setup-chat-meta" hidden></div>
|
|
925
978
|
<div class="project-setup-error" id="project-setup-error" role="alert" aria-live="assertive" hidden></div>
|
|
926
979
|
<div class="modal-actions">
|
|
927
980
|
<button type="button" id="project-setup-cancel" data-command-id="shell.dialog-cancel#project setup">Cancel</button>
|
|
@@ -1034,6 +1087,27 @@
|
|
|
1034
1087
|
</div>
|
|
1035
1088
|
</div>
|
|
1036
1089
|
|
|
1090
|
+
<!-- "Is everything saved?" — asked before Stop FloLess and Sign Out (web/leave-guard.js). Its own
|
|
1091
|
+
dialog in the #confirm-modal look; lists each unsaved item in plain words. -->
|
|
1092
|
+
<div class="modal-backdrop" id="leave-guard-modal" role="dialog" aria-modal="true"
|
|
1093
|
+
aria-labelledby="leave-guard-title" aria-describedby="leave-guard-sub">
|
|
1094
|
+
<div class="modal leave-guard">
|
|
1095
|
+
<div class="modal-title" id="leave-guard-title">Stop FloLess?</div>
|
|
1096
|
+
<div class="modal-sub" id="leave-guard-sub"></div>
|
|
1097
|
+
<div class="leave-guard-unsaved" id="leave-guard-unsaved" hidden>
|
|
1098
|
+
<ul class="leave-guard-list" id="leave-guard-list" aria-label="Unsaved work"></ul>
|
|
1099
|
+
</div>
|
|
1100
|
+
<p class="leave-guard-note" id="leave-guard-note" role="alert" hidden></p>
|
|
1101
|
+
<p class="leave-guard-running" id="leave-guard-running" hidden></p>
|
|
1102
|
+
<div class="modal-actions">
|
|
1103
|
+
<button data-command-id="leave.discard" id="leave-guard-discard" class="danger" hidden>Stop without saving</button>
|
|
1104
|
+
<button data-command-id="shell.dialog-cancel#the stop or sign-out prompt" id="leave-guard-cancel">Cancel</button>
|
|
1105
|
+
<button data-command-id="leave.save" id="leave-guard-save" class="primary" hidden>Save and stop</button>
|
|
1106
|
+
<button data-command-id="leave.confirm" id="leave-guard-confirm" class="primary">Stop FloLess</button>
|
|
1107
|
+
</div>
|
|
1108
|
+
</div>
|
|
1109
|
+
</div>
|
|
1110
|
+
|
|
1037
1111
|
<div class="modal-backdrop" id="add-fav-modal">
|
|
1038
1112
|
<div class="modal">
|
|
1039
1113
|
<div class="modal-title" id="add-fav-title">Save as Template</div>
|
|
@@ -1172,7 +1246,7 @@
|
|
|
1172
1246
|
<div class="modal-title" id="request-help-title">Drawing read ready to start</div>
|
|
1173
1247
|
<div class="modal-sub" id="request-help-sub" aria-live="polite">Your drawing was added to Requests, and the instructions were copied to your clipboard.</div>
|
|
1174
1248
|
<div class="request-help-steps" id="request-help-steps">
|
|
1175
|
-
<div class="request-help-step"><span>1</span><p>Open Claude Code
|
|
1249
|
+
<div class="request-help-step"><span>1</span><p>Open Claude Code or Codex in your project folder.</p></div>
|
|
1176
1250
|
<div class="request-help-step"><span>2</span><p>Paste the copied request. It will read the drawing and prepare the Drawing Filter.</p></div>
|
|
1177
1251
|
<div class="request-help-step"><span>3</span><p>When it stops, open Drawing Filter. Check steel, member marks, grids, dimensions, and relevant callouts; ask in AI Chat on the left if you are unsure. Then press Save filter in the top-right corner.</p></div>
|
|
1178
1252
|
</div>
|
|
@@ -1484,6 +1558,7 @@
|
|
|
1484
1558
|
<script src="app.js"></script>
|
|
1485
1559
|
<script src="renderers.js"></script>
|
|
1486
1560
|
<script src="aware-update-client.js"></script>
|
|
1561
|
+
<script src="leave-guard.js"></script>
|
|
1487
1562
|
<script src="aware.js"></script>
|
|
1488
1563
|
<script src="panels.js"></script>
|
|
1489
1564
|
<script src="filter-guidance.js"></script>
|
|
@@ -1491,6 +1566,7 @@
|
|
|
1491
1566
|
<script src="left-pane.js"></script>
|
|
1492
1567
|
<script src="chat.js"></script>
|
|
1493
1568
|
<script src="local-discovery.js"></script>
|
|
1569
|
+
<script src="account-menu.js"></script>
|
|
1494
1570
|
<script src="commands-shell.js"></script>
|
|
1495
1571
|
<!-- The steel editor's capabilities load HERE as well as in steel-editor.html, and that is
|
|
1496
1572
|
deliberate: the shell is the sole guidance producer, so it must be able to resolve a
|
package/dist/web/instructor.js
CHANGED
|
@@ -776,11 +776,11 @@
|
|
|
776
776
|
'In the Informed by row', 'In Set inputs',
|
|
777
777
|
'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',
|
|
778
778
|
'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
|
|
779
|
-
'In the ≡ menu', 'In the footer',
|
|
779
|
+
'In the ≡ menu', 'In the account menu', 'In the footer',
|
|
780
780
|
'In the contract editor', 'In the report viewer', 'In the Knowledge Base viewer', 'In the guide',
|
|
781
781
|
'In the agent 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',
|
|
782
782
|
'In the Report an issue dialog', 'In the Build an agent dialog', 'In the Bake dialog', 'In the CAD send review',
|
|
783
|
-
'In the FloLess dialogs',
|
|
783
|
+
'In the FloLess dialogs', 'On the FloLess has stopped screen',
|
|
784
784
|
/* the steel editor — read top-left down, then the menus, then the dialogs.
|
|
785
785
|
The ⋯ menu is six groups rather than one because it is six accordion
|
|
786
786
|
sections on screen: a single 'In the ⋯ menu' would have been about thirty
|