displayName
StdinInteraction (subprocess approval grammar)
contextKind
test-fixture-config
typescriptInterface
StdinInteraction
producerIface
scenarios/interactive.ts buildInteractiveScenario
consumerIfaces
- @a5c-ai/agent-mux-harness-mock mock-process.ts (subprocess driver)
fieldSchema
- triggerPattern:string:required:Substring that, when seen on stdout/stderr, triggers the response
- response:string:required:Bytes to write to stdin (empty disables auto-reply)
- delayMs:int:optional:Delay before writing the response
- timeoutMs:int:optional:If set, fire onTimeout when no external stdin arrives
- onAllow:{ output, exitCode }:optional:Branch when response is non-empty
- onDeny:{ output, exitCode }:optional:Branch when external driver supplies a deny token
- onTimeout:{ output, exitCode }:optional:Branch when timeoutMs elapses
sourceCitation
packages/agent-mux/harness-mock/src/types.ts:115-148