fix: support Visual Studio 2026 package loading

This commit is contained in:
2026-08-17 12:11:27 +08:00
parent d96c11ae3d
commit 97a2c61306
8 changed files with 61 additions and 26 deletions
+3 -3
View File
@@ -7,13 +7,13 @@ A Windows-local integration that lets DeepSeek Harness users type `@`, choose a
- `protocol/`: versioned JSON snapshot contract shared by all components.
- `dsh-plugin/`: dual-face Cordis package. The Host reads snapshots; the Client registers the `@` source.
- `vscode-extension/`: VS Code companion using `window.tabGroups.all`.
- `visualstudio-extension/`: Visual Studio 2022 VSIX using `IVsRunningDocumentTable`.
- `visualstudio-extension/`: Visual Studio 2022/2026 VSIX using `IVsRunningDocumentTable`.
The companions publish paths and dirty flags only. They never copy source text. DSH and the model continue to use the normal filesystem tools, so an unsaved IDE buffer is explicitly marked but is not silently substituted for the disk file.
## Build
Prerequisites: Node.js 20+, pnpm 10+, .NET SDK/MSBuild with the Visual Studio 2022 extension workload.
Prerequisites: Node.js 20+, pnpm 10+, .NET SDK/MSBuild with the Visual Studio extension workload.
```powershell
pnpm install
@@ -29,7 +29,7 @@ Build the DSH package, then install its local profile bundle into the Web profil
```powershell
pnpm --filter ./dsh-plugin build
dsh plugin --profile web add F:\dsh-plugin-coop-with-vs\dsh-plugin
dsh plugin --profile web add -w F:\dsh-plugin-coop-with-vs\dsh-plugin
```
The package's `cordis.patch.yml` inserts its own shared Host/Client row. Restart `dsh web` after the first install. During development, run the DSH package watcher and the Harness `pnpm run dev:web` watcher when Client HMR is required.