@floless/app 0.149.1 → 0.151.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.
Files changed (50) hide show
  1. package/dist/floless-server.cjs +104263 -88361
  2. package/dist/schemas/drawing-check.profile.v1.schema.json +45 -2
  3. package/dist/schemas/steel.model.v2.schema.json +9 -0
  4. package/dist/skills/floless-app-approval/SKILL.md +79 -4
  5. package/dist/skills/floless-app-onboarding/SKILL.md +200 -87
  6. package/dist/skills/floless-app-onboarding/references/aware-runtime.md +27 -18
  7. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +207 -0
  8. package/dist/skills/floless-app-routines/SKILL.md +4 -1
  9. package/dist/skills/floless-app-routines/references/routines-api.md +14 -2
  10. package/dist/skills/floless-app-steel-model/SKILL.md +4 -2
  11. package/dist/skills/floless-app-steel-takeoff/SKILL.md +14 -9
  12. package/dist/skills/floless-app-workflows/SKILL.md +2 -2
  13. package/dist/templates/tekla-parser.flo +13 -3
  14. package/dist/web/agents.js +983 -0
  15. package/dist/web/app.css +556 -43
  16. package/dist/web/app.js +34 -112
  17. package/dist/web/aware.js +1774 -169
  18. package/dist/web/chat.css +62 -1
  19. package/dist/web/chat.js +1666 -59
  20. package/dist/web/commands-drawing-check.js +15 -0
  21. package/dist/web/commands-revit.js +5 -0
  22. package/dist/web/commands-shell.js +955 -53
  23. package/dist/web/commands-tekla-parser.js +8 -1
  24. package/dist/web/connections.js +57 -14
  25. package/dist/web/drawing-check-editor.html +10 -2
  26. package/dist/web/drawing-check-editor.js +569 -40
  27. package/dist/web/drawing-check-overlay.js +45 -2
  28. package/dist/web/guide.js +675 -0
  29. package/dist/web/index.html +162 -31
  30. package/dist/web/instructor.js +91 -8
  31. package/dist/web/leave-guard.js +1 -0
  32. package/dist/web/left-pane.js +20 -1
  33. package/dist/web/local-discovery.js +12 -2
  34. package/dist/web/model-editor.css +32 -32
  35. package/dist/web/model-panel-bridge.js +11 -3
  36. package/dist/web/model-viewport-lighting.js +4 -2
  37. package/dist/web/model-viewport-revit-adapter.js +3 -0
  38. package/dist/web/model-viewport-toolbar.js +6 -3
  39. package/dist/web/model-viewport.js +11 -1
  40. package/dist/web/revit-editor.css +14 -14
  41. package/dist/web/revit-editor.js +64 -12
  42. package/dist/web/steel-3d-core.js +133 -0
  43. package/dist/web/steel-3d-view.js +10 -0
  44. package/dist/web/steel-editor.html +171 -39
  45. package/dist/web/steel-model-v2-client-validation.js +11 -0
  46. package/dist/web/steel-model-v2-commands.js +80 -5
  47. package/dist/web/tool-updates.js +533 -0
  48. package/dist/web/workspaces.js +896 -123
  49. package/package.json +2 -2
  50. package/dist/skills/floless-app-onboarding/references/floless-app-tour.md +0 -156
@@ -160,11 +160,20 @@
160
160
  def('workflow.archive', {
161
161
  label: 'Archive workflow',
162
162
  actsOn: 'Archives {instance} and blocks new runs while keeping its files and history',
163
- group: 'In the workflow picker',
163
+ group: 'In the workflow picker and on a draft workflow',
164
164
  persistence: 'working',
165
165
  interaction: 'dialog',
166
166
  risk: [],
167
167
  guidance: 'on-demand',
168
+ why: 'Restore it from Archived on the Workflows page. Its source, chat, history and publications stay on this computer.',
169
+ });
170
+
171
+ def('workflow.unarchive', {
172
+ label: 'Restore workflow',
173
+ actsOn: 'Returns {instance} to the Workflows page with its source, chat, history and publications',
174
+ group: 'In Archived on the Workflows page',
175
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
176
+ why: 'Restoring does not compile or run the workflow. Queued messages in its AI Chat can continue. Open it to continue where you left off.',
168
177
  });
169
178
 
