@namzu/lsp 0.3.2 → 0.3.3
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/CHANGELOG.md +11 -0
- package/README.md +4 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @namzu/lsp
|
|
2
2
|
|
|
3
|
+
## 0.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 567ada8: Updated package examples and evaluation fixtures for the SDK's `ToolRegistry`
|
|
8
|
+
removal. Browser, computer-use and LSP documentation now show toolsets; the
|
|
9
|
+
evals use `toolsets` when they call the kernel. Provider changes are test
|
|
10
|
+
fixture migrations only, with no provider runtime API change. Consumers that
|
|
11
|
+
pass tools to the SDK should use `toolsets: readonly Toolset[]` and wrap their
|
|
12
|
+
definitions with `toolset(source, definitions)`.
|
|
13
|
+
|
|
3
14
|
## 0.3.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ generated: { by: human:bahadirarda, at: 2026-08-17T00:00:00Z }
|
|
|
28
28
|
|
|
29
29
|
Code navigation for an agent — definitions, references, symbols and
|
|
30
30
|
diagnostics — served by a real language server rather than by grep. One
|
|
31
|
-
server per language, routed by file extension, disposed with the
|
|
31
|
+
server per language, routed by file extension, disposed with the session.
|
|
32
32
|
If either protocol stream closes while the process remains alive, in-flight
|
|
33
33
|
and later calls fail immediately and the process remains owned until disposal.
|
|
34
34
|
|
|
@@ -44,7 +44,7 @@ pnpm add @namzu/sdk @namzu/lsp
|
|
|
44
44
|
|
|
45
45
|
```ts
|
|
46
46
|
import { RoutingCodeNavigationProvider } from '@namzu/lsp'
|
|
47
|
-
import { getCodeNavigationTools,
|
|
47
|
+
import { getCodeNavigationTools, toolset } from '@namzu/sdk'
|
|
48
48
|
|
|
49
49
|
const rootDir = process.cwd()
|
|
50
50
|
|
|
@@ -55,10 +55,9 @@ const codeNavigation = new RoutingCodeNavigationProvider({
|
|
|
55
55
|
],
|
|
56
56
|
})
|
|
57
57
|
|
|
58
|
-
const
|
|
59
|
-
for (const tool of getCodeNavigationTools(codeNavigation)) registry.register(tool)
|
|
58
|
+
const tools = toolset('lsp', getCodeNavigationTools(codeNavigation))
|
|
60
59
|
|
|
61
|
-
// …and when the
|
|
60
|
+
// …and when the session is over:
|
|
62
61
|
await codeNavigation.dispose()
|
|
63
62
|
```
|
|
64
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namzu/lsp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Language-server-backed code navigation for @namzu/sdk. Resolves definitions and references through a real language server over stdio, so an agent asked for call sites gets symbol resolution rather than regex matches.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"engines": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/node": "^22.19.17",
|
|
54
54
|
"typescript": "^5.5.0",
|
|
55
55
|
"vitest": "^4.1.11",
|
|
56
|
-
"@namzu/sdk": "^
|
|
56
|
+
"@namzu/sdk": "^48.0.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsc --build",
|