@memberjunction/cli 5.12.0 → 5.13.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 (2) hide show
  1. package/oclif.manifest.json +248 -248
  2. package/package.json +13 -13
@@ -1231,6 +1231,63 @@
1231
1231
  "status.js"
1232
1232
  ]
1233
1233
  },
1234
+ "doctor": {
1235
+ "aliases": [],
1236
+ "args": {},
1237
+ "description": "Diagnose a MemberJunction installation",
1238
+ "examples": [
1239
+ "<%= config.bin %> <%= command.id %>",
1240
+ "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
1241
+ "<%= config.bin %> <%= command.id %> --verbose",
1242
+ "<%= config.bin %> <%= command.id %> --report",
1243
+ "<%= config.bin %> <%= command.id %> --report_extended"
1244
+ ],
1245
+ "flags": {
1246
+ "dir": {
1247
+ "description": "Target directory to diagnose",
1248
+ "name": "dir",
1249
+ "default": ".",
1250
+ "hasDynamicHelp": false,
1251
+ "multiple": false,
1252
+ "type": "option"
1253
+ },
1254
+ "verbose": {
1255
+ "char": "v",
1256
+ "description": "Show detailed output including suggested fixes inline",
1257
+ "name": "verbose",
1258
+ "allowNo": false,
1259
+ "type": "boolean"
1260
+ },
1261
+ "report": {
1262
+ "char": "r",
1263
+ "description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
1264
+ "name": "report",
1265
+ "allowNo": false,
1266
+ "type": "boolean"
1267
+ },
1268
+ "report_extended": {
1269
+ "description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
1270
+ "name": "report_extended",
1271
+ "allowNo": false,
1272
+ "type": "boolean"
1273
+ }
1274
+ },
1275
+ "hasDynamicHelp": false,
1276
+ "hiddenAliases": [],
1277
+ "id": "doctor",
1278
+ "pluginAlias": "@memberjunction/cli",
1279
+ "pluginName": "@memberjunction/cli",
1280
+ "pluginType": "core",
1281
+ "strict": true,
1282
+ "enableJsonFlag": false,
1283
+ "isESM": true,
1284
+ "relativePath": [
1285
+ "dist",
1286
+ "commands",
1287
+ "doctor",
1288
+ "index.js"
1289
+ ]
1290
+ },
1234
1291
  "install": {
1235
1292
  "aliases": [],
1236
1293
  "args": {},
@@ -1334,63 +1391,6 @@
1334
1391
  "index.js"
1335
1392
  ]
1336
1393
  },
1337
- "doctor": {
1338
- "aliases": [],
1339
- "args": {},
1340
- "description": "Diagnose a MemberJunction installation",
1341
- "examples": [
1342
- "<%= config.bin %> <%= command.id %>",
1343
- "<%= config.bin %> <%= command.id %> --dir ./my-mj-project",
1344
- "<%= config.bin %> <%= command.id %> --verbose",
1345
- "<%= config.bin %> <%= command.id %> --report",
1346
- "<%= config.bin %> <%= command.id %> --report_extended"
1347
- ],
1348
- "flags": {
1349
- "dir": {
1350
- "description": "Target directory to diagnose",
1351
- "name": "dir",
1352
- "default": ".",
1353
- "hasDynamicHelp": false,
1354
- "multiple": false,
1355
- "type": "option"
1356
- },
1357
- "verbose": {
1358
- "char": "v",
1359
- "description": "Show detailed output including suggested fixes inline",
1360
- "name": "verbose",
1361
- "allowNo": false,
1362
- "type": "boolean"
1363
- },
1364
- "report": {
1365
- "char": "r",
1366
- "description": "Generate a diagnostic report file (mj-diagnostic-report.md) for sharing with support",
1367
- "name": "report",
1368
- "allowNo": false,
1369
- "type": "boolean"
1370
- },
1371
- "report_extended": {
1372
- "description": "Generate an extended report with config file snapshots and service startup log capture (~60s longer)",
1373
- "name": "report_extended",
1374
- "allowNo": false,
1375
- "type": "boolean"
1376
- }
1377
- },
1378
- "hasDynamicHelp": false,
1379
- "hiddenAliases": [],
1380
- "id": "doctor",
1381
- "pluginAlias": "@memberjunction/cli",
1382
- "pluginName": "@memberjunction/cli",
1383
- "pluginType": "core",
1384
- "strict": true,
1385
- "enableJsonFlag": false,
1386
- "isESM": true,
1387
- "relativePath": [
1388
- "dist",
1389
- "commands",
1390
- "doctor",
1391
- "index.js"
1392
- ]
1393
- },
1394
1394
  "migrate": {
1395
1395
  "aliases": [],
1396
1396
  "args": {},
@@ -1448,73 +1448,6 @@
1448
1448
  "index.js"
1449
1449
  ]
