fix(cli): build all packages in ao-update, not just core/cli/web

Plugins like ao-plugin-agent-grok are statically imported but never
built during ao update, causing ERR_MODULE_NOT_FOUND after git pulls
that change plugin source.

Closes #1800
This commit is contained in:
suraj-markup 2026-05-22 15:23:03 +05:30
parent c633a7ac49
commit ee1fb78c86
1 changed files with 1 additions and 7 deletions

View File

@ -186,13 +186,7 @@ if [ "$SMOKE_ONLY" = false ]; then
run_cmd git pull --ff-only "$UPDATE_REMOTE" "$TARGET_BRANCH"
run_cmd pnpm install
run_cmd pnpm --filter @aoagents/ao-core clean
run_cmd pnpm --filter @aoagents/ao-cli clean
run_cmd pnpm --filter @aoagents/ao-web clean
run_cmd pnpm --filter @aoagents/ao-core build
run_cmd pnpm --filter @aoagents/ao-cli build
run_cmd pnpm --filter @aoagents/ao-web build
run_cmd pnpm build
printf '\nRefreshing ao launcher...\n'
(