@dreki-gg/pi-lsp 0.1.1 → 0.1.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 +18 -0
- package/extensions/lsp/index.ts +1 -1
- package/extensions/lsp/tools.ts +3 -3
- package/package.json +16 -5
- package/test/tools.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @dreki-gg/pi-lsp
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d133c3d`](https://github.com/dreki-gg/pi-extensions/commit/d133c3da917e7e5def568d27d6cde8ae8a6c00d2) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Mark pi peer dependencies as optional so npm does not auto-install pi internals when installing extension packages.
|
|
8
|
+
|
|
9
|
+
## 0.1.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0be7b68`](https://github.com/dreki-gg/pi-extensions/commit/0be7b6877e9874b46c756b58c99d599db623ef11) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Migrate TypeBox usage and session replacement flows for Pi 0.69 compatibility.
|
|
14
|
+
|
|
15
|
+
- switch extension imports from `@sinclair/typebox` to `typebox`
|
|
16
|
+
- update package peer dependencies to require `typebox`
|
|
17
|
+
- move subagent `/run-agent` fork-at follow-up work into `withSession` so post-fork operations use the replacement session safely
|
|
18
|
+
- add command argument completions for `/run-agent`, `/delegate-agents`, `/preset`, `/mode`, and `/plan`
|
|
19
|
+
- align local development dependencies with Pi 0.69 for typechecking and compatibility checks
|
|
20
|
+
|
|
3
21
|
## 0.1.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/extensions/lsp/index.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Any LSP server can be added via config.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import type { ExtensionAPI } from '@
|
|
12
|
+
import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';
|
|
13
13
|
|
|
14
14
|
import { LspClient } from './client';
|
|
15
15
|
import { loadConfig, scaffoldGlobalConfig, serversForExtension, type LoadedConfig } from './config';
|
package/extensions/lsp/tools.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* 11 operations routed to the right server by file extension.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { ExtensionAPI } from '@
|
|
8
|
-
import { Type } from '
|
|
9
|
-
import { StringEnum } from '@
|
|
7
|
+
import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';
|
|
8
|
+
import { Type } from 'typebox';
|
|
9
|
+
import { StringEnum } from '@earendil-works/pi-ai';
|
|
10
10
|
|
|
11
11
|
import type { LspClient } from './client';
|
|
12
12
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreki-gg/pi-lsp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Language-agnostic LSP code intelligence for pi — diagnostics, hover, definitions, references, symbols, and call hierarchy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@
|
|
29
|
+
"@earendil-works/pi-ai": "^0.74.0",
|
|
30
30
|
"@types/node": "24",
|
|
31
31
|
"bun-types": "latest",
|
|
32
32
|
"oxfmt": "^0.43.0",
|
|
@@ -35,8 +35,19 @@
|
|
|
35
35
|
"typescript-language-server": "^5.1.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
38
|
+
"@earendil-works/pi-ai": "*",
|
|
39
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
40
|
+
"typebox": "*"
|
|
41
|
+
},
|
|
42
|
+
"peerDependenciesMeta": {
|
|
43
|
+
"@earendil-works/pi-ai": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"@earendil-works/pi-coding-agent": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"typebox": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
41
52
|
}
|
|
42
53
|
}
|
package/test/tools.test.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describe, expect, test } from 'bun:test';
|
|
2
2
|
|
|
3
3
|
import { registerLspTool } from '../extensions/lsp/tools';
|
|
4
|
-
import type { ToolDefinition } from '@
|
|
4
|
+
import type { ToolDefinition } from '@earendil-works/pi-coding-agent';
|
|
5
5
|
|
|
6
6
|
function captureTool() {
|
|
7
7
|
let tool: ToolDefinition<any, any> | null = null;
|