iop/agent-task/03_cli_emitter_interface
toki 4369dc6975 refactor(cli): extract lineEmitter interface and common scanner driver
- Define lineEmitter interface with Name()/Emit() methods
- Add driveJSONLines() shared scanner loop for all JSONL emitters
- Implement 5 format-specific emitters (stream, claude, codex, opencode, cline)
- Replace executeCommand switch with jsonEmitters registry lookup
- Reduce oneshot.go from 481 to 160 lines (-67%)
- Add 20+ unit tests for emitters and driveJSONLines
2026-05-04 17:43:18 +09:00
..
CODE_REVIEW.md refactor(cli): extract lineEmitter interface and common scanner driver 2026-05-04 17:43:18 +09:00
PLAN.md chore: update configs/edge.yaml and add agent-task directories 2026-05-04 12:40:58 +09:00