@the-bearded-bear/claude-craft 5.3.0 → 5.4.0-next.a6b23ff
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/Dev/i18n/en/Common/commands/sub-agents-patterns.md +43 -0
- package/Dev/scripts/install-angular-rules.sh +1 -1
- package/Dev/scripts/install-common-rules.sh +1 -1
- package/Dev/scripts/install-csharp-rules.sh +1 -1
- package/Dev/scripts/install-flutter-rules.sh +1 -1
- package/Dev/scripts/install-laravel-rules.sh +1 -1
- package/Dev/scripts/install-php-rules.sh +1 -1
- package/Dev/scripts/install-python-rules.sh +1 -1
- package/Dev/scripts/install-react-rules.sh +1 -1
- package/Dev/scripts/install-reactnative-rules.sh +1 -1
- package/Dev/scripts/install-symfony-rules.sh +1 -1
- package/Dev/scripts/install-vuejs-rules.sh +1 -1
- package/README.md +27 -0
- package/package.json +1 -1
|
@@ -103,6 +103,49 @@ Benefits:
|
|
|
103
103
|
- Large migrations
|
|
104
104
|
- Quality pipelines
|
|
105
105
|
|
|
106
|
+
### Permission Prompting (v2.1.20+)
|
|
107
|
+
|
|
108
|
+
Background agents request permissions **before** launching, preventing mid-execution blocks:
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
Launching background task: "Analyze and fix code"
|
|
112
|
+
|
|
113
|
+
This task will need permissions for:
|
|
114
|
+
- Read (all files)
|
|
115
|
+
- Edit (src/**)
|
|
116
|
+
- Bash (npm run lint:fix)
|
|
117
|
+
|
|
118
|
+
Approve all? [y/N/select]
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**Response options:**
|
|
122
|
+
|
|
123
|
+
| Option | Action |
|
|
124
|
+
|--------|--------|
|
|
125
|
+
| `y` | Approve all requested permissions |
|
|
126
|
+
| `N` | Refuse and cancel launch |
|
|
127
|
+
| `select` | Choose permissions individually |
|
|
128
|
+
|
|
129
|
+
**Benefits:**
|
|
130
|
+
- No mid-execution permission blocks
|
|
131
|
+
- Full visibility of agent actions before start
|
|
132
|
+
- Granular control over allowed operations
|
|
133
|
+
|
|
134
|
+
### Task Tool Metrics (v2.1.30+)
|
|
135
|
+
|
|
136
|
+
Task tool results now include execution metrics:
|
|
137
|
+
|
|
138
|
+
| Metric | Description |
|
|
139
|
+
|--------|-------------|
|
|
140
|
+
| Token count | Total tokens consumed by the sub-agent |
|
|
141
|
+
| Tool uses | Number of tool invocations during execution |
|
|
142
|
+
| Duration | Total elapsed time for task completion |
|
|
143
|
+
|
|
144
|
+
**Benefits:**
|
|
145
|
+
- Monitor sub-agent cost per task
|
|
146
|
+
- Identify expensive operations
|
|
147
|
+
- Optimize parallel task distribution
|
|
148
|
+
|
|
106
149
|
## Best Practices
|
|
107
150
|
|
|
108
151
|
### Do
|
|
@@ -37,7 +37,7 @@ set -euo pipefail
|
|
|
37
37
|
#-------------------------------------------------------------------------------
|
|
38
38
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
39
39
|
SCRIPT_NAME="$(basename "$0")"
|
|
40
|
-
VERSION="5.
|
|
40
|
+
VERSION="5.4.0"
|
|
41
41
|
I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
|
|
42
42
|
|
|
43
43
|
# Couleurs
|
package/README.md
CHANGED
|
@@ -4,6 +4,33 @@ A comprehensive framework for AI-assisted development with [Claude Code](https:/
|
|
|
4
4
|
|
|
5
5
|
**Autonomous Sprint Ready**: Run entire sprints overnight with `/common:ralph-sprint` - auto-claim, error recovery, parallel processing.
|
|
6
6
|
|
|
7
|
+
## What's New in v5.4 - Claude Code 2.1.31 Compatibility
|
|
8
|
+
|
|
9
|
+
- **PDF Page Range** (v2.1.30): Read tool `pages` parameter for PDFs, lightweight ref for large PDFs
|
|
10
|
+
- **OAuth Client Credentials for MCP** (v2.1.30): `--client-id` / `--client-secret` for `claude mcp add`
|
|
11
|
+
- **/debug Command** (v2.1.30): Session-specific troubleshooting (complements `/doctor`)
|
|
12
|
+
- **Task Tool Metrics** (v2.1.30): Token count, tool uses, duration in sub-agent results
|
|
13
|
+
- **Reduced Motion Mode** (v2.1.30): `reducedMotion: true` setting to minimize animations
|
|
14
|
+
- **Session Resume Hint** (v2.1.31): Resume hint displayed on exit
|
|
15
|
+
- **PDF Limits** (v2.1.31): Error messages show actual limits (100 pages, 20MB)
|
|
16
|
+
- **Enhanced File Tools Preference** (v2.1.31): Stronger guidance toward native tools
|
|
17
|
+
- **Reduced Layout Jitter** (v2.1.31): Less terminal jitter during spinner
|
|
18
|
+
- **Japanese IME** (v2.1.31): Full-width space support in checkboxes
|
|
19
|
+
- **Third-party Pricing** (v2.1.31): Corrected pricing for Bedrock/Vertex/Foundry
|
|
20
|
+
- **PR Integration** (v2.1.27): Resume sessions linked to PRs with `--from-pr`
|
|
21
|
+
- `claude --from-pr 123` or `claude --from-pr <url>`
|
|
22
|
+
- Auto-link when creating PRs via `gh pr create`
|
|
23
|
+
- Status indicators: approved, pending, changes requested, draft, merged
|
|
24
|
+
- **File Tools Preference** (v2.1.21): Claude prefers native tools over bash
|
|
25
|
+
- Use `Read` instead of `cat/head/tail`
|
|
26
|
+
- Use `Edit` instead of `sed/awk`
|
|
27
|
+
- Use `Write` instead of `echo >/cat <<EOF`
|
|
28
|
+
- **spinnerVerbs** (v2.1.23): Customize spinner text in settings.json
|
|
29
|
+
- **Task status `deleted`** (v2.1.20): Permanent task removal via TaskUpdate
|
|
30
|
+
- **Background Agent Permissions** (v2.1.20): Permission prompts before launch
|
|
31
|
+
- **VSCode Python venv** (v2.1.21): Auto-activate virtual environment
|
|
32
|
+
- See [CHANGELOG](CHANGELOG.md) for full details
|
|
33
|
+
|
|
7
34
|
## What's New in v5.1 - QA Recette (Acceptance Testing)
|
|
8
35
|
|
|
9
36
|
- **Automated Acceptance Testing**: Browser-based testing with Claude in Chrome
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-bearded-bear/claude-craft",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0-next.a6b23ff",
|
|
4
4
|
"description": "A comprehensive framework for AI-assisted development with Claude Code. Install standardized rules, agents, and commands for your projects.",
|
|
5
5
|
"main": "cli/index.js",
|
|
6
6
|
"bin": {
|