II.
InteractionPrimitive overview
Reference · liveinteraction-primitive:agent-mux-harness-mock-interactive-yolo
harness-mock interactive:yolo overview
Mock claude-code session that prompts "Do you want to allow this tool call? (y/n)" on stderr and auto-replies "y" on stdin (`onAllow` → exitCode 0 with claudeResult). Drives "yolo"-style approval tests. Source: packages/agent-mux/harness-mock/src/scenarios/interactive.ts:20-66 (mode='yolo'; INTERACTION_SCENARIOS.yolo).
Attributes
displayName
harness-mock interactive:yolo
kind
mock-scenario
surface
prompt-ui
description
Mock claude-code session that prompts "Do you want to allow this tool
call? (y/n)" on stderr and auto-replies "y" on stdin (`onAllow` →
exitCode 0 with claudeResult). Drives "yolo"-style approval tests.
Source: packages/agent-mux/harness-mock/src/scenarios/interactive.ts:20-66
(mode='yolo'; INTERACTION_SCENARIOS.yolo).
Outgoing edges
None.
Incoming edges
exposes_subcommand1
- package:a5c-ai-agent-mux-harness-mock·PackageSurface
supports_interaction_primitive1
- agent-ui-impl:agent-mux.ui@current·AgentUIImplagent-mux UI (current) — multi-surface