@kody-ade/kody-engine-lite 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +2 -4
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -110,16 +110,14 @@ function createClaudeCodeRunner() {
|
|
|
110
110
|
function createOpenCodeRunner() {
|
|
111
111
|
return {
|
|
112
112
|
async run(stageName, prompt, model, timeout, _taskDir, options) {
|
|
113
|
-
const args2 = ["run"];
|
|
113
|
+
const args2 = ["run", "--agent", "build"];
|
|
114
114
|
if (model) {
|
|
115
115
|
args2.push("--model", model);
|
|
116
116
|
}
|
|
117
|
-
args2.push(prompt);
|
|
118
117
|
return runSubprocess(
|
|
119
118
|
"opencode",
|
|
120
119
|
args2,
|
|
121
|
-
|
|
122
|
-
// opencode takes message as positional, not stdin
|
|
120
|
+
prompt,
|
|
123
121
|
timeout,
|
|
124
122
|
options
|
|
125
123
|
);
|