Cheng-cheng9669 / dsh-deepseek-vision

목록에 있음

DeepSeek web vision bridge plugin for DeepSeek Harness (DSH)

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:Cheng-cheng9669/dsh-deepseek-vision

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

README

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

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

dsh-deepseek-vision

A DSH plugin that gives text-only DeepSeek models image recognition.

It registers the deepseek_vision tool, which calls the local deepseek-vision-cli (browser automation driving chat.deepseek.com's vision mode) and returns the image description as text to the model.

Tool

  • deepseek_vision(image, prompt?)
    • image: absolute path to a local image (PNG/JPG/WebP/GIF; HEIC is not supported)
    • prompt: optional question or analysis request for the image

Installation

dsh plugin --profile web add D:/Dsh/tools/dsh-deepseek-vision

Or use the release tarball:

dsh plugin --profile web add dsh-deepseek-vision-0.0.1.tgz

First login

DeepSeek web vision requires a web login session. The current web UI uses password / third-party login, so the recommended way is the manual login helper:

py -3.13 D:\Dsh\tools\deepseek-vision-cli\dsv_manual_login.py

It opens an Edge window to the DeepSeek login page. After you log in manually, the helper saves the token to D:\Dsh\.cache\dsv_token.

Token login (alternative)

If you already have a DeepSeek web session in your normal browser, you can copy the token directly:

  1. Open https://chat.deepseek.com and log in.
  2. Press F12ApplicationLocal Storagehttps://chat.deepseek.com.
  3. Find userToken, copy its value field.
  4. Save it to D:\Dsh\.cache\dsv_token (no quotes, no newline):
[IO.File]::WriteAllText(
  'D:\Dsh\.cache\dsv_token',
  'PASTE_TOKEN_HERE',
  (New-Object Text.UTF8Encoding($false))
)

The token is only stored locally in D:\Dsh\.cache\dsv_token; it is never committed to this repository.

Configuration

Default configuration for this machine:

  • pythonCommand: py
  • pythonVersion: -3.13
  • dsvScript: D:/Dsh/tools/deepseek-vision-cli/dsv.py
  • timeoutMs: 180000
  • maxOutputChars: 20000

These can be overridden in a profile patch.

Security notes

  • The tool only accepts local file paths and invokes the external CLI through the DSH subprocess service with an argv array, never through a shell.
  • Images are sent to DeepSeek's web endpoint; this is not local recognition.
  • This relies on non-official web interfaces and may be subject to risk control. Use a secondary account and keep usage low-frequency.
  • Static security audit reports critical for spawning a subprocess; this is inherent to wrapping an external CLI. The code has been manually reviewed: it only runs the fixed dsv.py, with no command concatenation or extra exfiltration.

License

MIT

저장소 정보

언어
JavaScript
라이선스
MIT
최신 릴리스
v0.0.1
마지막 업데이트
2026. 8. 16. 오후 5:06

신중하게 설치하기

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