-
Notifications
You must be signed in to change notification settings - Fork 211
Description
Update Claude Code CLI to v2.0.31
Summary
Claude Code has been updated from 2.0.30 → 2.0.31. This update includes a new CLI flag for tool specification.
Version Details
- Previous: 2.0.30
- New: 2.0.31
- Released: 2025-10-31 (redacted) UTC (Oct 31, 2025 at (redacted) PM UTC)
- Time Since Previous: ~1 day (2.0.30 was released Oct 30, 2025)
Changes
New Features
New CLI Flag: --tools
- Description: Specify the list of available tools from the built-in set
- Usage:
--tools <tools...> - Options:
""- Disable all tools"default"- Use all tools- Tool names - e.g.
"Bash,Edit,Read"
- Constraint: Only works with
--printmode - Impact: Provides fine-grained control over which tools are available during non-interactive execution
Breaking Changes
None detected.
Bug Fixes
Not specified in release notes.
Security Updates
No CVEs or security patches mentioned.
CLI Discovery
New command-line flag identified via claude --help comparison:
+ --tools <tools...> Specify the list of available tools from the built-in set. Use "" to disable all tools, "default" to use all tools, or specify tool names (e.g. "Bash,Edit,Read"). Only works with --print mode.Previous help output: /tmp/gh-aw/cache-memory/claude-code-2.0.30-help.txt
Current help output: /tmp/gh-aw/cache-memory/claude-code-2.0.31-help.txt
Impact Assessment
- Risk Level: Low
- Affected Features:
- Claude engine execution in
--printmode - Tool restriction/allowance during non-interactive sessions
- Claude engine execution in
- Migration Required: No
- gh-aw Compatibility: Fully compatible - new flag is optional
Files Modified
pkg/constants/constants.go- UpdatedDefaultClaudeCodeVersionconstant- 22 workflow
.lock.ymlfiles - Recompiled with new version
Verification
✅ make recompile completed (64/65 workflows compiled successfully)
✅ Git status shows 23 files modified (1 constants + 22 workflows)
✅ No breaking changes detected
✅ Help output cached for future comparisons
Note: 1 workflow compilation error (changeset-generator.firewall.md) is unrelated to this version update - it's a pre-existing issue.
Changelog Links
- NPM Package: https://www.npmjs.com/package/`@anthropic-ai/claude-code`/v/2.0.31
- NPM View:
npm view@anthropic-ai/claude-code@2.0.31
Recommendations
- ✅ Update constants file (completed)
- ✅ Recompile workflows (completed)
- ⏳ Review and merge this update
- 📝 Consider documenting the new
--toolsflag in Claude engine documentation if we expose it to users - 🧪 Test the new flag in non-interactive mode if relevant to gh-aw workflows
Intermediate Versions
Only one version between 2.0.30 and 2.0.31:
- 2.0.31 (2025-10-31 (redacted) UTC) - Current update
Context
- Repository: githubnext/gh-aw
- Workflow Run: #18998462979
- Date: 2025-11-01
AI generated by CLI Version Checker