@flowcore/cli 4.0.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,25 @@
10
10
 
11
11
  * added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
12
12
 
13
+ ## [4.1.0](https://github.com/flowcore-io/flowcore-cli/compare/v4.0.3...v4.1.0) (2024-09-13)
14
+
15
+
16
+ ### Features
17
+
18
+ * **ai:** :sparkles: Added AI plugin that can be used with other plugins ([8a0fd5a](https://github.com/flowcore-io/flowcore-cli/commit/8a0fd5aa68dd0a5fc2e9d6ca1742eae78611575b))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * added missing readme ([0607bec](https://github.com/flowcore-io/flowcore-cli/commit/0607becf74efde7583b5fa903c610a618a634dcc))
24
+
25
+ ## [4.0.3](https://github.com/flowcore-io/flowcore-cli/compare/v4.0.2...v4.0.3) (2024-09-11)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * bumped scenario plugin to fix get logs ([ead0a37](https://github.com/flowcore-io/flowcore-cli/commit/ead0a378d4feb10a516f83dfb240866a99438ee3))
31
+
13
32
  ## [4.0.2](https://github.com/flowcore-io/flowcore-cli/compare/v4.0.1...v4.0.2) (2024-09-11)
14
33
 
15
34
 
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
18
18
  $ flowcore COMMAND
19
19
  running command...
20
20
  $ flowcore (--version)
21
- @flowcore/cli/4.0.2 linux-x64 node-v20.17.0
21
+ @flowcore/cli/4.1.0 linux-x64 node-v20.17.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -35,6 +35,7 @@ USAGE
35
35
  * [`flowcore auth new key NAME`](#flowcore-auth-new-key-name)
36
36
  * [`flowcore auth new secret NAME`](#flowcore-auth-new-secret-name)
37
37
  * [`flowcore autocomplete [SHELL]`](#flowcore-autocomplete-shell)
38
+ * [`flowcore config ai`](#flowcore-config-ai)
38
39
  * [`flowcore config set`](#flowcore-config-set)
39
40
  * [`flowcore config show`](#flowcore-config-show)
40
41
  * [`flowcore data-core apply`](#flowcore-data-core-apply)
@@ -94,7 +95,7 @@ EXAMPLES
94
95
  $ flowcore apply -f ./path/to/manifest.yml
95
96
  ```
96
97
 
97
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.0.2/src/commands/apply.ts)_
98
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.1.0/src/commands/apply.ts)_
98
99
 
99
100
  ## `flowcore auth delete key API_KEY_NAME`
100
101
 
@@ -270,6 +271,28 @@ EXAMPLES
270
271
 
271
272
  _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.3/src/commands/autocomplete/index.ts)_
272
273
 
274
+ ## `flowcore config ai`
275
+
276
+ AI Config
277
+
278
+ ```
279
+ USAGE
280
+ $ flowcore config ai [--profile <value>] [-a <value>] [-p <value>]
281
+
282
+ FLAGS
283
+ -a, --apiKey=<value> api key
284
+ -p, --provider=<value> provider
285
+ --profile=<value> Specify the configuration profile to use
286
+
287
+ DESCRIPTION
288
+ AI Config
289
+
290
+ EXAMPLES
291
+ $ flowcore
292
+ ```
293
+
294
+ _See code: [@flowcore/cli-plugin-ai](https://github.com/flowcore-io/cli-plugin-ai/blob/v1.0.0/src/commands/config/ai.ts)_
295
+
273
296
  ## `flowcore config set`
274
297
 
275
298
  Configure the cli
@@ -298,7 +321,7 @@ EXAMPLES
298
321
  $ flowcore config set -l https://auth.flowcore.io/realms/flowcore/.well-known/openid-configuration -c my-client-id -p
299
322
  ```
300
323
 
301
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/config/set.ts)_
324
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.4.0/src/commands/config/set.ts)_
302
325
 
303
326
  ## `flowcore config show`
304
327
 
@@ -318,7 +341,7 @@ EXAMPLES
318
341
  $ flowcore config show
319
342
  ```
320
343
 
321
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/config/show.ts)_
344
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.4.0/src/commands/config/show.ts)_
322
345
 
323
346
  ## `flowcore data-core apply`
324
347
 
@@ -483,7 +506,7 @@ EXAMPLES
483
506
  $ flowcore get adapter adapter-name -t tenant-name -s scenario-name
484
507
  ```
485
508
 
486
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/get/adapter.ts)_
509
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/get/adapter.ts)_
487
510
 
488
511
  ## `flowcore get scenario [SCENARIO]`
489
512
 
@@ -509,7 +532,7 @@ EXAMPLES
509
532
  $ flowcore get scenario scenario-name -t tenant-name
510
533
  ```
511
534
 
512
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/get/scenario.ts)_
535
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/get/scenario.ts)_
513
536
 
514
537
  ## `flowcore get tenant [NAME]`
515
538
 
@@ -581,7 +604,7 @@ EXAMPLES
581
604
  $ flowcore login --port 8080
582
605
  ```
583
606
 
584
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/login.ts)_
607
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.4.0/src/commands/login.ts)_
585
608
 
586
609
  ## `flowcore logs adapter ADAPTER`
587
610
 
@@ -589,13 +612,12 @@ Get adapter logs
589
612
 
590
613
  ```
591
614
  USAGE
592
- $ flowcore logs adapter ADAPTER -s <value> -t <value> [--profile <value>] [-a] [-f] [-j] [-l <value>]
615
+ $ flowcore logs adapter ADAPTER -s <value> -t <value> [--profile <value>] [-f] [-j] [-l <value>]
593
616
 
594
617
  ARGUMENTS
595
618
  ADAPTER adapter name or id
596
619
 
597
620
  FLAGS
598
- -a, --allComponents display logs for all components of the adapter, including Flowcore components
599
621
  -f, --follow follow
600
622
  -j, --json json
601
623
  -l, --limit=<value> [default: 1000] limit
@@ -616,7 +638,7 @@ EXAMPLES
616
638
  $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
617
639
  ```
618
640
 
619
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/logs/adapter.ts)_
641
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/logs/adapter.ts)_
620
642
 
621
643
  ## `flowcore new bun-service NAME`
622
644
 
@@ -1071,7 +1093,7 @@ EXAMPLES
1071
1093
  $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
1072
1094
  ```
1073
1095
 
1074
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/reset/adapter.ts)_
1096
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/reset/adapter.ts)_
1075
1097
 
1076
1098
  ## `flowcore scenario apply`
1077
1099
 
@@ -1101,7 +1123,7 @@ EXAMPLES
1101
1123
  $ cat <<EOF | flowcore scenario apply -f -
1102
1124
  ```
1103
1125
 
1104
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/scenario/apply.ts)_
1126
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/scenario/apply.ts)_
1105
1127
 
