@link-assistant/agent 0.26.8 → 0.26.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.
- package/package.json +17 -17
- package/src/tool/bash.ts +12 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@link-assistant/agent",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.9",
|
|
4
4
|
"description": "A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@agentclientprotocol/sdk": "^1.5.1",
|
|
54
|
-
"@ai-sdk/amazon-bedrock": "^5.0.
|
|
55
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
56
|
-
"@ai-sdk/azure": "^4.0.
|
|
57
|
-
"@ai-sdk/google": "^4.0.
|
|
58
|
-
"@ai-sdk/google-vertex": "^5.0.
|
|
59
|
-
"@ai-sdk/groq": "^4.0.
|
|
60
|
-
"@ai-sdk/mcp": "^2.0.
|
|
61
|
-
"@ai-sdk/mistral": "^4.0.
|
|
62
|
-
"@ai-sdk/openai": "^4.0.
|
|
63
|
-
"@ai-sdk/openai-compatible": "^3.0.
|
|
64
|
-
"@ai-sdk/provider": "^4.0.
|
|
65
|
-
"@ai-sdk/xai": "^5.0.
|
|
54
|
+
"@ai-sdk/amazon-bedrock": "^5.0.102",
|
|
55
|
+
"@ai-sdk/anthropic": "^4.0.69",
|
|
56
|
+
"@ai-sdk/azure": "^4.0.86",
|
|
57
|
+
"@ai-sdk/google": "^4.0.86",
|
|
58
|
+
"@ai-sdk/google-vertex": "^5.0.99",
|
|
59
|
+
"@ai-sdk/groq": "^4.0.53",
|
|
60
|
+
"@ai-sdk/mcp": "^2.0.63",
|
|
61
|
+
"@ai-sdk/mistral": "^4.0.55",
|
|
62
|
+
"@ai-sdk/openai": "^4.0.82",
|
|
63
|
+
"@ai-sdk/openai-compatible": "^3.0.60",
|
|
64
|
+
"@ai-sdk/provider": "^4.0.20",
|
|
65
|
+
"@ai-sdk/xai": "^5.0.13",
|
|
66
66
|
"@clack/prompts": "^1.8.1",
|
|
67
67
|
"@hono/standard-validator": "^0.4.0",
|
|
68
68
|
"@hono/zod-validator": "^0.9.1",
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
"@openauthjs/openauth": "^0.4.3",
|
|
73
73
|
"@opencode-ai/sdk": "^1.18.33",
|
|
74
74
|
"@openrouter/ai-sdk-provider": "^3.1.0",
|
|
75
|
-
"@opentui/core": "0.5.
|
|
76
|
-
"@opentui/solid": "0.5.
|
|
75
|
+
"@opentui/core": "0.5.13",
|
|
76
|
+
"@opentui/solid": "0.5.13",
|
|
77
77
|
"@parcel/watcher": "^2.6.0",
|
|
78
78
|
"@solid-primitives/event-bus": "^1.1.4",
|
|
79
79
|
"@standard-community/standard-json": "^0.3.6",
|
|
80
80
|
"@standard-community/standard-openapi": "^0.2.10",
|
|
81
81
|
"@zip.js/zip.js": "^2.18.2",
|
|
82
|
-
"ai": "^7.0.
|
|
82
|
+
"ai": "^7.0.123",
|
|
83
83
|
"chokidar": "^5.0.0",
|
|
84
84
|
"clipboardy": "^5.3.2",
|
|
85
85
|
"command-stream": "^1.3.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"glob": "^13.0.6",
|
|
90
90
|
"gpt-tokenizer": "^4.0.0",
|
|
91
91
|
"gray-matter": "^4.0.3",
|
|
92
|
-
"hono": "^4.13.
|
|
92
|
+
"hono": "^4.13.12",
|
|
93
93
|
"hono-openapi": "^1.3.3",
|
|
94
94
|
"ignore": "^7.0.10",
|
|
95
95
|
"jsonc-parser": "^3.3.1",
|
package/src/tool/bash.ts
CHANGED
|
@@ -28,13 +28,18 @@ const resolveWasm = (asset: string) => {
|
|
|
28
28
|
|
|
29
29
|
const parser = lazy(async () => {
|
|
30
30
|
const { Parser } = await import('web-tree-sitter');
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
// web-tree-sitter renamed its runtime WASM in 0.26. Resolve the current
|
|
32
|
+
// export while retaining 0.25 compatibility until OpenTUI lifts its peer pin.
|
|
33
|
+
let treePath: string;
|
|
34
|
+
try {
|
|
35
|
+
treePath = resolveWasm(
|
|
36
|
+
import.meta.resolve('web-tree-sitter/web-tree-sitter.wasm')
|
|
37
|
+
);
|
|
38
|
+
} catch {
|
|
39
|
+
treePath = resolveWasm(
|
|
40
|
+
import.meta.resolve('web-tree-sitter/tree-sitter.wasm')
|
|
41
|
+
);
|
|
42
|
+
}
|
|
38
43
|
await Parser.init({
|
|
39
44
|
locateFile() {
|
|
40
45
|
return treePath;
|