@oss-autopilot/core 3.38.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.
Files changed (63) hide show
  1. package/dist/cli-registry.js +7 -4
  2. package/dist/cli.bundle.cjs +139 -132
  3. package/dist/commands/daily-dismiss-filter.d.ts +37 -0
  4. package/dist/commands/daily-dismiss-filter.js +80 -0
  5. package/dist/commands/daily-merged-pr-notes.d.ts +27 -0
  6. package/dist/commands/daily-merged-pr-notes.js +166 -0
  7. package/dist/commands/daily-reviewed-prs.d.ts +41 -0
  8. package/dist/commands/daily-reviewed-prs.js +270 -0
  9. package/dist/commands/daily-warnings.d.ts +28 -0
  10. package/dist/commands/daily-warnings.js +37 -0
  11. package/dist/commands/daily.d.ts +22 -1
  12. package/dist/commands/daily.js +287 -107
  13. package/dist/commands/dashboard-cache.js +9 -2
  14. package/dist/commands/dashboard-data.js +40 -20
  15. package/dist/commands/dashboard-gist-sync.d.ts +4 -0
  16. package/dist/commands/dashboard-gist-sync.js +5 -1
  17. package/dist/commands/dismiss.d.ts +25 -5
  18. package/dist/commands/dismiss.js +38 -10
  19. package/dist/commands/overnight.js +14 -1
  20. package/dist/commands/scout-bridge.js +4 -1
  21. package/dist/commands/validation.d.ts +11 -0
  22. package/dist/commands/validation.js +16 -0
  23. package/dist/core/checklist-analysis.js +34 -0
  24. package/dist/core/closed-pr-status.d.ts +73 -0
  25. package/dist/core/closed-pr-status.js +113 -0
  26. package/dist/core/comment-decision.d.ts +10 -3
  27. package/dist/core/comment-decision.js +13 -5
  28. package/dist/core/comment-utils.d.ts +38 -1
  29. package/dist/core/comment-utils.js +124 -1
  30. package/dist/core/concurrency.d.ts +6 -0
  31. package/dist/core/concurrency.js +13 -0
  32. package/dist/core/daily-logic.d.ts +13 -1
  33. package/dist/core/daily-logic.js +59 -2
  34. package/dist/core/engaged-issues.d.ts +93 -0
  35. package/dist/core/engaged-issues.js +183 -0
  36. package/dist/core/errors.d.ts +4 -0
  37. package/dist/core/errors.js +10 -0
  38. package/dist/core/github-stats.d.ts +10 -0
  39. package/dist/core/github-stats.js +35 -0
  40. package/dist/core/index.d.ts +10 -5
  41. package/dist/core/index.js +9 -4
  42. package/dist/core/issue-conversation.d.ts +83 -12
  43. package/dist/core/issue-conversation.js +306 -118
  44. package/dist/core/merged-pr-notes.d.ts +192 -0
  45. package/dist/core/merged-pr-notes.js +340 -0
  46. package/dist/core/pr-assembly.js +3 -0
  47. package/dist/core/pr-monitor.d.ts +62 -0
  48. package/dist/core/pr-monitor.js +113 -3
  49. package/dist/core/reviewed-prs-fetch.d.ts +91 -0
  50. package/dist/core/reviewed-prs-fetch.js +271 -0
  51. package/dist/core/reviewed-prs.d.ts +244 -0
  52. package/dist/core/reviewed-prs.js +380 -0
  53. package/dist/core/state-persistence.js +4 -23
  54. package/dist/core/state-schema.d.ts +6 -0
  55. package/dist/core/state-schema.js +9 -0
  56. package/dist/core/state.d.ts +70 -8
  57. package/dist/core/state.js +101 -10
  58. package/dist/core/types.d.ts +47 -0
  59. package/dist/core/urls.d.ts +13 -0
  60. package/dist/core/urls.js +16 -0
  61. package/dist/formatters/json.d.ts +186 -1
  62. package/dist/formatters/json.js +78 -0
  63. package/package.json +1 -1
@@ -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('New responses after this point will resurface automatically.');
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) {