@floless/app 0.138.2 → 0.139.1

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 (109) hide show
  1. package/autostart.mjs +6 -2
  2. package/desktop-access-production-manifest.mjs +7 -0
  3. package/dist/floless-server.cjs +157207 -70887
  4. package/dist/schemas/model.continuation.v1.schema.json +19 -0
  5. package/dist/schemas/model.continuation.v2.schema.json +19 -0
  6. package/dist/schemas/model.query-response.v1.schema.json +95 -0
  7. package/dist/schemas/model.query-response.v2.schema.json +80 -0
  8. package/dist/schemas/model.query.v1.schema.json +87 -0
  9. package/dist/schemas/model.query.v2.schema.json +87 -0
  10. package/dist/schemas/model.snap-candidate.v1.schema.json +48 -0
  11. package/dist/schemas/model.snap-constraint.v1.schema.json +18 -0
  12. package/dist/schemas/model.snap-query.v1.schema.json +24 -0
  13. package/dist/schemas/model.snap-result.v1.schema.json +33 -0
  14. package/dist/schemas/model.snapshot.v1.schema.json +136 -0
  15. package/dist/schemas/revit.model.v1.schema.json +24 -0
  16. package/dist/schemas/steel.model.v2.schema.json +45 -6
  17. package/dist/skills/floless-app-approval/SKILL.md +19 -5
  18. package/dist/skills/floless-app-bridge/SKILL.md +19 -6
  19. package/dist/skills/floless-app-knowledge/SKILL.md +22 -1
  20. package/dist/skills/floless-app-new-workflow/SKILL.md +31 -27
  21. package/dist/skills/floless-app-new-workflow/references/build-and-verify.md +13 -12
  22. package/dist/skills/floless-app-onboarding/SKILL.md +3 -3
  23. package/dist/skills/floless-app-onboarding/references/floless-app-tour.md +16 -9
  24. package/dist/skills/floless-app-steel-model/SKILL.md +11 -2
  25. package/dist/skills/floless-app-steel-model/references/detail-from-a-screenshot.md +95 -0
  26. package/dist/skills/floless-app-steel-takeoff/SKILL.md +142 -21
  27. package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +19 -0
  28. package/dist/skills/floless-app-tweak-contract/SKILL.md +42 -8
  29. package/dist/skills/floless-app-vectorize/SKILL.md +19 -6
  30. package/dist/skills/floless-app-workflows/SKILL.md +30 -3
  31. package/dist/skills/floless-app-workflows/references/workspace-data.md +77 -4
  32. package/dist/templates/floless-workspace-model-report.flo +77 -0
  33. package/dist/templates/revit-model.flo +111 -0
  34. package/dist/web/app.css +415 -177
  35. package/dist/web/app.js +302 -51
  36. package/dist/web/aware.js +1357 -1032
  37. package/dist/web/chat.css +692 -0
  38. package/dist/web/chat.js +2651 -0
  39. package/dist/web/commands-revit.js +42 -0
  40. package/dist/web/commands-shell.js +531 -70
  41. package/dist/web/commands-steel.js +344 -146
  42. package/dist/web/commands.js +1 -1
  43. package/dist/web/index.html +283 -77
  44. package/dist/web/instructor.js +217 -36
  45. package/dist/web/left-pane.js +636 -0
  46. package/dist/web/model-artifact-loader.js +75 -0
  47. package/dist/web/model-authoring-gestures.js +141 -0
  48. package/dist/web/model-cad-tools.js +20 -0
  49. package/dist/web/model-clip-gesture.js +148 -0
  50. package/dist/web/model-clip-list.js +156 -0
  51. package/dist/web/model-clip-session.js +274 -0
  52. package/dist/web/model-clip-three-overlay.js +295 -0
  53. package/dist/web/model-clip-three-preview.js +59 -0
  54. package/dist/web/model-editor-contract.js +519 -0
  55. package/dist/web/model-editor-revit-adapter.js +139 -0
  56. package/dist/web/model-editor-shell.js +271 -0
  57. package/dist/web/model-editor-state-recovery.js +44 -0
  58. package/dist/web/model-editor-steel-adapter.js +415 -0
  59. package/dist/web/model-editor.css +268 -0
  60. package/dist/web/model-frame.js +192 -0
  61. package/dist/web/model-inspector.js +128 -0
  62. package/dist/web/model-measure.js +390 -0
  63. package/dist/web/model-navigation-controls.js +246 -0
  64. package/dist/web/model-orientation-overlay.js +217 -0
  65. package/dist/web/model-panel-bridge.js +230 -0
  66. package/dist/web/model-pointer-dock.js +164 -0
  67. package/dist/web/model-revit-module.js +83 -0
  68. package/dist/web/model-selection-coordinator.js +151 -0
  69. package/dist/web/model-selection-tools.js +290 -0
  70. package/dist/web/model-snap-contract.js +267 -0
  71. package/dist/web/model-snapping.js +497 -0
  72. package/dist/web/model-spatial-panel.js +294 -0
  73. package/dist/web/model-spatial-tools.js +249 -0
  74. package/dist/web/model-tree.js +47 -0
  75. package/dist/web/model-viewport-lighting.js +166 -0
  76. package/dist/web/model-viewport-revit-adapter.js +1224 -0
  77. package/dist/web/model-viewport-state.js +505 -0
  78. package/dist/web/model-viewport-steel-adapter.js +150 -0
  79. package/dist/web/model-viewport-toolbar.js +516 -0
  80. package/dist/web/model-viewport.js +717 -0
  81. package/dist/web/panels.js +8 -15
  82. package/dist/web/renderers.js +3 -0
  83. package/dist/web/revit-editor.css +35 -0
  84. package/dist/web/revit-editor.html +74 -0
  85. package/dist/web/revit-editor.js +845 -0
  86. package/dist/web/steel-3d-core.js +16 -44
  87. package/dist/web/steel-3d-view.js +1384 -633
  88. package/dist/web/steel-canvas-guidance.js +3 -1
  89. package/dist/web/steel-editor.html +2145 -1255
  90. package/dist/web/steel-filter.html +5 -1
  91. package/dist/web/steel-model-v2-commands.js +80 -3
  92. package/dist/web/steel-split-view.js +5 -39
  93. package/dist/web/steel-view-generation.js +107 -17
  94. package/dist/web/vector-3d.html +12 -0
  95. package/dist/web/workspaces.js +2154 -283
  96. package/distribution-profile-active.mjs +2 -0
  97. package/distribution-profile-production.mjs +47 -0
  98. package/distribution-profile-shared.mjs +8 -0
  99. package/distribution-profile.mjs +18 -0
  100. package/distribution-resource-inventory.mjs +81 -0
  101. package/launch.mjs +18 -10
  102. package/log.mjs +2 -1
  103. package/managed-runtime-policy.mjs +104 -0
  104. package/model-reader-policy-active.mjs +7 -0
  105. package/network-policy-active.mjs +6 -0
  106. package/package.json +17 -2
  107. package/post-update-marker.mjs +3 -1
  108. package/rvt-production-uat-authority.mjs +60 -0
  109. package/teardown.mjs +4 -3
