@larkup/cli 0.2.27 → 0.2.28
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/index.js +6 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ import { Command } from "commander";
|
|
|
35
35
|
// package.json
|
|
36
36
|
var package_default = {
|
|
37
37
|
name: "@larkup/cli",
|
|
38
|
-
version: "0.2.
|
|
38
|
+
version: "0.2.28",
|
|
39
39
|
engines: {
|
|
40
40
|
node: ">=22"
|
|
41
41
|
},
|
|
@@ -70,7 +70,7 @@ var package_default = {
|
|
|
70
70
|
"@larkup/vector-stores": "workspace:*",
|
|
71
71
|
"@pinecone-database/pinecone": "^8.1.0",
|
|
72
72
|
ai: "^7.0.83",
|
|
73
|
-
"apache-arrow": "
|
|
73
|
+
"apache-arrow": "18.1.0",
|
|
74
74
|
chalk: "^6.0.0",
|
|
75
75
|
chromadb: "^3.5.0",
|
|
76
76
|
"cli-table3": "^0.6.5",
|
|
@@ -1095,6 +1095,10 @@ async function buildAgentTools() {
|
|
|
1095
1095
|
continue;
|
|
1096
1096
|
}
|
|
1097
1097
|
for (const [name, pluginTool] of Object.entries(pluginTools)) {
|
|
1098
|
+
if (!pluginTool || typeof pluginTool !== "object") {
|
|
1099
|
+
console.warn("[agent] Plugin returned an invalid tool:", plugin.id || plugin.packageName, name);
|
|
1100
|
+
continue;
|
|
1101
|
+
}
|
|
1098
1102
|
tools[name] = pluginTool;
|
|
1099
1103
|
descriptions.push({ id: name, name, description: "Tool provided by plugin " + (plugin.id || plugin.packageName), source: "plugin", pluginId: plugin.id, pluginName });
|
|
1100
1104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larkup/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=22"
|
|
6
6
|
},
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"@lancedb/lancedb": "^0.37.1",
|
|
27
27
|
"@pinecone-database/pinecone": "^8.1.0",
|
|
28
28
|
"ai": "^7.0.83",
|
|
29
|
-
"apache-arrow": "
|
|
29
|
+
"apache-arrow": "18.1.0",
|
|
30
30
|
"chalk": "^6.0.0",
|
|
31
31
|
"chromadb": "^3.5.0",
|
|
32
32
|
"cli-table3": "^0.6.5",
|
|
33
33
|
"commander": "^15.0.0",
|
|
34
34
|
"zod": "^4.4.3",
|
|
35
|
-
"@larkup/core": "0.5.
|
|
36
|
-
"@larkup/marketplace": "0.2.
|
|
37
|
-
"@larkup/vector-stores": "0.1.
|
|
35
|
+
"@larkup/core": "0.5.1",
|
|
36
|
+
"@larkup/marketplace": "0.2.1",
|
|
37
|
+
"@larkup/vector-stores": "0.1.27"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"tsup": "^8.5.1",
|