oh-my-pr 2.4.0 → 2.5.0
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 +10 -6
- package/dist/index.cjs +175 -72
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,14 +23,15 @@ No hosted service. No agent edits inside your working copy. Your PR automation s
|
|
|
23
23
|
- Watch multiple repositories or add a single PR by URL.
|
|
24
24
|
- Auto-register open PRs, archive closed or merged PRs, and keep syncing review activity.
|
|
25
25
|
- Pause background automation for an individual tracked PR while keeping manual runs available.
|
|
26
|
-
- Store PR state, questions, logs, and social changelogs in SQLite with mirrored log files.
|
|
26
|
+
- Store PR state, background jobs, questions, release runs, logs, and social changelogs in SQLite with mirrored log files.
|
|
27
|
+
- Queue repo sync, babysit/apply runs, PR questions, release processing, and social changelog generation in a durable SQLite-backed dispatcher that survives restarts.
|
|
27
28
|
- Triage feedback into `accept`, `reject`, or `flag`, with manual overrides and retry for failed or warned items.
|
|
28
29
|
- Run `codex` or `claude` in isolated worktrees under `~/.oh-my-pr`, then push verified fixes back to the PR branch.
|
|
29
30
|
- Evaluate review comments and failing CI statuses, post GitHub follow-ups, resolve review threads, and persist CI healing sessions per PR head.
|
|
30
31
|
- Detect merge conflicts and optionally let the agent resolve them automatically.
|
|
31
32
|
- Ask natural-language questions about any tracked PR from the dashboard or via MCP.
|
|
32
33
|
- Configure trusted reviewers, ignored bots, polling, batching, run limits, and CI-healing retry budgets from settings.
|
|
33
|
-
- Enable drain mode to
|
|
34
|
+
- Enable drain mode to stop claiming new queued work and optionally wait for active queue handlers to finish before deploys or upgrades.
|
|
34
35
|
- Check onboarding status, install Claude or Codex review workflows, and generate social changelogs every 5 PRs merged to `main`.
|
|
35
36
|
- Use the React dashboard, local REST API, MCP server, or optional Tauri desktop shell.
|
|
36
37
|
|
|
@@ -39,9 +40,12 @@ No hosted service. No agent edits inside your working copy. Your PR automation s
|
|
|
39
40
|
<img width="969" height="572" alt="Code Factory workflow" src="https://github.com/user-attachments/assets/b9dbd102-ae2e-4837-a862-a0282bdfa0b8" />
|
|
40
41
|
|
|
41
42
|
1. Add a repository to the watch list or register a PR directly by URL.
|
|
42
|
-
2. The watcher
|
|
43
|
-
3.
|
|
44
|
-
4.
|
|
43
|
+
2. The watcher enqueues a durable repo-sync job in SQLite.
|
|
44
|
+
3. That sync job polls GitHub, auto-registers open PRs, syncs reviews and comments, archives PRs that closed upstream, records failing CI on the current head SHA, and queues babysitter runs for tracked PRs whose background watch is enabled.
|
|
45
|
+
4. Manual apply/babysit requests, PR questions, release processing, and social changelog generation go through the same durable queue before work executes in an app-owned repo cache and isolated git worktree under `~/.oh-my-pr`.
|
|
46
|
+
5. The agent applies fixes, verifies the result, pushes to the PR branch, updates GitHub threads, and writes logs for the full run.
|
|
47
|
+
|
|
48
|
+
Repo sync, babysit/apply, PR Q&A, release processing, and social changelog generation all run through durable background jobs stored in `state.sqlite`. On startup the dispatcher reclaims expired job leases, and interrupted babysitter runs are resumed from stored run context when possible.
|
|
45
49
|
|
|
46
50
|
## CI Healing
|
|
47
51
|
|
|
@@ -120,7 +124,7 @@ Use it with MCP hosts such as Claude Desktop or OpenClaw, or call the REST API d
|
|
|
120
124
|
|
|
121
125
|
By default Code Factory stores its runtime data in `~/.oh-my-pr`:
|
|
122
126
|
|
|
123
|
-
- `state.sqlite` for durable app state
|
|
127
|
+
- `state.sqlite` for durable app state, runtime flags, background jobs, questions, releases, and changelogs
|
|
124
128
|
- `log/` for mirrored activity logs
|
|
125
129
|
- `repos/` for app-owned repository caches
|
|
126
130
|
- `worktrees/` for isolated PR worktrees
|