원클릭으로
publish
Publish AntSeed packages to npm, including version bumping, dry-run validation, and verification.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Publish AntSeed packages to npm, including version bumping, dry-run validation, and verification.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Connect a Hermes agent to the AntSeed P2P AI network. Install the buyer proxy, configure the chain, fund the wallet via the payments portal, and wire Hermes to route through AntSeed. Use when: user asks to connect Hermes to AntSeed, set up AntSeed for a Hermes agent, deposit funds for Hermes, or change the routed model.
"Connect OpenClaw to the AntSeed P2P AI network as a buyer. Use when: user asks to connect OpenClaw to AntSeed, route OpenClaw through AntSeed, set up AntSeed as a service provider for OpenClaw, or use P2P AI services in OpenClaw."
Add a new SQLite migration to the AntSeed node package. Use when adding tables, columns, or indexes to channel-store or metering databases.
Translates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", "generate code", "implement component", "build Figma design", provides Figma URLs, or asks to build components matching Figma specs. Requires Figma MCP server connection.
| name | publish |
| description | Publish AntSeed packages to npm, including version bumping, dry-run validation, and verification. |
Publish all public @antseed/* packages to the npm registry. This skill handles version bumping, building, publishing, and verification.
npm whoami should return the org owner)/Users/shahafan/Development/antseedScope — decide whether to publish all packages or only what's needed:
@antseed/api-adapter that needs to reach the seller stack).To compute the minimum publish set for a selective release:
npm view <pkg>@latest dependencies. Workspace workspace:* refs are resolved at publish time to exact versions (no caret), so the published dependent will keep installing the old source forever unless it's republished too.>= range (those don't need rebumping).Example — a fix in @antseed/api-adapter:
npm view @antseed/node@latest dependencies | grep api-adapter
# '@antseed/api-adapter': '0.1.36' ← exact pin, must republish node
npm view @antseed/cli@latest dependencies | grep -E "api-adapter|@antseed/node"
# '@antseed/api-adapter': '0.1.36'
# '@antseed/node': '0.2.75' ← exact pin, must republish cli
→ Minimum set: api-adapter, node, cli. Other workspace consumers (provider-core, router-core, ant-agent) declare @antseed/node >=0.1.0 and don't need republishing.
Version bump — ask the user what kind:
Use pnpm to bump versions in a single command. Never edit each package.json manually.
Pass each package explicitly:
pnpm --filter @antseed/api-adapter \
--filter @antseed/node \
--filter @antseed/cli \
exec npm version <patch|minor|major> --no-git-tag-version
# Bump all 15 publishable packages at once
pnpm -r --filter './packages/*' \
--filter './plugins/*' \
--filter '@antseed/cli' \
--filter '@antseed/network-stats' \
--filter '@antseed/payments' \
exec npm version <patch|minor|major> --no-git-tag-version
This bumps everything under packages/* and plugins/*, plus the three publishable apps (@antseed/cli, @antseed/network-stats, @antseed/payments). Private packages (e2e, @antseed/desktop, @antseed/website, @antseed/diem-staking) are excluded.
Before running, sanity-check which apps are public vs private (the set occasionally changes):
for d in apps/*/; do node -e "const p=require('./$d/package.json'); console.log((p.private?'[PRIV]':'[PUB] ')+p.name+'@'+p.version)"; done
If a new public app appears, add it to the filter list above and update this skill.
Verify the bump worked:
pnpm -r --filter './packages/*' \
--filter './plugins/*' \
--filter '@antseed/cli' \
--filter '@antseed/network-stats' \
--filter '@antseed/payments' \
exec -- node -p 'require("./package.json").name + "@" + require("./package.json").version'
pnpm run build
Build must succeed with zero errors before proceeding.
For a selective release, scope the publish to the same --filter set you bumped:
pnpm --filter @antseed/api-adapter \
--filter @antseed/node \
--filter @antseed/cli \
publish --no-git-checks --access public --dry-run
For a full release, use -r:
pnpm -r publish --no-git-checks --access public --dry-run
Verify in the output:
workspace:* appears in any tarball's dependencies (pnpm resolves these automatically)dist/ files (not source .ts files)Same --filter scope as the dry-run:
# selective
pnpm --filter <...> publish --no-git-checks --access public
# full
pnpm -r publish --no-git-checks --access public
Packages publish in dependency order. If a package version already exists on npm, pnpm skips it gracefully.
Test that the CLI installs cleanly from npm in an isolated temp directory:
tmpdir=$(mktemp -d) && cd "$tmpdir" && npm install @antseed/cli@<NEW_VERSION> 2>&1 && npx antseed --version && rm -rf "$tmpdir"
Confirm:
npm install exits 0 with no workspace protocol errorsantseed --version runs and prints a versionStage all changed package.json files and the lockfile, then commit:
chore: bump all packages to v<NEW_VERSION>
pnpm publish, never npm publish. Only pnpm knows how to resolve workspace:* references to real version numbers in the published tarball.package.json has convenience scripts: pnpm run publish:all (build + publish) and pnpm run publish:dry (build + dry-run).e2e, @antseed/desktop, @antseed/website, and @antseed/diem-staking packages are private and are automatically skipped."files": ["dist"] to keep tarballs clean.@antseed/node package includes "files": ["dist", "scripts"] for the postinstall patch script.pnpm run build step fails inside @antseed/desktop (e.g. native-module rebuild OOM), it does NOT block publishing — desktop is private, and all publishable packages build in earlier tiers. Just confirm each publishable package has a fresh dist/ before proceeding to dry-run.packages/* @antseed/node, @antseed/api-adapter, @antseed/ant-agent,
@antseed/provider-core, @antseed/router-core
plugins/* provider-anthropic, provider-claude-code, provider-claude-oauth,
provider-openai, provider-openai-responses, provider-local-llm,
router-local
apps/* @antseed/cli, @antseed/network-stats, @antseed/payments
Private (not published): e2e, @antseed/desktop, @antseed/website, @antseed/diem-staking.