@velaro/cli 0.1.0 → 0.1.1
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/lib/config.js +1 -1
- package/package.json +19 -19
package/lib/config.js
CHANGED
|
@@ -5,7 +5,7 @@ import { readFileSync, writeFileSync, mkdirSync } from 'fs';
|
|
|
5
5
|
const CONFIG_DIR = join(homedir(), '.velaro');
|
|
6
6
|
const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
|
|
7
7
|
|
|
8
|
-
export const DEFAULT_API_BASE = 'https://velaro-messaging-api.azurewebsites.net';
|
|
8
|
+
export const DEFAULT_API_BASE = process.env.VELARO_API_BASE || 'https://velaro-messaging-api-prod.azurewebsites.net';
|
|
9
9
|
|
|
10
10
|
export function readConfig() {
|
|
11
11
|
try {
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@velaro/cli",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Velaro Workspace v20 — command-line interface for managing bots, knowledge base ingestion, and MCP API keys.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"velaro": "bin/velaro.js"
|
|
8
|
-
},
|
|
9
|
-
"engines": {
|
|
10
|
-
"node": ">=18.0.0"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"yargs": "^17.7.2"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"bin/",
|
|
17
|
-
"lib/"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@velaro/cli",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Velaro Workspace v20 — command-line interface for managing bots, knowledge base ingestion, and MCP API keys.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"velaro": "bin/velaro.js"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=18.0.0"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"yargs": "^17.7.2"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"bin/",
|
|
17
|
+
"lib/"
|
|
18
|
+
]
|
|
19
|
+
}
|