@memberjunction/cli 5.0.0 → 5.2.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 (48) hide show
  1. package/README.md +16 -2
  2. package/bin/dev.cmd +2 -2
  3. package/bin/run.cmd +3 -3
  4. package/dist/commands/app/check-updates.d.ts +13 -0
  5. package/dist/commands/app/check-updates.d.ts.map +1 -0
  6. package/dist/commands/app/check-updates.js +54 -0
  7. package/dist/commands/app/check-updates.js.map +1 -0
  8. package/dist/commands/app/disable.d.ts +16 -0
  9. package/dist/commands/app/disable.d.ts.map +1 -0
  10. package/dist/commands/app/disable.js +47 -0
  11. package/dist/commands/app/disable.js.map +1 -0
  12. package/dist/commands/app/enable.d.ts +16 -0
  13. package/dist/commands/app/enable.d.ts.map +1 -0
  14. package/dist/commands/app/enable.js +47 -0
  15. package/dist/commands/app/enable.js.map +1 -0
  16. package/dist/commands/app/info.d.ts +16 -0
  17. package/dist/commands/app/info.d.ts.map +1 -0
  18. package/dist/commands/app/info.js +64 -0
  19. package/dist/commands/app/info.js.map +1 -0
  20. package/dist/commands/app/install.d.ts +21 -0
  21. package/dist/commands/app/install.d.ts.map +1 -0
  22. package/dist/commands/app/install.js +54 -0
  23. package/dist/commands/app/install.js.map +1 -0
  24. package/dist/commands/app/list.d.ts +16 -0
  25. package/dist/commands/app/list.d.ts.map +1 -0
  26. package/dist/commands/app/list.js +60 -0
  27. package/dist/commands/app/list.js.map +1 -0
  28. package/dist/commands/app/remove.d.ts +22 -0
  29. package/dist/commands/app/remove.d.ts.map +1 -0
  30. package/dist/commands/app/remove.js +66 -0
  31. package/dist/commands/app/remove.js.map +1 -0
  32. package/dist/commands/app/upgrade.d.ts +20 -0
  33. package/dist/commands/app/upgrade.d.ts.map +1 -0
  34. package/dist/commands/app/upgrade.js +52 -0
  35. package/dist/commands/app/upgrade.js.map +1 -0
  36. package/dist/commands/codegen/5-0-fix-entity-names.d.ts.map +1 -1
  37. package/dist/commands/codegen/5-0-fix-entity-names.js +8 -3
  38. package/dist/commands/codegen/5-0-fix-entity-names.js.map +1 -1
  39. package/dist/config.d.ts +142 -0
  40. package/dist/config.d.ts.map +1 -1
  41. package/dist/config.js +35 -0
  42. package/dist/config.js.map +1 -1
  43. package/dist/utils/open-app-context.d.ts +48 -0
  44. package/dist/utils/open-app-context.d.ts.map +1 -0
  45. package/dist/utils/open-app-context.js +143 -0
  46. package/dist/utils/open-app-context.js.map +1 -0
  47. package/oclif.manifest.json +458 -160
  48. package/package.json +12 -12
@@ -22,6 +22,304 @@
22
22
  "index.js"
23
23
  ]
24
24
  },
