← Public packages
@kody/bugbot
Trigger Cursor Bugbot on a PR as the Cursor-linked GitHub account. Never comment bugbot run as a bot.
Files
@kody/bugbot (agents)
import triggerBugbot from 'kody:@kody/bugbot'
await triggerBugbot({ prUrl: 'https://github.com/OWNER/REPO/pull/123', cursorLogin: 'your-login', dryRun: true })- Input:
prUrl(orowner,repo,prNumber),cursorLogin(required), optionalverbose, optionaldryRun. - The
githubslot must be filled by a credential forcursorLogin. Pick it with the execute credentials map (--credential github=<name>) or the package's default mapping. - Refuses bot logins and mismatched credentials. Returns
code: 'github_account_mismatch'when the PR author differs. - Smoke check: run with
dryRun: trueon a PR authored bycursorLoginand confirmposted: false, dryRun: true.