@@ -72,6 +72,27 @@
72
72
  guidance: 'on-demand',
73
73
  });
74
74
 
75
+ def('workflow.select-model-revision', {
76
+ label: 'Choose approved model version',
77
+ actsOn: 'Sets the exact approved Revit model snapshot this workflow will query',
78
+ group: 'In Set inputs',
79
+ persistence: 'working',
80
+ interaction: 'instant',
81
+ risk: [],
82
+ guidance: 'on-demand',
83
+ why: 'Pins a signed approval, or explicitly follows the latest approval, without exposing a mutable project slug.',
84
+ });
85
+
86
+ def('workflow.reload-model-revisions', {
87
+ label: 'Reload approved models',
88
+ actsOn: 'Retries loading approved Revit model versions in Set inputs',
89
+ group: 'In Set inputs',
90
+ persistence: 'none',
91
+ interaction: 'instant',
92
+ risk: [],
93
+ guidance: 'on-demand',
94
+ });
95
+
75
96
  /* ── the workflow list: one entry per capability, N rows ─────────────────── */
76
97
 
77
98
  def('workflow.select', {
@@ -116,6 +137,36 @@
116
137
  why: 'Removes the workflow and the lock that was approved for it. Its run history goes too.',
117
138
  });
118
139
 
140
+ def('workflow.rename-owned', {
141
+ label: 'Rename workflow',
142
+ actsOn: 'Renames {instance} while keeping its working folder and publication identity',
143
+ group: 'In the workflow picker',
144
+ persistence: 'working',
145
+ interaction: 'dialog',
146
+ risk: [],
147
+ guidance: 'on-demand',
148
+ });
149
+
150
+ def('workflow.copy-owned', {
151
+ label: 'Copy workflow',
152
+ actsOn: 'Copies {instance} into a newly chosen standalone or project location',
153
+ group: 'In the workflow picker',
154
+ persistence: 'working',
155
+ interaction: 'dialog',
156
+ risk: [],
157
+ guidance: 'on-demand',
158
+ });
159
+
160
+ def('workflow.archive', {
161
+ label: 'Archive workflow',
162
+ actsOn: 'Archives {instance} and blocks new runs while keeping its files and history',
163
+ group: 'In the workflow picker',
164
+ persistence: 'working',
165
+ interaction: 'dialog',
166
+ risk: [],
167
+ guidance: 'on-demand',
168
+ });
169
+
119
170
  /* ── the ≡ menu ──────────────────────────────────────────────────────────
120
171
  Written out one call per capability rather than looped over a table. The
121
172
  registry guard refuses a computed id, and it is right to: one `def(id, …)`
@@ -147,7 +198,7 @@
147
198
 
148
199
  def('menu.new-workflow', {
149
200
  label: 'New workflow',
150
- actsOn: 'Asks your terminal AI to author a new .flo',
201
+ actsOn: 'Creates a workflow owner, then asks your terminal AI to author its .flo',
151
202
  group: 'In the ≡ menu',
152
203
  persistence: 'working',
153
204
  interaction: 'dialog',
@@ -155,6 +206,27 @@
155
206
  guidance: 'on-demand',
156
207
  });
157
208
 
209
+ def('shell.new-workflow-name', {
210
+ label: 'Workflow name',
211
+ actsOn: 'Names the workflow shown in FloLess',
212
+ group: 'In workflow setup dialogs',
213
+ persistence: 'none',
214
+ interaction: 'instant',
215
+ risk: [],
216
+ guidance: 'on-demand',
217
+ });
218
+
219
+ def('shell.new-workflow-location', {
220
+ label: 'Workflow location',
221
+ actsOn: 'Places this workflow in {instance}',
222
+ group: 'In workflow setup dialogs',
223
+ persistence: 'none',
224
+ interaction: 'dialog',
225
+ risk: [],
226
+ guidance: 'on-demand',
227
+ why: 'The chosen location owns this workflow’s files, chat, history, knowledge context and AI working folder.',
228
+ });
229
+
158
230
  def('menu.import', {
159
231
  label: 'Import',
160
232
  actsOn: 'Brings an existing workflow into FloLess',
@@ -229,6 +301,46 @@
229
301
  guidance: 'on-demand',
230
302
  });
231
303
 
304
+ def('menu.workspace-folder', {
305
+ label: 'Workspace directory',
306
+ actsOn: 'Chooses the folder FloLess reads for projects and workflows on this computer',
307
+ group: 'In the ≡ menu',
308
+ persistence: 'local',
309
+ interaction: 'dialog',
310
+ risk: [],
311
+ guidance: 'on-demand',
312
+ });
313
+
314
+ def('shell.workspace-root-cancel', {
315
+ label: 'Close or cancel',
316
+ actsOn: 'Keeps the current Workspace directory',
317
+ group: 'In the Workspace directory dialog',
318
+ persistence: 'none',
319
+ interaction: 'instant',
320
+ risk: [],
321
+ guidance: 'on-demand',
322
+ });
323
+
324
+ def('shell.workspace-root-change', {
325
+ label: 'Choose another Workspace directory',
326
+ actsOn: 'Opens the folder chooser to select a different directory for projects and workflows',
327
+ group: 'In the Workspace directory dialog',
328
+ persistence: 'local',
329
+ interaction: 'dialog',
330
+ risk: [],
331
+ guidance: 'on-demand',
332
+ });
333
+
334
+ def('shell.workspace-root-use', {
335
+ label: 'Use selected directory',
336
+ actsOn: 'Changes the directory FloLess reads for projects and workflows',
337
+ group: 'In the Workspace directory dialog',
338
+ persistence: 'local',
339
+ interaction: 'dialog',
340
+ risk: [],
341
+ guidance: 'on-demand',
342
+ });
343
+
232
344
  def('menu.routines', {
233
345
  label: 'Routines',
234
346
  actsOn: 'Schedules a workflow to run on its own',
@@ -521,6 +633,58 @@
521
633
  why: 'The project is still restored when its RFIs cannot be carried safely; the result message says exactly what crossed.',
522
634
  });
523
635
 
636
+ def('shell.project-folder-choose', {
637
+ label: 'Choose project folder',
638
+ actsOn: 'Chooses the project folder that stores this project and where AI starts',
639
+ group: 'In the new project dialog',
640
+ persistence: 'none',
641
+ interaction: 'dialog',
642
+ risk: [],
643
+ guidance: 'on-demand',
644
+ });
645
+
646
+ def('shell.project-name', {
647
+ label: 'Project name',
648
+ actsOn: 'Sets the name shown for this project in FloLess',
649
+ group: 'In the new project dialog',
650
+ persistence: 'none',
651
+ interaction: 'instant',
652
+ risk: [],
653
+ guidance: 'on-demand',
654
+ });
655
+
656
+ def('shell.project-standard', {
657
+ label: '{instance} standard',
658
+ actsOn: 'Sets the steel catalogue this project uses',
659
+ group: 'In the new project dialog',
660
+ persistence: 'none',
661
+ interaction: 'instant',
662
+ risk: [],
663
+ guidance: 'on-demand',
664
+ why: 'The standard is fixed when the project is created because changing catalogues later would unresolve modelled sections.',
665
+ });
666
+
667
+ def('shell.project-create', {
668
+ label: 'Create project only',
669
+ actsOn: 'Creates the project in the selected folder and saves the initial drawing task without starting AI',
670
+ group: 'In the new project dialog',
671
+ persistence: 'working',
672
+ interaction: 'instant',
673
+ risk: [],
674
+ guidance: 'on-demand',
675
+ });
676
+
677
+ def('shell.project-create-chat', {
678
+ label: 'Create project and start chat',
679
+ actsOn: 'Creates the project in the selected folder, attaches the drawing set, and starts its first task in AI Chat',
680
+ group: 'In the new project dialog',
681
+ persistence: 'external',
682
+ interaction: 'instant',
683
+ risk: ['costs-time', 'costs-money'],
684
+ guidance: 'on-demand',
685
+ why: 'The project, drawings, Request and conversation stay together in the chosen project folder.',
686
+ });
687
+
524
688
  def('shell.project-duplicate', {
525
689
  label: 'Duplicate project',
526
690
  actsOn: 'Copies {instance}, leaves out RFIs whose links no longer work, and reports what was carried',
@@ -534,16 +698,78 @@
534
698
 
535
699
  /* ── the panels ─────────────────────────────────────────────────────────── */
