Increase Basic Agent free quota from 5 to 10 messages (#3147)
## Summary
- Raise the Basic Agent (free tier) message quota from 5 to 10 per
window.
- Add `src/lib/free_agent_quota_limit.ts` as the single source of truth;
IPC re-exports the constant.
- UI (selector, banner, chat error) uses `messagesLimit` from quota
status so copy stays in sync.
- Update `e2e-tests/free_agent_quota.spec.ts` for the new limit and
strings.
## Test plan
- `npm run fmt && npm run lint:fix && npm run ts`
- `npm test` (vitest)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Made with [Cursor](https://cursor.com)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3147"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
Co-authored-by:
Claude <noreply@anthropic.com>
正在显示
src/lib/free_agent_quota_limit.ts
0 → 100644
请
注册
或者
登录
后发表评论