Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Install ds-bot's packages in merge-dev.sh when the merge changes them

Fei2411736083fc9191
diff --git a/scripts/merge-dev.sh b/scripts/merge-dev.sh
index e311c0de..9dbf8297 100755
--- a/scripts/merge-dev.sh
+++ b/scripts/merge-dev.sh
@@ -37,6 +37,11 @@ if [ "$merged" -eq 0 ]; then
fi
fi
+# The bundle includes locked packages (deep-view), so a lockfile that changed with the
+# merge, or a checkout that never installed, needs `npm ci` before the build.
+if [ ! -d ds-bot/node_modules ] || ! git diff --quiet ORIG_HEAD -- ds-bot/package-lock.json; then
+ (cd ds-bot && npm ci --no-fund --no-audit >/dev/null)
+fi
# The merged sources may differ from both sides' bundles even without a conflict.
(cd ds-bot && npm run build >/dev/null)
git add ds-bot/client.js