feat: codex-run.sh watchdog wrapper + stub tests
This commit is contained in:
1 parent
d0035498fa
commit
fa433da81a
4 files changed
+114
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# fake codex: emits thread.started, writes last message file, exits 0
|
||||
out=""
|
||||
prev=""
|
||||
for a in "$@"; do [[ $prev == "-o" ]] && out=$a; prev=$a; done
|
||||
echo '{"type":"thread.started","thread_id":"test-thread-123"}'
|
||||
echo '{"type":"turn.completed"}'
|
||||
echo "stub answer" > "$out"
|
||||
exit 0
|
||||
Reference in new issue
Block a user