|
@@ -1,5 +1,6 @@
|
|
|
#!/usr/bin/env bun
|
|
#!/usr/bin/env bun
|
|
|
|
|
|
|
|
|
|
+import { Script } from "@opencode-ai/script"
|
|
|
import fs from "fs"
|
|
import fs from "fs"
|
|
|
import path from "path"
|
|
import path from "path"
|
|
|
import { fileURLToPath } from "url"
|
|
import { fileURLToPath } from "url"
|
|
@@ -48,6 +49,7 @@ await Bun.build({
|
|
|
external: ["jsonc-parser"],
|
|
external: ["jsonc-parser"],
|
|
|
define: {
|
|
define: {
|
|
|
OPENCODE_MIGRATIONS: JSON.stringify(migrations),
|
|
OPENCODE_MIGRATIONS: JSON.stringify(migrations),
|
|
|
|
|
+ OPENCODE_CHANNEL: `'${Script.channel}'`,
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
|
|
|