@memberjunction/cli 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +164 -164
  2. package/package.json +10 -10
@@ -626,46 +626,6 @@
626
626
  "index.js"
627
627
  ]
628
628
  },
629
- "migrate": {
630
- "aliases": [],
631
- "args": {},
632
- "description": "Migrate MemberJunction database to latest version",
633
- "examples": [
634
- "<%= config.bin %> <%= command.id %>\n"
635
- ],
636
- "flags": {
637
- "verbose": {
638
- "char": "v",
639
- "description": "Enable additional logging",
640
- "name": "verbose",
641
- "allowNo": false,
642
- "type": "boolean"
643
- },
644
- "tag": {
645
- "char": "t",
646
- "description": "Version tag to use for running remote migrations",
647
- "name": "tag",
648
- "hasDynamicHelp": false,
649
- "multiple": false,
650
- "type": "option"
651
- }
652
- },
653
- "hasDynamicHelp": false,
654
- "hiddenAliases": [],
655
- "id": "migrate",
656
- "pluginAlias": "@memberjunction/cli",
657
- "pluginName": "@memberjunction/cli",
658
- "pluginType": "core",
659
- "strict": true,
660
- "enableJsonFlag": false,
661
- "isESM": false,
662
- "relativePath": [
663
- "dist",
664
- "commands",
665
- "migrate",
666
- "index.js"
667
- ]
668
- },
669
629
  "querygen:export": {
670
630
  "aliases": [],
671
631
  "args": {},
@@ -1892,6 +1852,169 @@
1892
1852
  "validate.js"
1893
1853
  ]
1894
1854
  },
