Skip to content

Conversation

@ryoppippi
Copy link
Owner

Summary

Remove the deprecated blocks --live monitor feature. This is a breaking change for v18.0.0.

What Changed

  • Removed _live-monitor.ts, _live-rendering.ts, and _blocks.live.ts
  • Removed --live and --refresh-interval CLI options from blocks command
  • Removed related constants from _consts.ts
  • Updated documentation to mark feature as removed in v18 (reference preserved for v17.x users)

Why

The live monitor feature was deprecated in favour of the simpler statusline command. Removing it reduces code complexity and maintenance burden.

Breaking Change

Users relying on ccusage blocks --live should either:

  • Stay on v17.x if the feature is needed
  • Use ccusage statusline as an alternative for real-time monitoring

BREAKING CHANGE: The `blocks --live` monitor feature has been removed.
This feature was deprecated and is available in v17.x only.

Removed files:
- _live-monitor.ts: Live monitoring state management
- _live-rendering.ts: Terminal rendering for live display
- _blocks.live.ts: Live monitoring command orchestration

Removed CLI options:
- --live: Real-time monitoring mode
- --refresh-interval: Update frequency for live mode

Removed constants:
- MIN_RENDER_INTERVAL_MS
- MAX_REFRESH_INTERVAL_SECONDS
- MIN_REFRESH_INTERVAL_SECONDS
- BURN_RATE_THRESHOLDS

Documentation updated to mark feature as removed in v18 while
preserving reference for v17.x users.
@coderabbitai
Copy link

coderabbitai bot commented Jan 9, 2026

Warning

Rate limit exceeded

@ryoppippi has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 43 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 9f4f9ec and 4cc4fa9.

📒 Files selected for processing (10)
  • apps/ccusage/README.md
  • apps/ccusage/src/_consts.ts
  • apps/ccusage/src/_live-monitor.ts
  • apps/ccusage/src/_live-rendering.ts
  • apps/ccusage/src/commands/_blocks.live.ts
  • apps/ccusage/src/commands/blocks.ts
  • docs/.vitepress/config.ts
  • docs/guide/blocks-reports.md
  • docs/guide/live-monitoring.md
  • docs/index.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 9, 2026

Open in StackBlitz

ccusage

npm i https://pkg.pr.new/ryoppippi/ccusage@782

@ccusage/codex

npm i https://pkg.pr.new/ryoppippi/ccusage/@ccusage/codex@782

@ccusage/mcp

npm i https://pkg.pr.new/ryoppippi/ccusage/@ccusage/mcp@782

@ccusage/opencode

npm i https://pkg.pr.new/ryoppippi/ccusage/@ccusage/opencode@782

@ccusage/pi

npm i https://pkg.pr.new/ryoppippi/ccusage/@ccusage/pi@782

commit: d931392

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
ccusage-guide 4cc4fa9 Jan 09 2026, 11:53 AM

@ryoppippi ryoppippi merged commit 9c6168d into main Jan 9, 2026
11 of 13 checks passed
@ryoppippi ryoppippi deleted the remove/blocks-live-monitor branch January 9, 2026 11:52
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