Плагин «dsh-better-debug» для DeepSeek Harness: Appends one short user message before the next step when the model is circling: the same absolute path written three times, the same normalised tool error returned twice, or two steps since the last write with neither a verify nor a search. Verification is recognised from four tool names (`ops_bash`, `lsp_diagnostics`, `verify`, `run_tests`), searching from eight. Each signal fires once per turn and only after a new write or error, is silenced for the whole turn when you say not to search, and is skipped in subagent sessions. Ships the `stuck-gate` skill at bundled rank 600, so a user-level copy at rank 400 overrides its wording without touching code, plus a read-only gain panel at `/better-debug` that counts firings, sessions covered and whether the next tool call changed class; it does not estimate tokens saved.
★ 1 звёзд GitHub↓ 1 136 загрузок за 30 дней8 ноября 2026 г. добавлен📦 npm verified
БЫСТРАЯ УСТАНОВКА
Команды для терминала DSH
dsh plugin --profile web add "https://github.com/Leonlee114514/dsh-better-debug/releases/download/v0.1.1/dsh-better-debug-0.1.1.tgz"
Запустите команду в терминале, где работает DeepSeek Harness. Перезапуск применит плагин автоматически.
ОПИСАНИЕ И ВОЗМОЖНОСТИ
Что делает dsh-better-debug
Плагин «dsh-better-debug» для DeepSeek Harness: Appends one short user message before the next step when the model is circling: the same absolute path written three times, the same normalised tool error returned twice, or two steps since the last write with neither a verify nor a search. Verification is recognised from four tool names (`ops_bash`, `lsp_diagnostics`, `verify`, `run_tests`), searching from eight. Each signal fires once per turn and only after a new write or error, is silenced for the whole turn when you say not to search, and is skipped in subagent sessions. Ships the `stuck-gate` skill at bundled rank 600, so a user-level copy at rank 400 overrides its wording without touching code, plus a read-only gain panel at `/better-debug` that counts firings, sessions covered and whether the next tool call changed class; it does not estimate tokens saved.
Показать оригинальное описание (EN/ZH)
Appends one short user message before the next step when the model is circling: the same absolute path written three times, the same normalised tool error returned twice, or two steps since the last write with neither a verify nor a search. Verification is recognised from four tool names (`ops_bash`, `lsp_diagnostics`, `verify`, `run_tests`), searching from eight. Each signal fires once per turn and only after a new write or error, is silenced for the whole turn when you say not to search, and is skipped in subagent sessions. Ships the `stuck-gate` skill at bundled rank 600, so a user-level copy at rank 400 overrides its wording without touching code, plus a read-only gain panel at `/better-debug` that counts firings, sessions covered and whether the next tool call changed class; it does not estimate tokens saved.
УДАЛЕНИЕ ПЛАГИНА
Как удалить при необходимости
dsh plugin --profile web remove dsh-better-debug
🛡️
Безопасность и аудит
Плагины выполняются в окружении пользователя 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.