1855
+ "migrate": {
1856
+ "aliases": [],
1857
+ "args": {},
1858
+ "description": "Migrate MemberJunction database to latest version",
1859
+ "examples": [
1860
+ "<%= config.bin %> <%= command.id %>\n"
1861
+ ],
1862
+ "flags": {
1863
+ "verbose": {
1864
+ "char": "v",
1865
+ "description": "Enable additional logging",
1866
+ "name": "verbose",
1867
+ "allowNo": false,
1868
+ "type": "boolean"
1869
+ },
1870
+ "tag": {
1871
+ "char": "t",
1872
+ "description": "Version tag to use for running remote migrations",
1873
+ "name": "tag",
1874
+ "hasDynamicHelp": false,
1875
+ "multiple": false,
1876
+ "type": "option"
1877
+ }
1878
+ },
1879
+ "hasDynamicHelp": false,
1880
+ "hiddenAliases": [],
1881
+ "id": "migrate",
1882
+ "pluginAlias": "@memberjunction/cli",
1883
+ "pluginName": "@memberjunction/cli",
1884
+ "pluginType": "core",
1885
+ "strict": true,
1886
+ "enableJsonFlag": false,
1887
+ "isESM": false,
1888
+ "relativePath": [
1889
+ "dist",
1890
+ "commands",
1891
+ "migrate",
1892
+ "index.js"
1893
+ ]
1894
+ },
1895
+ "ai:actions:list": {
1896
+ "aliases": [],
1897
+ "args": {},
1898
+ "description": "List available AI actions",
1899
+ "examples": [
1900
+ "<%= config.bin %> <%= command.id %>",
1901
+ "<%= config.bin %> <%= command.id %> --output=table",
1902
+ "<%= config.bin %> <%= command.id %> --output=json"
1903
+ ],
1904
+ "flags": {
1905
+ "output": {
1906
+ "char": "o",
1907
+ "description": "Output format",
1908
+ "name": "output",
1909
+ "default": "compact",
1910
+ "hasDynamicHelp": false,
1911
+ "multiple": false,
1912
+ "options": [
1913
+ "compact",
1914
+ "json",
1915
+ "table"
1916
+ ],
1917
+ "type": "option"
1918
+ }
1919
+ },
1920
+ "hasDynamicHelp": false,
1921
+ "hiddenAliases": [],
1922
+ "id": "ai:actions:list",
1923
+ "pluginAlias": "@memberjunction/cli",
1924
+ "pluginName": "@memberjunction/cli",
1925
+ "pluginType": "core",
1926
+ "strict": true,
1927
+ "enableJsonFlag": false,
1928
+ "isESM": false,
1929
+ "relativePath": [
1930
+ "dist",
1931
+ "commands",
1932
+ "ai",
1933
+ "actions",
1934
+ "list.js"
1935
+ ]
1936
+ },
1937
+ "ai:actions:run": {
1938
+ "aliases": [],
1939
+ "args": {},
1940
+ "description": "Execute an AI action with parameters",
1941
+ "examples": [
1942
+ "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
1943
+ "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
1944
+ "<%= 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\"",
1945
+ "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
1946
+ ],
1947
+ "flags": {
1948
+ "name": {
1949
+ "char": "n",
1950
+ "description": "Action name",
1951
+ "name": "name",
1952
+ "required": true,
1953
+ "hasDynamicHelp": false,
1954
+ "multiple": false,
1955
+ "type": "option"
1956
+ },
1957
+ "param": {
1958
+ "char": "p",
1959
+ "description": "Action parameters in key=value format",
1960
+ "name": "param",
1961
+ "hasDynamicHelp": false,
1962
+ "multiple": true,
1963
+ "type": "option"
1964
+ },
1965
+ "dry-run": {
1966
+ "description": "Validate without executing",
1967
+ "name": "dry-run",
1968
+ "allowNo": false,
1969
+ "type": "boolean"
1970
+ },
1971
+ "output": {
1972
+ "char": "o",
1973
+ "description": "Output format",
1974
+ "name": "output",
1975
+ "default": "compact",
1976
+ "hasDynamicHelp": false,
1977
+ "multiple": false,
1978
+ "options": [
1979
+ "compact",
1980
+ "json",
1981
+ "table"
1982
+ ],
1983
+ "type": "option"
1984
+ },
1985
+ "verbose": {
1986
+ "char": "v",
1987
+ "description": "Show detailed execution information",
1988
+ "name": "verbose",
1989
+ "allowNo": false,
1990
+ "type": "boolean"
1991
+ },
1992
+ "timeout": {
1993
+ "description": "Execution timeout in milliseconds",
1994
+ "name": "timeout",
1995
+ "default": 300000,
1996
+ "hasDynamicHelp": false,
1997
+ "multiple": false,
1998
+ "type": "option"
1999
+ }
2000
+ },
2001
+ "hasDynamicHelp": false,
2002
+ "hiddenAliases": [],
2003
+ "id": "ai:actions:run",
2004
+ "pluginAlias": "@memberjunction/cli",
2005
+ "pluginName": "@memberjunction/cli",
2006
+ "pluginType": "core",
2007
+ "strict": true,
2008
+ "enableJsonFlag": false,
2009
+ "isESM": false,
2010
+ "relativePath": [
2011
+ "dist",
2012
+ "commands",
2013
+ "ai",
2014
+ "actions",
2015
+ "run.js"
2016
+ ]
2017
+ },
1895
2018
  "ai:agents:list": {
1896
2019
  "aliases": [],
1897
2020
  "args": {},
@@ -2237,129 +2360,6 @@
2237
2360
  "index.js"
2238
2361
  ]
2239
2362
  },
