@larkup/cli 0.2.8 → 0.2.9

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.
@@ -60,23 +60,7 @@ async function writeManifest(manifest) {
60
60
  }
61
61
  async function getInstalledTools() {
62
62
  const manifest = await readManifest();
63
- const tools = [...manifest.tools];
64
- const bundledIds = (process.env.LARKUP_BUNDLED_TOOLS ?? "doc-editor,video-audio").split(",").map((id) => id.trim()).filter(Boolean);
65
- for (const toolId of bundledIds) {
66
- if (tools.some((tool) => tool.id === toolId)) continue;
67
- const descriptor = await getToolById(toolId);
68
- if (!descriptor) continue;
69
- tools.push({
70
- id: toolId,
71
- version: descriptor.version,
72
- installedAt: "bundled",
73
- packageName: descriptor.packageName,
74
- resolvedPath: descriptor.packageName,
75
- source: "local",
76
- config: buildDefaultConfig(descriptor)
77
- });
78
- }
79
- return tools;
63
+ return [...manifest.tools];
80
64
  }
81
65
  async function isToolInstalled(toolId) {
82
66
  const tools = await getInstalledTools();
@@ -343,7 +327,7 @@ async function uninstallTool(toolId) {
343
327
  }
344
328
  }
345
329
  invalidateRegistryCache();
346
- const { unloadTool: unloadTool2 } = await import("./tool-loader-VBH7DQU3.js");
330
+ const { unloadTool: unloadTool2 } = await import("./tool-loader-VGEHM33B.js");
347
331
  unloadTool2(toolId);
348
332
  }
349
333
  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-KMVYMOQV.js";
22
+ } from "./chunk-ZJLKBVV6.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.8",
37
+ version: "0.2.9",
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
@@ -3,7 +3,7 @@ import {
3
3
  isToolLoaded,
4
4
  loadTool,
5
5
  unloadTool
6
- } from "./chunk-KMVYMOQV.js";
6
+ } from "./chunk-ZJLKBVV6.js";
7
7
  import "./chunk-UCYL66UI.js";
8
8
  import "./chunk-3RG5ZIWI.js";
9
9
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/cli",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,7 +30,7 @@
30
30
  "zod": "^4.4.3",
31
31
  "@larkup/vector-stores": "0.1.23",
32
32
  "@larkup/core": "0.2.4",
33
- "@larkup/marketplace": "0.1.8"
33
+ "@larkup/marketplace": "0.1.9"
34
34
  },
35
35
  "devDependencies": {
36
36
  "tsup": "^8.0.0",