mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): fail closed on user bash hook errors (#9662)
* fix(coding-agent): fail closed on user bash hook errors Prevent failed execution-routing hooks from falling back to the local shell. Fixes #9068 * fix(coding-agent): validate user bash hook results * docs(coding-agent): clarify user bash result semantics * docs(coding-agent): streamline user bash semantics * fix(coding-agent): strengthen user bash regressions * docs(coding-agent): clarify user bash breaking change
This commit is contained in:
parent
bdee230f1e
commit
509ee2bd0b
7 changed files with 413 additions and 14 deletions
|
|
@ -909,6 +909,8 @@ pi.on("user_bash", (event, ctx) => {
|
|||
});
|
||||
```
|
||||
|
||||
Returning `undefined` continues to the next handler, then local execution if none handles the event. A valid result stops propagation: `operations` executes the command through the supplied backend, while `result` records the completed command without executing it.
|
||||
|
||||
### Input Events
|
||||
|
||||
#### input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue