Files
pebrel/nebula_app
Sakyvo d2aa6030b7 fix(ai): a pi turn finished on a tool call is a completion, not a failure
pi reports `stop_reason = "toolUse"` when a turn ends right after a tool
result — which is exactly how the plan approval panel and a completed goal
close out. The bridge mapped that to `Incomplete`, so every such turn raised
the red "needs attention" banner and marked the pane as a failed command,
even though nothing went wrong.

`toolUse` now maps to `Succeeded`; `length`, `error` and `aborted` keep their
meanings. Nothing changes on the pi side.

Verified: unit tests for the outcome table and the notification path now cover
the host-finished case (completion notification, non-failure); full
`cargo test -p nebula --bin pebrel` — 1754 passed.
2026-09-27 18:12:46 +08:00
..
2026-07-11 13:04:59 +08:00
2026-07-11 13:04:59 +08:00
2026-07-11 13:04:59 +08:00