d4go/dsh-checker

d4go★ 1JavaScript最后同步: 2026-08-20

在 GitHub 打开

README 摘要

dsh-checker English 中文 Update checker for DeepSeek Harness (dsh). It adds a Check for updates button to the Web UI session header — right before the shipped Session log button, wearing the exact same style — and opens a centered dialog with the result: - already the latest release → a short confirmation; - newer release on npm → the version delta plus the exact upgrade commands for your platform (Linux / macOS / Windows), each with a one-click copy button; - lookup failed → the error, so you know the check actually ran. The dialog is bilingual ( 中文 / English ) and follows the language configured in dsh settings ( locale.preference ), falling back to the browser's language the same way the dsh UI itself does. How it works dsh-checker is a Cordis host plugin with three moving parts: Piece Role lib/main.js Stable loader shim (never edit). Imports lib/plugin.js?bust= so a config-only patch reload hot-deploys new code without restarting dsh. lib/plugin.js Registers GET /dsh-checker/status (installed vs. latest version, platform-appropriate commands, configured locale) and GET /dsh-checker/banner.js , and injects the script tag into the served index.html . lib/banner.js Browser UI, read …

在 GitHub 查看完整 README →
工具/开发cordisdeepseek-harnessdshdsh-pluginweb ui

分类