@memberjunction/cli 5.51.0 → 5.51.2
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/oclif.manifest.json +543 -543
- package/package.json +17 -17
package/oclif.manifest.json
CHANGED
|
@@ -390,67 +390,6 @@
|
|
|
390
390
|
"upgrade.js"
|
|
391
391
|
]
|
|
392
392
|
},
|
|
393
|
-
"artifacts:reclassify": {
|
|
394
|
-
"aliases": [],
|
|
395
|
-
"args": {},
|
|
396
|
-
"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.",
|
|
397
|
-
"examples": [
|
|
398
|
-
"<%= config.bin %> <%= command.id %>",
|
|
399
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
400
|
-
],
|
|
401
|
-
"flags": {
|
|
402
|
-
"conversation-id": {
|
|
403
|
-
"description": "Scope to artifacts attached to the given conversation.",
|
|
404
|
-
"name": "conversation-id",
|
|
405
|
-
"hasDynamicHelp": false,
|
|
406
|
-
"multiple": false,
|
|
407
|
-
"type": "option"
|
|
408
|
-
},
|
|
409
|
-
"since": {
|
|
410
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
411
|
-
"name": "since",
|
|
412
|
-
"hasDynamicHelp": false,
|
|
413
|
-
"multiple": false,
|
|
414
|
-
"type": "option"
|
|
415
|
-
},
|
|
416
|
-
"limit": {
|
|
417
|
-
"description": "Maximum number of rows to inspect.",
|
|
418
|
-
"name": "limit",
|
|
419
|
-
"default": 100,
|
|
420
|
-
"hasDynamicHelp": false,
|
|
421
|
-
"multiple": false,
|
|
422
|
-
"type": "option"
|
|
423
|
-
},
|
|
424
|
-
"apply": {
|
|
425
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
426
|
-
"name": "apply",
|
|
427
|
-
"allowNo": false,
|
|
428
|
-
"type": "boolean"
|
|
429
|
-
},
|
|
430
|
-
"verbose": {
|
|
431
|
-
"char": "v",
|
|
432
|
-
"description": "Print every candidate row, not just the summary.",
|
|
433
|
-
"name": "verbose",
|
|
434
|
-
"allowNo": false,
|
|
435
|
-
"type": "boolean"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
"hasDynamicHelp": false,
|
|
439
|
-
"hiddenAliases": [],
|
|
440
|
-
"id": "artifacts:reclassify",
|
|
441
|
-
"pluginAlias": "@memberjunction/cli",
|
|
442
|
-
"pluginName": "@memberjunction/cli",
|
|
443
|
-
"pluginType": "core",
|
|
444
|
-
"strict": true,
|
|
445
|
-
"enableJsonFlag": false,
|
|
446
|
-
"isESM": true,
|
|
447
|
-
"relativePath": [
|
|
448
|
-
"dist",
|
|
449
|
-
"commands",
|
|
450
|
-
"artifacts",
|
|
451
|
-
"reclassify.js"
|
|
452
|
-
]
|
|
453
|
-
},
|
|
454
393
|
"baseline:build": {
|
|
455
394
|
"aliases": [],
|
|
456
395
|
"args": {},
|
|
@@ -789,6 +728,67 @@
|
|
|
789
728
|
"roundtrip.js"
|
|
790
729
|
]
|
|
791
730
|
},
|
|
731
|
+
"artifacts:reclassify": {
|
|
732
|
+
"aliases": [],
|
|
733
|
+
"args": {},
|
|
734
|
+
"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.",
|
|
735
|
+
"examples": [
|
|
736
|
+
"<%= config.bin %> <%= command.id %>",
|
|
737
|
+
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
738
|
+
],
|
|
739
|
+
"flags": {
|
|
740
|
+
"conversation-id": {
|
|
741
|
+
"description": "Scope to artifacts attached to the given conversation.",
|
|
742
|
+
"name": "conversation-id",
|
|
743
|
+
"hasDynamicHelp": false,
|
|
744
|
+
"multiple": false,
|
|
745
|
+
"type": "option"
|
|
746
|
+
},
|
|
747
|
+
"since": {
|
|
748
|
+
"description": "Scope to artifacts created on/after this ISO date.",
|
|
749
|
+
"name": "since",
|
|
750
|
+
"hasDynamicHelp": false,
|
|
751
|
+
"multiple": false,
|
|
752
|
+
"type": "option"
|
|
753
|
+
},
|
|
754
|
+
"limit": {
|
|
755
|
+
"description": "Maximum number of rows to inspect.",
|
|
756
|
+
"name": "limit",
|
|
757
|
+
"default": 100,
|
|
758
|
+
"hasDynamicHelp": false,
|
|
759
|
+
"multiple": false,
|
|
760
|
+
"type": "option"
|
|
761
|
+
},
|
|
762
|
+
"apply": {
|
|
763
|
+
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
764
|
+
"name": "apply",
|
|
765
|
+
"allowNo": false,
|
|
766
|
+
"type": "boolean"
|
|
767
|
+
},
|
|
768
|
+
"verbose": {
|
|
769
|
+
"char": "v",
|
|
770
|
+
"description": "Print every candidate row, not just the summary.",
|
|
771
|
+
"name": "verbose",
|
|
772
|
+
"allowNo": false,
|
|
773
|
+
"type": "boolean"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"hasDynamicHelp": false,
|
|
777
|
+
"hiddenAliases": [],
|
|
778
|
+
"id": "artifacts:reclassify",
|
|
779
|
+
"pluginAlias": "@memberjunction/cli",
|
|
780
|
+
"pluginName": "@memberjunction/cli",
|
|
781
|
+
"pluginType": "core",
|
|
782
|
+
"strict": true,
|
|
783
|
+
"enableJsonFlag": false,
|
|
784
|
+
"isESM": true,
|
|
785
|
+
"relativePath": [
|
|
786
|
+
"dist",
|
|
787
|
+
"commands",
|
|
788
|
+
"artifacts",
|
|
789
|
+
"reclassify.js"
|
|
790
|
+
]
|
|
791
|
+
},
|
|
792
792
|
"bump": {
|
|
793
793
|
"aliases": [],
|
|
794
794
|
"args": {},
|
|
@@ -2867,6 +2867,50 @@
|
|
|
2867
2867
|
"index.js"
|
|
2868
2868
|
]
|
|
2869
2869
|
},
|
|
2870
|
+
"plugin:add": {
|
|
2871
|
+
"aliases": [],
|
|
2872
|
+
"args": {
|
|
2873
|
+
"package": {
|
|
2874
|
+
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
2875
|
+
"name": "package",
|
|
2876
|
+
"required": true
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
2880
|
+
"examples": [
|
|
2881
|
+
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
2882
|
+
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
2883
|
+
],
|
|
2884
|
+
"flags": {
|
|
2885
|
+
"format": {
|
|
2886
|
+
"description": "Output format",
|
|
2887
|
+
"name": "format",
|
|
2888
|
+
"default": "text",
|
|
2889
|
+
"hasDynamicHelp": false,
|
|
2890
|
+
"multiple": false,
|
|
2891
|
+
"options": [
|
|
2892
|
+
"text",
|
|
2893
|
+
"json"
|
|
2894
|
+
],
|
|
2895
|
+
"type": "option"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
"hasDynamicHelp": false,
|
|
2899
|
+
"hiddenAliases": [],
|
|
2900
|
+
"id": "plugin:add",
|
|
2901
|
+
"pluginAlias": "@memberjunction/cli",
|
|
2902
|
+
"pluginName": "@memberjunction/cli",
|
|
2903
|
+
"pluginType": "core",
|
|
2904
|
+
"strict": true,
|
|
2905
|
+
"enableJsonFlag": false,
|
|
2906
|
+
"isESM": true,
|
|
2907
|
+
"relativePath": [
|
|
2908
|
+
"dist",
|
|
2909
|
+
"commands",
|
|
2910
|
+
"plugin",
|
|
2911
|
+
"add.js"
|
|
2912
|
+
]
|
|
2913
|
+
},
|
|
2870
2914
|
"sync:file-reset": {
|
|
2871
2915
|
"aliases": [],
|
|
2872
2916
|
"args": {},
|
|
@@ -3525,57 +3569,294 @@
|
|
|
3525
3569
|
"watch.js"
|
|
3526
3570
|
]
|
|
3527
3571
|
},
|
|
3528
|
-
"
|
|
3572
|
+
"translate-sql": {
|
|
3529
3573
|
"aliases": [],
|
|
3530
|
-
"args": {
|
|
3531
|
-
|
|
3532
|
-
"description": "First test run ID to compare",
|
|
3533
|
-
"name": "runId1",
|
|
3534
|
-
"required": false
|
|
3535
|
-
},
|
|
3536
|
-
"runId2": {
|
|
3537
|
-
"description": "Second test run ID to compare",
|
|
3538
|
-
"name": "runId2",
|
|
3539
|
-
"required": false
|
|
3540
|
-
}
|
|
3541
|
-
},
|
|
3542
|
-
"description": "Compare test runs for regression detection",
|
|
3574
|
+
"args": {},
|
|
3575
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
3543
3576
|
"examples": [
|
|
3544
|
-
"<%= config.bin %>
|
|
3545
|
-
"<%= config.bin %>
|
|
3546
|
-
"<%= config.bin %>
|
|
3547
|
-
"<%= config.bin %>
|
|
3548
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3549
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3550
|
-
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3577
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
3578
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
3579
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
3580
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
3551
3581
|
],
|
|
3552
3582
|
"flags": {
|
|
3553
|
-
"
|
|
3554
|
-
"
|
|
3555
|
-
"
|
|
3556
|
-
"
|
|
3583
|
+
"from": {
|
|
3584
|
+
"description": "Source SQL dialect",
|
|
3585
|
+
"name": "from",
|
|
3586
|
+
"required": true,
|
|
3557
3587
|
"hasDynamicHelp": false,
|
|
3558
|
-
"multiple":
|
|
3588
|
+
"multiple": false,
|
|
3589
|
+
"options": [
|
|
3590
|
+
"sqlserver",
|
|
3591
|
+
"postgresql"
|
|
3592
|
+
],
|
|
3559
3593
|
"type": "option"
|
|
3560
3594
|
},
|
|
3561
|
-
"
|
|
3562
|
-
"
|
|
3563
|
-
"
|
|
3564
|
-
"
|
|
3595
|
+
"to": {
|
|
3596
|
+
"description": "Target SQL dialect",
|
|
3597
|
+
"name": "to",
|
|
3598
|
+
"required": true,
|
|
3565
3599
|
"hasDynamicHelp": false,
|
|
3566
|
-
"multiple":
|
|
3600
|
+
"multiple": false,
|
|
3601
|
+
"options": [
|
|
3602
|
+
"sqlserver",
|
|
3603
|
+
"postgresql"
|
|
3604
|
+
],
|
|
3567
3605
|
"type": "option"
|
|
3568
3606
|
},
|
|
3569
|
-
"
|
|
3570
|
-
"description": "
|
|
3571
|
-
"name": "
|
|
3607
|
+
"scope": {
|
|
3608
|
+
"description": "What to scan for translation",
|
|
3609
|
+
"name": "scope",
|
|
3610
|
+
"default": "all",
|
|
3611
|
+
"hasDynamicHelp": false,
|
|
3612
|
+
"multiple": false,
|
|
3613
|
+
"options": [
|
|
3614
|
+
"queries",
|
|
3615
|
+
"views",
|
|
3616
|
+
"filters",
|
|
3617
|
+
"all"
|
|
3618
|
+
],
|
|
3619
|
+
"type": "option"
|
|
3620
|
+
},
|
|
3621
|
+
"sql": {
|
|
3622
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
3623
|
+
"name": "sql",
|
|
3624
|
+
"hasDynamicHelp": false,
|
|
3625
|
+
"multiple": false,
|
|
3626
|
+
"type": "option"
|
|
3627
|
+
},
|
|
3628
|
+
"dry-run": {
|
|
3629
|
+
"description": "Show what would be translated without making changes",
|
|
3630
|
+
"name": "dry-run",
|
|
3572
3631
|
"allowNo": false,
|
|
3573
3632
|
"type": "boolean"
|
|
3574
3633
|
},
|
|
3575
|
-
"
|
|
3576
|
-
"
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3634
|
+
"review": {
|
|
3635
|
+
"description": "Generate review report only (no writes to database)",
|
|
3636
|
+
"name": "review",
|
|
3637
|
+
"allowNo": false,
|
|
3638
|
+
"type": "boolean"
|
|
3639
|
+
},
|
|
3640
|
+
"output": {
|
|
3641
|
+
"char": "o",
|
|
3642
|
+
"description": "Output directory for the translation report",
|
|
3643
|
+
"name": "output",
|
|
3644
|
+
"hasDynamicHelp": false,
|
|
3645
|
+
"multiple": false,
|
|
3646
|
+
"type": "option"
|
|
3647
|
+
},
|
|
3648
|
+
"force": {
|
|
3649
|
+
"description": "Re-translate even if platform variants already exist",
|
|
3650
|
+
"name": "force",
|
|
3651
|
+
"allowNo": false,
|
|
3652
|
+
"type": "boolean"
|
|
3653
|
+
}
|
|
3654
|
+
},
|
|
3655
|
+
"hasDynamicHelp": false,
|
|
3656
|
+
"hiddenAliases": [],
|
|
3657
|
+
"id": "translate-sql",
|
|
3658
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3659
|
+
"pluginName": "@memberjunction/cli",
|
|
3660
|
+
"pluginType": "core",
|
|
3661
|
+
"strict": true,
|
|
3662
|
+
"enableJsonFlag": false,
|
|
3663
|
+
"isESM": true,
|
|
3664
|
+
"relativePath": [
|
|
3665
|
+
"dist",
|
|
3666
|
+
"commands",
|
|
3667
|
+
"translate-sql",
|
|
3668
|
+
"index.js"
|
|
3669
|
+
]
|
|
3670
|
+
},
|
|
3671
|
+
"update:claude": {
|
|
3672
|
+
"aliases": [],
|
|
3673
|
+
"args": {},
|
|
3674
|
+
"description": "Update the Claude Code pack in the current directory.",
|
|
3675
|
+
"examples": [
|
|
3676
|
+
"<%= config.bin %> update:claude",
|
|
3677
|
+
"<%= config.bin %> update:claude --check",
|
|
3678
|
+
"<%= config.bin %> update:claude --refresh-commands",
|
|
3679
|
+
"<%= config.bin %> update:claude --allow-major",
|
|
3680
|
+
"<%= config.bin %> update:claude --json"
|
|
3681
|
+
],
|
|
3682
|
+
"flags": {
|
|
3683
|
+
"dir": {
|
|
3684
|
+
"description": "Target directory",
|
|
3685
|
+
"name": "dir",
|
|
3686
|
+
"default": ".",
|
|
3687
|
+
"hasDynamicHelp": false,
|
|
3688
|
+
"multiple": false,
|
|
3689
|
+
"type": "option"
|
|
3690
|
+
},
|
|
3691
|
+
"major": {
|
|
3692
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
3693
|
+
"name": "major",
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"multiple": false,
|
|
3696
|
+
"type": "option"
|
|
3697
|
+
},
|
|
3698
|
+
"ref": {
|
|
3699
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
3700
|
+
"name": "ref",
|
|
3701
|
+
"hasDynamicHelp": false,
|
|
3702
|
+
"multiple": false,
|
|
3703
|
+
"type": "option"
|
|
3704
|
+
},
|
|
3705
|
+
"from": {
|
|
3706
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
3707
|
+
"name": "from",
|
|
3708
|
+
"hasDynamicHelp": false,
|
|
3709
|
+
"multiple": false,
|
|
3710
|
+
"type": "option"
|
|
3711
|
+
},
|
|
3712
|
+
"offline": {
|
|
3713
|
+
"description": "Forbid network; requires --from <path>",
|
|
3714
|
+
"name": "offline",
|
|
3715
|
+
"allowNo": false,
|
|
3716
|
+
"type": "boolean"
|
|
3717
|
+
},
|
|
3718
|
+
"dry-run": {
|
|
3719
|
+
"description": "Print what would be written; change nothing",
|
|
3720
|
+
"name": "dry-run",
|
|
3721
|
+
"allowNo": false,
|
|
3722
|
+
"type": "boolean"
|
|
3723
|
+
},
|
|
3724
|
+
"yes": {
|
|
3725
|
+
"char": "y",
|
|
3726
|
+
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
3727
|
+
"name": "yes",
|
|
3728
|
+
"allowNo": false,
|
|
3729
|
+
"type": "boolean"
|
|
3730
|
+
},
|
|
3731
|
+
"force": {
|
|
3732
|
+
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
3733
|
+
"name": "force",
|
|
3734
|
+
"allowNo": false,
|
|
3735
|
+
"type": "boolean"
|
|
3736
|
+
},
|
|
3737
|
+
"skip-commands": {
|
|
3738
|
+
"description": "Skip seeding .claude/commands/",
|
|
3739
|
+
"name": "skip-commands",
|
|
3740
|
+
"allowNo": false,
|
|
3741
|
+
"type": "boolean"
|
|
3742
|
+
},
|
|
3743
|
+
"skip-skills": {
|
|
3744
|
+
"description": "Skip seeding .claude/skills/",
|
|
3745
|
+
"name": "skip-skills",
|
|
3746
|
+
"allowNo": false,
|
|
3747
|
+
"type": "boolean"
|
|
3748
|
+
},
|
|
3749
|
+
"skip-settings": {
|
|
3750
|
+
"description": "Skip merging .claude/settings.json",
|
|
3751
|
+
"name": "skip-settings",
|
|
3752
|
+
"allowNo": false,
|
|
3753
|
+
"type": "boolean"
|
|
3754
|
+
},
|
|
3755
|
+
"check": {
|
|
3756
|
+
"description": "Compare local pack version to remote without writing anything",
|
|
3757
|
+
"name": "check",
|
|
3758
|
+
"allowNo": false,
|
|
3759
|
+
"type": "boolean"
|
|
3760
|
+
},
|
|
3761
|
+
"refresh-commands": {
|
|
3762
|
+
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
3763
|
+
"name": "refresh-commands",
|
|
3764
|
+
"allowNo": false,
|
|
3765
|
+
"type": "boolean"
|
|
3766
|
+
},
|
|
3767
|
+
"refresh-skills": {
|
|
3768
|
+
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
3769
|
+
"name": "refresh-skills",
|
|
3770
|
+
"allowNo": false,
|
|
3771
|
+
"type": "boolean"
|
|
3772
|
+
},
|
|
3773
|
+
"allow-major": {
|
|
3774
|
+
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
3775
|
+
"name": "allow-major",
|
|
3776
|
+
"allowNo": false,
|
|
3777
|
+
"type": "boolean"
|
|
3778
|
+
},
|
|
3779
|
+
"json": {
|
|
3780
|
+
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
3781
|
+
"name": "json",
|
|
3782
|
+
"allowNo": false,
|
|
3783
|
+
"type": "boolean"
|
|
3784
|
+
},
|
|
3785
|
+
"verbose": {
|
|
3786
|
+
"char": "v",
|
|
3787
|
+
"description": "Show progress messages",
|
|
3788
|
+
"name": "verbose",
|
|
3789
|
+
"allowNo": false,
|
|
3790
|
+
"type": "boolean"
|
|
3791
|
+
}
|
|
3792
|
+
},
|
|
3793
|
+
"hasDynamicHelp": false,
|
|
3794
|
+
"hiddenAliases": [],
|
|
3795
|
+
"id": "update:claude",
|
|
3796
|
+
"pluginAlias": "@memberjunction/cli",
|
|
3797
|
+
"pluginName": "@memberjunction/cli",
|
|
3798
|
+
"pluginType": "core",
|
|
3799
|
+
"strict": true,
|
|
3800
|
+
"enableJsonFlag": false,
|
|
3801
|
+
"isESM": true,
|
|
3802
|
+
"relativePath": [
|
|
3803
|
+
"dist",
|
|
3804
|
+
"commands",
|
|
3805
|
+
"update",
|
|
3806
|
+
"claude.js"
|
|
3807
|
+
]
|
|
3808
|
+
},
|
|
3809
|
+
"test:compare": {
|
|
3810
|
+
"aliases": [],
|
|
3811
|
+
"args": {
|
|
3812
|
+
"runId1": {
|
|
3813
|
+
"description": "First test run ID to compare",
|
|
3814
|
+
"name": "runId1",
|
|
3815
|
+
"required": false
|
|
3816
|
+
},
|
|
3817
|
+
"runId2": {
|
|
3818
|
+
"description": "Second test run ID to compare",
|
|
3819
|
+
"name": "runId2",
|
|
3820
|
+
"required": false
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
"description": "Compare test runs for regression detection",
|
|
3824
|
+
"examples": [
|
|
3825
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3826
|
+
"<%= config.bin %> <%= command.id %> --latest",
|
|
3827
|
+
"<%= config.bin %> <%= command.id %> <run-id-1> <run-id-2>",
|
|
3828
|
+
"<%= config.bin %> <%= command.id %> -v 5.17.0 -v 5.18.0",
|
|
3829
|
+
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3830
|
+
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3831
|
+
"<%= config.bin %> <%= command.id %> --latest --format=markdown --output=report.md"
|
|
3832
|
+
],
|
|
3833
|
+
"flags": {
|
|
3834
|
+
"version": {
|
|
3835
|
+
"char": "v",
|
|
3836
|
+
"description": "Compare runs by version",
|
|
3837
|
+
"name": "version",
|
|
3838
|
+
"hasDynamicHelp": false,
|
|
3839
|
+
"multiple": true,
|
|
3840
|
+
"type": "option"
|
|
3841
|
+
},
|
|
3842
|
+
"commit": {
|
|
3843
|
+
"char": "c",
|
|
3844
|
+
"description": "Compare runs by git commit",
|
|
3845
|
+
"name": "commit",
|
|
3846
|
+
"hasDynamicHelp": false,
|
|
3847
|
+
"multiple": true,
|
|
3848
|
+
"type": "option"
|
|
3849
|
+
},
|
|
3850
|
+
"diff-only": {
|
|
3851
|
+
"description": "Show only differences",
|
|
3852
|
+
"name": "diff-only",
|
|
3853
|
+
"allowNo": false,
|
|
3854
|
+
"type": "boolean"
|
|
3855
|
+
},
|
|
3856
|
+
"latest": {
|
|
3857
|
+
"char": "l",
|
|
3858
|
+
"description": "Compare the two most recent completed suite runs",
|
|
3859
|
+
"name": "latest",
|
|
3579
3860
|
"allowNo": false,
|
|
3580
3861
|
"type": "boolean"
|
|
3581
3862
|
},
|
|
@@ -4151,396 +4432,34 @@
|
|
|
4151
4432
|
"validate.js"
|
|
4152
4433
|
]
|
|
4153
4434
|
},
|
|
4154
|
-
"
|
|
4435
|
+
"ai:actions:list": {
|
|
4155
4436
|
"aliases": [],
|
|
4156
4437
|
"args": {},
|
|
4157
|
-
"description": "
|
|
4438
|
+
"description": "List available AI actions",
|
|
4158
4439
|
"examples": [
|
|
4159
|
-
"<%= config.bin %>
|
|
4160
|
-
"<%= config.bin %>
|
|
4161
|
-
"<%= config.bin %>
|
|
4162
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4440
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4441
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
4442
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
4163
4443
|
],
|
|
4164
4444
|
"flags": {
|
|
4165
|
-
"
|
|
4166
|
-
"
|
|
4167
|
-
"
|
|
4168
|
-
"
|
|
4445
|
+
"output": {
|
|
4446
|
+
"char": "o",
|
|
4447
|
+
"description": "Output format",
|
|
4448
|
+
"name": "output",
|
|
4449
|
+
"default": "compact",
|
|
4169
4450
|
"hasDynamicHelp": false,
|
|
4170
4451
|
"multiple": false,
|
|
4171
4452
|
"options": [
|
|
4172
|
-
"
|
|
4173
|
-
"
|
|
4453
|
+
"compact",
|
|
4454
|
+
"json",
|
|
4455
|
+
"table"
|
|
4174
4456
|
],
|
|
4175
4457
|
"type": "option"
|
|
4176
|
-
},
|
|
4177
|
-
"to": {
|
|
4178
|
-
"description": "Target SQL dialect",
|
|
4179
|
-
"name": "to",
|
|
4180
|
-
"required": true,
|
|
4181
|
-
"hasDynamicHelp": false,
|
|
4182
|
-
"multiple": false,
|
|
4183
|
-
"options": [
|
|
4184
|
-
"sqlserver",
|
|
4185
|
-
"postgresql"
|
|
4186
|
-
],
|
|
4187
|
-
"type": "option"
|
|
4188
|
-
},
|
|
4189
|
-
"scope": {
|
|
4190
|
-
"description": "What to scan for translation",
|
|
4191
|
-
"name": "scope",
|
|
4192
|
-
"default": "all",
|
|
4193
|
-
"hasDynamicHelp": false,
|
|
4194
|
-
"multiple": false,
|
|
4195
|
-
"options": [
|
|
4196
|
-
"queries",
|
|
4197
|
-
"views",
|
|
4198
|
-
"filters",
|
|
4199
|
-
"all"
|
|
4200
|
-
],
|
|
4201
|
-
"type": "option"
|
|
4202
|
-
},
|
|
4203
|
-
"sql": {
|
|
4204
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
4205
|
-
"name": "sql",
|
|
4206
|
-
"hasDynamicHelp": false,
|
|
4207
|
-
"multiple": false,
|
|
4208
|
-
"type": "option"
|
|
4209
|
-
},
|
|
4210
|
-
"dry-run": {
|
|
4211
|
-
"description": "Show what would be translated without making changes",
|
|
4212
|
-
"name": "dry-run",
|
|
4213
|
-
"allowNo": false,
|
|
4214
|
-
"type": "boolean"
|
|
4215
|
-
},
|
|
4216
|
-
"review": {
|
|
4217
|
-
"description": "Generate review report only (no writes to database)",
|
|
4218
|
-
"name": "review",
|
|
4219
|
-
"allowNo": false,
|
|
4220
|
-
"type": "boolean"
|
|
4221
|
-
},
|
|
4222
|
-
"output": {
|
|
4223
|
-
"char": "o",
|
|
4224
|
-
"description": "Output directory for the translation report",
|
|
4225
|
-
"name": "output",
|
|
4226
|
-
"hasDynamicHelp": false,
|
|
4227
|
-
"multiple": false,
|
|
4228
|
-
"type": "option"
|
|
4229
|
-
},
|
|
4230
|
-
"force": {
|
|
4231
|
-
"description": "Re-translate even if platform variants already exist",
|
|
4232
|
-
"name": "force",
|
|
4233
|
-
"allowNo": false,
|
|
4234
|
-
"type": "boolean"
|
|
4235
|
-
}
|
|
4236
|
-
},
|
|
4237
|
-
"hasDynamicHelp": false,
|
|
4238
|
-
"hiddenAliases": [],
|
|
4239
|
-
"id": "translate-sql",
|
|
4240
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4241
|
-
"pluginName": "@memberjunction/cli",
|
|
4242
|
-
"pluginType": "core",
|
|
4243
|
-
"strict": true,
|
|
4244
|
-
"enableJsonFlag": false,
|
|
4245
|
-
"isESM": true,
|
|
4246
|
-
"relativePath": [
|
|
4247
|
-
"dist",
|
|
4248
|
-
"commands",
|
|
4249
|
-
"translate-sql",
|
|
4250
|
-
"index.js"
|
|
4251
|
-
]
|
|
4252
|
-
},
|
|
4253
|
-
"plugin:add": {
|
|
4254
|
-
"aliases": [],
|
|
4255
|
-
"args": {
|
|
4256
|
-
"package": {
|
|
4257
|
-
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
4258
|
-
"name": "package",
|
|
4259
|
-
"required": true
|
|
4260
|
-
}
|
|
4261
|
-
},
|
|
4262
|
-
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
4263
|
-
"examples": [
|
|
4264
|
-
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
4265
|
-
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
4266
|
-
],
|
|
4267
|
-
"flags": {
|
|
4268
|
-
"format": {
|
|
4269
|
-
"description": "Output format",
|
|
4270
|
-
"name": "format",
|
|
4271
|
-
"default": "text",
|
|
4272
|
-
"hasDynamicHelp": false,
|
|
4273
|
-
"multiple": false,
|
|
4274
|
-
"options": [
|
|
4275
|
-
"text",
|
|
4276
|
-
"json"
|
|
4277
|
-
],
|
|
4278
|
-
"type": "option"
|
|
4279
|
-
}
|
|
4280
|
-
},
|
|
4281
|
-
"hasDynamicHelp": false,
|
|
4282
|
-
"hiddenAliases": [],
|
|
4283
|
-
"id": "plugin:add",
|
|
4284
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4285
|
-
"pluginName": "@memberjunction/cli",
|
|
4286
|
-
"pluginType": "core",
|
|
4287
|
-
"strict": true,
|
|
4288
|
-
"enableJsonFlag": false,
|
|
4289
|
-
"isESM": true,
|
|
4290
|
-
"relativePath": [
|
|
4291
|
-
"dist",
|
|
4292
|
-
"commands",
|
|
4293
|
-
"plugin",
|
|
4294
|
-
"add.js"
|
|
4295
|
-
]
|
|
4296
|
-
},
|
|
4297
|
-
"update:claude": {
|
|
4298
|
-
"aliases": [],
|
|
4299
|
-
"args": {},
|
|
4300
|
-
"description": "Update the Claude Code pack in the current directory.",
|
|
4301
|
-
"examples": [
|
|
4302
|
-
"<%= config.bin %> update:claude",
|
|
4303
|
-
"<%= config.bin %> update:claude --check",
|
|
4304
|
-
"<%= config.bin %> update:claude --refresh-commands",
|
|
4305
|
-
"<%= config.bin %> update:claude --allow-major",
|
|
4306
|
-
"<%= config.bin %> update:claude --json"
|
|
4307
|
-
],
|
|
4308
|
-
"flags": {
|
|
4309
|
-
"dir": {
|
|
4310
|
-
"description": "Target directory",
|
|
4311
|
-
"name": "dir",
|
|
4312
|
-
"default": ".",
|
|
4313
|
-
"hasDynamicHelp": false,
|
|
4314
|
-
"multiple": false,
|
|
4315
|
-
"type": "option"
|
|
4316
|
-
},
|
|
4317
|
-
"major": {
|
|
4318
|
-
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
4319
|
-
"name": "major",
|
|
4320
|
-
"hasDynamicHelp": false,
|
|
4321
|
-
"multiple": false,
|
|
4322
|
-
"type": "option"
|
|
4323
|
-
},
|
|
4324
|
-
"ref": {
|
|
4325
|
-
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
4326
|
-
"name": "ref",
|
|
4327
|
-
"hasDynamicHelp": false,
|
|
4328
|
-
"multiple": false,
|
|
4329
|
-
"type": "option"
|
|
4330
|
-
},
|
|
4331
|
-
"from": {
|
|
4332
|
-
"description": "Use a local pack source instead of fetching from GitHub",
|
|
4333
|
-
"name": "from",
|
|
4334
|
-
"hasDynamicHelp": false,
|
|
4335
|
-
"multiple": false,
|
|
4336
|
-
"type": "option"
|
|
4337
|
-
},
|
|
4338
|
-
"offline": {
|
|
4339
|
-
"description": "Forbid network; requires --from <path>",
|
|
4340
|
-
"name": "offline",
|
|
4341
|
-
"allowNo": false,
|
|
4342
|
-
"type": "boolean"
|
|
4343
|
-
},
|
|
4344
|
-
"dry-run": {
|
|
4345
|
-
"description": "Print what would be written; change nothing",
|
|
4346
|
-
"name": "dry-run",
|
|
4347
|
-
"allowNo": false,
|
|
4348
|
-
"type": "boolean"
|
|
4349
|
-
},
|
|
4350
|
-
"yes": {
|
|
4351
|
-
"char": "y",
|
|
4352
|
-
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
4353
|
-
"name": "yes",
|
|
4354
|
-
"allowNo": false,
|
|
4355
|
-
"type": "boolean"
|
|
4356
|
-
},
|
|
4357
|
-
"force": {
|
|
4358
|
-
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
4359
|
-
"name": "force",
|
|
4360
|
-
"allowNo": false,
|
|
4361
|
-
"type": "boolean"
|
|
4362
|
-
},
|
|
4363
|
-
"skip-commands": {
|
|
4364
|
-
"description": "Skip seeding .claude/commands/",
|
|
4365
|
-
"name": "skip-commands",
|
|
4366
|
-
"allowNo": false,
|
|
4367
|
-
"type": "boolean"
|
|
4368
|
-
},
|
|
4369
|
-
"skip-skills": {
|
|
4370
|
-
"description": "Skip seeding .claude/skills/",
|
|
4371
|
-
"name": "skip-skills",
|
|
4372
|
-
"allowNo": false,
|
|
4373
|
-
"type": "boolean"
|
|
4374
|
-
},
|
|
4375
|
-
"skip-settings": {
|
|
4376
|
-
"description": "Skip merging .claude/settings.json",
|
|
4377
|
-
"name": "skip-settings",
|
|
4378
|
-
"allowNo": false,
|
|
4379
|
-
"type": "boolean"
|
|
4380
|
-
},
|
|
4381
|
-
"check": {
|
|
4382
|
-
"description": "Compare local pack version to remote without writing anything",
|
|
4383
|
-
"name": "check",
|
|
4384
|
-
"allowNo": false,
|
|
4385
|
-
"type": "boolean"
|
|
4386
|
-
},
|
|
4387
|
-
"refresh-commands": {
|
|
4388
|
-
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
4389
|
-
"name": "refresh-commands",
|
|
4390
|
-
"allowNo": false,
|
|
4391
|
-
"type": "boolean"
|
|
4392
|
-
},
|
|
4393
|
-
"refresh-skills": {
|
|
4394
|
-
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
4395
|
-
"name": "refresh-skills",
|
|
4396
|
-
"allowNo": false,
|
|
4397
|
-
"type": "boolean"
|
|
4398
|
-
},
|
|
4399
|
-
"allow-major": {
|
|
4400
|
-
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
4401
|
-
"name": "allow-major",
|
|
4402
|
-
"allowNo": false,
|
|
4403
|
-
"type": "boolean"
|
|
4404
|
-
},
|
|
4405
|
-
"json": {
|
|
4406
|
-
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
4407
|
-
"name": "json",
|
|
4408
|
-
"allowNo": false,
|
|
4409
|
-
"type": "boolean"
|
|
4410
|
-
},
|
|
4411
|
-
"verbose": {
|
|
4412
|
-
"char": "v",
|
|
4413
|
-
"description": "Show progress messages",
|
|
4414
|
-
"name": "verbose",
|
|
4415
|
-
"allowNo": false,
|
|
4416
|
-
"type": "boolean"
|
|
4417
|
-
}
|
|
4418
|
-
},
|
|
4419
|
-
"hasDynamicHelp": false,
|
|
4420
|
-
"hiddenAliases": [],
|
|
4421
|
-
"id": "update:claude",
|
|
4422
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4423
|
-
"pluginName": "@memberjunction/cli",
|
|
4424
|
-
"pluginType": "core",
|
|
4425
|
-
"strict": true,
|
|
4426
|
-
"enableJsonFlag": false,
|
|
4427
|
-
"isESM": true,
|
|
4428
|
-
"relativePath": [
|
|
4429
|
-
"dist",
|
|
4430
|
-
"commands",
|
|
4431
|
-
"update",
|
|
4432
|
-
"claude.js"
|
|
4433
|
-
]
|
|
4434
|
-
},
|
|
4435
|
-
"ai:actions:list": {
|
|
4436
|
-
"aliases": [],
|
|
4437
|
-
"args": {},
|
|
4438
|
-
"description": "List available AI actions",
|
|
4439
|
-
"examples": [
|
|
4440
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4441
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
4442
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
4443
|
-
],
|
|
4444
|
-
"flags": {
|
|
4445
|
-
"output": {
|
|
4446
|
-
"char": "o",
|
|
4447
|
-
"description": "Output format",
|
|
4448
|
-
"name": "output",
|
|
4449
|
-
"default": "compact",
|
|
4450
|
-
"hasDynamicHelp": false,
|
|
4451
|
-
"multiple": false,
|
|
4452
|
-
"options": [
|
|
4453
|
-
"compact",
|
|
4454
|
-
"json",
|
|
4455
|
-
"table"
|
|
4456
|
-
],
|
|
4457
|
-
"type": "option"
|
|
4458
|
-
}
|
|
4459
|
-
},
|
|
4460
|
-
"hasDynamicHelp": false,
|
|
4461
|
-
"hiddenAliases": [],
|
|
4462
|
-
"id": "ai:actions:list",
|
|
4463
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4464
|
-
"pluginName": "@memberjunction/cli",
|
|
4465
|
-
"pluginType": "core",
|
|
4466
|
-
"strict": true,
|
|
4467
|
-
"enableJsonFlag": false,
|
|
4468
|
-
"isESM": true,
|
|
4469
|
-
"relativePath": [
|
|
4470
|
-
"dist",
|
|
4471
|
-
"commands",
|
|
4472
|
-
"ai",
|
|
4473
|
-
"actions",
|
|
4474
|
-
"list.js"
|
|
4475
|
-
]
|
|
4476
|
-
},
|
|
4477
|
-
"ai:actions:run": {
|
|
4478
|
-
"aliases": [],
|
|
4479
|
-
"args": {},
|
|
4480
|
-
"description": "Execute an AI action with parameters",
|
|
4481
|
-
"examples": [
|
|
4482
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
4483
|
-
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
4484
|
-
"<%= 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\"",
|
|
4485
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
4486
|
-
],
|
|
4487
|
-
"flags": {
|
|
4488
|
-
"name": {
|
|
4489
|
-
"char": "n",
|
|
4490
|
-
"description": "Action name",
|
|
4491
|
-
"name": "name",
|
|
4492
|
-
"required": true,
|
|
4493
|
-
"hasDynamicHelp": false,
|
|
4494
|
-
"multiple": false,
|
|
4495
|
-
"type": "option"
|
|
4496
|
-
},
|
|
4497
|
-
"param": {
|
|
4498
|
-
"char": "p",
|
|
4499
|
-
"description": "Action parameters in key=value format",
|
|
4500
|
-
"name": "param",
|
|
4501
|
-
"hasDynamicHelp": false,
|
|
4502
|
-
"multiple": true,
|
|
4503
|
-
"type": "option"
|
|
4504
|
-
},
|
|
4505
|
-
"dry-run": {
|
|
4506
|
-
"description": "Validate without executing",
|
|
4507
|
-
"name": "dry-run",
|
|
4508
|
-
"allowNo": false,
|
|
4509
|
-
"type": "boolean"
|
|
4510
|
-
},
|
|
4511
|
-
"output": {
|
|
4512
|
-
"char": "o",
|
|
4513
|
-
"description": "Output format",
|
|
4514
|
-
"name": "output",
|
|
4515
|
-
"default": "compact",
|
|
4516
|
-
"hasDynamicHelp": false,
|
|
4517
|
-
"multiple": false,
|
|
4518
|
-
"options": [
|
|
4519
|
-
"compact",
|
|
4520
|
-
"json",
|
|
4521
|
-
"table"
|
|
4522
|
-
],
|
|
4523
|
-
"type": "option"
|
|
4524
|
-
},
|
|
4525
|
-
"verbose": {
|
|
4526
|
-
"char": "v",
|
|
4527
|
-
"description": "Show detailed execution information",
|
|
4528
|
-
"name": "verbose",
|
|
4529
|
-
"allowNo": false,
|
|
4530
|
-
"type": "boolean"
|
|
4531
|
-
},
|
|
4532
|
-
"timeout": {
|
|
4533
|
-
"description": "Execution timeout in milliseconds",
|
|
4534
|
-
"name": "timeout",
|
|
4535
|
-
"default": 300000,
|
|
4536
|
-
"hasDynamicHelp": false,
|
|
4537
|
-
"multiple": false,
|
|
4538
|
-
"type": "option"
|
|
4539
4458
|
}
|
|
4540
4459
|
},
|
|
4541
4460
|
"hasDynamicHelp": false,
|
|
4542
4461
|
"hiddenAliases": [],
|
|
4543
|
-
"id": "ai:actions:
|
|
4462
|
+
"id": "ai:actions:list",
|
|
4544
4463
|
"pluginAlias": "@memberjunction/cli",
|
|
4545
4464
|
"pluginName": "@memberjunction/cli",
|
|
4546
4465
|
"pluginType": "core",
|
|
@@ -4552,88 +4471,40 @@
|
|
|
4552
4471
|
"commands",
|
|
4553
4472
|
"ai",
|
|
4554
4473
|
"actions",
|
|
4555
|
-
"run.js"
|
|
4556
|
-
]
|
|
4557
|
-
},
|
|
4558
|
-
"ai:agents:list": {
|
|
4559
|
-
"aliases": [],
|
|
4560
|
-
"args": {},
|
|
4561
|
-
"description": "List available AI agents",
|
|
4562
|
-
"examples": [
|
|
4563
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4564
|
-
"<%= config.bin %> <%= command.id %> --output=table",
|
|
4565
|
-
"<%= config.bin %> <%= command.id %> --output=json"
|
|
4566
|
-
],
|
|
4567
|
-
"flags": {
|
|
4568
|
-
"output": {
|
|
4569
|
-
"char": "o",
|
|
4570
|
-
"description": "Output format",
|
|
4571
|
-
"name": "output",
|
|
4572
|
-
"default": "compact",
|
|
4573
|
-
"hasDynamicHelp": false,
|
|
4574
|
-
"multiple": false,
|
|
4575
|
-
"options": [
|
|
4576
|
-
"compact",
|
|
4577
|
-
"json",
|
|
4578
|
-
"table"
|
|
4579
|
-
],
|
|
4580
|
-
"type": "option"
|
|
4581
|
-
}
|
|
4582
|
-
},
|
|
4583
|
-
"hasDynamicHelp": false,
|
|
4584
|
-
"hiddenAliases": [],
|
|
4585
|
-
"id": "ai:agents:list",
|
|
4586
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4587
|
-
"pluginName": "@memberjunction/cli",
|
|
4588
|
-
"pluginType": "core",
|
|
4589
|
-
"strict": true,
|
|
4590
|
-
"enableJsonFlag": false,
|
|
4591
|
-
"isESM": true,
|
|
4592
|
-
"relativePath": [
|
|
4593
|
-
"dist",
|
|
4594
|
-
"commands",
|
|
4595
|
-
"ai",
|
|
4596
|
-
"agents",
|
|
4597
4474
|
"list.js"
|
|
4598
4475
|
]
|
|
4599
4476
|
},
|
|
4600
|
-
"ai:
|
|
4477
|
+
"ai:actions:run": {
|
|
4601
4478
|
"aliases": [],
|
|
4602
4479
|
"args": {},
|
|
4603
|
-
"description": "Execute an AI
|
|
4480
|
+
"description": "Execute an AI action with parameters",
|
|
4604
4481
|
"examples": [
|
|
4605
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4606
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4607
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4482
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
|
|
4483
|
+
"<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
|
|
4484
|
+
"<%= 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\"",
|
|
4485
|
+
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
4608
4486
|
],
|
|
4609
4487
|
"flags": {
|
|
4610
|
-
"
|
|
4611
|
-
"char": "
|
|
4612
|
-
"description": "
|
|
4613
|
-
"name": "
|
|
4488
|
+
"name": {
|
|
4489
|
+
"char": "n",
|
|
4490
|
+
"description": "Action name",
|
|
4491
|
+
"name": "name",
|
|
4614
4492
|
"required": true,
|
|
4615
4493
|
"hasDynamicHelp": false,
|
|
4616
4494
|
"multiple": false,
|
|
4617
4495
|
"type": "option"
|
|
4618
4496
|
},
|
|
4619
|
-
"
|
|
4497
|
+
"param": {
|
|
4620
4498
|
"char": "p",
|
|
4621
|
-
"description": "
|
|
4622
|
-
"
|
|
4623
|
-
"chat"
|
|
4624
|
-
],
|
|
4625
|
-
"name": "prompt",
|
|
4499
|
+
"description": "Action parameters in key=value format",
|
|
4500
|
+
"name": "param",
|
|
4626
4501
|
"hasDynamicHelp": false,
|
|
4627
|
-
"multiple":
|
|
4502
|
+
"multiple": true,
|
|
4628
4503
|
"type": "option"
|
|
4629
4504
|
},
|
|
4630
|
-
"
|
|
4631
|
-
"
|
|
4632
|
-
"
|
|
4633
|
-
"exclusive": [
|
|
4634
|
-
"prompt"
|
|
4635
|
-
],
|
|
4636
|
-
"name": "chat",
|
|
4505
|
+
"dry-run": {
|
|
4506
|
+
"description": "Validate without executing",
|
|
4507
|
+
"name": "dry-run",
|
|
4637
4508
|
"allowNo": false,
|
|
4638
4509
|
"type": "boolean"
|
|
4639
4510
|
},
|
|
@@ -4669,7 +4540,7 @@
|
|
|
4669
4540
|
},
|
|
4670
4541
|
"hasDynamicHelp": false,
|
|
4671
4542
|
"hiddenAliases": [],
|
|
4672
|
-
"id": "ai:
|
|
4543
|
+
"id": "ai:actions:run",
|
|
4673
4544
|
"pluginAlias": "@memberjunction/cli",
|
|
4674
4545
|
"pluginName": "@memberjunction/cli",
|
|
4675
4546
|
"pluginType": "core",
|
|
@@ -4680,7 +4551,7 @@
|
|
|
4680
4551
|
"dist",
|
|
4681
4552
|
"commands",
|
|
4682
4553
|
"ai",
|
|
4683
|
-
"
|
|
4554
|
+
"actions",
|
|
4684
4555
|
"run.js"
|
|
4685
4556
|
]
|
|
4686
4557
|
},
|
|
@@ -4900,6 +4771,135 @@
|
|
|
4900
4771
|
"index.js"
|
|
4901
4772
|
]
|
|
4902
4773
|
},
|
|
4774
|
+
"ai:agents:list": {
|
|
4775
|
+
"aliases": [],
|
|
4776
|
+
"args": {},
|
|
4777
|
+
"description": "List available AI agents",
|
|
4778
|
+
"examples": [
|
|
4779
|
+
"<%= config.bin %> <%= command.id %>",
|
|
4780
|
+
"<%= config.bin %> <%= command.id %> --output=table",
|
|
4781
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
4782
|
+
],
|
|
4783
|
+
"flags": {
|
|
4784
|
+
"output": {
|
|
4785
|
+
"char": "o",
|
|
4786
|
+
"description": "Output format",
|
|
4787
|
+
"name": "output",
|
|
4788
|
+
"default": "compact",
|
|
4789
|
+
"hasDynamicHelp": false,
|
|
4790
|
+
"multiple": false,
|
|
4791
|
+
"options": [
|
|
4792
|
+
"compact",
|
|
4793
|
+
"json",
|
|
4794
|
+
"table"
|
|
4795
|
+
],
|
|
4796
|
+
"type": "option"
|
|
4797
|
+
}
|
|
4798
|
+
},
|
|
4799
|
+
"hasDynamicHelp": false,
|
|
4800
|
+
"hiddenAliases": [],
|
|
4801
|
+
"id": "ai:agents:list",
|
|
4802
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4803
|
+
"pluginName": "@memberjunction/cli",
|
|
4804
|
+
"pluginType": "core",
|
|
4805
|
+
"strict": true,
|
|
4806
|
+
"enableJsonFlag": false,
|
|
4807
|
+
"isESM": true,
|
|
4808
|
+
"relativePath": [
|
|
4809
|
+
"dist",
|
|
4810
|
+
"commands",
|
|
4811
|
+
"ai",
|
|
4812
|
+
"agents",
|
|
4813
|
+
"list.js"
|
|
4814
|
+
]
|
|
4815
|
+
},
|
|
4816
|
+
"ai:agents:run": {
|
|
4817
|
+
"aliases": [],
|
|
4818
|
+
"args": {},
|
|
4819
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
4820
|
+
"examples": [
|
|
4821
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
4822
|
+
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
4823
|
+
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
4824
|
+
],
|
|
4825
|
+
"flags": {
|
|
4826
|
+
"agent": {
|
|
4827
|
+
"char": "a",
|
|
4828
|
+
"description": "Agent name",
|
|
4829
|
+
"name": "agent",
|
|
4830
|
+
"required": true,
|
|
4831
|
+
"hasDynamicHelp": false,
|
|
4832
|
+
"multiple": false,
|
|
4833
|
+
"type": "option"
|
|
4834
|
+
},
|
|
4835
|
+
"prompt": {
|
|
4836
|
+
"char": "p",
|
|
4837
|
+
"description": "Prompt to execute",
|
|
4838
|
+
"exclusive": [
|
|
4839
|
+
"chat"
|
|
4840
|
+
],
|
|
4841
|
+
"name": "prompt",
|
|
4842
|
+
"hasDynamicHelp": false,
|
|
4843
|
+
"multiple": false,
|
|
4844
|
+
"type": "option"
|
|
4845
|
+
},
|
|
4846
|
+
"chat": {
|
|
4847
|
+
"char": "c",
|
|
4848
|
+
"description": "Start interactive chat mode",
|
|
4849
|
+
"exclusive": [
|
|
4850
|
+
"prompt"
|
|
4851
|
+
],
|
|
4852
|
+
"name": "chat",
|
|
4853
|
+
"allowNo": false,
|
|
4854
|
+
"type": "boolean"
|
|
4855
|
+
},
|
|
4856
|
+
"output": {
|
|
4857
|
+
"char": "o",
|
|
4858
|
+
"description": "Output format",
|
|
4859
|
+
"name": "output",
|
|
4860
|
+
"default": "compact",
|
|
4861
|
+
"hasDynamicHelp": false,
|
|
4862
|
+
"multiple": false,
|
|
4863
|
+
"options": [
|
|
4864
|
+
"compact",
|
|
4865
|
+
"json",
|
|
4866
|
+
"table"
|
|
4867
|
+
],
|
|
4868
|
+
"type": "option"
|
|
4869
|
+
},
|
|
4870
|
+
"verbose": {
|
|
4871
|
+
"char": "v",
|
|
4872
|
+
"description": "Show detailed execution information",
|
|
4873
|
+
"name": "verbose",
|
|
4874
|
+
"allowNo": false,
|
|
4875
|
+
"type": "boolean"
|
|
4876
|
+
},
|
|
4877
|
+
"timeout": {
|
|
4878
|
+
"description": "Execution timeout in milliseconds",
|
|
4879
|
+
"name": "timeout",
|
|
4880
|
+
"default": 300000,
|
|
4881
|
+
"hasDynamicHelp": false,
|
|
4882
|
+
"multiple": false,
|
|
4883
|
+
"type": "option"
|
|
4884
|
+
}
|
|
4885
|
+
},
|
|
4886
|
+
"hasDynamicHelp": false,
|
|
4887
|
+
"hiddenAliases": [],
|
|
4888
|
+
"id": "ai:agents:run",
|
|
4889
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4890
|
+
"pluginName": "@memberjunction/cli",
|
|
4891
|
+
"pluginType": "core",
|
|
4892
|
+
"strict": true,
|
|
4893
|
+
"enableJsonFlag": false,
|
|
4894
|
+
"isESM": true,
|
|
4895
|
+
"relativePath": [
|
|
4896
|
+
"dist",
|
|
4897
|
+
"commands",
|
|
4898
|
+
"ai",
|
|
4899
|
+
"agents",
|
|
4900
|
+
"run.js"
|
|
4901
|
+
]
|
|
4902
|
+
},
|
|
4903
4903
|
"ai:prompts:list": {
|
|
4904
4904
|
"aliases": [],
|
|
4905
4905
|
"args": {},
|
|
@@ -5480,5 +5480,5 @@
|
|
|
5480
5480
|
]
|
|
5481
5481
|
}
|
|
5482
5482
|
},
|
|
5483
|
-
"version": "5.51.
|
|
5483
|
+
"version": "5.51.2"
|
|
5484
5484
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.51.
|
|
4
|
+
"version": "5.51.2",
|
|
5
5
|
"description": "MemberJunction command line tools",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"oclif"
|
|
@@ -55,25 +55,25 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@inquirer/prompts": "^8.2.0",
|
|
58
|
-
"@memberjunction/ai-cli": "5.51.
|
|
59
|
-
"@memberjunction/cli-core": "5.51.
|
|
60
|
-
"@memberjunction/codegen-lib": "5.51.
|
|
61
|
-
"@memberjunction/config": "5.51.
|
|
62
|
-
"@memberjunction/core": "5.51.
|
|
63
|
-
"@memberjunction/generic-database-provider": "5.51.
|
|
64
|
-
"@memberjunction/installer": "5.51.
|
|
65
|
-
"@memberjunction/db-auto-doc": "5.51.
|
|
66
|
-
"@memberjunction/metadata-sync": "5.51.
|
|
67
|
-
"@memberjunction/open-app-engine": "5.51.
|
|
68
|
-
"@memberjunction/query-gen": "5.51.
|
|
69
|
-
"@memberjunction/server-bootstrap-lite": "5.51.
|
|
58
|
+
"@memberjunction/ai-cli": "5.51.2",
|
|
59
|
+
"@memberjunction/cli-core": "5.51.2",
|
|
60
|
+
"@memberjunction/codegen-lib": "5.51.2",
|
|
61
|
+
"@memberjunction/config": "5.51.2",
|
|
62
|
+
"@memberjunction/core": "5.51.2",
|
|
63
|
+
"@memberjunction/generic-database-provider": "5.51.2",
|
|
64
|
+
"@memberjunction/installer": "5.51.2",
|
|
65
|
+
"@memberjunction/db-auto-doc": "5.51.2",
|
|
66
|
+
"@memberjunction/metadata-sync": "5.51.2",
|
|
67
|
+
"@memberjunction/open-app-engine": "5.51.2",
|
|
68
|
+
"@memberjunction/query-gen": "5.51.2",
|
|
69
|
+
"@memberjunction/server-bootstrap-lite": "5.51.2",
|
|
70
70
|
"@memberjunction/skyway-core": "^0.6.2",
|
|
71
71
|
"@memberjunction/skyway-postgres": "^0.6.2",
|
|
72
72
|
"@memberjunction/skyway-sqlserver": "^0.6.2",
|
|
73
|
-
"@memberjunction/sql-converter": "5.51.
|
|
74
|
-
"@memberjunction/sqlglot-ts": "5.51.
|
|
75
|
-
"@memberjunction/sqlserver-dataprovider": "5.51.
|
|
76
|
-
"@memberjunction/testing-cli": "5.51.
|
|
73
|
+
"@memberjunction/sql-converter": "5.51.2",
|
|
74
|
+
"@memberjunction/sqlglot-ts": "5.51.2",
|
|
75
|
+
"@memberjunction/sqlserver-dataprovider": "5.51.2",
|
|
76
|
+
"@memberjunction/testing-cli": "5.51.2",
|
|
77
77
|
"@oclif/core": "^3.27.0",
|
|
78
78
|
"@oclif/plugin-help": "^6.2.37",
|
|
79
79
|
"@oclif/plugin-version": "^2.2.36",
|