@kosha-ai/cli 0.1.0 → 0.2.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/start.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;GAKG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/start.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;GAKG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwCrE"}
|
|
@@ -28,6 +28,10 @@ export async function start(options = {}) {
|
|
|
28
28
|
PORT: String(resolved.admin.port),
|
|
29
29
|
HOSTNAME: '0.0.0.0',
|
|
30
30
|
KOSHA_API_URL: process.env.KOSHA_API_URL ?? resolved.server.publicUrl,
|
|
31
|
+
// The admin builds every URL it calls from these two, including the
|
|
32
|
+
// redirect URI an operator pastes into a provider's console. The prefix
|
|
33
|
+
// is configurable here, so it cannot be assumed there.
|
|
34
|
+
KOSHA_API_PREFIX: process.env.KOSHA_API_PREFIX ?? resolved.server.globalPrefix,
|
|
31
35
|
},
|
|
32
36
|
});
|
|
33
37
|
// Ctrl+C in a terminal already reaches this child (same process group);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosha-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Kosha CLI: migrate, start, and manage a Kosha app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kosha",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"jiti": "^2.7.0",
|
|
43
43
|
"prisma": "^7.10.0",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
|
-
"@kosha-ai/server": "0.
|
|
45
|
+
"@kosha-ai/server": "0.2.0"
|
|
46
46
|
},
|
|
47
47
|
"kosha": {
|
|
48
48
|
"kind": "cli"
|