@open330/oac-completion 2026.3.1 → 2026.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/package.json +4 -3
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @open330/oac-completion
|
|
2
|
+
|
|
3
|
+
PR creation and issue linking for [OAC (Open Agent Contribution)](https://github.com/Open330/open-agent-contribution).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @open330/oac-completion
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## What's Inside
|
|
12
|
+
|
|
13
|
+
- **PR Handler** — creates pull requests via Octokit with structured descriptions
|
|
14
|
+
- **Issue Linker** — links PRs to source issues/TODOs with `Closes #N` references
|
|
15
|
+
- **Diff Validator** — sanity-checks agent output before submitting
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { createCompletionHandler } from '@open330/oac-completion';
|
|
21
|
+
|
|
22
|
+
const handler = createCompletionHandler({ token: process.env.GITHUB_TOKEN });
|
|
23
|
+
const pr = await handler.createPR({ repo, task, execution });
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
MIT — see the [main repo](https://github.com/Open330/open-agent-contribution) for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open330/oac-completion",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.3",
|
|
4
4
|
"description": "PR creation and post-execution completion for OAC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"dist"
|
|
21
|
+
"dist",
|
|
22
|
+
"README.md"
|
|
22
23
|
],
|
|
23
24
|
"publishConfig": {
|
|
24
25
|
"access": "public"
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@octokit/rest": "^21.1.1",
|
|
31
32
|
"simple-git": "^3.27.0",
|
|
32
|
-
"@open330/oac-core": "2026.3.
|
|
33
|
+
"@open330/oac-core": "2026.3.3"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"tsup": "^8.3.6",
|