mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 04:29:42 +00:00
sync
This commit is contained in:
parent
9a26b3058f
commit
f3da73553c
178 changed files with 765 additions and 3382 deletions
18
sst.config.ts
Normal file
18
sst.config.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/// <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",
|
||||
}
|
||||
},
|
||||
async run() {
|
||||
const { api } = await import("./infra/app.js")
|
||||
return {
|
||||
api: api.url,
|
||||
}
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue