@larkup/cli 0.3.9 → 0.3.11

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.
@@ -23,7 +23,7 @@ var BUILTIN_TOOLS = [
23
23
  description: "Help your AI understand your videos, so you can ask questions and get answers from the right moments.",
24
24
  longDescription: "Turn videos into knowledge your AI can understand. It listens to what is said, reads what appears on screen, and helps you find the moments that matter.",
25
25
  category: "media",
26
- version: "0.3.2",
26
+ version: "0.3.3",
27
27
  pricing: "free",
28
28
  emoji: "\u{1F3AC}",
29
29
  icon: "Film",
@@ -596,7 +596,7 @@ var BUILTIN_TOOLS = [
596
596
  description: "AI-powered form filling and document editing with Canvas-style live preview.",
597
597
  longDescription: "Open PDF, Word, PowerPoint, and text files in a split-view Canvas. AI fills forms using your knowledge base, edits content on request, and previews changes live. Supports PDF form fields (AcroForm), DOCX paragraphs/tables, PPTX slide text, and plain text editing. Uses pdf-lib (native) for PDF and the Docker sandbox for DOCX/PPTX via python-docx/python-pptx.",
598
598
  category: "utility",
599
- version: "0.2.27",
599
+ version: "0.2.28",
600
600
  pricing: "free",
601
601
  emoji: "\u{1F4DD}",
602
602
  icon: "FileEdit",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getToolById,
3
3
  invalidateRegistryCache
4
- } from "./chunk-USOGKC55.js";
4
+ } from "./chunk-J2AR7L2Q.js";
5
5
  import {
6
6
  __require
7
7
  } from "./chunk-QGM4M3NI.js";
@@ -285,7 +285,7 @@ async function execInstallUnlocked(packageName, version, target, onProgress) {
285
285
  await fs.readFile(path.join(resolvedPath, "package.json"), "utf8")
286
286
  );
287
287
  const resolvedVersion = packageJson.version ?? version;
288
- const { compareToolVersions } = await import("./tool-registry-QCVABOI7.js");
288
+ const { compareToolVersions } = await import("./tool-registry-WZ2RDXVS.js");
289
289
  if (compareToolVersions(version, resolvedVersion) > 0) {
290
290
  throw new Error(`Version ${version} is not yet available. Please try again later.`);
291
291
  }
@@ -476,7 +476,7 @@ async function uninstallTool(toolId) {
476
476
  }
477
477
  }
478
478
  invalidateRegistryCache();
479
- const { unloadTool: unloadTool2 } = await import("./tool-loader-6SFUZVIB.js");
479
+ const { unloadTool: unloadTool2 } = await import("./tool-loader-JRRAAYTQ.js");
480
480
  unloadTool2(toolId);
481
481
  } finally {
482
482
  uninstallingTools.delete(toolId);
@@ -600,7 +600,7 @@ function unloadTool(toolId) {
600
600
  moduleCache.delete(toolId);
601
601
  }
602
602
  async function hasCapability(capability) {
603
- const { getToolsWithCapability } = await import("./tool-registry-QCVABOI7.js");
603
+ const { getToolsWithCapability } = await import("./tool-registry-WZ2RDXVS.js");
604
604
  const tools = await getToolsWithCapability(capability);
605
605
  for (const t of tools) {
606
606
  const installed = await getInstalledTool(t.id);
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  isToolInstalled,
7
7
  loadTool,
8
8
  uninstallTool
9
- } from "./chunk-AIFHSAH4.js";
9
+ } from "./chunk-X46UIKQW.js";
10
10
  import {
11
11
  ALL_MODELS,
12
12
  DEFAULT_CONFIG,
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  getAllTools,
27
27
  getToolById
28
- } from "./chunk-USOGKC55.js";
28
+ } from "./chunk-J2AR7L2Q.js";
29
29
  import {
30
30
  __require
31
31
  } from "./chunk-QGM4M3NI.js";
@@ -36,7 +36,7 @@ import { Command } from "commander";
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@larkup/cli",
39
- version: "0.3.9",
39
+ version: "0.3.11",
40
40
  engines: {
41
41
  node: ">=22"
42
42
  },
@@ -57,21 +57,21 @@ var package_default = {
57
57
  "type-check": "tsc --noEmit"
58
58
  },
59
59
  dependencies: {
60
- "@ai-sdk/cohere": "^4.0.44",
61
- "@ai-sdk/deepseek": "^3.0.47",
62
- "@ai-sdk/gateway": "^4.0.85",
63
- "@ai-sdk/google": "^4.0.74",
64
- "@ai-sdk/mistral": "^4.0.46",
65
- "@ai-sdk/openai": "^4.0.69",
66
- "@ai-sdk/openai-compatible": "^3.0.51",
60
+ "@ai-sdk/cohere": "^4.0.48",
61
+ "@ai-sdk/deepseek": "^3.0.52",
62
+ "@ai-sdk/gateway": "^4.0.91",
63
+ "@ai-sdk/google": "^4.0.79",
64
+ "@ai-sdk/mistral": "^4.0.50",
65
+ "@ai-sdk/openai": "^4.0.74",
66
+ "@ai-sdk/openai-compatible": "^3.0.55",
67
67
  "@clack/prompts": "^1.7.0",
68
- "@lancedb/lancedb": "^0.38.0",
68
+ "@lancedb/lancedb": "^0.39.0",
69
69
  "@larkup/core": "workspace:*",
70
70
  "@larkup/marketplace": "workspace:*",
71
71
  "@larkup/vector-stores": "workspace:*",
72
72
  "@napi-rs/canvas": "1.0.9",
73
73
  "@pinecone-database/pinecone": "^9.0.0",
74
- ai: "^7.0.105",
74
+ ai: "^7.0.113",
75
75
  "apache-arrow": "18.1.0",
76
76
  chalk: "^6.0.0",
77
77
  chromadb: "^3.5.0",
@@ -1077,7 +1077,7 @@ async function buildAgentTools() {
1077
1077
  chartType: z.enum(["bar", "area", "line", "pie", "scatter", "radar"]),
1078
1078
  title: z.string(),
1079
1079
  subtitle: z.string().optional(),
1080
- data: z.array(z.record(z.string(), z.any())),
1080
+ data: z.array(z.looseObject({})),
1081
1081
  xAxisKey: z.string(),
1082
1082
  series: z.array(z.object({ dataKey: z.string(), label: z.string().optional(), color: z.string().optional() })),
1083
1083
  colors: z.array(z.string()).optional(),
@@ -3,8 +3,8 @@ import {
3
3
  isToolLoaded,
4
4
  loadTool,
5
5
  unloadTool
6
- } from "./chunk-AIFHSAH4.js";
7
- import "./chunk-USOGKC55.js";
6
+ } from "./chunk-X46UIKQW.js";
7
+ import "./chunk-J2AR7L2Q.js";
8
8
  import "./chunk-QGM4M3NI.js";
9
9
  export {
10
10
  hasCapability,
@@ -8,7 +8,7 @@ import {
8
8
  getToolsWithCapability,
9
9
  invalidateRegistryCache,
10
10
  mergeToolDescriptors
11
- } from "./chunk-USOGKC55.js";
11
+ } from "./chunk-J2AR7L2Q.js";
12
12
  import "./chunk-QGM4M3NI.js";
13
13
  export {
14
14
  buildRegistry,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/cli",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
@@ -15,18 +15,18 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@ai-sdk/cohere": "^4.0.44",
19
- "@ai-sdk/deepseek": "^3.0.47",
20
- "@ai-sdk/gateway": "^4.0.85",
21
- "@ai-sdk/google": "^4.0.74",
22
- "@ai-sdk/mistral": "^4.0.46",
23
- "@ai-sdk/openai": "^4.0.69",
24
- "@ai-sdk/openai-compatible": "^3.0.51",
18
+ "@ai-sdk/cohere": "^4.0.48",
19
+ "@ai-sdk/deepseek": "^3.0.52",
20
+ "@ai-sdk/gateway": "^4.0.91",
21
+ "@ai-sdk/google": "^4.0.79",
22
+ "@ai-sdk/mistral": "^4.0.50",
23
+ "@ai-sdk/openai": "^4.0.74",
24
+ "@ai-sdk/openai-compatible": "^3.0.55",
25
25
  "@clack/prompts": "^1.7.0",
26
- "@lancedb/lancedb": "^0.38.0",
26
+ "@lancedb/lancedb": "^0.39.0",
27
27
  "@napi-rs/canvas": "1.0.9",
28
28
  "@pinecone-database/pinecone": "^9.0.0",
29
- "ai": "^7.0.105",
29
+ "ai": "^7.0.113",
30
30
  "apache-arrow": "18.1.0",
31
31
  "chalk": "^6.0.0",
32
32
  "chromadb": "^3.5.0",
@@ -35,9 +35,9 @@
35
35
  "mammoth": "^1.12.0",
36
36
  "pdf-parse": "2.4.5",
37
37
  "zod": "^4.4.3",
38
- "@larkup/core": "0.7.2",
39
- "@larkup/marketplace": "0.3.3",
40
- "@larkup/vector-stores": "0.1.27"
38
+ "@larkup/core": "0.7.4",
39
+ "@larkup/vector-stores": "0.1.27",
40
+ "@larkup/marketplace": "0.3.5"
41
41
  },
42
42
  "devDependencies": {
43
43
  "tsup": "^8.5.1",