Releases: hidetzu/ccpr
Releases · hidetzu/ccpr
v1.2.1
v1.2.0
Changelog
v1.1.0
v1.1.0
Highlights
This release introduces an experimental MCP server (ccpr-mcp) exposing
ccpr's CodeCommit operations as tools for Claude Code and other MCP clients.
Features
- Add
ccpr-mcpbinary with theccpr_listtool for listing pull requests (#56) - Add
ccpr_reviewtool for fetching PR metadata, comments, and unified diff (#59) - Add
ccpr_commenttool for posting comments to PRs (write-side) (#62) - Add
ccpr_createtool for creating new PRs (write-side) (#64)
Refactor
- Extract list/review/comment/create pipelines into
internal/appso the CLI
and MCP paths share validation, AWS resolution, and CodeCommit calls
Fixes
- Wrap
ccpr_listMCP output in an object so the tool registers without
panicking on startup (#57) - Restore CLI flag-aware wording (
--repo and --pr-id flags,--region flag)
for validation errors after the shared use-case extraction (#65)
Notes
- MCP write-side tools (
ccpr_comment,ccpr_create) create real CodeCommit
artifacts on each call. MCP hosts should prompt users before invocation. ccpr_openis intentionally not provided — MCP hosts have no browser, and
PR URLs are returned by the existing tools.
v1.0.2
v1.0.2
Fixes
- Align the documented Go requirement with
go.modby requiring Go 1.24 or later. - Require region validation consistently for
createandcomment. - Resolve repository mappings that start with
~or~/to the current user's home directory. - Resolve AWS region from
AWS_REGIONandAWS_DEFAULT_REGIONwhen no--regionflag or config region is set.
CI
- Re-run the PR template check when a pull request body is edited.
Docs
- Update README, requirements, and spec docs for region resolution and repo mapping behavior.
v1.0.1
v1.0.1
Documentation improvements to help new users get started faster.
Changes
- Redesign English and Japanese READMEs for better first impression
- Lead with target audience and pain points
- Before/After with concrete AWS CLI vs ccpr command comparison
- Quick Start (30 seconds)
- Detailed reference folded into
<details>sections - Troubleshooting section
- Add Claude Code install guide to
docs/claude-integration.md - Add "Install from Claude Code" section to both READMEs
- Use raw GitHub URLs for Claude Code integration
- Fix
--json/--patch→--format json/--format patchacross all docs - Add missing
opencommand documentation to spec/requirements/use-cases - Clarify JSON error output (NFR-03) is not yet implemented
Install
go install github.com/hidetzu/ccpr/cmd/ccpr@v1.0.1
v1.0.0
v1.0.0
The first stable release of a CLI tool that converts CodeCommit pull requests into AI-reviewable formats.
Commands
ccpr review— Extract PR metadata, comments, and diffs (summary / JSON / patch)ccpr list— List pull requestsccpr create— Create a pull requestccpr comment— Post comments to a PRccpr open— Open a PR in the browserccpr init— Generate configuration filesccpr doctor— Validate environment setup
v1.x Stability Guarantees
- JSON output fields are stable — no renames, removals, or type changes within v1.x
- Exit codes (0/1/2) retain their defined semantics
- CLI flags are not renamed or removed
- See Versioning Policy and JSON Output Reference
AI Integration
- Claude Code skill included (
examples/claude/ccpr-review/SKILL.md) - Claude Code integration guide for one-prompt setup
Documentation
- English README and Japanese README (README.ja.md)
- Getting started, troubleshooting, and Claude Code setup in Japanese
Install
go install github.com/hidetzu/ccpr/cmd/ccpr@v1.0.0
v0.7.0
What's New
ccpr createcommand — Create CodeCommit pull requests directly from the CLI, completing the create → review → comment workflow (#38)--description/--description-file/ stdin for PR body- Auto-detect source branch from current Git HEAD
- Summary and JSON output formats
- Extract
buildConsoleURLas shared helper (used bycreateandopen) - Add install instructions to Claude Code skill
Install
go install github.com/hidetzu/ccpr/cmd/ccpr@v0.7.0
v0.6.0
What's New
ccpr comment command
Post comments to CodeCommit PRs directly from the CLI.
ccpr comment <PR_URL> --body "LGTM"
ccpr comment <PR_URL> --body-file review.md
echo "Looks good" | ccpr comment <PR_URL> --body -- Inline text, file, or stdin input
- JSON output with
--format json - Reuses existing URL parsing and config resolution
End-to-end AI review workflow
ccpr review <PR_URL> --format json | claude -p "Review this PR" > review.md
ccpr comment <PR_URL> --body-file review.mdExit code improvements
- Exit code 1 for user errors (bad input, missing flags)
- Exit code 2 for system errors (AWS API failures, Git errors)
Full Changelog
v0.5.1
What's New
ccpr doctor command
Validate your environment and config in one shot.
ccpr doctor✔ Config file: ~/.config/ccpr/config.yaml
✔ AWS credentials: arn:aws:iam::123456789012:user/example-user
✔ Repo mapping: my-repo → /home/user/src/my-repo (git OK)
3/3 checks passed
- Config file existence and validity
- AWS credentials via STS GetCallerIdentity
- Repo mappings (path exists, is a git repo)
- Actionable fix suggestions for each failure
Other changes
config.Loadnow returns the resolved config file path for accurate reporting
Full Changelog
v0.5.0
What's New
ccpr init command
Generate ~/.config/ccpr/config.yaml with one command. Auto-detects AWS profile and region from your environment.
ccpr init
ccpr init --profile my-profile --region ap-northeast-1- Overwrite protection (
--forceto override) - Commented
repoMappingstemplate in generated config - Actionable error messages with next-step guidance
README restructured
Reorganized for better first impression — value proposition and example command at the top, configuration details at the bottom.