@larkup/cli 0.2.17 → 0.2.18

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.
@@ -3,7 +3,7 @@ import {
3
3
  getAnalyticsSummary,
4
4
  readUsageEvents,
5
5
  trackUsageEvent
6
- } from "./chunk-ZJLA4SIG.js";
6
+ } from "./chunk-PDVC2XOG.js";
7
7
  import "./chunk-3RG5ZIWI.js";
8
8
  export {
9
9
  estimateCost,
@@ -90,7 +90,7 @@ var FALLBACK_REGISTRY = {
90
90
  name: "Video & Audio",
91
91
  description: "Index video and audio files with transcription and frame analysis.",
92
92
  category: "media",
93
- version: "0.3.1",
93
+ version: "0.3.2",
94
94
  pricing: "free",
95
95
  emoji: "\u{1F3AC}",
96
96
  icon: "Film",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getToolById,
3
3
  invalidateRegistryCache
4
- } from "./chunk-7HVIRRTX.js";
4
+ } from "./chunk-7RZZK62Y.js";
5
5
  import {
6
6
  __require
7
7
  } from "./chunk-3RG5ZIWI.js";
@@ -414,7 +414,7 @@ async function uninstallTool(toolId) {
414
414
  }
415
415
  }
416
416
  invalidateRegistryCache();
417
- const { unloadTool: unloadTool2 } = await import("./tool-loader-K33ISDZP.js");
417
+ const { unloadTool: unloadTool2 } = await import("./tool-loader-ZB47VBUK.js");
418
418
  unloadTool2(toolId);
419
419
  }
420
420
  async function notifyHubInstall(toolId) {
@@ -485,7 +485,7 @@ function unloadTool(toolId) {
485
485
  moduleCache.delete(toolId);
486
486
  }
487
487
  async function hasCapability(capability) {
488
- const { getToolsWithCapability } = await import("./tool-registry-XQVQ6KQF.js");
488
+ const { getToolsWithCapability } = await import("./tool-registry-EPEYY5EM.js");
489
489
  const tools = await getToolsWithCapability(capability);
490
490
  for (const t of tools) {
491
491
  const installed = await getInstalledTool(t.id);
@@ -209,6 +209,11 @@ function defaultConfigFor(id, name, prevConfig = {}) {
209
209
  chatApiKey: prevConfig.chatApiKey ?? DEFAULT_CONFIG.chatApiKey,
210
210
  customChatModels: prevConfig.customChatModels ?? DEFAULT_CONFIG.customChatModels,
211
211
  serperApiKey: prevConfig.serperApiKey ?? DEFAULT_CONFIG.serperApiKey,
212
+ scraperProxyServer: prevConfig.scraperProxyServer ?? DEFAULT_CONFIG.scraperProxyServer,
213
+ scraperProxyUsername: prevConfig.scraperProxyUsername ?? DEFAULT_CONFIG.scraperProxyUsername,
214
+ scraperProxyPassword: prevConfig.scraperProxyPassword ?? DEFAULT_CONFIG.scraperProxyPassword,
215
+ useScraperProxy: prevConfig.useScraperProxy ?? DEFAULT_CONFIG.useScraperProxy,
216
+ webCrawlerProvider: prevConfig.webCrawlerProvider ?? DEFAULT_CONFIG.webCrawlerProvider,
212
217
  firecrawlApiKey: prevConfig.firecrawlApiKey ?? DEFAULT_CONFIG.firecrawlApiKey,
213
218
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
214
219
  };
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  runWithServer,
12
12
  setActiveServer,
13
13
  trackUsageEvent
14
- } from "./chunk-ZJLA4SIG.js";
14
+ } from "./chunk-PDVC2XOG.js";
15
15
  import {
16
16
  getInstalledTool,
17
17
  getInstalledTools,
@@ -19,11 +19,11 @@ import {
19
19
  isToolInstalled,
20
20
  loadTool,
21
21
  uninstallTool
22
- } from "./chunk-STUKQORW.js";
22
+ } from "./chunk-A32DUKBF.js";
23
23
  import {
24
24
  getAllTools,
25
25
  getToolById
26
- } from "./chunk-7HVIRRTX.js";
26
+ } from "./chunk-7RZZK62Y.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.17",
37
+ version: "0.2.18",
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
@@ -51,22 +51,22 @@ var package_default = {
51
51
  larkup: "tsx src/index.ts"
52
52
  },
