DSHПЛАГИНЫ
🔧
ПЛАГИН DEEPSEEK HARNESS

dsh-cost-ledger

Автор: @dingchenhui0618-arch ↗

Плагин «dsh-cost-ledger» для DeepSeek Harness: Auditable token-cost ledger for DeepSeek Harness: wraps the llm/stream waterfall and records every call with provider, model, input/output/cache-hit/cache-write tokens, usage source and integer nano-CNY cost from an explicit price table. Aggregates by hour, day and session; exports JSON or CSV with a no-write dry-run preview; keeps a manually entered official platform bill in a parallel column with actual-minus-estimate diff. Unknown provider/model routes stay explicitly unpriced. Zero runtime dependencies; no balance query, notifications or animations.

★ 0 звёзд GitHub27 октября 2026 г. добавлен
БЫСТРАЯ УСТАНОВКА

Команды для терминала DSH

dsh plugin --profile web add github:dingchenhui0618-arch/dsh-cost-ledger

Запустите команду в терминале, где работает DeepSeek Harness. Перезапуск применит плагин автоматически.

ОПИСАНИЕ И ВОЗМОЖНОСТИ

Что делает dsh-cost-ledger

Плагин «dsh-cost-ledger» для DeepSeek Harness: Auditable token-cost ledger for DeepSeek Harness: wraps the llm/stream waterfall and records every call with provider, model, input/output/cache-hit/cache-write tokens, usage source and integer nano-CNY cost from an explicit price table. Aggregates by hour, day and session; exports JSON or CSV with a no-write dry-run preview; keeps a manually entered official platform bill in a parallel column with actual-minus-estimate diff. Unknown provider/model routes stay explicitly unpriced. Zero runtime dependencies; no balance query, notifications or animations.

Показать оригинальное описание (EN/ZH)

Auditable token-cost ledger for DeepSeek Harness: wraps the llm/stream waterfall and records every call with provider, model, input/output/cache-hit/cache-write tokens, usage source and integer nano-CNY cost from an explicit price table. Aggregates by hour, day and session; exports JSON or CSV with a no-write dry-run preview; keeps a manually entered official platform bill in a parallel column with actual-minus-estimate diff. Unknown provider/model routes stay explicitly unpriced. Zero runtime dependencies; no balance query, notifications or animations.

УДАЛЕНИЕ ПЛАГИНА

Как удалить при необходимости

dsh plugin --profile web remove dsh-cost-ledger
🛡️

Безопасность и аудит

Плагины выполняются в окружении пользователя DSH. Рекомендуется проверять исходный код, зависимости и запрашиваемые разрешения в репозитории автора перед установкой.