Плагин «dsh-thinking-channel-guard» для DeepSeek Harness: Moves reasoning that a provider leaks into the visible text channel back into the reasoning channel, and emits a text block when a whole turn of answer text lands only in the reasoning channel. Catches three shapes: `<thinking>`-tagged text, text that continues a reasoning tail which ended mid-token, and an answer-only reasoning turn that stops. Healthy streams pass through unchanged, block order is preserved, and each of the four rules can be switched off in one JSON config.
★ 0 звёзд GitHub11 ноября 2026 г. добавлен
БЫСТРАЯ УСТАНОВКА
Команды для терминала DSH
dsh plugin --profile web add "https://github.com/laoyingfuhuole/dsh-thinking-channel-guard/releases/download/v1.1.0/dsh-thinking-channel-guard-1.1.0.tgz"
Запустите команду в терминале, где работает DeepSeek Harness. Перезапуск применит плагин автоматически.
ОПИСАНИЕ И ВОЗМОЖНОСТИ
Что делает dsh-thinking-channel-guard
Плагин «dsh-thinking-channel-guard» для DeepSeek Harness: Moves reasoning that a provider leaks into the visible text channel back into the reasoning channel, and emits a text block when a whole turn of answer text lands only in the reasoning channel. Catches three shapes: `<thinking>`-tagged text, text that continues a reasoning tail which ended mid-token, and an answer-only reasoning turn that stops. Healthy streams pass through unchanged, block order is preserved, and each of the four rules can be switched off in one JSON config.
Показать оригинальное описание (EN/ZH)
Moves reasoning that a provider leaks into the visible text channel back into the reasoning channel, and emits a text block when a whole turn of answer text lands only in the reasoning channel. Catches three shapes: `<thinking>`-tagged text, text that continues a reasoning tail which ended mid-token, and an answer-only reasoning turn that stops. Healthy streams pass through unchanged, block order is preserved, and each of the four rules can be switched off in one JSON config.
УДАЛЕНИЕ ПЛАГИНА
Как удалить при необходимости
dsh plugin --profile web remove dsh-thinking-channel-guard
🛡️
Безопасность и аудит
Плагины выполняются в окружении пользователя DSH. Рекомендуется проверять исходный код, зависимости и запрашиваемые разрешения в репозитории автора перед установкой.
Заменяет файловую систему и поставщиков bash на виртуальное рабочее пространство миража: файловые инструменты и команды оболочки запускаются над смонтированными ресурсами (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) вместо хост-диска, с режимами чтения/записи/исполнения для каждого монтирования, маршрутизацией в песочнице для каждой команды (monty, pyodide, QuickJs в процессе; Docker, e2b, Daytona Remote) и установленным CLI (git, gh, slack, linear, ntn, gws или тот, который вы зарегистрируете) в качестве заголовков виртуального терминала.
Плагин «oh-my-agent#dsh» для DeepSeek Harness: Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.