@oss-autopilot/core 3.37.0 → 3.39.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/dist/cli-registry.js +7 -4
- package/dist/cli.bundle.cjs +134 -127
- package/dist/commands/comments.js +4 -3
- package/dist/commands/config.js +18 -11
- package/dist/commands/daily-dismiss-filter.d.ts +37 -0
- package/dist/commands/daily-dismiss-filter.js +80 -0
- package/dist/commands/daily-merged-pr-notes.d.ts +27 -0
- package/dist/commands/daily-merged-pr-notes.js +166 -0
- package/dist/commands/daily-reviewed-prs.d.ts +41 -0
- package/dist/commands/daily-reviewed-prs.js +270 -0
- package/dist/commands/daily-warnings.d.ts +28 -0
- package/dist/commands/daily-warnings.js +37 -0
- package/dist/commands/daily.d.ts +22 -1
- package/dist/commands/daily.js +299 -108
- package/dist/commands/dashboard-cache.js +9 -2
- package/dist/commands/dashboard-data.js +40 -20
- package/dist/commands/dashboard-gist-sync.d.ts +9 -1
- package/dist/commands/dashboard-gist-sync.js +24 -3
- package/dist/commands/dashboard-server.js +9 -5
- package/dist/commands/dismiss.d.ts +25 -5
- package/dist/commands/dismiss.js +40 -11
- package/dist/commands/guidelines.js +21 -14
- package/dist/commands/init.js +3 -2
- package/dist/commands/ledger-backfill.js +4 -3
- package/dist/commands/move.js +9 -6
- package/dist/commands/overnight-push-prep.js +5 -2
- package/dist/commands/overnight.js +62 -24
- package/dist/commands/scout-bridge.js +4 -1
- package/dist/commands/search.js +9 -6
- package/dist/commands/setup.js +7 -3
- package/dist/commands/validation.d.ts +11 -0
- package/dist/commands/validation.js +38 -0
- package/dist/core/checklist-analysis.js +34 -0
- package/dist/core/closed-pr-status.d.ts +73 -0
- package/dist/core/closed-pr-status.js +113 -0
- package/dist/core/comment-decision.d.ts +10 -3
- package/dist/core/comment-decision.js +13 -5
- package/dist/core/comment-utils.d.ts +38 -1
- package/dist/core/comment-utils.js +124 -1
- package/dist/core/concurrency.d.ts +6 -0
- package/dist/core/concurrency.js +13 -0
- package/dist/core/daily-logic.d.ts +13 -1
- package/dist/core/daily-logic.js +59 -2
- package/dist/core/engaged-issues.d.ts +93 -0
- package/dist/core/engaged-issues.js +183 -0
- package/dist/core/errors.d.ts +4 -0
- package/dist/core/errors.js +11 -1
- package/dist/core/eval-report.d.ts +9 -0
- package/dist/core/eval-report.js +4 -0
- package/dist/core/gist-state-store.d.ts +5 -2
- package/dist/core/gist-state-store.js +7 -4
- package/dist/core/github-stats.d.ts +10 -0
- package/dist/core/github-stats.js +35 -0
- package/dist/core/index.d.ts +10 -5
- package/dist/core/index.js +9 -4
- package/dist/core/issue-conversation.d.ts +83 -12
- package/dist/core/issue-conversation.js +306 -118
- package/dist/core/merged-pr-notes.d.ts +192 -0
- package/dist/core/merged-pr-notes.js +340 -0
- package/dist/core/pick-snapshot.js +1 -1
- package/dist/core/pr-assembly.js +3 -0
- package/dist/core/pr-monitor.d.ts +62 -0
- package/dist/core/pr-monitor.js +113 -3
- package/dist/core/reviewed-prs-fetch.d.ts +91 -0
- package/dist/core/reviewed-prs-fetch.js +271 -0
- package/dist/core/reviewed-prs.d.ts +244 -0
- package/dist/core/reviewed-prs.js +380 -0
- package/dist/core/state-persistence.js +8 -24
- package/dist/core/state-schema.d.ts +6 -0
- package/dist/core/state-schema.js +9 -0
- package/dist/core/state.d.ts +106 -11
- package/dist/core/state.js +246 -24
- package/dist/core/types.d.ts +47 -0
- package/dist/core/urls.d.ts +13 -0
- package/dist/core/urls.js +16 -0
- package/dist/formatters/json.d.ts +186 -1
- package/dist/formatters/json.js +78 -0
- package/package.json +1 -1
package/dist/cli-registry.js
CHANGED
|
@@ -1239,13 +1239,16 @@ export const commands = [
|
|
|
1239
1239
|
register(program) {
|
|
1240
1240
|
program
|
|
1241
1241
|
.command('dismiss <url>')
|
|
1242
|
-
.description('Dismiss notifications for an issue (resurfaces on new activity)')
|
|
1242
|
+
.description('Dismiss notifications for an issue or PR (resurfaces on new activity)')
|
|
1243
|
+
.option('--head <sha>', "PR URLs only: the PR's full head SHA now, so the review follow-up stays hidden until a new push or comment")
|
|
1243
1244
|
.option('--json', 'Output as JSON')
|
|
1244
|
-
.action((url, options) => executeAction(options, async () => (await import('./commands/dismiss.js')).runDismiss({ url }), (data) => {
|
|
1245
|
+
.action((url, options) => executeAction(options, async () => (await import('./commands/dismiss.js')).runDismiss({ url, head: options.head }), (data) => {
|
|
1245
1246
|
if (data.dismissed) {
|
|
1246
1247
|
console.log(`Dismissed: ${url}`);
|
|
1247
1248
|
console.log('Notifications are now muted.');
|
|
1248
|
-
console.log(
|
|
1249
|
+
console.log(options.head
|
|
1250
|
+
? 'A new push or a comment after this point will resurface it automatically.'
|
|
1251
|
+
: 'New responses after this point will resurface automatically.');
|
|
1249
1252
|
}
|
|
1250
1253
|
else {
|
|
1251
1254
|
console.log('Already dismissed.');
|
|
@@ -1260,7 +1263,7 @@ export const commands = [
|
|
|
1260
1263
|
register(program) {
|
|
1261
1264
|
program
|
|
1262
1265
|
.command('undismiss <url>')
|
|
1263
|
-
.description('Undismiss an issue (re-enable notifications)')
|
|
1266
|
+
.description('Undismiss an issue or PR (re-enable notifications)')
|
|
1264
1267
|
.option('--json', 'Output as JSON')
|
|
1265
1268
|
.action((url, options) => executeAction(options, async () => (await import('./commands/dismiss.js')).runUndismiss({ url }), (data) => {
|
|
1266
1269
|
if (data.undismissed) {
|