mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
- Move bunfig.toml to repo root with valid coverageThreshold syntax (line=80%, function=0 to avoid per-file false positives) - Add --coverage flag to CI test step - Delete packages/cli/bunfig.toml (superseded by root config) - Add tests for packages/shared (type-guards, parse, result) - Colocate billing config into each cloud directory (aws/billing.ts, gcp/billing.ts, hetzner/billing.ts, digitalocean/billing.ts) - Refactor billing-guidance.ts: BillingConfig interface replaces cloud-string-keyed Record maps - Bump CLI version to 0.25.1 Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
18 lines
575 B
TypeScript
18 lines
575 B
TypeScript
import type { BillingConfig } from "../shared/billing-guidance";
|
|
|
|
export const digitaloceanBilling: BillingConfig = {
|
|
billingUrl: "https://cloud.digitalocean.com/account/billing",
|
|
setupSteps: [
|
|
"1. Open DigitalOcean Billing Settings",
|
|
"2. Add a credit card or PayPal account",
|
|
"3. Verify your email address if prompted",
|
|
"4. Return here and press Enter to retry",
|
|
],
|
|
errorPatterns: [
|
|
/insufficient[_ ]funds/i,
|
|
/payment[_ ]method[_ ]required/i,
|
|
/account[_ ](?:is[_ ])?(?:locked|blocked|suspended)/i,
|
|
/billing/i,
|
|
/payment/i,
|
|
],
|
|
};
|