Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(providers): show Muse Code subscription usage in Limits #17151

Closedntindle(GitHub profile, opens in a new tab)wants to merge 12 commits intomain fromrefs/pull/17151/headopened View on GitHub

Showing 21 changed files with 133 additions and 2 deletions (loading 18).

x
0 of 21 viewed, 21 left
1 addition and 0 deletionsapps/mobile/src/features/usage/UsageLimitsPooled.tsxModified
View file
@@ -31,6 +31,7 @@
codex: "Codex",
claudeAgent: "Claude",
antigravity: "Antigravity",
+ muse: "Muse Code",
};
const PACE_LABEL = { ahead: "Ahead of pace", on: "On pace", under: "Under pace" } as const;
​
94 additions and 1 deletionapps/server/src/usage/cliproxyApi.test.tsModified
View file
@@ -48,7 +48,7 @@
​
function fixture(
options: {
- accounts?: Array<(typeof accounts)[number] & { disabled?: boolean }>;
+ accounts?: ReadonlyArray<Record<string, unknown>>;
upstream?: (request: RequestBody) => { status: number; body: unknown };
cooldownStatus?: number;
} = {},
@@ -181,6 +181,99 @@
}),
​
+ it.effect("reads Meta usage from the hub's own observations without an upstream call", () =>
+ Effect.gen(function* () {
+ yield* TestClock.setTime(1791447762610);
+ const meta = {