Skip to content

list, search: add --since option to filter shared sessions - #4

Merged
nrzz merged 1 commit into
nrzz:mainfrom
yoreva-01:feature/since-option
Oct 28, 2026
Merged

nrzz merged 1 commit into
nrzz:mainfrom
yoreva-01:feature/since-option

Conversation

@yoreva-01

Copy link
Copy Markdown
Contributor

Resolves #3.

Summary

  • Adds the --since\ option to \claude-team list\ and \claude-team search.
  • Accepts relative hours, days, and weeks (\12h, \7d, \2w), or a date (\YYYY-MM-DD, local midnight).
  • Rejects invalid values with exit code 1 and a descriptive message.
  • Filters sessions by comparing \Date.parse(s.meta.sharedAt) >= since.
  • Documents --since\ in help text and in \README.md\ (examples and command options table).
  • Adds unit tests in \ est/transcript.test.mjs\ and multi-session end-to-end tests in \ est/e2e.test.mjs.

Verification

  • All 58 tests pass (
    pm test).
  • Pure LF line endings verified.

@nrzz
nrzz merged commit e286afa into nrzz:main Oct 28, 2026
10 checks passed
@nrzz

nrzz commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Merged and released as 1.3.0, with your name in the changelog and the release notes. Thank you; writing the old and the recent session straight into a hub folder, so the test never depends on a real share, made the filter easy to trust.

I ran the suite on your branch (58 passing, 0 failing) and your CI passed on all three systems. The release commit added what the pull request left out: the changelog entry, and the README's test count (57 tests; it said 54). It also lists notes under --limit in the new option table, since that command takes it too.

If you want the next one, #5 is claude-team notes --since, plus a clearer message when a filtered list finds nothing.

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.

Add --since to claude-team list and search

2 participants