Codex (hybrid tier): native done via session-scoped notify config, heuristic PTY waiting detection, codex resume <thread-id>, probed rollout JSONL tailer. Droid (native tier): Claude-style hooks with a Notification permission-vs-idle classifier, --resume / exec -s resume (never -r in exec mode). Pi (native tier): session-JSONL telemetry + transcript tailing, pi --session resume. Adds the session-jsonl transcript source. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Add the Codex, Droid, and Pi CLI agent adapters (U5).
Three new launch adapters join the engine's CLI agent executor, each declaring honest, verified capability flags so surfaces can render tier differences:
- Codex (hybrid tier): native turn-complete via the session-scoped
notifyconfig program (-c notify=[…]), capturingthread-idas the native session id; waiting-on-input is inferred from ANSI-stripped PTY prompt-pattern heuristics (approval menus, idle composer markers, with a spinner/working override) because Codex has no native waiting signal; resume viacodex resume <thread-id>; rollout JSONL transcript tailed by probing (not hardcoding) the sessions directory for the file matching the thread-id. - Droid (native tier): Claude-style hooks (
SessionStart,Stop,Notification, tool-activity) deliveringsession_id/transcript_path/permission_mode; a message classifier splits the conflatedNotificationevent into permission-request vs idle sub-reasons (both treated as waiting-on-input); resume via interactivedroid --resume <id>or headlessdroid exec -s <id>— never the bare-rthat means--reasoning-effortin exec mode. - Pi (native tier): telemetry and transcript from session-JSONL tailing under a session-scoped
--session-dir; lifecycle events (turn/agent start→busy, end→done, input-request→waiting) plus message rows→transcript; resume viapi --session <path|partial-uuid>.
A new session-jsonl transcript source is added to the adapter capability union for Pi.