fix(publish): add local-surface to the lockstep publish target list
Merged
KH
3mo ago+3+3+0123456789-2-2-0123456789
Summary
@agentworkforce/local-surface(added in #263) was never added to the hardcoded package list inpublish.yml's "Resolve target packages" step.- Because of that, it never went through the
pnpm packstep that rewritesworkspace:*deps to concrete versions beforenpm publish. It ended up on npm (v4.1.17, its only published version) with literal"workspace:*"strings still in itsdependenciesfor@agentworkforce/deploy,persona-kit, andruntime. - Any plain
npm installthat resolves this package now hard-crashes withUnsupported URL Type "workspace:": workspace:*(npm-package-arg can't parse the pnpm workspace protocol). This breaksnpm install -g agentworkforce@latestentirely, since@agentworkforce/clidepends onlocal-surface@4.1.17. - Fix: add
local-surfaceto the topological package list, slotted after its workspace deps (deploy/persona-kit/runtime) and before its only consumer (cli).
Test plan
- YAML validated (
yaml.safe_load) - Next
Publish Packagesworkflow run republisheslocal-surfaceat the new lockstep version viapnpm pack(confirms workspace refs are resolved in the published tarball) -
npm install -g agentworkforce@latestsucceeds after the new version is live
🤖 Generated with Claude Code