oh-my-pr 2.15.3 → 3.1.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 +3 -9
- package/bin/codefactory.cjs +5 -7
- package/dist/cli.cjs +2 -2
- package/dist/index.cjs +135 -131
- package/dist/public/assets/index-Biwieeyk.js +48 -0
- package/dist/public/assets/index-C5njJ0nC.css +1 -0
- package/dist/public/index.html +2 -2
- package/package.json +1 -3
- package/dist/public/assets/index-Bru28dme.css +0 -1
- package/dist/public/assets/index-Dvadf2NE.js +0 -8
- package/dist/tui.mjs +0 -995
package/README.md
CHANGED
|
@@ -45,11 +45,7 @@ npm install -g oh-my-pr
|
|
|
45
45
|
oh-my-pr
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
That
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
oh-my-pr web
|
|
52
|
-
```
|
|
48
|
+
That starts the dashboard server and opens the browser dashboard.
|
|
53
49
|
|
|
54
50
|
Then:
|
|
55
51
|
|
|
@@ -96,8 +92,7 @@ Watched repositories default to `My PRs only`. You can switch a repo to `My PRs
|
|
|
96
92
|
|
|
97
93
|
oh-my-pr can be used in a few ways:
|
|
98
94
|
|
|
99
|
-
-
|
|
100
|
-
- web dashboard: `oh-my-pr web`
|
|
95
|
+
- web dashboard: `oh-my-pr`
|
|
101
96
|
- MCP server: `oh-my-pr mcp`
|
|
102
97
|
- local REST API: see [LOCAL_API.md](LOCAL_API.md)
|
|
103
98
|
- optional Tauri desktop shell
|
|
@@ -116,8 +111,7 @@ Those features are optional and documented in the linked docs below.
|
|
|
116
111
|
## Commands
|
|
117
112
|
|
|
118
113
|
```bash
|
|
119
|
-
oh-my-pr #
|
|
120
|
-
oh-my-pr web # web dashboard
|
|
114
|
+
oh-my-pr # web dashboard
|
|
121
115
|
oh-my-pr mcp # MCP server
|
|
122
116
|
oh-my-pr --help # help
|
|
123
117
|
oh-my-pr --version # version
|
package/bin/codefactory.cjs
CHANGED
|
@@ -19,13 +19,11 @@ if (parsed.mode === "help") {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
process.env.NODE_ENV = process.env.NODE_ENV || "production";
|
|
22
|
-
if (parsed.mode === "
|
|
23
|
-
require("../dist/index.cjs");
|
|
24
|
-
} else if (parsed.mode === "mcp") {
|
|
22
|
+
if (parsed.mode === "mcp") {
|
|
25
23
|
require("../dist/mcp.cjs");
|
|
24
|
+
} else if (parsed.mode === "web") {
|
|
25
|
+
require("../dist/index.cjs");
|
|
26
26
|
} else {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
process.exit(1);
|
|
30
|
-
});
|
|
27
|
+
console.error(`Unsupported mode: ${parsed.mode}`);
|
|
28
|
+
process.exit(1);
|
|
31
29
|
}
|
package/dist/cli.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(r,e)=>{for(var t in e)s(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of p(e))!a.call(r,o)&&o!==t&&s(r,o,{get:()=>e[o],enumerable:!(i=n(e,o))||i.enumerable});return r};var d=r=>h(s({},"__esModule",{value:!0}),r);var u={};m(u,{formatCliHelp:()=>l,parseCliArgs:()=>c});module.exports=d(u);function c(r){let e=r[0];return e?e==="web"?{mode:"web"}:e==="mcp"?{mode:"mcp"}:e==="--help"||e==="-h"?{mode:"help"}:e==="--version"||e==="-v"?{mode:"version"}:{mode:"help",error:`Unknown command: ${e}`}:{mode:"web"}}function l(r){return`
|
|
2
2
|
oh-my-pr v${r}
|
|
3
3
|
|
|
4
4
|
Autonomous GitHub PR babysitter \u2014 watches repos, triages review
|
|
5
5
|
feedback, and dispatches AI agents to fix code locally.
|
|
6
6
|
|
|
7
7
|
Usage:
|
|
8
|
-
oh-my-pr Start the
|
|
8
|
+
oh-my-pr Start the dashboard server
|
|
9
9
|
oh-my-pr web Start the dashboard server
|
|
10
10
|
oh-my-pr mcp Start the MCP server
|
|
11
11
|
oh-my-pr --help Show this help message
|