agent-orchestrator/packages
Prateek 75615cea95 fix: correct grammar in RateLimitError messages
Addresses Cursor Bugbot review comment on PR #65.

## Issue
Error messages showed grammatically incorrect output:
- "in 1 minutes" (should be "in 1 minute")
- "in 0 minutes" for past reset times (should be "should be available now")
- Always showed minutes even for short durations under 60 seconds

## Fix
- Handle singular vs plural correctly ("1 second" vs "2 seconds", "1 minute" vs "2 minutes")
- Show seconds for durations under 60 seconds ("in 30 seconds")
- Show "should be available now" when reset time is in the past
- Update tests to expect correct grammar

## Tests
- Updated existing tests to expect correct output
- Added new tests for singular/plural edge cases
- All 9 rate limit tests passing

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 16:09:39 +05:30
..
agent-orchestrator feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
cli refactor: delegate CLI commands to core SessionManager (#88) 2026-02-18 14:30:17 +05:30
core fix: correct grammar in RateLimitError messages 2026-02-18 16:09:39 +05:30
integration-tests fix: activity detection — fix path encoding bug, add ready state (#71) 2026-02-18 03:48:19 +05:30
plugins feat: add plugin-agnostic rate limit handling architecture 2026-02-18 16:09:39 +05:30
web feat: add plugin-agnostic rate limit handling architecture 2026-02-18 16:09:39 +05:30