170
179
  /* ── the ≡ menu ──────────────────────────────────────────────────────────
@@ -259,9 +268,19 @@
259
268
  guidance: 'on-demand',
260
269
  });
261
270
 
271
+ def('menu.tool-updates', {
272
+ label: 'Tool updates',
273
+ actsOn: 'Opens Approve updated workflows: what new tool versions mean for your approved workflows, and a check for new ones',
274
+ group: 'In the ≡ menu',
275
+ persistence: 'none',
276
+ interaction: 'dialog',
277
+ risk: [],
278
+ guidance: 'on-demand',
279
+ });
280
+
262
281
  def('menu.agents', {
263
- label: 'Agents',
264
- actsOn: 'Lists the AWARE agents this runtime can reach',
282
+ label: 'Tools',
283
+ actsOn: 'Lists the AWARE tools this runtime can reach',
265
284
  group: 'In the ≡ menu',
266
285
  key: 'Also: Ctrl+G',
267
286
  persistence: 'none',
@@ -272,7 +291,7 @@
272
291
 
273
292
  def('menu.graft', {
274
293
  label: 'Graft',
275
- actsOn: 'Inspects a source and offers to add its generated agent to the library',
294
+ actsOn: 'Inspects a source and offers to add its generated tool to the library',
276
295
  group: 'In the ≡ menu',
277
296
  persistence: 'working',
278
297
  interaction: 'dialog',
@@ -328,10 +347,12 @@
328
347
  label: 'Copy the command to add a key', actsOn: 'Copies the terminal command that stores your key for {instance}',
329
348
  group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
330
349
  });
350
+ // The same button (and its confirm question) is built on four screens (connections.js checkButton), so each screen
351
+ // has its own ids and Instructor names the place the person is actually in (#1939). Keep the four in step.
331
352
  def('shell.connection-check', {
332
- label: 'Check it works', actsOn: 'Runs the read-only connection check of {instance} against the real program or account and shows a receipt',
353
+ label: 'Check it works', actsOn: 'Runs the tool’s connection check of {instance} against the real program or account and shows a receipt. If FloLess can’t confirm the check only reads, it asks you first',
333
354
  group: 'In Discover local tools', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
334
- why: 'Proves the connection reaches the real program or account. It only reads; a check FloLess cannot confirm as read-only asks you first.',
355
+ why: 'Proves the connection reaches the real program or account. A check FloLess can confirm only reads; one it can’t confirm asks you before it runs.',
335
356
  });
336
357
  def('shell.connection-confirm-run', {
337
358
  label: 'Run the check', actsOn: 'Runs a connection check you were asked to confirm',
@@ -341,29 +362,73 @@
341
362
  label: 'Cancel the check', actsOn: 'Closes the question without running anything',
342
363
  group: 'In Discover local tools', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
343
364
  });
365
+ def('shell.integrations-connection-check', {
366
+ label: 'Check it works', actsOn: 'Runs the tool’s connection check of {instance} against the real program or account and shows a receipt. If FloLess can’t confirm the check only reads, it asks you first',
367
+ group: 'In the Integrations dialog', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
368
+ why: 'Proves the connection reaches the real program or account. A check FloLess can confirm only reads; one it can’t confirm asks you before it runs.',
369
+ });
370
+ def('shell.integrations-connection-confirm-run', {
371
+ label: 'Run the check', actsOn: 'Runs a connection check you were asked to confirm',
372
+ group: 'In the Integrations dialog', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
373
+ });
374
+ def('shell.integrations-connection-confirm-cancel', {
375
+ label: 'Cancel the check', actsOn: 'Closes the question without running anything',
376
+ group: 'In the Integrations dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
377
+ });
378
+ def('shell.chat-connection-check', {
379
+ label: 'Check it works', actsOn: 'Runs the tool’s connection check of {instance} against the real program or account and shows a receipt. If FloLess can’t confirm the check only reads, it asks you first',
380
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
381
+ why: 'Proves the connection reaches the real program or account. A check FloLess can confirm only reads; one it can’t confirm asks you before it runs.',
382
+ });
383
+ def('shell.chat-connection-confirm-run', {
384
+ label: 'Run the check', actsOn: 'Runs a connection check you were asked to confirm',
385
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
386
+ });
387
+ def('shell.chat-connection-confirm-cancel', {
388
+ label: 'Cancel the check', actsOn: 'Closes the question without running anything',
389
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
390
+ });
391
+ def('shell.graft-connection-check', {
392
+ label: 'Check it works', actsOn: 'Runs the tool’s connection check of {instance} against the real program or account and shows a receipt. If FloLess can’t confirm the check only reads, it asks you first',
393
+ group: 'In the Build a tool dialog', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
394
+ why: 'Proves the connection reaches the real program or account. A check FloLess can confirm only reads; one it can’t confirm asks you before it runs.',
395
+ });
396
+ def('shell.graft-connection-confirm-run', {
397
+ label: 'Run the check', actsOn: 'Runs a connection check you were asked to confirm',
398
+ group: 'In the Build a tool dialog', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
399
+ });
400
+ def('shell.graft-connection-confirm-cancel', {
401
+ label: 'Cancel the check', actsOn: 'Closes the question without running anything',
402
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
403
+ });
404
+ def('shell.connection-update', {
405
+ label: 'Open the tool in Tools', actsOn: 'Opens the Tools library at {instance}, where you can update it to the newer version that has, or may have, a connection check',
406
+ group: 'In Discover local tools', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
407
+ why: 'This version has no connection check. Approved workflows that use the tool need compiling again after it updates.',
408
+ });
344
409
  def('shell.integrations-account-choice', {
345
410
  label: 'Account FloLess uses', actsOn: 'Chooses which account FloLess uses for {instance}; FloLess never switches to another on its own',
346
411
  group: 'In the Integrations dialog', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
347
412
  });
348
413
  def('shell.graft-add-check', {
349
414
  label: 'Add a connection check', actsOn: 'Shows the commands this tool could use to check its connection',
350
- group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
415
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
351
416
  });
352
417
  def('shell.graft-check-command', {
353
418
  label: 'Connection check command', actsOn: 'Picks the command the tool will use to check its connection',
354
- group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
419
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
355
420
  });
356
421
  def('shell.graft-add-check-apply', {
357
422
  label: 'Add this check', actsOn: 'Rebuilds the tool with the chosen connection check and shows the preview again',
358
- group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
423
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
359
424
  });
360
425
  def('shell.graft-add-check-cancel', {
361
426
  label: 'Cancel adding a check', actsOn: 'Closes the list without changing the tool',
362
- group: 'In the Build an agent dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
427
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
363
428
  });
364
429
  def('shell.graft-connect-service', {
365
430
  label: 'Connect the account it needs', actsOn: 'Opens Integrations at {instance} so you can connect the account this tool needs',
366
- group: 'In the Build an agent dialog', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
431
+ group: 'In the Build a tool dialog', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
367
432
  });
368
433
  def('shell.discovery-ask-chat', {
369
434
  label: 'Ask AI Chat', actsOn: 'Opens an editable unsent draft about this finding',
@@ -430,6 +495,17 @@
430
495
  guidance: 'on-demand',
431
496
  });
432
497
 
498
+ def('menu.tool-update-policy', {
499
+ label: 'Automatic tool updates',
500
+ actsOn: 'Shows whether small read-only tool fixes may carry a workflow approval over, and turns that on or off',
501
+ group: 'In the ≡ menu',
502
+ persistence: 'external', // recorded with AWARE as a standing approval
503
+ interaction: 'dialog',
504
+ risk: [],
505
+ guidance: 'on-demand',
506
+ why: 'Only a patch update of an official tool, used by steps that only read and whose run instructions are exactly the same, can carry an approval over. Everything else always asks you first.',
507
+ });
508
+
433
509
  def('menu.routines', {
434
510
  label: 'Routines',
435
511
  actsOn: 'Schedules a workflow to run on its own',
@@ -441,6 +517,16 @@
441
517
  guidance: 'on-demand',
442
518
  });
443
519
 
520
+ def('menu.guide', {
521
+ label: 'Guide',
522
+ actsOn: 'Opens the Guide in AI Chat, or first asks whether it may look at this computer',
523
+ group: 'In the ≡ menu',
524
+ persistence: 'none',
525
+ interaction: 'dialog',
526
+ risk: [],
527
+ guidance: 'on-demand',
528
+ });
529
+
444
530
  def('menu.report-issue', {
445
531
  label: 'Report an issue',
446
532
  actsOn: 'Sends a report to the FloLess team',
@@ -609,8 +695,8 @@
609
695
  });
610
696
 
611
697
  def('guide.open', {
612
- label: 'Guide',
613
- actsOn: 'Explains this workflow, step by step',
698
+ label: 'About this workflow or project',
699
+ actsOn: 'Explains the open workflow or project, step by step',
614
700
  group: 'In the header',
615
701
  persistence: 'none',
616
702
  interaction: 'dialog',
@@ -716,6 +802,19 @@
716
802
  why: 'Set an automation up once, then run it whenever the job needs it. Compiling is what freezes the exact version Run executes — which is why Run stays off until you have compiled.',
717
803
  });
718
804
 
805
+ // #2007: the third mode. Agents are delegated responsibilities; the AWARE library is Tools (≡ menu).
806
+ def('shell.mode-agents', {
807
+ label: 'Agents',
808
+ actsOn: 'Opens your agents — responsibilities you hand over, each with what to check and where. Clicked again, goes back to the list of agents',
809
+ group: 'In the header',
810
+ key: 'Also: Ctrl+3',
811
+ persistence: 'local',
812
+ interaction: 'instant',
813
+ risk: [],
814
+ guidance: 'on-demand',
815
+ why: 'An agent remembers a check you want done again and again — on the projects you choose, and only those. You run it by hand and read what it found in AI Chat.',
816
+ });
817
+
719
818
  def('shell.extension-badge', {
720
819
  label: 'Extension edits',
721
820
  actsOn: 'Opens undo, redo and reset for out-of-band edits',
@@ -830,9 +929,56 @@
830
929
  guidance: 'on-demand',
831
930
  });
832
931
 
932
+ /* The landing searches: they hide cards on screen and change nothing saved. */
933
+ def('shell.project-list-search', {
934
+ label: 'Search projects',
935
+ actsOn: 'Shows only the project cards that contain every word you type, anywhere in their name, description, kind or workflow; the cards that start a new project always stay',
936
+ group: 'In the project list',
937
+ key: 'Esc clears it',
938
+ persistence: 'none',
939
+ interaction: 'instant',
940
+ risk: [],
941
+ guidance: 'on-demand',
942
+ why: 'Archived projects are not searched. The search starts empty each time you come back to the project list.',
943
+ });
944
+
945
+ def('shell.project-list-search-clear', {
946
+ label: 'Clear search',
947
+ actsOn: 'Empties the project search and shows every project card again',
948
+ group: 'In the project list',
949
+ key: 'Also: Esc in the search box',
950
+ persistence: 'none',
951
+ interaction: 'instant',
952
+ risk: [],
953
+ guidance: 'on-demand',
954
+ });
955
+
956
+ def('shell.workflows-landing-search', {
957
+ label: 'Search workflows',
958
+ actsOn: 'Shows only the workflow cards that contain every word you type, anywhere in their name or the line under it (its project, or the tool an installed workflow runs on); New workflow always stays',
959
+ group: 'On the Workflows page',
960
+ key: 'Esc clears it',
961
+ persistence: 'none',
962
+ interaction: 'instant',
963
+ risk: [],
964
+ guidance: 'on-demand',
965
+ why: 'When both groups are listed, their headings count what is shown out of the total while you search. The search starts empty each time you come back to the Workflows page.',
966
+ });
967
+
968
+ def('shell.workflows-landing-search-clear', {
969
+ label: 'Clear search',
970
+ actsOn: 'Empties the workflow search and shows every workflow card again',
971
+ group: 'On the Workflows page',
972
+ key: 'Also: Esc in the search box',
973
+ persistence: 'none',
974
+ interaction: 'instant',
975
+ risk: [],
976
+ guidance: 'on-demand',
977
+ });
978
+
833
979
  def('shell.project-import', {
834
980
  label: 'Import project',
835
- actsOn: 'Restores a project archive even when RFIs cannot be carried safely, leaves out RFIs whose links no longer work, and reports what was carried',
981
+ actsOn: 'Restores a project from an exported archive or a zipped project folder even when RFIs cannot be carried safely, leaves out RFIs whose links no longer work and FloLess’s own per-computer files, and reports what was carried and what stayed behind',
836
982
  group: 'In the project list',
837
983
  persistence: 'working',
838
984
  interaction: 'instant',
@@ -843,7 +989,7 @@
843
989
 
844
990
  def('shell.project-create-steel-from-drawings', {
845
991
  label: 'Steel model from drawings',
846
- actsOn: 'Opens the drawing picker to start a steel model project',
992
+ actsOn: 'Opens the drawing picker to start a steel model project; drawings dropped on the card start one the same way',
847
993
  group: 'In the project list',
848
994
  persistence: 'none',
849
995
  interaction: 'dialog',
@@ -854,7 +1000,7 @@
854
1000
 
855
1001
  def('shell.project-create-trace-from-drawing', {
856
1002
  label: 'Trace a drawing',
857
- actsOn: 'Opens the drawing picker to start a Trace project',
1003
+ actsOn: 'Opens the drawing picker to start a Trace project; a drawing dropped on the card starts one the same way',
858
1004
  group: 'In the project list',
859
1005
  persistence: 'none',
860
1006
  interaction: 'dialog',
@@ -865,7 +1011,7 @@
865
1011
 
866
1012
  def('shell.project-create-tekla-read', {
867
1013
  label: 'Read Tekla model',
868
- actsOn: 'Opens the read-only Tekla source picker to start a Parser project',
1014
+ actsOn: 'Opens the read-only Tekla source picker to start a Parser project; a model folder or ZIP dropped on the card starts one the same way',
869
1015
  group: 'In the project list',
870
1016
  persistence: 'none',
871
1017
  interaction: 'dialog',
@@ -874,6 +1020,17 @@
874
1020
  why: 'The source model is not changed; FloLess starts a read only after you choose a model folder or ZIP.',
875
1021
  });
876
1022
 
1023
+ def('shell.project-create-revit-read', {
1024
+ label: 'Read Revit model',
1025
+ actsOn: 'Opens the RVT picker to start a read-only Revit Parser project; an .rvt dropped on the card starts one the same way',
1026
+ group: 'In the project list',
1027
+ persistence: 'none',
1028
+ interaction: 'dialog',
1029
+ risk: [],
1030
+ guidance: 'on-demand',
1031
+ why: 'The source RVT is not changed; FloLess reads it only after you choose the file and confirm the project setup.',
1032
+ });
1033
+
877
1034
  def('shell.project-create-drawing-check-profile', {
878
1035
  label: 'New Drawing Checker client profile',
879
1036
  actsOn: 'Opens project setup for a new Drawing Checker client profile',
@@ -942,11 +1099,15 @@
942
1099
  label: 'Retry Revit Parser setup',
943
1100
  actsOn: 'Retries the read-only Revit Parser setup for this Workspace',
944
1101
  group: 'In the project list',
945
- persistence: 'none',
1102
+ // Setup may reinstall the shared Revit Parser and compile its lock. The packaged parser replaces its
1103
+ // approved model whenever that model can no longer be used as it is: its project was archived or
1104
+ // deleted (#1965), AWARE's compiler changed since the approval (#1941), or it is baked into an older
1105
+ // official Revit Parser (#1480). Provisioning never writes a project's own files or History.
1106
+ persistence: 'approved',
946
1107
  interaction: 'instant',
947
1108
  risk: [],
948
1109
  guidance: 'on-demand',
949
- why: 'This card appears when automatic Revit Parser setup did not finish; retrying checks the same verified parser and entitlement again.',
1110
+ why: 'This card appears when automatic Revit Parser setup did not finish. If the card names something to fix, do that first, then retry. Setup checks the Revit Parser and your account’s access to it again. If the approved model kept in the Revit Parser can no longer be used as it is, setup reinstalls the Revit Parser that comes with FloLess, leaving that approved model out. That happens when the project it was approved in was archived or deleted, when AWARE (the engine FloLess installs) changed since it was approved, or when it was approved with an older Revit Parser. The same retry also finishes Tekla Parser setup, so the approved model kept in the Tekla Parser can be left out the same way. Setup never changes the approval recorded in a project’s History.',
950
1111
  });
951
1112
 
952
1113
  def('shell.tekla-view-access', {
@@ -964,11 +1125,28 @@
964
1125
  label: 'Retry Tekla Parser setup',
965
1126
  actsOn: 'Retries the read-only Tekla Parser setup for this Workspace',
966
1127
  group: 'In the project list',
967
- persistence: 'none',
1128
+ // Setup may reinstall the shared Tekla Parser and compile its lock. The packaged parser replaces its
1129
+ // approved model whenever that model can no longer be used as it is: its project was archived or
1130
+ // deleted (#1965), AWARE's compiler changed since the approval (#1941), or it is baked into an older
1131
+ // official Tekla Parser (#1480). Provisioning never writes a project's own files or History.
1132
+ persistence: 'approved',
1133
+ interaction: 'instant',
1134
+ risk: [],
1135
+ guidance: 'on-demand',
1136
+ why: 'This card appears when automatic Tekla Parser setup did not finish. If the card names something to fix, do that first, then retry. Setup checks the Tekla Parser and your account’s access to it again. If the approved model kept in the Tekla Parser can no longer be used as it is, setup reinstalls the Tekla Parser that comes with FloLess, leaving that approved model out. That happens when the project it was approved in was archived or deleted, when AWARE (the engine FloLess installs) changed since it was approved, or when it was approved with an older Tekla Parser. Setup never changes your projects’ files or the approval recorded in a project’s History.',
1137
+ });
1138
+
1139
+ def('shell.tekla-check-install', {
1140
+ label: 'Check the Tekla Parser files again',
1141
+ actsOn: 'Checks the Tekla Parser files installed with FloLess again, after a reinstall',
1142
+ group: 'In the project list',
1143
+ // The same request as the retry above: once the files check out, setup finishes exactly as a retry
1144
+ // does, so it can replace the Tekla Parser's approved model in the same three cases.
1145
+ persistence: 'approved',
968
1146
  interaction: 'instant',
969
1147
  risk: [],
970
1148
  guidance: 'on-demand',
971
- why: 'This card appears when automatic Tekla Parser setup did not finish; retrying checks the same verified parser and entitlement again.',
1149
+ why: 'This card appears when the Tekla Parser files installed with FloLess can’t be used. Setting up again cannot fix that: reinstall FloLess from floless.io, then check again. Once the files pass, Check again also finishes setup, exactly like Try setup again: if the approved model kept in the Tekla Parser can no longer be used as it is, setup reinstalls the Tekla Parser that comes with FloLess, leaving that approved model out. That happens when the project it was approved in was archived or deleted, when AWARE (the engine FloLess installs) changed since it was approved, or when it was approved with an older Tekla Parser. Setup never changes your projects’ files or the approval recorded in a project’s History.',
972
1150
  });
973
1151
 
974
1152
  def('shell.tekla-report-setup-issue', {
@@ -979,7 +1157,7 @@
979
1157
  interaction: 'dialog',
980
1158
  risk: [],
981
1159
  guidance: 'on-demand',
982
- why: 'A security check did not pass. The model remains untouched and setup is not retried automatically.',
1160
+ why: 'FloLess could not verify this Tekla Parser setup. The model remains untouched and setup is not retried automatically.',
983
1161
  });
984
1162
 
985
1163
  def('shell.revit-report-setup-issue', {
@@ -993,6 +1171,20 @@
993
1171
  why: 'The report includes the FloLess and AWARE versions; describe what happened before sending it.',
994
1172
  });
995
1173
 
1174
+ def('shell.integrations-revit-retry-setup', {
1175
+ label: 'Retry Revit Parser setup',
1176
+ actsOn: 'Retries the read-only Revit Parser setup from its Integrations card',
1177
+ group: 'In the Integrations dialog',
1178
+ // The same request as the Workspace card's retry (shell.revit-retry-setup), so it can replace the Revit
1179
+ // Parser's approved model in the same three cases; its own id because that card's narration names a
1180
+ // card that appears only when setup did not finish, and this one is always listed.
1181
+ persistence: 'approved',
1182
+ interaction: 'instant',
1183
+ risk: [],
1184
+ guidance: 'on-demand',
1185
+ why: 'Try setup again appears on the Revit Parser card when automatic setup did not finish. If the card names something to fix, do that first, then try setup again. Setup checks the Revit Parser and your account’s access to it again. If the approved model kept in the Revit Parser can no longer be used as it is, setup reinstalls the Revit Parser that comes with FloLess, leaving that approved model out. That happens when the project it was approved in was archived or deleted, when AWARE (the engine FloLess installs) changed since it was approved, or when it was approved with an older Revit Parser. The same retry also finishes Tekla Parser setup, so the approved model kept in the Tekla Parser can be left out the same way. Setup never changes the approval recorded in a project’s History.',
1186
+ });
1187
+
996
1188
  def('shell.project-folder-choose', {
997
1189
  label: 'Choose project folder',
998
1190
  actsOn: 'Chooses the project folder that stores this project and where AI starts',
@@ -1089,6 +1281,17 @@
1089
1281
  why: 'The copy is still created when its RFIs cannot be carried safely; the result message says exactly what crossed.',
1090
1282
  });
1091
1283
 
1284
+ def('shell.project-clear-unverified', {
1285
+ label: 'Mark project as checked',
1286
+ actsOn: 'Removes the "imported mid-save, not verified" label from {instance}; the project itself is not changed',
1287
+ group: 'In the project list',
1288
+ persistence: 'working',
1289
+ interaction: 'instant',
1290
+ risk: [],
1291
+ guidance: 'on-demand',
1292
+ why: 'Use it once you have checked the copy is complete, or after importing a fresh Export from the computer it came from.',
1293
+ });
1294
+
1092
1295
  /* ── the panels ─────────────────────────────────────────────────────────── */
1093
1296
 
1094
1297
  def('shell.left-panel', {
@@ -1275,7 +1478,7 @@
1275
1478
  /* ── the canvas find bar ────────────────────────────────────────────────── */
1276
1479
 
1277
1480
  def('shell.find-input', {
1278
- label: 'Find agent',
1481
+ label: 'Find tool',
1279
1482
  actsOn: 'Highlights the nodes whose name matches',
1280
1483
  group: 'On the workflow canvas',
1281
1484
  persistence: 'none',
@@ -1618,6 +1821,14 @@
1618
1821
  group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
1619
1822
  why: 'A damaged conversation cannot be opened or repaired in FloLess; discarding it leaves every other conversation untouched.',
1620
1823
  });
1824
+ def('shell.chat-moved-open', {
1825
+ label: 'Open moved conversation', actsOn: 'Opens {instance} in the workflow it moved into',
1826
+ group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1827
+ });
1828
+ def('shell.chat-moved-remove', {
1829
+ label: 'Remove moved-conversation row', actsOn: 'Removes the row for {instance} from this list; no conversation is deleted',
1830
+ group: 'In AI Chat history', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
1831
+ });
1621
1832
  def('shell.chat-history-filter', {
1622
1833
  label: 'Filter conversation history', actsOn: 'Shows {instance} for the current project or workflow only',
1623
1834
  group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
@@ -1648,6 +1859,7 @@
1648
1859
  });
1649
1860
  def('shell.chat-model', {
1650
1861
  label: 'AI model', actsOn: 'Chooses the model for later turns in this conversation',
1862
+ key: 'Esc closes the list and returns to AI model',
1651
1863
  group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1652
1864
  });
1653
1865
  def('shell.chat-switch-account', {
@@ -1662,14 +1874,17 @@
1662
1874
  });
1663
1875
  def('shell.chat-effort', {
1664
1876
  label: 'Reasoning effort', actsOn: 'Chooses the reasoning effort for later turns in this conversation',
1877
+ key: 'Esc closes the list and returns to Reasoning effort',
1665
1878
  group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand',
1666
1879
  });
1667
1880
  def('shell.chat-permission', {
1668
- label: 'File access', actsOn: 'Chooses whether later turns can read files, write inside the project or workflow folder, or use full local access',
1881
+ label: 'File access', actsOn: 'Chooses whether later turns can only read files, let the AI approve safe steps itself (Auto), write inside the project or workflow folder under the AI’s usual approvals, or use full local access',
1882
+ key: 'Esc closes the list and returns to File access',
1669
1883
  group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
1670
1884
  });
1671
1885
  def('shell.chat-integrations', {
1672
1886
  label: 'Connected accounts', actsOn: 'Shows which FloLess accounts this conversation will use',
1887
+ key: 'Esc closes the list and returns to Connected accounts',
1673
1888
  group: 'In AI Chat settings', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1674
1889
  why: 'A FloLess account selected here is how this chat reaches that service; your own Claude or Codex connectors stay off while one is selected.',
1675
1890
  });
@@ -1688,6 +1903,7 @@
1688
1903
  });
1689
1904
  def('shell.chat-choice', {
1690
1905
  label: 'Choose chat setting', actsOn: 'Sets {instance} for later turns in this conversation',
1906
+ key: 'Esc closes the list and returns to the setting that opened it',
1691
1907
  group: 'In AI Chat settings', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1692
1908
  });
1693
1909
  def('shell.chat-input', {
@@ -1739,6 +1955,188 @@
1739
1955
  label: 'Open workflow', actsOn: 'Opens the workflow {instance} on the canvas', anyInstance: 'a workflow',
1740
1956
  group: 'On the Workflows page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1741
1957
  });
1958
+ // #1890 PR 3b-0: a draft (or a workflow whose installed copy is gone) opens on its own view, with Compile.
1959
+ def('shell.workflows-landing-open-draft', {
1960
+ label: 'Open draft workflow', actsOn: 'Opens the draft workflow {instance}, with its AI Chat', anyInstance: 'a draft workflow',
1961
+ group: 'On the Workflows page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1962
+ });
1963
+ def('shell.workflow-draft-compile', {
1964
+ label: 'Compile', actsOn: 'Compiles this draft workflow so it can run', group: 'On the Workflows page',
1965
+ persistence: 'approved', interaction: 'instant', risk: [], guidance: 'on-demand',
1966
+ });
1967
+ def('shell.workflow-draft-compile-again', {
1968
+ label: 'Compile again', actsOn: 'Compiles this workflow again, because its compiled copy is missing', group: 'On the Workflows page',
1969
+ persistence: 'approved', interaction: 'instant', risk: [], guidance: 'on-demand',
1970
+ });
1971
+ def('shell.workflow-draft-ask-ai', {
1972
+ label: 'Ask AI to fix', actsOn: 'Writes a request to fix this workflow into AI Chat, for you to send', group: 'On the Workflows page',
1973
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1974
+ });
1975
+ def('shell.workflow-draft-retry', {
1976
+ label: 'Try again', actsOn: 'Tries compiling this workflow again', group: 'On the Workflows page',
1977
+ persistence: 'approved', interaction: 'instant', risk: [], guidance: 'on-demand',
1978
+ });
1979
+ // ── #2007: the Agents tab ──
1980
+ def('shell.agents-new', {
1981
+ label: 'New agent', actsOn: 'Opens a new agent to fill in: its name, what it should check, and the projects it works on',
1982
+ group: 'On the Agents page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1983
+ });
1984
+ def('shell.agents-open', {
1985
+ label: 'Open agent', actsOn: 'Opens the agent {instance}: its instructions, where it works, and its runs', anyInstance: 'an agent',
1986
+ group: 'On the Agents page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1987
+ });
1988
+ def('shell.agents-filter', {
1989
+ label: 'Show {instance} agents', actsOn: 'Shows the {instance} agents', anyInstance: 'active or archived',
1990
+ group: 'On the Agents page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1991
+ });
1992
+ def('shell.agents-reload-list', {
1993
+ label: 'Try again', actsOn: 'Reads the list of agents again', group: 'On the Agents page',
1994
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1995
+ });
1996
+ def('shell.agents-back', {
1997
+ label: 'Back to all agents', actsOn: 'Leaves this agent for the list of agents (asks first if you have unsaved changes)',
1998
+ group: 'On an agent', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1999
+ });
2000
+ def('shell.agents-name', {
2001
+ label: 'Agent name', actsOn: 'The name this agent is listed under', group: 'On an agent',
2002
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2003
+ });
2004
+ def('shell.agents-instructions', {
2005
+ label: 'What should it do?', actsOn: 'The plain-English brief that is the first message of every run', group: 'On an agent',
2006
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2007
+ why: 'Write it as you would brief a colleague. The AI reads it on the projects this agent works on.',
2008
+ });
2009
+ def('shell.agents-scope-add', {
2010
+ label: 'Add project or workflow', actsOn: 'Opens a list of projects and workflows to add to this agent', group: 'On an agent',
2011
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2012
+ why: 'An agent works only where you put it. New projects are never added on their own.',
2013
+ });
2014
+ def('shell.agents-scope-search', {
2015
+ label: 'Search projects and workflows', actsOn: 'Narrows the list of projects and workflows you can add', group: 'On an agent',
2016
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2017
+ });
2018
+ def('shell.agents-scope-option', {
2019
+ label: 'Add {instance}', actsOn: 'Adds {instance} to the places this agent works', anyInstance: 'a project or workflow',
2020
+ group: 'On an agent', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2021
+ });
2022
+ def('shell.agents-scope-remove', {
2023
+ label: 'Remove {instance}', actsOn: 'Takes {instance} out of the places this agent works', anyInstance: 'a project or workflow',
2024
+ group: 'On an agent', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2025
+ });
2026
+ def('shell.agents-mode', {
2027
+ label: '{instance}', actsOn: 'Sets how the agent treats several projects: {instance}', anyInstance: 'each separately, or compared',
2028
+ group: 'On an agent', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2029
+ why: 'Each separately starts one conversation per project, each told only about its own. Compare starts one conversation that sees all of them.',
2030
+ });
2031
+ def('shell.agents-allow-changes', {
2032
+ label: 'Can change files', actsOn: 'Lets this agent’s runs change files. Off, they only read and report', group: 'On an agent',
2033
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
2034
+ why: 'Even when on, a file edit outside the run’s home project asks you first. Commands follow your Claude or Codex approval settings.',
2035
+ });
2036
+ def('shell.agents-save', {
2037
+ label: 'Save agent', actsOn: 'Saves this agent (Create, for a new one)', group: 'On an agent',
2038
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2039
+ });
2040
+ def('shell.agents-reload', {
2041
+ label: 'Load the current version', actsOn: 'Replaces your unsaved edits with the version saved elsewhere', group: 'On an agent',
2042
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2043
+ });
2044
+ def('shell.agents-archive', {
2045
+ label: 'Archive agent', actsOn: 'Moves this agent to Archived after you confirm; its past runs are kept', group: 'On an agent',
2046
+ persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
2047
+ });
2048
+ def('shell.agents-archive-confirm', {
2049
+ label: 'Archive', actsOn: 'Archives this agent; runs already going keep going', group: 'On an agent',
2050
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2051
+ });
2052
+ def('shell.agents-archive-save', {
2053
+ label: 'Save and archive', actsOn: 'Saves your unsaved changes to this agent, then archives it', group: 'On an agent',
2054
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2055
+ });
2056
+ def('shell.agents-archive-discard', {
2057
+ label: 'Archive without changes', actsOn: 'Archives this agent as last saved; your unsaved changes are dropped', group: 'On an agent',
2058
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2059
+ });
2060
+ def('shell.agents-archive-cancel', {
2061
+ label: 'Cancel', actsOn: 'Keeps this agent as it is', group: 'On an agent',
2062
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2063
+ });
2064
+ def('shell.agents-restore', {
2065
+ label: 'Restore agent', actsOn: 'Brings this archived agent back so it can be changed and run', group: 'On an agent',
2066
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2067
+ });
2068
+ def('shell.agents-leave-save', {
2069
+ label: 'Save', actsOn: 'Saves this agent, then leaves it', group: 'On an agent',
2070
+ persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2071
+ });
2072
+ def('shell.agents-leave-discard', {
2073
+ label: 'Discard', actsOn: 'Leaves this agent without saving your changes', group: 'On an agent',
2074
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2075
+ });
2076
+ def('shell.agents-leave-stay', {
2077
+ label: 'Stay', actsOn: 'Stays on this agent with your changes', group: 'On an agent',
2078
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2079
+ });
2080
+ def('shell.agents-run', {
2081
+ label: 'Run agent', actsOn: 'Shows exactly what will start, then runs this agent by hand when you confirm (saves your changes first)',
2082
+ group: 'On an agent', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2083
+ why: 'Each run is an ordinary AI Chat conversation you can watch and answer. Nothing starts until you confirm.',
2084
+ });
2085
+ // #2035: a routine can run this agent on a schedule, with nobody watching.
2086
+ def('shell.agents-schedule', {
2087
+ label: 'Schedule agent', actsOn: 'Opens a new routine that runs this agent on a schedule (saves your changes first)',
2088
+ group: 'On an agent', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2089
+ why: 'Nobody watches a scheduled run, so anything that would ask you is declined and listed for you afterwards under Questions for you.',
2090
+ });
2091
+ def('shell.agents-run-questions', {
2092
+ label: 'Questions for you', actsOn: 'Shows the steps the scheduled run on {instance} declined because nobody was watching',
2093
+ anyInstance: 'a project', group: 'On an agent', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2094
+ });
2095
+ def('shell.agents-run-confirm', {
2096
+ label: 'Run', actsOn: 'Starts the conversations listed here — up to four at a time, the rest wait their turn', group: 'On an agent',
2097
+ persistence: 'approved', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2098
+ });
2099
+ def('shell.agents-run-cancel', {
2100
+ label: 'Cancel', actsOn: 'Closes this without starting anything', group: 'On an agent',
2101
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2102
+ });
2103
+ def('shell.agents-run-edit', {
2104
+ label: 'Edit scope', actsOn: 'Closes this and takes you to what needs filling in before the agent can run', group: 'On an agent',
2105
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2106
+ });
2107
+ def('shell.agents-run-provider', {
2108
+ label: 'Run with {instance}', actsOn: 'Chooses {instance} to answer this run', anyInstance: 'Claude or Codex',
2109
+ group: 'On an agent', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2110
+ });
2111
+ def('shell.agents-run-open', {
2112
+ label: 'Open conversation', actsOn: 'Shows the conversation of this run on {instance} in AI Chat, on the left', anyInstance: 'a project',
2113
+ group: 'On an agent', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2114
+ });
2115
+ def('shell.agents-run-open-home', {
2116
+ label: 'Open in project', actsOn: 'Goes to {instance}, where this run’s conversation is kept', anyInstance: 'the run’s project or workflow',
2117
+ group: 'On an agent', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2118
+ });
2119
+ def('shell.agents-back-to-chat', {
2120
+ label: 'Back to workspace chat', actsOn: 'AI Chat on the left goes back to the workspace conversation', group: 'On an agent',
2121
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2122
+ });
2123
+ def('shell.agents-run-retry', {
2124
+ label: 'Start this one again', actsOn: 'Starts the run on {instance} again, in the same conversation', anyInstance: 'a project',
2125
+ group: 'On an agent', persistence: 'approved', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2126
+ });
2127
+ def('shell.agents-retry-confirm', {
2128
+ label: 'Start again', actsOn: 'Starts a run FloLess is not sure started — its instructions may be sent a second time', group: 'On an agent',
2129
+ persistence: 'approved', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2130
+ });
2131
+ def('shell.agents-retry-cancel', {
2132
+ label: 'Cancel', actsOn: 'Leaves that run as it is', group: 'On an agent',
2133
+ persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2134
+ });
2135
+ def('shell.agents-run-cancel-target', {
2136
+ label: 'Don’t run this one', actsOn: 'Takes {instance} out of this run before it starts', anyInstance: 'a waiting project',
2137
+ group: 'On an agent', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2138
+ });
2139
+
1742
2140
  def('shell.workflows-landing-new', {
1743
2141
  label: 'New workflow', actsOn: 'Starts a new workflow: you name it and choose where it belongs, then AI builds it with you',
1744
2142
  group: 'On the Workflows page', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
@@ -1784,14 +2182,15 @@
1784
2182
  group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
1785
2183
  });
1786
2184
  // #1882: a height question a drawing read asked the person. Only the person can answer it, and the answer
1787
- // goes straight into the model the read publishes.
2185
+ // goes straight into the model the read publishes — except for a member ALREADY in the model (#1903),
2186
+ // whose answer is proposed in the staged review and lands only if the person accepts it there.
1788
2187
  def('shell.chat-height-rows', {
1789
2188
  label: 'Heights to confirm', actsOn: 'Lists the member heights {instance} asks you about', anyInstance: 'a height question',
1790
2189
  group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1791
- why: 'The drawings did not settle these heights. The AI cannot answer for you; what you confirm or type here is what the model uses.',
2190
+ why: 'The AI cannot answer for you. For a new member, what you confirm or type here is what the model uses; for a member already in the model, it is proposed in the review and lands only if you accept it there.',
1792
2191
  });
1793
2192
  def('shell.chat-height-confirm', {
1794
- label: 'Confirm proposed height', actsOn: 'Records the proposed height for {instance} as your answer; the read uses it in the model', anyInstance: 'a member end',
2193
+ label: 'Confirm proposed height', actsOn: 'Records the proposed height for {instance} as your answer; the read uses it in the model, or proposes it in the review if the member is already in the model', anyInstance: 'a member end',
1795
2194
  group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1796
2195
  why: 'Your click is the record: the AI cannot confirm a height for you. You can change it until the read publishes.',
1797
2196
  });
@@ -1800,7 +2199,7 @@
1800
2199
  group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1801
2200
  });
1802
2201
  def('shell.chat-height-use', {
1803
- label: 'Use typed height', actsOn: 'Records the height you typed for {instance} as your answer; the read uses it in the model', anyInstance: 'a member end',
2202
+ label: 'Use typed height', actsOn: 'Records the height you typed for {instance} as your answer; the read uses it in the model, or proposes it in the review if the member is already in the model', anyInstance: 'a member end',
1804
2203
  group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1805
2204
  why: 'FloLess reads the height you typed in this project’s units and refuses anything it cannot read, so a typo never becomes a height.',
1806
2205
  });
@@ -1955,6 +2354,24 @@
1955
2354
  label: 'Check last AI response', actsOn: 'Checks the provider before FloLess allows another message after an interrupted connection',
1956
2355
  group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
1957
2356
  });
2357
+ // #1890 PR 3b: a workspace conversation moving into the workflow it built.
2358
+ def('shell.chat-move-retry', {
2359
+ label: 'Try moving the conversation again', actsOn: 'Tries again now to move this conversation into the workflow it created',
2360
+ group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2361
+ why: 'A move waits when something else is changing that workflow; FloLess also tries again by itself.',
2362
+ });
2363
+ def('shell.chat-move-keep', {
2364
+ label: 'Keep the conversation here', actsOn: 'Stops trying to move this conversation; it stays in the workspace and works as before',
2365
+ group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2366
+ });
2367
+ def('shell.chat-move-open', {
2368
+ label: 'Open the workflow a conversation moved into', actsOn: 'Opens the workflow and the conversation there',
2369
+ group: 'In AI Chat', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
2370
+ });
2371
+ def('shell.chat-move-dismiss', {
2372
+ label: 'Dismiss the move notice', actsOn: 'Hides the note that a conversation moved into a workflow',
2373
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2374
+ });
1958
2375
  def('shell.chat-approval-allow', {
1959
2376
  label: 'Approve once', actsOn: 'Allows the single action described in the approval card',
1960
2377
  group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
@@ -1981,6 +2398,111 @@
1981
2398
  anyInstance: 'that connector',
1982
2399
  group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1983
2400
  });
2401
+ // #1890 PR 2b: a workspace conversation's file change asks first; it may be allowed per project/workflow for the chat.
2402
+ def('shell.chat-change-allow-chat', {
2403
+ label: 'Allow file changes for this chat', actsOn: 'Allows this file change and later file changes inside this conversation’s scope, including folders added later, without asking again until you revoke it; commands and tools keep their own approvals',
2404
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2405
+ why: 'Each file change is still shown in the chat. Your home folder keeps its current permission setting. Revoke restores approvals where that setting requires them.',
2406
+ });
2407
+ def('shell.chat-scope-open', {
2408
+ label: 'Conversation scope', actsOn: 'Shows the pinned home folder and other projects or workflows this conversation can work on',
2409
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2410
+ });
2411
+ def('shell.chat-scope-close', {
2412
+ label: 'Close conversation scope', actsOn: 'Closes the scope picker without changing the conversation',
2413
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2414
+ });
2415
+ def('shell.chat-scope-choose', {
2416
+ label: 'Choose a scope folder', actsOn: 'Shows what adding {instance} to this conversation would allow before you confirm', anyInstance: 'that project or workflow',
2417
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2418
+ });
2419
+ def('shell.chat-scope-add', {
2420
+ label: 'Add conversation scope', actsOn: 'Adds {instance} to this conversation’s scope; when file changes are allowed for this chat, changes in this folder are also allowed without asking', anyInstance: 'that project or workflow',
2421
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2422
+ });
2423
+ def('shell.chat-scope-remove', {
2424
+ label: 'Remove conversation scope', actsOn: 'Removes {instance} from this conversation’s added folders; changes already made are kept', anyInstance: 'that project or workflow',
2425
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2426
+ });
2427
+ def('shell.chat-scope-back', {
2428
+ label: 'Back to scope choices', actsOn: 'Returns to the available projects and workflows without adding the selected folder',
2429
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2430
+ });
2431
+ def('shell.chat-scope-add-approve', {
2432
+ label: 'Approve scope addition', actsOn: 'Adds the folder named on the card to this conversation; if file changes are already allowed for this chat, they are also allowed in the new folder without asking',
2433
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2434
+ });
2435
+ def('shell.chat-change-allowance-revoke-all', {
2436
+ label: 'Revoke file changes for this chat', actsOn: 'Ends standing file-change allowances for this conversation; future edits ask where your permission setting requires approval, and actions already approved may finish',
2437
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2438
+ why: 'Your home folder keeps its current permission setting. Commands and tools have their own approvals.',
2439
+ });
2440
+ // #1890 PR 3a: a workspace conversation asks before it creates a workflow; approved once, never for the chat.
2441
+ def('shell.chat-workflow-create-approve', {
2442
+ label: 'Create workflow', actsOn: 'Creates the workflow named on the card, in the project it names or on its own; the AI then writes its files in the same reply',
2443
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2444
+ });
2445
+ def('shell.chat-change-allowance-revoke', {
2446
+ label: 'Revoke changes for this chat', actsOn: 'Makes the AI ask you again before it changes {instance} in this conversation; a change already running may finish',
2447
+ anyInstance: 'that project or workflow',
2448
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2449
+ });
2450
+ // #1900: the AI may suggest connecting something; every button on that card is the person's own act.
2451
+ def('shell.chat-connection-connect', {
2452
+ label: 'Connect a suggested service', actsOn: 'Opens Integrations at {instance} so you can connect it; nothing is connected until you do it there',
2453
+ anyInstance: 'the service on the card',
2454
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2455
+ });
2456
+ def('shell.chat-connection-use-existing', {
2457
+ label: 'Use an existing connection', actsOn: 'Opens Integrations at {instance}, where you choose which of its connected accounts FloLess uses',
2458
+ anyInstance: 'the service on the card',
2459
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2460
+ });
2461
+ def('shell.chat-connection-set-up-separate', {
2462
+ label: 'Set up a separate connection', actsOn: 'Opens Integrations at {instance}, where you can connect another account just for FloLess',
2463
+ anyInstance: 'the service on the card',
2464
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2465
+ });
2466
+ def('shell.chat-connection-change-account', {
2467
+ label: 'Change the account FloLess uses', actsOn: 'Opens Integrations at {instance}, where you choose the account FloLess uses for it',
2468
+ anyInstance: 'the service on the card',
2469
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2470
+ });
2471
+ def('shell.chat-connection-copy-key', {
2472
+ label: 'Copy the command to add a key', actsOn: 'Copies the terminal command that stores your key for {instance}; FloLess never sees the key',
2473
+ anyInstance: 'the service on the card',
2474
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2475
+ });
2476
+ def('shell.chat-connection-retry', {
2477
+ label: 'Read connections again', actsOn: 'Reads again what is connected to FloLess and repaints the suggestion card for {instance}',
2478
+ anyInstance: 'the suggestion card',
2479
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2480
+ });
2481
+ def('shell.chat-connection-not-now', {
2482
+ label: 'Not now', actsOn: 'Sets the suggestion to connect {instance} aside; the AI won’t suggest it again in this chat unless you choose Show again',
2483
+ anyInstance: 'the suggestion card',
2484
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2485
+ });
2486
+ def('shell.chat-connection-show-again', {
2487
+ label: 'Show the suggestion again', actsOn: 'Brings back the suggestion to connect {instance}, so you can connect or check it',
2488
+ anyInstance: 'the suggestion card',
2489
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2490
+ });
2491
+ def('shell.chat-connection-check-allow-chat', {
2492
+ label: 'Allow checks for this chat', actsOn: 'Allows this connection check of {instance}, and every identical later one in this conversation, without asking again until you revoke it',
2493
+ anyInstance: 'the tool on the card',
2494
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2495
+ why: 'Saves approving the same read-only check one by one. It covers only this tool with this account, every check is still shown in the chat, and it ends if the account behind it changes.',
2496
+ });
2497
+ def('shell.chat-check-allowance-revoke', {
2498
+ label: 'Revoke a connection check for this chat', actsOn: 'Makes Chat ask you again before it checks {instance} in this conversation; a check already running may finish',
2499
+ anyInstance: 'that tool and account',
2500
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2501
+ });
2502
+ def('shell.chat-check-allowance-revoke-all', {
2503
+ label: 'Revoke all connection checks for this chat', actsOn: 'Makes Chat ask you again before every connection check in this conversation; a check already running may finish',
2504
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2505
+ });
1984
2506
  def('shell.chat-tekla-allowance-revoke', {
1985
2507
  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',
1986
2508
  group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
@@ -2003,12 +2525,12 @@
2003
2525
  });
2004
2526
 
2005
2527
  def('shell.workflow-agent-install', {
2006
- label: 'Install or check an agent', actsOn: 'Installs {instance} if missing, or checks its installed version for this workflow; after a successful check, choose Compile to refresh the workflow checks',
2528
+ label: 'Install or check a tool', actsOn: 'Installs {instance} if missing, or checks its installed version for this workflow; after a successful check, choose Compile to refresh the workflow checks',
2007
2529
  group: 'On the workflow canvas', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2008
2530
  });
2009
2531
 
2010
2532
  def('shell.workflow-agents-install-all', {
2011
- label: 'Install all missing agents', actsOn: 'Installs the missing agents listed above the canvas; after installation, choose Compile to refresh the workflow checks',
2533
+ label: 'Install all missing tools', actsOn: 'Installs the missing tools listed above the canvas; after installation, choose Compile to refresh the workflow checks',
2012
2534
  group: 'On the workflow canvas', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2013
2535
  });
2014
2536
 
@@ -2053,6 +2575,27 @@
2053
2575
  group: 'In the requests list', persistence: 'local', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2054
2576
  });
