Fix Claude CLI install using wrong npm package name#22
Conversation
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
|
@copilot Lint appears to not pass. |
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Fixed in commit 30576fd. The linting errors were:
All tests pass and linting is clean now. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot there's still 2 failing checks -- please fix |
…code Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Fixed in commit ed45f65. The 2 failing checks were both linting issues:
All tests pass and linting is now clean. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot now the PR artifacts fail to build, fix please |
Co-authored-by: kevinelliott <123112+kevinelliott@users.noreply.github.com>
Fixed in commit b8d180a. The "build failure" was actually a permissions issue - the build itself succeeded but the workflow couldn't comment on the PR. Added Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
🔨 Build Artifacts ReadyTest binaries for PR #22 (b8d180a) have been built successfully! Available platforms:
Download artifacts from the workflow run Testing instructions: # Download and extract the appropriate archive
tar -xzf agentpipe_<platform>.tar.gz
# or for Windows: unzip agentpipe_windows_amd64.zip
# Test the binary
./agentpipe doctor
./agentpipe --help |
Fix Claude CLI install using wrong npm package name
The
agentpipe agents install claudecommand failed becauseinternal/registry/agents.jsonreferenced a non-existent npm package@anthropic-ai/claude-cliinstead of the correct@anthropic-ai/claude-code.Changes
agents.json: Updated all install/uninstall/upgrade commands to use
@anthropic-ai/claude-codeacross darwin, linux, and windows platformsregistry_test.go: Added
TestClaudePackageNameConsistencyto verify package name consistency and prevent regression. Refactored to reduce cyclomatic complexity by extracting helper functions.Code formatting and refactoring:
cmd/root.go,internal/bridge/events.go,internal/bridge/zerolog_json_writer.go,pkg/logger/logger.go, andpkg/orchestrator/orchestrator.go(alignment adjustments)LogMessagefunction inpkg/logger/logger.goby extracting helper methods to reduce cyclomatic complexity from 16 to acceptable levelsWorkflow fix: Added
pull-requests: writepermission to.github/workflows/build-pr.ymlto allow the workflow to comment on PRs with build artifact informationVerification
Testing
✅ All tests pass with race detector
✅ Build successful
✅ All linting issues resolved:
✅ PR artifacts workflow fixed - can now comment on PRs
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.