next-issue 6.6.78 → 6.6.79

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/README.md CHANGED
@@ -688,7 +688,8 @@ affect another. The worker:
688
688
  unknown argument with an `error` message;
689
689
  - sends every client the progress of every run when it connects and on every
690
690
  change: for each running issue the issue, the step, the tool count and the
691
- last tool, and the handled issues;
691
+ last tool, and the handled issues (an issue handled in more than one pass
692
+ appears once for each);
692
693
  - sends every client a `questions` message for each repository: the open
693
694
  issues with the `needsHuman` label, each with its number, title, the reason
694
695
  of the hand-over, the url of the comment that holds it, the `owner/name`
package/dist/progress.mjs CHANGED
@@ -39,8 +39,7 @@ function change(progress, issue, update) {
39
39
  };
40
40
  }
41
41
  function addHandled(handled, issue, outcome) {
42
- const repeated = handled.some((item) => item.issue === issue && item.outcome === outcome);
43
- return !repeated && (outcome === 'done' || outcome === 'needs-human' || outcome === 'error')
42
+ return outcome === 'done' || outcome === 'needs-human' || outcome === 'error'
44
43
  ? [...handled, { issue, outcome }]
45
44
  : handled;
46
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "6.6.78",
3
+ "version": "6.6.79",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",