dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Unified auto-continue + model failover plugin for DeepSeek Harness (RU/EN settings card)
Unified auto-continue + model failover plugin for DeepSeek Harness (DSH).
One plugin owns the whole resilience loop instead of splitting it across an auto-continue plugin and a failover plugin:
Retry-After (e.g. gateways answering
"retry in 3594s") is honoured instead of re-hammered after 60s.CONTEXT_WINDOW_EXCEEDED is request-scoped: the oversized request moves
to a larger-context candidate without parking the healthy route.maxSwitchesPerStep caps walk loops; maxConsecutive
bounds continue storms.Session.append API cannot carry the ignorable envelope
marker). Switch notices go out as ordinary user/message rows; state lives
in the status route and the settings namespace.ru language pack — DSH ships only zh/en).dsh plugin --profile web add link:/path/to/dsh-failover-continue
# or: dsh plugin --profile web add github:<you>/dsh-failover-continue
Disable the plugins it replaces (exactly one owner per waterfall), migrate settings, restart the host:
node scripts/migrate-settings.mjs --apply
# ~/.dsh/profiles/web/cordis.patch.yml
- id: auto-continue
disabled: true
- id: model-failover
disabled: true
- id: model-failover-settings
disabled: true
Single failover-continue: namespace in settings.yaml, fully editable from
Settings → Plugins → Failover + auto-continue: ordered fallbacks
(provider/model), tripCodes, thresholds/cooldowns, continue text/timing,
backoff, loop guard. See .kiro/specs/failover-continue/ (design repo) for
the full requirements/design/tasks.
npm run typecheck && npm test && npm run build
MIT — see LICENSE. Donor code and ideas are attributed in NOTICE.md.
Единый плагин автопродолжения + фолбэка моделей для DeepSeek Harness.
Один плагин владеет всем контуром устойчивости вместо связки «auto-continue + model-failover»:
Retry-After от провайдера
(например «retry in 3594s») соблюдается, а не забивается повторами.CONTEXT_WINDOW_EXCEEDED — request-scoped: тяжёлый запрос уходит на
модель с большим окном без парковки здорового маршрута.maxSwitchesPerStep режет петли ходьбы по цепочке,
maxConsecutive — штормы продолжений.Session.append не умеет маркер ignorable). Уведомления — обычными
user/message; состояние — в статус-роуте и неймспейсе настроек.ru — в DSH из коробки только zh/en).dsh plugin --profile web add link:/path/to/dsh-failover-continue
# или: dsh plugin --profile web add github:<you>/dsh-failover-continue
Отключить заменяемые плагины (ровно один владелец на waterfall), смигрировать настройки, перезапустить хост (см. выше). Миграция настроек:
node scripts/migrate-settings.mjs --apply
npm run typecheck && npm test && npm run build