53
53
  dependencies: {
54
- "@ai-sdk/cohere": "^4.0.12",
55
- "@ai-sdk/deepseek": "^3.0.13",
56
- "@ai-sdk/gateway": "^4.0.28",
57
- "@ai-sdk/google": "^4.0.24",
58
- "@ai-sdk/mistral": "^4.0.14",
59
- "@ai-sdk/openai": "^4.0.20",
60
- "@ai-sdk/openai-compatible": "^3.0.14",
54
+ "@ai-sdk/cohere": "^4.0.15",
55
+ "@ai-sdk/deepseek": "^3.0.16",
56
+ "@ai-sdk/gateway": "^4.0.32",
57
+ "@ai-sdk/google": "^4.0.28",
58
+ "@ai-sdk/mistral": "^4.0.17",
59
+ "@ai-sdk/openai": "^4.0.24",
60
+ "@ai-sdk/openai-compatible": "^3.0.17",
61
61
  "@clack/prompts": "^1.7.0",
62
- "@lancedb/lancedb": "^0.31.0",
62
+ "@lancedb/lancedb": "^0.33.0",
63
63
  "@larkup/core": "workspace:*",
64
64
  "@larkup/marketplace": "workspace:*",
65
65
  "@larkup/vector-stores": "workspace:*",
66
66
  "@pinecone-database/pinecone": "^8.1.0",
67
- ai: "^7.0.37",
68
- "apache-arrow": "^18.1.0",
69
- chalk: "^5.6.2",
67
+ ai: "^7.0.42",
68
+ "apache-arrow": "^21.2.0",
69
+ chalk: "^6.0.0",
70
70
  chromadb: "^3.5.0",
71
71
  "cli-table3": "^0.6.5",
72
72
  commander: "^15.0.0",
@@ -75,7 +75,7 @@ var package_default = {
75
75
  devDependencies: {
76
76
  tsup: "^8.0.0",
77
77
  tsx: "^4.22.4",
78
- typescript: "5.7.3"
78
+ typescript: "^6.0.3"
79
79
  }
80
80
  };
81
81
 
@@ -4251,7 +4251,7 @@ async function embedTexts(config, texts) {
4251
4251
  values: texts
4252
4252
  });
4253
4253
  const totalTokens = texts.reduce((acc, t) => acc + Math.ceil(t.length / 4), 0);
4254
- const { trackUsageEvent: trackUsageEvent2, estimateCost: estimateCost2 } = await import("./analytics-store-VOKLZYUM.js");
4254
+ const { trackUsageEvent: trackUsageEvent2, estimateCost: estimateCost2 } = await import("./analytics-store-JGHJTMOB.js");
4255
4255
  void trackUsageEvent2({
4256
4256
  type: "embedding",
4257
4257
  embeddingModelId: config.embeddingModelId,
@@ -3,8 +3,8 @@ import {
3
3
  isToolLoaded,
4
4
  loadTool,
5
5
  unloadTool
6
- } from "./chunk-STUKQORW.js";
7
- import "./chunk-7HVIRRTX.js";
6
+ } from "./chunk-A32DUKBF.js";
7
+ import "./chunk-7RZZK62Y.js";
8
8
  import "./chunk-3RG5ZIWI.js";
9
9
  export {
10
10
  hasCapability,
@@ -6,7 +6,7 @@ import {
6
6
  getToolById,
7
7
  getToolsWithCapability,
8
8
  invalidateRegistryCache
9
- } from "./chunk-7HVIRRTX.js";
9
+ } from "./chunk-7RZZK62Y.js";
10
10
  import "./chunk-3RG5ZIWI.js";
11
11
  export {
12
12
  buildRegistry,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/cli",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,31 +12,31 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "@ai-sdk/cohere": "^4.0.12",
16
- "@ai-sdk/deepseek": "^3.0.13",
17
- "@ai-sdk/gateway": "^4.0.28",
18
- "@ai-sdk/google": "^4.0.24",
19
- "@ai-sdk/mistral": "^4.0.14",
20
- "@ai-sdk/openai": "^4.0.20",
21
- "@ai-sdk/openai-compatible": "^3.0.14",
15
+ "@ai-sdk/cohere": "^4.0.15",
16
+ "@ai-sdk/deepseek": "^3.0.16",
17
+ "@ai-sdk/gateway": "^4.0.32",
18
+ "@ai-sdk/google": "^4.0.28",
19
+ "@ai-sdk/mistral": "^4.0.17",
20
+ "@ai-sdk/openai": "^4.0.24",
21
+ "@ai-sdk/openai-compatible": "^3.0.17",
22
22
  "@clack/prompts": "^1.7.0",
23
- "@lancedb/lancedb": "^0.31.0",
23
+ "@lancedb/lancedb": "^0.33.0",
24
24
  "@pinecone-database/pinecone": "^8.1.0",
25
- "ai": "^7.0.37",
26
- "apache-arrow": "^18.1.0",
27
- "chalk": "^5.6.2",
25
+ "ai": "^7.0.42",
26
+ "apache-arrow": "^21.2.0",
27
+ "chalk": "^6.0.0",
28
28
  "chromadb": "^3.5.0",
29
29
  "cli-table3": "^0.6.5",
30
30
  "commander": "^15.0.0",
31
31
  "zod": "^4.4.3",
32
- "@larkup/core": "0.3.2",
33
- "@larkup/vector-stores": "0.1.24",
34
- "@larkup/marketplace": "0.1.17"
32
+ "@larkup/core": "0.3.3",
33
+ "@larkup/marketplace": "0.1.18",
34
+ "@larkup/vector-stores": "0.1.24"
35
35
  },
36
36
  "devDependencies": {
37
37
  "tsup": "^8.0.0",
38
38
  "tsx": "^4.22.4",
39
- "typescript": "5.7.3"
39
+ "typescript": "^6.0.3"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsup",