Skip to content

Releases: KannaKuron/dsh-deepseek-vision-bridge

v0.2.1 — 卸载清理凭据

Choose a tag to compare

@KannaKuron KannaKuron released this 17 Aug 17:07

凭据卫生

卸载插件时自动清除存储的 DeepSeek token(~/.dsh/.credentials.yaml 的 DSV_USER_TOKEN)——卸载路径上包目录被 pnpm 删除,disposal 检测到 package.json 消失即 unset。

热重载 / 更新 / 停止保留 token(包目录存活),无需重新扫码。

安装/更新

市场页「更新」按钮,或:

dsh plugin --profile web add github:KannaKuron/dsh-deepseek-vision-bridge

host 半变更,更新后需重启 DSH。

Note

Talks to unofficial reverse-engineered web endpoints of chat.deepseek.com — use at your own risk and mind DeepSeek's ToS.

v0.2.0 — 懒转写架构

Choose a tag to compare

@KannaKuron KannaKuron released this 17 Aug 16:49

懒转写(破坏性行为变更)

v0.1.0 的急转写(pre-step 立即调视觉 API、固定四段式 prompt)被替换为懒转写:

  • pre-step 只做零 IO 替换:图片 → 占位卡文本块(媒体类型/尺寸/稳定对象路径/引导语),不阻塞
  • 占位卡落入 model-only surface,每轮持久可见;会话记录中原图照常显示
  • deepseek_vision 工具成为模型的"眼睛":何时分析、问什么,由模型结合用户当轮意图决定,prompt 不再套模板
  • llm/stream 兜底对历史图块生成同款占位卡(含路径),老会话也有一致抓手
  • 未登录时占位卡照常提供路径,登录后可补看
  • 首轮延迟从 +20~60s 降为 0

其他:DSH 0.1.0-rc.7 兼容验证、跨平台构建(Windows .cmd shim)、pnpm 安装双门排障文档。

安装/更新

dsh plugin --profile web add https://github.com/KannaKuron/dsh-deepseek-vision-bridge

更新后需重启 DSH(host 半变更)。完整变更见 README 排障段与 AGENTS.md 架构说明。

Note

Talks to unofficial reverse-engineered web endpoints of chat.deepseek.com — use at your own risk and mind DeepSeek's ToS.

v0.1.0

Choose a tag to compare

@KannaKuron KannaKuron released this 17 Aug 13:54

Initial release — vision bridge for text-only DSH agents.

What's inside

  • deepseek_vision model tool: structured image transcription (scene / verbatim text / key data / inference) through chat.deepseek.com's vision mode
  • In-chat images: paste or drop images in the DSH composer; they are auto-transcribed before entering a text-only model (agent/pre-step + capability patch + llm/stream net)
  • Settings page: WeChat QR / password / userToken login; token persists via the official credentials service (~/.dsh/.credentials.yaml)
  • Headless protocol worker: official PoW wasm, upload → fork → SSE completion, temporary web sessions always deleted
  • GitHub-only distribution (no npm): builds on install via prepare; the build script is cross-platform (macOS/Linux/Windows — no Unix-only commands, Windows .cmd shims resolved automatically)

Install

dsh plugin --profile web add https://github.com/KannaKuron/dsh-deepseek-vision-bridge

Then hard-refresh the browser (Cmd/Ctrl+Shift+R).

Two one-time pnpm gates may block the first install — both are resolved by editing ~/.dsh/profiles/web/pnpm-workspace.yaml (Windows: %USERPROFILE%\.dsh\profiles\web\pnpm-workspace.yaml) per the exact keys the error prints, then re-running the install:

  1. ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION — other plugins already in your profile are inside the 24h publish cooldown; add the listed package names under minimumReleaseAgeExclude.
  2. ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED — this project builds on install; add the printed key under allowBuilds (e.g. 'dsh-deepseek-vision-bridge@git+https://github.com/KannaKuron/dsh-deepseek-vision-bridge.git': true; the bare dsh-deepseek-vision-bridge: true form also works).

See the README troubleshooting section for the full walkthrough.

Updating: re-run the same install command (pulls the latest master).

Note

Talks to unofficial reverse-engineered web endpoints of chat.deepseek.com — use at your own risk and mind DeepSeek's ToS.