@larkup/cli 0.2.18 → 0.2.19
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/dist/{chunk-A32DUKBF.js → chunk-RNY5632E.js} +4 -3
- package/dist/index.js +3 -3
- package/dist/{tool-loader-ZB47VBUK.js → tool-loader-JW7XXTCM.js} +2 -2
- package/dist/{tool-registry-EPEYY5EM.js → tool-registry-WNSCTC3Y.js} +1 -1
- package/package.json +4 -4
- package/dist/{chunk-7RZZK62Y.js → chunk-RM2IB56F.js} +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getToolById,
|
|
3
3
|
invalidateRegistryCache
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RM2IB56F.js";
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -154,6 +154,7 @@ async function checkSystemDeps(toolId) {
|
|
|
154
154
|
const target = detectDeploymentTarget();
|
|
155
155
|
const missing = [];
|
|
156
156
|
for (const dep of descriptor.systemDeps) {
|
|
157
|
+
if (toolId === "video-audio" && dep === "ffmpeg") continue;
|
|
157
158
|
if (target === "docker" && dep === "docker") continue;
|
|
158
159
|
try {
|
|
159
160
|
await execAsync(`which ${dep}`);
|
|
@@ -414,7 +415,7 @@ async function uninstallTool(toolId) {
|
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
invalidateRegistryCache();
|
|
417
|
-
const { unloadTool: unloadTool2 } = await import("./tool-loader-
|
|
418
|
+
const { unloadTool: unloadTool2 } = await import("./tool-loader-JW7XXTCM.js");
|
|
418
419
|
unloadTool2(toolId);
|
|
419
420
|
}
|
|
420
421
|
async function notifyHubInstall(toolId) {
|
|
@@ -485,7 +486,7 @@ function unloadTool(toolId) {
|
|
|
485
486
|
moduleCache.delete(toolId);
|
|
486
487
|
}
|
|
487
488
|
async function hasCapability(capability) {
|
|
488
|
-
const { getToolsWithCapability } = await import("./tool-registry-
|
|
489
|
+
const { getToolsWithCapability } = await import("./tool-registry-WNSCTC3Y.js");
|
|
489
490
|
const tools = await getToolsWithCapability(capability);
|
|
490
491
|
for (const t of tools) {
|
|
491
492
|
const installed = await getInstalledTool(t.id);
|
package/dist/index.js
CHANGED
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
isToolInstalled,
|
|
20
20
|
loadTool,
|
|
21
21
|
uninstallTool
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RNY5632E.js";
|
|
23
23
|
import {
|
|
24
24
|
getAllTools,
|
|
25
25
|
getToolById
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RM2IB56F.js";
|
|
27
27
|
import {
|
|
28
28
|
__require
|
|
29
29
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -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.19",
|
|
38
38
|
publishConfig: {
|
|
39
39
|
access: "public"
|
|
40
40
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"cli-table3": "^0.6.5",
|
|
30
30
|
"commander": "^15.0.0",
|
|
31
31
|
"zod": "^4.4.3",
|
|
32
|
-
"@larkup/
|
|
33
|
-
"@larkup/
|
|
34
|
-
"@larkup/
|
|
32
|
+
"@larkup/vector-stores": "0.1.24",
|
|
33
|
+
"@larkup/core": "0.3.4",
|
|
34
|
+
"@larkup/marketplace": "0.1.19"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"tsup": "^8.0.0",
|
|
@@ -189,12 +189,12 @@ var FALLBACK_REGISTRY = {
|
|
|
189
189
|
async function buildRegistry(opts) {
|
|
190
190
|
if (cachedRegistry) return cachedRegistry;
|
|
191
191
|
const registry = { ...FALLBACK_REGISTRY };
|
|
192
|
-
const localManifests = await discoverLocalManifests();
|
|
193
|
-
Object.assign(registry, localManifests);
|
|
194
192
|
if (!opts?.skipHub) {
|
|
195
193
|
const hubCatalog = await fetchHubCatalog(opts?.hubUrl);
|
|
196
194
|
Object.assign(registry, hubCatalog);
|
|
197
195
|
}
|
|
196
|
+
const localManifests = await discoverLocalManifests();
|
|
197
|
+
Object.assign(registry, localManifests);
|
|
198
198
|
cachedRegistry = registry;
|
|
199
199
|
return registry;
|
|
200
200
|
}
|