@askdkc/dsh-lsp-server 0.1.3 → 0.1.5

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,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Support DSH `0.1.7-rc.2` by updating the bundled LSP packages, host peer ranges, and isolated package verification.
6
+
7
+ ## 0.1.3
8
+
5
9
  - Install the required DSH LSP service and tool automatically; require DSH `^0.1.3-alpha.2` and validate against `0.1.3-alpha.2`.
6
10
  - Connect the provider and extra tool to actual DSH services, schemas, session workspaces, and plugin disposal.
7
11
  - Implement real navigation, diagnostics, completion, document synchronization, configuration replies, timeouts, and bounded process cleanup.
package/README.md CHANGED
@@ -6,20 +6,22 @@ Supports PHP/Blade via **PHPantom**, TypeScript/JavaScript, Svelte, HTML, CSS, a
6
6
 
7
7
  ## Install
8
8
 
9
- Requires Node.js **22.18+** and DSH **0.1.3-alpha.2 or a compatible later 0.1.x release**. The required `@deepseek-ai/dsh-lsp` and `@deepseek-ai/dsh-tool-lsp` packages are installed automatically. For PHP/Blade, install **PHPantom** with `phpantom_lsp` in `PATH`. The other language servers are included.
9
+ Requires Node.js **22.18+** and DSH **0.1.7-rc.2 or a compatible later 0.1.x release**. Compatibility is tested against **0.1.7-rc.2**; later DSH releases require their own verification. The required `@deepseek-ai/dsh-lsp` and `@deepseek-ai/dsh-tool-lsp` packages are installed automatically. For PHP/Blade, install **PHPantom** with `phpantom_lsp` in `PATH`. The other language servers are included.
10
10
 
11
11
  From npm:
12
12
 
13
13
  ```sh
14
- pnpm dsh plugin --profile web add @askdkc/dsh-lsp-server
14
+ npx @deepseek-ai/dsh@0.1.7-rc.2 plugin --profile web add @askdkc/dsh-lsp-server
15
15
  ```
16
16
 
17
17
  Or from GitHub:
18
18
 
19
19
  ```sh
20
- pnpm dsh plugin --profile web add github:askdkc/dsh-lsp-server
20
+ npx @deepseek-ai/dsh@0.1.7-rc.2 plugin --profile web add github:askdkc/dsh-lsp-server
21
21
  ```
22
22
 
23
+ If you run DSH from a source checkout with `pnpm dsh web`, use `pnpm dsh plugin --profile web add ...` instead.
24
+
23
25
  [Configuration, tool usage, and troubleshooting](docs/usage.md)
24
26
 
25
27
  ## License
package/docs/usage.md CHANGED
@@ -20,11 +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
- DSH dependencies and host peers use `^0.1.3-alpha.2`. This admits subsequent `0.1.3` prereleases and stable `0.1.x` releases from `0.1.3`, but excludes `0.2.0` and prereleases with a different patch version (for example, `0.1.4-alpha.1`). Those require a compatibility review and range update. DSH `0.0.1-rc.1` is no longer supported.
23
+ The bundled DSH LSP service and tool are pinned to `0.1.7-rc.2`. Host peer ranges start at `0.1.7-rc.2` and stop before `0.2.0`. They admit later stable `0.1.x` releases, but semver excludes prereleases of a different patch version. Only `0.1.7-rc.2` is verified here; test each later DSH release before relying on it. Older DSH releases are no longer supported.
24
+
25
+ DSH 0.1.7-rc.2 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
+
27
+ ```yaml
28
+ allowBuilds:
29
+ core-js: false
30
+ ```
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` (for example, `npx @deepseek-ai/dsh@0.1.7-rc.2` or `pnpm dsh` from a source checkout).
24
33
 
25
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.
26
35
 
27
- These instructions follow [DSH's profile composition and bundle dependency resolution](https://github.com/deepseek-ai/deepseek-harness/blob/c389f96bf3a9b6807cb71ed6bdad5849be0df6d8/packages/boot/app-boot/src/profile.ts). No user profile is changed by this repository's tests or doctor command.
36
+ These instructions follow [DSH's profile composition and bundle dependency resolution](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.1.7-rc.2/docs/user/develop/basic/publish.md). No user profile is changed by this repository's tests or doctor command.
28
37
 
29
38
  ## Tools
30
39
 
@@ -93,9 +102,9 @@ pnpm test:e2e # real TS/JS, HTML, CSS, Svelte, Tailwind v3/v4
93
102
  PHPANTOM_E2E=1 pnpm test:e2e # additionally tests installed PHPantom with PHP and Blade
94
103
  ```
95
104
 
