coeasy/oh-my-dsh--plugins-embedded-client0

@dsh/plugin-embedded-client

Cordis bundle: lock webserver to 127.0.0.1:0 and write a ready file for client shells.

AI 분석

将 Web 服务锁定在 127.0.0.1 并自动写入就绪 JSON 文件。适合开发客户端外壳(Client Shell)并需要与 DSH 进程通信的开发者。

패키지
@dsh/plugin-embedded-client
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 19.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:coeasy/oh-my-dsh#fe64d18a2819424b95609aa0868c0018211ed469&path:plugins/embedded-client

@dsh/plugin-embedded-client

Out-of-tree Cordis plugin for client shells. It does not change DSH core.

  • Lock webserver to 127.0.0.1 + port 0.
  • Write a JSON ready file once webServer is 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.