nexus/server/src/routes
Sai Shankar 9d21380699 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-16 15:08:54 -05:00
..
access.ts feat: optimize heartbeat token usage 2026-03-13 09:40:43 -05:00
activity.ts Fix issue run lookup and heartbeat run summaries 2026-03-11 17:23:33 -05:00
agents.ts feat: optimize heartbeat token usage 2026-03-13 09:40:43 -05:00
approvals.ts server: make approval retries idempotent (#499) 2026-03-10 12:00:29 -04:00
assets.ts Use attachment-size limit for company logos 2026-03-16 10:13:19 -05:00
authz.ts feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
companies.ts Clarify missing companyId error for malformed issues path 2026-03-06 14:25:34 -06:00
costs.ts feat(costs): add agent model breakdown, harden date validation, sync CostByProject type, fix quota threshold and tab-gated queries 2026-03-16 15:08:54 -05:00
dashboard.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
goals.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
health.ts Fix authenticated smoke bootstrap flow 2026-03-09 15:30:08 -05:00
index.ts feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
issues-checkout-wakeup.ts Cut over OpenClaw adapter to strict SSE streaming 2026-03-05 15:54:55 -06:00
issues.ts fix(issue-documents): address greptile review 2026-03-14 09:18:59 -05:00
llms.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
plugin-ui-static.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugins.ts Add kitchen sink plugin example 2026-03-13 23:03:51 -05:00
projects.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
secrets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
sidebar-badges.ts Fix inbox badge logic and landing view 2026-03-10 22:55:45 -05:00