@larkup/cli 0.2.15 → 0.2.16
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/README.md
CHANGED
|
@@ -40,4 +40,4 @@ larkup media ./demo.mp4
|
|
|
40
40
|
- `larkup open [target]` opens the Web UI or API reference.
|
|
41
41
|
- `larkup update` checks for and installs CLI releases.
|
|
42
42
|
|
|
43
|
-
Generated servers use `http://localhost:8080` by default. Run `larkup --help` or see the [CLI documentation](https://larkup.de/docs/developer/cli) for all options.
|
|
43
|
+
Generated servers use `http://localhost:8080` by default. Run `larkup --help` or see the [CLI documentation](https://www.larkup.de/docs/developer/cli) for all options.
|
|
@@ -112,10 +112,13 @@ async function tryAutoInstallDep(dep, onProgress) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
if (!installCmd) return false;
|
|
115
|
-
onProgress?.(`Auto-installing ${dep}\u2026`);
|
|
115
|
+
onProgress?.(`Auto-installing ${dep} via "${installCmd}"\u2026`);
|
|
116
116
|
try {
|
|
117
|
-
await execAsync(installCmd, { timeout:
|
|
118
|
-
|
|
117
|
+
await execAsync(installCmd, { timeout: 3e5 });
|
|
118
|
+
onProgress?.(`${dep} installation command finished.`);
|
|
119
|
+
} catch (err) {
|
|
120
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
121
|
+
onProgress?.(`Auto-install of ${dep} failed: ${message}`);
|
|
119
122
|
return false;
|
|
120
123
|
}
|
|
121
124
|
try {
|
|
@@ -411,7 +414,7 @@ async function uninstallTool(toolId) {
|
|
|
411
414
|
}
|
|
412
415
|
}
|
|
413
416
|
invalidateRegistryCache();
|
|
414
|
-
const { unloadTool: unloadTool2 } = await import("./tool-loader-
|
|
417
|
+
const { unloadTool: unloadTool2 } = await import("./tool-loader-AM6O3TCX.js");
|
|
415
418
|
unloadTool2(toolId);
|
|
416
419
|
}
|
|
417
420
|
async function notifyHubInstall(toolId) {
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isToolInstalled,
|
|
20
20
|
loadTool,
|
|
21
21
|
uninstallTool
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EVFK76V4.js";
|
|
23
23
|
import {
|
|
24
24
|
getAllTools,
|
|
25
25
|
getToolById
|
|
@@ -34,7 +34,7 @@ import { Command } from "commander";
|
|
|
34
34
|
// package.json
|
|
35
35
|
var package_default = {
|
|
36
36
|
name: "@larkup/cli",
|
|
37
|
-
version: "0.2.
|
|
37
|
+
version: "0.2.16",
|
|
38
38
|
publishConfig: {
|
|
39
39
|
access: "public"
|
|
40
40
|
},
|
|
@@ -141,7 +141,7 @@ var prompts = {
|
|
|
141
141
|
};
|
|
142
142
|
|
|
143
143
|
// src/updater.ts
|
|
144
|
-
var VERSION_CHECK_URL = "https://larkup.de/api/version";
|
|
144
|
+
var VERSION_CHECK_URL = "https://www.larkup.de/api/version";
|
|
145
145
|
function compareVersions(a, b) {
|
|
146
146
|
const pa = a.replace(/^v/, "").split(".").map(Number);
|
|
147
147
|
const pb = b.replace(/^v/, "").split(".").map(Number);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"cli-table3": "^0.6.5",
|
|
30
30
|
"commander": "^15.0.0",
|
|
31
31
|
"zod": "^4.4.3",
|
|
32
|
-
"@larkup/marketplace": "0.1.15",
|
|
33
32
|
"@larkup/core": "0.3.1",
|
|
33
|
+
"@larkup/marketplace": "0.1.16",
|
|
34
34
|
"@larkup/vector-stores": "0.1.24"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|