-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
Description
I updated the specifications file and did /start.
Here is the error that happened almost immediately:
[↑↓] Navigate [ENTER] Expand/View Logs [H] History [Ctrl+S] Skip [Ctrl+C] Exit
Workflow execution failed: 230 | `),l=l.replace(/^.*\r([^\r\n]*)/gm,"$1"),W)l=l.replace(B7,"");return l=l.replace(/\n{3,}/g,`
231 |
232 | `),l},c;try{c=await ND({command:O,args:x,cwd:C,env:b,stdinInput:I,stdioMode:"pipe",onStdout:(i)=>{let l=s(i);y+=l;let d=y.split(`
233 | `);y=d.pop()??"";for(let UA of d)QA(UA)},onStderr:(i)=>{let l=s(i),d=HJ(l,W);N?.(d)},signal:k,timeout:v})}catch(i){let l=i,d=l?.message??"";if(l?.code==="ENOENT"||/not recognized as an internal or external command/i.test(d)||/command not found/i.test(d)){let p=[`'${O}' is not available on this system.`,"Install OpenCode via:"," npm i -g opencode-ai@latest"," brew install opencode"," scoop bucket add extras && scoop install extras/opencode"," choco install opencode","Docs: https://opencode.ai/docs"].join(`
234 | `);throw BE.error(`${_E.name} CLI not found when executing: ${O} ${x.join(" ")}`),Error(p)}throw i}if(y.trim())QA(y),y="";if(c.exitCode!==0){let i=c.stderr.trim(),l=c.stdout.trim(),d=(i||l||"no error output").split(`
235 | `);throw BE.error("OpenCode CLI execution failed",{exitCode:c.exitCode,sample:d,command:`${O} ${x.join(" ")}`}),Error(`OpenCode CLI exited with code ${c.exitCode}`)}return h.logCapturedTelemetry(c.exitCode),{stdout:c.stdout,stderr:c.stderr}}var B7,xk=(B,I=100)=>B.length>I?`${B.slice(0,I)}...`:B;var V6=n(()=>{A2();P4();j4();YD();eg();Yw();B7=new RegExp(String.raw`\u001B\[[0-9;?]*[ -/]*[@-~]`,"g")});import*as Q7 from"path";function $6(){return process.env.CODEMACHINE_SKIP_OPENCODE==="1"}async function mk(B){if($6()){console.log(`[dry-run] ${B.agentId}: ${B.prompt.slice(0,80)}...`);return}await kw({prompt:B.prompt,workingDir:B.cwd,model:B.model,agent:B.agent,onData:(I)=>{try{process.stdout.write(I)}catch{}},onErrorData:(I)=>{try{process.stderr.write(I)}catch{}}})}async function pk(B,I,C,g={}){let H=g.logger??((k)=>{try{process.stdout.write(k)}catch{}}),R=g.stderrLogger??((k)=>{try{process.stderr.write(k)}catch{}});if($6())return H(`[dry-run] ${B}: ${I.slice(0,120)}...`),"";let M="",N=await kw({prompt:I,workingDi | ... truncated
opencode is installed on the system
brandensilva, MathieuDoyon and malyshevhen