Skip to content

Commit 4842046

Browse files
kevinelliottclaude
andcommitted
Update documentation for v0.2.0 release
- Update CHANGELOG.md with comprehensive v0.2.0 release notes - Document new agent upgrade command - Document automated version detection for all agents - Document parallel version checking improvements - Document bug fixes (npm 404s, Ollama version detection) - Document UI/UX improvements - Update README.md with v0.2.0 information - Update "What's New" section with v0.2.0 highlights - Add new "agentpipe agents" command documentation - Document "agentpipe agents list" with --installed and --outdated flags - Document "agentpipe agents upgrade" with examples - Include example output and usage patterns 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f04510d commit 4842046

File tree

3 files changed

+160
-10
lines changed

3 files changed

+160
-10
lines changed

CHANGELOG.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v0.2.0] - 2025-10-20
11+
12+
### Added
13+
- **Agent Upgrade Command**: New `agentpipe agents upgrade` subcommand for easy updates
14+
- Upgrade individual agents: `agentpipe agents upgrade claude`
15+
- Upgrade multiple agents: `agentpipe agents upgrade claude ollama gemini`
16+
- Upgrade all installed agents: `agentpipe agents upgrade --all`
17+
- Automatic detection of installed agents for selective upgrades
18+
- User confirmation prompts before performing upgrades
19+
- Cross-platform support (darwin, linux, windows)
20+
- **Automated Version Detection**: Complete version checking for all 10 supported agents
21+
- npm registry integration (Claude, Codex, Gemini, Copilot, Amp, Qwen)
22+
- Homebrew Formulae API integration (Ollama)
23+
- GitHub Releases API integration (Qwen fallback)
24+
- Shell script parsing for version extraction (Factory, Cursor)
25+
- JSON manifest parsing (Qoder)
26+
- Replaces all "manual install" placeholders with actual version numbers
27+
- **Multiple Package Manager Support**: Extensible version checking architecture
28+
- `npm`: Query npm registry API for latest versions
29+
- `homebrew`: Query Homebrew Formulae API for latest versions
30+
- `github`: Query GitHub Releases API for latest releases
31+
- `script`: Parse shell install scripts for VER= or DOWNLOAD_URL= version patterns
32+
- `manifest`: Fetch and parse JSON manifests with "latest" field
33+
- **Parallel Version Checking**: Dramatically improved performance with concurrent API calls
34+
- Goroutine-based concurrent version fetching
35+
- Buffered channels for result collection
36+
- Performance improvement: ~10+ seconds → ~3.7 seconds for 10 agents
37+
- Thread-safe result aggregation
38+
39+
### Fixed
40+
- **npm 404 Errors**: Corrected package names for npm-based agents
41+
- Claude: `@anthropic-ai/claude-cli``@anthropic-ai/claude-code`
42+
- Codex: `@openai/codex-cli``@openai/codex`
43+
- Gemini: `@google/generative-ai-cli``@google/gemini-cli`
44+
- **Ollama Version Detection**: Enhanced to work without running Ollama instance
45+
- Now parses version from warning messages (e.g., "Warning: client version is 0.12.5")
46+
- Improved `containsVersion()` and `extractVersionNumber()` logic
47+
- No longer requires Ollama server to be running
48+
49+
### Improved
50+
- **UI/UX Enhancements**: Better table display for agent version information
51+
- Removed redundant "Status" column from outdated agents table
52+
- Rebalanced column widths for better readability
53+
- Agent: 15 → 12 characters
54+
- Installed Version: 20 → 24 characters
55+
- Latest Version: 20 → 24 characters
56+
- Total width: 80 → 85 characters
57+
- Changed upgrade instructions from "install" to "upgrade" for clarity
58+
- **Agent Registry Metadata**: Complete package manager information for all agents
59+
- Factory: Uses script-based version detection from https://app.factory.ai/cli
60+
- Amp: Uses npm registry @sourcegraph/amp
61+
- Cursor: Uses script-based version detection from https://cursor.com/install
62+
- Qoder: Uses manifest from qoder-ide.oss-ap-southeast-1.aliyuncs.com
63+
- All agents now have upgrade commands defined for current OS
64+
1065
## [v0.1.5] - 2025-10-19
1166

1267
### Fixed
@@ -346,7 +401,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
346401
- **Clean Message Display**: Smart consolidation of headers and proper paragraph formatting
347402
- **Cost Transparency**: See exactly how much each conversation costs
348403

349-
[Unreleased]: https://github.com/kevinelliott/agentpipe/compare/v0.1.5...HEAD
404+
[Unreleased]: https://github.com/kevinelliott/agentpipe/compare/v0.2.0...HEAD
405+
[v0.2.0]: https://github.com/kevinelliott/agentpipe/compare/v0.1.5...v0.2.0
350406
[v0.1.5]: https://github.com/kevinelliott/agentpipe/compare/v0.1.4...v0.1.5
351407
[v0.1.4]: https://github.com/kevinelliott/agentpipe/compare/v0.1.3...v0.1.4
352408
[v0.1.3]: https://github.com/kevinelliott/agentpipe/compare/v0.1.1...v0.1.3

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,5 @@ goimports -local github.com/kevinelliott/agentpipe -w .
135135
- Fixed Homebrew formula path: Formulae → Formula
136136
- Added badges to README
137137
- Fixed all linting issues for CI
138-
- Before releasing, be sure that lints, tests, and build pass.
138+
- Before releasing, be sure that lints, tests, and build pass.
139+
- Before releasing, be sure to update and commit the README.md and CHANGELOG.md with the recent changes if they haven't been yet.

