From 8fd6bc715cac1257800393941cffd4f3add26a22 Mon Sep 17 00:00:00 2001 From: Ricky Schema Cascade Date: Wed, 15 Jul 2026 19:55:22 +0200 Subject: [PATCH] fix(publish): add local-surface to the lockstep publish target list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @agentworkforce/local-surface was added in #263 but never added to the hardcoded package list in publish.yml, so it never went through the pnpm-pack step that rewrites workspace:* deps to concrete versions. It was published to npm out-of-band (likely a manual `npm publish`), leaving literal "workspace:*" strings in its published dependencies (@agentworkforce/deploy, persona-kit, runtime). Any plain `npm install` that resolves this package now crashes with "Unsupported URL Type workspace:" — npm-package-arg can't parse the pnpm workspace protocol. Slotting it into the topological list (after its deploy/persona-kit/ runtime deps, before its only consumer cli) lets the next publish run correctly pack and republish it via `pnpm pack`, superseding the broken 4.1.17. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4509df8f..5c790e78 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -95,10 +95,11 @@ jobs: # deploy (→ persona-kit + runtime; consumed by cli) # mcp-workforce (→ persona-kit + runtime) # daytona-runner (no workspace deps) - # cli (→ persona-kit + workload-router + deploy) + # local-surface (→ deploy + persona-kit + runtime; consumed by cli) + # cli (→ persona-kit + workload-router + deploy + local-surface) # agentworkforce (→ cli — umbrella wrapper, must publish last) # personas-core publishes via the separate publish-personas.yml workflow. - echo "packages=events persona-kit runtime compose delivery workload-router deploy mcp-workforce daytona-runner cli agentworkforce" >> "$GITHUB_OUTPUT" + echo "packages=events persona-kit runtime compose delivery workload-router deploy mcp-workforce daytona-runner local-surface cli agentworkforce" >> "$GITHUB_OUTPUT" # Lockstep baseline heal. The workspace publishes every package at the # same version, so if any package's local version lags either its own