Study-Mate
Miaotofu01
你的AI学习搭档:定路线、讲知识、做项目,边学边做,学透一门科目
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:michael-berardi/steak-dsh
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A plugin bundle and launcher for DeepSeek Harness
(dsh), for coding tasks in the terminal. It adds model flags, checks after edits,
file-edit boundaries and a smaller default tool inventory. The launcher leaves your existing profiles alone.
Node 22+, no runtime npm dependencies, MIT licensed. By Pareto Cybernetics.
By default, the agent runs commands with full access to your machine and never stops to ask, so long coding sessions can finish while you are away.
Use --permission workspace-write or --permission read-only to request a sandbox.
Owned paths restrict file tools, not shell commands; add --no-shell when that boundary matters.
macOS and Linux:
curl -fsSL https://github.com/michael-berardi/steak-dsh/releases/latest/download/install.sh | sh
Windows (PowerShell 5.1 or 7):
irm https://github.com/michael-berardi/steak-dsh/releases/latest/download/install.ps1 | iex
The installer checks release SHA-256 checksums. It uses an existing Node 22+ and dsh,
or installs private copies; it also attempts to add the bundle to the headless
profile. If that profile step fails, the launcher still works.
The supported dsh range is >=0.2.2-rc.1 <0.3.0.
Files live under ~/.steak-dsh, commands under ~/.local/bin. On Windows both live
under %LOCALAPPDATA%\steak-dsh. No sudo is needed. Follow the printed PATH instruction
if necessary, then use a model already configured in dsh:
steak-dsh doctor
steak-dsh run --permission workspace-write --verify "npm test" "fix the failing parser test"
Run the installer again to update. Overrides: STEAK_DSH_HOME, STEAK_DSH_BIN_DIR,
STEAK_DSH_VERSION, STEAK_DSH_DSH_VERSION, STEAK_DSH_RELEASE_BASE.
To remove it, delete the install directory and its command shims, then run
dsh plugin --profile headless remove steak-dsh if you added the profile bundle.
Already have Node and a supported dsh? Install only the launcher:
npm i -g github:michael-berardi/steak-dsh#v0.10.3
Or add only the plugin to a profile:
dsh plugin --profile headless add github:michael-berardi/steak-dsh#v0.10.3
With Node 22+ and a supported dsh installed:
git clone https://github.com/michael-berardi/steak-dsh.git
npm install -g ./steak-dsh
steak-dsh run --model deepseek-official/deepseek-flash "add a --json flag"
steak-dsh chat --model deepseek-official/deepseek-flash
steak-dsh tui --model deepseek-official/deepseek-flash --permission workspace-write --approval-policy ask
steak-dsh run --json --owned-path "$PWD/src" --no-shell "rename the parser helper"
steak-dsh --help
run emits text or, with --json, dsh NDJSON. chat is line-based; tui is full-screen
and requires --model. Only the TUI can answer approval prompts; run and chat
refuse requests needing approval even with --approval-policy ask.
--add-dir does not work over the TUI's SDK connection.
For a gateway, pass --model provider/model, --base-url, --api and --key-env.
The API is openai-completions, openai-responses or anthropic-messages.
--key-env takes an environment variable name, never the key itself.
--effort controls reasoning; --stock omits the bundle for comparisons.
Two optional login-backed routes are included:
claude-code/<model> uses the installed Claude Code CLI and its login. Authenticate
with claude auth login. API-key and alternative-billing environment settings are
refused; usage credits require STEAK_DSH_CLAUDE_CODE_ALLOW_USAGE_CREDITS=1.openai-codex/<model> uses the Codex CLI's file login and dsh's Codex transport.
Authenticate with codex login; keyring-only storage is not supported. Token renewal
writes the refreshed login back to auth.json.Both routes are text-only, need no gateway flags and cannot be used with --stock.
steak-dsh models lists their available models; --json --provider openai-codex
filters machine-readable output. A failed route reports an error and exit status 1.
--verify "npm test" runs your check after an edit. After two consecutive failures,
verification pauses until the next request. Persistent project settings belong in
$DSH_HOME/steak-dsh.json (default ~/.dsh/steak-dsh.json):
{ "projects": { "/abs/path/to/project": { "verify": { "command": "npm test", "failLimit": 2, "timeoutMs": 90000 } } } }
A project's .steak-dsh/config.json is read only if the project is listed under
"trusted" in that user configuration.
See profiles for the bundle switches and --long,
terminal UI for keys and rendered examples, and security
for the trust boundary. steak-dsh --help is the flag reference.
These are historical 0.1.0 results, not measurements of the current release. The checked-in rows cover 20 small Python tasks, five repeats per arm. All 100 runs succeeded for both stock dsh and Steak DSH on each model below.
| Model | Steak DSH / stock dsh cost | 95% bootstrap interval |
|---|---|---|
| DeepSeek V4.1 Flash | 0.84 | 0.76–0.93 |
| Qwen 4 Max (weighted tokens, not dollars) | 0.70 | 0.62–0.78 |
Recompute from this repository without model access:
python3 benchmarks/summarize.py benchmarks/results/2026-11-11-deepseek-v4.1-flash.jsonl --md
python3 benchmarks/summarize.py benchmarks/results/2026-11-11-qwen4-max.jsonl --md
Each command overwrites summary.json beside its input. These tasks do not establish
large-project performance or a current-version saving. The sample was extended after
an initial look; see the gate. See benchmark instructions
for fixtures, prices, weighting and paid reruns.
No dependency install or compilation is needed:
npm test
python3 benchmarks/selftest.py
See contributing and changelog.
Part of Pareto Cybernetics: free, private, open-source tools for working with AI agents.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: benchmark。