copilot-operator 0.1.94 → 0.1.96

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 (60) hide show
  1. package/dist/src/api/operator.controller.js +5 -1
  2. package/dist/src/api/operator.service.js +272 -50
  3. package/dist/src/config/live.js +12 -12
  4. package/dist/src/orchestrator/kerriganRunner.js +11 -4
  5. package/dist/src/orchestrator/leadRunner.js +76 -23
  6. package/dist/src/orchestrator/review.js +6 -2
  7. package/dist/src/orchestrator/subtaskRetry.js +2 -1
  8. package/dist/src/orchestrator/taskRunner.js +75 -16
  9. package/dist/src/plan/kerrigan.js +4 -4
  10. package/dist/src/plan/systemGuide.js +12 -12
  11. package/dist/src/queue/queue.js +12 -0
  12. package/dist/src/queue/queueBranch.js +34 -9
  13. package/dist/src/session/store.js +9 -0
  14. package/dist/src/session/workspace.js +3 -2
  15. package/dist/src/transport/copilotTransport.js +83 -68
  16. package/dist/src/transport/keptWindow.js +17 -14
  17. package/dist/src/vcs/newBranch.js +23 -0
  18. package/dist/src/vcs/referenceGuard.js +16 -2
  19. package/dist/web/404.html +2 -2
  20. package/dist/web/_next/static/chunks/1024-214ded25b9048526.js +1 -0
  21. package/dist/web/_next/static/chunks/1077.161de82f740d47f0.js +1 -0
  22. package/dist/web/_next/static/chunks/1548.f2688468bf946e13.js +1 -0
  23. package/dist/web/_next/static/chunks/2163.b8ada3b7bde69f03.js +1 -0
  24. package/dist/web/_next/static/chunks/714.d1489788e598833b.js +1 -0
  25. package/dist/web/_next/static/chunks/7220.b85c8d105f394389.js +1 -0
  26. package/dist/web/_next/static/chunks/7921-00ebbcc6f65fbe35.js +1 -0
  27. package/dist/web/_next/static/chunks/8584.a678bfced1cea938.js +1 -0
  28. package/dist/web/_next/static/chunks/9067.6da03ae052877b19.js +1 -0
  29. package/dist/web/_next/static/chunks/9747.ba29e64e97e8a15b.js +1 -0
  30. package/dist/web/_next/static/chunks/app/{layout-1b7d13f7b2efd008.js → layout-2364903896c2c175.js} +1 -1
  31. package/dist/web/_next/static/chunks/app/page-d031bf326e401246.js +1 -0
  32. package/dist/web/_next/static/chunks/app/queue/page-9cfc8f78d536cfb6.js +1 -0
  33. package/dist/web/_next/static/chunks/app/settings/page-9c2b961beb8b3dce.js +1 -0
  34. package/dist/web/_next/static/chunks/{webpack-91b2de9c3da6f8b9.js → webpack-3f144d13be3516c2.js} +1 -1
  35. package/dist/web/defaults.html +2 -2
  36. package/dist/web/defaults.txt +7 -7
  37. package/dist/web/index.html +3 -3
  38. package/dist/web/index.txt +8 -8
  39. package/dist/web/queue.html +2 -2
  40. package/dist/web/queue.txt +8 -8
  41. package/dist/web/settings.html +2 -2
  42. package/dist/web/settings.txt +8 -8
  43. package/dist/web/system.html +2 -2
  44. package/dist/web/system.txt +8 -8
  45. package/package.json +1 -1
  46. package/dist/web/_next/static/chunks/1024-dee283a1ddf295bf.js +0 -1
  47. package/dist/web/_next/static/chunks/1077.b7df9cb8ca810075.js +0 -1
  48. package/dist/web/_next/static/chunks/1548.417c17b63c371f00.js +0 -1
  49. package/dist/web/_next/static/chunks/2163.469367b8fbcc862d.js +0 -1
  50. package/dist/web/_next/static/chunks/714.72112704f3cb8127.js +0 -1
  51. package/dist/web/_next/static/chunks/7220.8bd897c7ddfee701.js +0 -1
  52. package/dist/web/_next/static/chunks/7921-25d1755799107ea7.js +0 -1
  53. package/dist/web/_next/static/chunks/8584.f87df7324303ab75.js +0 -1
  54. package/dist/web/_next/static/chunks/9067.67a7c7cf3b019b5c.js +0 -1
  55. package/dist/web/_next/static/chunks/9747.a87dbd4acd45e39d.js +0 -1
  56. package/dist/web/_next/static/chunks/app/page-7eae1e8848525e1d.js +0 -1
  57. package/dist/web/_next/static/chunks/app/queue/page-7909ba7c9e3d4c2d.js +0 -1
  58. package/dist/web/_next/static/chunks/app/settings/page-c92548f9c6318962.js +0 -1
  59. /package/dist/web/_next/static/{UNygvDtRnBVZrGJt53IE4 → kNfJ9jSwlboc-1sFBBfuI}/_buildManifest.js +0 -0
  60. /package/dist/web/_next/static/{UNygvDtRnBVZrGJt53IE4 → kNfJ9jSwlboc-1sFBBfuI}/_ssgManifest.js +0 -0
@@ -484,7 +484,11 @@ let OperatorController = class OperatorController {
484
484
  if (!['run', 'skip', 'abort', 'run-all'].includes(body?.action)) {
485
485
  throw new BadRequestException('action must be run, run-all, skip or abort');
486
486
  }
487
- return this.ops.decide(id, body.action);
487
+ // Refused as the other answers are (2026-11-18): an "ok: false" with 200 looked taken in the page.
488
+ const result = this.ops.decide(id, body.action);
489
+ if (!result.ok)
490
+ throw new BadRequestException(result.problem);
491
+ return result;
488
492
  }
489
493
  /** A subtask that failed for a technical reason (two chats, 2026-10-25): one of its card's choices. */
490
494
  answerRetry(id, body) {