xiayuhkust / dsh-shell-kit

목록에 있음

Plugins for DeepSeek Harness (dsh): secret-guard blocks reading secret/PII files, script-exec runs scripts via temp file to avoid Windows quoting pitfalls.

main기타 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:xiayuhkust/dsh-shell-kit

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 089641d동기화 2026. 8. 18.

dsh-shell-kit

English | 中文

Plugins that harden and smooth a DeepSeek Harness (dsh) agent's use of the host's shell and file tools: one governs what it may read (blocking secrets/PII), the other smooths how it runs scripts (writing them to disk to avoid escaping pain). Both are lightweight with no extra runtime dependencies. One repository, one independent npm package per plugin. Targets the dsh 0.1.x developer preview; interfaces may shift with dsh.

Plugins

PackageWhat it does
dsh-plugin-secret-guardBlocks model-facing tools from reading secret/PII files (.env, private keys, credentials, …), denying with a reason via tools/pre-execute.
dsh-plugin-script-execAdds a run_script tool: write the script to disk, then run it — avoiding the quote-escaping problems of inline scripts on Windows (pwsh files get a UTF-8 BOM).

See each package's README for install, config, and tool parameters.

Install

dsh plugin --profile web add -w <package-name>

Mount it in the profile's cordis.patch.yml (use - insert: to add a new row, not a bare - id:):

- insert:
    - id: secret-guard
      name: dsh-plugin-secret-guard

Restart dsh web to take effect. dsh --profile web --dump-config confirms the row is present.

Conventions

  • Each plugin is an independent npm package (dependency weights differ, so install units stay separate); sharing one repo keeps maintenance cheap.
  • Package names are prefixed dsh-plugin-*, and the repo carries the dsh-plugin GitHub topic.
  • Plugins take zero @deepseek-ai/dsh-* imports (the dsh 0.1.x-rc loader does not resolve host internal imports for third-party plugins), constructing the tool object directly when registering.

License

MIT

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 15. 오전 11:18

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.