You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Claude parser currently accepts one result object. A synthetic event-array result fails with claude emitted a non-object result; the upstream parser accepts the same input.
Accept both formats. For arrays, select the last type: "result" event and reject terminal errors before accepting its text. Preserve model, session, usage, and cost parsing. Keep the fork's gateway-specific model verification and costUsd: null behavior.
Cover legacy objects, valid arrays, multiple result events, missing terminal results, and terminal errors. Exercise the shared parser through Claude and gateway provider routes.
Files: runner/parse-output.ts and its tests, under plugins/pstack/skills/poteto-mode/scripts/.
Done when
The focused regression checks pass, along with bash scripts/check.sh.
The exact candidate is installed and the changed behavior passes from each affected parent app. Record the version, action, and observed result in the PR. Keep it draft until that evidence is complete.
Activity