2055
2577
 
2578
+ // #1874: a drawing read whose discard record cannot be read asks the person what to do with it.
2579
+ def('shell.requests-discard-record-keep', {
2580
+ label: 'Keep this read', actsOn: 'Keeps {instance} after its discard record could not be read, so you can carry on with it',
2581
+ group: 'In the requests list', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2582
+ });
2583
+
2584
+ def('shell.requests-discard-record-discard', {
2585
+ label: 'Discard this read', actsOn: 'Asks before removing {instance}, whose discard record could not be read',
2586
+ group: 'In the requests list', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
2587
+ });
2588
+
2589
+ def('shell.requests-discard-record-confirm', {
2590
+ label: 'Discard for good', actsOn: 'Removes {instance} and its working files',
2591
+ group: 'In the requests list', persistence: 'local', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2592
+ });
2593
+
2594
+ def('shell.requests-discard-record-cancel', {
2595
+ label: 'Cancel discarding', actsOn: 'Keeps the question open for {instance} without removing anything',
2596
+ group: 'In the requests list', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2597
+ });
2598
+
2056
2599
  def('shell.requests-technical', {
2057
2600
  label: 'Show detailed instructions', actsOn: 'Expands the full AI handoff for {instance}',
2058
2601
  group: 'In the requests list', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
@@ -2175,6 +2718,60 @@
2175
2718
  guidance: 'on-demand',
2176
2719
  });
