coeasy/oh-my-dsh--plugins-embedded-client ↗★ 0
@dsh/plugin-embedded-client
Cordis bundle: lock webserver to 127.0.0.1:0 and write a ready file for client shells.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:coeasy/oh-my-dsh#fe64d18a2819424b95609aa0868c0018211ed469&path:plugins/embedded-client说明文档
阅读完整 README ↗@dsh/plugin-embedded-client
Out-of-tree Cordis plugin for client shells. It does not change DSH core.
- Lock
webserverto127.0.0.1+ port0. - Write a JSON ready file once
webServeris bound.
dsh web --patch overlays resolve plugin name as a file: URL (Windows ESM rejects D:/... paths), not an npm package. @dsh/client-runtime generates that overlay at spawn (buildPatchYaml). Do not point --patch at a YAML that names @dsh/plugin-embedded-client.
The shell must set DSH_READY_FILE (and optionally DSH_WORKSPACE_CWD) in the child environment.
This package must not import vscode or electron.