refactor agent pre-step inbox lifecycle
This commit is contained in:
@@ -81,7 +81,7 @@ export type MatcherMode = 'claude' | 'codex'
|
||||
/**
|
||||
* The dialect-neutral OUTCOME a hook produced, parsed from its exit code +
|
||||
* stdout JSON + stderr by {@link parseHookOutput}. A bridge maps this onto a
|
||||
* seam-specific typed Decision (PreToolDecision, PromptDecision, …). Every field
|
||||
* seam-specific typed Decision (PreToolDecision, PreStepDecision, …). Every field
|
||||
* is OPTIONAL because a hook may exercise any subset; the bridge decides which
|
||||
* fields are meaningful for its hook point and which it ignores (faithful-but-
|
||||
* degraded — e.g. Codex ignores `allow`/`ask`).
|
||||
|
||||
Reference in New Issue
Block a user