refactor: share webhook channel status helpers

This commit is contained in:
Peter Steinberger
2026-03-29 02:10:58 +01:00
parent 2afc655bd5
commit 148a65fe90
16 changed files with 610 additions and 418 deletions

View File

@@ -48,7 +48,7 @@ function listExtensionFiles(): {
continue;
}
const source = readFileSync(channelPath, "utf8");
if (source.includes("outbound:")) {
if (/\boutbound\s*:\s*\{/.test(source)) {
inlineChannelEntrypoints.push(toPosix(path.join("extensions", entry.name, "src/channel.ts")));
}
}