claude-comms 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +87 -69
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,94 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to
|
|
3
|
+
All notable changes to the `@claude-code/setup-installer` package will be documented in this file.
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [1.0.3] - 2025-
|
|
9
|
-
|
|
10
|
-
###
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
- Fixed
|
|
39
|
-
|
|
40
|
-
###
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
###
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
###
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
###
|
|
8
|
+
## [1.0.3] - 2025-01-15
|
|
9
|
+
|
|
10
|
+
### 🚀 Major Performance Improvements
|
|
11
|
+
|
|
12
|
+
#### GitHub API Rate Limiting Fix
|
|
13
|
+
- **CRITICAL FIX**: Implemented GitHub tarball fetching to reduce API requests from 21+ individual calls to 1 single tarball download
|
|
14
|
+
- **Performance**: Installation now completes in <10 seconds (previously up to 575+ seconds due to rate limiting)
|
|
15
|
+
- **Reliability**: Eliminates GitHub API rate limit issues for most users
|
|
16
|
+
|
|
17
|
+
#### Retry Logic Improvements
|
|
18
|
+
- **Rate Limit Handling**: Capped retry delays at maximum 30 seconds (previously unlimited)
|
|
19
|
+
- **Fail-Fast**: Automatically fails installations with >5 minute rate limit waits, suggesting GitHub token usage
|
|
20
|
+
- **User Experience**: Added countdown display for rate limit waits >5 seconds
|
|
21
|
+
- **Smart Delays**: Improved exponential backoff with reasonable caps
|
|
22
|
+
|
|
23
|
+
### ✨ New Features
|
|
24
|
+
- **Tarball Extraction**: New `fetchAsTarball()` method for optimal GitHub repository fetching
|
|
25
|
+
- **Fallback Strategy**: Maintains compatibility with existing API methods as fallback
|
|
26
|
+
- **Progress Tracking**: Enhanced progress indicators during tarball download and extraction
|
|
27
|
+
|
|
28
|
+
### 🔧 Technical Improvements
|
|
29
|
+
- **Single Request**: Tarball approach uses 1 GitHub API request vs 21+ individual file requests
|
|
30
|
+
- **File Structure**: Complete `.claude` directory and `CLAUDE.md` extraction from tarball
|
|
31
|
+
- **Error Handling**: Better error messages with actionable suggestions (GitHub token setup)
|
|
32
|
+
- **Memory Efficiency**: Temporary file extraction with automatic cleanup
|
|
33
|
+
|
|
34
|
+
### 🐛 Bug Fixes
|
|
35
|
+
- Fixed CLAUDE.md path handling in tarball extraction
|
|
36
|
+
- Resolved rate limiting countdown display
|
|
37
|
+
- Improved error messaging for network failures
|
|
38
|
+
- Fixed retry delay calculations exceeding maximum thresholds
|
|
39
|
+
|
|
40
|
+
### 🛡️ Security & Reliability
|
|
41
|
+
- Enhanced input validation for GitHub API responses
|
|
42
|
+
- Secure temporary file handling during tarball extraction
|
|
43
|
+
- Improved error boundary handling for network failures
|
|
44
|
+
- Rate limit detection and graceful degradation
|
|
45
|
+
|
|
46
|
+
### 📋 Testing
|
|
47
|
+
- Added comprehensive tarball validation test suite
|
|
48
|
+
- Performance benchmarking for installation timing
|
|
49
|
+
- Retry logic validation with cap testing
|
|
50
|
+
- Cross-platform compatibility verification
|
|
51
|
+
|
|
52
|
+
### 🔄 Migration Guide
|
|
53
|
+
No breaking changes. Existing installations will automatically benefit from:
|
|
54
|
+
- Faster installation times
|
|
55
|
+
- Reduced rate limiting issues
|
|
56
|
+
- Better error messages
|
|
57
|
+
- Enhanced reliability
|
|
58
|
+
|
|
59
|
+
Users experiencing rate limits should set `GITHUB_TOKEN` environment variable for increased API limits (5,000/hour vs 60/hour).
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## [1.0.2] - 2025-01-14
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
- Initial NPX installer implementation
|
|
67
|
+
- GitHub API integration with multiple fallback strategies
|
|
68
|
+
- CLI interface with progress indicators
|
|
69
|
+
- Cross-platform support (Windows, macOS, Linux)
|
|
70
|
+
|
|
71
|
+
### Dependencies
|
|
72
|
+
- `commander` for CLI parsing
|
|
73
|
+
- `chalk` for colored output
|
|
74
|
+
- `ora` for progress indicators
|
|
75
|
+
- `node-fetch` for HTTP requests
|
|
76
|
+
- `fs-extra` for file operations
|
|
77
|
+
- `tar` for tarball extraction
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## [1.0.1] - 2025-01-13
|
|
82
|
+
|
|
83
|
+
### Features
|
|
84
|
+
- Core package structure
|
|
85
|
+
- Basic file installation logic
|
|
86
|
+
- GitHub API integration foundation
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## [1.0.0] - 2025-01-12
|
|
91
|
+
|
|
92
|
+
### Features
|
|
72
93
|
- Initial release
|
|
73
|
-
- NPX installer
|
|
74
|
-
- Multi-agent orchestration framework
|
|
75
|
-
- GitHub integration for fetching setup files
|
|
76
|
-
- File writer with backup and rollback capabilities
|
|
94
|
+
- Basic NPX installer prototype
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-comms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "NPX installer for Claude Code hooks and observability setup",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"security:check": "npm audit && snyk test",
|
|
23
23
|
"docs:lint": "markdownlint README.md docs/",
|
|
24
24
|
"examples:test": "node test/examples/test-examples.js",
|
|
25
|
-
"
|
|
25
|
+
"prepublishOnly": "npm run test && npm run lint && npm run build"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
28
|
"claude-code",
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|
|
84
84
|
}
|
|
85
|
-
}
|
|
85
|
+
}
|