DSH Cordis plugin
This package is both a normal dual-face Cordis plugin and a DSH profile bundle.
- Host: reads and validates companion snapshots, then serves
GET /coop-with-vs/open-filesto loopback clients. - Client: registers the
ide-filesource in the existing@input-trigger pipeline. - Pick result: a native composer reference chip whose model projection is
<ide-open-file>{"path":"..."}</ide-open-file>.
No source content crosses the companion protocol or candidate endpoint.
Build and test
pnpm install
pnpm test
pnpm build
lib/client.js is wrapped in the window.__ModuleLoader__.load format expected by DSH Client Modules.
Install
dsh plugin --profile web add F:\dsh-plugin-coop-with-vs\dsh-plugin
The profile manager recognizes dsh.bundle.patch and appends this package to the Web profile's bundle list. cordis.patch.yml inserts one shared coop-with-vs row. Restart DSH after first installation.