{ "name": "@kody/planetscale", "version": "1.0.0", "description": "Turn PlanetScale Insights anomalies into GitHub issues, implementer PRs, and a human review ping.", "type": "module", "license": "MIT", "private": false, "exports": { ".": "./src/index.ts", "./accounts": "./src/accounts.ts", "./request": "./src/request.ts", "./smoke-test": "./src/smoke-test.ts", "./list-organizations": "./src/list-organizations.ts", "./list-databases": "./src/list-databases.ts", "./list-branches": "./src/list-branches.ts", "./list-anomalies": "./src/list-anomalies.ts", "./list-queries": "./src/list-queries.ts", "./draft-loop": "./src/draft-loop.ts", "./run-loop": "./src/run-loop.ts", "./configure-loop": "./src/configure-loop.ts", "./handle-webhook": "./src/handle-webhook.ts", "./poll-anomalies": "./src/poll-anomalies.ts", "./create-webhook": "./src/create-webhook.ts", "./types": "./src/types.ts" }, "files": [ "src", "README.md", "AGENTS.md", "LICENSE", "community-icon.svg" ], "kody": { "id": "planetscale", "name": "PlanetScale", "description": "Turn PlanetScale Insights anomalies into GitHub issues, implementer PRs, and a human review ping.", "category": "integrations", "tags": [ "planetscale", "insights", "anomalies", "slow-query", "postgres", "vitess", "github", "cursor", "webhook", "dry-run" ], "searchText": "planetscale insights anomalies slow query github issue cursor cloud agent implementer reviewer notify webhook branch.anomaly planetscaleApiToken service token matt pocock loop", "dependencies": { "@kody/github": "*", "@kody/cursor": "*", "@kody/notify": "*" }, "webhooks": [ { "name": "insights", "export": "./handle-webhook", "responseMode": "ack", "verification": { "type": "hmac-sha256", "header": "x-planetscale-signature", "secretName": "planetscaleWebhookSecret", "encoding": "hex" } } ], "jobs": { "poll-anomalies": { "entry": "./src/poll-anomalies.ts", "schedule": { "type": "cron", "expression": "*/30 * * * *" }, "timezone": "UTC", "enabled": false } } } }