Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Fix server publish check for bin entrypoint (#1885)

Julius Marminge2028d57e88f2
diff --git a/apps/server/scripts/cli.ts b/apps/server/scripts/cli.ts
index 21bc515aa..fb8c9fee6 100644
--- a/apps/server/scripts/cli.ts
+++ b/apps/server/scripts/cli.ts
@@ -177,7 +177,7 @@ const publishCmd = Command.make(
const backupPath = `${packageJsonPath}.bak`;
// Assert build assets exist
- for (const relPath of ["dist/index.mjs", "dist/client/index.html"]) {
+ for (const relPath of ["dist/bin.mjs", "dist/client/index.html"]) {
const abs = path.join(serverDir, relPath);
if (!(yield* fs.exists(abs))) {
return yield* new CliError({