y2zyyr/dsh-restart-button
y2zyyr★ 0JavaScript最后同步: 2026-08-19
@y2zyyr/dsh-restart-button — one-click Restart DSH button in Settings → General (DSH Desktop), using the official desktopRuntime.requestRestart() facade.
README 摘要
Restart DSH Adds a Restart DSH button to DSH Desktop → Settings → General (通用设置). It sits directly below「繁忙时 Enter 键行为」and lets you restart the DSH Desktop application with one click, using DSH's official graceful restart facility. Features - Restart DSH Desktop from Settings → General (官方 slot: settings.general.item ) - Uses the official DSH Desktop restart API ( ctx.desktopRuntime.requestRestart() → graceful Cordis teardown + app.relaunch() + app.exit(0) ) — no shell, no kill, no sudo - Native confirmation dialog (native Modal + Button primitives) before restarting - Single-flight protection: while a restart is pending the button shows 「正在重启…」and is disabled - Light / Dark theme via DSH design tokens ( --dsw-alias- ) — no hardcoded colors - i18n: zh-CN + en - No telemetry, no network access, no credential access, no filesystem access Installation Local install into a DSH web profile (additive, backed-up edits): 1. Add to /.dsh/profiles/web/package.json dependencies : 2. Add @y2zyyr/dsh-restart-button to dsh.profile.bundles . 3. Run pnpm install in the profile directory. 4. Restart DSH Desktop once so the new bundle's loader row activates. The plugin's own cordis.patch.yml registe…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 90,234
esengine/DeepSeek-ReasonixDeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.
★ 35,020
crafter-station/petdexA public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,949