@vortex-ai/cli 0.1.4 → 0.1.45
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/.turbo/turbo-build.log +6 -6
- package/README.md +9 -2
- package/dist/index.js +1073 -947
- package/dist/index.mjs +1065 -939
- package/package.json +5 -3
- package/schema.prisma +70 -0
- package/src/commands/config.ts +73 -0
- package/src/index.ts +26 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @vortex-ai/cli@0.1.
|
|
4
|
-
> tsup src/index.ts --format cjs,esm --external @xenova/transformers
|
|
3
|
+
> @vortex-ai/cli@0.1.41 build /home/divyanshu/OSS/Personal_Projects/vortex/packages/cli
|
|
4
|
+
> tsup src/index.ts --format cjs,esm --external @xenova/transformers && cp ../db/prisma/schema.prisma ./schema.prisma
|
|
5
5
|
|
|
6
6
|
CLI Building entry: src/index.ts
|
|
7
7
|
CLI Using tsconfig: tsconfig.json
|
|
@@ -10,11 +10,11 @@ CLI Target: es2022
|
|
|
10
10
|
CJS Build start
|
|
11
11
|
ESM Build start
|
|
12
12
|
CJS dist/index.js 9.65 MB
|
|
13
|
-
CJS ⚡️ Build success in
|
|
13
|
+
CJS ⚡️ Build success in 998ms
|
|
14
14
|
ESM dist/dist-DADLXJO5.mjs 117.00 B
|
|
15
|
+
ESM dist/chunk-74T65LPR.mjs 3.73 KB
|
|
16
|
+
ESM dist/chunk-QY5F34UD.mjs 4.88 KB
|
|
15
17
|
ESM dist/dist-QRHQQQC6.mjs 117.00 B
|
|
16
18
|
ESM dist/chunk-6DZX6EAA.mjs 1.70 KB
|
|
17
|
-
ESM dist/chunk-QY5F34UD.mjs 4.88 KB
|
|
18
|
-
ESM dist/chunk-74T65LPR.mjs 3.73 KB
|
|
19
19
|
ESM dist/index.mjs 9.64 MB
|
|
20
|
-
ESM ⚡️ Build success in
|
|
20
|
+
ESM ⚡️ Build success in 1003ms
|
package/README.md
CHANGED
|
@@ -19,10 +19,17 @@ npm install -g vortex-cli
|
|
|
19
19
|
|
|
20
20
|
### Configuration
|
|
21
21
|
|
|
22
|
-
Vortex requires an API key for its LLM engine (e.g., Google Gemini or Groq).
|
|
22
|
+
Vortex requires an API key for its LLM engine (e.g., Google Gemini or Groq). You can easily configure your keys globally using the `config` command:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
|
|
25
|
+
# Add your Gemini API key
|
|
26
|
+
vortex config set gemini "your_gemini_key_here"
|
|
27
|
+
|
|
28
|
+
# Add your Groq API key
|
|
29
|
+
vortex config set groq "your_groq_key_here"
|
|
30
|
+
|
|
31
|
+
# View your active configuration
|
|
32
|
+
vortex config list
|
|
26
33
|
```
|
|
27
34
|
|
|
28
35
|
You can also use project-specific `.env` files or inline environment variables.
|