LLM Spend TripwireChecklistCodeHosted waitlist

package.json

Commit 01f96e7. All files · Download the tarball.

{
  "name": "llm-spend-tripwire",
  "version": "0.1.0",
  "private": true,
  "description": "Self-hosted Cloudflare Worker that alerts Slack or Discord on Anthropic API usage spikes, new keys or models, and off-hours use.",
  "license": "MIT",
  "type": "module",
  "scripts": {
    "test": "node --test test/*.test.mjs",
    "deploy": "wrangler deploy"
  },
  "devDependencies": {
    "wrangler": "^4.86.0"
  },
  "cloudflare": {
    "bindings": {
      "ANTHROPIC_ADMIN_KEY": {
        "description": "An Admin API key (`sk-ant-admin01-...`) from the [Admin keys](https://platform.claude.com/settings/admin-keys) page of your Claude Console organization. Tripwire only makes GET requests with it."
      },
      "ALERT_WEBHOOK_URL": {
        "description": "A Slack (`https://hooks.slack.com/services/...`) or Discord (`https://discord.com/api/webhooks/...`) incoming webhook URL. Alerts go only here."
      },
      "TEST_SECRET": {
        "description": "Optional. A long random string (for example `openssl rand -hex 32`) that protects the `/test-alert` and `/dry-run` endpoints. Leave unset to turn both off."
      }
    }
  }
}