1450
1450
  },
1451
- "sql-audit": {
1452
- "aliases": [],
1453
- "args": {},
1454
- "description": "Compare source and target databases for migration verification",
1455
- "examples": [
1456
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
1457
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
1458
- "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
1459
- ],
1460
- "flags": {
1461
- "source": {
1462
- "description": "Source database connection string (mssql://... or postgres://...)",
1463
- "name": "source",
1464
- "required": true,
1465
- "hasDynamicHelp": false,
1466
- "multiple": false,
1467
- "type": "option"
1468
- },
1469
- "target": {
1470
- "description": "Target database connection string (mssql://... or postgres://...)",
1471
- "name": "target",
1472
- "required": true,
1473
- "hasDynamicHelp": false,
1474
- "multiple": false,
1475
- "type": "option"
1476
- },
1477
- "source-schema": {
1478
- "description": "Source schema name",
1479
- "name": "source-schema",
1480
- "default": "__mj",
1481
- "hasDynamicHelp": false,
1482
- "multiple": false,
1483
- "type": "option"
1484
- },
1485
- "target-schema": {
1486
- "description": "Target schema name",
1487
- "name": "target-schema",
1488
- "default": "__mj",
1489
- "hasDynamicHelp": false,
1490
- "multiple": false,
1491
- "type": "option"
1492
- },
1493
- "output": {
1494
- "char": "o",
1495
- "description": "Save report to file",
1496
- "name": "output",
1497
- "hasDynamicHelp": false,
1498
- "multiple": false,
1499
- "type": "option"
1500
- }
1501
- },
1502
- "hasDynamicHelp": false,
1503
- "hiddenAliases": [],
1504
- "id": "sql-audit",
1505
- "pluginAlias": "@memberjunction/cli",
1506
- "pluginName": "@memberjunction/cli",
1507
- "pluginType": "core",
1508
- "strict": true,
1509
- "enableJsonFlag": false,
1510
- "isESM": true,
1511
- "relativePath": [
1512
- "dist",
1513
- "commands",
1514
- "sql-audit",
1515
- "index.js"
1516
- ]
1517
- },
1518
1451
  "querygen:export": {
1519
1452
  "aliases": [],
1520
1453
  "args": {},
@@ -1730,6 +1663,73 @@
1730
1663
  "validate.js"
1731
1664
  ]
1732
1665
  },