96
- The packed-artifact test installs the archive into a fresh consumer with DSH's hoisted layout and peer auto-installation disabled. It provides the host service packages but does not preinstall either LSP package, then verifies bundle imports, both tool registrations, and a real TypeScript query. 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`.
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`.
97
106
 
98
- Integration tests run against the published DSH `0.1.3-alpha.2` service/tool packages and Cordis 4.0.2. The full Web UI and a source-built upstream application are not exercised here.
107
+ Integration tests run against the published DSH `0.1.7-rc.2` service/tool packages and Cordis 4.0.4. The full Web UI and a source-built upstream application are not exercised here.
99
108
 
100
109
  ### Dependency security
101
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdkc/dsh-lsp-server",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
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.1.3-alpha.2",
51
- "@deepseek-ai/dsh-tool-lsp": "^0.1.3-alpha.2",
50
+ "@deepseek-ai/dsh-lsp": "0.1.7-rc.2",
51
+ "@deepseek-ai/dsh-tool-lsp": "0.1.7-rc.2",
52
52
  "@tailwindcss/language-server": "0.16.0",
53
53
  "svelte-language-server": "0.17.15",
54
54
  "typescript": "5.7.3",
@@ -56,29 +56,35 @@
56
56
  "vscode-langservers-extracted": "4.10.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@deepseek-ai/cordis": "^4.0.2",
60
- "@deepseek-ai/dsh-fs": "^0.1.3-alpha.2",
61
- "@deepseek-ai/dsh-subprocess": "^0.1.3-alpha.2",
62
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
63
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
64
- "@deepseek-ai/schemastery": "^3.18.2"
59
+ "@deepseek-ai/cordis": "~4.0.4",
60
+ "@deepseek-ai/dsh-fs": ">=0.1.7-rc.2 <0.2.0",
61
+ "@deepseek-ai/dsh-subprocess": ">=0.1.7-rc.2 <0.2.0",
62
+ "@deepseek-ai/dsh-system-prompt": ">=0.1.7-rc.2 <0.2.0",
63
+ "@deepseek-ai/dsh-tools": ">=0.1.7-rc.2 <0.2.0",
64
+ "@deepseek-ai/schemastery": "~3.18.4"
65
65
  },
66
66
  "devDependencies": {
67
- "@deepseek-ai/cordis": "^4.0.2",
68
- "@deepseek-ai/dsh-brand": "0.1.3-alpha.2",
69
- "@deepseek-ai/dsh-fs": "0.1.3-alpha.2",
70
- "@deepseek-ai/dsh-fs-local": "0.1.3-alpha.2",
71
- "@deepseek-ai/dsh-http-proxy": "0.1.3-alpha.2",
72
- "@deepseek-ai/dsh-invariants": "0.1.3-alpha.2",
73
- "@deepseek-ai/dsh-llm": "0.1.3-alpha.2",
74
- "@deepseek-ai/dsh-scope": "0.1.3-alpha.2",
75
- "@deepseek-ai/dsh-session": "0.1.3-alpha.2",
76
- "@deepseek-ai/dsh-subprocess": "0.1.3-alpha.2",
77
- "@deepseek-ai/dsh-subprocess-local": "0.1.3-alpha.2",
78
- "@deepseek-ai/dsh-system-prompt": "0.1.3-alpha.2",
79
- "@deepseek-ai/dsh-timeout": "0.1.3-alpha.2",
80
- "@deepseek-ai/dsh-tools": "0.1.3-alpha.2",
81
- "@deepseek-ai/schemastery": "^3.18.2",
67
+ "@deepseek-ai/cordis": "~4.0.4",
68
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
69
+ "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
70
+ "@deepseek-ai/dsh-fs": "0.1.7-rc.2",
71
+ "@deepseek-ai/dsh-fs-local": "0.1.7-rc.2",
72
+ "@deepseek-ai/dsh-http-proxy": "0.1.7-rc.2",
73
+ "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
74
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
75
+ "@deepseek-ai/dsh-ptc-runtime": "0.1.7-rc.2",
76
+ "@deepseek-ai/dsh-sandbox": "0.1.7-rc.2",
77
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
78
+ "@deepseek-ai/dsh-scope": "0.1.7-rc.2",
79
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
80
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
81
+ "@deepseek-ai/dsh-subprocess": "0.1.7-rc.2",
82
+ "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
83
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
84
+ "@deepseek-ai/dsh-timeout": "0.1.7-rc.2",
85
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
86
+ "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
87
+ "@deepseek-ai/schemastery": "~3.18.4",
82
88
  "@types/node": "22.10.5",
83
89
  "tailwindcss-v3": "npm:tailwindcss@3.4.17",
84
90
  "tailwindcss-v4": "npm:tailwindcss@4.1.13",