2240
- "ai:actions:list": {
2241
- "aliases": [],
2242
- "args": {},
2243
- "description": "List available AI actions",
2244
- "examples": [
2245
- "<%= config.bin %> <%= command.id %>",
2246
- "<%= config.bin %> <%= command.id %> --output=table",
2247
- "<%= config.bin %> <%= command.id %> --output=json"
2248
- ],
2249
- "flags": {
2250
- "output": {
2251
- "char": "o",
2252
- "description": "Output format",
2253
- "name": "output",
2254
- "default": "compact",
2255
- "hasDynamicHelp": false,
2256
- "multiple": false,
2257
- "options": [
2258
- "compact",
2259
- "json",
2260
- "table"
2261
- ],
2262
- "type": "option"
2263
- }
2264
- },
2265
- "hasDynamicHelp": false,
2266
- "hiddenAliases": [],
2267
- "id": "ai:actions:list",
2268
- "pluginAlias": "@memberjunction/cli",
2269
- "pluginName": "@memberjunction/cli",
2270
- "pluginType": "core",
2271
- "strict": true,
2272
- "enableJsonFlag": false,
2273
- "isESM": false,
2274
- "relativePath": [
2275
- "dist",
2276
- "commands",
2277
- "ai",
2278
- "actions",
2279
- "list.js"
2280
- ]
2281
- },
2282
- "ai:actions:run": {
2283
- "aliases": [],
2284
- "args": {},
2285
- "description": "Execute an AI action with parameters",
2286
- "examples": [
2287
- "<%= config.bin %> <%= command.id %> -n \"Get Weather\" --param \"Location=Boston\"",
2288
- "<%= config.bin %> <%= command.id %> -n \"Get Stock Price\" --param \"Ticker=AAPL\"",
2289
- "<%= 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\"",
2290
- "<%= config.bin %> <%= command.id %> -n \"Calculate Expression\" --param \"Expression=2+2*3\" --dry-run"
2291
- ],
2292
- "flags": {
2293
- "name": {
2294
- "char": "n",
2295
- "description": "Action name",
2296
- "name": "name",
2297
- "required": true,
2298
- "hasDynamicHelp": false,
2299
- "multiple": false,
2300
- "type": "option"
2301
- },
2302
- "param": {
2303
- "char": "p",
2304
- "description": "Action parameters in key=value format",
2305
- "name": "param",
2306
- "hasDynamicHelp": false,
2307
- "multiple": true,
2308
- "type": "option"
2309
- },
2310
- "dry-run": {
2311
- "description": "Validate without executing",
2312
- "name": "dry-run",
2313
- "allowNo": false,
2314
- "type": "boolean"
2315
- },
2316
- "output": {
2317
- "char": "o",
2318
- "description": "Output format",
2319
- "name": "output",
2320
- "default": "compact",
2321
- "hasDynamicHelp": false,
2322
- "multiple": false,
2323
- "options": [
2324
- "compact",
2325
- "json",
2326
- "table"
2327
- ],
2328
- "type": "option"
2329
- },
2330
- "verbose": {
2331
- "char": "v",
2332
- "description": "Show detailed execution information",
2333
- "name": "verbose",
2334
- "allowNo": false,
2335
- "type": "boolean"
2336
- },
2337
- "timeout": {
2338
- "description": "Execution timeout in milliseconds",
2339
- "name": "timeout",
2340
- "default": 300000,
2341
- "hasDynamicHelp": false,
2342
- "multiple": false,
2343
- "type": "option"
2344
- }
2345
- },
2346
- "hasDynamicHelp": false,
2347
- "hiddenAliases": [],
2348
- "id": "ai:actions:run",
2349
- "pluginAlias": "@memberjunction/cli",
2350
- "pluginName": "@memberjunction/cli",
2351
- "pluginType": "core",
2352
- "strict": true,
2353
- "enableJsonFlag": false,
2354
- "isESM": false,
2355
- "relativePath": [
2356
- "dist",
2357
- "commands",
2358
- "ai",
2359
- "actions",
2360
- "run.js"
2361
- ]
2362
- },
2363
2363
  "ai:prompts:list": {
2364
2364
  "aliases": [],
2365
2365
  "args": {},
@@ -2500,5 +2500,5 @@
2500
2500
  ]
2501
2501
  }
2502
2502
  },
2503
- "version": "3.2.0"
2503
+ "version": "3.3.0"
2504
2504
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/cli",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "MemberJunction command line tools",
5
5
  "keywords": [
6
6
  "oclif"
@@ -51,15 +51,15 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@inquirer/prompts": "^5.0.1",
54
- "@memberjunction/ai-cli": "3.2.0",
55
- "@memberjunction/codegen-lib": "3.2.0",
56
- "@memberjunction/config": "3.2.0",
57
- "@memberjunction/core": "3.2.0",
58
- "@memberjunction/db-auto-doc": "3.2.0",
59
- "@memberjunction/metadata-sync": "3.2.0",
60
- "@memberjunction/query-gen": "3.2.0",
61
- "@memberjunction/sqlserver-dataprovider": "3.2.0",
62
- "@memberjunction/testing-cli": "3.2.0",
54
+ "@memberjunction/ai-cli": "3.3.0",
55
+ "@memberjunction/codegen-lib": "3.3.0",
56
+ "@memberjunction/config": "3.3.0",
57
+ "@memberjunction/core": "3.3.0",
58
+ "@memberjunction/db-auto-doc": "3.3.0",
59
+ "@memberjunction/metadata-sync": "3.3.0",
60
+ "@memberjunction/query-gen": "3.3.0",
61
+ "@memberjunction/sqlserver-dataprovider": "3.3.0",
62
+ "@memberjunction/testing-cli": "3.3.0",
63
63
  "@oclif/core": "^3",
64
64
  "@oclif/plugin-help": "^6",
65
65
  "@oclif/plugin-version": "^2.0.17",