@jonit-dev/night-watch-cli 1.8.8-beta.1 → 1.8.8-beta.10

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 (38) hide show
  1. package/dist/cli.js +638 -24
  2. package/dist/cli.js.map +1 -1
  3. package/dist/commands/init.d.ts.map +1 -1
  4. package/dist/commands/init.js +38 -6
  5. package/dist/commands/init.js.map +1 -1
  6. package/dist/commands/install.d.ts +4 -0
  7. package/dist/commands/install.d.ts.map +1 -1
  8. package/dist/commands/install.js +25 -0
  9. package/dist/commands/install.js.map +1 -1
  10. package/dist/commands/qa.d.ts.map +1 -1
  11. package/dist/commands/qa.js +2 -0
  12. package/dist/commands/qa.js.map +1 -1
  13. package/dist/commands/queue.d.ts.map +1 -1
  14. package/dist/commands/queue.js +27 -4
  15. package/dist/commands/queue.js.map +1 -1
  16. package/dist/commands/resolve.d.ts +26 -0
  17. package/dist/commands/resolve.d.ts.map +1 -0
  18. package/dist/commands/resolve.js +186 -0
  19. package/dist/commands/resolve.js.map +1 -0
  20. package/dist/commands/review.d.ts +5 -0
  21. package/dist/commands/review.d.ts.map +1 -1
  22. package/dist/commands/review.js +18 -5
  23. package/dist/commands/review.js.map +1 -1
  24. package/dist/commands/summary.d.ts +14 -0
  25. package/dist/commands/summary.d.ts.map +1 -0
  26. package/dist/commands/summary.js +193 -0
  27. package/dist/commands/summary.js.map +1 -0
  28. package/dist/commands/uninstall.d.ts.map +1 -1
  29. package/dist/commands/uninstall.js +14 -2
  30. package/dist/commands/uninstall.js.map +1 -1
  31. package/dist/scripts/night-watch-helpers.sh +10 -1
  32. package/dist/scripts/night-watch-pr-resolver-cron.sh +402 -0
  33. package/dist/scripts/night-watch-pr-reviewer-cron.sh +22 -5
  34. package/dist/scripts/night-watch-qa-cron.sh +30 -4
  35. package/dist/scripts/test-helpers.bats +45 -0
  36. package/dist/templates/night-watch-pr-reviewer.md +2 -1
  37. package/dist/templates/pr-reviewer.md +2 -1
  38. package/package.json +1 -1
@@ -21,7 +21,8 @@ If current PR code or review feedback conflicts with the PRD context, call out t
21
21
  ## Important: Early Exit
22
22
 
23
23
  - If there are **no open PRs** on `night-watch/` or `feat/` branches, **stop immediately** and report "No PRs to review."
24
- - If all open PRs have **no merge conflicts**, **passing CI**, and **review score >= 80** (or no review score yet), **stop immediately** and report "All PRs are in good shape."
24
+ - If all open PRs have **no merge conflicts**, **passing CI**, and **review score >= 80**, **stop immediately** and report "All PRs are in good shape."
25
+ - If a PR has no review score yet, it needs a first review — do NOT skip it.
25
26
  - Do **NOT** loop or retry. Process each PR **once** per run. After processing all PRs, stop.
26
27
  - Do **NOT** re-check PRs after pushing fixes -- the CI will re-run automatically on the next push.
27
28
 
@@ -21,7 +21,8 @@ If current PR code or review feedback conflicts with the PRD context, call out t
21
21
  ## Important: Early Exit
22
22
 
23
23
  - If there are **no open PRs** on `night-watch/` or `feat/` branches, **stop immediately** and report "No PRs to review."
24
- - If all open PRs have **no merge conflicts**, **passing CI**, and **review score >= 80** (or no review score yet), **stop immediately** and report "All PRs are in good shape."
24
+ - If all open PRs have **no merge conflicts**, **passing CI**, and **review score >= 80**, **stop immediately** and report "All PRs are in good shape."
25
+ - If a PR has no review score yet, it needs a first review — do NOT skip it.
25
26
  - Do **NOT** loop or retry. Process each PR **once** per run. After processing all PRs, stop.
26
27
  - Do **NOT** re-check PRs after pushing fixes -- the CI will re-run automatically on the next push.
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jonit-dev/night-watch-cli",
3
- "version": "1.8.8-beta.1",
3
+ "version": "1.8.8-beta.10",
4
4
  "description": "AI agent that implements your specs, opens PRs, and reviews code overnight. Queue GitHub issues or PRDs, wake up to pull requests.",
5
5
  "type": "module",
6
6
  "bin": {