@memberjunction/cli 5.51.1 → 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 +567 -567
- package/package.json +17 -17
package/oclif.manifest.json
CHANGED
|
@@ -728,6 +728,67 @@
|
|
|
728
728
|
"roundtrip.js"
|
|
729
729
|
]
|
|
730
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
|
+
},
|
|
731
792
|
"bump": {
|
|
732
793
|
"aliases": [],
|
|
733
794
|
"args": {},
|
|
@@ -800,67 +861,6 @@
|
|
|
800
861
|
"index.js"
|
|
801
862
|
]
|
|
802
863
|
},
|
|
803
|
-
"artifacts:reclassify": {
|
|
804
|
-
"aliases": [],
|
|
805
|
-
"args": {},
|
|
806
|
-
"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.",
|
|
807
|
-
"examples": [
|
|
808
|
-
"<%= config.bin %> <%= command.id %>",
|
|
809
|
-
"<%= config.bin %> <%= command.id %> --apply --limit 50"
|
|
810
|
-
],
|
|
811
|
-
"flags": {
|
|
812
|
-
"conversation-id": {
|
|
813
|
-
"description": "Scope to artifacts attached to the given conversation.",
|
|
814
|
-
"name": "conversation-id",
|
|
815
|
-
"hasDynamicHelp": false,
|
|
816
|
-
"multiple": false,
|
|
817
|
-
"type": "option"
|
|
818
|
-
},
|
|
819
|
-
"since": {
|
|
820
|
-
"description": "Scope to artifacts created on/after this ISO date.",
|
|
821
|
-
"name": "since",
|
|
822
|
-
"hasDynamicHelp": false,
|
|
823
|
-
"multiple": false,
|
|
824
|
-
"type": "option"
|
|
825
|
-
},
|
|
826
|
-
"limit": {
|
|
827
|
-
"description": "Maximum number of rows to inspect.",
|
|
828
|
-
"name": "limit",
|
|
829
|
-
"default": 100,
|
|
830
|
-
"hasDynamicHelp": false,
|
|
831
|
-
"multiple": false,
|
|
832
|
-
"type": "option"
|
|
833
|
-
},
|
|
834
|
-
"apply": {
|
|
835
|
-
"description": "Write changes. Without this flag, this command only reports what it would do.",
|
|
836
|
-
"name": "apply",
|
|
837
|
-
"allowNo": false,
|
|
838
|
-
"type": "boolean"
|
|
839
|
-
},
|
|
840
|
-
"verbose": {
|
|
841
|
-
"char": "v",
|
|
842
|
-
"description": "Print every candidate row, not just the summary.",
|
|
843
|
-
"name": "verbose",
|
|
844
|
-
"allowNo": false,
|
|
845
|
-
"type": "boolean"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
"hasDynamicHelp": false,
|
|
849
|
-
"hiddenAliases": [],
|
|
850
|
-
"id": "artifacts:reclassify",
|
|
851
|
-
"pluginAlias": "@memberjunction/cli",
|
|
852
|
-
"pluginName": "@memberjunction/cli",
|
|
853
|
-
"pluginType": "core",
|
|
854
|
-
"strict": true,
|
|
855
|
-
"enableJsonFlag": false,
|
|
856
|
-
"isESM": true,
|
|
857
|
-
"relativePath": [
|
|
858
|
-
"dist",
|
|
859
|
-
"commands",
|
|
860
|
-
"artifacts",
|
|
861
|
-
"reclassify.js"
|
|
862
|
-
]
|
|
863
|
-
},
|
|
864
864
|
"bundle": {
|
|
865
865
|
"aliases": [],
|
|
866
866
|
"args": {},
|
|
@@ -2500,50 +2500,6 @@
|
|
|
2500
2500
|
"rebake.js"
|
|
2501
2501
|
]
|
|
2502
2502
|
},
|
|
2503
|
-
"plugin:add": {
|
|
2504
|
-
"aliases": [],
|
|
2505
|
-
"args": {
|
|
2506
|
-
"package": {
|
|
2507
|
-
"description": "Plugin entry-point specifier (package name, subpath, or relative path)",
|
|
2508
|
-
"name": "package",
|
|
2509
|
-
"required": true
|
|
2510
|
-
}
|
|
2511
|
-
},
|
|
2512
|
-
"description": "Register a CLI plugin package in mj-cli-plugins.json so `mj` loads it at startup.",
|
|
2513
|
-
"examples": [
|
|
2514
|
-
"<%= config.bin %> <%= command.id %> @my-org/mj-plugin/plugins",
|
|
2515
|
-
"<%= config.bin %> <%= command.id %> ./local-plugins/my-tool"
|
|
2516
|
-
],
|
|
2517
|
-
"flags": {
|
|
2518
|
-
"format": {
|
|
2519
|
-
"description": "Output format",
|
|
2520
|
-
"name": "format",
|
|
2521
|
-
"default": "text",
|
|
2522
|
-
"hasDynamicHelp": false,
|
|
2523
|
-
"multiple": false,
|
|
2524
|
-
"options": [
|
|
2525
|
-
"text",
|
|
2526
|
-
"json"
|
|
2527
|
-
],
|
|
2528
|
-
"type": "option"
|
|
2529
|
-
}
|
|
2530
|
-
},
|
|
2531
|
-
"hasDynamicHelp": false,
|
|
2532
|
-
"hiddenAliases": [],
|
|
2533
|
-
"id": "plugin:add",
|
|
2534
|
-
"pluginAlias": "@memberjunction/cli",
|
|
2535
|
-
"pluginName": "@memberjunction/cli",
|
|
2536
|
-
"pluginType": "core",
|
|
2537
|
-
"strict": true,
|
|
2538
|
-
"enableJsonFlag": false,
|
|
2539
|
-
"isESM": true,
|
|
2540
|
-
"relativePath": [
|
|
2541
|
-
"dist",
|
|
2542
|
-
"commands",
|
|
2543
|
-
"plugin",
|
|
2544
|
-
"add.js"
|
|
2545
|
-
]
|
|
2546
|
-
},
|
|
2547
2503
|
"querygen:export": {
|
|
2548
2504
|
"aliases": [],
|
|
2549
2505
|
"args": {},
|
|
@@ -2911,6 +2867,50 @@
|
|
|
2911
2867
|
"index.js"
|
|
2912
2868
|
]
|
|
2913
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
|
+
},
|
|
2914
2914
|
"sync:file-reset": {
|
|
2915
2915
|
"aliases": [],
|
|
2916
2916
|
"args": {},
|
|
@@ -3569,43 +3569,280 @@
|
|
|
3569
3569
|
"watch.js"
|
|
3570
3570
|
]
|
|
3571
3571
|
},
|
|
3572
|
-
"
|
|
3572
|
+
"translate-sql": {
|
|
3573
3573
|
"aliases": [],
|
|
3574
|
-
"args": {
|
|
3575
|
-
|
|
3576
|
-
"description": "First test run ID to compare",
|
|
3577
|
-
"name": "runId1",
|
|
3578
|
-
"required": false
|
|
3579
|
-
},
|
|
3580
|
-
"runId2": {
|
|
3581
|
-
"description": "Second test run ID to compare",
|
|
3582
|
-
"name": "runId2",
|
|
3583
|
-
"required": false
|
|
3584
|
-
}
|
|
3585
|
-
},
|
|
3586
|
-
"description": "Compare test runs for regression detection",
|
|
3574
|
+
"args": {},
|
|
3575
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
3587
3576
|
"examples": [
|
|
3588
|
-
"<%= config.bin %>
|
|
3589
|
-
"<%= config.bin %>
|
|
3590
|
-
"<%= config.bin %>
|
|
3591
|
-
"<%= config.bin %>
|
|
3592
|
-
"<%= config.bin %> <%= command.id %> -c abc1234 -c def5678",
|
|
3593
|
-
"<%= config.bin %> <%= command.id %> --from-json baseline.json latest.json",
|
|
3594
|
-
"<%= 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"
|
|
3595
3581
|
],
|
|
3596
3582
|
"flags": {
|
|
3597
|
-
"
|
|
3598
|
-
"
|
|
3599
|
-
"
|
|
3600
|
-
"
|
|
3583
|
+
"from": {
|
|
3584
|
+
"description": "Source SQL dialect",
|
|
3585
|
+
"name": "from",
|
|
3586
|
+
"required": true,
|
|
3601
3587
|
"hasDynamicHelp": false,
|
|
3602
|
-
"multiple":
|
|
3588
|
+
"multiple": false,
|
|
3589
|
+
"options": [
|
|
3590
|
+
"sqlserver",
|
|
3591
|
+
"postgresql"
|
|
3592
|
+
],
|
|
3603
3593
|
"type": "option"
|
|
3604
3594
|
},
|
|
3605
|
-
"
|
|
3606
|
-
"
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3595
|
+
"to": {
|
|
3596
|
+
"description": "Target SQL dialect",
|
|
3597
|
+
"name": "to",
|
|
3598
|
+
"required": true,
|
|
3599
|
+
"hasDynamicHelp": false,
|
|
3600
|
+
"multiple": false,
|
|
3601
|
+
"options": [
|
|
3602
|
+
"sqlserver",
|
|
3603
|
+
"postgresql"
|
|
3604
|
+
],
|
|
3605
|
+
"type": "option"
|
|
3606
|
+
},
|
|
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",
|
|
3631
|
+
"allowNo": false,
|
|
3632
|
+
"type": "boolean"
|
|
3633
|
+
},
|
|
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",
|
|
3609
3846
|
"hasDynamicHelp": false,
|
|
3610
3847
|
"multiple": true,
|
|
3611
3848
|
"type": "option"
|
|
@@ -4195,247 +4432,10 @@
|
|
|
4195
4432
|
"validate.js"
|
|
4196
4433
|
]
|
|
4197
4434
|
},
|
|
4198
|
-
"
|
|
4435
|
+
"ai:actions:list": {
|
|
4199
4436
|
"aliases": [],
|
|
4200
4437
|
"args": {},
|
|
4201
|
-
"description": "
|
|
4202
|
-
"examples": [
|
|
4203
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
4204
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
4205
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
4206
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4207
|
-
],
|
|
4208
|
-
"flags": {
|
|
4209
|
-
"from": {
|
|
4210
|
-
"description": "Source SQL dialect",
|
|
4211
|
-
"name": "from",
|
|
4212
|
-
"required": true,
|
|
4213
|
-
"hasDynamicHelp": false,
|
|
4214
|
-
"multiple": false,
|
|
4215
|
-
"options": [
|
|
4216
|
-
"sqlserver",
|
|
4217
|
-
"postgresql"
|
|
4218
|
-
],
|
|
4219
|
-
"type": "option"
|
|
4220
|
-
},
|
|
4221
|
-
"to": {
|
|
4222
|
-
"description": "Target SQL dialect",
|
|
4223
|
-
"name": "to",
|
|
4224
|
-
"required": true,
|
|
4225
|
-
"hasDynamicHelp": false,
|
|
4226
|
-
"multiple": false,
|
|
4227
|
-
"options": [
|
|
4228
|
-
"sqlserver",
|
|
4229
|
-
"postgresql"
|
|
4230
|
-
],
|
|
4231
|
-
"type": "option"
|
|
4232
|
-
},
|
|
4233
|
-
"scope": {
|
|
4234
|
-
"description": "What to scan for translation",
|
|
4235
|
-
"name": "scope",
|
|
4236
|
-
"default": "all",
|
|
4237
|
-
"hasDynamicHelp": false,
|
|
4238
|
-
"multiple": false,
|
|
4239
|
-
"options": [
|
|
4240
|
-
"queries",
|
|
4241
|
-
"views",
|
|
4242
|
-
"filters",
|
|
4243
|
-
"all"
|
|
4244
|
-
],
|
|
4245
|
-
"type": "option"
|
|
4246
|
-
},
|
|
4247
|
-
"sql": {
|
|
4248
|
-
"description": "Translate a single SQL fragment (inline mode)",
|
|
4249
|
-
"name": "sql",
|
|
4250
|
-
"hasDynamicHelp": false,
|
|
4251
|
-
"multiple": false,
|
|
4252
|
-
"type": "option"
|
|
4253
|
-
},
|
|
4254
|
-
"dry-run": {
|
|
4255
|
-
"description": "Show what would be translated without making changes",
|
|
4256
|
-
"name": "dry-run",
|
|
4257
|
-
"allowNo": false,
|
|
4258
|
-
"type": "boolean"
|
|
4259
|
-
},
|
|
4260
|
-
"review": {
|
|
4261
|
-
"description": "Generate review report only (no writes to database)",
|
|
4262
|
-
"name": "review",
|
|
4263
|
-
"allowNo": false,
|
|
4264
|
-
"type": "boolean"
|
|
4265
|
-
},
|
|
4266
|
-
"output": {
|
|
4267
|
-
"char": "o",
|
|
4268
|
-
"description": "Output directory for the translation report",
|
|
4269
|
-
"name": "output",
|
|
4270
|
-
"hasDynamicHelp": false,
|
|
4271
|
-
"multiple": false,
|
|
4272
|
-
"type": "option"
|
|
4273
|
-
},
|
|
4274
|
-
"force": {
|
|
4275
|
-
"description": "Re-translate even if platform variants already exist",
|
|
4276
|
-
"name": "force",
|
|
4277
|
-
"allowNo": false,
|
|
4278
|
-
"type": "boolean"
|
|
4279
|
-
}
|
|
4280
|
-
},
|
|
4281
|
-
"hasDynamicHelp": false,
|
|
4282
|
-
"hiddenAliases": [],
|
|
4283
|
-
"id": "translate-sql",
|
|
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
|
-
"translate-sql",
|
|
4294
|
-
"index.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:agents:list": {
|
|
4436
|
-
"aliases": [],
|
|
4437
|
-
"args": {},
|
|
4438
|
-
"description": "List available AI agents",
|
|
4438
|
+
"description": "List available AI actions",
|
|
4439
4439
|
"examples": [
|
|
4440
4440
|
"<%= config.bin %> <%= command.id %>",
|
|
4441
4441
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -4459,127 +4459,7 @@
|
|
|
4459
4459
|
},
|
|
4460
4460
|
"hasDynamicHelp": false,
|
|
4461
4461
|
"hiddenAliases": [],
|
|
4462
|
-
"id": "ai:
|
|
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
|
-
"agents",
|
|
4474
|
-
"list.js"
|
|
4475
|
-
]
|
|
4476
|
-
},
|
|
4477
|
-
"ai:agents:run": {
|
|
4478
|
-
"aliases": [],
|
|
4479
|
-
"args": {},
|
|
4480
|
-
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
4481
|
-
"examples": [
|
|
4482
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Requirements Expert\" -p \"Create a dashboard for sales metrics\"",
|
|
4483
|
-
"<%= config.bin %> <%= command.id %> -a \"Child Component Generator Sub-agent\" --chat",
|
|
4484
|
-
"<%= config.bin %> <%= command.id %> -a \"Skip: Technical Design Expert\" -p \"Build a React component\" --verbose --timeout=600000"
|
|
4485
|
-
],
|
|
4486
|
-
"flags": {
|
|
4487
|
-
"agent": {
|
|
4488
|
-
"char": "a",
|
|
4489
|
-
"description": "Agent name",
|
|
4490
|
-
"name": "agent",
|
|
4491
|
-
"required": true,
|
|
4492
|
-
"hasDynamicHelp": false,
|
|
4493
|
-
"multiple": false,
|
|
4494
|
-
"type": "option"
|
|
4495
|
-
},
|
|
4496
|
-
"prompt": {
|
|
4497
|
-
"char": "p",
|
|
4498
|
-
"description": "Prompt to execute",
|
|
4499
|
-
"exclusive": [
|
|
4500
|
-
"chat"
|
|
4501
|
-
],
|
|
4502
|
-
"name": "prompt",
|
|
4503
|
-
"hasDynamicHelp": false,
|
|
4504
|
-
"multiple": false,
|
|
4505
|
-
"type": "option"
|
|
4506
|
-
},
|
|
4507
|
-
"chat": {
|
|
4508
|
-
"char": "c",
|
|
4509
|
-
"description": "Start interactive chat mode",
|
|
4510
|
-
"exclusive": [
|
|
4511
|
-
"prompt"
|
|
4512
|
-
],
|
|
4513
|
-
"name": "chat",
|
|
4514
|
-
"allowNo": false,
|
|
4515
|
-
"type": "boolean"
|
|
4516
|
-
},
|
|
4517
|
-
"output": {
|
|
4518
|
-
"char": "o",
|
|
4519
|
-
"description": "Output format",
|
|
4520
|
-
"name": "output",
|
|
4521
|
-
"default": "compact",
|
|
4522
|
-
"hasDynamicHelp": false,
|
|
4523
|
-
"multiple": false,
|
|
4524
|
-
"options": [
|
|
4525
|
-
"compact",
|
|
4526
|
-
"json",
|
|
4527
|
-
"table"
|
|
4528
|
-
],
|
|
4529
|
-
"type": "option"
|
|
4530
|
-
},
|
|
4531
|
-
"verbose": {
|
|
4532
|
-
"char": "v",
|
|
4533
|
-
"description": "Show detailed execution information",
|
|
4534
|
-
"name": "verbose",
|
|
4535
|
-
"allowNo": false,
|
|
4536
|
-
"type": "boolean"
|
|
4537
|
-
},
|
|
4538
|
-
"timeout": {
|
|
4539
|
-
"description": "Execution timeout in milliseconds",
|
|
4540
|
-
"name": "timeout",
|
|
4541
|
-
"default": 300000,
|
|
4542
|
-
"hasDynamicHelp": false,
|
|
4543
|
-
"multiple": false,
|
|
4544
|
-
"type": "option"
|
|
4545
|
-
}
|
|
4546
|
-
},
|
|
4547
|
-
"hasDynamicHelp": false,
|
|
4548
|
-
"hiddenAliases": [],
|
|
4549
|
-
"id": "ai:agents:run",
|
|
4550
|
-
"pluginAlias": "@memberjunction/cli",
|
|
4551
|
-
"pluginName": "@memberjunction/cli",
|
|
4552
|
-
"pluginType": "core",
|
|
4553
|
-
"strict": true,
|
|
4554
|
-
"enableJsonFlag": false,
|
|
4555
|
-
"isESM": true,
|
|
4556
|
-
"relativePath": [
|
|
4557
|
-
"dist",
|
|
4558
|
-
"commands",
|
|
4559
|
-
"ai",
|
|
4560
|
-
"agents",
|
|
4561
|
-
"run.js"
|
|
4562
|
-
]
|
|
4563
|
-
},
|
|
4564
|
-
"ai:prompts:list": {
|
|
4565
|
-
"aliases": [],
|
|
4566
|
-
"args": {},
|
|
4567
|
-
"description": "List available models for prompt execution",
|
|
4568
|
-
"examples": [
|
|
4569
|
-
"<%= config.bin %> <%= command.id %>"
|
|
4570
|
-
],
|
|
4571
|
-
"flags": {
|
|
4572
|
-
"verbose": {
|
|
4573
|
-
"char": "v",
|
|
4574
|
-
"description": "Show detailed model information",
|
|
4575
|
-
"name": "verbose",
|
|
4576
|
-
"allowNo": false,
|
|
4577
|
-
"type": "boolean"
|
|
4578
|
-
}
|
|
4579
|
-
},
|
|
4580
|
-
"hasDynamicHelp": false,
|
|
4581
|
-
"hiddenAliases": [],
|
|
4582
|
-
"id": "ai:prompts:list",
|
|
4462
|
+
"id": "ai:actions:list",
|
|
4583
4463
|
"pluginAlias": "@memberjunction/cli",
|
|
4584
4464
|
"pluginName": "@memberjunction/cli",
|
|
4585
4465
|
"pluginType": "core",
|
|
@@ -4590,68 +4470,43 @@
|
|
|
4590
4470
|
"dist",
|
|
4591
4471
|
"commands",
|
|
4592
4472
|
"ai",
|
|
4593
|
-
"
|
|
4473
|
+
"actions",
|
|
4594
4474
|
"list.js"
|
|
4595
4475
|
]
|
|
4596
4476
|
},
|
|
4597
|
-
"ai:
|
|
4477
|
+
"ai:actions:run": {
|
|
4598
4478
|
"aliases": [],
|
|
4599
4479
|
"args": {},
|
|
4600
|
-
"description": "Execute
|
|
4480
|
+
"description": "Execute an AI action with parameters",
|
|
4601
4481
|
"examples": [
|
|
4602
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4603
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4604
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4605
|
-
"<%= 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"
|
|
4606
4486
|
],
|
|
4607
4487
|
"flags": {
|
|
4608
|
-
"
|
|
4609
|
-
"char": "
|
|
4610
|
-
"description": "
|
|
4611
|
-
"name": "
|
|
4488
|
+
"name": {
|
|
4489
|
+
"char": "n",
|
|
4490
|
+
"description": "Action name",
|
|
4491
|
+
"name": "name",
|
|
4612
4492
|
"required": true,
|
|
4613
4493
|
"hasDynamicHelp": false,
|
|
4614
4494
|
"multiple": false,
|
|
4615
4495
|
"type": "option"
|
|
4616
4496
|
},
|
|
4617
|
-
"
|
|
4618
|
-
"char": "
|
|
4619
|
-
"description": "
|
|
4620
|
-
"name": "
|
|
4621
|
-
"hasDynamicHelp": false,
|
|
4622
|
-
"multiple": false,
|
|
4623
|
-
"type": "option"
|
|
4624
|
-
},
|
|
4625
|
-
"system": {
|
|
4626
|
-
"char": "s",
|
|
4627
|
-
"description": "System prompt to set context",
|
|
4628
|
-
"name": "system",
|
|
4629
|
-
"hasDynamicHelp": false,
|
|
4630
|
-
"multiple": false,
|
|
4631
|
-
"type": "option"
|
|
4632
|
-
},
|
|
4633
|
-
"temperature": {
|
|
4634
|
-
"char": "t",
|
|
4635
|
-
"description": "Temperature for response creativity (0.0-2.0)",
|
|
4636
|
-
"name": "temperature",
|
|
4637
|
-
"hasDynamicHelp": false,
|
|
4638
|
-
"multiple": false,
|
|
4639
|
-
"type": "option"
|
|
4640
|
-
},
|
|
4641
|
-
"max-tokens": {
|
|
4642
|
-
"description": "Maximum tokens for the response",
|
|
4643
|
-
"name": "max-tokens",
|
|
4497
|
+
"param": {
|
|
4498
|
+
"char": "p",
|
|
4499
|
+
"description": "Action parameters in key=value format",
|
|
4500
|
+
"name": "param",
|
|
4644
4501
|
"hasDynamicHelp": false,
|
|
4645
|
-
"multiple":
|
|
4502
|
+
"multiple": true,
|
|
4646
4503
|
"type": "option"
|
|
4647
4504
|
},
|
|
4648
|
-
"
|
|
4649
|
-
"
|
|
4650
|
-
"
|
|
4651
|
-
"
|
|
4652
|
-
"
|
|
4653
|
-
"multiple": false,
|
|
4654
|
-
"type": "option"
|
|
4505
|
+
"dry-run": {
|
|
4506
|
+
"description": "Validate without executing",
|
|
4507
|
+
"name": "dry-run",
|
|
4508
|
+
"allowNo": false,
|
|
4509
|
+
"type": "boolean"
|
|
4655
4510
|
},
|
|
4656
4511
|
"output": {
|
|
4657
4512
|
"char": "o",
|
|
@@ -4685,7 +4540,7 @@
|
|
|
4685
4540
|
},
|
|
4686
4541
|
"hasDynamicHelp": false,
|
|
4687
4542
|
"hiddenAliases": [],
|
|
4688
|
-
"id": "ai:
|
|
4543
|
+
"id": "ai:actions:run",
|
|
4689
4544
|
"pluginAlias": "@memberjunction/cli",
|
|
4690
4545
|
"pluginName": "@memberjunction/cli",
|
|
4691
4546
|
"pluginType": "core",
|
|
@@ -4696,7 +4551,7 @@
|
|
|
4696
4551
|
"dist",
|
|
4697
4552
|
"commands",
|
|
4698
4553
|
"ai",
|
|
4699
|
-
"
|
|
4554
|
+
"actions",
|
|
4700
4555
|
"run.js"
|
|
4701
4556
|
]
|
|
4702
4557
|
},
|
|
@@ -4916,10 +4771,10 @@
|
|
|
4916
4771
|
"index.js"
|
|
4917
4772
|
]
|
|
4918
4773
|
},
|
|
4919
|
-
"ai:
|
|
4774
|
+
"ai:agents:list": {
|
|
4920
4775
|
"aliases": [],
|
|
4921
4776
|
"args": {},
|
|
4922
|
-
"description": "List available AI
|
|
4777
|
+
"description": "List available AI agents",
|
|
4923
4778
|
"examples": [
|
|
4924
4779
|
"<%= config.bin %> <%= command.id %>",
|
|
4925
4780
|
"<%= config.bin %> <%= command.id %> --output=table",
|
|
@@ -4943,7 +4798,7 @@
|
|
|
4943
4798
|
},
|
|
4944
4799
|
"hasDynamicHelp": false,
|
|
4945
4800
|
"hiddenAliases": [],
|
|
4946
|
-
"id": "ai:
|
|
4801
|
+
"id": "ai:agents:list",
|
|
4947
4802
|
"pluginAlias": "@memberjunction/cli",
|
|
4948
4803
|
"pluginName": "@memberjunction/cli",
|
|
4949
4804
|
"pluginType": "core",
|
|
@@ -4954,41 +4809,47 @@
|
|
|
4954
4809
|
"dist",
|
|
4955
4810
|
"commands",
|
|
4956
4811
|
"ai",
|
|
4957
|
-
"
|
|
4812
|
+
"agents",
|
|
4958
4813
|
"list.js"
|
|
4959
4814
|
]
|
|
4960
4815
|
},
|
|
4961
|
-
"ai:
|
|
4816
|
+
"ai:agents:run": {
|
|
4962
4817
|
"aliases": [],
|
|
4963
4818
|
"args": {},
|
|
4964
|
-
"description": "Execute an AI
|
|
4819
|
+
"description": "Execute an AI agent with a prompt or start interactive chat",
|
|
4965
4820
|
"examples": [
|
|
4966
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4967
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4968
|
-
"<%= config.bin %> <%= command.id %> -
|
|
4969
|
-
"<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
|
|
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"
|
|
4970
4824
|
],
|
|
4971
4825
|
"flags": {
|
|
4972
|
-
"
|
|
4973
|
-
"char": "
|
|
4974
|
-
"description": "
|
|
4975
|
-
"name": "
|
|
4826
|
+
"agent": {
|
|
4827
|
+
"char": "a",
|
|
4828
|
+
"description": "Agent name",
|
|
4829
|
+
"name": "agent",
|
|
4976
4830
|
"required": true,
|
|
4977
4831
|
"hasDynamicHelp": false,
|
|
4978
4832
|
"multiple": false,
|
|
4979
4833
|
"type": "option"
|
|
4980
4834
|
},
|
|
4981
|
-
"
|
|
4835
|
+
"prompt": {
|
|
4982
4836
|
"char": "p",
|
|
4983
|
-
"description": "
|
|
4984
|
-
"
|
|
4837
|
+
"description": "Prompt to execute",
|
|
4838
|
+
"exclusive": [
|
|
4839
|
+
"chat"
|
|
4840
|
+
],
|
|
4841
|
+
"name": "prompt",
|
|
4985
4842
|
"hasDynamicHelp": false,
|
|
4986
|
-
"multiple":
|
|
4843
|
+
"multiple": false,
|
|
4987
4844
|
"type": "option"
|
|
4988
4845
|
},
|
|
4989
|
-
"
|
|
4990
|
-
"
|
|
4991
|
-
"
|
|
4846
|
+
"chat": {
|
|
4847
|
+
"char": "c",
|
|
4848
|
+
"description": "Start interactive chat mode",
|
|
4849
|
+
"exclusive": [
|
|
4850
|
+
"prompt"
|
|
4851
|
+
],
|
|
4852
|
+
"name": "chat",
|
|
4992
4853
|
"allowNo": false,
|
|
4993
4854
|
"type": "boolean"
|
|
4994
4855
|
},
|
|
@@ -5024,7 +4885,7 @@
|
|
|
5024
4885
|
},
|
|
5025
4886
|
"hasDynamicHelp": false,
|
|
5026
4887
|
"hiddenAliases": [],
|
|
5027
|
-
"id": "ai:
|
|
4888
|
+
"id": "ai:agents:run",
|
|
5028
4889
|
"pluginAlias": "@memberjunction/cli",
|
|
5029
4890
|
"pluginName": "@memberjunction/cli",
|
|
5030
4891
|
"pluginType": "core",
|
|
@@ -5035,7 +4896,146 @@
|
|
|
5035
4896
|
"dist",
|
|
5036
4897
|
"commands",
|
|
5037
4898
|
"ai",
|
|
5038
|
-
"
|
|
4899
|
+
"agents",
|
|
4900
|
+
"run.js"
|
|
4901
|
+
]
|
|
4902
|
+
},
|
|
4903
|
+
"ai:prompts:list": {
|
|
4904
|
+
"aliases": [],
|
|
4905
|
+
"args": {},
|
|
4906
|
+
"description": "List available models for prompt execution",
|
|
4907
|
+
"examples": [
|
|
4908
|
+
"<%= config.bin %> <%= command.id %>"
|
|
4909
|
+
],
|
|
4910
|
+
"flags": {
|
|
4911
|
+
"verbose": {
|
|
4912
|
+
"char": "v",
|
|
4913
|
+
"description": "Show detailed model information",
|
|
4914
|
+
"name": "verbose",
|
|
4915
|
+
"allowNo": false,
|
|
4916
|
+
"type": "boolean"
|
|
4917
|
+
}
|
|
4918
|
+
},
|
|
4919
|
+
"hasDynamicHelp": false,
|
|
4920
|
+
"hiddenAliases": [],
|
|
4921
|
+
"id": "ai:prompts:list",
|
|
4922
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4923
|
+
"pluginName": "@memberjunction/cli",
|
|
4924
|
+
"pluginType": "core",
|
|
4925
|
+
"strict": true,
|
|
4926
|
+
"enableJsonFlag": false,
|
|
4927
|
+
"isESM": true,
|
|
4928
|
+
"relativePath": [
|
|
4929
|
+
"dist",
|
|
4930
|
+
"commands",
|
|
4931
|
+
"ai",
|
|
4932
|
+
"prompts",
|
|
4933
|
+
"list.js"
|
|
4934
|
+
]
|
|
4935
|
+
},
|
|
4936
|
+
"ai:prompts:run": {
|
|
4937
|
+
"aliases": [],
|
|
4938
|
+
"args": {},
|
|
4939
|
+
"description": "Execute a direct prompt with an AI model",
|
|
4940
|
+
"examples": [
|
|
4941
|
+
"<%= config.bin %> <%= command.id %> -p \"Explain quantum computing in simple terms\"",
|
|
4942
|
+
"<%= config.bin %> <%= command.id %> -p \"Write a Python function to sort a list\" --model \"gpt-4\"",
|
|
4943
|
+
"<%= config.bin %> <%= command.id %> -p \"Translate to French: Hello world\" --temperature 0.3",
|
|
4944
|
+
"<%= config.bin %> <%= command.id %> -p \"Generate a haiku\" --system \"You are a poet\" --max-tokens 100"
|
|
4945
|
+
],
|
|
4946
|
+
"flags": {
|
|
4947
|
+
"prompt": {
|
|
4948
|
+
"char": "p",
|
|
4949
|
+
"description": "The prompt to execute",
|
|
4950
|
+
"name": "prompt",
|
|
4951
|
+
"required": true,
|
|
4952
|
+
"hasDynamicHelp": false,
|
|
4953
|
+
"multiple": false,
|
|
4954
|
+
"type": "option"
|
|
4955
|
+
},
|
|
4956
|
+
"model": {
|
|
4957
|
+
"char": "m",
|
|
4958
|
+
"description": "AI model to use (e.g., gpt-4, claude-3-opus)",
|
|
4959
|
+
"name": "model",
|
|
4960
|
+
"hasDynamicHelp": false,
|
|
4961
|
+
"multiple": false,
|
|
4962
|
+
"type": "option"
|
|
4963
|
+
},
|
|
4964
|
+
"system": {
|
|
4965
|
+
"char": "s",
|
|
4966
|
+
"description": "System prompt to set context",
|
|
4967
|
+
"name": "system",
|
|
4968
|
+
"hasDynamicHelp": false,
|
|
4969
|
+
"multiple": false,
|
|
4970
|
+
"type": "option"
|
|
4971
|
+
},
|
|
4972
|
+
"temperature": {
|
|
4973
|
+
"char": "t",
|
|
4974
|
+
"description": "Temperature for response creativity (0.0-2.0)",
|
|
4975
|
+
"name": "temperature",
|
|
4976
|
+
"hasDynamicHelp": false,
|
|
4977
|
+
"multiple": false,
|
|
4978
|
+
"type": "option"
|
|
4979
|
+
},
|
|
4980
|
+
"max-tokens": {
|
|
4981
|
+
"description": "Maximum tokens for the response",
|
|
4982
|
+
"name": "max-tokens",
|
|
4983
|
+
"hasDynamicHelp": false,
|
|
4984
|
+
"multiple": false,
|
|
4985
|
+
"type": "option"
|
|
4986
|
+
},
|
|
4987
|
+
"configuration": {
|
|
4988
|
+
"char": "c",
|
|
4989
|
+
"description": "AI Configuration ID to use",
|
|
4990
|
+
"name": "configuration",
|
|
4991
|
+
"hasDynamicHelp": false,
|
|
4992
|
+
"multiple": false,
|
|
4993
|
+
"type": "option"
|
|
4994
|
+
},
|
|
4995
|
+
"output": {
|
|
4996
|
+
"char": "o",
|
|
4997
|
+
"description": "Output format",
|
|
4998
|
+
"name": "output",
|
|
4999
|
+
"default": "compact",
|
|
5000
|
+
"hasDynamicHelp": false,
|
|
5001
|
+
"multiple": false,
|
|
5002
|
+
"options": [
|
|
5003
|
+
"compact",
|
|
5004
|
+
"json",
|
|
5005
|
+
"table"
|
|
5006
|
+
],
|
|
5007
|
+
"type": "option"
|
|
5008
|
+
},
|
|
5009
|
+
"verbose": {
|
|
5010
|
+
"char": "v",
|
|
5011
|
+
"description": "Show detailed execution information",
|
|
5012
|
+
"name": "verbose",
|
|
5013
|
+
"allowNo": false,
|
|
5014
|
+
"type": "boolean"
|
|
5015
|
+
},
|
|
5016
|
+
"timeout": {
|
|
5017
|
+
"description": "Execution timeout in milliseconds",
|
|
5018
|
+
"name": "timeout",
|
|
5019
|
+
"default": 300000,
|
|
5020
|
+
"hasDynamicHelp": false,
|
|
5021
|
+
"multiple": false,
|
|
5022
|
+
"type": "option"
|
|
5023
|
+
}
|
|
5024
|
+
},
|
|
5025
|
+
"hasDynamicHelp": false,
|
|
5026
|
+
"hiddenAliases": [],
|
|
5027
|
+
"id": "ai:prompts:run",
|
|
5028
|
+
"pluginAlias": "@memberjunction/cli",
|
|
5029
|
+
"pluginName": "@memberjunction/cli",
|
|
5030
|
+
"pluginType": "core",
|
|
5031
|
+
"strict": true,
|
|
5032
|
+
"enableJsonFlag": false,
|
|
5033
|
+
"isESM": true,
|
|
5034
|
+
"relativePath": [
|
|
5035
|
+
"dist",
|
|
5036
|
+
"commands",
|
|
5037
|
+
"ai",
|
|
5038
|
+
"prompts",
|
|
5039
5039
|
"run.js"
|
|
5040
5040
|
]
|
|
5041
5041
|
},
|
|
@@ -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",
|