refactor instructions to return object with full/system/user/event/runtime properties, fix duplicate modes and json prompt extraction (#110)

This commit is contained in:
Colin McDonnell
2026-01-16 21:43:54 +00:00
committed by pullfrog[bot]
parent 410b11db71
commit cb925556e8
16 changed files with 1843 additions and 1952 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const opencode = agent({
configureOpenCode(ctx);
// message positional must come right after "run", before flags
const args = ["run", ctx.instructions, "--format", "json"];
const args = ["run", ctx.instructions.full, "--format", "json"];
process.env.HOME = tempHome;