Repository navigation
Conversation
`bee now` always looked back a fixed 10 hours, and when nothing was found it printed "- (none)" without saying which window was searched. That made it hard to tell "no recent recordings" apart from "recording outside the window". - add `--hours N` (1-168, default 10) to change the window - empty state now reads "- (none in the last N hours)" - reject unknown arguments as before - add tests for the window, the empty state, --json and invalid values Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
bee nowalways looks back a fixed 10 hours. When nothing is found it prints- (none)without saying which window was searched, so "no recent recordings" looks the same as "the recording is older than the window". I hit this while building a tool on top of the CLI for the Amazon Developer Hackathon (Bee track).Change
bee now --hours N(1–168, default 10) changes the look-back window; works with--json.- (none in the last N hours)(1 hoursingular).parsePositiveInt(--hours requires a value,--hours must be an integer between 1 and 168); unknown arguments are still rejected.nowupdated.sources/commands/now/index.test.ts(localBun.serveupstream through the proxy client, same pattern as the status command test): empty state, narrowing/widening the window,--jsonwindow size, invalid values.Default behaviour without
--hoursis unchanged apart from the empty-state text.Testing
bun run typecheckpassesbun test: 380 pass, 1 fail — the failing test isphotos command (registry-derived) > get --output writes the image and prints the released summary, which also fails onmainwithout this change (run on Windows 11, Bun 1.4.3)bun run build, thenbee now --hours 1against my account returns the expected recent conversations🤖 Generated with Claude Code