@askdkc/dsh-lsp-server 0.1.9 → 0.1.10
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 +1 -1
- package/README.md +4 -8
- package/docs/usage.md +10 -2
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Align the LSP service, tool, host peers, and development dependencies with DSH `0.2.0-rc.2` so the plugin loads on that runtime.
|
|
6
6
|
- Require Node.js 22.19+ or 24+ to match DSH 0.2.0.
|
|
7
7
|
- Use the same DSH launcher for plugin installation and Web startup.
|
|
8
8
|
|
package/README.md
CHANGED
|
@@ -6,19 +6,15 @@ Supports PHP/Blade via **PHPantom**, TypeScript/JavaScript, Svelte, HTML, CSS, a
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
Requires Node.js **22.19+ (22.x) or 24+** and DSH **0.2.0-rc.
|
|
9
|
+
Requires Node.js **22.19+ (22.x) or 24+** and DSH **0.2.0-rc.2**. The DSH LSP packages and Node language servers install with this plugin. For PHP/Blade, install **PHPantom** so `phpantom_lsp` is in `PATH`.
|
|
10
10
|
|
|
11
11
|
Install from npm into the Web profile:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
dsh plugin --profile web add @askdkc/dsh-lsp-server@
|
|
14
|
+
dsh plugin --profile web add @askdkc/dsh-lsp-server@latest
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
dsh plugin --profile web add github:askdkc/dsh-lsp-server
|
|
21
|
-
```
|
|
17
|
+
Do not install this plugin with `github:askdkc/dsh-lsp-server`. Git installs must build the untracked `lib` files through `prepare`, which pnpm blocks unless the exact Git dependency is allowed in the Web profile's `allowBuilds`. The published npm package includes the built files.
|
|
22
18
|
|
|
23
19
|
If `plugin add` stops with `ERR_PNPM_IGNORED_BUILDS` for `core-js`, set the build decision in the **Web profile's** `~/.dsh/profiles/web/pnpm-workspace.yaml`. Running `pnpm approve-builds` from the harness project does not configure that profile. To skip the script, add or update:
|
|
24
20
|
|
|
@@ -29,7 +25,7 @@ allowBuilds:
|
|
|
29
25
|
|
|
30
26
|
If the failed add already wrote the dependency, remove it with `dsh plugin --profile web remove @askdkc/dsh-lsp-server`, then repeat the add command using the same `dsh` launcher (for example, `pnpm dsh`). A dependency alone does not activate the plugin: confirm `@askdkc/dsh-lsp-server` appears in `dsh.profile.bundles` in the profile's `package.json`. See [installation troubleshooting](docs/usage.md#install) for details.
|
|
31
27
|
|
|
32
|
-
|
|
28
|
+
Version `0.1.9` is skipped on DSH 0.2.0-rc.2 because it declares DSH `0.2.0-rc.1` host peers. After installing a compatible release, use the explicit `@latest` above to update an existing dependency; an unqualified `plugin add @askdkc/dsh-lsp-server` can leave its locked old version installed with `Already up to date`. The version exemption is not a compatibility fix. Start or restart Web with `dsh web`.
|
|
33
29
|
|
|
34
30
|
[Configuration, tool usage, and troubleshooting](docs/usage.md)
|
|
35
31
|
|
package/docs/usage.md
CHANGED
|
@@ -18,9 +18,17 @@ The five Node language servers and TypeScript are package dependencies. PHPantom
|
|
|
18
18
|
|
|
19
19
|
See the [installation commands](../README.md#install).
|
|
20
20
|
|
|
21
|
+
Specify `@latest` when upgrading an existing installation. A bare `plugin add @askdkc/dsh-lsp-server` can keep a locked older version and report `Already up to date`; verify the installed version in the Web profile before restarting DSH.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
dsh plugin --profile web list @askdkc/dsh-lsp-server --depth 0
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
pnpm may warn about missing DSH peer packages because the profile has peer auto-installation disabled. DSH resolves those host services from its own installation; do not add duplicate host packages to the profile just to silence pnpm. A DSH compatibility warning naming this bundle and an old version means the bundle itself still needs upgrading.
|
|
28
|
+
|
|
21
29
|
The bundle adds `lsp`, `lsp-webstack-provider`, `tool-lsp`, and `tool-lsp-extra` rows. Its `@deepseek-ai/dsh-lsp` and `@deepseek-ai/dsh-tool-lsp` dependencies are installed automatically; do not install them separately. The harness still provides the profile's `fs`, `subprocess`, `tools`, and `systemPrompt` services and the shared Cordis instance. Installing this package does not install the harness itself.
|
|
22
30
|
|
|
23
|
-
This release pins the DSH LSP service and
|
|
31
|
+
This release pins the DSH LSP service, tool, and four required host services to `0.2.0-rc.2`. A registry `next` dependency could resolve an older prerelease from cached metadata and cause DSH to reject the installed plugin rows. The repository lockfile and packed-artifact test use the same DSH release.
|
|
24
32
|
|
|
25
33
|
DSH may stop `plugin add` with `ERR_PNPM_IGNORED_BUILDS` for `core-js`, a dependency of the bundled HTML/CSS server. Decide whether to allow its build script in DSH's plugin manager. To **deny** the script from the CLI, set `allowBuilds.core-js: false` in the selected profile's `pnpm-workspace.yaml` before adding this bundle:
|
|
26
34
|
|
|
@@ -93,7 +101,7 @@ The JSON config file contains the provider configuration object above. Doctor ch
|
|
|
93
101
|
|
|
94
102
|
## Verification
|
|
95
103
|
|
|
96
|
-
|
|
104
|
+
`pnpm pack` builds the source through `prepare` and includes the built files in the tarball; npm releases also include those files. A direct Git dependency needs to run `prepare` in the Web profile and is blocked unless that exact Git dependency is listed in the profile's `allowBuilds`. Development dependencies provide the host services needed by the tests.
|
|
97
105
|
|
|
98
106
|
```sh
|
|
99
107
|
pnpm install --frozen-lockfile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askdkc/dsh-lsp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Composite read-only LSP provider for DeepSeek Harness web stacks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/provider.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"prepublishOnly": "npm run check"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@deepseek-ai/dsh-lsp": "0.2.0-rc.
|
|
51
|
-
"@deepseek-ai/dsh-tool-lsp": "0.2.0-rc.
|
|
50
|
+
"@deepseek-ai/dsh-lsp": "0.2.0-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-tool-lsp": "0.2.0-rc.2",
|
|
52
52
|
"@tailwindcss/language-server": "0.16.0",
|
|
53
53
|
"svelte-language-server": "0.17.15",
|
|
54
54
|
"typescript": "5.7.3",
|
|
@@ -57,33 +57,33 @@
|
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
60
|
-
"@deepseek-ai/dsh-fs": "0.2.0-rc.
|
|
61
|
-
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.
|
|
62
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.
|
|
63
|
-
"@deepseek-ai/dsh-tools": "0.2.0-rc.
|
|
60
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
64
64
|
"@deepseek-ai/schemastery": "~3.18.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
68
|
-
"@deepseek-ai/dsh-agent": "0.2.0-rc.
|
|
69
|
-
"@deepseek-ai/dsh-brand": "0.2.0-rc.
|
|
70
|
-
"@deepseek-ai/dsh-fs": "0.2.0-rc.
|
|
71
|
-
"@deepseek-ai/dsh-fs-local": "0.2.0-rc.
|
|
72
|
-
"@deepseek-ai/dsh-http-proxy": "0.2.0-rc.
|
|
73
|
-
"@deepseek-ai/dsh-invariants": "0.2.0-rc.
|
|
74
|
-
"@deepseek-ai/dsh-llm": "0.2.0-rc.
|
|
75
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.
|
|
76
|
-
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.
|
|
77
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.
|
|
78
|
-
"@deepseek-ai/dsh-scope": "0.2.0-rc.
|
|
79
|
-
"@deepseek-ai/dsh-session": "0.2.0-rc.
|
|
80
|
-
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.
|
|
81
|
-
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.
|
|
82
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.
|
|
83
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.
|
|
84
|
-
"@deepseek-ai/dsh-timeout": "0.2.0-rc.
|
|
85
|
-
"@deepseek-ai/dsh-tools": "0.2.0-rc.
|
|
86
|
-
"@deepseek-ai/dsh-user-approval": "0.2.0-rc.
|
|
68
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-fs-local": "0.2.0-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-http-proxy": "0.2.0-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-timeout": "0.2.0-rc.2",
|
|
85
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-user-approval": "0.2.0-rc.2",
|
|
87
87
|
"@deepseek-ai/schemastery": "~3.18.4",
|
|
88
88
|
"@types/node": "22.10.5",
|
|
89
89
|
"tailwindcss-v3": "npm:tailwindcss@3.4.17",
|