2177
2720
 
2721
+ /* #1997 — tools updated in the background; approved workflows wait for the person's one click. */
2722
+ def('shell.tool-updates', {
2723
+ label: 'Review updated workflows',
2724
+ actsOn: 'Opens the list of approved workflows whose tools have new versions, and what each one needs',
2725
+ group: 'In the footer',
2726
+ persistence: 'none',
2727
+ interaction: 'dialog',
2728
+ risk: [],
2729
+ guidance: 'on-demand',
2730
+ why: 'New tool versions download on their own, but your approved workflows keep the versions you approved until you approve moving them.',
2731
+ });
2732
+
2733
+ def('shell.tool-updates-approve', {
2734
+ label: 'Approve updated workflows',
2735
+ actsOn: 'Moves every workflow listed in the dialog to its new tool versions, recorded as your approval',
2736
+ group: 'In the FloLess dialogs',
2737
+ persistence: 'approved',
2738
+ interaction: 'instant',
2739
+ risk: ['costs-time'],
2740
+ guidance: 'on-demand',
2741
+ why: 'Each workflow keeps its own steps; only the tool versions it runs on change. AWARE records the move as your approval.',
2742
+ });
2743
+
2744
+ def('shell.tool-updates-check', {
2745
+ label: 'Check for tool updates',
2746
+ actsOn: 'Downloads newer tool versions when no run is using them, prepares the workflows they affect, and cleans up tool versions no workflow uses',
2747
+ group: 'In the FloLess dialogs',
2748
+ persistence: 'external',
2749
+ interaction: 'instant',
2750
+ risk: ['costs-time'],
2751
+ guidance: 'on-demand',
2752
+ });
2753
+
2754
+ def('shell.tool-updates-forget-folder', {
2755
+ label: 'Remove from list',
2756
+ actsOn: 'Stops keeping old tool versions for the workflows in a workspace folder that is gone',
2757
+ group: 'In the FloLess dialogs',
2758
+ persistence: 'external',
2759
+ interaction: 'instant',
2760
+ risk: ['destructive'],
2761
+ guidance: 'on-demand',
2762
+ why: 'While a folder AWARE was told about is missing, no unused tool version is cleaned up. Tool versions only its workflows used can be cleaned up afterwards; a folder that comes back is counted again.',
2763
+ });
2764
+
2765
+ def('shell.tool-updates-open-workflow', {
2766
+ label: 'Open workflow',
2767
+ actsOn: 'Opens the workflow a tool update needs you for, so you can do the step the dialog names',
2768
+ group: 'In the FloLess dialogs',
2769
+ persistence: 'none',
2770
+ interaction: 'instant',
2771
+ risk: [],
2772
+ guidance: 'on-demand',
2773
+ });
2774
+
2178
2775
  /* ── the ≡ menu's settings ──────────────────────────────────────────────── */
