@larkup/cli 0.2.26 → 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 +12 -6
- 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
|
}
|
|
@@ -7000,12 +7004,14 @@ program.command("enterprise-enroll").description("Apply a one-time Enterprise in
|
|
|
7000
7004
|
program.command("enterprise-tool install <toolId>").description("Install an Enterprise private tool you were given access to").option("--api-key <key>", "Customer API key required by this private tool").action(async (toolId, options) => {
|
|
7001
7005
|
await enterpriseToolInstallCommand(toolId, options);
|
|
7002
7006
|
});
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7007
|
+
var shouldCheckForUpdates = process.argv[2] !== "update" && !process.argv.includes("--help") && !process.argv.includes("-h") && !process.argv.includes("--version") && !process.argv.includes("-V");
|
|
7008
|
+
if (shouldCheckForUpdates) {
|
|
7009
|
+
void checkUpdate();
|
|
7010
|
+
void enterpriseUpdateAvailable().then((available) => {
|
|
7011
|
+
if (!available) return;
|
|
7006
7012
|
log.warn("Your organization configuration has changed.");
|
|
7007
7013
|
log.info(`Run: ${log.fmt.bold("larkup update --ee")}`);
|
|
7008
|
-
}
|
|
7014
|
+
});
|
|
7009
7015
|
}
|
|
7010
7016
|
try {
|
|
7011
7017
|
await program.parseAsync(process.argv);
|
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",
|