Skip to content
← 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/adapt.d.ts

25 lines · 637 B · TypeScript
export type AdaptGuide = {
	purpose: string
	doNot: string[]
	ownerSettings: Record<string, unknown>
	steps: Array<{
		id: string
		title: string
		detail: string
		example?: unknown
	}>
}

/**
 * After a community fork, call this first.
 * Returns every owner-specific setting and the exact swap steps so you can
 * point this copy at your Sentry projects, Discord channel, Cole wake / grok-bot,
 * and secrets, then publish.
 *
 * @returns Owner settings plus ordered swap steps
 *
 * @example
 * import adapt from "kody:@you/sentry-triage/adapt"
 * const guide = await adapt()
 */
export default function adapt(): Promise<AdaptGuide>