1106
1128
  ## `flowcore scenario generate transformer`
1107
1129
 
@@ -1128,7 +1150,7 @@ EXAMPLES
1128
1150
  $ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
1129
1151
  ```
1130
1152
 
1131
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/scenario/generate/transformer.ts)_
1153
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/scenario/generate/transformer.ts)_
1132
1154
 
1133
1155
  ## `flowcore scenario init`
1134
1156
 
@@ -1160,7 +1182,7 @@ EXAMPLES
1160
1182
  $ flowcore scenario init -t flowcore -n scenario-name -f example.yaml
1161
1183
  ```
1162
1184
 
1163
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/scenario/init.ts)_
1185
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/scenario/init.ts)_
1164
1186
 
1165
1187
  ## `flowcore scenario local`
1166
1188
 
@@ -1192,7 +1214,7 @@ EXAMPLES
1192
1214
  $ cat <<EOF | flowcore scenario local -f -
1193
1215
  ```
1194
1216
 
1195
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.4/src/commands/scenario/local.ts)_
1217
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v4.0.5/src/commands/scenario/local.ts)_
1196
1218
 
1197
1219
  ## `flowcore stream STREAM`
1198
1220
 
@@ -1311,5 +1333,5 @@ DESCRIPTION
1311
1333
  Check what user you are logged in as
1312
1334
  ```
1313
1335
 
1314
- _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.2.1/src/commands/whoami.ts)_
1336
+ _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v2.4.0/src/commands/whoami.ts)_
1315
1337
  <!-- commandsstop -->
@@ -48,5 +48,5 @@
48
48
  ]
49
49
  }
50
50
  },
51
- "version": "4.0.2"
51
+ "version": "4.1.0"
52
52
  }
package/package.json CHANGED
@@ -5,12 +5,13 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@datastructures-js/queue": "^4.2.3",
8
+ "@flowcore/cli-plugin-ai": "^1.0.0",
8
9
  "@flowcore/cli-plugin-auth-management": "^1.2.2",
9
- "@flowcore/cli-plugin-config": "^2.2.1",
10
+ "@flowcore/cli-plugin-config": "^2.4.0",
10
11
  "@flowcore/cli-plugin-core": "^3.3.1",
11
12
  "@flowcore/cli-plugin-data-core": "^3.0.2",
12
13
  "@flowcore/cli-plugin-generator": "^1.6.0",
13
- "@flowcore/cli-plugin-scenario": "^4.0.4",
14
+ "@flowcore/cli-plugin-scenario": "^4.0.5",
14
15
  "@flowcore/cli-plugin-tenant-management": "^1.1.1",
15
16
  "@flowcore/time-bucket": "^1.1.0",
16
17
  "@oclif/core": "^4.0.21",
@@ -83,7 +84,8 @@
83
84
  "@flowcore/cli-plugin-core",
84
85
  "@flowcore/cli-plugin-generator",
85
86
  "@flowcore/cli-plugin-auth-management",
86
- "@flowcore/cli-plugin-tenant-management"
87
+ "@flowcore/cli-plugin-tenant-management",
88
+ "@flowcore/cli-plugin-ai"
87
89
  ],
88
90
  "warnIfUpdateAvailable": {
89
91
  "timeoutInDays": 2
@@ -104,7 +106,7 @@
104
106
  "prestart": "npm run build",
105
107
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
106
108
  },
107
- "version": "4.0.2",
109
+ "version": "4.1.0",
108
110
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
109
111
  "keywords": [
110
112
  "flowcore",