Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(usage): count Pi turns toward the subscription they ran on #15793

Closedjal-co(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/15793/headopened View on GitHub

Showing 13 changed files with 111 additions and 20 deletions (loading 10).

x
0 of 13 viewed, 13 left
3 additions and 0 deletionsapps/mobile/src/features/usage/usageProviders.tsModified
View file
@@ -12,6 +12,7 @@
"cursor",
"opencode",
"antigravity",
+ "pi",
];
​
export const PROVIDER_LABEL: Record<UsageProviderKind, string> = {
@@ -21,6 +22,7 @@
cursor: "Cursor",
opencode: "OpenCode",
antigravity: "Antigravity",
+ pi: "Pi",
};
​
/**
@@ -36,6 +38,7 @@
cursor: "#8b8b8b",
opencode: "#5b9bbd",
antigravity: "#8c7bd1",
+ pi: "#6ba57a",
};
​
64 additions and 0 deletionsapps/server/src/usage/UsageService.test.tsModified
View file