flykit-cc/dsh-claude-live ↗★ 0

dsh-claude-live

Run Claude Code headless as a subagent from the DeepSeek Harness, streaming a live digest of its steps into the session view while it works. 适合想借Claude Code执行任务的用户,需已装其CLI

Package
dsh-claude-live
Compatibility
Unverified
Harness peer range
^0.1.1-rc.2
Version
0.2.0
Last updated
Aug 27, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flykit-cc/dsh-claude-live

Usage

claude_live task="Refactor src/calc.js and run its tests" permissionMode="full" cwd="/srv/project"
ArgumentRequiredMeaning
taskyesComplete, self-contained prompt. The child does not see this conversation.
cwdnoWorking directory. Defaults to the harness process directory.
permissionModenoreadonly → --permission-mode plan; full → --dangerously-skip-permissions; default (the default) → Claude's own configuration.
modelno--model override. Omit for Claude's default.

Returns { ok, result, stats: { events, toolCalls, durationMs } }, or { ok: false, error } when the CLI could not start, timed out, was cancelled, or exited without a result event. Every return value is sanitized to strict lossless JSON (no undefined, no NaN/Infinity/-0, no class instances, no cycles) — the harness rejects anything else.

While the run is in flight you see ONE self-updating row under the claude_live call (throttled ≤1/s) — the header tracks the current step, the body is a rolling window of recent digest lines plus a live counter:

claude:Bash · npm test          ← header = current step
▸ claude full: Refactor src/calc.js and run its tests
✱ Reading the module to see what the tests cover
▸ Read: /srv/project/src/calc.js
▸ Bash: npm test
◦ 4 steps · 0:12                ← rolling counter

The row settles to claude:done when Claude finishes. No row-per-step stacking — the transcript stays flat, like the Claude Code CLI.