claude_agent 0.4.0 → 0.4.2
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.
- checksums.yaml +4 -4
- data/.claude/rules/releases.md +35 -114
- data/CHANGELOG.md +14 -0
- data/lib/claude_agent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3dad011bddaedd68fe720527eeeda0a4dbe1f2b7ee9621e0ea6a0b2a3c09bc62
|
|
4
|
+
data.tar.gz: 161a59562a2cd86cfc6aca140259c996892dc68b604fc9500c3337dd814be4b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a157be028a9102d174db09a0298a63eb7051253d5c6d2173a5f6d111f72da5a9c7fd286d41e948cf35ddecfdd9c45a14d08e7dca397fe7391b0505f9cc8a507
|
|
7
|
+
data.tar.gz: f16dd8d278d5291145fae97cf14bc525f47cdae4b2c2de34cfa041b754a9bdd4bdc57aae2ee8b4e0ad0081de026e53affeded6c53e8d11549903d6d3a3c69f53
|
data/.claude/rules/releases.md
CHANGED
|
@@ -12,72 +12,18 @@ Follow [Semantic Versioning 2.0.0](https://semver.org/):
|
|
|
12
12
|
| **MINOR** | New features (backward compatible) | `1.0.0` → `1.1.0` |
|
|
13
13
|
| **PATCH** | Bug fixes (backward compatible) | `1.0.0` → `1.0.1` |
|
|
14
14
|
|
|
15
|
-
### Pre-release Versions
|
|
16
|
-
|
|
17
|
-
For beta/alpha releases, append a pre-release identifier:
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
1.0.0-alpha.1
|
|
21
|
-
1.0.0-beta.1
|
|
22
|
-
1.0.0-rc.1
|
|
23
|
-
```
|
|
24
|
-
|
|
25
15
|
## Changelog Format
|
|
26
16
|
|
|
27
|
-
Follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
## [Unreleased]
|
|
31
|
-
|
|
32
|
-
## [1.2.0] - 2025-03-15
|
|
33
|
-
|
|
34
|
-
### Added
|
|
35
|
-
- New feature description
|
|
36
|
-
|
|
37
|
-
### Changed
|
|
38
|
-
- Modified behavior description
|
|
39
|
-
|
|
40
|
-
### Deprecated
|
|
41
|
-
- Feature scheduled for removal
|
|
42
|
-
|
|
43
|
-
### Removed
|
|
44
|
-
- Deleted feature description
|
|
45
|
-
|
|
46
|
-
### Fixed
|
|
47
|
-
- Bug fix description
|
|
48
|
-
|
|
49
|
-
### Security
|
|
50
|
-
- Security patch description
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Changelog Guidelines
|
|
54
|
-
|
|
55
|
-
1. **Maintain [Unreleased]** - Always keep an Unreleased section at the top
|
|
56
|
-
2. **Add entries as you work** - Don't wait until release time
|
|
57
|
-
3. **User-focused language** - Write for gem users, not developers
|
|
58
|
-
4. **Link to issues/PRs** - Reference GitHub issues when relevant
|
|
59
|
-
5. **Newest first** - Most recent version at top
|
|
60
|
-
|
|
61
|
-
### What to Include
|
|
62
|
-
|
|
63
|
-
| Include | Exclude |
|
|
64
|
-
|---------|---------|
|
|
65
|
-
| API additions/changes | Internal refactors |
|
|
66
|
-
| Bug fixes users might hit | Code style changes |
|
|
67
|
-
| Deprecation notices | Test-only changes |
|
|
68
|
-
| Breaking changes (prominent) | Documentation typos |
|
|
69
|
-
| Security fixes | Dependency updates (minor) |
|
|
17
|
+
Follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format. Maintain an `[Unreleased]` section at the top for work in progress.
|
|
70
18
|
|
|
71
19
|
## Release Process
|
|
72
20
|
|
|
73
21
|
### Prerequisites
|
|
74
22
|
|
|
75
|
-
Before releasing:
|
|
76
|
-
|
|
77
23
|
1. All tests pass (`bundle exec rake`)
|
|
78
|
-
2. CHANGELOG.md has entry for new version
|
|
79
|
-
3.
|
|
80
|
-
4.
|
|
24
|
+
2. CHANGELOG.md has entry for the new version
|
|
25
|
+
3. You have push access to main branch
|
|
26
|
+
4. You have RubyGems publish credentials configured
|
|
81
27
|
|
|
82
28
|
### Release Command
|
|
83
29
|
|
|
@@ -94,19 +40,40 @@ bin/release 1.2.0
|
|
|
94
40
|
|
|
95
41
|
1. Validates version format (semantic versioning)
|
|
96
42
|
2. Checks CHANGELOG.md has entry for version
|
|
97
|
-
3.
|
|
98
|
-
4. Updates `
|
|
99
|
-
5.
|
|
100
|
-
6.
|
|
101
|
-
7. Pushes
|
|
102
|
-
8.
|
|
43
|
+
3. Checks tag doesn't already exist
|
|
44
|
+
4. Updates `lib/claude_agent/version.rb`
|
|
45
|
+
5. Updates `Gemfile.lock`
|
|
46
|
+
6. Commits with message "Bump version for X.Y.Z"
|
|
47
|
+
7. Pushes to current branch
|
|
48
|
+
8. Creates and pushes tag `vX.Y.Z`
|
|
49
|
+
9. Builds and publishes gem to RubyGems
|
|
103
50
|
|
|
104
|
-
###
|
|
51
|
+
### Example Workflow
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# 1. Ensure tests pass
|
|
55
|
+
bundle exec rake
|
|
105
56
|
|
|
106
|
-
|
|
57
|
+
# 2. Update CHANGELOG.md
|
|
58
|
+
# Move items from [Unreleased] to new version section:
|
|
59
|
+
## [1.2.0] - 2025-03-15
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
- New feature description
|
|
107
63
|
|
|
108
|
-
|
|
109
|
-
|
|
64
|
+
# 3. Commit changelog
|
|
65
|
+
git add CHANGELOG.md
|
|
66
|
+
git commit -m "docs: update changelog for 1.2.0"
|
|
67
|
+
git push
|
|
68
|
+
|
|
69
|
+
# 4. Release
|
|
70
|
+
bin/release 1.2.0
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Post-Release
|
|
74
|
+
|
|
75
|
+
1. Add `## [Unreleased]` section to CHANGELOG.md if needed
|
|
76
|
+
2. Optionally create a GitHub release at the new tag
|
|
110
77
|
|
|
111
78
|
## Version Bumping Guidelines
|
|
112
79
|
|
|
@@ -115,7 +82,6 @@ After running `bin/release`:
|
|
|
115
82
|
- Removing public methods/classes
|
|
116
83
|
- Changing method signatures (required params)
|
|
117
84
|
- Changing return types
|
|
118
|
-
- Renaming public constants
|
|
119
85
|
- Dropping Ruby version support
|
|
120
86
|
|
|
121
87
|
### When to Bump MINOR (Feature)
|
|
@@ -130,48 +96,3 @@ After running `bin/release`:
|
|
|
130
96
|
- Bug fixes
|
|
131
97
|
- Documentation corrections
|
|
132
98
|
- Performance improvements (no API change)
|
|
133
|
-
- Internal refactoring (no API change)
|
|
134
|
-
|
|
135
|
-
## Example Release Workflow
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
# 1. Ensure tests pass
|
|
139
|
-
bundle exec rake
|
|
140
|
-
|
|
141
|
-
# 2. Update CHANGELOG.md
|
|
142
|
-
# Add entry under [Unreleased], then rename to version:
|
|
143
|
-
## [1.2.0] - 2025-03-15
|
|
144
|
-
|
|
145
|
-
### Added
|
|
146
|
-
- New `Client#foo` method for bar functionality
|
|
147
|
-
|
|
148
|
-
### Fixed
|
|
149
|
-
- Resolved timeout issue in subprocess transport
|
|
150
|
-
|
|
151
|
-
# 3. Commit changelog
|
|
152
|
-
git add CHANGELOG.md
|
|
153
|
-
git commit -m "docs: update changelog for 1.2.0"
|
|
154
|
-
|
|
155
|
-
# 4. Release
|
|
156
|
-
bin/release 1.2.0
|
|
157
|
-
|
|
158
|
-
# 5. Add new Unreleased section
|
|
159
|
-
# Edit CHANGELOG.md to add:
|
|
160
|
-
## [Unreleased]
|
|
161
|
-
|
|
162
|
-
# 6. Commit
|
|
163
|
-
git add CHANGELOG.md
|
|
164
|
-
git commit -m "docs: add unreleased section"
|
|
165
|
-
git push
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
## Gem Metadata
|
|
169
|
-
|
|
170
|
-
The gemspec includes these URIs for RubyGems.org:
|
|
171
|
-
|
|
172
|
-
```ruby
|
|
173
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
|
174
|
-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
This enables the "Changelog" link on the RubyGems.org gem page.
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.2] - 2026-01-18
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Release script now uses `bundle install` (Bundler 4.x compatibility)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Release script prompts for RubyGems OTP upfront
|
|
17
|
+
- Release script creates GitHub releases automatically
|
|
18
|
+
|
|
19
|
+
## [0.4.1] - 2026-01-18
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- Simplified release script to match Kamal's approach
|
|
23
|
+
|
|
10
24
|
## [0.4.0] - 2026-01-18
|
|
11
25
|
|
|
12
26
|
### Added
|
data/lib/claude_agent/version.rb
CHANGED