← Public packages
@kentcdodds/sentry-triage
Sentry triage wakes Cole (Grok Bot) per issue: one active wake per repo (lease + queue), loop-safe Discord. Cole may spawn Cursor for isolated repo work.
src/handle-seer-webhook.d.ts
14 lines · 635 B · TypeScriptimport type { HandleSeerWebhookInput, SeerWebhookResult } from './types.ts'
/**
* Consume a Sentry Seer autofix lifecycle webhook
* (`sentry-hook-resource: seer`). On `root_cause_completed`, wake Cole
* seeded with the RCA as a verified hypothesis; on `pr_created`,
* wake Cole to review the Seer-authored PR. Routed to
* automatically from `handle-sentry-webhook` (a Sentry internal integration
* has a single webhook URL). Set `request.json.kodyDryRun` to validate
* routing and prompt seeding without waking Cole.
*/
export default function handleSeerWebhook(
input?: HandleSeerWebhookInput,
): Promise<SeerWebhookResult>