Repository navigation
feat(last): search listed claude profile dirs for an exact session id - #130
Open
sebastianst wants to merge 2 commits into
Open
sebastianst wants to merge 2 commits into
sebastianst wants to merge 2 commits into
Conversation
sebastianst
marked this pull request as draft
November 4, 2026 15:42
The TUI runs under the Herdr server, which doesn't have the agent's CLAUDE_CONFIG_DIR, so a session of a Claude Code started with another config dir (e.g. ~/.claude-max) was never found. `[last] claude_profile_dirs` lists further config dirs to search, after the configured one. Nothing changes without the key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sebastianst
force-pushed
the
seb/claude-config-dirs
branch
from
November 4, 2026 15:50
2447341 to
56ae3a8
Compare
sebastianst
marked this pull request as ready for review
November 4, 2026 15:50
…ound A stale claude_profile_dirs entry was skipped silently, so the error gave no hint why a session wasn't found. A missing dir stays harmless when the session is found elsewhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
hey @backnotprop any chance we could get this in soon? Without it plannotator-tui doesn't work at all for multi-profile setups. I reported the issue upstream (see linked herdr discussion) but they're not very receptive... |
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.
Adds an optional
[last] claude_profile_dirslist of Claude Code config dirs to search for a session by its exact id, afterCLAUDE_CONFIG_DIRor~/.claude. Nothing changes without the key.The TUI runs under the Herdr server, which doesn't have the agent's
CLAUDE_CONFIG_DIR, solastnever finds a session from a Claude Code started with another config dir. If the session isn't found, the error names any listed dir that doesn't exist.This is a workaround. Herdr's Claude hook already receives the transcript path but drops it. herdrdev/herdr#5330 proposes keeping it on
agent_session. With that,herdr lastcould open the right file directly, and this key could go away.🤖 Co-created with Claude Opus 5.5