Skip to content

fix(agent-init): use the project's package manager and pin the version - #180

Merged
yusukebe merged 1 commit into
nextfrom
fix/agent-init-package-manager
Oct 15, 2026
Merged

yusukebe merged 1 commit into
nextfrom
fix/agent-init-package-manager

Conversation

@yusukebe

@yusukebe yusukebe commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Two reports from people who tried rc.8:

  • A project with devEngines set to pnpm makes npm refuse npx hono, but the block told agents to run npx hono and npx skills add. Now the block uses the package manager of the lockfile: pnpm exec hono and pnpm dlx skills add in a pnpm project, npx with npm, yarn / yarn dlx, bunx.
  • pnpm add -D @hono/cli@next silently stays on an older version, because pnpm 11 skips a release younger than minimumReleaseAge. agent-init now adds the exact version, and pnpm adds an exclude for it.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • pnpm run check:fix to format and lint the code
  • Add TSDoc/JSDoc to document the code

@yusukebe
yusukebe merged commit 955bc91 into next Oct 15, 2026
4 checks passed
@yusukebe
yusukebe deleted the fix/agent-init-package-manager branch October 15, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant