Skip to content

fix(server): usage no longer overprices cached Claude tokens - #8529

Closed
none23 wants to merge 2 commits into
pingdotgg:mainfrom
none23:t3code/simplify-usage-pricing-aliases
Closed

none23 wants to merge 2 commits into
pingdotgg:mainfrom
none23:t3code/simplify-usage-pricing-aliases

Merge branch 'main' into t3code/simplify-usage-pricing-aliases

213c4fe
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Effect Service Conventions succeeded Aug 29, 2026 in 20s

All clear

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.


🔍 Agent activity — 2 tool calls

💭 I'm checking the changed file to evaluate — it looks like the change involves a pricing rate table built from pure functions with no Effect services, so I'm inspecting usagePricing.ts to confirm.

1. browse_code — apps/server/src/usage/usagePricing.ts

2. browse_code — apps/server/src/usage/usagePricing.test.ts

💭 This module doesn't involve any Effect service creation or refactoring, so there's nothing to flag here. But there's a conflict: the instructions ask for a plain "All clear" response, while the schema requires JSON output—so I'll resolve this by embedding "All clear" within the required JSON structure, marking the state as success while double-checking there's no actual Effect-related code I'm missing.


Agent Credits: 22 credits

Token usage: 4 uncached input · 23,816 cache-read input · 27,837 cache-write input · 774 output
Agent Credits may also include non-token charges from external tools such as web research.