Skip to content

fix: herdr セッション一覧に作業ディレクトリを表示 - #132

Open
dashi296 wants to merge 3 commits into
mainfrom
fix/herdr-working-directory
Open

fix: herdr セッション一覧に作業ディレクトリを表示#132
dashi296 wants to merge 3 commits into
mainfrom
fix/herdr-working-directory

Conversation

@dashi296

@dashi296 dashi296 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • collectHerdr()herdr pane list を追加で呼び、最初のペインの cwdworkingDirectory にマッピング
  • モバイルアプリ側で herdr セッションのディレクトリパスが表示されるようになる

Test plan

  • ビルド成功
  • WebSocket 経由で multiplexerSessionsworkingDirectory が含まれることを確認
  • herdr pane list 取得失敗時もエラーにならないことを確認(try/catch)

Closes #131

🤖 Generated with Claude Code

herdr pane list から最初のペインの cwd を取得し、
MultiplexerSessionInfo の workingDirectory にマッピングする。

Closes #131

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Promise.all 化の際に JSON.parse の例外が collectHerdr 全体を
reject させていた。try/catch で囲み、パース失敗時は
workingDirectory なしでセッション一覧を返すようにする。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pane list はセッションスコープで取得できないため、
セッションが1つの場合のみ workingDirectory を設定する。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

herdr セッション一覧に作業ディレクトリが表示されない

1 participant