@open330/oac-completion
PR creation and issue linking for OAC (Open Agent Contribution).
Install
npm install @open330/oac-completion
What's Inside
- PR Handler — creates pull requests via Octokit with structured descriptions
- Issue Linker — links PRs to source issues/TODOs with
Closes #N references
- Diff Validator — sanity-checks agent output before submitting
Usage
import { createCompletionHandler } from '@open330/oac-completion';
const handler = createCompletionHandler({ token: process.env.GITHUB_TOKEN });
const pr = await handler.createPR({ repo, task, execution });
License
MIT — see the main repo for details.