2179
2776
 
2180
2777
  def('shell.open-at-startup', {
@@ -2245,6 +2842,83 @@
2245
2842
  One template each, keyed by the dialog. See the section header above for
2246
2843
  why Cancel and Close are shared and the confirms are not. */
2247
2844
 
2845
+ // #2046: the Guide — its question, its conversation's controls, and the next-move cards it suggests (web/guide.js).
2846
+ def('shell.ask-guide', {
2847
+ label: 'Ask the Guide', actsOn: 'Opens the Guide in AI Chat from {instance}, or first asks whether it may look at this computer',
2848
+ anyInstance: 'an empty page',
2849
+ group: 'Getting started', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2850
+ });
2851
+ def('shell.guide-turn-on', {
2852
+ label: 'Turn on the Guide', actsOn: 'Lets the Guide look at this computer; once your AI is signed in, sends the preview shown and starts its conversation in AI Chat',
2853
+ group: 'In the Guide question', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2854
+ why: 'The Guide only reads. Turn it off or delete its history at any time from its conversation’s settings.',
2855
+ });
2856
+ def('shell.guide-start', {
2857
+ label: 'Start the Guide', actsOn: 'Sends the fresh look shown to the Guide’s conversation in AI Chat',
2858
+ group: 'In the Guide question', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2859
+ });
2860
+ def('shell.guide-not-now', {
2861
+ label: 'Not now', actsOn: 'Closes the question without turning the Guide on; FloLess won’t ask again by itself',
2862
+ group: 'In the Guide question', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2863
+ });
2864
+ def('shell.guide-choose-folder', {
2865
+ label: 'Choose folder', actsOn: 'Opens the Workspace directory chooser, so the Guide has a folder to keep its conversation in',
2866
+ group: 'In the Guide question', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2867
+ });
2868
+ def('shell.guide-share-window-titles', {
2869
+ label: 'Window titles', actsOn: 'Chooses whether the Guide sees what is open inside each running program, or only program names',
2870
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2871
+ });
2872
+ def('shell.guide-share-recent-files', {
2873
+ label: 'Recent file names', actsOn: 'Chooses whether the Guide sees the names and folders of recent files, or only how many of each type',
2874
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2875
+ });
2876
+ def('shell.guide-provider', {
2877
+ label: 'Which AI reads this', actsOn: 'Sends the Guide’s look to {instance}',
2878
+ anyInstance: 'the AI you choose',
2879
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2880
+ });
2881
+ def('shell.guide-preview-open', {
2882
+ label: 'Preview what will be sent', actsOn: 'Shows, section by section, exactly what the Guide would send to the AI',
2883
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2884
+ });
2885
+ def('shell.guide-preview-section', {
2886
+ label: 'Show a part of the preview', actsOn: 'Opens {instance} in the preview of what the Guide would send',
2887
+ anyInstance: 'one part',
2888
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2889
+ });
2890
+ def('shell.guide-preview-retry', {
2891
+ label: 'Try again', actsOn: 'Looks at this computer again for the preview',
2892
+ group: 'In the Guide question', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
2893
+ });
2894
+ def('shell.guide-turn-off', {
2895
+ label: 'Turn off the Guide', actsOn: 'Stops the Guide looking at this computer and stops the answer it is writing in this projects folder; one in another folder finishes and gets nothing more. Its conversation stays',
2896
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
2897
+ });
2898
+ def('shell.guide-delete', {
2899
+ label: 'Delete Guide history', actsOn: 'Asks, then deletes your Guide conversations in this projects folder',
2900
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2901
+ });
2902
+ def('shell.guide-delete-confirm', {
2903
+ label: 'Delete Guide history', actsOn: 'Deletes your Guide conversations in this projects folder, for both AIs; what the AI already received stays under its own rules',
2904
+ group: 'In the FloLess dialogs', persistence: 'working', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
2905
+ });
2906
+ def('shell.guide-move-open', {
2907
+ label: 'Open a suggested next step', actsOn: 'Checks the Guide’s suggestion still applies, then opens the place to {instance}; nothing happens until you confirm there',
2908
+ anyInstance: 'do it',
2909
+ group: 'In AI Chat', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
2910
+ });
2911
+ def('shell.guide-move-not-now', {
2912
+ label: 'Set a suggestion aside', actsOn: 'Folds the Guide’s suggestion {instance} away on this computer; Undo brings it back',
2913
+ anyInstance: 'on the card',
2914
+ group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2915
+ });
2916
+ def('shell.guide-move-undo', {
2917
+ label: 'Show a suggestion again', actsOn: 'Brings back the Guide’s suggestion {instance}',
2918
+ anyInstance: 'on the card',
2919
+ group: 'In AI Chat', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
2920
+ });
2921
+
2248
2922
  def('shell.dialog-cancel', {
2249
2923
  label: 'Cancel',
2250
2924
  actsOn: 'Leaves {instance} without applying anything',
@@ -2258,8 +2932,8 @@
2258
2932
 
2259
2933
  def('shell.graft-stop-waiting', {
2260
2934
  label: 'Stop waiting',
2261
- actsOn: 'Closes the Build an agent dialog while the Tekla model read continues in the host',
2262
- group: 'In the Build an agent dialog',
2935
+ actsOn: 'Closes the Build a tool dialog while the Tekla model read continues in the host',
2936
+ group: 'In the Build a tool dialog',
2263
2937
  persistence: 'none',
2264
2938
  interaction: 'instant',
2265
2939
  risk: [],
@@ -2453,6 +3127,28 @@
2453
3127
  guidance: 'on-demand',
2454
3128
  });
2455
3129
 
3130
+ // #1912: the card a failed workflow run shows in the viewer.
3131
+ def('shell.run-failure-compile', {
3132
+ label: 'Compile now',
3133
+ actsOn: 'Closes the viewer and compiles this workflow again, so Run uses the tools installed now',
3134
+ group: 'In the report viewer',
3135
+ persistence: 'approved', // the same Compile as the header: freezes the lock Run executes
3136
+ interaction: 'instant',
3137
+ risk: ['costs-time'],
3138
+ guidance: 'on-demand',
3139
+ why: 'Shown when the workflow was approved for a different version of a tool than the one installed. Compiling approves it again; then run it.',
3140
+ });
3141
+
3142
+ def('shell.run-failure-report', {
3143
+ label: 'Report this problem',
3144
+ actsOn: 'Opens Report an issue with the failed run and the reason FloLess showed already filled in',
3145
+ group: 'In the report viewer',
3146
+ persistence: 'none',
3147
+ interaction: 'dialog',
3148
+ risk: [],
3149
+ guidance: 'on-demand',
3150
+ });
3151
+
2456
3152
  /* ── save / discard / review confirmations ──────────────────────────────── */
2457
3153
 
2458
3154
  def('shell.form-submit', {
@@ -2533,7 +3229,65 @@
2533
3229
  interaction: 'instant',
2534
3230
  risk: ['costs-time'],
2535
3231
  guidance: 'on-demand',
2536
- why: 'Stays disabled until you have been through the list — approving is a signature, not a dismissal.',
3232
+ why: 'For a whole-model review, signs off the entire model after you review its details. For a selective review, stays disabled until each change and overlap has a decision. Cancel keeps your working copy without approving.',
3233
+ });
3234
+
3235
+ // #1840: a copy with open import findings is approved only by accepting them, so its confirm and
3236
+ // its decision button each say so.
3237
+ def('shell.approval-confirm-with-findings', {
3238
+ label: 'Approve with findings accepted',
3239
+ actsOn: 'Signs off the change you reviewed and records that you accepted its open import findings as stated assumptions',
3240
+ group: 'In the FloLess dialogs',
3241
+ persistence: 'approved',
3242
+ interaction: 'instant',
3243
+ risk: ['costs-time'],
3244
+ guidance: 'on-demand',
3245
+ why: 'The findings stay open and listed in the Audit tab. History, the header, the model pickers, the model editor and saved report captions say it was approved with them accepted.',
3246
+ });
3247
+
3248
+ def('shell.approval-decision-approve', {
3249
+ label: 'Approve this change',
3250
+ actsOn: 'Marks this change to be approved when you confirm',
3251
+ group: 'In the FloLess dialogs',
3252
+ persistence: 'none',
3253
+ interaction: 'instant',
3254
+ risk: [],
3255
+ guidance: 'on-demand',
3256
+ why: 'Nothing is approved until you confirm at the bottom of the review.',
3257
+ });
3258
+
3259
+ def('shell.approval-decision-accept-findings', {
3260
+ label: 'Approve with findings accepted',
3261
+ actsOn: 'Marks this change to be approved with the open import findings accepted as stated assumptions when you confirm',
3262
+ group: 'In the FloLess dialogs',
3263
+ persistence: 'none',
3264
+ interaction: 'instant',
3265
+ risk: [],
3266
+ guidance: 'on-demand',
3267
+ why: 'This copy has findings FloLess could not fully check. Choosing this is your acceptance of them; nothing is approved until you confirm.',
3268
+ });
3269
+
3270
+ def('shell.approval-decision-leave-pending', {
3271
+ label: 'Leave pending',
3272
+ actsOn: 'Keeps this change out of the approval; it stays in the working copy',
3273
+ group: 'In the FloLess dialogs',
3274
+ persistence: 'none',
3275
+ interaction: 'instant',
3276
+ risk: [],
3277
+ guidance: 'on-demand',
3278
+ why: 'The change is not discarded. You can review and approve it later.',
3279
+ });
3280
+
3281
+ // #1840: in the review's open-import-findings warning (Tekla Parser).
3282
+ def('shell.approval-open-audit', {
3283
+ label: 'Open Audit tab',
3284
+ actsOn: 'Closes the review and shows the open import findings in the Model step’s Audit tab',
3285
+ group: 'In the FloLess dialogs',
3286
+ persistence: 'none',
3287
+ interaction: 'instant',
3288
+ risk: [],
3289
+ guidance: 'on-demand',
3290
+ why: 'Nothing is approved. Look at what FloLess could not fully check, then reopen Review & approve to leave the model pending or approve it with those findings accepted.',
2537
3291
  });
2538
3292
 
2539
3293
  def('shell.approval-start-new-review', {
@@ -2622,13 +3376,13 @@
2622
3376
  guidance: 'on-demand',
2623
3377
  });
2624
3378
 
2625
- /* ── the agent library ──────────────────────────────────────────────────── */
3379
+ /* ── the Tools library ──────────────────────────────────────────────────── */
2626
3380
 
2627
3381
  def('shell.library-tab', {
2628
- label: 'Agent library tab',
2629
- actsOn: 'Lists the {instance} agents',
3382
+ label: 'Tools library tab',
3383
+ actsOn: 'Lists the {instance} tools',
2630
3384
  anyInstance: 'installed or available',
2631
- group: 'In the agent library',
3385
+ group: 'In the Tools library',
2632
3386
  persistence: 'local',
2633
3387
  interaction: 'instant',
2634
3388
  risk: [],
@@ -2636,10 +3390,10 @@
2636
3390
  });
2637
3391
 
2638
3392
  def('shell.library-search', {
2639
- label: 'Search agents',
3393
+ label: 'Search tools',
2640
3394
  actsOn: 'Narrows the {instance} list',
2641
3395
  anyInstance: 'installed or available',
2642
- group: 'In the agent library',
3396
+ group: 'In the Tools library',
2643
3397
  persistence: 'none',
2644
3398
  interaction: 'instant',
2645
3399
  risk: [],
@@ -2805,6 +3559,61 @@
2805
3559
  guidance: 'on-demand',
2806
3560
  });
2807
3561
 
3562
+ // #2035: a routine runs a workflow or starts an agent.
3563
+ def('shell.routine-target', {
3564
+ label: 'What the routine runs',
3565
+ actsOn: 'Makes the routine run {instance}. An agent runs with nobody watching: anything that would ask you is declined and listed for you afterwards',
3566
+ anyInstance: 'a workflow or an agent',
3567
+ group: 'In the Routines dialog',
3568
+ persistence: 'working',
3569
+ interaction: 'instant',
3570
+ risk: [],
3571
+ guidance: 'on-demand',
3572
+ why: 'An agent runs on a schedule with nobody watching: anything that would ask you is declined and listed afterwards.',
3573
+ });
3574
+
3575
+ def('shell.routine-agent', {
3576
+ label: 'Routine agent',
3577
+ actsOn: 'Chooses which agent the routine starts',
3578
+ group: 'In the Routines dialog',
3579
+ persistence: 'working',
3580
+ interaction: 'instant',
3581
+ risk: [],
3582
+ guidance: 'on-demand',
3583
+ });
3584
+
3585
+ def('shell.routine-agent-ai', {
3586
+ label: 'Routine AI',
3587
+ actsOn: 'Makes {instance} run the agent each time the routine fires',
3588
+ anyInstance: 'Claude or Codex',
3589
+ group: 'In the Routines dialog',
3590
+ persistence: 'working',
3591
+ interaction: 'instant',
3592
+ risk: [],
3593
+ guidance: 'on-demand',
3594
+ });
3595
+
3596
+ def('shell.routine-agent-create', {
3597
+ label: 'Create an agent',
3598
+ actsOn: 'Closes Routines and opens the Agents page, where you can create one',
3599
+ group: 'In the Routines dialog',
3600
+ persistence: 'none',
3601
+ interaction: 'instant',
3602
+ risk: [],
3603
+ guidance: 'on-demand',
3604
+ });
3605
+
3606
+ def('shell.routine-open-agent', {
3607
+ label: 'Open agent',
3608
+ actsOn: 'Opens the agent that {instance} runs, with its runs and their Questions for you',
3609
+ anyInstance: 'a routine',
3610
+ group: 'In the Routines dialog',
3611
+ persistence: 'none',
3612
+ interaction: 'instant',
3613
+ risk: [],
3614
+ guidance: 'on-demand',
3615
+ });
3616
+
2808
3617
  def('shell.routine-mode', {
2809
3618
  label: 'Routine mode',
2810
3619
  actsOn: 'Runs the routine on {instance}',
@@ -2991,12 +3800,12 @@
2991
3800
  why: 'Goes to a private tracker, with your app version attached. Stays off until there is a title and a description.',
2992
3801
  });
2993
3802
 
2994
- /* ── building an agent ──────────────────────────────────────────────────── */
3803
+ /* ── building a tool ─────────────────────────────────────────────────────── */
2995
3804
 
2996
3805
  def('shell.graft-back', {
2997
3806
  label: 'Back',
2998
3807
  actsOn: 'Returns to the previous step',
2999
- group: 'In the Build an agent dialog',
3808
+ group: 'In the Build a tool dialog',
3000
3809
  persistence: 'none',
3001
3810
  interaction: 'instant',
3002
3811
  risk: [],
@@ -3005,8 +3814,8 @@
3005
3814
 
3006
3815
  def('shell.graft-inspect-source', {
3007
3816
  label: 'Inspect source',
3008
- actsOn: 'Reads the selected source and previews generated commands without installing an agent',
3009
- group: 'In the Build an agent dialog',
3817
+ actsOn: 'Reads the selected source and previews generated commands without installing a tool',
3818
+ group: 'In the Build a tool dialog',
3010
3819
  persistence: 'none',
3011
3820
  interaction: 'instant',
3012
3821
  risk: ['costs-time'],
@@ -3014,9 +3823,9 @@
3014
3823
  });
3015
3824
 
3016
3825
  def('shell.graft-create-agent', {
3017
- label: 'Create agent',
3018
- actsOn: 'Installs the reviewed agent in the local Agents library without running its commands',
3019
- group: 'In the Build an agent dialog',
3826
+ label: 'Create tool',
3827
+ actsOn: 'Installs the reviewed tool in the local Tools library without running its commands',
3828
+ group: 'In the Build a tool dialog',
3020
3829
  persistence: 'local',
3021
3830
  interaction: 'instant',
3022
3831
  risk: ['costs-time'],
@@ -3025,8 +3834,8 @@
3025
3834
 
3026
3835
  def('shell.graft-overwrite-agent', {
3027
3836
  label: 'Overwrite existing',
3028
- actsOn: 'Replaces the existing local agent with the reviewed version without running its commands',
3029
- group: 'In the Build an agent dialog',
3837
+ actsOn: 'Replaces the existing local tool with the reviewed version without running its commands',
3838
+ group: 'In the Build a tool dialog',
3030
3839
  persistence: 'local',
3031
3840
  interaction: 'instant',
3032
3841
  risk: ['destructive', 'costs-time'],
@@ -3035,8 +3844,8 @@
3035
3844
 
3036
3845
  def('shell.graft-done', {
3037
3846
  label: 'Done',
3038
- actsOn: 'Closes the dialog after the agent has been created',
3039
- group: 'In the Build an agent dialog',
3847
+ actsOn: 'Closes the dialog after the tool has been created',
3848
+ group: 'In the Build a tool dialog',
3040
3849
  persistence: 'none',
3041
3850
  interaction: 'instant',
3042
3851
  risk: [],
@@ -3046,7 +3855,7 @@
3046
3855
  def('shell.graft-continue-chat', {
3047
3856
  label: 'Continue in AI Chat',
3048
3857
  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',
3049
- group: 'In the Build an agent dialog',
3858
+ group: 'In the Build a tool dialog',
3050
3859
  persistence: 'none',
3051
3860
  interaction: 'instant',
3052
3861
  risk: [],
@@ -3056,8 +3865,8 @@
3056
3865
 
3057
3866
  def('shell.graft-verify-tekla-read', {
3058
3867
  label: 'Verify model read',
3059
- actsOn: 'Reads the open Tekla model name using the selected Tekla model library; generated agent commands remain unverified',
3060
- group: 'In the Build an agent dialog',
3868
+ actsOn: 'Reads the open Tekla model name using the selected Tekla model library; generated tool commands remain unverified',
3869
+ group: 'In the Build a tool dialog',
3061
3870
  persistence: 'none',
3062
3871
  interaction: 'instant',
3063
3872
  risk: ['costs-time'],
@@ -3076,4 +3885,97 @@
3076
3885
  risk: ['costs-time'],
3077
3886
  guidance: 'on-demand',
3078
3887
  });
3888
+ /* ── #1998: approvals carried over, and approved tool versions that cannot run ──────────────── */
3889
+
3890
+ def('workflow.reinstall-approved-tool', {
3891
+ label: 'Reinstall the approved version',
3892
+ actsOn: 'Puts {instance} back, so this workflow runs with the exact version it was approved with',
3893
+ group: 'In the Needs you notice',
3894
+ persistence: 'external', // changes what AWARE keeps in its tool store (on an older AWARE, which version is installed)
3895
+ interaction: 'instant',
3896
+ risk: ['costs-time'],
3897
+ guidance: 'on-demand',
3898
+ why: 'FloLess never moves a workflow to another tool version on its own. Reinstalling puts this version back without changing the installed one (on an older AWARE it makes this version the installed one again); workflows approved with a newer version keep running as they do now.',
3899
+ });
3900
+
3901
+ def('workflow.approval-compile-again', {
3902
+ label: 'Compile again',
3903
+ actsOn: 'Approves this workflow again, with the tool versions installed when it compiles',
3904
+ group: 'In the Needs you notice',
3905
+ persistence: 'approved',
3906
+ interaction: 'instant',
3907
+ risk: ['costs-time'],
3908
+ guidance: 'on-demand',
3909
+ });
3910
+
3911
+ def('workflow.approval-carried-details', {
3912
+ label: 'Where this approval came from',
3913
+ actsOn: 'Shows each time this approval was carried over to a newer tool version, with AWARE’s own record',
3914
+ group: 'In the Approval carried over row',
3915
+ persistence: 'none',
3916
+ interaction: 'instant',
3917
+ risk: [],
3918
+ guidance: 'on-demand',
3919
+ });
3920
+
3921
+ def('shell.policy-allow', {
3922
+ label: 'Allow',
3923
+ actsOn: 'Lets small read-only fixes of official tools carry a workflow approval over without asking',
3924
+ group: 'In the Automatic tool updates dialog',
3925
+ persistence: 'external', // recorded with AWARE as your standing approval
3926
+ interaction: 'instant',
3927
+ risk: [],
3928
+ guidance: 'on-demand',
3929
+ why: 'Recorded only from your click here. You can turn it off at any time.',
3930
+ });
3931
+
3932
+ def('shell.policy-not-now', {
3933
+ label: 'Not now',
3934
+ actsOn: 'Keeps every tool update asking you first, and does not ask this again',
3935
+ group: 'In the Automatic tool updates dialog',
3936
+ persistence: 'local',
3937
+ interaction: 'instant',
3938
+ risk: [],
3939
+ guidance: 'on-demand',
3940
+ });
3941
+
3942
+ def('shell.policy-turn-off', {
3943
+ label: 'Turn off',
3944
+ actsOn: 'Stops tool updates from carrying approvals over; every update asks you first again',
3945
+ group: 'In the Automatic tool updates dialog',
3946
+ persistence: 'external',
3947
+ interaction: 'instant',
3948
+ risk: [],
3949
+ guidance: 'on-demand',
3950
+ });
3951
+
3952
+ def('shell.policy-retry', {
3953
+ label: 'Try again',
3954
+ actsOn: 'Reads the Automatic tool updates setting from AWARE again',
3955
+ group: 'In the Automatic tool updates dialog',
3956
+ persistence: 'none',
3957
+ interaction: 'instant',
3958
+ risk: [],
3959
+ guidance: 'on-demand',
3960
+ });
3961
+
3962
+ def('shell.policy-record', {
3963
+ label: 'AWARE’s record',
3964
+ actsOn: 'Shows the exact words AWARE recorded for this setting',
3965
+ group: 'In the Automatic tool updates dialog',
3966
+ persistence: 'none',
3967
+ interaction: 'instant',
3968
+ risk: [],
3969
+ guidance: 'on-demand',
3970
+ });
3971
+
3972
+ def('shell.policy-advanced', {
3973
+ label: 'Advanced',
3974
+ actsOn: 'Explains which updates always ask you first',
3975
+ group: 'In the Automatic tool updates dialog',
3976
+ persistence: 'none',
3977
+ interaction: 'instant',
3978
+ risk: [],
3979
+ guidance: 'on-demand',
3980
+ });
3079
3981
  })();