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 2f41d89163
commit 5dc8b4ef29
12 changed files with 564 additions and 551 deletions

View File

@@ -0,0 +1,6 @@
await Bun.build({
target: "node",
entrypoints: ["./src/node.ts"],
outdir: "./dist",
format: "esm",
})