Skip to content

Fix search over explicit nested session directories#254

Merged
luoyuctl merged 1 commit into
masterfrom
fix/search-explicit-nested-dirs
May 24, 2026
Merged

Fix search over explicit nested session directories#254
luoyuctl merged 1 commit into
masterfrom
fix/search-explicit-nested-dirs

Conversation

@luoyuctl
Copy link
Copy Markdown
Owner

Summary

  • load --search sessions through FindSessionFiles for explicit directories
  • keep default auto-discovery behavior unchanged
  • add regression coverage for nested session directories

Verification

  • go test ./...
  • built local binary and verified real local data:
    • /Users/edy/.codex/sessions --search terminal returned results
    • /Users/edy/.claude/projects --search gitlab returned results

Context

During v0.5.4 real-data verification, default --search worked, but --search with explicit nested Codex/Claude directories failed with 'No session files found' because the search path used LoadAll(dir), which only reads direct child files.

@luoyuctl luoyuctl merged commit 1f31699 into master May 24, 2026
1 check passed
@luoyuctl luoyuctl deleted the fix/search-explicit-nested-dirs branch May 24, 2026 17:15
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.

1 participant