iop/apps/node/internal/adapters/cli
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
..
internal/testutil refactor: reorganize CLI adapter into subpackages 2026-05-03 18:19:00 +09:00
status edge/node: console events, cli status parser, transport updates, proto runtime updates 2026-05-04 16:49:13 +09:00
cli.go chore: update cli adapter and sync agent-task logs 2026-05-04 17:10:34 +09:00
cli_test.go chore: update cli adapter and sync agent-task logs 2026-05-04 17:10:34 +09:00
codex_exec.go feat: enhance CLI adapters with oneshot mode, update edge/node configs and add tests 2026-05-04 09:17:24 +09:00
codex_exec_blackbox_test.go fix: clean up CLI test layout and add blackbox test logs 2026-05-04 17:21:02 +09:00
emitters.go refactor(cli): extract lineEmitter interface and common scanner driver 2026-05-04 17:43:18 +09:00
emitters_internal_test.go refactor(cli): extract lineEmitter interface and common scanner driver 2026-05-04 17:43:18 +09:00
lifecycle_blackbox_test.go fix: clean up CLI test layout and add blackbox test logs 2026-05-04 17:21:02 +09:00
oneshot.go refactor(cli): extract lineEmitter interface and common scanner driver 2026-05-04 17:43:18 +09:00
oneshot_blackbox_test.go fix: clean up CLI test layout and add blackbox test logs 2026-05-04 17:21:02 +09:00
persistent.go feat: enhance CLI adapters with oneshot mode, update edge/node configs and add tests 2026-05-04 09:17:24 +09:00
persistent_execute_blackbox_test.go fix: clean up CLI test layout and add blackbox test logs 2026-05-04 17:21:02 +09:00