[Feature Request] Display API usage and rate limit reset time in statusline

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Nov 15, 2025 · closed Nov 18, 2025

Bug Description
feature request, it would be great to have the ability to show usage and reset time in the statusline

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.42
  • Feedback ID: 3f9df2c6-1b4f-43bd-bf23-c436683950c6

Errors

[{"error":"AggregateError\n    at RAA.from (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:49:51655)\n    at GH.<anonymous> (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:67:10018)\n    at GH.emit (node:events:508:28)\n    at GH.emit (node:domain:489:12)\n    at K51.<computed> (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:66:1119)\n    at ClientRequest.emit (node:events:508:28)\n    at ClientRequest.emit (node:domain:489:12)\n    at emitErrorEvent (node:_http_client:108:11)\n    at TLSSocket.socketErrorListener (node:_http_client:575:5)\n    at TLSSocket.emit (node:events:508:28)\n    at rZA.request (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:69:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async de2 (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:3857:34116)","timestamp":"2025-11-15T06:39:45.288Z"},{"error":"MaxFileReadTokenExceededError: File content (67549 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UqQ (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1643:28503)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1652:963)\n    at async file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:3622:1402","timestamp":"2025-11-15T06:40:41.817Z"},{"error":"MaxFileReadTokenExceededError: File content (67549 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UqQ (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1643:28503)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1652:963)\n    at async file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:3622:1402","timestamp":"2025-11-15T06:41:01.936Z"},{"error":"MaxFileReadTokenExceededError: File content (67549 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UqQ (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1643:28503)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1652:963)\n    at async file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:3622:1402","timestamp":"2025-11-15T06:41:18.727Z"},{"error":"MaxFileReadTokenExceededError: File content (67549 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UqQ (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1643:28503)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1652:963)\n    at async file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:3622:1402","timestamp":"2025-11-15T06:41:44.813Z"},{"error":"MaxFileReadTokenExceededError: File content (67549 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UqQ (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1643:28503)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.call (file:///C:/Users/NathanBaker/AppData/Roaming/nvm/v24.11.1/node_modules/@anthropic-ai/claude-code/cli.js:1652:963)\n    at async file:///C:/Users/Nath

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