The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix: validate canary release path in CI
repro9176218d163f
diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.ymlindex e84e448a75..7f48805bf7 100644--- a/.github/workflows/pr-verify.yml+++ b/.github/workflows/pr-verify.yml@@ -26,7 +26,7 @@ jobs:- name: Setup Node.jsuses: actions/setup-node@v4with:- node-version: 20+ node-version: 24cache: pnpm- name: Install dependencies@@ -40,3 +40,9 @@ jobs:- name: Buildrun: pnpm build++ - name: Release canary dry run+ run: |+ git checkout -B master HEAD+ git checkout -- pnpm-lock.yaml+ ./scripts/release.sh canary --skip-verify --dry-rundiff --git a/scripts/build-npm.sh b/scripts/build-npm.shindex 5807bb4923..00b8acc223 100755--- a/scripts/build-npm.sh+++ b/scripts/build-npm.sh@@ -15,9 +15,11 @@ CLI_DIR="$REPO_ROOT/cli"DIST_DIR="$CLI_DIR/dist"skip_checks=false+skip_typecheck=falsefor arg in "$@"; docase "$arg" in--skip-checks) skip_checks=true ;;+ --skip-typecheck) skip_typecheck=true ;;esacdone@@ -32,12 +34,16 @@ elsefi# ── Step 2: TypeScript type-check ──────────────────────────────────────────────-echo " [2/5] Type-checking..."-cd "$REPO_ROOT"-pnpm -r typecheck+if [ "$skip_typecheck" = false ]; then+ echo " [2/6] Type-checking..."+ cd "$REPO_ROOT"+ pnpm -r typecheck+else+ echo " [2/6] Skipping type-check (--skip-typecheck)"+fi# ── Step 3: Bundle CLI with esbuild ────────────────────────────────────────────-echo " [3/5] Bundling CLI with esbuild..."+echo " [3/6] Bundling CLI with esbuild..."cd "$CLI_DIR"rm -rf distdiff --git a/scripts/release.sh b/scripts/release.shindex 852351bdc7..ec18c1293f 100755--- a/scripts/release.sh+++ b/scripts/release.sh@@ -196,12 +196,7 @@ elsefirelease_info ""-release_info "==> Step 2/7: Rewriting workspace versions..."-set_public_package_version "$TARGET_PUBLISH_VERSION"-release_info " ✓ Versioned workspace to $TARGET_PUBLISH_VERSION"--release_info ""-release_info "==> Step 3/7: Building workspace artifacts..."+release_info "==> Step 2/7: Building workspace artifacts..."cd "$REPO_ROOT"pnpm buildbash "$REPO_ROOT/scripts/prepare-server-ui-dist.sh"@@ -211,9 +206,14 @@ for pkg_dir in server packages/adapters/claude-local packages/adapters/codex-locdonerelease_info " ✓ Workspace build complete"+release_info ""+release_info "==> Step 3/7: Rewriting workspace versions..."+set_public_package_version "$TARGET_PUBLISH_VERSION"+release_info " ✓ Versioned workspace to $TARGET_PUBLISH_VERSION"+release_info ""release_info "==> Step 4/7: Building publishable CLI bundle..."-"$REPO_ROOT/scripts/build-npm.sh" --skip-checks+"$REPO_ROOT/scripts/build-npm.sh" --skip-checks --skip-typecheckrelease_info " ✓ CLI bundle ready"VERSIONED_PACKAGE_INFO="$(list_public_package_info)"