1666
+ "sql-audit": {
1667
+ "aliases": [],
1668
+ "args": {},
1669
+ "description": "Compare source and target databases for migration verification",
1670
+ "examples": [
1671
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\"",
1672
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --output report.txt",
1673
+ "<%= config.bin %> sql-audit --source \"mssql://sa:pass@host/db\" --target \"postgres://user:pass@host:5432/db\" --source-schema __mj --target-schema __mj"
1674
+ ],
1675
+ "flags": {
1676
+ "source": {
1677
+ "description": "Source database connection string (mssql://... or postgres://...)",
1678
+ "name": "source",
1679
+ "required": true,
1680
+ "hasDynamicHelp": false,
1681
+ "multiple": false,
1682
+ "type": "option"
1683
+ },
1684
+ "target": {
1685
+ "description": "Target database connection string (mssql://... or postgres://...)",
1686
+ "name": "target",
1687
+ "required": true,
1688
+ "hasDynamicHelp": false,
1689
+ "multiple": false,
1690
+ "type": "option"
1691
+ },
1692
+ "source-schema": {
1693
+ "description": "Source schema name",
1694
+ "name": "source-schema",
1695
+ "default": "__mj",
1696
+ "hasDynamicHelp": false,
1697
+ "multiple": false,
1698
+ "type": "option"
1699
+ },
1700
+ "target-schema": {
1701
+ "description": "Target schema name",
1702
+ "name": "target-schema",
1703
+ "default": "__mj",
1704
+ "hasDynamicHelp": false,
1705
+ "multiple": false,
1706
+ "type": "option"
1707
+ },
1708
+ "output": {
1709
+ "char": "o",
1710
+ "description": "Save report to file",
1711
+ "name": "output",
1712
+ "hasDynamicHelp": false,
1713
+ "multiple": false,
1714
+ "type": "option"
1715
+ }
1716
+ },
1717
+ "hasDynamicHelp": false,
1718
+ "hiddenAliases": [],
1719
+ "id": "sql-audit",
1720
+ "pluginAlias": "@memberjunction/cli",
1721
+ "pluginName": "@memberjunction/cli",
1722
+ "pluginType": "core",
1723
+ "strict": true,
1724
+ "enableJsonFlag": false,
1725
+ "isESM": true,
1726
+ "relativePath": [
1727
+ "dist",
1728
+ "commands",
1729
+ "sql-audit",
1730
+ "index.js"
1731
+ ]
1732
+ },
1733
1733
  "sql-convert": {
1734
1734
  "aliases": [],
1735
1735
  "args": {
@@ -2931,129 +2931,6 @@
2931
2931
  "index.js"
2932
2932
  ]
2933
2933
  },
2934
- "ai:actions:list": {
2935
- "aliases": [],
2936
- "args": {},
2937
- "description": "List available AI actions",
2938
- "examples": [
2939
- "<%= config.bin %> <%= command.id %>",
2940
- "<%= config.bin %> <%= command.id %> --output=table",
2941
- "<%= config.bin %> <%= command.id %> --output=json"
2942
- ],
2943
- "flags": {
2944
- "output": {
2945
- "char": "o",
2946
- "description": "Output format",
2947
- "name": "output",
2948
- "default": "compact",
2949
- "hasDynamicHelp": false,
2950
- "multiple": false,
2951
- "options": [
2952
- "compact",
2953
- "json",
2954
- "table"
2955
- ],
2956
- "type": "option"
2957
- }
2958
- },
2959
- "hasDynamicHelp": false,
2960
- "hiddenAliases": [],
2961
- "id": "ai:actions:list",
2962
- "pluginAlias": "@memberjunction/cli",
2963
- "pluginName": "@memberjunction/cli",
2964
- "pluginType": "core",
2965
- "strict": true,
2966
- "enableJsonFlag": false,
2967
- "isESM": true,
2968
- "relativePath": [
2969
- "dist",
2970
- "commands",
2971
- "ai",
2972
- "actions",
2973
- "list.js"
2974
- ]
2975
- },
2976
- "ai:actions:run": {
2977
- "aliases": [],
2978
- "args": {},
2979
- "description": "Execute an AI action with parameters",
2980
- "examples": [
2981
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2982
- "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2983
- "<%= 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\"",
2984
- "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2985
- ],
2986
- "flags": {
2987
- "name": {
2988
- "char": "n",
2989
- "description": "Action name",
2990
- "name": "name",
2991
- "required": true,
2992
- "hasDynamicHelp": false,
2993
- "multiple": false,
2994
- "type": "option"
2995
- },
2996
- "param": {
2997
- "char": "p",
2998
- "description": "Action parameters in key=value format",
2999
- "name": "param",
3000
- "hasDynamicHelp": false,
3001
- "multiple": true,
3002
- "type": "option"
3003
- },
3004
- "dry-run": {
3005
- "description": "Validate without executing",
3006
- "name": "dry-run",
3007
- "allowNo": false,
3008
- "type": "boolean"
3009
- },
3010
- "output": {
3011
- "char": "o",
3012
- "description": "Output format",
3013
- "name": "output",
3014
- "default": "compact",
3015
- "hasDynamicHelp": false,
3016
- "multiple": false,
3017
- "options": [
3018
- "compact",
3019
- "json",
3020
- "table"
3021
- ],
3022
- "type": "option"
3023
- },
3024
- "verbose": {
3025
- "char": "v",
3026
- "description": "Show detailed execution information",
3027
- "name": "verbose",
3028
- "allowNo": false,
3029
- "type": "boolean"
3030
- },
3031
- "timeout": {
3032
- "description": "Execution timeout in milliseconds",
3033
- "name": "timeout",
3034
- "default": 300000,
3035
- "hasDynamicHelp": false,
3036
- "multiple": false,
3037
- "type": "option"
3038
- }
3039
- },
3040
- "hasDynamicHelp": false,
3041
- "hiddenAliases": [],
3042
- "id": "ai:actions:run",
3043
- "pluginAlias": "@memberjunction/cli",
3044
- "pluginName": "@memberjunction/cli",
3045
- "pluginType": "core",
3046
- "strict": true,
3047
- "enableJsonFlag": false,
3048
- "isESM": true,
3049
- "relativePath": [
3050
- "dist",
3051
- "commands",
3052
- "ai",
3053
- "actions",
3054
- "run.js"
3055
- ]
3056
- },
3057
2934
  "ai:agents:list": {
3058
2935
  "aliases": [],
3059
2936
  "args": {},
@@ -3399,6 +3276,129 @@
3399
3276
  "index.js"
3400
3277
  ]
