dsh-btw-live
Manifest valid★ 1DeepSeek Harness /btw: a side question about the live session, including the running turn; the answer stays out of the conversation history. MIT.
dsh-btw-live
DeepSeek Harness の /btw。いま動いているターンも含めてセッションに横から質問でき、答えは会話履歴にもモデルのコンテキストにも残りません。
特徴
- 実行中のターンのツールコールと結果も読む(
session.snapshotEvents())。フォーク型のサイド質問と違い、ターンを止めずに「いまの状態」を聞ける - 1回きりの LLM 呼び出し。ツールは実行せず、履歴にも書き込まない
- 答えはトランスクリプト内の「BTW カード」で表示。Markdown、長い回答はカード内スクロール、ヘッダクリックで折りたたみ
- 回答待ちの間は「考えています…」、失敗は赤字。回答が届くと自動で開く
必要なもの
| DeepSeek Harness | 0.2.1-rc.2 で確認(conversation.chat.commandview スロットを使う) |
| Node.js | 22 以上 |
インストール
cd "${DSH_HOME:-$HOME/.dsh}/profiles/web"
pnpm add link:/path/to/dsh-btw-live
package.json の dsh.profile.bundles に追加:
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@local/btw-live"
]
dsh web を再起動してページを再読み込み。クライアント側は起動時にしかスキャンされないので、初回は再起動が必要です(2回目以降の client.js 編集は HMR が拾います)。
使い方
/btw いまどこまで進んだ?
設定
cordis.patch.yml の config(既定値):
| キー | 既定 | 意味 |
|---|---|---|
maxEvents | 80 | 読むイベント数(末尾から) |
maxChars | 16000 | トランスクリプト文字数の上限 |
toolArgChars | 300 | ツール引数の表示文字数 |
toolResultChars | 900 | ツール結果の表示文字数 |
maxTokens | 4096 | 回答の最大トークン |
timeoutMs | 120000 | 1回の呼び出しのタイムアウト |
仕組み
index.js(ホスト側)—commandsにbtwを登録する。セッションログからトランスクリプトを組み、llmで1回だけストリームする。答えはcommand/doneのtextとして返るclient.js(ブラウザ側)—conversation.chat.commandviewのbtwキーだけを差し替える。他のコマンドは汎用の行のまま。localeで ja / en / zh の辞書を持つ
ライセンス
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 19.6k
CC0-1.0
Python
Oct 19, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.2k
CC0-1.0
Python
Oct 16, 2026
by pax-beehive
Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub
★ 388
MIT
TypeScript
Oct 6, 2026
by xiajiajun516
DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.
★ 215
MIT
TypeScript
Oct 18, 2026
dsh plugin --profile web add dsh-config-managerby yjh051108
推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。
★ 166
TypeScript
Oct 16, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby jigjoy-ai
A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.
★ 124
MIT
TypeScript
Oct 13, 2026