Vendor opencode source for docker build

This commit is contained in:
southseact-3d
2026-02-07 20:54:46 +00:00
parent b30ff1cfa4
commit efda260214
3195 changed files with 387717 additions and 1 deletions

23
opencode/sst.config.ts Normal file
View File

@@ -0,0 +1,23 @@
/// <reference path="./.sst/platform/config.d.ts" />
export default $config({
app(input) {
return {
name: "opencode",
removal: input?.stage === "production" ? "retain" : "remove",
protect: ["production"].includes(input?.stage),
home: "cloudflare",
providers: {
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY!,
},
planetscale: "0.4.1",
},
}
},
async run() {
await import("./infra/app.js")
await import("./infra/console.js")
await import("./infra/enterprise.js")
},
})