feat: paid-only credits

This commit is contained in:
zhom committed 2026-11-28 03:10:09 +04:00
1 parent b07bad0c59
commit d14ab79588
23 files changed
+142 -102

No files matched your search

+3 -5
View File
@@ -464,15 +464,13 @@
list_agent_routine_runs: (args) =>
args.id === "routine-daily" ? copy(routineRuns) : [],
get_agent_credits: {
allowance: 10000,
used: 2350,
allowance: 200000,
used: 23500,
extra: 0,
balance: 7650,
balance: 176500,
periodEnd: new Date(nowMs + 12 * 24 * 60 * MIN).toISOString(),
plan: "pro",
unlimited: false,
freeGrant: null,
freeGrantAt: null,
},
capture_profile_preview: (args) => {
const page = pageOf.get(args.profileId);