@askdkc/dsh-lsp-server 0.1.5 → 0.1.6
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 +5 -0
- package/README.md +8 -6
- package/docs/usage.md +5 -5
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Follow DSH prerelease packages through the `next` tag and remove host release-range gates.
|
|
6
|
+
- Use the same DSH launcher for plugin installation and Web startup.
|
|
7
|
+
|
|
8
|
+
## 0.1.5
|
|
9
|
+
|
|
5
10
|
- Support DSH `0.1.7-rc.2` by updating the bundled LSP packages, host peer ranges, and isolated package verification.
|
|
6
11
|
|
|
7
12
|
## 0.1.3
|
package/README.md
CHANGED
|
@@ -6,21 +6,23 @@ Supports PHP/Blade via **PHPantom**, TypeScript/JavaScript, Svelte, HTML, CSS, a
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
Requires Node.js **22.18
|
|
9
|
+
Requires Node.js **22.18+**. 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 and start Web with the same DSH preview channel:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npx @deepseek-ai/dsh@
|
|
14
|
+
npx @deepseek-ai/dsh@next plugin --profile web add @askdkc/dsh-lsp-server
|
|
15
|
+
npx @deepseek-ai/dsh@next web
|
|
15
16
|
```
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
To install this repository instead:
|
|
18
19
|
|
|
19
20
|
```sh
|
|
20
|
-
npx @deepseek-ai/dsh@
|
|
21
|
+
npx @deepseek-ai/dsh@next plugin --profile web add github:askdkc/dsh-lsp-server
|
|
22
|
+
npx @deepseek-ai/dsh@next web
|
|
21
23
|
```
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
For a DSH source checkout, use `pnpm dsh` in both commands instead of `npx @deepseek-ai/dsh@next`.
|
|
24
26
|
|
|
25
27
|
[Configuration, tool usage, and troubleshooting](docs/usage.md)
|
|
26
28
|
|
package/docs/usage.md
CHANGED
|
@@ -20,20 +20,20 @@ See the [installation commands](../README.md#install).
|
|
|
20
20
|
|
|
21
21
|
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
22
|
|
|
23
|
-
The
|
|
23
|
+
The DSH LSP service and tool resolve from the registry's `next` tag on a fresh install. Host DSH peer declarations do not impose a release range. The repository lockfile fixes the versions used by CI; new consumer installs may resolve a newer prerelease.
|
|
24
24
|
|
|
25
|
-
DSH
|
|
25
|
+
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
26
|
|
|
27
27
|
```yaml
|
|
28
28
|
allowBuilds:
|
|
29
29
|
core-js: false
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
The packed-artifact test runs HTML/CSS servers with dependency scripts disabled. If an earlier CLI add stopped after writing the dependency, check that `@askdkc/dsh-lsp-server` appears in `dsh.profile.bundles` in that profile's `package.json`; a dependency entry alone does not activate the bundle. If it is absent, remove the package with `dsh plugin --profile web remove @askdkc/dsh-lsp-server`, set the build decision, then repeat the original add command. Use the same launcher prefix you use for `dsh web
|
|
32
|
+
The packed-artifact test runs HTML/CSS servers with dependency scripts disabled. If an earlier CLI add stopped after writing the dependency, check that `@askdkc/dsh-lsp-server` appears in `dsh.profile.bundles` in that profile's `package.json`; a dependency entry alone does not activate the bundle. If it is absent, remove the package with `dsh plugin --profile web remove @askdkc/dsh-lsp-server`, set the build decision, then repeat the original add command. Use the same launcher prefix you use for `dsh web`.
|
|
33
33
|
|
|
34
34
|
If you already enabled another LSP provider for these extensions, remove its overlapping mappings first: DSH intentionally rejects duplicate ownership with `LSP_CONFLICT`. If your profile already declares the `lsp` or `tool-lsp` rows, compose the provider and extra-tool rows manually instead of inserting the whole bundle twice.
|
|
35
35
|
|
|
36
|
-
These instructions follow [DSH's profile composition and bundle dependency resolution](https://github.com/deepseek-ai/deepseek-harness/blob/
|
|
36
|
+
These instructions follow [DSH's profile composition and bundle dependency resolution](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/develop/basic/publish.md). No user profile is changed by this repository's tests or doctor command.
|
|
37
37
|
|
|
38
38
|
## Tools
|
|
39
39
|
|
|
@@ -104,7 +104,7 @@ PHPANTOM_E2E=1 pnpm test:e2e # additionally tests installed PHPantom with PHP an
|
|
|
104
104
|
|
|
105
105
|
The packed-artifact test installs the archive into a fresh consumer with DSH's hoisted layout, peer auto-installation disabled, and dependency scripts disabled. It provides the host service packages but does not preinstall either LSP package, then verifies bundle imports, both tool registrations, and real TypeScript, HTML, and CSS queries. It also checks declaration paths and the executable doctor. The consumer install prefers cached packages but needs registry access for uncached packages or metadata. E2E needs working OS file watchers; sandboxed macOS watchers may fail with `EMFILE`.
|
|
106
106
|
|
|
107
|
-
Integration tests run against the published DSH
|
|
107
|
+
Integration tests run against the published DSH service/tool packages and Cordis versions recorded in the lockfile. The full Web UI and a source-built upstream application are not exercised here.
|
|
108
108
|
|
|
109
109
|
### Dependency security
|
|
110
110
|
|
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.6",
|
|
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": "
|
|
51
|
-
"@deepseek-ai/dsh-tool-lsp": "
|
|
50
|
+
"@deepseek-ai/dsh-lsp": "next",
|
|
51
|
+
"@deepseek-ai/dsh-tool-lsp": "next",
|
|
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": "
|
|
61
|
-
"@deepseek-ai/dsh-subprocess": "
|
|
62
|
-
"@deepseek-ai/dsh-system-prompt": "
|
|
63
|
-
"@deepseek-ai/dsh-tools": "
|
|
60
|
+
"@deepseek-ai/dsh-fs": "*",
|
|
61
|
+
"@deepseek-ai/dsh-subprocess": "*",
|
|
62
|
+
"@deepseek-ai/dsh-system-prompt": "*",
|
|
63
|
+
"@deepseek-ai/dsh-tools": "*",
|
|
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": "
|
|
69
|
-
"@deepseek-ai/dsh-brand": "
|
|
70
|
-
"@deepseek-ai/dsh-fs": "
|
|
71
|
-
"@deepseek-ai/dsh-fs-local": "
|
|
72
|
-
"@deepseek-ai/dsh-http-proxy": "
|
|
73
|
-
"@deepseek-ai/dsh-invariants": "
|
|
74
|
-
"@deepseek-ai/dsh-llm": "
|
|
75
|
-
"@deepseek-ai/dsh-ptc-runtime": "
|
|
76
|
-
"@deepseek-ai/dsh-sandbox": "
|
|
77
|
-
"@deepseek-ai/dsh-sandbox-policy": "
|
|
78
|
-
"@deepseek-ai/dsh-scope": "
|
|
79
|
-
"@deepseek-ai/dsh-session": "
|
|
80
|
-
"@deepseek-ai/dsh-session-projection": "
|
|
81
|
-
"@deepseek-ai/dsh-subprocess": "
|
|
82
|
-
"@deepseek-ai/dsh-subprocess-local": "
|
|
83
|
-
"@deepseek-ai/dsh-system-prompt": "
|
|
84
|
-
"@deepseek-ai/dsh-timeout": "
|
|
85
|
-
"@deepseek-ai/dsh-tools": "
|
|
86
|
-
"@deepseek-ai/dsh-user-approval": "
|
|
68
|
+
"@deepseek-ai/dsh-agent": "next",
|
|
69
|
+
"@deepseek-ai/dsh-brand": "next",
|
|
70
|
+
"@deepseek-ai/dsh-fs": "next",
|
|
71
|
+
"@deepseek-ai/dsh-fs-local": "next",
|
|
72
|
+
"@deepseek-ai/dsh-http-proxy": "next",
|
|
73
|
+
"@deepseek-ai/dsh-invariants": "next",
|
|
74
|
+
"@deepseek-ai/dsh-llm": "next",
|
|
75
|
+
"@deepseek-ai/dsh-ptc-runtime": "next",
|
|
76
|
+
"@deepseek-ai/dsh-sandbox": "next",
|
|
77
|
+
"@deepseek-ai/dsh-sandbox-policy": "next",
|
|
78
|
+
"@deepseek-ai/dsh-scope": "next",
|
|
79
|
+
"@deepseek-ai/dsh-session": "next",
|
|
80
|
+
"@deepseek-ai/dsh-session-projection": "next",
|
|
81
|
+
"@deepseek-ai/dsh-subprocess": "next",
|
|
82
|
+
"@deepseek-ai/dsh-subprocess-local": "next",
|
|
83
|
+
"@deepseek-ai/dsh-system-prompt": "next",
|
|
84
|
+
"@deepseek-ai/dsh-timeout": "next",
|
|
85
|
+
"@deepseek-ai/dsh-tools": "next",
|
|
86
|
+
"@deepseek-ai/dsh-user-approval": "next",
|
|
87
87
|
"@deepseek-ai/schemastery": "~3.18.4",
|
|
88
88
|
"@types/node": "22.10.5",
|
|
89
89
|
"tailwindcss-v3": "npm:tailwindcss@3.4.17",
|