@floless/app 0.139.0 → 0.140.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 +4959 -3559
- package/dist/skills/floless-app-vectorize/SKILL.md +1 -1
- package/dist/skills/floless-app-vectorize/scripts/extract_pdf.py +7 -1
- package/dist/skills/floless-app-vectorize/scripts/vision_to_contract.py +7 -1
- package/dist/web/app.css +139 -1
- package/dist/web/aware.js +363 -31
- package/dist/web/chat.css +79 -5
- package/dist/web/chat.js +449 -52
- package/dist/web/commands-revit.js +2 -1
- package/dist/web/commands-shell.js +188 -7
- package/dist/web/commands-steel.js +12 -10
- package/dist/web/index.html +48 -2
- package/dist/web/instructor.js +26 -4
- package/dist/web/local-discovery.js +250 -0
- package/dist/web/model-editor-revit-adapter.js +3 -1
- package/dist/web/model-editor-steel-adapter.js +8 -1
- package/dist/web/model-viewport-toolbar.js +13 -1
- package/dist/web/model-viewport.js +16 -1
- package/dist/web/revit-editor.html +5 -5
- package/dist/web/revit-editor.js +3 -3
- package/dist/web/steel-detail-refs.js +0 -69
- package/dist/web/steel-editor.html +110 -266
- package/dist/web/steel-filter.html +43 -16
- package/dist/web/steel-model-v2-commands.js +8 -2
- package/dist/web/steel-split-view.js +1 -1
- package/dist/web/vector-editor.html +6 -1
- package/dist/web/workspaces.js +150 -16
- package/package.json +2 -1
|
@@ -34,8 +34,9 @@
|
|
|
34
34
|
def('revit.snap-mesh-edge-nearest', { label: 'Mesh edge nearest snapping', actsOn: 'Snaps dimensions to the nearest point on an authenticated triangle edge', group: 'In the Revit model snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
35
35
|
def('revit.snap-surface', { label: 'Mesh surface snapping', actsOn: 'Snaps dimensions to the authenticated model surface beneath the pointer', group: 'In the Revit model snapping bar', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
36
36
|
def('revit.selection-filter', { label: 'Selection filter', actsOn: 'Narrows selectable model objects by {instance}', group: 'In the Revit model selection bar', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
37
|
-
def('revit.inspector-toggle', { label: 'Toggle
|
|
37
|
+
def('revit.inspector-toggle', { label: 'Toggle the Properties panel', actsOn: 'Collapses or opens the read-only Properties panel', group: 'In the Properties panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
38
38
|
def('revit.authority', { label: 'Model authority', actsOn: 'Switches between an available draft and approved model revision', group: 'In the Revit model header', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
39
|
+
def('revit.open-model', { label: 'Open Model tab', actsOn: 'Opens the just-imported model on the Model tab', group: 'In the Revit workspace', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
39
40
|
def('revit.replace-import', { label: 'Replace RVT', actsOn: 'Chooses a new RVT while keeping the current model available until replacement succeeds', group: 'In the Revit workspace', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand' });
|
|
40
41
|
def('revit.retry-import', { label: 'Retry Revit import', actsOn: 'Retries reading the already stored RVT source', group: 'In the Revit workspace', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
41
42
|
def('revit.cancel-import', { label: 'Cancel Revit import', actsOn: 'Cancels the in-progress Revit import without removing the current model', group: 'In the Revit workspace', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
def('menu.graft', {
|
|
274
274
|
label: 'Graft',
|
|
275
|
-
actsOn: '
|
|
275
|
+
actsOn: 'Inspects a source and offers to add its generated agent to the library',
|
|
276
276
|
group: 'In the ≡ menu',
|
|
277
277
|
persistence: 'working',
|
|
278
278
|
interaction: 'dialog',
|
|
@@ -280,6 +280,46 @@
|
|
|
280
280
|
guidance: 'on-demand',
|
|
281
281
|
});
|
|
282
282
|
|
|
283
|
+
def('menu.discover-local', {
|
|
284
|
+
label: 'Discover local tools',
|
|
285
|
+
actsOn: 'Looks for installed apps and file names in folders you choose',
|
|
286
|
+
group: 'In the ≡ menu',
|
|
287
|
+
persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
288
|
+
why: 'Shows possible tools found on this computer. Finding a tool does not connect or test it.',
|
|
289
|
+
});
|
|
290
|
+
|
|
291
|
+
def('shell.discovery-choose-folder', {
|
|
292
|
+
label: 'Add a folder to discovery', actsOn: 'Chooses one local folder to inspect',
|
|
293
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
294
|
+
});
|
|
295
|
+
def('shell.discovery-remove-folder', {
|
|
296
|
+
label: 'Remove folder from discovery', actsOn: 'Removes a selected folder from the next scan',
|
|
297
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
298
|
+
});
|
|
299
|
+
def('shell.discovery-scan', {
|
|
300
|
+
label: 'Scan this computer', actsOn: 'Checks installed apps and file names in the folders you chose',
|
|
301
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
|
|
302
|
+
});
|
|
303
|
+
def('shell.discovery-filter', {
|
|
304
|
+
label: 'Search discovery results', actsOn: 'Searches names and paths in all results from the latest scan',
|
|
305
|
+
group: 'In Discover local tools', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
306
|
+
});
|
|
307
|
+
def('shell.discovery-previous', {
|
|
308
|
+
label: 'Previous discovery results', actsOn: 'Shows the previous page of results',
|
|
309
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
310
|
+
});
|
|
311
|
+
def('shell.discovery-next', {
|
|
312
|
+
label: 'Next discovery results', actsOn: 'Shows the next page of results',
|
|
313
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
314
|
+
});
|
|
315
|
+
def('shell.discovery-open-graft', {
|
|
316
|
+
label: 'Open in Graft', actsOn: 'Prefills a supported found source for review in Graft',
|
|
317
|
+
group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
318
|
+
});
|
|
319
|
+
def('shell.discovery-ask-chat', {
|
|
320
|
+
label: 'Ask AI Chat', actsOn: 'Opens an editable unsent draft about this finding',
|
|
321
|
+
group: 'In Discover local tools', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
322
|
+
});
|
|
283
323
|
def('menu.bake', {
|
|
284
324
|
label: 'Bake',
|
|
285
325
|
actsOn: 'Publishes this workflow as an installable app',
|
|
@@ -486,14 +526,14 @@
|
|
|
486
526
|
|
|
487
527
|
def('shell.mode-workspaces', {
|
|
488
528
|
label: 'Workspaces',
|
|
489
|
-
actsOn: 'Opens the project view — drawings, model and exports',
|
|
529
|
+
actsOn: 'Opens the project view — drawings, model and exports. Inside a project, takes you back to all projects',
|
|
490
530
|
group: 'In the header',
|
|
491
531
|
key: 'Also: Ctrl+1 / Ctrl+2 to swap',
|
|
492
532
|
persistence: 'local',
|
|
493
533
|
interaction: 'instant',
|
|
494
534
|
risk: [],
|
|
495
535
|
guidance: 'on-demand',
|
|
496
|
-
why: 'Everything for one job in one place. Use this when you are working ON a project, rather than building the process that runs against it.',
|
|
536
|
+
why: 'Everything for one job in one place. Use this when you are working ON a project, rather than building the process that runs against it. Already in a project? Clicking it again leaves that project and shows the list — the same as the ‹ button next to the project name.',
|
|
497
537
|
});
|
|
498
538
|
|
|
499
539
|
def('shell.mode-workflows', {
|
|
@@ -633,6 +673,70 @@
|
|
|
633
673
|
why: 'The project is still restored when its RFIs cannot be carried safely; the result message says exactly what crossed.',
|
|
634
674
|
});
|
|
635
675
|
|
|
676
|
+
def('shell.project-create-steel-from-drawings', {
|
|
677
|
+
label: 'Steel model from drawings',
|
|
678
|
+
actsOn: 'Opens the drawing picker to start a steel model project',
|
|
679
|
+
group: 'In the project list',
|
|
680
|
+
persistence: 'none',
|
|
681
|
+
interaction: 'dialog',
|
|
682
|
+
risk: [],
|
|
683
|
+
guidance: 'on-demand',
|
|
684
|
+
why: 'The project is created only after you choose drawings and confirm its setup.',
|
|
685
|
+
});
|
|
686
|
+
|
|
687
|
+
def('shell.project-create-trace-from-drawing', {
|
|
688
|
+
label: 'Trace a drawing',
|
|
689
|
+
actsOn: 'Opens the drawing picker to start a Trace project',
|
|
690
|
+
group: 'In the project list',
|
|
691
|
+
persistence: 'none',
|
|
692
|
+
interaction: 'dialog',
|
|
693
|
+
risk: [],
|
|
694
|
+
guidance: 'on-demand',
|
|
695
|
+
why: 'The project is created only after you choose a drawing and confirm its setup.',
|
|
696
|
+
});
|
|
697
|
+
|
|
698
|
+
def('shell.project-steel-missing-workflow', {
|
|
699
|
+
label: 'Steel model needs setup',
|
|
700
|
+
actsOn: 'Explains that the Steel workflow is missing and how to report the setup problem',
|
|
701
|
+
group: 'In the project list',
|
|
702
|
+
persistence: 'none',
|
|
703
|
+
interaction: 'instant',
|
|
704
|
+
risk: [],
|
|
705
|
+
guidance: 'on-demand',
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
def('shell.project-trace-missing-workflow', {
|
|
709
|
+
label: 'Trace needs setup',
|
|
710
|
+
actsOn: 'Explains that the Trace workflow is missing and how to report the setup problem',
|
|
711
|
+
group: 'In the project list',
|
|
712
|
+
persistence: 'none',
|
|
713
|
+
interaction: 'instant',
|
|
714
|
+
risk: [],
|
|
715
|
+
guidance: 'on-demand',
|
|
716
|
+
});
|
|
717
|
+
|
|
718
|
+
def('shell.revit-view-access', {
|
|
719
|
+
label: 'View Revit setup',
|
|
720
|
+
actsOn: 'Opens Revit access and setup details for this Workspace',
|
|
721
|
+
group: 'In the project list',
|
|
722
|
+
persistence: 'none',
|
|
723
|
+
interaction: 'dialog',
|
|
724
|
+
risk: [],
|
|
725
|
+
guidance: 'on-demand',
|
|
726
|
+
why: 'This card explains why Revit projects cannot be opened and leads to the available recovery action.',
|
|
727
|
+
});
|
|
728
|
+
|
|
729
|
+
def('shell.revit-report-setup-issue', {
|
|
730
|
+
label: 'Report missing Revit reader',
|
|
731
|
+
actsOn: 'Opens a FloLess issue report about the missing Revit reader version',
|
|
732
|
+
group: 'In the Integrations dialog',
|
|
733
|
+
persistence: 'none',
|
|
734
|
+
interaction: 'dialog',
|
|
735
|
+
risk: [],
|
|
736
|
+
guidance: 'on-demand',
|
|
737
|
+
why: 'The report includes the FloLess and AWARE versions; describe what happened before sending it.',
|
|
738
|
+
});
|
|
739
|
+
|
|
636
740
|
def('shell.project-folder-choose', {
|
|
637
741
|
label: 'Choose project folder',
|
|
638
742
|
actsOn: 'Chooses the project folder that stores this project and where AI starts',
|
|
@@ -1209,13 +1313,23 @@
|
|
|
1209
1313
|
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1210
1314
|
});
|
|
1211
1315
|
def('shell.chat-settings', {
|
|
1212
|
-
label: 'Chat settings', actsOn: 'Shows provider, model, effort, file access, connected accounts, desktop continuation status, and where conversation data goes',
|
|
1316
|
+
label: 'Chat settings', actsOn: 'Shows provider and its signed-in account, model, effort, file access, connected accounts, desktop continuation status, and where conversation data goes',
|
|
1213
1317
|
group: 'In AI Chat', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
|
|
1214
1318
|
});
|
|
1215
1319
|
def('shell.chat-model', {
|
|
1216
1320
|
label: 'AI model', actsOn: 'Chooses the model for later turns in this conversation',
|
|
1217
1321
|
group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
|
|
1218
1322
|
});
|
|
1323
|
+
def('shell.chat-switch-account', {
|
|
1324
|
+
label: 'Switch provider account', actsOn: 'Signs the Claude or Codex CLI out, then opens its own sign-in in a window so later turns answer from a different account',
|
|
1325
|
+
group: 'In AI Chat settings', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1326
|
+
why: 'FloLess answers from whichever account is signed in to the Claude Code or Codex CLI on this computer; signing in to the Claude desktop app or claude.ai does not change it.',
|
|
1327
|
+
});
|
|
1328
|
+
def('shell.chat-sign-in', {
|
|
1329
|
+
label: 'Sign in to provider', actsOn: 'Opens the Claude or Codex sign-in in a window so this conversation can start — signing the CLI out first if it still holds an account',
|
|
1330
|
+
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1331
|
+
why: 'Shown in the empty conversation when the Claude or Codex CLI on this computer has no sign-in; the same action lives in Chat settings.',
|
|
1332
|
+
});
|
|
1219
1333
|
def('shell.chat-effort', {
|
|
1220
1334
|
label: 'Reasoning effort', actsOn: 'Chooses the reasoning effort for later turns in this conversation',
|
|
1221
1335
|
group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand',
|
|
@@ -1273,6 +1387,14 @@
|
|
|
1273
1387
|
label: 'Approve once', actsOn: 'Allows the single action described in the approval card',
|
|
1274
1388
|
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
|
|
1275
1389
|
});
|
|
1390
|
+
def('shell.chat-approval-request', {
|
|
1391
|
+
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',
|
|
1392
|
+
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
|
|
1393
|
+
});
|
|
1394
|
+
def('shell.chat-approval-revoke', {
|
|
1395
|
+
label: 'Revoke request auto-approval', actsOn: 'Asks before future access actions in this request; actions already approved may finish',
|
|
1396
|
+
group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1397
|
+
});
|
|
1276
1398
|
def('shell.chat-runtime-retry', {
|
|
1277
1399
|
label: 'Try setting up again', actsOn: 'Starts installing the AI tool version FloLess was tested with again after setup failed',
|
|
1278
1400
|
group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
|
|
@@ -1540,6 +1662,16 @@
|
|
|
1540
1662
|
guidance: 'on-demand',
|
|
1541
1663
|
});
|
|
1542
1664
|
|
|
1665
|
+
def('shell.graft-stop-waiting', {
|
|
1666
|
+
label: 'Stop waiting',
|
|
1667
|
+
actsOn: 'Closes the Build an agent dialog while the Tekla model read continues in the host',
|
|
1668
|
+
group: 'In the Build an agent dialog',
|
|
1669
|
+
persistence: 'none',
|
|
1670
|
+
interaction: 'instant',
|
|
1671
|
+
risk: [],
|
|
1672
|
+
guidance: 'on-demand',
|
|
1673
|
+
});
|
|
1674
|
+
|
|
1543
1675
|
def('shell.dialog-close', {
|
|
1544
1676
|
label: 'Close',
|
|
1545
1677
|
actsOn: 'Closes {instance}',
|
|
@@ -1571,6 +1703,14 @@
|
|
|
1571
1703
|
guidance: 'on-demand',
|
|
1572
1704
|
});
|
|
1573
1705
|
|
|
1706
|
+
def('shell.headless-sign-in', {
|
|
1707
|
+
label: 'Switch terminal AI account',
|
|
1708
|
+
actsOn: 'Signs {instance} out, then opens its sign-in in a window so runs and chats answer from a different account',
|
|
1709
|
+
group: 'In the Integrations dialog',
|
|
1710
|
+
persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
|
|
1711
|
+
why: 'FloLess answers from whichever account is signed in to the Claude Code or Codex CLI on this computer; signing in to the Claude desktop app or claude.ai does not change it.',
|
|
1712
|
+
});
|
|
1713
|
+
|
|
1574
1714
|
def('shell.headless-folder', {
|
|
1575
1715
|
label: 'Choose working folder',
|
|
1576
1716
|
actsOn: 'Chooses the folder used when queued requests start on this computer',
|
|
@@ -2225,9 +2365,39 @@
|
|
|
2225
2365
|
guidance: 'on-demand',
|
|
2226
2366
|
});
|
|
2227
2367
|
|
|
2228
|
-
def('shell.graft-
|
|
2229
|
-
label: '
|
|
2230
|
-
actsOn: '
|
|
2368
|
+
def('shell.graft-inspect-source', {
|
|
2369
|
+
label: 'Inspect source',
|
|
2370
|
+
actsOn: 'Reads the selected source and previews generated commands without installing an agent',
|
|
2371
|
+
group: 'In the Build an agent dialog',
|
|
2372
|
+
persistence: 'none',
|
|
2373
|
+
interaction: 'instant',
|
|
2374
|
+
risk: ['costs-time'],
|
|
2375
|
+
guidance: 'on-demand',
|
|
2376
|
+
});
|
|
2377
|
+
|
|
2378
|
+
def('shell.graft-create-agent', {
|
|
2379
|
+
label: 'Create agent',
|
|
2380
|
+
actsOn: 'Installs the reviewed agent in the local Agents library without running its commands',
|
|
2381
|
+
group: 'In the Build an agent dialog',
|
|
2382
|
+
persistence: 'local',
|
|
2383
|
+
interaction: 'instant',
|
|
2384
|
+
risk: ['costs-time'],
|
|
2385
|
+
guidance: 'on-demand',
|
|
2386
|
+
});
|
|
2387
|
+
|
|
2388
|
+
def('shell.graft-overwrite-agent', {
|
|
2389
|
+
label: 'Overwrite existing',
|
|
2390
|
+
actsOn: 'Replaces the existing local agent with the reviewed version without running its commands',
|
|
2391
|
+
group: 'In the Build an agent dialog',
|
|
2392
|
+
persistence: 'local',
|
|
2393
|
+
interaction: 'instant',
|
|
2394
|
+
risk: ['destructive', 'costs-time'],
|
|
2395
|
+
guidance: 'on-demand',
|
|
2396
|
+
});
|
|
2397
|
+
|
|
2398
|
+
def('shell.graft-done', {
|
|
2399
|
+
label: 'Done',
|
|
2400
|
+
actsOn: 'Closes the dialog after the agent has been created',
|
|
2231
2401
|
group: 'In the Build an agent dialog',
|
|
2232
2402
|
persistence: 'none',
|
|
2233
2403
|
interaction: 'instant',
|
|
@@ -2235,6 +2405,17 @@
|
|
|
2235
2405
|
guidance: 'on-demand',
|
|
2236
2406
|
});
|
|
2237
2407
|
|
|
2408
|
+
def('shell.graft-verify-tekla-read', {
|
|
2409
|
+
label: 'Verify model read',
|
|
2410
|
+
actsOn: 'Reads the open Tekla model name using the selected Tekla model library; generated agent commands remain unverified',
|
|
2411
|
+
group: 'In the Build an agent dialog',
|
|
2412
|
+
persistence: 'none',
|
|
2413
|
+
interaction: 'instant',
|
|
2414
|
+
risk: ['costs-time'],
|
|
2415
|
+
guidance: 'on-demand',
|
|
2416
|
+
why: 'Runs only after you click. Tekla must have the intended model open, and the selected library must match the one its host uses.',
|
|
2417
|
+
});
|
|
2418
|
+
|
|
2238
2419
|
/* ── baking ─────────────────────────────────────────────────────────────── */
|
|
2239
2420
|
|
|
2240
2421
|
def('shell.bake-confirm', {
|
|
@@ -1310,27 +1310,29 @@
|
|
|
1310
1310
|
why: 'Restoring an earlier version is done from there, not here — this only opens the list.',
|
|
1311
1311
|
});
|
|
1312
1312
|
|
|
1313
|
-
/* ── the 2D
|
|
1313
|
+
/* ── the 2D view band (#1428) — the plan's counterpart of the 3D Fit / Zoom-to-selected pair ── */
|
|
1314
1314
|
|
|
1315
|
-
def('steel.zoom', {
|
|
1316
|
-
label: '
|
|
1317
|
-
actsOn: '
|
|
1318
|
-
group: '
|
|
1315
|
+
def('steel.zoom-fit', {
|
|
1316
|
+
label: 'Fit all to view',
|
|
1317
|
+
actsOn: 'Frames the whole plan in the 2D view',
|
|
1318
|
+
group: 'In the 2D view toolbar',
|
|
1319
|
+
key: 'Also: Home',
|
|
1319
1320
|
persistence: 'none',
|
|
1320
1321
|
interaction: 'instant',
|
|
1321
1322
|
risk: [],
|
|
1322
1323
|
guidance: 'on-demand',
|
|
1323
1324
|
});
|
|
1324
1325
|
|
|
1325
|
-
def('steel.zoom-
|
|
1326
|
-
label: 'Zoom to
|
|
1327
|
-
actsOn: 'Frames the
|
|
1328
|
-
group: '
|
|
1329
|
-
key: 'Also:
|
|
1326
|
+
def('steel.zoom-selection', {
|
|
1327
|
+
label: 'Zoom to selected',
|
|
1328
|
+
actsOn: 'Frames just the selected members on the plan',
|
|
1329
|
+
group: 'In the 2D view toolbar',
|
|
1330
|
+
key: 'Also: Alt+Z or Shift+Space',
|
|
1330
1331
|
persistence: 'none',
|
|
1331
1332
|
interaction: 'instant',
|
|
1332
1333
|
risk: [],
|
|
1333
1334
|
guidance: 'on-demand',
|
|
1335
|
+
why: 'With nothing selected it frames the whole plan, the same as Fit all to view.',
|
|
1334
1336
|
});
|
|
1335
1337
|
|
|
1336
1338
|
/* ── the 3D toolbar ─────────────────────────────────────────────────────── */
|
package/dist/web/index.html
CHANGED
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
</div>
|
|
175
175
|
</div>
|
|
176
176
|
<div class="ai-chat-settings" id="chat-settings" hidden>
|
|
177
|
-
<
|
|
177
|
+
<div class="ai-chat-setting ai-chat-provider" id="chat-provider" data-tip="FloLess uses whichever account is signed in to the Claude Code or Codex CLI on this computer. Signing in to the Claude desktop app or claude.ai does not change it. Switch account signs that CLI out first, then opens a window where you sign in."><span>Provider</span><strong aria-live="polite">—</strong><button data-command-id="shell.chat-switch-account" type="button" class="ai-chat-provider-switch" id="chat-switch-account" hidden>Switch account…</button></div>
|
|
178
178
|
<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>
|
|
179
179
|
<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>
|
|
180
180
|
<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, Working folder write, or Full access."><span>Access</span><strong>Read only</strong></button>
|
|
@@ -345,9 +345,14 @@
|
|
|
345
345
|
<div class="ws-source-placeholder" id="ws-source-placeholder" hidden>
|
|
346
346
|
<div class="ws-source-inner">
|
|
347
347
|
<span class="ws-source-ico" aria-hidden="true">▨</span>
|
|
348
|
+
<!-- Shown INSTEAD of the glyph while data-importing is true (a Revit import in flight), so
|
|
349
|
+
the wait reads as work in progress rather than a dead pane. CSS-only swap on the
|
|
350
|
+
attribute; it is not aria-busy because this pane is the import's own live region. -->
|
|
351
|
+
<span class="ws-source-spin" aria-hidden="true"></span>
|
|
348
352
|
<div class="ws-source-title">This project's source drawing</div>
|
|
349
353
|
<div class="ws-source-sub">The lines on the Traced tab were read from the drawing you imported. Use “Attach revised drawings…” above to re-trace a newer one as a new version.</div>
|
|
350
354
|
<div class="ws-source-actions" id="ws-source-actions" hidden>
|
|
355
|
+
<button type="button" id="ws-revit-open-model" class="primary" data-command-id="revit.open-model" data-tip="Show the imported model on the Model tab. It stays a draft until approved." hidden>Open Model tab</button>
|
|
351
356
|
<button type="button" id="ws-revit-replace" class="btn-mini" data-command-id="revit.replace-import" data-tip="Choose a new RVT. The current model remains available until the replacement is ready.">Replace RVT…</button>
|
|
352
357
|
<button type="button" id="ws-revit-retry" class="btn-mini" data-command-id="revit.retry-import" data-tip="Try importing the already stored RVT again." hidden>Try import again</button>
|
|
353
358
|
<button type="button" id="ws-revit-cancel" class="btn-mini" data-command-id="revit.cancel-import" data-tip="Cancel this import. The existing model remains unchanged." hidden>Cancel import</button>
|
|
@@ -661,6 +666,10 @@
|
|
|
661
666
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 22v-5"/><path d="M15 8V2"/><path d="M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z"/><path d="M9 8V2"/></svg></span>
|
|
662
667
|
<span class="menu-label">Graft into agent</span>
|
|
663
668
|
</button>
|
|
669
|
+
<button class="menu-item" data-action="discover-local" data-command-id="menu.discover-local" role="menuitem">
|
|
670
|
+
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m16 16 5 5M8 11h6m-3-3v6"/></svg></span>
|
|
671
|
+
<span class="menu-label">Discover local tools…</span>
|
|
672
|
+
</button>
|
|
664
673
|
<button class="menu-item" data-action="bake" data-command-id="menu.bake" id="menu-bake-item" role="menuitem">
|
|
665
674
|
<span class="menu-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="M12 22V12"/><polyline points="3.29 7 12 12 20.71 7"/><path d="m7.5 4.27 9 5.15"/></svg></span>
|
|
666
675
|
<span class="menu-label" id="menu-bake-label">Bake into agent</span>
|
|
@@ -1053,6 +1062,7 @@
|
|
|
1053
1062
|
</div>
|
|
1054
1063
|
|
|
1055
1064
|
<div class="modal-actions">
|
|
1065
|
+
<button data-command-id="menu.discover-local" id="lib-discover-local" style="margin-right:auto;" data-tip="Look for installed apps and file names in folders you choose">Discover local tools…</button>
|
|
1056
1066
|
<button data-command-id="menu.graft" id="lib-graft" style="margin-right:auto;" data-tip="Build a new agent from a tool you own — a DLL, C# source, NuGet package, or API spec.">⊕ Graft new agent</button>
|
|
1057
1067
|
<button data-command-id="shell.dialog-close#the agent library" id="lib-close">Close</button>
|
|
1058
1068
|
</div>
|
|
@@ -1386,10 +1396,45 @@
|
|
|
1386
1396
|
<div class="modal-title" id="graft-title">Graft into agent</div>
|
|
1387
1397
|
<div class="modal-sub" id="graft-sub">Point at a DLL, package, or API spec — AWARE reads it and builds an agent you can drop into any workflow.</div>
|
|
1388
1398
|
<div id="graft-body"></div>
|
|
1399
|
+
<div id="graft-instructor-note" role="note" aria-label="Instructor guidance" aria-live="polite" tabindex="0" hidden></div>
|
|
1389
1400
|
<div class="modal-actions">
|
|
1390
1401
|
<button data-command-id="shell.graft-back" id="graft-back" style="margin-right:auto;" hidden>‹ Back</button>
|
|
1391
1402
|
<button data-command-id="shell.dialog-cancel#building an agent" id="graft-cancel">Cancel</button>
|
|
1392
|
-
<button data-command-id="shell.graft-
|
|
1403
|
+
<button data-command-id="shell.graft-inspect-source" id="graft-primary" class="primary" disabled>Inspect source</button>
|
|
1404
|
+
</div>
|
|
1405
|
+
</div>
|
|
1406
|
+
</div>
|
|
1407
|
+
|
|
1408
|
+
<div class="modal-backdrop" id="local-discovery-modal" role="dialog" aria-modal="true"
|
|
1409
|
+
aria-labelledby="local-discovery-title" aria-describedby="local-discovery-sub">
|
|
1410
|
+
<div class="modal local-discovery" tabindex="-1">
|
|
1411
|
+
<div class="modal-title" id="local-discovery-title">Discover local tools</div>
|
|
1412
|
+
<div class="modal-sub" id="local-discovery-sub">Look for installation evidence on this computer. Finding a tool does not connect or verify it.</div>
|
|
1413
|
+
<div class="local-discovery-body">
|
|
1414
|
+
<div class="local-discovery-scope">
|
|
1415
|
+
<strong>Where FloLess will look</strong>
|
|
1416
|
+
<p>FloLess looks at the list of installed apps and the names of files ending in .dll directly inside folders you choose. It does not open files, search subfolders, open projects, or run tools.</p>
|
|
1417
|
+
<p>FloLess checks up to 1,024 files and folders in each chosen folder so a very large folder cannot hold up the scan. If there are more, some tools may be missing from the results; choose a smaller folder and scan again.</p>
|
|
1418
|
+
<div id="local-discovery-folders" class="local-discovery-folders" aria-live="polite"></div>
|
|
1419
|
+
<button data-command-id="shell.discovery-choose-folder" id="local-discovery-choose" type="button">+ Add a folder…</button>
|
|
1420
|
+
</div>
|
|
1421
|
+
<div id="local-discovery-status" class="local-discovery-status" role="status" aria-live="polite">Review the scope, then scan.</div>
|
|
1422
|
+
<div id="local-discovery-errors" class="local-discovery-errors" hidden></div>
|
|
1423
|
+
<div id="local-discovery-browse" class="local-discovery-browse" hidden>
|
|
1424
|
+
<p>Results appear 40 at a time so the list stays easy to browse. Search checks every result from this scan.</p>
|
|
1425
|
+
<label for="local-discovery-filter">Search results by name or path</label>
|
|
1426
|
+
<input data-command-id="shell.discovery-filter" id="local-discovery-filter" type="text" autocomplete="off" placeholder="Find a tool or DLL…">
|
|
1427
|
+
<div class="local-discovery-page-row">
|
|
1428
|
+
<span id="local-discovery-count" role="status" aria-live="polite" tabindex="-1"></span>
|
|
1429
|
+
<button data-command-id="shell.discovery-previous" id="local-discovery-previous" type="button" hidden>Previous</button>
|
|
1430
|
+
<button data-command-id="shell.discovery-next" id="local-discovery-next" type="button" hidden>Next</button>
|
|
1431
|
+
</div>
|
|
1432
|
+
</div>
|
|
1433
|
+
<div id="local-discovery-results" class="local-discovery-results" aria-label="Local tool findings"></div>
|
|
1434
|
+
</div>
|
|
1435
|
+
<div class="modal-actions">
|
|
1436
|
+
<button data-command-id="shell.dialog-close#local discovery" id="local-discovery-close" type="button">Close</button>
|
|
1437
|
+
<button data-command-id="shell.discovery-scan" id="local-discovery-scan" class="primary" type="button">Scan this computer</button>
|
|
1393
1438
|
</div>
|
|
1394
1439
|
</div>
|
|
1395
1440
|
</div>
|
|
@@ -1430,6 +1475,7 @@
|
|
|
1430
1475
|
<script src="workspaces.js"></script>
|
|
1431
1476
|
<script src="left-pane.js"></script>
|
|
1432
1477
|
<script src="chat.js"></script>
|
|
1478
|
+
<script src="local-discovery.js"></script>
|
|
1433
1479
|
<script src="commands-shell.js"></script>
|
|
1434
1480
|
<!-- The steel editor's capabilities load HERE as well as in steel-editor.html, and that is
|
|
1435
1481
|
deliberate: the shell is the sole guidance producer, so it must be able to resolve a
|
package/dist/web/instructor.js
CHANGED
|
@@ -372,6 +372,13 @@
|
|
|
372
372
|
$ask.dataset.subject = g.ask;
|
|
373
373
|
$askQueue.dataset.subject = g.ask;
|
|
374
374
|
}
|
|
375
|
+
return g;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
function publishGraftGuidance(guidance) {
|
|
379
|
+
if (guidance && typeof window.flolessGraftInstructorExplain === 'function') {
|
|
380
|
+
window.flolessGraftInstructorExplain({ chip: guidance.chip || '', parts: guidance.parts.slice(), commandId: guidance.commandId || '' });
|
|
381
|
+
}
|
|
375
382
|
}
|
|
376
383
|
|
|
377
384
|
function setCollapsed(next) {
|
|
@@ -543,7 +550,20 @@
|
|
|
543
550
|
: activeSurface();
|
|
544
551
|
if (!setFocusEntry(f, origin)) return false;
|
|
545
552
|
if (collapsed) setCollapsed(false);
|
|
546
|
-
paint();
|
|
553
|
+
publishGraftGuidance(paint());
|
|
554
|
+
return true;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
// A control whose label or enabled state changed must be read directly. The
|
|
558
|
+
// ordinary ?/F1 route also considers recent pointer intent, which may now be
|
|
559
|
+
// over a different control while keyboard focus remains on this one.
|
|
560
|
+
function refreshCarrier(el) {
|
|
561
|
+
if (!enabled || !el || !el.isConnected) return false;
|
|
562
|
+
var origin = el.ownerDocument === document
|
|
563
|
+
? (snapshot.workspace ? 'workspaces' : 'shell')
|
|
564
|
+
: activeSurface();
|
|
565
|
+
if (!setFocusEntry(focusFor(el), origin)) return false;
|
|
566
|
+
publishGraftGuidance(paint());
|
|
547
567
|
return true;
|
|
548
568
|
}
|
|
549
569
|
|
|
@@ -581,6 +601,7 @@
|
|
|
581
601
|
function clearFocusEntry() {
|
|
582
602
|
if (!snapshot.focus) return;
|
|
583
603
|
snapshot.focus = null;
|
|
604
|
+
if (typeof window.flolessGraftInstructorClear === 'function') window.flolessGraftInstructorClear();
|
|
584
605
|
paint();
|
|
585
606
|
}
|
|
586
607
|
|
|
@@ -717,14 +738,14 @@
|
|
|
717
738
|
'In AI Chat', 'In AI Chat history', 'In AI Chat settings', 'In the node Inspect panel', 'In the Instructor strip',
|
|
718
739
|
'In the ≡ menu', 'In the footer',
|
|
719
740
|
'In the contract editor', 'In the report viewer', 'In the Knowledge Base viewer', 'In the guide',
|
|
720
|
-
'In the agent library', 'In the requests list', 'In the revision review', 'In the run request dialog', 'In the Integrations dialog', 'In the Routines dialog',
|
|
741
|
+
'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',
|
|
721
742
|
'In the Report an issue dialog', 'In the Build an agent dialog', 'In the Bake dialog', 'In the CAD send review',
|
|
722
743
|
'In the FloLess dialogs',
|
|
723
744
|
/* the steel editor — read top-left down, then the menus, then the dialogs.
|
|
724
745
|
The ⋯ menu is six groups rather than one because it is six accordion
|
|
725
746
|
sections on screen: a single 'In the ⋯ menu' would have been about thirty
|
|
726
747
|
rows under one heading, which is a scroll rather than a list. */
|
|
727
|
-
'In the steel editor header', 'On the steel canvas', 'On the drawing canvas', 'In the Copy panel', 'In the Copy array panel', '
|
|
748
|
+
'In the steel editor header', 'On the steel canvas', 'On the drawing canvas', 'In the Copy panel', 'In the Copy array panel', 'In the 2D view toolbar',
|
|
728
749
|
'In the 3D toolbar', 'In the label menus', 'On the select bar', 'On the snap bar',
|
|
729
750
|
'In the grid panel', 'In the Inspect panel', 'In the Properties panel',
|
|
730
751
|
'In the Properties popup', 'In the snap override menu', 'In the dimension value popup', 'In the selection filter',
|
|
@@ -737,7 +758,7 @@
|
|
|
737
758
|
'In the Connections dialog', 'In the reference-model dialogs', 'In the connection-import dialog',
|
|
738
759
|
'In the confidence report', 'In the Ask AI panel', 'In the Ask AI dialog', 'In the Favourites dialog',
|
|
739
760
|
// the read-only Revit model editor
|
|
740
|
-
'In the Revit model header', 'In the Revit model toolbar', 'In the Revit model coordinate HUD', 'In the Revit model selection bar', 'In the Revit model snapping bar',
|
|
761
|
+
'In the Revit model header', 'In the Revit model toolbar', 'In the Revit model coordinate HUD', 'In the Revit model selection bar', 'In the Revit model snapping bar',
|
|
741
762
|
// the drawing filter
|
|
742
763
|
'In the Drawing Filter header', 'In a Drawing Filter message',
|
|
743
764
|
'In the Drawing Filter panel', 'On the Drawing Filter canvas',
|
|
@@ -1349,6 +1370,7 @@
|
|
|
1349
1370
|
paint();
|
|
1350
1371
|
},
|
|
1351
1372
|
explain: explainCurrent,
|
|
1373
|
+
refreshCarrier: refreshCarrier,
|
|
1352
1374
|
clear: clearFocusEntry,
|
|
1353
1375
|
childSnapshot: function () { return snapshot.child; },
|
|
1354
1376
|
isEnabled: function () { return enabled; },
|