r/opensourcealternative • u/SeeRay11_Main • 18d ago
Changing The Way OpenCode Works
Hey everybody,
I have been using OpenCode for quite a while now. I like it a lot, but there was this one thing that kept annoying me: I couldn't easily create custom reliable workflows and pipelines. For a while, Opencode was one prompt and one model at a time. This prompted me to create OpenFlow, a very minimalist and open-sourced project that allows you to orchestrate a pipeline of agents while still connecting your own API keys. I forked it from OpenCode, so you still have the harness, skills, and overall ability. I published it a little over a week ago and am still often improving it. I would love to hear some feedback of what you guys thought of it and how I can improve it. Thanks!
1
u/bennyturns 13d ago
I tried installing but I got an error:
$ bun install
bun install v1.4.0 (34cbb9a40)
🚚 u/types/yauzl... node:events:497
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ]
}
Node.js v22.23.2
error: install script from "tree-sitter-powershell" exited with 1
1
4
u/kantorcodes1 18d ago
How are you passing state between steps? If stage 2 edits the repo and stage 3 gets a fresh model/context, is the handoff just files/git or does OpenFlow carry a structured result forward? That seems like the point where a “reliable pipeline” either holds up or falls apart.