refactor: consolidate duplicate toNumber into utils.ts, remove usage/shared.ts

This commit is contained in:
2026-05-03 21:25:12 -04:00
parent 7906519eeb
commit f8fac5fd45
2 changed files with 1 additions and 12 deletions

View File

@@ -10,8 +10,7 @@ import type {
UsageReport,
UsageWindow,
} from "../usage";
import { isRecord } from "../utils";
import { toNumber } from "./shared";
import { isRecord, toNumber } from "../utils";
const CODEX_USAGE_PATH = "wham/usage";
const JWT_AUTH_CLAIM = "https://api.openai.com/auth";