abcofabc / dsh-enter-approve

목록에 있음

Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.按 Enter 即可批准 DeepSeek Harness WebUI 中的沙箱权限提升审批窗口,无需鼠标点击。

main도구스킬샌드박스 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:abcofabc/dsh-enter-approve

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

README

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

GitHub에서 보기 ↗
커밋 00f0d18동기화 2026. 8. 18.

dsh-enter-approve

中文

Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.

Features

  • While an approval panel (等待审批 / "Waiting for approval") is showing, a plain Enter press clicks the Allow once button.
  • Adds a small hint (按 Enter 允许一次 / "Press Enter to allow") under the panel's buttons.
  • Zero interference elsewhere: ignores Enter while typing, IME composition, modifier keys (Ctrl/Cmd/Shift/Alt + Enter), and whenever no approval panel is present.

Install

  1. Link this package into your dsh profile: ~/.dsh/profiles/web/node_modules/dsh-enter-approve
  2. Add it to ~/.dsh/profiles/web/package.json under dependencies ("dsh-enter-approve": "link:<absolute path>") and to dsh.profile.bundles.
  3. Fully restart DeepSeek Harness.

How it works

A tiny browser script is injected into the served index.html through webServer.tapIndex(). It listens on document (capture phase) for a plain Enter keypress and, while an approval panel ([data-approval-key]) exists on screen, forwards the press to the panel's "Allow once" button - the same click path a mouse click uses.

Uninstall

Remove the node_modules link and both references in package.json, then restart DSH.

Credits

This plugin was created entirely by DeepSeek-v4-flash through the DeepSeek Harness.

此插件是完全由DeepSeek-v4-flash通过DeepSeek harness制作的

License

MIT

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. PM 8:59

신중하게 설치하기

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