Skip to content

feat(cli): add --wait flag for consolidate and --date filter for document list#244

Merged
nicoloboschi merged 1 commit into
vectorize-io:mainfrom
slayoffer:feat/cli-consolidate-wait-and-date-filter
Jan 30, 2026
Merged

feat(cli): add --wait flag for consolidate and --date filter for document list#244
nicoloboschi merged 1 commit into
vectorize-io:mainfrom
slayoffer:feat/cli-consolidate-wait-and-date-filter

Conversation

@slayoffer
Copy link
Copy Markdown
Contributor

Summary

  • bank consolidate: Add --wait flag to poll for operation completion status instead of returning immediately
  • bank consolidate: Add --poll-interval option (default 10s) to control polling frequency when using --wait
  • document list: Add --date filter to show documents by date (yesterday, today, YYYY-MM-DD, or all)

Usage Examples

# Wait for consolidation to complete
hindsight bank consolidate my-bank --wait

# With custom poll interval
hindsight bank consolidate my-bank --wait --poll-interval 5

# List documents from yesterday (default)
hindsight document list my-bank --date yesterday

# List today's documents
hindsight document list my-bank --date today

# List documents from a specific date
hindsight document list my-bank --date 2026-01-15

# List all documents grouped by date
hindsight document list my-bank --date all

Test plan

  • Test hindsight bank consolidate <bank> --wait polls until completion
  • Test hindsight document list <bank> --date today filters correctly
  • Test hindsight document list <bank> --date 2026-01-30 filters by specific date
  • Test hindsight document list <bank> --date all shows all documents grouped by date

🤖 Generated with Claude Code

…ment list

- bank consolidate: add --wait flag to poll for completion status
- bank consolidate: add --poll-interval option (default 10s)
- document list: add --date filter (yesterday, today, YYYY-MM-DD, or all)

[skip ci]

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicoloboschi nicoloboschi merged commit ff20bf9 into vectorize-io:main Jan 30, 2026
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.

2 participants