README.md

Lines changed: 101 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,31 @@ All agents now use a **standardized interaction pattern** with structured three-
9191

9292
See [CHANGELOG.md](CHANGELOG.md) for detailed version history and release notes.
9393

94-
**Latest Release**: v0.1.5 - Linting fixes for clean CI/CD builds.
94+
**Latest Release**: v0.2.0 - Enhanced agent version management with automated upgrades.
9595

96-
**What's New in v0.1.5**:
96+
**What's New in v0.2.0**:
97+
98+
**New Features:**
99+
- **Agent Upgrade Command**: Easily update AI agent CLIs
100+
- `agentpipe agents upgrade <agent>` - Upgrade specific agents
101+
- `agentpipe agents upgrade --all` - Upgrade all installed agents
102+
- Cross-platform support with automatic OS detection
103+
- **Automated Version Detection**: Real-time version checking for all agents
104+
- Parallel version checks with ~70% performance improvement (10s → 3.7s)
105+
- Support for multiple package managers (npm, homebrew, GitHub, scripts, manifests)
106+
- No more "manual install" placeholders - all agents show actual versions
97107

98108
🐛 **Bug Fixes:**
99-
- **Linting Errors**: Fixed golangci-lint errors in doctor.go
100-
- Fixed gofmt formatting (struct field alignment)
101-
- Fixed prealloc warning (pre-allocated slices with known capacity)
102-
- CI/CD pipeline now passes all quality checks
109+
- **npm 404 Errors**: Corrected package names for Claude, Codex, and Gemini
110+
- **Ollama Version Detection**: Now works without running Ollama instance
111+
- Parses version from warning messages
112+
113+
🎨 **UI/UX Improvements:**
114+
- **Better Table Display**: Rebalanced column widths for clearer output
115+
- **Clearer Instructions**: Changed from "install" to "upgrade" in messages
103116

117+
**Previous Release - v0.1.5**: Linting fixes for clean CI/CD builds
104118
**Previous Release - v0.1.4**: JSON output for programmatic agent detection
105-
- `agentpipe doctor --json` for structured, machine-readable output
106-
- Perfect for dynamic UI generation (e.g., agentpipe-web)
107119

108120
## Installation
109121

@@ -462,6 +474,87 @@ Use this command to:
462474
- Troubleshoot missing dependencies
463475
- Validate authentication status before starting conversations
464476

477+
### `agentpipe agents`
478+
479+
Manage AI agent CLI installations with version checking and upgrade capabilities.
480+
481+
#### `agentpipe agents list`
482+
483+
List all supported AI agent CLIs with their availability status.
484+
485+
```bash
486+
# List all agents
487+
agentpipe agents list
488+
489+
# List only installed agents
490+
agentpipe agents list --installed
491+
492+
# List agents with available updates
493+
agentpipe agents list --outdated
494+
```
495+
496+
**Output includes:**
497+
- Agent name and command
498+
- Installation status (✅ installed, ❌ not installed)
499+
- Current installed version
500+
- Latest available version
501+
- Update availability indicator
502+
503+
**Example Output:**
504+
```
505+
AI Agent CLIs
506+
=============================================================
507+
508+
Agent Installed Version Latest Version Update
509+
---------------------------------------------------------------------------------
510+
Amp not installed 2.1.0 Install with: npm install -g @sourcegraph/amp
511+
Claude 2.0.19 2.0.19 ✅ Up to date
512+
Cursor 2025.10.17-e060db4 2025.10.17-e060db4 ✅ Up to date
513+
Factory 1.3.220 1.3.220 ✅ Up to date
514+
Gemini 0.9.0 0.9.1 ⚠️ Update available
515+
Ollama 0.12.5 0.12.5 ✅ Up to date
516+
Qoder 1.2.3 1.2.3 ✅ Up to date
517+
518+
To upgrade an agent, use: agentpipe agents upgrade <agent>
519+
```
520+
521+
#### `agentpipe agents upgrade`
522+
523+
Upgrade one or more AI agent CLIs to the latest version.
524+
525+
```bash
526+
# Upgrade a specific agent
527+
agentpipe agents upgrade claude
528+
529+
# Upgrade multiple agents
530+
agentpipe agents upgrade claude ollama gemini
531+
532+
# Upgrade all installed agents
533+
agentpipe agents upgrade --all
534+
```
535+
536+
**Features:**
537+
- Automatic detection of current OS (darwin, linux, windows)
538+
- Uses appropriate package manager (npm, homebrew, etc.)
539+
- Confirmation prompt before upgrading
540+
- Parallel version checking for performance
541+
- Cross-platform support
542+
543+
**Flags:**
544+
- `--all`: Upgrade all installed agents instead of specific ones
545+
546+
**Example:**
547+
```bash
548+
$ agentpipe agents upgrade gemini
549+
550+
Upgrading: gemini (0.9.0 → 0.9.1)
551+
Command: npm update -g @google/generative-ai-cli
552+
553+
Proceed with upgrade? (y/N): y
554+
Running: npm update -g @google/generative-ai-cli
555+
✅ gemini upgraded successfully!
556+
```
557+
465558
### `agentpipe export`
466559

467560
Export conversation from a state file to different formats.

0 commit comments

Comments
 (0)