@oss-autopilot/core 3.27.0 → 3.28.1
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-pre-action.d.ts +9 -0
- package/dist/cli-pre-action.js +95 -0
- package/dist/cli-registry.js +11 -1
- package/dist/cli.bundle.cjs +116 -113
- package/dist/cli.js +4 -87
- package/dist/commands/comments.js +3 -1
- package/dist/commands/dashboard-lifecycle.d.ts +25 -2
- package/dist/commands/dashboard-lifecycle.js +71 -55
- package/dist/commands/dashboard-server.js +1 -1
- package/dist/commands/dashboard.d.ts +2 -2
- package/dist/commands/dashboard.js +13 -5
- package/dist/commands/overnight-push-prep.js +4 -0
- package/dist/commands/overnight.js +31 -1
- package/dist/commands/parse-list.js +77 -43
- package/dist/commands/startup.d.ts +3 -0
- package/dist/commands/startup.js +7 -3
- package/dist/commands/vet-list.js +4 -2
- package/dist/core/anti-llm-policy.js +10 -0
- package/dist/core/checklist-analysis.d.ts +6 -0
- package/dist/core/checklist-analysis.js +90 -14
- package/dist/core/ci-analysis.js +11 -4
- package/dist/core/errors.d.ts +17 -0
- package/dist/core/errors.js +25 -0
- package/dist/core/paths.d.ts +9 -1
- package/dist/core/paths.js +11 -1
- package/dist/core/pr-monitor.d.ts +2 -2
- package/dist/core/pr-monitor.js +9 -6
- package/dist/core/review-analysis.d.ts +6 -2
- package/dist/core/review-analysis.js +13 -4
- package/dist/core/types.d.ts +1 -1
- package/dist/dashboard/assets/chart-panel-0drzwc3-.js +3 -0
- package/dist/dashboard/assets/confetti.module-BYDB1iN2.js +2 -0
- package/dist/dashboard/assets/index-C0LCGMVi.js +50 -0
- package/dist/dashboard/assets/index-CTiG-vjC.css +1 -0
- package/dist/dashboard/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/dist/dashboard/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/dashboard/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- package/dist/dashboard/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-400-normal-BDKaGhyp.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-400-normal-Dhut76fR.woff2 +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-500-normal-Bf-nb4oT.woff2 +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-500-normal-DYtqi0QS.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-600-normal-BR_Ojra4.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-600-normal-DLTa1BUW.woff2 +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-700-normal-CfpNZvy6.woff2 +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-700-normal-DqEcQeE5.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-800-normal-BRNHt2w0.woff +0 -0
- package/dist/dashboard/assets/plus-jakarta-sans-latin-800-normal-CusIZhrK.woff2 +0 -0
- package/dist/dashboard/favicon.svg +83 -0
- package/dist/dashboard/index.html +54 -0
- package/dist/formatters/json.d.ts +19 -0
- package/dist/formatters/json.js +3 -0
- package/package.json +3 -2
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>OSS Autopilot Dashboard</title>
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
8
|
+
<script>
|
|
9
|
+
(function () {
|
|
10
|
+
try {
|
|
11
|
+
var t = localStorage.getItem('oss-autopilot-theme');
|
|
12
|
+
if (t !== 'light' && t !== 'dark') t = matchMedia('(prefers-color-scheme:light)').matches ? 'light' : 'dark';
|
|
13
|
+
document.documentElement.setAttribute('data-theme', t);
|
|
14
|
+
} catch (e) {
|
|
15
|
+
document.documentElement.setAttribute('data-theme', 'dark');
|
|
16
|
+
}
|
|
17
|
+
})();
|
|
18
|
+
</script>
|
|
19
|
+
<!-- Fonts are self-hosted (#1119) — see src/fonts.css. No third-party fetches. -->
|
|
20
|
+
<script type="module" crossorigin src="/assets/index-C0LCGMVi.js"></script>
|
|
21
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CTiG-vjC.css">
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
<noscript>
|
|
25
|
+
<div
|
|
26
|
+
style="
|
|
27
|
+
max-width: 40rem;
|
|
28
|
+
margin: 4rem auto;
|
|
29
|
+
padding: 1.5rem;
|
|
30
|
+
font-family:
|
|
31
|
+
system-ui,
|
|
32
|
+
-apple-system,
|
|
33
|
+
sans-serif;
|
|
34
|
+
line-height: 1.5;
|
|
35
|
+
color: #e0e0e0;
|
|
36
|
+
background: #1a1a1a;
|
|
37
|
+
border: 1px solid #333;
|
|
38
|
+
border-radius: 8px;
|
|
39
|
+
"
|
|
40
|
+
>
|
|
41
|
+
<h1 style="margin-top: 0">JavaScript required</h1>
|
|
42
|
+
<p>
|
|
43
|
+
The OSS Autopilot dashboard is a single-page app that renders entirely on the client. Please enable JavaScript
|
|
44
|
+
for this origin to use the interactive UI.
|
|
45
|
+
</p>
|
|
46
|
+
<p>
|
|
47
|
+
For a raw JSON view of the same data, fetch
|
|
48
|
+
<code style="background: #252525; padding: 0.125rem 0.375rem; border-radius: 3px">/api/data</code> directly.
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
|
+
</noscript>
|
|
52
|
+
<div id="app"></div>
|
|
53
|
+
</body>
|
|
54
|
+
</html>
|
|
@@ -1155,6 +1155,7 @@ export declare const ParseIssueListOutputSchema: z.ZodObject<{
|
|
|
1155
1155
|
number: z.ZodNumber;
|
|
1156
1156
|
title: z.ZodString;
|
|
1157
1157
|
tier: z.ZodString;
|
|
1158
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1158
1159
|
url: z.ZodString;
|
|
1159
1160
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1160
1161
|
}, z.core.$strip>>;
|
|
@@ -1163,11 +1164,22 @@ export declare const ParseIssueListOutputSchema: z.ZodObject<{
|
|
|
1163
1164
|
number: z.ZodNumber;
|
|
1164
1165
|
title: z.ZodString;
|
|
1165
1166
|
tier: z.ZodString;
|
|
1167
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
url: z.ZodString;
|
|
1169
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1170
|
+
}, z.core.$strip>>;
|
|
1171
|
+
blocked: z.ZodArray<z.ZodObject<{
|
|
1172
|
+
repo: z.ZodString;
|
|
1173
|
+
number: z.ZodNumber;
|
|
1174
|
+
title: z.ZodString;
|
|
1175
|
+
tier: z.ZodString;
|
|
1176
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1166
1177
|
url: z.ZodString;
|
|
1167
1178
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1168
1179
|
}, z.core.$strip>>;
|
|
1169
1180
|
availableCount: z.ZodNumber;
|
|
1170
1181
|
completedCount: z.ZodNumber;
|
|
1182
|
+
blockedCount: z.ZodNumber;
|
|
1171
1183
|
}, z.core.$strip>;
|
|
1172
1184
|
export declare const CheckIntegrationOutputSchema: z.ZodObject<{
|
|
1173
1185
|
newFiles: z.ZodArray<z.ZodObject<{
|
|
@@ -1391,6 +1403,8 @@ export interface IssueListInfo {
|
|
|
1391
1403
|
source: 'configured' | 'auto-detected';
|
|
1392
1404
|
availableCount: number;
|
|
1393
1405
|
completedCount: number;
|
|
1406
|
+
/** Vetted items blocked on an outside condition; not counted in `availableCount` (#1730). */
|
|
1407
|
+
blockedCount: number;
|
|
1394
1408
|
skippedIssuesPath?: string;
|
|
1395
1409
|
/**
|
|
1396
1410
|
* Set when the issue list file was detected but could not be read (#1448).
|
|
@@ -1470,6 +1484,8 @@ export interface ParsedIssueItem {
|
|
|
1470
1484
|
number: number;
|
|
1471
1485
|
title: string;
|
|
1472
1486
|
tier: string;
|
|
1487
|
+
/** Text of a `###` heading nested under the `##` tier (repo heading, blocker note) (#1730). */
|
|
1488
|
+
group?: string;
|
|
1473
1489
|
url: string;
|
|
1474
1490
|
score?: number;
|
|
1475
1491
|
}
|
|
@@ -1477,8 +1493,11 @@ export interface ParsedIssueItem {
|
|
|
1477
1493
|
export interface ParseIssueListOutput {
|
|
1478
1494
|
available: ParsedIssueItem[];
|
|
1479
1495
|
completed: ParsedIssueItem[];
|
|
1496
|
+
/** Vetted but blocked on an outside condition; excluded from `availableCount` (#1730). */
|
|
1497
|
+
blocked: ParsedIssueItem[];
|
|
1480
1498
|
availableCount: number;
|
|
1481
1499
|
completedCount: number;
|
|
1500
|
+
blockedCount: number;
|
|
1482
1501
|
}
|
|
1483
1502
|
/** Info about a new file's integration status (#83) */
|
|
1484
1503
|
export interface NewFileInfo {
|
package/dist/formatters/json.js
CHANGED
|
@@ -700,14 +700,17 @@ const ParsedIssueItemSchema = z.object({
|
|
|
700
700
|
number: z.number(),
|
|
701
701
|
title: z.string(),
|
|
702
702
|
tier: z.string(),
|
|
703
|
+
group: z.string().optional(),
|
|
703
704
|
url: z.string(),
|
|
704
705
|
score: z.number().optional(),
|
|
705
706
|
});
|
|
706
707
|
export const ParseIssueListOutputSchema = z.object({
|
|
707
708
|
available: z.array(ParsedIssueItemSchema),
|
|
708
709
|
completed: z.array(ParsedIssueItemSchema),
|
|
710
|
+
blocked: z.array(ParsedIssueItemSchema),
|
|
709
711
|
availableCount: z.number().int().nonnegative(),
|
|
710
712
|
completedCount: z.number().int().nonnegative(),
|
|
713
|
+
blockedCount: z.number().int().nonnegative(),
|
|
711
714
|
});
|
|
712
715
|
const NewFileInfoSchema = z.object({
|
|
713
716
|
path: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oss-autopilot/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.1",
|
|
4
4
|
"description": "CLI and core library for managing open source contributions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"test:coverage": "vitest run --coverage",
|
|
79
79
|
"test:watch": "vitest",
|
|
80
80
|
"docs": "typedoc",
|
|
81
|
-
"docs:check": "typedoc --emit none"
|
|
81
|
+
"docs:check": "typedoc --emit none",
|
|
82
|
+
"bundle:dashboard": "pnpm --filter @oss-autopilot/dashboard run build && node -e \"const fs=require('fs');fs.rmSync('dist/dashboard',{recursive:true,force:true});fs.cpSync('../dashboard/dist','dist/dashboard',{recursive:true})\""
|
|
82
83
|
}
|
|
83
84
|
}
|