편집자 노트

nailing10086-zx/dsh-custom-ui

Custom UI for DeepSeek Harness Web: right-side file-tree sidebar, workspace file open, balance meter.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

dsh-custom-ui

Custom UI plugin for DeepSeek Harness Web.

Adds a right-side file-tree sidebar, workspace file open, and a DeepSeek account balance meter in the composer stats line.

Features

  • Balance meter — shows the DeepSeek account balance in the composer stats line. The API key is resolved server-side only through the credentials seam (credentialRef from @deepseek-ai/dsh-credentials) — it never crosses the wire to the browser.
  • File tree sidebar — a right-side workspace file tree for quick navigation, with collapse/expand and a floating toggle button.
  • Workspace file open — open files/folders with the system default application (workspace-rooted; path traversal guarded).

Install

dsh plugin --profile web add dsh-custom-ui

Then restart dsh web. If installed from a local checkout instead, link it via pnpm link (or "dsh-custom-ui": "link:<path>" in the profile's package.json) and rebuild.

Requirements

  • DeepSeek Harness Web (dsh web)
  • DEEPSEEK_API_KEY configured in the harness credentials (for the balance meter; the file tree works without it)

Host routes

RoutePurpose
GET /api/custom-ui/balanceDeepSeek account balance (via DEEPSEEK_API_KEY through the credentials seam)
GET /api/custom-ui/fs/listDirectory listing (workspace-rooted)
GET /api/custom-ui/fs/openOpen a file/folder with the system default

Development

# host half (server routes)
node lib/index.js            # or run through dsh plugin dev flow

# client half (browser UI) — HMR while `pnpm run dev:web` runs in the DSH checkout
# client-plugin changes reload without a refresh only while the dev:web watcher is running

Build the client bundle with your DSH toolchain, then restart dsh web.

Security

  • The API key is resolved server-side only; the browser client never receives it.
  • File routes are workspace-rooted: resolve() + prefix check against the workspace root blocks path traversal.
  • Review lib/index.js and lib/client.js before installing if you did not clone from the official repo.

License

MIT — see LICENSE.

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.