The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
Keep Codex 0.130 JSON output visible (#27)
Tackd23337ae3ba5
diff --git a/src/lib/agents/argv.ts b/src/lib/agents/argv.tsindex 2e1ea9ee..c6cc169d 100644--- a/src/lib/agents/argv.ts+++ b/src/lib/agents/argv.ts@@ -299,8 +299,12 @@ function parseLineWithState(agent: string, line: string, state: ParseState): Ageif (agent === "codex") {if (obj.type === "item.completed" && obj.item && typeof obj.item === "object") {- const item = obj.item as { item_type?: string; text?: string };- if (item.item_type === "assistant_message" && typeof item.text === "string") {+ const item = obj.item as { item_type?: string; type?: string; text?: string };+ const itemType = item.item_type ?? item.type;+ if (+ (itemType === "assistant_message" || itemType === "agent_message") &&+ typeof item.text === "string"+ ) {out.push({ kind: "delta", text: item.text });}}@@ -316,6 +320,9 @@ function parseLineWithState(agent: string, line: string, state: ParseState): Ageif (obj.type === "task_complete" && obj.usage) {out.push({ kind: "meta", key: "usage", value: obj.usage });}+ if (obj.type === "turn.completed" && obj.usage) {+ out.push({ kind: "meta", key: "usage", value: obj.usage });+ }}if (agent === "cursor-agent" || agent === "gemini") {