@oss-autopilot/core 0.44.0 → 0.44.2
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/dist/cli-registry.d.ts +21 -0
- package/dist/cli-registry.js +935 -0
- package/dist/cli.bundle.cjs +115 -114
- package/dist/cli.bundle.cjs.map +7 -0
- package/dist/cli.d.ts +5 -6
- package/dist/cli.js +14 -809
- package/dist/commands/dashboard-server.js +24 -4
- package/dist/core/ci-analysis.d.ts +3 -17
- package/dist/core/ci-analysis.js +3 -3
- package/dist/core/display-utils.js +8 -1
- package/dist/core/github-stats.d.ts +0 -20
- package/dist/core/github-stats.js +1 -1
- package/dist/core/github.js +2 -2
- package/dist/core/http-cache.d.ts +10 -2
- package/dist/core/http-cache.js +19 -4
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/issue-discovery.d.ts +6 -0
- package/dist/core/issue-discovery.js +18 -3
- package/dist/core/issue-vetting.js +41 -36
- package/dist/core/pr-monitor.js +11 -6
- package/dist/core/review-analysis.js +11 -1
- package/dist/core/state.js +14 -1
- package/dist/core/test-utils.d.ts +1 -3
- package/dist/core/test-utils.js +0 -41
- package/dist/core/types.d.ts +4 -2
- package/package.json +3 -3
package/dist/core/types.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export interface DetermineStatusInput {
|
|
|
54
54
|
latestCommitDate?: string;
|
|
55
55
|
lastMaintainerCommentDate?: string;
|
|
56
56
|
latestChangesRequestedDate?: string;
|
|
57
|
+
/** True if at least one failing CI check is classified as 'actionable'. */
|
|
58
|
+
hasActionableCIFailure?: boolean;
|
|
57
59
|
}
|
|
58
60
|
/**
|
|
59
61
|
* Computed status for a {@link FetchedPR}, determined by `PRMonitor.determineStatus()`.
|
|
@@ -62,8 +64,7 @@ export interface DetermineStatusInput {
|
|
|
62
64
|
* **Action required (contributor must act):**
|
|
63
65
|
* - `needs_response` — Maintainer commented after the contributor's last activity
|
|
64
66
|
* - `needs_changes` — Reviewer requested changes (via review, not just a comment)
|
|
65
|
-
* - `failing_ci` — One or more CI checks are failing
|
|
66
|
-
* - `ci_blocked` — CI cannot run (e.g., first-time contributor approval needed) *(reserved)*
|
|
67
|
+
* - `failing_ci` — One or more CI checks are failing (at least one is actionable)
|
|
67
68
|
* - `ci_not_running` — No CI checks have been triggered *(reserved)*
|
|
68
69
|
* - `merge_conflict` — PR has merge conflicts with the base branch
|
|
69
70
|
* - `needs_rebase` — PR branch is significantly behind upstream *(reserved)*
|
|
@@ -71,6 +72,7 @@ export interface DetermineStatusInput {
|
|
|
71
72
|
* - `incomplete_checklist` — PR body has unchecked required checkboxes
|
|
72
73
|
*
|
|
73
74
|
* **Waiting (no action needed right now):**
|
|
75
|
+
* - `ci_blocked` — All failing CI checks are non-actionable (infrastructure, fork limitation, auth gate)
|
|
74
76
|
* - `changes_addressed` — Contributor pushed commits after reviewer feedback; awaiting re-review
|
|
75
77
|
* - `waiting` — CI is pending or no specific action needed
|
|
76
78
|
* - `waiting_on_maintainer` — PR is approved and CI passes; waiting for maintainer to merge
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oss-autopilot/core",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.2",
|
|
4
4
|
"description": "CLI and core library for managing open source contributions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"commander": "^14.0.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/node": "^
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
55
|
"@vitest/coverage-v8": "^4.0.18",
|
|
56
56
|
"esbuild": "^0.27.3",
|
|
57
57
|
"tsx": "^4.21.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsc",
|
|
63
|
-
"bundle": "esbuild src/cli.ts --bundle --platform=node --target=node20 --format=cjs --minify --outfile=dist/cli.bundle.cjs",
|
|
63
|
+
"bundle": "esbuild src/cli.ts --bundle --platform=node --target=node20 --format=cjs --minify --sourcemap --outfile=dist/cli.bundle.cjs",
|
|
64
64
|
"start": "tsx src/cli.ts",
|
|
65
65
|
"dev": "tsx watch src/cli.ts",
|
|
66
66
|
"typecheck": "tsc --noEmit",
|