core: add Node.js runtime support

Enable running opencode on Node.js by adding platform-specific database adapters and replacing Bun-specific shell execution with cross-platform Process utility.
This commit is contained in:
Dax Raad
2026-03-10 11:40:23 -04:00
parent 4f82248a68
commit 0ec42582f3
12 changed files with 564 additions and 551 deletions
+6
View File
@@ -0,0 +1,6 @@
await Bun.build({
target: "node",
entrypoints: ["./src/node.ts"],
outdir: "./dist",
format: "esm",
})