Repository navigation
docs: #27 の 0.2.0-rc.2 での確認手順と、旧版のコードの比較を記録する - #54
Merged
AliceSaikawa merged 2 commits intoNov 2, 2026
Merged
AliceSaikawa merged 2 commits into
AliceSaikawa merged 2 commits into
Conversation
…issue-27-2a7181b04019 # Conflicts: # docs/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is by an automated agent, not a human.
#27 の残作業を片づける PR です。方針の決定・spec-ui の更新・実装とテストは #42 で済んでいます。0.2.0-rc.2 については、更新後の #27 の完了条件どおり、コードの比較(
docs/spike.mdQ7)と確認手順(docs/dsh-version-check.md)の記録で代えます。手順は、0.2.0-rc.2 の実機で確かめたくなったときのために残しています。Closes #27
#27 の項目ごとの状態
docs/spec-ui.md§D を更新するsrc/block.tsのonAgentStatus、PendingNotices)docs/spike.mdQ7、docs/dsh-version-check.md)0.2.1-rc.2(#42)と 0.2.1-rc.3(#48)の実機では、通知が送信直後に最上位の行として読めることを確認済みです。
仕様の判断
方針は #42 で決まっていて、この PR では変えていません。候補と、いまの選択を残すことをおすすめする理由:
agent/statusの idle 遷移にずらして実現。追加の行も二重表示も無い。変更点
docs/spike.md「通知を turn の外に書く」に Q7 を足した。fix: ブロック通知を turn の外に書き、送信直後に見えるようにする #42 では比べていなかった 0.2.0-rc.2 のdsh-session・dsh-client-ui-conversation・dsh-client-ui-chat・dsh-commandsをnpm packで展開し、0.2.1-rc.2 と比べた。再入ガード、command/runの型、turn の無いイベントの帰属とturn/endでのリセット、turn の無いノードの最上位への配置は、どれも rc.2 と同じ規則でした(行番号は spike.md)。コードからの見込みは「0.2.0-rc.2 でも turn の外に書かれ、送信直後に読める」です。docs/dsh-version-check.mdに「0.2.0-rc.2 での ブロック通知がブロックされた turn の折りたたみの奥に隠れて、送信直後に読めない #27 の確認(手順。実施は未了)」の節を足し、「確認していないこと」に 1 行足した。結果を書く欄は「未実施」にしてある。docs/README.mdの目次に 1 文足した。0.2.0-rc.2 の実機での確認手順(任意)
詳しくは
docs/dsh-version-check.mdの新しい節にあります。要点:HOME・DSH_HOME・XDG_*・TMPDIRを隔離し、npm install --prefix <dir>/0.2.0-rc.2/prefix @deepseek-ai/dsh@0.2.0-rc.2で入れる。pnpm packし、dsh plugin --profile web add file:<tgz>で web プロファイルに入れる。cordis.patch.ymlの cache-sentinel にmode: blockとidleMinutes: 1。LLM はモックでも実在でもよい(応答が 1 回要る)。dsh webで 1 回送信して応答を受け、1 分待ってから送信する。turn/end(blocked)→command/run→command/doneの順で、command のイベントがturnを持たないことも確認する。検証
npm run typecheck: 成功npm test: 480 件中 476 件成功・4 件 skip(feat: 設定スキーマを export し、プラグイン画面から設定を編集できるようにする (#10) #55 で入った、本物の schemastery を指定したときだけ動くテスト)。main(docs: #17 の残作業として、解決済みの #36 の注意書きを消し、rustdsh への提案を下書きする #52・docs: 複数プロファイルの同時利用での競合を実機で確かめた記録を足す #53・feat: 設定スキーマを export し、プラグイン画面から設定を編集できるようにする (#10) #55)を取り込んだ後のものnpm run build: 成功。lib/に差分なし補足