3401
3278
  },
3279
+ "ai:actions:list": {
3280
+ "aliases": [],
3281
+ "args": {},
3282
+ "description": "List available AI actions",
3283
+ "examples": [
3284
+ "<%= config.bin %> <%= command.id %>",
3285
+ "<%= config.bin %> <%= command.id %> --output=table",
3286
+ "<%= config.bin %> <%= command.id %> --output=json"
3287
+ ],
3288
+ "flags": {
3289
+ "output": {
3290
+ "char": "o",
3291
+ "description": "Output format",
3292
+ "name": "output",
3293
+ "default": "compact",
3294
+ "hasDynamicHelp": false,
3295
+ "multiple": false,
3296
+ "options": [
3297
+ "compact",
3298
+ "json",
3299
+ "table"
3300
+ ],
3301
+ "type": "option"
3302
+ }
3303
+ },
3304
+ "hasDynamicHelp": false,
3305
+ "hiddenAliases": [],
3306
+ "id": "ai:actions:list",
3307
+ "pluginAlias": "@memberjunction/cli",
3308
+ "pluginName": "@memberjunction/cli",
3309
+ "pluginType": "core",
3310
+ "strict": true,
3311
+ "enableJsonFlag": false,
3312
+ "isESM": true,
3313
+ "relativePath": [
3314
+ "dist",
3315
+ "commands",
3316
+ "ai",
3317
+ "actions",
3318
+ "list.js"
3319
+ ]
3320
+ },
3321
+ "ai:actions:run": {
3322
+ "aliases": [],
3323
+ "args": {},
3324
+ "description": "Execute an AI action with parameters",
3325
+ "examples": [
3326
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
3327
+ "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
3328
+ "<%= 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\"",
3329
+ "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
3330
+ ],
3331
+ "flags": {
3332
+ "name": {
3333
+ "char": "n",
3334
+ "description": "Action name",
3335
+ "name": "name",
3336
+ "required": true,
3337
+ "hasDynamicHelp": false,
3338
+ "multiple": false,
3339
+ "type": "option"
3340
+ },
3341
+ "param": {
3342
+ "char": "p",
3343
+ "description": "Action parameters in key=value format",
3344
+ "name": "param",
3345
+ "hasDynamicHelp": false,
3346
+ "multiple": true,
3347
+ "type": "option"
3348
+ },
3349
+ "dry-run": {
3350
+ "description": "Validate without executing",
3351
+ "name": "dry-run",
3352
+ "allowNo": false,
3353
+ "type": "boolean"
3354
+ },
3355
+ "output": {
3356
+ "char": "o",
3357
+ "description": "Output format",
3358
+ "name": "output",
3359
+ "default": "compact",
3360
+ "hasDynamicHelp": false,
3361
+ "multiple": false,
3362
+ "options": [
3363
+ "compact",
3364
+ "json",
3365
+ "table"
3366
+ ],
3367
+ "type": "option"
3368
+ },
3369
+ "verbose": {
3370
+ "char": "v",
3371
+ "description": "Show detailed execution information",
3372
+ "name": "verbose",
3373
+ "allowNo": false,
3374
+ "type": "boolean"
3375
+ },
3376
+ "timeout": {
3377
+ "description": "Execution timeout in milliseconds",
3378
+ "name": "timeout",
3379
+ "default": 300000,
3380
+ "hasDynamicHelp": false,
3381
+ "multiple": false,
3382
+ "type": "option"
3383
+ }
3384
+ },
3385
+ "hasDynamicHelp": false,
3386
+ "hiddenAliases": [],
3387
+ "id": "ai:actions:run",
3388
+ "pluginAlias": "@memberjunction/cli",
3389
+ "pluginName": "@memberjunction/cli",
3390
+ "pluginType": "core",
3391
+ "strict": true,
3392
+ "enableJsonFlag": false,
3393
+ "isESM": true,
3394
+ "relativePath": [
3395
+ "dist",
3396
+ "commands",
3397
+ "ai",
3398
+ "actions",
3399
+ "run.js"
3400
+ ]
3401
+ },
3402
3402
  "ai:prompts:list": {
3403
3403
  "aliases": [],
3404
3404
  "args": {},
@@ -3539,5 +3539,5 @@
3539
3539
  ]