25
+ "app:check-updates": {
26
+ "aliases": [],
27
+ "args": {},
28
+ "description": "Check for available upgrades for installed MJ Open Apps",
29
+ "examples": [
30
+ "<%= config.bin %> app check-updates"
31
+ ],
32
+ "flags": {},
33
+ "hasDynamicHelp": false,
34
+ "hiddenAliases": [],
35
+ "id": "app:check-updates",
36
+ "pluginAlias": "@memberjunction/cli",
37
+ "pluginName": "@memberjunction/cli",
38
+ "pluginType": "core",
39
+ "strict": true,
40
+ "enableJsonFlag": false,
41
+ "isESM": true,
42
+ "relativePath": [
43
+ "dist",
44
+ "commands",
45
+ "app",
46
+ "check-updates.js"
47
+ ]
48
+ },
49
+ "app:disable": {
50
+ "aliases": [],
51
+ "args": {
52
+ "name": {
53
+ "description": "Name of the installed app to disable",
54
+ "name": "name",
55
+ "required": true
56
+ }
57
+ },
58
+ "description": "Disable an installed MJ Open App without removing it",
59
+ "examples": [
60
+ "<%= config.bin %> app disable acme-crm"
61
+ ],
62
+ "flags": {},
63
+ "hasDynamicHelp": false,
64
+ "hiddenAliases": [],
65
+ "id": "app:disable",
66
+ "pluginAlias": "@memberjunction/cli",
67
+ "pluginName": "@memberjunction/cli",
68
+ "pluginType": "core",
69
+ "strict": true,
70
+ "enableJsonFlag": false,
71
+ "isESM": true,
72
+ "relativePath": [
73
+ "dist",
74
+ "commands",
75
+ "app",
76
+ "disable.js"
77
+ ]
78
+ },
79
+ "app:enable": {
80
+ "aliases": [],
81
+ "args": {
82
+ "name": {
83
+ "description": "Name of the installed app to enable",
84
+ "name": "name",
85
+ "required": true
86
+ }
87
+ },
88
+ "description": "Re-enable a disabled MJ Open App",
89
+ "examples": [
90
+ "<%= config.bin %> app enable acme-crm"
91
+ ],
92
+ "flags": {},
93
+ "hasDynamicHelp": false,
94
+ "hiddenAliases": [],
95
+ "id": "app:enable",
96
+ "pluginAlias": "@memberjunction/cli",
97
+ "pluginName": "@memberjunction/cli",
98
+ "pluginType": "core",
99
+ "strict": true,
100
+ "enableJsonFlag": false,
101
+ "isESM": true,
102
+ "relativePath": [
103
+ "dist",
104
+ "commands",
105
+ "app",
106
+ "enable.js"
107
+ ]
108
+ },
109
+ "app:info": {
110
+ "aliases": [],
111
+ "args": {
112
+ "name": {
113
+ "description": "Name of the installed app",
114
+ "name": "name",
115
+ "required": true
116
+ }
117
+ },
118
+ "description": "Show detailed information about an installed MJ Open App",
119
+ "examples": [
120
+ "<%= config.bin %> app info acme-crm"
121
+ ],
122
+ "flags": {},
123
+ "hasDynamicHelp": false,
124
+ "hiddenAliases": [],
125
+ "id": "app:info",
126
+ "pluginAlias": "@memberjunction/cli",
127
+ "pluginName": "@memberjunction/cli",
128
+ "pluginType": "core",
129
+ "strict": true,
130
+ "enableJsonFlag": false,
131
+ "isESM": true,
132
+ "relativePath": [
133
+ "dist",
134
+ "commands",
135
+ "app",
136
+ "info.js"
137
+ ]
138
+ },
139
+ "app:install": {
140
+ "aliases": [],
141
+ "args": {
142
+ "source": {
143
+ "description": "GitHub repository URL of the Open App",
144
+ "name": "source",
145
+ "required": true
146
+ }
147
+ },
148
+ "description": "Install an MJ Open App from a GitHub repository",
149
+ "examples": [
150
+ "<%= config.bin %> app install https://github.com/acme/mj-crm",
151
+ "<%= config.bin %> app install https://github.com/acme/mj-crm --version 1.2.0",
152
+ "<%= config.bin %> app install https://github.com/acme/mj-crm --verbose"
153
+ ],
154
+ "flags": {
155
+ "version": {
156
+ "description": "Specific version to install (default: latest)",
157
+ "name": "version",
158
+ "hasDynamicHelp": false,
159
+ "multiple": false,
160
+ "type": "option"
161
+ },
162
+ "verbose": {
163
+ "char": "v",
164
+ "description": "Show detailed output",
165
+ "name": "verbose",
166
+ "allowNo": false,
167
+ "type": "boolean"
168
+ }
169
+ },
170
+ "hasDynamicHelp": false,
171
+ "hiddenAliases": [],
172
+ "id": "app:install",
173
+ "pluginAlias": "@memberjunction/cli",
174
+ "pluginName": "@memberjunction/cli",
175
+ "pluginType": "core",
176
+ "strict": true,
177
+ "enableJsonFlag": false,
178
+ "isESM": true,
179
+ "relativePath": [
180
+ "dist",
181
+ "commands",
182
+ "app",
183
+ "install.js"
184
+ ]
185
+ },
186
+ "app:list": {
187
+ "aliases": [],
188
+ "args": {},
189
+ "description": "List all installed MJ Open Apps",
190
+ "examples": [
191
+ "<%= config.bin %> app list"
192
+ ],
193
+ "flags": {
194
+ "verbose": {
195
+ "char": "v",
196
+ "description": "Show detailed output",
197
+ "name": "verbose",
198
+ "allowNo": false,
199
+ "type": "boolean"
200
+ }
201
+ },
202
+ "hasDynamicHelp": false,
203
+ "hiddenAliases": [],
204
+ "id": "app:list",
205
+ "pluginAlias": "@memberjunction/cli",
206
+ "pluginName": "@memberjunction/cli",
207
+ "pluginType": "core",
208
+ "strict": true,
209
+ "enableJsonFlag": false,
210
+ "isESM": true,
211
+ "relativePath": [
212
+ "dist",
213
+ "commands",
214
+ "app",
215
+ "list.js"
216
+ ]
217
+ },
218
+ "app:remove": {
219
+ "aliases": [],
220
+ "args": {
221
+ "name": {
222
+ "description": "Name of the installed app to remove",
223
+ "name": "name",
224
+ "required": true
225
+ }
226
+ },
227
+ "description": "Remove an installed MJ Open App",
228
+ "examples": [
229
+ "<%= config.bin %> app remove acme-crm",
230
+ "<%= config.bin %> app remove acme-crm --keep-data",
231
+ "<%= config.bin %> app remove acme-crm --force"
232
+ ],
233
+ "flags": {
234
+ "keep-data": {
235
+ "description": "Keep the database schema and data",
236
+ "name": "keep-data",
237
+ "allowNo": false,
238
+ "type": "boolean"
239
+ },
240
+ "force": {
241
+ "description": "Force removal even if other apps depend on this one",
242
+ "name": "force",
243
+ "allowNo": false,
244
+ "type": "boolean"
245
+ },
246
+ "yes": {
247
+ "char": "y",
248
+ "description": "Skip confirmation prompt",
249
+ "name": "yes",
250
+ "allowNo": false,
251
+ "type": "boolean"
252
+ },
253
+ "verbose": {
254
+ "char": "v",
255
+ "description": "Show detailed output",
256
+ "name": "verbose",
257
+ "allowNo": false,
258
+ "type": "boolean"
259
+ }
260
+ },
261
+ "hasDynamicHelp": false,
262
+ "hiddenAliases": [],
263
+ "id": "app:remove",
264
+ "pluginAlias": "@memberjunction/cli",
265
+ "pluginName": "@memberjunction/cli",
266
+ "pluginType": "core",
267
+ "strict": true,
268
+ "enableJsonFlag": false,
269
+ "isESM": true,
270
+ "relativePath": [
271
+ "dist",
272
+ "commands",
273
+ "app",
274
+ "remove.js"
275
+ ]
276
+ },
277
+ "app:upgrade": {
278
+ "aliases": [],
279
+ "args": {
280
+ "name": {
281
+ "description": "Name of the installed app to upgrade",
282
+ "name": "name",
283
+ "required": true
284
+ }
285
+ },
286
+ "description": "Upgrade an installed MJ Open App to a newer version",
287
+ "examples": [
288
+ "<%= config.bin %> app upgrade acme-crm",
289
+ "<%= config.bin %> app upgrade acme-crm --version 1.3.0"
290
+ ],
291
+ "flags": {
292
+ "version": {
293
+ "description": "Specific version to upgrade to (default: latest)",
294
+ "name": "version",
295
+ "hasDynamicHelp": false,
296
+ "multiple": false,
297
+ "type": "option"
298
+ },
299
+ "verbose": {
300
+ "char": "v",
301
+ "description": "Show detailed output",
302
+ "name": "verbose",
303
+ "allowNo": false,
304
+ "type": "boolean"
305
+ }
306
+ },
307
+ "hasDynamicHelp": false,
308
+ "hiddenAliases": [],
309
+ "id": "app:upgrade",
310
+ "pluginAlias": "@memberjunction/cli",
311
+ "pluginName": "@memberjunction/cli",
312
+ "pluginType": "core",
313
+ "strict": true,
314
+ "enableJsonFlag": false,
315
+ "isESM": true,
316
+ "relativePath": [
317
+ "dist",
318
+ "commands",
319
+ "app",
320
+ "upgrade.js"
321
+ ]
322
+ },
25
323
  "clean": {
26
324
  "aliases": [],
27
325
  "args": {},
@@ -129,7 +427,7 @@
129
427
  "codegen:5-0-fix-entity-names": {
130
428
  "aliases": [],
131
429
  "args": {},
132
- "description": "[v5.0 Migration] Scan TypeScript files for entity names AND class names that need updating.\n\nThree strategies are applied:\n 1. Class name renames (regex) — ActionEntity -> MJActionEntity, ActionSchema -> MJActionSchema, etc.\n 2. Multi-word entity name renames (regex) — 'AI Models' -> 'MJ: AI Models'\n 3. Single-word entity name renames (AST) — 'Actions' -> 'MJ: Actions' in GetEntityObject, OpenEntityRecord,\n navigateToEntity, EntityName: assignments, .Name === comparisons, @RegisterClass decorators.\n\nThe rename map (272 entries) is built from entity_subclasses.ts @RegisterClass decorators plus\nan embedded rename map for class name prefixes. Runs in dry-run mode by default; use --fix to apply.",
430
+ "description": "[v5.0 Migration] Scan TypeScript files for entity names AND class names that need updating.\n\nThree strategies are applied:\n 1. Class name renames (regex) — ActionEntity -> MJActionEntity, ActionSchema -> MJActionSchema,\n ActionEntityExtended -> MJActionEntityExtended (extended subclasses),\n ActionEntityServerEntity -> MJActionEntityServer (server subclass suffix standardization),\n ActionFormComponentExtended -> MJActionFormComponentExtended (Angular form components).\n Explicit subclass mappings (57 entries from subclass-rename-map.json) take priority over\n auto-generated suffix rules, enabling suffix changes (e.g., _Server -> Server, ServerEntity -> Server).\n 2. Multi-word entity name renames (regex) — 'AI Models' -> 'MJ: AI Models'\n 3. Single-word entity name renames (AST) — 'Actions' -> 'MJ: Actions' in GetEntityObject, OpenEntityRecord,\n navigateToEntity, EntityName: assignments, .Name === comparisons, @RegisterClass decorators.\n\nThe rename map (272 entity entries + 57 subclass entries) is built from entity_subclasses.ts @RegisterClass\ndecorators plus embedded rename maps. Runs in dry-run mode by default; use --fix to apply.",
133
431
  "examples": [
134
432
  {
135
433
  "description": "Dry-run scan of the packages directory",
@@ -913,14 +1211,12 @@
913
1211
  "status.js"
914
1212
  ]
915
1213
  },
916
- "migrate": {
1214
+ "install": {
917
1215
  "aliases": [],
918
1216
  "args": {},
919
- "description": "Migrate MemberJunction database to latest version",
1217
+ "description": "Install MemberJunction",
920
1218
  "examples": [
921
- "<%= config.bin %> <%= command.id %>\n",
922
- "<%= config.bin %> <%= command.id %> --schema __BCSaaS --dir ./migrations/v1\n",
923
- "<%= config.bin %> <%= command.id %> --schema __BCSaaS --tag v1.0.0\n"
1219
+ "<%= config.bin %> <%= command.id %>\n"
924
1220
  ],
925
1221
  "flags": {
926
1222
  "verbose": {
@@ -929,34 +1225,11 @@
929
1225
  "name": "verbose",
930
1226
  "allowNo": false,
931
1227
  "type": "boolean"
932
- },
933
- "tag": {
934
- "char": "t",
935
- "description": "Version tag to use for running remote migrations",
936
- "name": "tag",
937
- "hasDynamicHelp": false,
938
- "multiple": false,
939
- "type": "option"
940
- },
941
- "schema": {
942
- "char": "s",
943
- "description": "Target schema (overrides coreSchema from config)",
944
- "name": "schema",
945
- "hasDynamicHelp": false,
946
- "multiple": false,
947
- "type": "option"
948
- },
949
- "dir": {
950
- "description": "Migration source directory (overrides migrationsLocation from config)",
951
- "name": "dir",
952
- "hasDynamicHelp": false,
953
- "multiple": false,
954
- "type": "option"
955
1228
  }
956
1229
  },
957
1230
  "hasDynamicHelp": false,
958
1231
  "hiddenAliases": [],
959
- "id": "migrate",
1232
+ "id": "install",
960
1233
  "pluginAlias": "@memberjunction/cli",
961
1234
  "pluginName": "@memberjunction/cli",
962
1235
  "pluginType": "core",
@@ -966,16 +1239,18 @@
966
1239
  "relativePath": [
967
1240
  "dist",
968
1241
  "commands",
969
- "migrate",
1242
+ "install",
970
1243
  "index.js"
971
1244
  ]
972
1245
  },
973
- "install": {
1246
+ "migrate": {
974
1247
  "aliases": [],
975
1248
  "args": {},
976
- "description": "Install MemberJunction",
1249
+ "description": "Migrate MemberJunction database to latest version",
977
1250
  "examples": [
978
- "<%= config.bin %> <%= command.id %>\n"
1251
+ "<%= config.bin %> <%= command.id %>\n",
1252
+ "<%= config.bin %> <%= command.id %> --schema __BCSaaS --dir ./migrations/v1\n",
1253
+ "<%= config.bin %> <%= command.id %> --schema __BCSaaS --tag v1.0.0\n"
979
1254
  ],
980
1255
  "flags": {
981
1256
  "verbose": {
@@ -984,11 +1259,34 @@
984
1259
  "name": "verbose",
985
1260
  "allowNo": false,
986
1261
  "type": "boolean"
1262
+ },
1263
+ "tag": {
1264
+ "char": "t",
1265
+ "description": "Version tag to use for running remote migrations",
1266
+ "name": "tag",
1267
+ "hasDynamicHelp": false,
1268
+ "multiple": false,
1269
+ "type": "option"
1270
+ },
1271
+ "schema": {
1272
+ "char": "s",
1273
+ "description": "Target schema (overrides coreSchema from config)",
1274
+ "name": "schema",
1275
+ "hasDynamicHelp": false,
1276
+ "multiple": false,
1277
+ "type": "option"
1278
+ },
1279
+ "dir": {
1280
+ "description": "Migration source directory (overrides migrationsLocation from config)",
1281
+ "name": "dir",
1282
+ "hasDynamicHelp": false,
1283
+ "multiple": false,
1284
+ "type": "option"
987
1285
  }
988
1286
  },
989
1287
  "hasDynamicHelp": false,
990
1288
  "hiddenAliases": [],
991
- "id": "install",
1289
+ "id": "migrate",
992
1290
  "pluginAlias": "@memberjunction/cli",
993
1291
  "pluginName": "@memberjunction/cli",
994
1292
  "pluginType": "core",
@@ -998,7 +1296,7 @@
998
1296
  "relativePath": [
999
1297
  "dist",
1000
1298
  "commands",
1001
- "install",
1299
+ "migrate",
1002
1300
  "index.js"
1003
1301
  ]
1004
1302
  },
@@ -1691,129 +1989,6 @@
1691
1989
  "watch.js"
1692
1990
  ]
1693
1991
  },
1694
- "ai:actions:list": {
1695
- "aliases": [],
1696
- "args": {},
1697
- "description": "List available AI actions",
1698
- "examples": [
1699
- "<%= config.bin %> <%= command.id %>",
1700
- "<%= config.bin %> <%= command.id %> --output=table",
1701
- "<%= config.bin %> <%= command.id %> --output=json"
1702
- ],
1703
- "flags": {
1704
- "output": {
1705
- "char": "o",
1706
- "description": "Output format",
1707
- "name": "output",
1708
- "default": "compact",
1709
- "hasDynamicHelp": false,
1710
- "multiple": false,
1711
- "options": [
1712
- "compact",
1713
- "json",
1714
- "table"
1715
- ],
1716
- "type": "option"
1717
- }
1718
- },
1719
- "hasDynamicHelp": false,
1720
- "hiddenAliases": [],
1721
- "id": "ai:actions:list",
1722
- "pluginAlias": "@memberjunction/cli",
1723
- "pluginName": "@memberjunction/cli",
1724
- "pluginType": "core",
1725
- "strict": true,
1726
- "enableJsonFlag": false,
1727
- "isESM": true,
1728
- "relativePath": [
1729
- "dist",
1730
- "commands",
1731
- "ai",
1732
- "actions",
1733
- "list.js"
1734
- ]
1735
- },
1736
- "ai:actions:run": {
1737
- "aliases": [],
1738
- "args": {},
1739
- "description": "Execute an AI action with parameters",
1740
- "examples": [
1741
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
1742
- "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
1743
- "<%= config.bin %> <%= command.id %> -n \"Send Single Message\" --param \"To=user@example.com\" --param \"Subject=Test\" --param \"Body=Hello\" --param \"MessageType=Email\" --param \"Provider=SendGrid\"",
1744
- "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
1745
- ],
1746
- "flags": {
1747
- "name": {
1748
- "char": "n",
1749
- "description": "Action name",
1750
- "name": "name",
1751
- "required": true,
1752
- "hasDynamicHelp": false,
1753
- "multiple": false,
1754
- "type": "option"
1755
- },
1756
- "param": {
1757
- "char": "p",
1758
- "description": "Action parameters in key=value format",
1759
- "name": "param",
1760
- "hasDynamicHelp": false,
1761
- "multiple": true,
1762
- "type": "option"
1763
- },
1764
- "dry-run": {
1765
- "description": "Validate without executing",
1766
- "name": "dry-run",
1767
- "allowNo": false,
1768
- "type": "boolean"
1769
- },
1770
- "output": {
1771
- "char": "o",
1772
- "description": "Output format",
1773
- "name": "output",
1774
- "default": "compact",
1775
- "hasDynamicHelp": false,
1776
- "multiple": false,
1777
- "options": [
1778
- "compact",
1779
- "json",
1780
- "table"
1781
- ],
1782
- "type": "option"
1783
- },
1784
- "verbose": {
1785
- "char": "v",
1786
- "description": "Show detailed execution information",
1787
- "name": "verbose",
1788
- "allowNo": false,
1789
- "type": "boolean"
1790
- },
1791
- "timeout": {
1792
- "description": "Execution timeout in milliseconds",
1793
- "name": "timeout",
1794
- "default": 300000,
1795
- "hasDynamicHelp": false,
1796
- "multiple": false,
1797
- "type": "option"
1798
- }
1799
- },
1800
- "hasDynamicHelp": false,
1801
- "hiddenAliases": [],
1802
- "id": "ai:actions:run",
1803
- "pluginAlias": "@memberjunction/cli",
1804
- "pluginName": "@memberjunction/cli",
1805
- "pluginType": "core",
1806
- "strict": true,
1807
- "enableJsonFlag": false,
1808
- "isESM": true,
1809
- "relativePath": [
1810
- "dist",
1811
- "commands",
1812
- "ai",
1813
- "actions",
1814
- "run.js"
1815
- ]
1816
- },
1817
1992
  "test:compare": {
1818
1993
  "aliases": [],
1819
1994
  "args": {
@@ -2357,6 +2532,129 @@
2357
2532
  "validate.js"
2358
2533
  ]
2359
2534
  },
2535
+ "ai:actions:list": {
2536
+ "aliases": [],
2537
+ "args": {},
2538
+ "description": "List available AI actions",
2539
+ "examples": [
2540
+ "<%= config.bin %> <%= command.id %>",
2541
+ "<%= config.bin %> <%= command.id %> --output=table",
2542
+ "<%= config.bin %> <%= command.id %> --output=json"
2543
+ ],
2544
+ "flags": {
2545
+ "output": {
2546
+ "char": "o",
2547
+ "description": "Output format",
2548
+ "name": "output",
2549
+ "default": "compact",
2550
+ "hasDynamicHelp": false,
2551
+ "multiple": false,
2552
+ "options": [
2553
+ "compact",
2554
+ "json",
2555
+ "table"
2556
+ ],
2557
+ "type": "option"
2558
+ }
2559
+ },
2560
+ "hasDynamicHelp": false,
2561
+ "hiddenAliases": [],
2562
+ "id": "ai:actions:list",
2563
+ "pluginAlias": "@memberjunction/cli",
2564
+ "pluginName": "@memberjunction/cli",
2565
+ "pluginType": "core",
2566
+ "strict": true,
2567
+ "enableJsonFlag": false,
2568
+ "isESM": true,
2569
+ "relativePath": [
2570
+ "dist",
2571
+ "commands",
2572
+ "ai",
2573
+ "actions",
2574
+ "list.js"
2575
+ ]
2576
+ },
2577
+ "ai:actions:run": {
2578
+ "aliases": [],
2579
+ "args": {},
2580
+ "description": "Execute an AI action with parameters",
2581
+ "examples": [
2582
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2583
+ "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2584
+ "<%= config.bin %> <%= command.id %> -n \"Send Single Message\" --param \"To=user@example.com\" --param \"Subject=Test\" --param \"Body=Hello\" --param \"MessageType=Email\" --param \"Provider=SendGrid\"",
2585
+ "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2586
+ ],
2587
+ "flags": {
2588
+ "name": {
2589
+ "char": "n",
2590
+ "description": "Action name",
2591
+ "name": "name",
2592
+ "required": true,
2593
+ "hasDynamicHelp": false,
2594
+ "multiple": false,
2595
+ "type": "option"
2596
+ },
2597
+ "param": {
2598
+ "char": "p",
2599
+ "description": "Action parameters in key=value format",
2600
+ "name": "param",
2601
+ "hasDynamicHelp": false,
2602
+ "multiple": true,
2603
+ "type": "option"
2604
+ },
2605
+ "dry-run": {
2606
+ "description": "Validate without executing",
2607
+ "name": "dry-run",
2608
+ "allowNo": false,
2609
+ "type": "boolean"
2610
+ },
2611
+ "output": {
2612
+ "char": "o",
2613
+ "description": "Output format",
2614
+ "name": "output",
2615
+ "default": "compact",
2616
+ "hasDynamicHelp": false,
2617
+ "multiple": false,
2618
+ "options": [
2619
+ "compact",
2620
+ "json",
2621
+ "table"
2622
+ ],
2623
+ "type": "option"
2624
+ },
2625
+ "verbose": {
2626
+ "char": "v",
2627
+ "description": "Show detailed execution information",
2628
+ "name": "verbose",
2629
+ "allowNo": false,
2630
+ "type": "boolean"
2631
+ },
2632
+ "timeout": {
2633
+ "description": "Execution timeout in milliseconds",
2634
+ "name": "timeout",
2635
+ "default": 300000,
2636
+ "hasDynamicHelp": false,
2637
+ "multiple": false,
2638
+ "type": "option"
2639
+ }
2640
+ },
2641
+ "hasDynamicHelp": false,
2642
+ "hiddenAliases": [],
2643
+ "id": "ai:actions:run",
2644
+ "pluginAlias": "@memberjunction/cli",
2645
+ "pluginName": "@memberjunction/cli",
2646
+ "pluginType": "core",
2647
+ "strict": true,
2648
+ "enableJsonFlag": false,
2649
+ "isESM": true,
2650
+ "relativePath": [
2651
+ "dist",
2652
+ "commands",
2653
+ "ai",
2654
+ "actions",
2655
+ "run.js"
2656
+ ]
2657
+ },
2360
2658
  "ai:agents:list": {
2361
2659
  "aliases": [],
2362
2660
  "args": {},
@@ -2842,5 +3140,5 @@
2842
3140
  ]
2843
3141
  }
2844
3142
  },
2845
- "version": "5.0.0"
3143
+ "version": "5.2.0"
2846
3144
  }