@willwade/aac-processors 0.2.18 → 0.2.20

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.
@@ -43,6 +43,8 @@ var Grid3CommandCategory;
43
43
  Grid3CommandCategory["MOUSE"] = "mouse";
44
44
  Grid3CommandCategory["WINDOW"] = "window";
45
45
  Grid3CommandCategory["MEDIA"] = "media";
46
+ Grid3CommandCategory["PHOTOS"] = "photos";
47
+ Grid3CommandCategory["COMMAND_EXECUTION"] = "command_execution";
46
48
  Grid3CommandCategory["CUSTOM"] = "custom";
47
49
  })(Grid3CommandCategory || (exports.Grid3CommandCategory = Grid3CommandCategory = {}));
48
50
  /**
@@ -100,6 +102,28 @@ exports.GRID3_COMMANDS = {
100
102
  },
101
103
  ],
102
104
  },
105
+ 'Jump.SetBookmark': {
106
+ id: 'Jump.SetBookmark',
107
+ category: Grid3CommandCategory.NAVIGATION,
108
+ pluginId: 'navigation',
109
+ displayName: 'Set Bookmark',
110
+ description: 'Set, clear, or toggle a navigation bookmark',
111
+ parameters: [
112
+ {
113
+ key: 'indicatorenabled',
114
+ type: 'boolean',
115
+ required: false,
116
+ description: 'Show indicator when bookmark is set',
117
+ },
118
+ {
119
+ key: 'action',
120
+ type: 'string',
121
+ required: false,
122
+ description: 'Action to perform: Toggle, Set, Clear',
123
+ },
124
+ ],
125
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
126
+ },
103
127
  // ========================================
104
128
  // COMMUNICATION COMMANDS
105
129
  // ========================================
@@ -156,6 +180,70 @@ exports.GRID3_COMMANDS = {
156
180
  },
157
181
  ],
158
182
  },
183
+ 'Action.Enter': {
184
+ id: 'Action.Enter',
185
+ category: Grid3CommandCategory.COMMUNICATION,
186
+ pluginId: 'core',
187
+ displayName: 'Enter',
188
+ description: 'Press Enter key',
189
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
190
+ },
191
+ 'Action.Number': {
192
+ id: 'Action.Number',
193
+ category: Grid3CommandCategory.COMMUNICATION,
194
+ pluginId: 'core',
195
+ displayName: 'Insert Number',
196
+ description: 'Insert a number character',
197
+ parameters: [
198
+ {
199
+ key: 'letter',
200
+ type: 'string',
201
+ required: true,
202
+ description: 'Number to insert',
203
+ },
204
+ ],
205
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
206
+ },
207
+ 'Action.Punctuation': {
208
+ id: 'Action.Punctuation',
209
+ category: Grid3CommandCategory.COMMUNICATION,
210
+ pluginId: 'core',
211
+ displayName: 'Insert Punctuation',
212
+ description: 'Insert a punctuation character',
213
+ parameters: [
214
+ {
215
+ key: 'letter',
216
+ type: 'string',
217
+ required: true,
218
+ description: 'Punctuation character to insert',
219
+ },
220
+ ],
221
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
222
+ },
223
+ 'Action.Copy': {
224
+ id: 'Action.Copy',
225
+ category: Grid3CommandCategory.COMMUNICATION,
226
+ pluginId: 'core',
227
+ displayName: 'Copy',
228
+ description: 'Copy selected text to clipboard',
229
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
230
+ },
231
+ 'Action.Paste': {
232
+ id: 'Action.Paste',
233
+ category: Grid3CommandCategory.COMMUNICATION,
234
+ pluginId: 'core',
235
+ displayName: 'Paste',
236
+ description: 'Paste text from clipboard',
237
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
238
+ },
239
+ 'Action.SelectAll': {
240
+ id: 'Action.SelectAll',
241
+ category: Grid3CommandCategory.COMMUNICATION,
242
+ pluginId: 'core',
243
+ displayName: 'Select All',
244
+ description: 'Select all text in the workspace',
245
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
246
+ },
159
247
  // ========================================
160
248
  // TEXT EDITING COMMANDS
161
249
  // ========================================
@@ -214,6 +302,78 @@ exports.GRID3_COMMANDS = {
214
302
  description: 'Delete character before cursor',
215
303
  platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
216
304
  },
305
+ 'Action.NextLetter': {
306
+ id: 'Action.NextLetter',
307
+ category: Grid3CommandCategory.TEXT_EDITING,
308
+ pluginId: 'core',
309
+ displayName: 'Next Letter',
310
+ description: 'Move cursor to next letter',
311
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
312
+ },
313
+ 'Action.PreviousLetter': {
314
+ id: 'Action.PreviousLetter',
315
+ category: Grid3CommandCategory.TEXT_EDITING,
316
+ pluginId: 'core',
317
+ displayName: 'Previous Letter',
318
+ description: 'Move cursor to previous letter',
319
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
320
+ },
321
+ 'Action.NextWord': {
322
+ id: 'Action.NextWord',
323
+ category: Grid3CommandCategory.TEXT_EDITING,
324
+ pluginId: 'core',
325
+ displayName: 'Next Word',
326
+ description: 'Move cursor to next word',
327
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
328
+ },
329
+ 'Action.PreviousWord': {
330
+ id: 'Action.PreviousWord',
331
+ category: Grid3CommandCategory.TEXT_EDITING,
332
+ pluginId: 'core',
333
+ displayName: 'Previous Word',
334
+ description: 'Move cursor to previous word',
335
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
336
+ },
337
+ 'Action.DocumentStart': {
338
+ id: 'Action.DocumentStart',
339
+ category: Grid3CommandCategory.TEXT_EDITING,
340
+ pluginId: 'core',
341
+ displayName: 'Document Start',
342
+ description: 'Jump cursor to the start of the document',
343
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
344
+ },
345
+ 'Action.DocumentEnd': {
346
+ id: 'Action.DocumentEnd',
347
+ category: Grid3CommandCategory.TEXT_EDITING,
348
+ pluginId: 'core',
349
+ displayName: 'Document End',
350
+ description: 'Jump cursor to the end of the document',
351
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
352
+ },
353
+ 'Action.UndoWorkspaceEdit': {
354
+ id: 'Action.UndoWorkspaceEdit',
355
+ category: Grid3CommandCategory.TEXT_EDITING,
356
+ pluginId: 'core',
357
+ displayName: 'Undo Workspace Edit',
358
+ description: 'Undo the last workspace edit',
359
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
360
+ },
361
+ 'Action.UndoClear': {
362
+ id: 'Action.UndoClear',
363
+ category: Grid3CommandCategory.TEXT_EDITING,
364
+ pluginId: 'core',
365
+ displayName: 'Undo Clear',
366
+ description: 'Undo a clear text action',
367
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
368
+ },
369
+ 'Action.Print': {
370
+ id: 'Action.Print',
371
+ category: Grid3CommandCategory.TEXT_EDITING,
372
+ pluginId: 'core',
373
+ displayName: 'Print',
374
+ description: 'Print current content',
375
+ platforms: ['desktop', 'medicare', 'medicareBionics'],
376
+ },
217
377
  // ========================================
218
378
  // SPEECH COMMANDS
219
379
  // ========================================
@@ -285,6 +445,36 @@ exports.GRID3_COMMANDS = {
285
445
  description: 'Speak without inserting text',
286
446
  platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
287
447
  },
448
+ 'Speech.Stop': {
449
+ id: 'Speech.Stop',
450
+ category: Grid3CommandCategory.SPEECH,
451
+ pluginId: 'speech',
452
+ displayName: 'Stop Speech',
453
+ description: 'Stop current speech output',
454
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
455
+ },
456
+ SpeechPlaySound: {
457
+ id: 'SpeechPlaySound',
458
+ category: Grid3CommandCategory.SPEECH,
459
+ pluginId: 'speech',
460
+ displayName: 'Play Sound',
461
+ description: 'Play a sound file',
462
+ parameters: [
463
+ {
464
+ key: 'filedata',
465
+ type: 'string',
466
+ required: true,
467
+ description: 'Sound file data or path',
468
+ },
469
+ {
470
+ key: 'wait',
471
+ type: 'boolean',
472
+ required: false,
473
+ description: 'Wait for sound to finish before continuing',
474
+ },
475
+ ],
476
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
477
+ },
288
478
  // ========================================
289
479
  // COMPUTER CONTROL COMMANDS
290
480
  // ========================================
@@ -356,6 +546,54 @@ exports.GRID3_COMMANDS = {
356
546
  description: 'Press context menu key',
357
547
  platforms: ['desktop'],
358
548
  },
549
+ 'ComputerControl.Keyboard': {
550
+ id: 'ComputerControl.Keyboard',
551
+ category: Grid3CommandCategory.COMPUTER_CONTROL,
552
+ pluginId: 'computercontrol',
553
+ displayName: 'Send Keyboard Input',
554
+ description: 'Send a sequence of keystrokes to the computer',
555
+ parameters: [
556
+ {
557
+ key: 'keystring',
558
+ type: 'string',
559
+ required: true,
560
+ description: 'Key sequence (e.g. {TAB}{ENTER}, {LEFTCONTROL}a)',
561
+ },
562
+ ],
563
+ platforms: ['desktop', 'medicareBionics'],
564
+ },
565
+ 'ComputerControl.Shift': {
566
+ id: 'ComputerControl.Shift',
567
+ category: Grid3CommandCategory.COMPUTER_CONTROL,
568
+ pluginId: 'computercontrol',
569
+ displayName: 'Shift Key',
570
+ description: 'Toggle shift key state',
571
+ parameters: [
572
+ {
573
+ key: 'action',
574
+ type: 'string',
575
+ required: false,
576
+ description: 'Action: Toggle, On, Off',
577
+ },
578
+ ],
579
+ platforms: ['desktop', 'medicareBionics'],
580
+ },
581
+ 'ComputerControl.DeviceMute': {
582
+ id: 'ComputerControl.DeviceMute',
583
+ category: Grid3CommandCategory.COMPUTER_CONTROL,
584
+ pluginId: 'computercontrol',
585
+ displayName: 'Device Mute',
586
+ description: 'Mute or unmute device audio',
587
+ parameters: [
588
+ {
589
+ key: 'indicatorenabled',
590
+ type: 'boolean',
591
+ required: false,
592
+ description: 'Show indicator when muted',
593
+ },
594
+ ],
595
+ platforms: ['desktop', 'medicareBionics'],
596
+ },
359
597
  // ========================================
360
598
  // WEB BROWSER COMMANDS
361
599
  // ========================================
@@ -431,6 +669,276 @@ exports.GRID3_COMMANDS = {
431
669
  description: 'Zoom out the page',
432
670
  platforms: ['desktop', 'ios'],
433
671
  },
672
+ 'WebBrowser.NavigateUrl': {
673
+ id: 'WebBrowser.NavigateUrl',
674
+ category: Grid3CommandCategory.WEB_BROWSER,
675
+ pluginId: 'webbrowser',
676
+ displayName: 'Navigate to URL',
677
+ description: 'Navigate the embedded browser to a specific URL',
678
+ parameters: [
679
+ {
680
+ key: 'url',
681
+ type: 'string',
682
+ required: true,
683
+ description: 'URL to navigate to',
684
+ },
685
+ ],
686
+ platforms: ['desktop', 'ios'],
687
+ },
688
+ 'WebBrowser.Reload': {
689
+ id: 'WebBrowser.Reload',
690
+ category: Grid3CommandCategory.WEB_BROWSER,
691
+ pluginId: 'webbrowser',
692
+ displayName: 'Reload Page',
693
+ description: 'Reload the current web page',
694
+ platforms: ['desktop', 'ios'],
695
+ },
696
+ 'WebBrowser.Stop': {
697
+ id: 'WebBrowser.Stop',
698
+ category: Grid3CommandCategory.WEB_BROWSER,
699
+ pluginId: 'webbrowser',
700
+ displayName: 'Stop Loading',
701
+ description: 'Stop the current page from loading',
702
+ platforms: ['desktop', 'ios'],
703
+ },
704
+ 'WebBrowser.ScrollUp': {
705
+ id: 'WebBrowser.ScrollUp',
706
+ category: Grid3CommandCategory.WEB_BROWSER,
707
+ pluginId: 'webbrowser',
708
+ displayName: 'Scroll Up',
709
+ description: 'Scroll the web page up',
710
+ parameters: [
711
+ {
712
+ key: 'size',
713
+ type: 'string',
714
+ required: false,
715
+ description: 'Scroll amount: Small, Medium, Large',
716
+ },
717
+ ],
718
+ platforms: ['desktop', 'ios'],
719
+ },
720
+ 'WebBrowser.ScrollDown': {
721
+ id: 'WebBrowser.ScrollDown',
722
+ category: Grid3CommandCategory.WEB_BROWSER,
723
+ pluginId: 'webbrowser',
724
+ displayName: 'Scroll Down',
725
+ description: 'Scroll the web page down',
726
+ parameters: [
727
+ {
728
+ key: 'size',
729
+ type: 'string',
730
+ required: false,
731
+ description: 'Scroll amount: Small, Medium, Large',
732
+ },
733
+ ],
734
+ platforms: ['desktop', 'ios'],
735
+ },
736
+ 'WebBrowser.ScrollLeft': {
737
+ id: 'WebBrowser.ScrollLeft',
738
+ category: Grid3CommandCategory.WEB_BROWSER,
739
+ pluginId: 'webbrowser',
740
+ displayName: 'Scroll Left',
741
+ description: 'Scroll the web page left',
742
+ platforms: ['desktop', 'ios'],
743
+ },
744
+ 'WebBrowser.ScrollRight': {
745
+ id: 'WebBrowser.ScrollRight',
746
+ category: Grid3CommandCategory.WEB_BROWSER,
747
+ pluginId: 'webbrowser',
748
+ displayName: 'Scroll Right',
749
+ description: 'Scroll the web page right',
750
+ platforms: ['desktop', 'ios'],
751
+ },
752
+ 'WebBrowser.SpatialNavigateUp': {
753
+ id: 'WebBrowser.SpatialNavigateUp',
754
+ category: Grid3CommandCategory.WEB_BROWSER,
755
+ pluginId: 'webbrowser',
756
+ displayName: 'Spatial Navigate Up',
757
+ description: 'Move focus to the element above',
758
+ platforms: ['desktop', 'ios'],
759
+ },
760
+ 'WebBrowser.SpatialNavigateDown': {
761
+ id: 'WebBrowser.SpatialNavigateDown',
762
+ category: Grid3CommandCategory.WEB_BROWSER,
763
+ pluginId: 'webbrowser',
764
+ displayName: 'Spatial Navigate Down',
765
+ description: 'Move focus to the element below',
766
+ platforms: ['desktop', 'ios'],
767
+ },
768
+ 'WebBrowser.SpatialNavigateLeft': {
769
+ id: 'WebBrowser.SpatialNavigateLeft',
770
+ category: Grid3CommandCategory.WEB_BROWSER,
771
+ pluginId: 'webbrowser',
772
+ displayName: 'Spatial Navigate Left',
773
+ description: 'Move focus to the element to the left',
774
+ platforms: ['desktop', 'ios'],
775
+ },
776
+ 'WebBrowser.SpatialNavigateRight': {
777
+ id: 'WebBrowser.SpatialNavigateRight',
778
+ category: Grid3CommandCategory.WEB_BROWSER,
779
+ pluginId: 'webbrowser',
780
+ displayName: 'Spatial Navigate Right',
781
+ description: 'Move focus to the element to the right',
782
+ platforms: ['desktop', 'ios'],
783
+ },
784
+ 'WebBrowser.NextElement': {
785
+ id: 'WebBrowser.NextElement',
786
+ category: Grid3CommandCategory.WEB_BROWSER,
787
+ pluginId: 'webbrowser',
788
+ displayName: 'Next Element',
789
+ description: 'Move focus to the next DOM element',
790
+ platforms: ['desktop', 'ios'],
791
+ },
792
+ 'WebBrowser.PreviousElement': {
793
+ id: 'WebBrowser.PreviousElement',
794
+ category: Grid3CommandCategory.WEB_BROWSER,
795
+ pluginId: 'webbrowser',
796
+ displayName: 'Previous Element',
797
+ description: 'Move focus to the previous DOM element',
798
+ platforms: ['desktop', 'ios'],
799
+ },
800
+ 'WebBrowser.ActivateElement': {
801
+ id: 'WebBrowser.ActivateElement',
802
+ category: Grid3CommandCategory.WEB_BROWSER,
803
+ pluginId: 'webbrowser',
804
+ displayName: 'Activate Element',
805
+ description: 'Click or activate the currently focused element',
806
+ platforms: ['desktop', 'ios'],
807
+ },
808
+ 'WebBrowser.SetZoom': {
809
+ id: 'WebBrowser.SetZoom',
810
+ category: Grid3CommandCategory.WEB_BROWSER,
811
+ pluginId: 'webbrowser',
812
+ displayName: 'Set Zoom Level',
813
+ description: 'Set a specific zoom level',
814
+ parameters: [
815
+ {
816
+ key: 'option',
817
+ type: 'string',
818
+ required: false,
819
+ description: 'Zoom option: Increase, Decrease, Reset',
820
+ },
821
+ ],
822
+ platforms: ['desktop', 'ios'],
823
+ },
824
+ 'WebBrowser.ReadingMode': {
825
+ id: 'WebBrowser.ReadingMode',
826
+ category: Grid3CommandCategory.WEB_BROWSER,
827
+ pluginId: 'webbrowser',
828
+ displayName: 'Reading Mode',
829
+ description: 'Toggle browser reading/simplified view mode',
830
+ parameters: [
831
+ {
832
+ key: 'action',
833
+ type: 'string',
834
+ required: false,
835
+ description: 'Action: Toggle, On, Off',
836
+ },
837
+ ],
838
+ platforms: ['desktop', 'ios'],
839
+ },
840
+ 'WebBrowser.InsertMobileSite': {
841
+ id: 'WebBrowser.InsertMobileSite',
842
+ category: Grid3CommandCategory.WEB_BROWSER,
843
+ pluginId: 'webbrowser',
844
+ displayName: 'Request Mobile Site',
845
+ description: 'Toggle between mobile and desktop site views',
846
+ parameters: [
847
+ {
848
+ key: 'action',
849
+ type: 'string',
850
+ required: false,
851
+ description: 'Action: Toggle, On, Off',
852
+ },
853
+ ],
854
+ platforms: ['desktop', 'ios'],
855
+ },
856
+ 'WebBrowser.ExecuteJavaScript': {
857
+ id: 'WebBrowser.ExecuteJavaScript',
858
+ category: Grid3CommandCategory.WEB_BROWSER,
859
+ pluginId: 'webbrowser',
860
+ displayName: 'Execute JavaScript',
861
+ description: 'Execute a predefined JavaScript command in the browser',
862
+ parameters: [
863
+ {
864
+ key: 'commandid',
865
+ type: 'string',
866
+ required: true,
867
+ description: 'Predefined JavaScript command ID (e.g. WhatsApp/Home/Focus_Message_Input)',
868
+ },
869
+ ],
870
+ platforms: ['desktop', 'ios'],
871
+ },
872
+ 'WebBrowser.SpeakJavascriptFunction': {
873
+ id: 'WebBrowser.SpeakJavascriptFunction',
874
+ category: Grid3CommandCategory.WEB_BROWSER,
875
+ pluginId: 'webbrowser',
876
+ displayName: 'Speak from JavaScript',
877
+ description: 'Extract text from the page via JavaScript and speak it aloud',
878
+ parameters: [
879
+ {
880
+ key: 'commandid',
881
+ type: 'string',
882
+ required: true,
883
+ description: 'JavaScript command ID for text extraction (e.g. Facebook/General/Read)',
884
+ },
885
+ ],
886
+ platforms: ['desktop', 'ios'],
887
+ },
888
+ 'WebBrowser.InsertFavourite': {
889
+ id: 'WebBrowser.InsertFavourite',
890
+ category: Grid3CommandCategory.WEB_BROWSER,
891
+ pluginId: 'webbrowser',
892
+ displayName: 'Insert Favourite',
893
+ description: 'Insert a favourite/bookmark into an auto-content cell',
894
+ parameters: [
895
+ {
896
+ key: 'location',
897
+ type: 'string',
898
+ required: false,
899
+ description: 'Location: ChooseCell',
900
+ },
901
+ {
902
+ key: 'itemindex',
903
+ type: 'number',
904
+ required: false,
905
+ description: 'Index of the favourite item',
906
+ },
907
+ ],
908
+ platforms: ['desktop', 'ios'],
909
+ },
910
+ 'WebBrowser.DeleteFavourite': {
911
+ id: 'WebBrowser.DeleteFavourite',
912
+ category: Grid3CommandCategory.WEB_BROWSER,
913
+ pluginId: 'webbrowser',
914
+ displayName: 'Delete Favourite',
915
+ description: 'Delete a favourite/bookmark',
916
+ parameters: [
917
+ {
918
+ key: 'action',
919
+ type: 'string',
920
+ required: false,
921
+ description: 'Action: Toggle',
922
+ },
923
+ ],
924
+ platforms: ['desktop', 'ios'],
925
+ },
926
+ 'WebBrowser.MoreLinks': {
927
+ id: 'WebBrowser.MoreLinks',
928
+ category: Grid3CommandCategory.WEB_BROWSER,
929
+ pluginId: 'webbrowser',
930
+ displayName: 'More Links',
931
+ description: 'Load more links from the current web page',
932
+ platforms: ['desktop', 'ios'],
933
+ },
934
+ 'WebAddress.Go': {
935
+ id: 'WebAddress.Go',
936
+ category: Grid3CommandCategory.WEB_BROWSER,
937
+ pluginId: 'webbrowser',
938
+ displayName: 'Go to Address',
939
+ description: 'Navigate to the URL in the address bar',
940
+ platforms: ['desktop', 'ios'],
941
+ },
434
942
  // ========================================
435
943
  // EMAIL COMMANDS
436
944
  // ========================================
@@ -648,6 +1156,30 @@ exports.GRID3_COMMANDS = {
648
1156
  ],
649
1157
  platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
650
1158
  },
1159
+ 'Settings.GridExplorer': {
1160
+ id: 'Settings.GridExplorer',
1161
+ category: Grid3CommandCategory.SETTINGS,
1162
+ pluginId: 'settings',
1163
+ displayName: 'Grid Explorer',
1164
+ description: 'Open the grid explorer for browsing grids',
1165
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1166
+ },
1167
+ 'Settings.RequiredFeature': {
1168
+ id: 'Settings.RequiredFeature',
1169
+ category: Grid3CommandCategory.SETTINGS,
1170
+ pluginId: 'settings',
1171
+ displayName: 'Required Feature',
1172
+ description: 'Enable or require a specific feature (e.g. Dwell)',
1173
+ parameters: [
1174
+ {
1175
+ key: 'feature',
1176
+ type: 'string',
1177
+ required: true,
1178
+ description: 'Feature name (e.g. Dwell)',
1179
+ },
1180
+ ],
1181
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1182
+ },
651
1183
  'Settings.Open': {
652
1184
  id: 'Settings.Open',
653
1185
  category: Grid3CommandCategory.SETTINGS,
@@ -730,6 +1262,66 @@ exports.GRID3_COMMANDS = {
730
1262
  ],
731
1263
  platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
732
1264
  },
1265
+ 'Prediction.AddToWordList': {
1266
+ id: 'Prediction.AddToWordList',
1267
+ category: Grid3CommandCategory.AUTO_CONTENT,
1268
+ pluginId: 'prediction',
1269
+ displayName: 'Add to Word List',
1270
+ description: 'Add a word or clipboard content to the word list',
1271
+ parameters: [
1272
+ {
1273
+ key: 'location',
1274
+ type: 'string',
1275
+ required: false,
1276
+ description: 'Where to add: EndOfList, etc.',
1277
+ },
1278
+ {
1279
+ key: 'unit',
1280
+ type: 'string',
1281
+ required: false,
1282
+ description: 'Source: Clipboard, CurrentWord',
1283
+ },
1284
+ ],
1285
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1286
+ },
1287
+ 'Prediction.DeleteWord': {
1288
+ id: 'Prediction.DeleteWord',
1289
+ category: Grid3CommandCategory.AUTO_CONTENT,
1290
+ pluginId: 'prediction',
1291
+ displayName: 'Delete Word',
1292
+ description: 'Delete a word from the prediction list',
1293
+ parameters: [
1294
+ {
1295
+ key: 'action',
1296
+ type: 'string',
1297
+ required: false,
1298
+ description: 'Action: Off',
1299
+ },
1300
+ {
1301
+ key: 'itemindex',
1302
+ type: 'number',
1303
+ required: false,
1304
+ description: 'Index of the word to delete',
1305
+ },
1306
+ ],
1307
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1308
+ },
1309
+ 'Prediction.MoreWords': {
1310
+ id: 'Prediction.MoreWords',
1311
+ category: Grid3CommandCategory.AUTO_CONTENT,
1312
+ pluginId: 'prediction',
1313
+ displayName: 'More Words',
1314
+ description: 'Load more prediction words',
1315
+ parameters: [
1316
+ {
1317
+ key: 'pagedirection',
1318
+ type: 'string',
1319
+ required: false,
1320
+ description: 'Direction: Next, Previous',
1321
+ },
1322
+ ],
1323
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1324
+ },
733
1325
  // ========================================
734
1326
  // ENVIRONMENT CONTROL COMMANDS
735
1327
  // ========================================
@@ -882,6 +1474,185 @@ exports.GRID3_COMMANDS = {
882
1474
  description: 'Decrease volume',
883
1475
  platforms: ['desktop', 'ios'],
884
1476
  },
1477
+ // ========================================
1478
+ // MUSIC VIDEO COMMANDS
1479
+ // ========================================
1480
+ 'MusicVideo.ListVideos': {
1481
+ id: 'MusicVideo.ListVideos',
1482
+ category: Grid3CommandCategory.MEDIA,
1483
+ pluginId: 'musicvideo',
1484
+ displayName: 'List Videos',
1485
+ description: 'List available videos in a folder',
1486
+ parameters: [
1487
+ {
1488
+ key: 'playwait',
1489
+ type: 'number',
1490
+ required: false,
1491
+ description: 'Wait time before playing (0 or 1)',
1492
+ },
1493
+ ],
1494
+ platforms: ['desktop', 'ios'],
1495
+ },
1496
+ 'MusicVideo.MoreMusicVideos': {
1497
+ id: 'MusicVideo.MoreMusicVideos',
1498
+ category: Grid3CommandCategory.MEDIA,
1499
+ pluginId: 'musicvideo',
1500
+ displayName: 'More Music Videos',
1501
+ description: 'Browse more music/videos by page',
1502
+ parameters: [
1503
+ {
1504
+ key: 'pagedirection',
1505
+ type: 'string',
1506
+ required: false,
1507
+ description: 'Direction: Next, Previous',
1508
+ },
1509
+ ],
1510
+ platforms: ['desktop', 'ios'],
1511
+ },
1512
+ 'MusicVideo.SetVideoFolder': {
1513
+ id: 'MusicVideo.SetVideoFolder',
1514
+ category: Grid3CommandCategory.MEDIA,
1515
+ pluginId: 'musicvideo',
1516
+ displayName: 'Set Video Folder',
1517
+ description: 'Set the video folder path',
1518
+ parameters: [
1519
+ {
1520
+ key: 'foldername',
1521
+ type: 'string',
1522
+ required: true,
1523
+ description: 'Folder path (e.g. %PROFILE%\\Videos)',
1524
+ },
1525
+ ],
1526
+ platforms: ['desktop'],
1527
+ },
1528
+ 'MusicVideo.Stop': {
1529
+ id: 'MusicVideo.Stop',
1530
+ category: Grid3CommandCategory.MEDIA,
1531
+ pluginId: 'musicvideo',
1532
+ displayName: 'Stop Video',
1533
+ description: 'Stop video playback',
1534
+ platforms: ['desktop', 'ios'],
1535
+ },
1536
+ 'MusicVideo.StoreAsAttachmentCommandId': {
1537
+ id: 'MusicVideo.StoreAsAttachmentCommandId',
1538
+ category: Grid3CommandCategory.MEDIA,
1539
+ pluginId: 'musicvideo',
1540
+ displayName: 'Attach Video',
1541
+ description: 'Store the current video as an attachment',
1542
+ platforms: ['desktop', 'ios'],
1543
+ },
1544
+ // ========================================
1545
+ // PHOTOS COMMANDS
1546
+ // ========================================
1547
+ 'Photos.Snapshot': {
1548
+ id: 'Photos.Snapshot',
1549
+ category: Grid3CommandCategory.PHOTOS,
1550
+ pluginId: 'photos',
1551
+ displayName: 'Take Photo',
1552
+ description: 'Take a photo with the camera',
1553
+ platforms: ['desktop', 'ios'],
1554
+ },
1555
+ 'Photos.ChangeCamera': {
1556
+ id: 'Photos.ChangeCamera',
1557
+ category: Grid3CommandCategory.PHOTOS,
1558
+ pluginId: 'photos',
1559
+ displayName: 'Change Camera',
1560
+ description: 'Switch between front and back camera',
1561
+ parameters: [
1562
+ {
1563
+ key: 'indicatorenabled',
1564
+ type: 'boolean',
1565
+ required: false,
1566
+ description: 'Show indicator for active camera',
1567
+ },
1568
+ ],
1569
+ platforms: ['desktop', 'ios'],
1570
+ },
1571
+ 'Photos.MorePhotos': {
1572
+ id: 'Photos.MorePhotos',
1573
+ category: Grid3CommandCategory.PHOTOS,
1574
+ pluginId: 'photos',
1575
+ displayName: 'More Photos',
1576
+ description: 'Load more photos from the gallery',
1577
+ platforms: ['desktop', 'ios'],
1578
+ },
1579
+ 'Photos.MyPictures': {
1580
+ id: 'Photos.MyPictures',
1581
+ category: Grid3CommandCategory.PHOTOS,
1582
+ pluginId: 'photos',
1583
+ displayName: 'My Pictures',
1584
+ description: 'Open the My Pictures folder',
1585
+ platforms: ['desktop'],
1586
+ },
1587
+ 'Photos.SnapshotsFolder': {
1588
+ id: 'Photos.SnapshotsFolder',
1589
+ category: Grid3CommandCategory.PHOTOS,
1590
+ pluginId: 'photos',
1591
+ displayName: 'Snapshots Folder',
1592
+ description: 'Open the snapshots folder',
1593
+ platforms: ['desktop'],
1594
+ },
1595
+ 'Photos.StoreAsAttachment': {
1596
+ id: 'Photos.StoreAsAttachment',
1597
+ category: Grid3CommandCategory.PHOTOS,
1598
+ pluginId: 'photos',
1599
+ displayName: 'Attach Photo',
1600
+ description: 'Store the current photo as an attachment',
1601
+ platforms: ['desktop', 'ios'],
1602
+ },
1603
+ // ========================================
1604
+ // COMMAND EXECUTION COMMANDS
1605
+ // ========================================
1606
+ 'CommandExecution.Wait': {
1607
+ id: 'CommandExecution.Wait',
1608
+ category: Grid3CommandCategory.COMMAND_EXECUTION,
1609
+ pluginId: 'commandexecution',
1610
+ displayName: 'Wait',
1611
+ description: 'Pause command execution for a specified duration',
1612
+ parameters: [
1613
+ {
1614
+ key: 'waittime',
1615
+ type: 'string',
1616
+ required: true,
1617
+ description: 'Duration (e.g. 00:00:01.5000000)',
1618
+ },
1619
+ {
1620
+ key: 'cancellable',
1621
+ type: 'boolean',
1622
+ required: false,
1623
+ description: 'Whether the wait can be cancelled',
1624
+ },
1625
+ ],
1626
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1627
+ },
1628
+ 'CommandExecution.AutoRepeat': {
1629
+ id: 'CommandExecution.AutoRepeat',
1630
+ category: Grid3CommandCategory.COMMAND_EXECUTION,
1631
+ pluginId: 'commandexecution',
1632
+ displayName: 'Auto Repeat',
1633
+ description: 'Repeat a set of commands multiple times with a gap',
1634
+ parameters: [
1635
+ {
1636
+ key: 'repeatcount',
1637
+ type: 'number',
1638
+ required: true,
1639
+ description: 'Number of times to repeat',
1640
+ },
1641
+ {
1642
+ key: 'repeatgap',
1643
+ type: 'string',
1644
+ required: true,
1645
+ description: 'Time gap between repeats (e.g. 00:00:00.0100000)',
1646
+ },
1647
+ {
1648
+ key: 'commands',
1649
+ type: 'string',
1650
+ required: true,
1651
+ description: 'Nested command collection to repeat',
1652
+ },
1653
+ ],
1654
+ platforms: ['desktop', 'ios', 'medicare', 'medicareBionics'],
1655
+ },
885
1656
  };
886
1657
  /**
887
1658
  * Get command definition by ID