Skip to content

Add npm as tool prerequisite#9

Merged
juhgiyo merged 3 commits intomainfrom
claude/add-package-manager-prerequisite
Mar 13, 2026
Merged

Add npm as tool prerequisite#9
juhgiyo merged 3 commits intomainfrom
claude/add-package-manager-prerequisite

Conversation

@juhgiyo
Copy link
Copy Markdown
Contributor

@juhgiyo juhgiyo commented Mar 13, 2026

Summary

  • Adds npm as a declared tool in the tools section of AGENT.md
  • This lets validate_agent() detect when Node.js/npm is missing before attempting CLI installation

Test plan

  • Verify validate_agent() reports missing npm when Node.js is not on PATH
  • Verify normal agent installation still works when npm is available

🤖 Generated with Claude Code

juhgiyo and others added 3 commits March 10, 2026 12:39
When run by strawhub, INSTALL_DIR is set to the package directory.
Remove sudo fallback — error out if target directory is not writable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Declares npm as a required tool so that validate_agent() can detect
when Node.js is missing before attempting to install the CLI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@juhgiyo juhgiyo merged commit b88a085 into main Mar 13, 2026
1 check passed
@juhgiyo juhgiyo deleted the claude/add-package-manager-prerequisite branch March 13, 2026 23:35
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