dsh-task-budget

Per-task cost dashboard and budget guard that prices each model call at peak or off-peak rates, turns the remaining budget into a per-turn work envelope in the system prompt, and stops the task at its cap until the user replies. The default cap is ¥0.5 per task.

Overview

Per-task cost dashboard and budget guard that prices each model call at peak or off-peak rates, turns the remaining budget into a per-turn work envelope in the system prompt, and stops the task at its cap until the user replies. The default cap is ¥0.5 per task.

Installation

Install from GitHub

dsh plugin --profile web add github:Andromder/dsh-task-budget

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.