Плагин «dsh-power-switch» для DeepSeek Harness: Adds a power button to the session header with two actions, each requiring a second click to confirm. Restart terminates the Electron main process itself (taskkill /F without /T), so no crash dialog appears: the host then exits gracefully on its own once the IPC channel drops, and a detached helper relaunches the same executable after the single-instance lock is released, confirming the new instance by a real window handle. Shut down does the same without relaunching. Leftover GPU and renderer processes from the previous run are reaped best-effort. Windows desktop app.
★ 2 звёзд GitHub27 октября 2026 г. добавлен
БЫСТРАЯ УСТАНОВКА
Команды для терминала DSH
dsh plugin --profile web add "https://github.com/hongdougao111/dsh-power-switch/releases/download/v0.1.4/dsh-power-switch-0.1.4.tgz"
Запустите команду в терминале, где работает DeepSeek Harness. Перезапуск применит плагин автоматически.
ОПИСАНИЕ И ВОЗМОЖНОСТИ
Что делает dsh-power-switch
Плагин «dsh-power-switch» для DeepSeek Harness: Adds a power button to the session header with two actions, each requiring a second click to confirm. Restart terminates the Electron main process itself (taskkill /F without /T), so no crash dialog appears: the host then exits gracefully on its own once the IPC channel drops, and a detached helper relaunches the same executable after the single-instance lock is released, confirming the new instance by a real window handle. Shut down does the same without relaunching. Leftover GPU and renderer processes from the previous run are reaped best-effort. Windows desktop app.
Показать оригинальное описание (EN/ZH)
Adds a power button to the session header with two actions, each requiring a second click to confirm. Restart terminates the Electron main process itself (taskkill /F without /T), so no crash dialog appears: the host then exits gracefully on its own once the IPC channel drops, and a detached helper relaunches the same executable after the single-instance lock is released, confirming the new instance by a real window handle. Shut down does the same without relaunching. Leftover GPU and renderer processes from the previous run are reaped best-effort. Windows desktop app.
УДАЛЕНИЕ ПЛАГИНА
Как удалить при необходимости
dsh plugin --profile web remove dsh-power-switch
🛡️
Безопасность и аудит
Плагины выполняются в окружении пользователя DSH. Рекомендуется проверять исходный код, зависимости и запрашиваемые разрешения в репозитории автора перед установкой.
Официальный плагин для миллиарда контекстов: плагин для сжатия контекста для небольших контекстных окон (достаточно контекста в 100 000), экономия токенов (в 5 раз меньше токенов) и одиночные сеансы продолжительностью в месяц (миллиарды токенов).
Плагин «dsh-infinite-gen-4» для DeepSeek Harness: System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
Плагин системной подсказки защиты для моделей DeepSeek: добавляет раздел подсказки о безусловном соответствии в порядке 100, предоставляет инструмент профиля с метаданными калибровки и показывает значок состояния защиты в реальном времени, управляемый проекцией сеанса.