next-issue 17.1.0 → 17.1.1

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.
@@ -86,8 +86,14 @@ async function watchPasses(failed, watch) {
86
86
  await watch.passEnd(pass.reports);
87
87
  step = 0;
88
88
  }
89
- if (pass.error !== undefined || pass.stoppedAt !== undefined) {
90
- return { ...pass, reports };
89
+ if (pass.error !== undefined) {
90
+ if (!watching()) {
91
+ return { ...pass, reports };
92
+ }
93
+ watch.unreadable(pass.error);
94
+ }
95
+ if (pass.stoppedAt !== undefined) {
96
+ return { reports, stoppedAt: pass.stoppedAt };
91
97
  }
92
98
  if (watch.stop() || !watching()) {
93
99
  return { reports };
@@ -83,6 +83,7 @@ export function watchRun(args, loop, context, controls, print) {
83
83
  return slept;
84
84
  },
85
85
  passEnd: (issues) => print({ ...recorder.summary(passStart), issues }),
86
+ unreadable: (error) => recorder.event('issues.unreadable', { error: message(error) }),
86
87
  hunter: hunt,
87
88
  hunting: controls.hunting ?? onOff(args.hunt),
88
89
  watching: controls.watching,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "17.1.0",
3
+ "version": "17.1.1",
4
4
  "description": "Autonomous issue harness driven by the Claude Agent SDK",
5
5
  "keywords": [
6
6
  "github",