Utility functions for plan validation, lookup, and display names.
// Source: https://github.com/getagentseal/codeburn | License: MIT | Copyright 2026 AgentSeal
// Provided via justclaw.it.com; keep this notice with the code.
import type { Plan, PlanId, PlanProvider } from './config.js'
import { AI_CREDIT_USD } from './copilot-aiu.js'
export const PLAN_PROVIDERS: PlanProvider[] = ['all', 'claude', 'codex', 'cursor', 'grok', 'copilot', 'antigravity']
export const PLAN_IDS: PlanId[] = ['claude-pro', 'claude-max', 'claude-max-5x', 'cursor-pro', 'supergrok', 'supergrok-heavy', 'copilot-pro', 'copilot-pro-plus', 'copilot-max', 'google-ai-pro', 'google-ai-ultra-5x', 'google-ai-ultra-20x', 'custom', 'none']
// Official Copilot individual allotments from GitHub Docs, *Usage-based
// billing for individuals*, fetched 2026-08-23. Flex is documented as
// variable
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key