536
700
 
537
- def('shell.narrative-panel', {
538
- label: 'Narrative panel',
539
- actsOn: 'Folds the Narrative panel away, or brings it back',
540
- group: 'In the Narrative panel',
701
+ def('shell.left-panel', {
702
+ label: 'Left panel',
703
+ actsOn: 'Folds the AI Chat and Model panel away, or brings it back',
704
+ group: 'At the left edge of the workspace',
705
+ persistence: 'local',
706
+ interaction: 'instant',
707
+ risk: [],
708
+ guidance: 'on-demand',
709
+ });
710
+
711
+ def('shell.left-section', {
712
+ label: 'Show or hide panel',
713
+ actsOn: 'Shows or hides the {instance} section in the left panel',
714
+ group: 'In the left panel',
541
715
  persistence: 'local',
542
716
  interaction: 'instant',
543
717
  risk: [],
544
718
  guidance: 'on-demand',
545
719
  });
546
720
 
721
+ def('shell.left-section-reorder', {
722
+ label: 'Move panel',
723
+ actsOn: 'Moves the {instance} section above or below the other left-panel section',
724
+ group: 'In the left panel',
725
+ key: 'Also: Alt + Arrow Up / Down',
726
+ persistence: 'local',
727
+ interaction: 'gesture',
728
+ risk: [],
729
+ guidance: 'on-demand',
730
+ });
731
+
732
+ def('shell.left-panel-split', {
733
+ label: 'Resize left-panel sections',
734
+ actsOn: 'Changes the height shared by AI Chat and Model',
735
+ group: 'Between AI Chat and Model',
736
+ key: 'Also: Arrow Up / Down · hold Shift for a larger step · Enter resets',
737
+ persistence: 'local',
738
+ interaction: 'gesture',
739
+ risk: [],
740
+ guidance: 'on-demand',
741
+ });
742
+
743
+ def('shell.model-group', {
744
+ label: 'Open model group',
745
+ actsOn: 'Opens or closes the {instance} group in the Model index',
746
+ group: 'In the Model section of the left panel',
747
+ persistence: 'local',
748
+ interaction: 'instant',
749
+ risk: [],
750
+ guidance: 'on-demand',
751
+ });
752
+
753
+ def('shell.model-tab', {
754
+ label: 'Model section tab', actsOn: 'Shows {instance} in the Model section',
755
+ group: 'In the Model section of the left panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
756
+ });
757
+
758
+ def('shell.model-follow-selection', {
759
+ label: 'Follow selection',
760
+ actsOn: 'Keeps the Model section showing where the selection is',
761
+ group: 'In the Model section of the left panel',
762
+ persistence: 'local',
763
+ interaction: 'mode',
764
+ risk: [],
765
+ guidance: 'on-demand',
766
+ });
767
+
768
+ def('shell.model-item', {
769
+ label: 'Select model object', actsOn: 'Selects {instance} in the model and Inspector. Ctrl adds or removes it; Shift takes the rows in between',
770
+ group: 'In the Model section of the left panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
771
+ });
772
+
547
773
  def('shell.inspect-panel', {
548
774
  label: 'Inspect panel',
549
775
  actsOn: 'Folds the Inspect panel away, or brings it back',
@@ -580,7 +806,7 @@
580
806
  def('shell.resize-panel', {
581
807
  label: 'Resize panel',
582
808
  actsOn: 'Resizes the {instance} panel',
583
- group: 'At the edge of the Narrative or Inspect panel',
809
+ group: 'At the edge of the left or Inspect panel',
584
810
  key: 'Also: Arrow Left / Right · hold Shift for a larger step · Enter resets',
585
811
  persistence: 'local',
586
812
  interaction: 'gesture',
@@ -771,6 +997,17 @@
771
997
  guidance: 'on-demand',
772
998
  });
773
999
 
1000
+ def('shell.revision-registration-complete', {
1001
+ label: 'Register view and promote members',
1002
+ actsOn: 'Selects whether {instance} is registered and all of its source-view members move into the physical model together',
1003
+ group: 'In the revision review',
1004
+ persistence: 'working',
1005
+ interaction: 'mode',
1006
+ risk: [],
1007
+ guidance: 'on-demand',
1008
+ why: 'The registration and every affected member are one all-or-nothing proposal; clearing this tick leaves the view and its members provisional.',
1009
+ });
1010
+
774
1011
  def('shell.revision-discard-open', {
775
1012
  label: 'Discard drawing read',
776
1013
  actsOn: 'Opens a confirmation before removing this staged drawing-read review',
@@ -826,11 +1063,71 @@
826
1063
  why: 'Read while a workflow is being written, and cited in the node description — never reasoned over while one runs.',
827
1064
  });
828
1065
 
1066
+ def('shell.company-knowledge', {
1067
+ label: 'Company knowledge',
1068
+ actsOn: 'Opens company reference files shared across FloLess projects and modules',
1069
+ group: 'In the project workspace',
1070
+ persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1071
+ why: 'A project changes only when you explicitly add a company reference version to it.',
1072
+ });
1073
+ def('shell.company-folder-choose', {
1074
+ label: 'Choose company folder',
1075
+ actsOn: 'Chooses the independent folder where company knowledge versions are stored',
1076
+ group: 'In Company knowledge',
1077
+ persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1078
+ why: 'The company folder must be separate from every FloLess Workspace directory and project folder.',
1079
+ });
1080
+ def('shell.company-promote-source', {
1081
+ label: 'Promote to company',
1082
+ actsOn: 'Prepares a company copy of {instance} to share with other projects',
1083
+ group: 'In the Knowledge Base viewer',
1084
+ persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1085
+ why: 'The original project reference stays where it is. You choose whether the copy is a new company entry or a new version.',
1086
+ });
1087
+ def('shell.company-promotion-lineage', {
1088
+ label: 'Company reference',
1089
+ actsOn: 'Chooses whether this file starts a company reference or updates one already shared',
1090
+ group: 'In Company knowledge',
1091
+ persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1092
+ });
1093
+ def('shell.company-publish', {
1094
+ label: 'Publish company version',
1095
+ actsOn: 'Copies this project reference into a company reference version',
1096
+ group: 'In Company knowledge',
1097
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1098
+ });
1099
+ def('shell.company-accept', {
1100
+ label: 'Review company version',
1101
+ actsOn: 'Reviews adding {instance} to this project',
1102
+ group: 'In Company knowledge',
1103
+ persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1104
+ });
1105
+ def('shell.company-accept-confirm', {
1106
+ label: 'Add company version',
1107
+ actsOn: 'Copies this company reference version into the current project',
1108
+ group: 'In Company knowledge',
1109
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1110
+ why: 'A newer version is used the next time you organize Knowledge while earlier references remain readable.',
1111
+ });
1112
+ def('shell.company-remove', {
1113
+ label: 'Review company removal',
1114
+ actsOn: 'Reviews removing {instance} from the shared library',
1115
+ group: 'In Company knowledge',
1116
+ persistence: 'none', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
1117
+ });
1118
+ def('shell.company-remove-confirm', {
1119
+ label: 'Remove company entry',
1120
+ actsOn: 'Stops new projects from accepting this company reference',
1121
+ group: 'In Company knowledge',
1122
+ persistence: 'working', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
1123
+ why: 'Projects that already added it keep their project copies and earlier references.',
1124
+ });
1125
+
829
1126
  /* ── the strip, the footer, and the two nudges ──────────────────────────── */
830
1127
 
831
1128
  def('shell.instructor-ask', {
832
1129
  label: 'Ask AI now',
833
- actsOn: 'Starts a read-only terminal AI answer for the current Instructor context; the answer appears in AI answers',
1130
+ actsOn: 'Starts a read-only conversation about the current Instructor context in AI Chat',
834
1131
  group: 'In the Instructor strip',
835
1132
  persistence: 'external',
836
1133
  interaction: 'instant',
@@ -845,55 +1142,181 @@
845
1142
  });
846
1143
 
847
1144
  def('shell.instructor-ask-runtime', {
848
- label: 'Choose terminal AI',
849
- actsOn: 'Chooses which installed terminal AI answers this Instructor context',
1145
+ label: 'Choose AI provider',
1146
+ actsOn: 'Chooses whether Claude or Codex starts this Instructor conversation in AI Chat',
850
1147
  group: 'In the Instructor strip', persistence: 'external', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand',
851
1148
  });
852
1149
 
853
1150
  def('shell.instructor-ask-queue', {
854
1151
  label: 'Queue & copy',
855
- actsOn: 'Queues and copies the current Instructor context without starting it headless',
1152
+ actsOn: 'Queues and copies the current Instructor context without starting a background AI run',
856
1153
  group: 'In the Instructor strip', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
857
1154
  });
858
1155
 
859
1156
  def('shell.narrative-tab', {
860
- label: 'Narrative', actsOn: 'Shows curated workflow and run narration, not the chat transcript',
861
- group: 'In the Narrative panel',
1157
+ label: 'Chat', actsOn: 'Shows the durable AI conversation for the visible project or workflow',
1158
+ group: 'In the left panel',
862
1159
  persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
863
- why: 'Narration follows the workflow, so a question you asked lands under AI answers instead — this tab never fills up with your own prompts.',
1160
+ why: 'The conversation stays with this project or workflow and can continue through the selected local Claude or Codex runtime.',
864
1161
  });
865
1162
 
866
- def('shell.ai-answers-tab', {
867
- label: 'AI answers', actsOn: 'Shows pending terminal AI work and durable read-only answers for the visible workflow or project', group: 'In the Narrative panel',
868
- persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
869
- why: 'A question appears here as soon as work starts, then its answer stays readable after the headless run finishes instead of scrolling away in the terminal.',
1163
+ def('shell.chat-history', {
1164
+ label: 'Conversation history', actsOn: 'Shows the conversations stored with the visible project or workflow',
1165
+ group: 'In AI Chat', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
870
1166
  });
871
-
872
- def('shell.answer-session-open', {
873
- label: 'Continue in the desktop app', actsOn: 'Opens {instance} in the original desktop AI app',
874
- group: 'On a saved AI session', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
1167
+ def('shell.chat-history-item', {
1168
+ label: 'Open conversation', actsOn: 'Opens {instance} and restores its transcript and draft',
1169
+ group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1170
+ });
1171
+ def('shell.chat-history-rename', {
1172
+ label: 'Rename conversation', actsOn: 'Changes the name shown for {instance}',
1173
+ group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
1174
+ });
1175
+ def('shell.chat-history-archive', {
1176
+ label: 'Archive conversation', actsOn: 'Moves {instance} into archived conversations until it is restored',
1177
+ group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
1178
+ });
1179
+ def('shell.chat-history-restore', {
1180
+ label: 'Restore conversation', actsOn: 'Returns {instance} to the active conversation list',
1181
+ group: 'In AI Chat history', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
1182
+ });
1183
+ def('shell.chat-history-delete', {
1184
+ label: 'Delete conversation', actsOn: 'Permanently deletes {instance} and its local attachments',
1185
+ group: 'In AI Chat history', persistence: 'local', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
1186
+ });
1187
+ def('shell.chat-history-filter', {
1188
+ label: 'Filter conversation history', actsOn: 'Shows {instance} for the current project or workflow only',
1189
+ group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1190
+ });
1191
+ def('shell.chat-instructor-answer', {
1192
+ label: 'Open Instructor answer', actsOn: 'Opens {instance} and focuses that exact answer',
1193
+ group: 'In AI Chat history', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1194
+ });
1195
+ def('shell.chat-new', {
1196
+ label: 'New conversation', actsOn: 'Starts a separate conversation for this project or workflow',
1197
+ group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1198
+ });
1199
+ def('shell.chat-refresh', {
1200
+ label: 'Refresh this chat session', actsOn: 'Reconnects the current AI conversation after checking its saved state',
1201
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1202
+ });
1203
+ def('shell.chat-rename', {
1204
+ label: 'Rename conversation', actsOn: 'Changes the name shown for this AI conversation',
1205
+ group: 'In AI Chat', persistence: 'local', interaction: 'dialog', risk: [], guidance: 'on-demand',
1206
+ });
1207
+ def('shell.chat-provider', {
1208
+ label: 'Choose AI provider', actsOn: 'Creates this conversation in {instance}; the provider stays fixed for its lifetime',
1209
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1210
+ });
1211
+ 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',
1213
+ group: 'In AI Chat', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
1214
+ });
1215
+ def('shell.chat-model', {
1216
+ label: 'AI model', actsOn: 'Chooses the model for later turns in this conversation',
1217
+ group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1218
+ });
1219
+ def('shell.chat-effort', {
1220
+ label: 'Reasoning effort', actsOn: 'Chooses the reasoning effort for later turns in this conversation',
1221
+ group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand',
1222
+ });
1223
+ def('shell.chat-permission', {
1224
+ label: 'File access', actsOn: 'Chooses whether later turns can read files, write inside the project or workflow folder, or use full local access',
1225
+ group: 'In AI Chat settings', persistence: 'working', interaction: 'dialog', risk: ['destructive'], guidance: 'on-demand',
1226
+ });
1227
+ def('shell.chat-integrations', {
1228
+ label: 'Connected accounts', actsOn: 'Shows which FloLess or provider accounts this conversation will use',
1229
+ group: 'In AI Chat settings', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
1230
+ why: 'When a FloLess account is selected for a service, this chat uses it instead of the same service connected in Claude or Codex.',
1231
+ });
1232
+ def('shell.chat-integration-choice', {
1233
+ label: 'Use connected account', actsOn: 'Uses {instance} for this chat, or switches that service back to the account connected in Claude or Codex',
1234
+ group: 'In AI Chat settings', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1235
+ });
1236
+ def('shell.chat-choice', {
1237
+ label: 'Choose chat setting', actsOn: 'Sets {instance} for later turns in this conversation',
1238
+ group: 'In AI Chat settings', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1239
+ });
1240
+ def('shell.chat-input', {
1241
+ label: 'Message AI', actsOn: 'Writes the next message and saves the unfinished draft with this conversation',
1242
+ group: 'In AI Chat', key: 'Enter sends · Shift + Enter starts a new line', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1243
+ });
1244
+ def('shell.chat-attach', {
1245
+ label: 'Attach file', actsOn: 'Adds images or PDFs from this computer to the next message',
1246
+ group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1247
+ });
1248
+ def('shell.chat-attach-input', {
1249
+ label: 'Choose attachments', actsOn: 'Selects the images or PDFs that the attachment button will add to the next message',
1250
+ group: 'In AI Chat', persistence: 'working', interaction: 'dialog', risk: [], guidance: 'on-demand',
1251
+ });
1252
+ def('shell.chat-attachment-remove', {
1253
+ label: 'Remove pending attachment', actsOn: 'Leaves {instance} out of the next message',
1254
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1255
+ });
1256
+ def('shell.chat-skill', {
1257
+ label: 'Use skill', actsOn: 'Adds {instance} to the next message using the skill loaded by this provider',
1258
+ group: 'In AI Chat', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
1259
+ });
1260
+ def('shell.chat-send', {
1261
+ label: 'Send message', actsOn: 'Sends this message and its explicit attachments to the selected AI provider',
1262
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['costs-time', 'costs-money'], guidance: 'on-demand',
1263
+ });
1264
+ def('shell.chat-stop', {
1265
+ label: 'Stop AI', actsOn: 'Asks the provider to stop the active turn while keeping everything already received',
1266
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
1267
+ });
1268
+ def('shell.chat-reconcile', {
1269
+ label: 'Check last AI response', actsOn: 'Checks the provider before FloLess allows another message after an interrupted connection',
1270
+ group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
1271
+ });
1272
+ def('shell.chat-approval-allow', {
1273
+ label: 'Approve once', actsOn: 'Allows the single action described in the approval card',
1274
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand',
1275
+ });
1276
+ def('shell.chat-runtime-retry', {
1277
+ label: 'Try setting up again', actsOn: 'Starts installing the AI tool version FloLess was tested with again after setup failed',
1278
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
1279
+ });
1280
+ def('shell.chat-runtime-cancel', {
1281
+ label: 'Cancel setup', actsOn: 'Stops installing the AI tool in this FloLess window; you can try again later',
1282
+ group: 'In AI Chat', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1283
+ });
1284
+ def('shell.chat-approval-deny', {
1285
+ label: 'Deny AI action', actsOn: 'Refuses the single action described in the approval card',
1286
+ group: 'In AI Chat', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand',
875
1287
  });
876
1288
 
877
- def('shell.answer-session-open-again', {
878
- label: 'Open this session again', actsOn: 'Asks Windows to reopen {instance}',
879
- group: 'On a saved AI session', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
1289
+ def('shell.workflow-agent-install', {
1290
+ 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',
1291
+ group: 'On the workflow canvas', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
880
1292
  });
881
1293
 
882
- def('shell.answer-session-retry-uncertain', {
883
- label: 'Try opening this session again', actsOn: 'Confirms and retries opening {instance} after an uncertain Windows handoff',
884
- group: 'On a saved AI session', persistence: 'external', interaction: 'dialog', risk: ['costs-time'], guidance: 'on-demand',
1294
+ def('shell.workflow-agents-install-all', {
1295
+ label: 'Install all missing agents', actsOn: 'Installs the missing agents listed above the canvas; after installation, choose Compile to refresh the workflow checks',
1296
+ group: 'On the workflow canvas', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
885
1297
  });
886
1298
 
887
1299
  def('shell.requests-open', {
888
- label: 'Open Requests', actsOn: 'Opens queued work and AI answer history, including sessions that can be continued',
1300
+ label: 'Open Requests', actsOn: 'Opens queued work; completed answers continue in the owning AI Chat conversation',
889
1301
  group: 'In the footer', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
890
1302
  });
891
1303
 
892
1304
  def('shell.requests-run', {
893
- label: 'Start this request automatically', actsOn: 'Starts {instance} automatically in the selected terminal AI',
1305
+ label: 'Start this request in the background', actsOn: 'Starts {instance} in the background with the selected terminal AI',
894
1306
  group: 'In the requests list', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
895
1307
  });
896
1308
 
1309
+ def('shell.requests-start-chat', {
1310
+ label: 'Start in AI Chat', actsOn: 'Starts {instance} in its project or workflow conversation',
1311
+ group: 'In the requests list', persistence: 'external', interaction: 'instant', risk: ['costs-time', 'costs-money'], guidance: 'on-demand',
1312
+ why: 'The request and every follow-up stay together in the same scoped conversation.',
1313
+ });
1314
+
1315
+ def('shell.requests-discuss', {
1316
+ label: 'Discuss this request', actsOn: 'Opens {instance} in AI Chat without starting it',
1317
+ group: 'In the requests list', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand',
1318
+ });
1319
+
897
1320
  def('shell.requests-retry', {
898
1321
  label: 'Retry preparation', actsOn: 'Continues the same interrupted drawing preparation for {instance} with its attached drawings',
899
1322
  group: 'In the requests list', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand',
@@ -915,7 +1338,7 @@
915
1338
  });
916
1339
 
917
1340
  def('shell.requests-technical', {
918
- label: 'Show technical instructions', actsOn: 'Expands the exact terminal-AI handoff for {instance}',
1341
+ label: 'Show detailed instructions', actsOn: 'Expands the full AI handoff for {instance}',
919
1342
  group: 'In the requests list', persistence: 'none', interaction: 'mode', risk: [], guidance: 'on-demand',
920
1343
  });
921
1344
 
@@ -1129,8 +1552,8 @@
1129
1552
  });
1130
1553
 
1131
1554
  def('shell.headless-runs-toggle', {
1132
- label: 'Headless run settings',
1133
- actsOn: 'Shows or hides the terminal AI and folder settings for queued requests',
1555
+ label: 'Background run settings',
1556
+ actsOn: 'Shows or hides the AI provider and folder settings for queued requests',
1134
1557
  group: 'In the Integrations dialog',
1135
1558
  persistence: 'none',
1136
1559
  interaction: 'instant',
@@ -1139,8 +1562,8 @@
1139
1562
  });
1140
1563
 
1141
1564
  def('shell.headless-runtime', {
1142
- label: 'Use terminal AI',
1143
- actsOn: 'Makes {instance} the default terminal AI for queued requests',
1565
+ label: 'Use terminal AI for background runs',
1566
+ actsOn: 'Chooses {instance} for queued background requests',
1144
1567
  group: 'In the Integrations dialog',
1145
1568
  persistence: 'local',
1146
1569
  interaction: 'instant',
@@ -1149,8 +1572,8 @@
1149
1572
  });
1150
1573
 
1151
1574
  def('shell.headless-folder', {
1152
- label: 'Choose headless run folder',
1153
- actsOn: 'Opens the folder setting used when queued requests start on this machine',
1575
+ label: 'Choose working folder',
1576
+ actsOn: 'Chooses the folder used when queued requests start on this computer',
1154
1577
  group: 'In the Integrations dialog',
1155
1578
  persistence: 'local',
1156
1579
  interaction: 'dialog',
@@ -1158,6 +1581,16 @@
1158
1581
  guidance: 'on-demand',
1159
1582
  });
1160
1583
 
1584
+ def('shell.integrations-retry', {
1585
+ label: 'Try integrations again',
1586
+ actsOn: 'Checks AWARE again for local integration accounts',
1587
+ group: 'In the Integrations dialog',
1588
+ persistence: 'none',
1589
+ interaction: 'instant',
1590
+ risk: [],
1591
+ guidance: 'on-demand',
1592
+ });
1593
+
1161
1594
  /* ── updates ────────────────────────────────────────────────────────────── */
1162
1595
 
1163
1596
  def('shell.aware-update-apply', {
@@ -1313,6 +1746,22 @@
1313
1746
  why: 'When an unanswered-question decision is part of this review, its count appears above the changes. After Apply, FloLess reports which RFI records were created or reused, which selected questions left the final report, and which new final questions were not asked or filed.',
1314
1747
  });
1315
1748
 
1749
+ def('shell.revision-forward-draft', {
1750
+ label: 'Use drawing read',
1751
+ actsOn: 'Chooses the revised drawing value for one overlap with newer approved work',
1752
+ group: 'In the FloLess dialogs',
1753
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1754
+ why: 'The staged read and approved History changed the same path. This choice is applied only after every overlap is decided and you confirm again.',
1755
+ });
1756
+
1757
+ def('shell.revision-forward-latest', {
1758
+ label: 'Keep approved value',
1759
+ actsOn: 'Keeps the newer approved value for one overlap with the revised drawing read',
1760
+ group: 'In the FloLess dialogs',
1761
+ persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand',
1762
+ why: 'The approved History value remains authoritative at this path; the rest of the non-overlapping drawing read can still move forward.',
1763
+ });
1764
+
1316
1765
  def('shell.revision-discard-confirm', {
1317
1766
  label: 'Discard drawing read',
1318
1767
  actsOn: 'Permanently removes this staged drawing-read review without changing the model or History',
@@ -1335,6 +1784,39 @@
1335
1784
  why: 'Stays disabled until you have been through the list — approving is a signature, not a dismissal.',
1336
1785
  });
1337
1786
 
1787
+ def('shell.approval-start-new-review', {
1788
+ label: 'Start a new approval review',
1789
+ actsOn: 'Loads a fresh comparison after the previous approval attempt ended safely',
1790
+ group: 'In the FloLess dialogs',
1791
+ persistence: 'working',
1792
+ interaction: 'instant',
1793
+ risk: [],
1794
+ guidance: 'on-demand',
1795
+ why: 'The retired approval cannot be retried. A fresh review starts with no carried decisions and mints new operation credentials only after you review and confirm it.',
1796
+ });
1797
+
1798
+ def('shell.approval-retry', {
1799
+ label: 'Try approval again',
1800
+ actsOn: 'Retries approval with the reviewed decisions after FloLess proved that nothing was approved',
1801
+ group: 'In the FloLess dialogs',
1802
+ persistence: 'approved',
1803
+ interaction: 'instant',
1804
+ risk: ['costs-time'],
1805
+ guidance: 'on-demand',
1806
+ why: 'Your decisions stay in the review. FloLess enables this only after the failed attempt has a known non-committed outcome.',
1807
+ });
1808
+
1809
+ def('shell.approval-reload', {
1810
+ label: 'Reload current approval review',
1811
+ actsOn: 'Loads the current server comparison and clears decisions made against the outdated review',
1812
+ group: 'In the FloLess dialogs',
1813
+ persistence: 'working',
1814
+ interaction: 'instant',
1815
+ risk: [],
1816
+ guidance: 'on-demand',
1817
+ why: 'The working copy or approved head moved, so the old decisions cannot safely transfer to the current comparison.',
1818
+ });
1819
+
1338
1820
  def('shell.save-changes', {
1339
1821
  label: 'Save',
1340
1822
  actsOn: 'Writes your unsaved changes',
@@ -1453,38 +1935,6 @@
1453
1935
  guidance: 'on-demand',
1454
1936
  });
1455
1937
 
1456
- def('shell.answers-collapse-all', {
1457
- label: 'Collapse or expand all answers',
1458
- actsOn: 'Folds every answer down to its header, or opens them all back up',
1459
- group: 'In the AI answers tab',
1460
- persistence: 'none',
1461
- interaction: 'instant',
1462
- risk: [],
1463
- guidance: 'on-demand',
1464
- why: 'A long answer you have read can get out of the way without being removed.',
1465
- });
1466
-
1467
- def('shell.answers-clear', {
1468
- label: 'Clear all answers',
1469
- actsOn: 'Removes every answer shown here after you confirm',
1470
- group: 'In the AI answers tab',
1471
- persistence: 'working',
1472
- interaction: 'dialog',
1473
- risk: ['destructive'],
1474
- guidance: 'on-demand',
1475
- why: 'Answers are durable records, so the bulk wipe asks first — a single one has an Undo instead.',
1476
- });
1477
-
1478
- def('shell.answers-clear-confirm', {
1479
- label: 'Clear the AI answers',
1480
- actsOn: 'Removes the answers for good',
1481
- group: 'In the AI answers tab',
1482
- persistence: 'working',
1483
- interaction: 'instant',
1484
- risk: ['destructive'],
1485
- guidance: 'on-demand',
1486
- });
1487
-
1488
1938
  def('shell.request-help-copy', {
1489
1939
  label: 'Copy the request',
1490
1940
  actsOn: 'Puts this request on your clipboard',
@@ -1516,8 +1966,8 @@
1516
1966
  });
1517
1967
 
1518
1968
  def('shell.request-help-run', {
1519
- label: 'Start automatically',
1520
- actsOn: 'Starts the request in your selected terminal AI and project folder',
1969
+ label: 'Start in background',
1970
+ actsOn: 'Starts the request in your selected terminal AI and project folder without opening Chat',
1521
1971
  group: 'In the requests list',
1522
1972
  persistence: 'external',
1523
1973
  interaction: 'instant',
@@ -1526,6 +1976,17 @@
1526
1976
  why: 'Runs the mechanical handoff unattended on this machine; the Requests row reports progress.',
1527
1977
  });
1528
1978
 
1979
+ def('shell.request-help-chat', {
1980
+ label: 'Start in AI Chat',
1981
+ actsOn: 'Starts this drawing request in its project conversation',
1982
+ group: 'In the requests list',
1983
+ persistence: 'external',
1984
+ interaction: 'instant',
1985
+ risk: ['costs-time', 'costs-money'],
1986
+ guidance: 'on-demand',
1987
+ why: 'The drawing request, questions, and follow-up stay in one project-scoped conversation.',
1988
+ });
1989
+
1529
1990
  def('shell.request-help-options', {
1530
1991
  label: 'Choose folder and terminal AI',
1531
1992
  actsOn: 'Picks where the request runs, and which AI runs it',