nexus/packages
Sai Shankar ca7912d8b4 feat(costs): add agent model breakdown, harden date validation, sync CostByProject type, fix quota threshold and tab-gated queries
- add byAgentModel endpoint and expandable per-agent model sub-rows in the spend tab
- validate date range inputs with isNaN + badRequest to return HTTP 400 on bad input
- move CostByProject from a local api/costs.ts definition into packages/shared types
- gate providerData query on mainTab === providers, consistent with weekData/windowData/quotaData
- fix byProject range filter from finishedAt to startedAt, consistent with byProvider runs query
- fix WHAM used_percent threshold from <= 1 to < 1 to avoid misclassifying 1% usage as 100%
- replace inline opacity style with tailwind bg-primary/85 class in ProviderQuotaCard
- reset expandedAgents set when company or date range changes
- sort agent model sub-rows by cost descending in ui memo
2026-03-14 22:00:43 -05:00
..
adapter-utils Merge pull request #713 from paperclipai/release/0.3.1 2026-03-14 11:00:24 -05:00
adapters Merge pull request #864 from paperclipai/fix/agent-home-env 2026-03-14 12:44:28 -05:00
db Merge pull request #821 from paperclipai/feature/plugin-runtime-instance-cleanup 2026-03-14 13:45:56 -05:00
plugins Add globalToolbarButton slot type and update related documentation 2026-03-14 15:05:04 -07:00
shared feat(costs): add agent model breakdown, harden date validation, sync CostByProject type, fix quota threshold and tab-gated queries 2026-03-14 22:00:43 -05:00