@askdkc/dsh-lsp-server 0.1.6 → 0.1.8

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 CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- - Follow DSH prerelease packages through the `next` tag and remove host release-range gates.
5
+ - Pin the LSP service, tool, and host peers to DSH `0.2.0-rc.1` so cached `next` metadata cannot install incompatible LSP rows.
6
+ - Require Node.js 22.19+ or 24+ to match DSH 0.2.0.
6
7
  - Use the same DSH launcher for plugin installation and Web startup.
7
8
 
8
9
  ## 0.1.5
package/README.md CHANGED
@@ -6,23 +6,30 @@ Supports PHP/Blade via **PHPantom**, TypeScript/JavaScript, Svelte, HTML, CSS, a
6
6
 
7
7
  ## Install
8
8
 
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`.
9
+ Requires Node.js **22.19+ (22.x) or 24+** and DSH **0.2.0-rc.1**. 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
- Install from npm and start Web with the same DSH preview channel:
11
+ Install from npm into the Web profile:
12
12
 
13
13
  ```sh
14
- npx @deepseek-ai/dsh@next plugin --profile web add @askdkc/dsh-lsp-server
15
- npx @deepseek-ai/dsh@next web
14
+ dsh plugin --profile web add @askdkc/dsh-lsp-server@0.1.7
16
15
  ```
17
16
 
18
- To install this repository instead:
17
+ Or install from GitHub:
19
18
 
20
19
  ```sh
21
- npx @deepseek-ai/dsh@next plugin --profile web add github:askdkc/dsh-lsp-server
22
- npx @deepseek-ai/dsh@next web
20
+ dsh plugin --profile web add github:askdkc/dsh-lsp-server
23
21
  ```
24
22
 
25
- For a DSH source checkout, use `pnpm dsh` in both commands instead of `npx @deepseek-ai/dsh@next`.
23
+ 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
+
25
+ ```yaml
26
+ allowBuilds:
27
+ core-js: false
28
+ ```
29
+
30
+ 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
+
32
+ An older installed bundle such as `0.1.2` is skipped on DSH 0.2.0-rc.1. Upgrade it with the `plugin add` command above after 0.1.7 is published; the version exemption is not a compatibility fix. Start or restart Web with `dsh web`.
26
33
 
27
34
  [Configuration, tool usage, and troubleshooting](docs/usage.md)
28
35
 
package/docs/usage.md CHANGED
@@ -20,7 +20,7 @@ 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 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.
23
+ This release pins the DSH LSP service and tool to `0.2.0-rc.1`, matching the required host DSH services. 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
24
 
25
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdkc/dsh-lsp-server",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
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": "next",
51
- "@deepseek-ai/dsh-tool-lsp": "next",
50
+ "@deepseek-ai/dsh-lsp": "0.2.0-rc.1",
51
+ "@deepseek-ai/dsh-tool-lsp": "0.2.0-rc.1",
52
52
  "@tailwindcss/language-server": "0.16.0",
53
53
  "svelte-language-server": "0.17.15",
54
54
  "typescript": "5.7.3",
@@ -57,43 +57,43 @@
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": "0.2.0-rc.1",
61
+ "@deepseek-ai/dsh-subprocess": "0.2.0-rc.1",
62
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
63
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
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": "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",
68
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.1",
69
+ "@deepseek-ai/dsh-brand": "0.2.0-rc.1",
70
+ "@deepseek-ai/dsh-fs": "0.2.0-rc.1",
71
+ "@deepseek-ai/dsh-fs-local": "0.2.0-rc.1",
72
+ "@deepseek-ai/dsh-http-proxy": "0.2.0-rc.1",
73
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
74
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.1",
75
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.1",
76
+ "@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
77
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.1",
78
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.1",
79
+ "@deepseek-ai/dsh-session": "0.2.0-rc.1",
80
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.1",
81
+ "@deepseek-ai/dsh-subprocess": "0.2.0-rc.1",
82
+ "@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.1",
83
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
84
+ "@deepseek-ai/dsh-timeout": "0.2.0-rc.1",
85
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
86
+ "@deepseek-ai/dsh-user-approval": "0.2.0-rc.1",
87
87
  "@deepseek-ai/schemastery": "~3.18.4",
88
88
  "@types/node": "22.10.5",
89
89
  "tailwindcss-v3": "npm:tailwindcss@3.4.17",
90
90
  "tailwindcss-v4": "npm:tailwindcss@4.1.13",
91
91
  "tsdown": "0.15.0",
92
92
  "typescript": "5.7.3",
93
- "vitest": "3.2.6"
93
+ "vitest": "4.1.11"
94
94
  },
95
95
  "engines": {
96
- "node": ">=22.18.0"
96
+ "node": "^22.19.0 || >=24.0.0"
97
97
  },
98
98
  "publishConfig": {
99
99
  "access": "public"