3540
3540
  }
3541
3541
  },
3542
- "version": "5.12.0"
3542
+ "version": "5.13.0"
3543
3543
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
3
  "type": "module",
4
- "version": "5.12.0",
4
+ "version": "5.13.0",
5
5
  "description": "MemberJunction command line tools",
6
6
  "keywords": [
7
7
  "oclif"
@@ -53,19 +53,19 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@inquirer/prompts": "^8.2.0",
56
- "@memberjunction/ai-cli": "5.12.0",
57
- "@memberjunction/codegen-lib": "5.12.0",
58
- "@memberjunction/config": "5.12.0",
59
- "@memberjunction/core": "5.12.0",
60
- "@memberjunction/installer": "5.12.0",
61
- "@memberjunction/db-auto-doc": "5.12.0",
62
- "@memberjunction/metadata-sync": "5.12.0",
63
- "@memberjunction/query-gen": "5.12.0",
64
- "@memberjunction/server-bootstrap-lite": "5.12.0",
56
+ "@memberjunction/ai-cli": "5.13.0",
57
+ "@memberjunction/codegen-lib": "5.13.0",
58
+ "@memberjunction/config": "5.13.0",
59
+ "@memberjunction/core": "5.13.0",
60
+ "@memberjunction/installer": "5.13.0",
61
+ "@memberjunction/db-auto-doc": "5.13.0",
62
+ "@memberjunction/metadata-sync": "5.13.0",
63
+ "@memberjunction/query-gen": "5.13.0",
64
+ "@memberjunction/server-bootstrap-lite": "5.13.0",
65
65
  "@memberjunction/skyway-core": "^0.5.3",
66
- "@memberjunction/sql-converter": "5.12.0",
67
- "@memberjunction/sqlserver-dataprovider": "5.12.0",
68
- "@memberjunction/testing-cli": "5.12.0",
66
+ "@memberjunction/sql-converter": "5.13.0",
67
+ "@memberjunction/sqlserver-dataprovider": "5.13.0",
68
+ "@memberjunction/testing-cli": "5.13.0",
69
69
  "@oclif/core": "^3.27.0",
70
70
  "@oclif/plugin-help": "^6.2.37",
71
71
  "@oclif/plugin-version": "^2.2.36",