@memberjunction/cli 5.38.0 → 5.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baseline/emitter.js +23 -16
- package/dist/baseline/emitter.js.map +1 -1
- package/dist/commands/bundle/index.d.ts +21 -0
- package/dist/commands/bundle/index.d.ts.map +1 -0
- package/dist/commands/bundle/index.js +62 -0
- package/dist/commands/bundle/index.js.map +1 -0
- package/dist/commands/migrate/index.d.ts +29 -0
- package/dist/commands/migrate/index.d.ts.map +1 -1
- package/dist/commands/migrate/index.js +111 -5
- package/dist/commands/migrate/index.js.map +1 -1
- package/dist/config.d.ts +6 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +13 -0
- package/dist/config.js.map +1 -1
- package/dist/lib/db-preflight.d.ts +42 -0
- package/dist/lib/db-preflight.d.ts.map +1 -0
- package/dist/lib/db-preflight.js +113 -0
- package/dist/lib/db-preflight.js.map +1 -0
- package/dist/lib/db-version.d.ts +36 -0
- package/dist/lib/db-version.d.ts.map +1 -0
- package/dist/lib/db-version.js +45 -0
- package/dist/lib/db-version.js.map +1 -0
- package/dist/lib/migration-fetch.d.ts +49 -0
- package/dist/lib/migration-fetch.d.ts.map +1 -0
- package/dist/lib/migration-fetch.js +152 -0
- package/dist/lib/migration-fetch.js.map +1 -0
- package/dist/light-commands.d.ts.map +1 -1
- package/dist/light-commands.js +2 -0
- package/dist/light-commands.js.map +1 -1
- package/oclif.manifest.json +535 -449
- package/package.json +15 -15
package/oclif.manifest.json
CHANGED
|
@@ -338,6 +338,67 @@
|
|
|
338
338
|
"upgrade.js"
|
|
339
339
|
]
|
|
340
340
|
},
|
|
341
|
+
"artifacts:reclassify": {
|
|
342
|
+
"aliases": [],
|
|
343
|
+
"args": {},
|
|
344
|
+
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
345
|
+
"examples": [
|
|
346
|
+
"<%= config.bin %> <%= command.id %>",
|
|
347
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
348
|
+
],
|
|
349
|
+
"flags": {
|
|
350
|
+
"conversation-id": {
|
|
351
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
352
|
+
"name": "conversation-id",
|
|
353
|
+
"hasDynamicHelp": false,
|
|
354
|
+
"multiple": false,
|
|
355
|
+
"type": "option"
|
|
356
|
+
},
|
|
357
|
+
"since": {
|
|
358
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
359
|
+
"name": "since",
|
|
360
|
+
"hasDynamicHelp": false,
|
|
361
|
+
"multiple": false,
|
|
362
|
+
"type": "option"
|
|
363
|
+
},
|
|
364
|
+
"limit": {
|
|
365
|
+
"description": "Maximum number of rows to inspect.",
|
|
366
|
+
"name": "limit",
|
|
367
|
+
"default": 100,
|
|
368
|
+
"hasDynamicHelp": false,
|
|
369
|
+
"multiple": false,
|
|
370
|
+
"type": "option"
|
|
371
|
+
},
|
|
372
|
+
"apply": {
|
|
373
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
374
|
+
"name": "apply",
|
|
375
|
+
"allowNo": false,
|
|
376
|
+
"type": "boolean"
|
|
377
|
+
},
|
|
378
|
+
"verbose": {
|
|
379
|
+
"char": "v",
|
|
380
|
+
"description": "Print every candidate row, not just the summary.",
|
|
381
|
+
"name": "verbose",
|
|
382
|
+
"allowNo": false,
|
|
383
|
+
"type": "boolean"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"hasDynamicHelp": false,
|
|
387
|
+
"hiddenAliases": [],
|
|
388
|
+
"id": "artifacts:reclassify",
|
|
389
|
+
"pluginAlias": "@memberjunction/cli",
|
|
390
|
+
"pluginName": "@memberjunction/cli",
|
|
391
|
+
"pluginType": "core",
|
|
392
|
+
"strict": true,
|
|
393
|
+
"enableJsonFlag": false,
|
|
394
|
+
"isESM": true,
|
|
395
|
+
"relativePath": [
|
|
396
|
+
"dist",
|
|
397
|
+
"commands",
|
|
398
|
+
"artifacts",
|
|
399
|
+
"reclassify.js"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
341
402
|
"baseline:build": {
|
|
342
403
|
"aliases": [],
|
|
343
404
|
"args": {},
|
|
@@ -676,67 +737,6 @@
|
|
|
676
737
|
"roundtrip.js"
|
|
677
738
|
]
|
|
678
739
|
},
|
|
679
|
-
"artifacts:reclassify": {
|
|
680
|
-
"aliases": [],
|
|
681
|
-
"args": {},
|
|
682
|
-
"description": "Upgrade-recovery utility for v5.35 artifact unification. Re-evaluates rows whose TypeID is the deleted JSON fallback but whose actual content does not parse as JSON. Normally a no-op: the v5.35 backfill migration handles this automatically. This command is only relevant when the migration ran BEFORE the artifact-type metadata (Generic Text / Generic Binary) was pushed via `mj sync push`, in which case the migration prints a notice telling you to run this. Reports \"no candidates\" once everything is reconciled. Dry-run by default; --apply writes through Record Changes.",
|
|
683
|
-
"examples": [
|
|
684
|
-
"<%= config.bin %> <%= command.id %>",
|
|
685
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
686
|
-
],
|
|
687
|
-
"flags": {
|
|
688
|
-
"conversation-id": {
|
|
689
|
-
"description": "Scope to artifacts attached to the given conversation.",
|
|
690
|
-
"name": "conversation-id",
|
|
691
|
-
"hasDynamicHelp": false,
|
|
692
|
-
"multiple": false,
|
|
693
|
-
"type": "option"
|
|
694
|
-
},
|
|
695
|
-
"since": {
|
|
696
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
697
|
-
"name": "since",
|
|
698
|
-
"hasDynamicHelp": false,
|
|
699
|
-
"multiple": false,
|
|
700
|
-
"type": "option"
|
|
701
|
-
},
|
|
702
|
-
"limit": {
|
|
703
|
-
"description": "Maximum number of rows to inspect.",
|
|
704
|
-
"name": "limit",
|
|
705
|
-
"default": 100,
|
|
706
|
-
"hasDynamicHelp": false,
|
|
707
|
-
"multiple": false,
|
|
708
|
-
"type": "option"
|
|
709
|
-
},
|
|
710
|
-
"apply": {
|
|
711
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
712
|
-
"name": "apply",
|
|
713
|
-
"allowNo": false,
|
|
714
|
-
"type": "boolean"
|
|
715
|
-
},
|
|
716
|
-
"verbose": {
|
|
717
|
-
"char": "v",
|
|
718
|
-
"description": "Print every candidate row, not just the summary.",
|
|
719
|
-
"name": "verbose",
|
|
720
|
-
"allowNo": false,
|
|
721
|
-
"type": "boolean"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
"hasDynamicHelp": false,
|
|
725
|
-
"hiddenAliases": [],
|
|
726
|
-
"id": "artifacts:reclassify",
|
|
727
|
-
"pluginAlias": "@memberjunction/cli",
|
|
728
|
-
"pluginName": "@memberjunction/cli",
|
|
729
|
-
"pluginType": "core",
|
|
730
|
-
"strict": true,
|
|
731
|
-
"enableJsonFlag": false,
|
|
732
|
-
"isESM": true,
|
|
733
|
-
"relativePath": [
|
|
734
|
-
"dist",
|
|
735
|
-
"commands",
|
|
736
|
-
"artifacts",
|
|
737
|
-
"reclassify.js"
|
|
738
|
-
]
|
|
739
|
-
},
|
|
740
740
|
"bump": {
|
|
741
741
|
"aliases": [],
|
|
742
742
|
"args": {},
|
|
@@ -809,6 +809,86 @@
|
|
|
809
809
|
"index.js"
|
|
810
810
|
]
|
|
811
811
|
},
|
|
812
|
+
"bundle": {
|
|
813
|
+
"aliases": [],
|
|
814
|
+
"args": {},
|
|
815
|
+
"description": "Create a self-contained MemberJunction distribution zip for offline/air-gapped installs",
|
|
816
|
+
"examples": [
|
|
817
|
+
"<%= config.bin %> <%= command.id %> --out ./mj-install.zip",
|
|
818
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --out ./mj-install.zip",
|
|
819
|
+
"<%= config.bin %> <%= command.id %> --source . --out ./mj-install.zip",
|
|
820
|
+
"<%= config.bin %> <%= command.id %> --tag v5.38.0 --with-migrations --out ./mj-install.zip",
|
|
821
|
+
"<%= config.bin %> <%= command.id %> --with-migrations --db-platform postgresql --out ./mj-install.zip"
|
|
822
|
+
],
|
|
823
|
+
"flags": {
|
|
824
|
+
"out": {
|
|
825
|
+
"char": "o",
|
|
826
|
+
"description": "Output zip path",
|
|
827
|
+
"name": "out",
|
|
828
|
+
"required": true,
|
|
829
|
+
"hasDynamicHelp": false,
|
|
830
|
+
"multiple": false,
|
|
831
|
+
"type": "option"
|
|
832
|
+
},
|
|
833
|
+
"tag": {
|
|
834
|
+
"char": "t",
|
|
835
|
+
"description": "Release tag to bundle (e.g. v5.38.0). Defaults to the latest branch tip.",
|
|
836
|
+
"name": "tag",
|
|
837
|
+
"hasDynamicHelp": false,
|
|
838
|
+
"multiple": false,
|
|
839
|
+
"type": "option"
|
|
840
|
+
},
|
|
841
|
+
"source": {
|
|
842
|
+
"description": "Bundle from a local working-tree directory instead of fetching from the repo",
|
|
843
|
+
"name": "source",
|
|
844
|
+
"hasDynamicHelp": false,
|
|
845
|
+
"multiple": false,
|
|
846
|
+
"type": "option"
|
|
847
|
+
},
|
|
848
|
+
"with-migrations": {
|
|
849
|
+
"description": "Include the migration tree(s) so an air-gapped \"mj migrate\" can run offline. Ships both SQL Server and PostgreSQL trees by default.",
|
|
850
|
+
"name": "with-migrations",
|
|
851
|
+
"allowNo": false,
|
|
852
|
+
"type": "boolean"
|
|
853
|
+
},
|
|
854
|
+
"db-platform": {
|
|
855
|
+
"dependsOn": [
|
|
856
|
+
"with-migrations"
|
|
857
|
+
],
|
|
858
|
+
"description": "With --with-migrations, ship only this platform's migration tree instead of both",
|
|
859
|
+
"name": "db-platform",
|
|
860
|
+
"hasDynamicHelp": false,
|
|
861
|
+
"multiple": false,
|
|
862
|
+
"options": [
|
|
863
|
+
"sqlserver",
|
|
864
|
+
"postgresql"
|
|
865
|
+
],
|
|
866
|
+
"type": "option"
|
|
867
|
+
},
|
|
868
|
+
"verbose": {
|
|
869
|
+
"char": "v",
|
|
870
|
+
"description": "Show detailed output",
|
|
871
|
+
"name": "verbose",
|
|
872
|
+
"allowNo": false,
|
|
873
|
+
"type": "boolean"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"hasDynamicHelp": false,
|
|
877
|
+
"hiddenAliases": [],
|
|
878
|
+
"id": "bundle",
|
|
879
|
+
"pluginAlias": "@memberjunction/cli",
|
|
880
|
+
"pluginName": "@memberjunction/cli",
|
|
881
|
+
"pluginType": "core",
|
|
882
|
+
"strict": true,
|
|
883
|
+
"enableJsonFlag": false,
|
|
884
|
+
"isESM": true,
|
|
885
|
+
"relativePath": [
|
|
886
|
+
"dist",
|
|
887
|
+
"commands",
|
|
888
|
+
"bundle",
|
|
889
|
+
"index.js"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
812
892
|
"clean": {
|
|
813
893
|
"aliases": [],
|
|
814
894
|
"args": {},
|
|
@@ -1244,63 +1324,6 @@
|
|
|
1244
1324
|
"manifest.js"
|
|
1245
1325
|
]
|
|
1246
1326
|
},
|
|
1247
|
-
"doctor": {
|
|
1248
|
-
"aliases": [],
|
|
1249
|
-
"args": {},
|
|
1250
|
-
"description": "Diagnose a MemberJunction installation",
|
|
1251
|
-
"examples": [
|
|
1252
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1253
|
-
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
1254
|
-
"<%= config.bin %> <%= command.id %> --verbose",
|
|
1255
|
-
"<%= config.bin %> <%= command.id %> --report",
|
|
1256
|
-
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
1257
|
-
],
|
|
1258
|
-
"flags": {
|
|
1259
|
-
"dir": {
|
|
1260
|
-
"description": "Target directory to diagnose",
|
|
1261
|
-
"name": "dir",
|
|
1262
|
-
"default": ".",
|
|
1263
|
-
"hasDynamicHelp": false,
|
|
1264
|
-
"multiple": false,
|
|
1265
|
-
"type": "option"
|
|
1266
|
-
},
|
|
1267
|
-
"verbose": {
|
|
1268
|
-
"char": "v",
|
|
1269
|
-
"description": "Show detailed output including suggested fixes inline",
|
|
1270
|
-
"name": "verbose",
|
|
1271
|
-
"allowNo": false,
|
|
1272
|
-
"type": "boolean"
|
|
1273
|
-
},
|
|
1274
|
-
"report": {
|
|
1275
|
-
"char": "r",
|
|
1276
|
-
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
1277
|
-
"name": "report",
|
|
1278
|
-
"allowNo": false,
|
|
1279
|
-
"type": "boolean"
|
|
1280
|
-
},
|
|
1281
|
-
"report_extended": {
|
|
1282
|
-
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
1283
|
-
"name": "report_extended",
|
|
1284
|
-
"allowNo": false,
|
|
1285
|
-
"type": "boolean"
|
|
1286
|
-
}
|
|
1287
|
-
},
|
|
1288
|
-
"hasDynamicHelp": false,
|
|
1289
|
-
"hiddenAliases": [],
|
|
1290
|
-
"id": "doctor",
|
|
1291
|
-
"pluginAlias": "@memberjunction/cli",
|
|
1292
|
-
"pluginName": "@memberjunction/cli",
|
|
1293
|
-
"pluginType": "core",
|
|
1294
|
-
"strict": true,
|
|
1295
|
-
"enableJsonFlag": false,
|
|
1296
|
-
"isESM": true,
|
|
1297
|
-
"relativePath": [
|
|
1298
|
-
"dist",
|
|
1299
|
-
"commands",
|
|
1300
|
-
"doctor",
|
|
1301
|
-
"index.js"
|
|
1302
|
-
]
|
|
1303
|
-
},
|
|
1304
1327
|
"dbdoc:analyze": {
|
|
1305
1328
|
"aliases": [],
|
|
1306
1329
|
"args": {},
|
|
@@ -1738,21 +1761,136 @@
|
|
|
1738
1761
|
"status.js"
|
|
1739
1762
|
]
|
|
1740
1763
|
},
|
|
1741
|
-
"
|
|
1764
|
+
"install": {
|
|
1742
1765
|
"aliases": [],
|
|
1743
1766
|
"args": {},
|
|
1744
|
-
"description": "
|
|
1767
|
+
"description": "Install MemberJunction from a GitHub release",
|
|
1745
1768
|
"examples": [
|
|
1746
|
-
"<%= config.bin %>
|
|
1747
|
-
"<%= config.bin %>
|
|
1748
|
-
"<%= config.bin %>
|
|
1749
|
-
"<%= config.bin %>
|
|
1750
|
-
"<%= config.bin %> migrate convert --verbose"
|
|
1769
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1770
|
+
"<%= config.bin %> <%= command.id %> -t v4.3.0",
|
|
1771
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
1772
|
+
"<%= config.bin %> <%= command.id %> --yes"
|
|
1751
1773
|
],
|
|
1752
1774
|
"flags": {
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
1775
|
+
"tag": {
|
|
1776
|
+
"char": "t",
|
|
1777
|
+
"description": "Release tag to install (e.g. v4.3.0). If omitted, shows a version picker.",
|
|
1778
|
+
"name": "tag",
|
|
1779
|
+
"hasDynamicHelp": false,
|
|
1780
|
+
"multiple": false,
|
|
1781
|
+
"type": "option"
|
|
1782
|
+
},
|
|
1783
|
+
"dir": {
|
|
1784
|
+
"description": "Target directory for the installation",
|
|
1785
|
+
"name": "dir",
|
|
1786
|
+
"default": ".",
|
|
1787
|
+
"hasDynamicHelp": false,
|
|
1788
|
+
"multiple": false,
|
|
1789
|
+
"type": "option"
|
|
1790
|
+
},
|
|
1791
|
+
"config": {
|
|
1792
|
+
"char": "c",
|
|
1793
|
+
"description": "Path to JSON config file with install settings (database, auth, ports, etc.)",
|
|
1794
|
+
"name": "config",
|
|
1795
|
+
"hasDynamicHelp": false,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1798
|
+
},
|
|
1799
|
+
"legacy": {
|
|
1800
|
+
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
1801
|
+
"hidden": true,
|
|
1802
|
+
"name": "legacy",
|
|
1803
|
+
"allowNo": false,
|
|
1804
|
+
"type": "boolean"
|
|
1805
|
+
},
|
|
1806
|
+
"dry-run": {
|
|
1807
|
+
"description": "Show the install plan without executing it",
|
|
1808
|
+
"name": "dry-run",
|
|
1809
|
+
"allowNo": false,
|
|
1810
|
+
"type": "boolean"
|
|
1811
|
+
},
|
|
1812
|
+
"yes": {
|
|
1813
|
+
"char": "y",
|
|
1814
|
+
"description": "Non-interactive mode: auto-select latest version and accept defaults",
|
|
1815
|
+
"name": "yes",
|
|
1816
|
+
"allowNo": false,
|
|
1817
|
+
"type": "boolean"
|
|
1818
|
+
},
|
|
1819
|
+
"verbose": {
|
|
1820
|
+
"char": "v",
|
|
1821
|
+
"description": "Show detailed output",
|
|
1822
|
+
"name": "verbose",
|
|
1823
|
+
"allowNo": false,
|
|
1824
|
+
"type": "boolean"
|
|
1825
|
+
},
|
|
1826
|
+
"skip-db": {
|
|
1827
|
+
"description": "Skip database provisioning phases",
|
|
1828
|
+
"name": "skip-db",
|
|
1829
|
+
"allowNo": false,
|
|
1830
|
+
"type": "boolean"
|
|
1831
|
+
},
|
|
1832
|
+
"skip-start": {
|
|
1833
|
+
"description": "Skip service startup and smoke tests",
|
|
1834
|
+
"name": "skip-start",
|
|
1835
|
+
"allowNo": false,
|
|
1836
|
+
"type": "boolean"
|
|
1837
|
+
},
|
|
1838
|
+
"no-resume": {
|
|
1839
|
+
"description": "Ignore any existing checkpoint and start fresh",
|
|
1840
|
+
"name": "no-resume",
|
|
1841
|
+
"allowNo": false,
|
|
1842
|
+
"type": "boolean"
|
|
1843
|
+
},
|
|
1844
|
+
"fast": {
|
|
1845
|
+
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
1846
|
+
"name": "fast",
|
|
1847
|
+
"allowNo": false,
|
|
1848
|
+
"type": "boolean"
|
|
1849
|
+
},
|
|
1850
|
+
"overwrite-config": {
|
|
1851
|
+
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
1852
|
+
"name": "overwrite-config",
|
|
1853
|
+
"allowNo": false,
|
|
1854
|
+
"type": "boolean"
|
|
1855
|
+
},
|
|
1856
|
+
"monorepo": {
|
|
1857
|
+
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
1858
|
+
"name": "monorepo",
|
|
1859
|
+
"allowNo": false,
|
|
1860
|
+
"type": "boolean"
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"hasDynamicHelp": false,
|
|
1864
|
+
"hiddenAliases": [],
|
|
1865
|
+
"id": "install",
|
|
1866
|
+
"pluginAlias": "@memberjunction/cli",
|
|
1867
|
+
"pluginName": "@memberjunction/cli",
|
|
1868
|
+
"pluginType": "core",
|
|
1869
|
+
"strict": true,
|
|
1870
|
+
"enableJsonFlag": false,
|
|
1871
|
+
"isESM": true,
|
|
1872
|
+
"relativePath": [
|
|
1873
|
+
"dist",
|
|
1874
|
+
"commands",
|
|
1875
|
+
"install",
|
|
1876
|
+
"index.js"
|
|
1877
|
+
]
|
|
1878
|
+
},
|
|
1879
|
+
"migrate:convert": {
|
|
1880
|
+
"aliases": [],
|
|
1881
|
+
"args": {},
|
|
1882
|
+
"description": "Convert T-SQL migrations to PostgreSQL using the BatchConverter pipeline",
|
|
1883
|
+
"examples": [
|
|
1884
|
+
"<%= config.bin %> migrate convert",
|
|
1885
|
+
"<%= config.bin %> migrate convert --dry-run",
|
|
1886
|
+
"<%= config.bin %> migrate convert --file V202604060452__v5.24.x__KnowledgeHub.sql",
|
|
1887
|
+
"<%= config.bin %> migrate convert --source-dir ./migrations/v5 --output-dir ./migrations-pg/v5",
|
|
1888
|
+
"<%= config.bin %> migrate convert --verbose"
|
|
1889
|
+
],
|
|
1890
|
+
"flags": {
|
|
1891
|
+
"source-dir": {
|
|
1892
|
+
"description": "Source T-SQL migrations directory",
|
|
1893
|
+
"name": "source-dir",
|
|
1756
1894
|
"default": "./migrations/v5",
|
|
1757
1895
|
"hasDynamicHelp": false,
|
|
1758
1896
|
"multiple": false,
|
|
@@ -1922,6 +2060,12 @@
|
|
|
1922
2060
|
"hasDynamicHelp": false,
|
|
1923
2061
|
"multiple": false,
|
|
1924
2062
|
"type": "option"
|
|
2063
|
+
},
|
|
2064
|
+
"check-connection": {
|
|
2065
|
+
"description": "Verify the database connection (including TLS) and exit without migrating",
|
|
2066
|
+
"name": "check-connection",
|
|
2067
|
+
"allowNo": false,
|
|
2068
|
+
"type": "boolean"
|
|
1925
2069
|
}
|
|
1926
2070
|
},
|
|
1927
2071
|
"hasDynamicHelp": false,
|
|
@@ -2155,6 +2299,63 @@
|
|
|
2155
2299
|
"validate.js"
|
|
2156
2300
|
]
|
|
2157
2301
|
},
|
|
2302
|
+
"doctor": {
|
|
2303
|
+
"aliases": [],
|
|
2304
|
+
"args": {},
|
|
2305
|
+
"description": "Diagnose a MemberJunction installation",
|
|
2306
|
+
"examples": [
|
|
2307
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2308
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
|
|
2309
|
+
"<%= config.bin %> <%= command.id %> --verbose",
|
|
2310
|
+
"<%= config.bin %> <%= command.id %> --report",
|
|
2311
|
+
"<%= config.bin %> <%= command.id %> --report_extended"
|
|
2312
|
+
],
|
|
2313
|
+
"flags": {
|
|
2314
|
+
"dir": {
|
|
2315
|
+
"description": "Target directory to diagnose",
|
|
2316
|
+
"name": "dir",
|
|
2317
|
+
"default": ".",
|
|
2318
|
+
"hasDynamicHelp": false,
|
|
2319
|
+
"multiple": false,
|
|
2320
|
+
"type": "option"
|
|
2321
|
+
},
|
|
2322
|
+
"verbose": {
|
|
2323
|
+
"char": "v",
|
|
2324
|
+
"description": "Show detailed output including suggested fixes inline",
|
|
2325
|
+
"name": "verbose",
|
|
2326
|
+
"allowNo": false,
|
|
2327
|
+
"type": "boolean"
|
|
2328
|
+
},
|
|
2329
|
+
"report": {
|
|
2330
|
+
"char": "r",
|
|
2331
|
+
"description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
|
|
2332
|
+
"name": "report",
|
|
2333
|
+
"allowNo": false,
|
|
2334
|
+
"type": "boolean"
|
|
2335
|
+
},
|
|
2336
|
+
"report_extended": {
|
|
2337
|
+
"description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
|
|
2338
|
+
"name": "report_extended",
|
|
2339
|
+
"allowNo": false,
|
|
2340
|
+
"type": "boolean"
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
"hasDynamicHelp": false,
|
|
2344
|
+
"hiddenAliases": [],
|
|
2345
|
+
"id": "doctor",
|
|
2346
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2347
|
+
"pluginName": "@memberjunction/cli",
|
|
2348
|
+
"pluginType": "core",
|
|
2349
|
+
"strict": true,
|
|
2350
|
+
"enableJsonFlag": false,
|
|
2351
|
+
"isESM": true,
|
|
2352
|
+
"relativePath": [
|
|
2353
|
+
"dist",
|
|
2354
|
+
"commands",
|
|
2355
|
+
"doctor",
|
|
2356
|
+
"index.js"
|
|
2357
|
+
]
|
|
2358
|
+
},
|
|
2158
2359
|
"sql-audit": {
|
|
2159
2360
|
"aliases": [],
|
|
2160
2361
|
"args": {},
|
|
@@ -2800,65 +3001,164 @@
|
|
|
2800
3001
|
"watch.js"
|
|
2801
3002
|
]
|
|
2802
3003
|
},
|
|
2803
|
-
"
|
|
3004
|
+
"translate-sql": {
|
|
2804
3005
|
"aliases": [],
|
|
2805
|
-
"args": {
|
|
2806
|
-
|
|
2807
|
-
"description": "First test run ID to compare",
|
|
2808
|
-
"name": "runId1",
|
|
2809
|
-
"required": false
|
|
2810
|
-
},
|
|
2811
|
-
"runId2": {
|
|
2812
|
-
"description": "Second test run ID to compare",
|
|
2813
|
-
"name": "runId2",
|
|
2814
|
-
"required": false
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
"description": "Compare test runs for regression detection",
|
|
3006
|
+
"args": {},
|
|
3007
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
2818
3008
|
"examples": [
|
|
2819
|
-
"<%= config.bin %>
|
|
2820
|
-
"<%= config.bin %>
|
|
2821
|
-
"<%= config.bin %>
|
|
2822
|
-
"<%= config.bin %>
|
|
2823
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
2824
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
2825
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3009
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
3010
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
3011
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
3012
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
2826
3013
|
],
|
|
2827
3014
|
"flags": {
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2831
|
-
"
|
|
3015
|
+
"from": {
|
|
3016
|
+
"description": "Source SQL dialect",
|
|
3017
|
+
"name": "from",
|
|
3018
|
+
"required": true,
|
|
2832
3019
|
"hasDynamicHelp": false,
|
|
2833
|
-
"multiple":
|
|
3020
|
+
"multiple": false,
|
|
3021
|
+
"options": [
|
|
3022
|
+
"sqlserver",
|
|
3023
|
+
"postgresql"
|
|
3024
|
+
],
|
|
2834
3025
|
"type": "option"
|
|
2835
3026
|
},
|
|
2836
|
-
"
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2839
|
-
"
|
|
3027
|
+
"to": {
|
|
3028
|
+
"description": "Target SQL dialect",
|
|
3029
|
+
"name": "to",
|
|
3030
|
+
"required": true,
|
|
2840
3031
|
"hasDynamicHelp": false,
|
|
2841
|
-
"multiple":
|
|
3032
|
+
"multiple": false,
|
|
3033
|
+
"options": [
|
|
3034
|
+
"sqlserver",
|
|
3035
|
+
"postgresql"
|
|
3036
|
+
],
|
|
2842
3037
|
"type": "option"
|
|
2843
3038
|
},
|
|
2844
|
-
"
|
|
2845
|
-
"description": "
|
|
2846
|
-
"name": "
|
|
2847
|
-
"
|
|
2848
|
-
"type": "boolean"
|
|
2849
|
-
},
|
|
2850
|
-
"latest": {
|
|
2851
|
-
"char": "l",
|
|
2852
|
-
"description": "Compare the two most recent completed suite runs",
|
|
2853
|
-
"name": "latest",
|
|
2854
|
-
"allowNo": false,
|
|
2855
|
-
"type": "boolean"
|
|
2856
|
-
},
|
|
2857
|
-
"from-json": {
|
|
2858
|
-
"description": "Compare two results.json files directly (no DB). Pass twice: --from-json PREV --from-json CURR",
|
|
2859
|
-
"name": "from-json",
|
|
3039
|
+
"scope": {
|
|
3040
|
+
"description": "What to scan for translation",
|
|
3041
|
+
"name": "scope",
|
|
3042
|
+
"default": "all",
|
|
2860
3043
|
"hasDynamicHelp": false,
|
|
2861
|
-
"multiple":
|
|
3044
|
+
"multiple": false,
|
|
3045
|
+
"options": [
|
|
3046
|
+
"queries",
|
|
3047
|
+
"views",
|
|
3048
|
+
"filters",
|
|
3049
|
+
"all"
|
|
3050
|
+
],
|
|
3051
|
+
"type": "option"
|
|
3052
|
+
},
|
|
3053
|
+
"sql": {
|
|
3054
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
3055
|
+
"name": "sql",
|
|
3056
|
+
"hasDynamicHelp": false,
|
|
3057
|
+
"multiple": false,
|
|
3058
|
+
"type": "option"
|
|
3059
|
+
},
|
|
3060
|
+
"dry-run": {
|
|
3061
|
+
"description": "Show what would be translated without making changes",
|
|
3062
|
+
"name": "dry-run",
|
|
3063
|
+
"allowNo": false,
|
|
3064
|
+
"type": "boolean"
|
|
3065
|
+
},
|
|
3066
|
+
"review": {
|
|
3067
|
+
"description": "Generate review report only (no writes to database)",
|
|
3068
|
+
"name": "review",
|
|
3069
|
+
"allowNo": false,
|
|
3070
|
+
"type": "boolean"
|
|
3071
|
+
},
|
|
3072
|
+
"output": {
|
|
3073
|
+
"char": "o",
|
|
3074
|
+
"description": "Output directory for the translation report",
|
|
3075
|
+
"name": "output",
|
|
3076
|
+
"hasDynamicHelp": false,
|
|
3077
|
+
"multiple": false,
|
|
3078
|
+
"type": "option"
|
|
3079
|
+
},
|
|
3080
|
+
"force": {
|
|
3081
|
+
"description": "Re-translate even if platform variants already exist",
|
|
3082
|
+
"name": "force",
|
|
3083
|
+
"allowNo": false,
|
|
3084
|
+
"type": "boolean"
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
"hasDynamicHelp": false,
|
|
3088
|
+
"hiddenAliases": [],
|
|
3089
|
+
"id": "translate-sql",
|
|
3090
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3091
|
+
"pluginName": "@memberjunction/cli",
|
|
3092
|
+
"pluginType": "core",
|
|
3093
|
+
"strict": true,
|
|
3094
|
+
"enableJsonFlag": false,
|
|
3095
|
+
"isESM": true,
|
|
3096
|
+
"relativePath": [
|
|
3097
|
+
"dist",
|
|
3098
|
+
"commands",
|
|
3099
|
+
"translate-sql",
|
|
3100
|
+
"index.js"
|
|
3101
|
+
]
|
|
3102
|
+
},
|
|
3103
|
+
"test:compare": {
|
|
3104
|
+
"aliases": [],
|
|
3105
|
+
"args": {
|
|
3106
|
+
"runId1": {
|
|
3107
|
+
"description": "First test run ID to compare",
|
|
3108
|
+
"name": "runId1",
|
|
3109
|
+
"required": false
|
|
3110
|
+
},
|
|
3111
|
+
"runId2": {
|
|
3112
|
+
"description": "Second test run ID to compare",
|
|
3113
|
+
"name": "runId2",
|
|
3114
|
+
"required": false
|
|
3115
|
+
}
|
|
3116
|
+
},
|
|
3117
|
+
"description": "Compare test runs for regression detection",
|
|
3118
|
+
"examples": [
|
|
3119
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3120
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
3121
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3122
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3123
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3124
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3125
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3126
|
+
],
|
|
3127
|
+
"flags": {
|
|
3128
|
+
"version": {
|
|
3129
|
+
"char": "v",
|
|
3130
|
+
"description": "Compare runs by version",
|
|
3131
|
+
"name": "version",
|
|
3132
|
+
"hasDynamicHelp": false,
|
|
3133
|
+
"multiple": true,
|
|
3134
|
+
"type": "option"
|
|
3135
|
+
},
|
|
3136
|
+
"commit": {
|
|
3137
|
+
"char": "c",
|
|
3138
|
+
"description": "Compare runs by git commit",
|
|
3139
|
+
"name": "commit",
|
|
3140
|
+
"hasDynamicHelp": false,
|
|
3141
|
+
"multiple": true,
|
|
3142
|
+
"type": "option"
|
|
3143
|
+
},
|
|
3144
|
+
"diff-only": {
|
|
3145
|
+
"description": "Show only differences",
|
|
3146
|
+
"name": "diff-only",
|
|
3147
|
+
"allowNo": false,
|
|
3148
|
+
"type": "boolean"
|
|
3149
|
+
},
|
|
3150
|
+
"latest": {
|
|
3151
|
+
"char": "l",
|
|
3152
|
+
"description": "Compare the two most recent completed suite runs",
|
|
3153
|
+
"name": "latest",
|
|
3154
|
+
"allowNo": false,
|
|
3155
|
+
"type": "boolean"
|
|
3156
|
+
},
|
|
3157
|
+
"from-json": {
|
|
3158
|
+
"description": "Compare two results.json files directly (no DB). Pass twice: --from-json PREV --from-json CURR",
|
|
3159
|
+
"name": "from-json",
|
|
3160
|
+
"hasDynamicHelp": false,
|
|
3161
|
+
"multiple": true,
|
|
2862
3162
|
"type": "option"
|
|
2863
3163
|
},
|
|
2864
3164
|
"format": {
|
|
@@ -3412,92 +3712,34 @@
|
|
|
3412
3712
|
"validate.js"
|
|
3413
3713
|
]
|
|
3414
3714
|
},
|
|
3415
|
-
"
|
|
3715
|
+
"ai:actions:list": {
|
|
3416
3716
|
"aliases": [],
|
|
3417
3717
|
"args": {},
|
|
3418
|
-
"description": "
|
|
3718
|
+
"description": "List available AI actions",
|
|
3419
3719
|
"examples": [
|
|
3420
|
-
"<%= config.bin %>
|
|
3421
|
-
"<%= config.bin %>
|
|
3422
|
-
"<%= config.bin %>
|
|
3423
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
3720
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3721
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3722
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3424
3723
|
],
|
|
3425
3724
|
"flags": {
|
|
3426
|
-
"from": {
|
|
3427
|
-
"description": "Source SQL dialect",
|
|
3428
|
-
"name": "from",
|
|
3429
|
-
"required": true,
|
|
3430
|
-
"hasDynamicHelp": false,
|
|
3431
|
-
"multiple": false,
|
|
3432
|
-
"options": [
|
|
3433
|
-
"sqlserver",
|
|
3434
|
-
"postgresql"
|
|
3435
|
-
],
|
|
3436
|
-
"type": "option"
|
|
3437
|
-
},
|
|
3438
|
-
"to": {
|
|
3439
|
-
"description": "Target SQL dialect",
|
|
3440
|
-
"name": "to",
|
|
3441
|
-
"required": true,
|
|
3442
|
-
"hasDynamicHelp": false,
|
|
3443
|
-
"multiple": false,
|
|
3444
|
-
"options": [
|
|
3445
|
-
"sqlserver",
|
|
3446
|
-
"postgresql"
|
|
3447
|
-
],
|
|
3448
|
-
"type": "option"
|
|
3449
|
-
},
|
|
3450
|
-
"scope": {
|
|
3451
|
-
"description": "What to scan for translation",
|
|
3452
|
-
"name": "scope",
|
|
3453
|
-
"default": "all",
|
|
3454
|
-
"hasDynamicHelp": false,
|
|
3455
|
-
"multiple": false,
|
|
3456
|
-
"options": [
|
|
3457
|
-
"queries",
|
|
3458
|
-
"views",
|
|
3459
|
-
"filters",
|
|
3460
|
-
"all"
|
|
3461
|
-
],
|
|
3462
|
-
"type": "option"
|
|
3463
|
-
},
|
|
3464
|
-
"sql": {
|
|
3465
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
3466
|
-
"name": "sql",
|
|
3467
|
-
"hasDynamicHelp": false,
|
|
3468
|
-
"multiple": false,
|
|
3469
|
-
"type": "option"
|
|
3470
|
-
},
|
|
3471
|
-
"dry-run": {
|
|
3472
|
-
"description": "Show what would be translated without making changes",
|
|
3473
|
-
"name": "dry-run",
|
|
3474
|
-
"allowNo": false,
|
|
3475
|
-
"type": "boolean"
|
|
3476
|
-
},
|
|
3477
|
-
"review": {
|
|
3478
|
-
"description": "Generate review report only (no writes to database)",
|
|
3479
|
-
"name": "review",
|
|
3480
|
-
"allowNo": false,
|
|
3481
|
-
"type": "boolean"
|
|
3482
|
-
},
|
|
3483
3725
|
"output": {
|
|
3484
3726
|
"char": "o",
|
|
3485
|
-
"description": "Output
|
|
3727
|
+
"description": "Output format",
|
|
3486
3728
|
"name": "output",
|
|
3729
|
+
"default": "compact",
|
|
3487
3730
|
"hasDynamicHelp": false,
|
|
3488
3731
|
"multiple": false,
|
|
3732
|
+
"options": [
|
|
3733
|
+
"compact",
|
|
3734
|
+
"json",
|
|
3735
|
+
"table"
|
|
3736
|
+
],
|
|
3489
3737
|
"type": "option"
|
|
3490
|
-
},
|
|
3491
|
-
"force": {
|
|
3492
|
-
"description": "Re-translate even if platform variants already exist",
|
|
3493
|
-
"name": "force",
|
|
3494
|
-
"allowNo": false,
|
|
3495
|
-
"type": "boolean"
|
|
3496
3738
|
}
|
|
3497
3739
|
},
|
|
3498
3740
|
"hasDynamicHelp": false,
|
|
3499
3741
|
"hiddenAliases": [],
|
|
3500
|
-
"id": "
|
|
3742
|
+
"id": "ai:actions:list",
|
|
3501
3743
|
"pluginAlias": "@memberjunction/cli",
|
|
3502
3744
|
"pluginName": "@memberjunction/cli",
|
|
3503
3745
|
"pluginType": "core",
|
|
@@ -3507,112 +3749,78 @@
|
|
|
3507
3749
|
"relativePath": [
|
|
3508
3750
|
"dist",
|
|
3509
3751
|
"commands",
|
|
3510
|
-
"
|
|
3511
|
-
"
|
|
3752
|
+
"ai",
|
|
3753
|
+
"actions",
|
|
3754
|
+
"list.js"
|
|
3512
3755
|
]
|
|
3513
3756
|
},
|
|
3514
|
-
"
|
|
3757
|
+
"ai:actions:run": {
|
|
3515
3758
|
"aliases": [],
|
|
3516
3759
|
"args": {},
|
|
3517
|
-
"description": "
|
|
3760
|
+
"description": "Execute an AI action with parameters",
|
|
3518
3761
|
"examples": [
|
|
3519
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3520
|
-
"<%= config.bin %> <%= command.id %> -
|
|
3521
|
-
"<%= config.bin %> <%= command.id %>
|
|
3522
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3762
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
3763
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
3764
|
+
"<%= 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\"",
|
|
3765
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
3523
3766
|
],
|
|
3524
3767
|
"flags": {
|
|
3525
|
-
"
|
|
3526
|
-
"char": "
|
|
3527
|
-
"description": "
|
|
3528
|
-
"name": "
|
|
3529
|
-
"
|
|
3530
|
-
"multiple": false,
|
|
3531
|
-
"type": "option"
|
|
3532
|
-
},
|
|
3533
|
-
"dir": {
|
|
3534
|
-
"description": "Target directory for the installation",
|
|
3535
|
-
"name": "dir",
|
|
3536
|
-
"default": ".",
|
|
3768
|
+
"name": {
|
|
3769
|
+
"char": "n",
|
|
3770
|
+
"description": "Action name",
|
|
3771
|
+
"name": "name",
|
|
3772
|
+
"required": true,
|
|
3537
3773
|
"hasDynamicHelp": false,
|
|
3538
3774
|
"multiple": false,
|
|
3539
3775
|
"type": "option"
|
|
3540
3776
|
},
|
|
3541
|
-
"
|
|
3542
|
-
"char": "
|
|
3543
|
-
"description": "
|
|
3544
|
-
"name": "
|
|
3777
|
+
"param": {
|
|
3778
|
+
"char": "p",
|
|
3779
|
+
"description": "Action parameters in key=value format",
|
|
3780
|
+
"name": "param",
|
|
3545
3781
|
"hasDynamicHelp": false,
|
|
3546
|
-
"multiple":
|
|
3782
|
+
"multiple": true,
|
|
3547
3783
|
"type": "option"
|
|
3548
3784
|
},
|
|
3549
|
-
"legacy": {
|
|
3550
|
-
"description": "Use the legacy interactive installer (ZIP-only distribution)",
|
|
3551
|
-
"hidden": true,
|
|
3552
|
-
"name": "legacy",
|
|
3553
|
-
"allowNo": false,
|
|
3554
|
-
"type": "boolean"
|
|
3555
|
-
},
|
|
3556
3785
|
"dry-run": {
|
|
3557
|
-
"description": "
|
|
3786
|
+
"description": "Validate without executing",
|
|
3558
3787
|
"name": "dry-run",
|
|
3559
3788
|
"allowNo": false,
|
|
3560
3789
|
"type": "boolean"
|
|
3561
3790
|
},
|
|
3562
|
-
"
|
|
3563
|
-
"char": "
|
|
3564
|
-
"description": "
|
|
3565
|
-
"name": "
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3791
|
+
"output": {
|
|
3792
|
+
"char": "o",
|
|
3793
|
+
"description": "Output format",
|
|
3794
|
+
"name": "output",
|
|
3795
|
+
"default": "compact",
|
|
3796
|
+
"hasDynamicHelp": false,
|
|
3797
|
+
"multiple": false,
|
|
3798
|
+
"options": [
|
|
3799
|
+
"compact",
|
|
3800
|
+
"json",
|
|
3801
|
+
"table"
|
|
3802
|
+
],
|
|
3803
|
+
"type": "option"
|
|
3568
3804
|
},
|
|
3569
3805
|
"verbose": {
|
|
3570
3806
|
"char": "v",
|
|
3571
|
-
"description": "Show detailed
|
|
3807
|
+
"description": "Show detailed execution information",
|
|
3572
3808
|
"name": "verbose",
|
|
3573
3809
|
"allowNo": false,
|
|
3574
3810
|
"type": "boolean"
|
|
3575
3811
|
},
|
|
3576
|
-
"
|
|
3577
|
-
"description": "
|
|
3578
|
-
"name": "
|
|
3579
|
-
"
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
"description": "Skip service startup and smoke tests",
|
|
3584
|
-
"name": "skip-start",
|
|
3585
|
-
"allowNo": false,
|
|
3586
|
-
"type": "boolean"
|
|
3587
|
-
},
|
|
3588
|
-
"no-resume": {
|
|
3589
|
-
"description": "Ignore any existing checkpoint and start fresh",
|
|
3590
|
-
"name": "no-resume",
|
|
3591
|
-
"allowNo": false,
|
|
3592
|
-
"type": "boolean"
|
|
3593
|
-
},
|
|
3594
|
-
"fast": {
|
|
3595
|
-
"description": "Fast mode: skip smoke test and optimize post-codegen steps. Re-run without --fast if you encounter issues.",
|
|
3596
|
-
"name": "fast",
|
|
3597
|
-
"allowNo": false,
|
|
3598
|
-
"type": "boolean"
|
|
3599
|
-
},
|
|
3600
|
-
"overwrite-config": {
|
|
3601
|
-
"description": "Overwrite existing config files (.env, mj.config.cjs, environment.ts) instead of preserving them",
|
|
3602
|
-
"name": "overwrite-config",
|
|
3603
|
-
"allowNo": false,
|
|
3604
|
-
"type": "boolean"
|
|
3605
|
-
},
|
|
3606
|
-
"monorepo": {
|
|
3607
|
-
"description": "Install the full MemberJunction source repository instead of the lightweight distribution. Use this for MJ framework development.",
|
|
3608
|
-
"name": "monorepo",
|
|
3609
|
-
"allowNo": false,
|
|
3610
|
-
"type": "boolean"
|
|
3812
|
+
"timeout": {
|
|
3813
|
+
"description": "Execution timeout in milliseconds",
|
|
3814
|
+
"name": "timeout",
|
|
3815
|
+
"default": 300000,
|
|
3816
|
+
"hasDynamicHelp": false,
|
|
3817
|
+
"multiple": false,
|
|
3818
|
+
"type": "option"
|
|
3611
3819
|
}
|
|
3612
3820
|
},
|
|
3613
3821
|
"hasDynamicHelp": false,
|
|
3614
3822
|
"hiddenAliases": [],
|
|
3615
|
-
"id": "
|
|
3823
|
+
"id": "ai:actions:run",
|
|
3616
3824
|
"pluginAlias": "@memberjunction/cli",
|
|
3617
3825
|
"pluginName": "@memberjunction/cli",
|
|
3618
3826
|
"pluginType": "core",
|
|
@@ -3622,8 +3830,9 @@
|
|
|
3622
3830
|
"relativePath": [
|
|
3623
3831
|
"dist",
|
|
3624
3832
|
"commands",
|
|
3625
|
-
"
|
|
3626
|
-
"
|
|
3833
|
+
"ai",
|
|
3834
|
+
"actions",
|
|
3835
|
+
"run.js"
|
|
3627
3836
|
]
|
|
3628
3837
|
},
|
|
3629
3838
|
"ai:agents:list": {
|
|
@@ -3971,129 +4180,6 @@
|
|
|
3971
4180
|
"index.js"
|
|
3972
4181
|
]
|
|
3973
4182
|
},
|
|
3974
|
-
"ai:actions:list": {
|
|
3975
|
-
"aliases": [],
|
|
3976
|
-
"args": {},
|
|
3977
|
-
"description": "List available AI actions",
|
|
3978
|
-
"examples": [
|
|
3979
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3980
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
3981
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
3982
|
-
],
|
|
3983
|
-
"flags": {
|
|
3984
|
-
"output": {
|
|
3985
|
-
"char": "o",
|
|
3986
|
-
"description": "Output format",
|
|
3987
|
-
"name": "output",
|
|
3988
|
-
"default": "compact",
|
|
3989
|
-
"hasDynamicHelp": false,
|
|
3990
|
-
"multiple": false,
|
|
3991
|
-
"options": [
|
|
3992
|
-
"compact",
|
|
3993
|
-
"json",
|
|
3994
|
-
"table"
|
|
3995
|
-
],
|
|
3996
|
-
"type": "option"
|
|
3997
|
-
}
|
|
3998
|
-
},
|
|
3999
|
-
"hasDynamicHelp": false,
|
|
4000
|
-
"hiddenAliases": [],
|
|
4001
|
-
"id": "ai:actions:list",
|
|
4002
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4003
|
-
"pluginName": "@memberjunction/cli",
|
|
4004
|
-
"pluginType": "core",
|
|
4005
|
-
"strict": true,
|
|
4006
|
-
"enableJsonFlag": false,
|
|
4007
|
-
"isESM": true,
|
|
4008
|
-
"relativePath": [
|
|
4009
|
-
"dist",
|
|
4010
|
-
"commands",
|
|
4011
|
-
"ai",
|
|
4012
|
-
"actions",
|
|
4013
|
-
"list.js"
|
|
4014
|
-
]
|
|
4015
|
-
},
|
|
4016
|
-
"ai:actions:run": {
|
|
4017
|
-
"aliases": [],
|
|
4018
|
-
"args": {},
|
|
4019
|
-
"description": "Execute an AI action with parameters",
|
|
4020
|
-
"examples": [
|
|
4021
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
4022
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
4023
|
-
"<%= 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\"",
|
|
4024
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
4025
|
-
],
|
|
4026
|
-
"flags": {
|
|
4027
|
-
"name": {
|
|
4028
|
-
"char": "n",
|
|
4029
|
-
"description": "Action name",
|
|
4030
|
-
"name": "name",
|
|
4031
|
-
"required": true,
|
|
4032
|
-
"hasDynamicHelp": false,
|
|
4033
|
-
"multiple": false,
|
|
4034
|
-
"type": "option"
|
|
4035
|
-
},
|
|
4036
|
-
"param": {
|
|
4037
|
-
"char": "p",
|
|
4038
|
-
"description": "Action parameters in key=value format",
|
|
4039
|
-
"name": "param",
|
|
4040
|
-
"hasDynamicHelp": false,
|
|
4041
|
-
"multiple": true,
|
|
4042
|
-
"type": "option"
|
|
4043
|
-
},
|
|
4044
|
-
"dry-run": {
|
|
4045
|
-
"description": "Validate without executing",
|
|
4046
|
-
"name": "dry-run",
|
|
4047
|
-
"allowNo": false,
|
|
4048
|
-
"type": "boolean"
|
|
4049
|
-
},
|
|
4050
|
-
"output": {
|
|
4051
|
-
"char": "o",
|
|
4052
|
-
"description": "Output format",
|
|
4053
|
-
"name": "output",
|
|
4054
|
-
"default": "compact",
|
|
4055
|
-
"hasDynamicHelp": false,
|
|
4056
|
-
"multiple": false,
|
|
4057
|
-
"options": [
|
|
4058
|
-
"compact",
|
|
4059
|
-
"json",
|
|
4060
|
-
"table"
|
|
4061
|
-
],
|
|
4062
|
-
"type": "option"
|
|
4063
|
-
},
|
|
4064
|
-
"verbose": {
|
|
4065
|
-
"char": "v",
|
|
4066
|
-
"description": "Show detailed execution information",
|
|
4067
|
-
"name": "verbose",
|
|
4068
|
-
"allowNo": false,
|
|
4069
|
-
"type": "boolean"
|
|
4070
|
-
},
|
|
4071
|
-
"timeout": {
|
|
4072
|
-
"description": "Execution timeout in milliseconds",
|
|
4073
|
-
"name": "timeout",
|
|
4074
|
-
"default": 300000,
|
|
4075
|
-
"hasDynamicHelp": false,
|
|
4076
|
-
"multiple": false,
|
|
4077
|
-
"type": "option"
|
|
4078
|
-
}
|
|
4079
|
-
},
|
|
4080
|
-
"hasDynamicHelp": false,
|
|
4081
|
-
"hiddenAliases": [],
|
|
4082
|
-
"id": "ai:actions:run",
|
|
4083
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4084
|
-
"pluginName": "@memberjunction/cli",
|
|
4085
|
-
"pluginType": "core",
|
|
4086
|
-
"strict": true,
|
|
4087
|
-
"enableJsonFlag": false,
|
|
4088
|
-
"isESM": true,
|
|
4089
|
-
"relativePath": [
|
|
4090
|
-
"dist",
|
|
4091
|
-
"commands",
|
|
4092
|
-
"ai",
|
|
4093
|
-
"actions",
|
|
4094
|
-
"run.js"
|
|
4095
|
-
]
|
|
4096
|
-
},
|
|
4097
4183
|
"ai:prompts:list": {
|
|
4098
4184
|
"aliases": [],
|
|
4099
4185
|
"args": {},
|
|
@@ -4674,5 +4760,5 @@
|
|
|
4674
4760
|
]
|
|
4675
4761
|
}
|
|
4676
4762
|
},
|
|
4677
|
-
"version": "5.
|
|
4763
|
+
"version": "5.39.0"
|
|
4678
4764
|
}
|