build: replace upstream team-list dependency, add neuron launcher preferring compiled binary

This commit is contained in:
2026-08-21 15:11:13 -05:00
parent e30d80389c
commit 746a9bd2df
3 changed files with 15 additions and 47 deletions
+2 -9
View File
@@ -47,15 +47,8 @@ const VERSION = await (async () => {
return `${major}.${minor}.${patch + 1}`
})()
const bot = ["actions-user", "opencode", "opencode-agent[bot]"]
const teamPath = path.resolve(import.meta.dir, "../../../.github/TEAM_MEMBERS")
const team = [
...(await Bun.file(teamPath)
.text()
.then((x) => x.split(/\r?\n/).map((x) => x.trim()))
.then((x) => x.filter((x) => x && !x.startsWith("#")))),
...bot,
]
// Neuron fork: upstream's TEAM_MEMBERS list is gone; maintain the bot list only.
const team = ["neuron"]
export const Script = {
get channel() {