@the-bearded-bear/claude-craft 9.3.0 → 9.4.0-next.c74b65b
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/base/Common/hooks/templates/examples/block-dangerous-commands.json +2 -1
- package/Dev/i18n/base/Common/hooks/templates/examples/protect-files.json +2 -1
- package/Dev/i18n/base/Common/hooks/templates/examples/security-block.json +2 -1
- package/Dev/i18n/base/Common/hooks/templates/hooks.default.json +6 -3
- package/Dev/i18n/base/Common/skills/ecosystem-tools/SKILL.md +1 -1
- package/Dev/i18n/de/Common/hooks/HOOKS-QUICKSTART.md +1 -0
- package/Dev/i18n/de/Common/rules/12-context-management.md +6 -4
- package/Dev/i18n/en/Common/hooks/HOOKS-QUICKSTART.md +1 -0
- package/Dev/i18n/en/Common/rules/12-context-management.md +6 -4
- package/Dev/i18n/es/Common/hooks/HOOKS-QUICKSTART.md +1 -0
- package/Dev/i18n/es/Common/rules/12-context-management.md +6 -4
- package/Dev/i18n/fr/Common/hooks/HOOKS-QUICKSTART.md +1 -0
- package/Dev/i18n/fr/Common/rules/12-context-management.md +6 -4
- package/Dev/i18n/pt/Common/hooks/HOOKS-QUICKSTART.md +1 -0
- package/Dev/i18n/pt/Common/rules/12-context-management.md +6 -4
- package/Dev/scripts/lib/merge-hooks.mjs +20 -9
- package/README.md +10 -2
- package/bundles/cursor/.cursorrules +2 -2
- package/bundles/windsurf/.windsurfrules +2 -2
- package/cli/lib/doctor.js +4 -3
- package/package.json +1 -1
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
{
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard-network.sh\"",
|
|
10
|
-
"timeout": 5
|
|
10
|
+
"timeout": 5,
|
|
11
|
+
"onFailure": "block"
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
"type": "command",
|
|
14
15
|
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/block-dangerous-commands.sh\"",
|
|
15
|
-
"timeout": 5
|
|
16
|
+
"timeout": 5,
|
|
17
|
+
"onFailure": "block"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
18
20
|
"type": "command",
|
|
@@ -27,7 +29,8 @@
|
|
|
27
29
|
{
|
|
28
30
|
"type": "command",
|
|
29
31
|
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/protect-sensitive-files.sh\"",
|
|
30
|
-
"timeout": 5
|
|
32
|
+
"timeout": 5,
|
|
33
|
+
"onFailure": "block"
|
|
31
34
|
}
|
|
32
35
|
]
|
|
33
36
|
}
|
|
@@ -23,7 +23,7 @@ See `../../../../docs/ECOSYSTEM.md` for the full catalogue, licenses, and `.mcp.
|
|
|
23
23
|
|------|---------|-----------|-----|
|
|
24
24
|
| **caveman** | Apache-2.0 | Compress agent **output** ~65% | ✅ Integrate |
|
|
25
25
|
| **code-review-graph** | MIT | AST graph → read only the blast radius on review | ✅ Integrate |
|
|
26
|
-
| **token-savior** | MIT | Symbol index + Bash output compaction (−80%
|
|
26
|
+
| **token-savior** | MIT | Symbol index + Bash output compaction, RTK alternative (−80% headline unverified; −45% cost re-measured) | 🔶 Reference |
|
|
27
27
|
| **claude-token-efficient** | MIT | Anti-verbosity CLAUDE.md drop-in | ✅ Integrate |
|
|
28
28
|
| **claude-hud** | MIT | Real-time context/agent/todo monitor (status line) | ✅ Integrate |
|
|
29
29
|
| **context-mode** | ELv2 | Output sandboxing — license blocks commercial redistribution | 🔶 Reference |
|
|
@@ -40,6 +40,7 @@ Claude-Code-Hooks für automatisierte Qualitätskontrolle und Sicherheit, die cl
|
|
|
40
40
|
- Die Nutzdaten kommen als **JSON über stdin**; nur der **Exit-Code 2** blockiert (jeder andere Wert ungleich null ist ein nicht blockierender Fehler).
|
|
41
41
|
- Nur `hookSpecificOutput.additionalContext` erreicht das Modell; der Klartext-stdout von PreCompact wird als Compaction-Anweisung gelesen.
|
|
42
42
|
- Die Skripte brauchen `jq` oder `node`, um die Nutzdaten zu lesen: Die Sicherheitswächter blockieren, wenn keines verfügbar ist, die informativen Hooks tun nichts.
|
|
43
|
+
- Die drei Sicherheitswächter (`guard-network`, `block-dangerous-commands`, `protect-sensitive-files`) setzen `"onFailure": "block"` (Claude Code 2.1.295+): Fehlt das Skript, stürzt es ab oder überschreitet es sein Timeout, wird der Tool-Aufruf blockiert statt ausgeführt. Blockiert ein Wächter nach einer defekten Installation jeden Aufruf, die Installation erneut ausführen oder die Hooks mit `--hooks=none` entfernen. Eine erneute Installation ergänzt `onFailure` bei Wächtern aus einer älteren Version und ersetzt nie einen selbst gesetzten Wert.
|
|
43
44
|
|
|
44
45
|
## Weitere Informationen
|
|
45
46
|
|
|
@@ -176,7 +176,7 @@ Diese Felder ermoeglichen die Optimierung von Kosten und Umfang der Sub-Agents.
|
|
|
176
176
|
|
|
177
177
|
Claude Code kompaktiert den Kontext automatisch, wenn er sich den Fenstergrenzen naehert. Aeltere Nachrichten werden zusammengefasst, um Platz freizugeben.
|
|
178
178
|
|
|
179
|
-
> **Append-only-Verlauf (Opus 5.5,
|
|
179
|
+
> **Append-only-Verlauf (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable/Mythos 5.1 und 5.2):** Eine frühere Nachricht zu ändern, `system` oder `tools` neu aufzubauen oder alte Turns an Ort und Stelle zusammenzufassen, macht die nachfolgenden Thinking-Blöcke ungültig. Am Ende des Verlaufs anhängen statt ihn umzuschreiben. Quelle: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
180
180
|
|
|
181
181
|
### Proaktive Kompaktierung
|
|
182
182
|
|
|
@@ -365,7 +365,9 @@ Das Aufwandsniveau des Modells je nach Aufgabenkomplexität anpassen:
|
|
|
365
365
|
> **Effort wechselt nicht das Modell:** Es steuert die Reasoning-Tiefe des aktuellen Modells; das Modell wählt man mit `/model`. Empfohlene Paare: `low` mit Haiku 5.5, `medium` mit Sonnet 5.5, `high`/`xhigh` mit Opus 5.5.
|
|
366
366
|
|
|
367
367
|
> **Standard-Effort je Modell:** medium bei Opus 5.5 und Haiku 5.5; high bei Sonnet 5.5, Fable 5.2 und Legacy-Modellen.
|
|
368
|
-
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 pro Mtok) ist das aktuelle Fable-Modell, geeignet für kreative/narrative Agents; Fable 5.1 und Fable 5 bleiben verfügbar (Legacy). Bei Fable 5.2 (wie bei Mythos 5.2) ist das Denken immer aktiv (nur adaptive): Um es zu reduzieren, den Effort senken — eine Anweisung „antworte direkt“ reicht ab `medium` nicht aus. **Mythos** hat eingeschränkte Verfügbarkeit (nur Cyber Verification Program). Cache-Lesezugriffe kosten 5 % des Input-Preises bei Opus/Sonnet 5.5 und 2,5 % bei Fable 5.
|
|
368
|
+
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 pro Mtok) ist das aktuelle Fable-Modell, geeignet für kreative/narrative Agents; Fable 5.1 und Fable 5 bleiben verfügbar (Legacy). Bei Fable 5.2 (wie bei Mythos 5.2) ist das Denken immer aktiv (nur adaptive) und geht ab Effort `high` fast jeder Antwort voraus: Um es zu reduzieren, den Effort senken — eine Anweisung „antworte direkt“ reicht ab `medium` nicht aus. **Mythos** hat eingeschränkte Verfügbarkeit (nur Cyber Verification Program). Cache-Lesezugriffe kosten 5 % des Input-Preises bei Opus/Sonnet 5.5 und 2,5 % bei Fable/Mythos 5.1 und 5.2; 10 % bei den übrigen Modellen, darunter Fable 5 und Mythos 5 ([Pricing](https://platform.claude.com/docs/en/about-claude/pricing)).
|
|
369
|
+
|
|
370
|
+
> **Standard-Thinking und API-Migration:** Bei Sonnet 5.5 und Haiku 5.5 (wie bei den Legacy-Modellen Opus 5 und Sonnet 5) ist Thinking aktiv, wenn `thinking` fehlt: Content-Blöcke nach `type` statt nach Position auswählen und Spielraum in `max_tokens` lassen. Abschalten lässt es sich nur bei Effort `high` oder niedriger; bei Sonnet 5.5 ist die niedrigste Stufe `between_tools`. `budget_tokens` liefert seit Claude 4.7 einen 400-Fehler (stattdessen `effort` setzen), und das Vorbefüllen des letzten Assistant-Turns wird seit Claude 4.6 nicht mehr unterstützt. Quelle: [Prompting Best Practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
369
371
|
|
|
370
372
|
### Inaktivitaetswarnung (v2.1.84+)
|
|
371
373
|
|
|
@@ -814,8 +816,8 @@ Ergänzend zu RTK und nativen Hooks bietet das Claude-Code-Ökosystem Tools, die
|
|
|
814
816
|
| Tool | Lizenz | Aspekt | Empf. |
|
|
815
817
|
|------|--------|--------|-------|
|
|
816
818
|
| **caveman** | Apache-2.0 | Komprimierung der Antworten (Output) ~65 % | ✅ Integrieren |
|
|
817
|
-
| **code-review-graph** | MIT | AST-Graph, Blast-Radius-Lesen (
|
|
818
|
-
| **token-savior** | MIT | Symbolindex + Bash-Komprimierung (−80 %) |
|
|
819
|
+
| **code-review-graph** | MIT | AST-Graph, Blast-Radius-Lesen (~63× Median, 6,65× vs. grep) | ✅ Integrieren |
|
|
820
|
+
| **token-savior** | MIT | Symbolindex + Bash-Komprimierung (−80 % nicht verifizierbar, −45 % Kosten nachgemessen) | 🔶 Referenzieren (Gewinn nicht reproduzierbar) |
|
|
819
821
|
| **claude-token-efficient** | MIT | CLAUDE.md-Regeln gegen Geschwätzigkeit (~63 % Output) | ✅ Integrieren |
|
|
820
822
|
| **context-mode** | ELv2 | Output-Sandbox, Kontinuität nach Kompaktierung | 🔶 Referenzieren (Lizenz) |
|
|
821
823
|
| **claude-context** | MIT | Semantische Suche (Vektor-DB erforderlich) | 🔶 Referenzieren (Infra) |
|
|
@@ -40,6 +40,7 @@ Claude Code hooks for automated quality control and safety, installed in your pr
|
|
|
40
40
|
- The payload arrives as **JSON on stdin**; only **exit code 2** blocks (any other non-zero code is a non-blocking error).
|
|
41
41
|
- Only `hookSpecificOutput.additionalContext` reaches the model; PreCompact plain-text stdout is read as compaction instructions.
|
|
42
42
|
- Scripts need `jq` or `node` to read the payload: the safety guards block when neither is available, the informational hooks do nothing.
|
|
43
|
+
- The three safety guards (`guard-network`, `block-dangerous-commands`, `protect-sensitive-files`) set `"onFailure": "block"` (Claude Code 2.1.295+): if the script is missing, crashes or times out, the tool call is blocked instead of going ahead. If a guard blocks every call after a broken install, re-run the install, or remove the hooks with `--hooks=none`. Re-running the install adds `onFailure` to guards installed by an older version, and never replaces a value you set.
|
|
43
44
|
|
|
44
45
|
## More Information
|
|
45
46
|
|
|
@@ -176,7 +176,7 @@ These fields allow optimizing costs and scope of sub-agents.
|
|
|
176
176
|
|
|
177
177
|
Claude Code automatically compacts context when approaching window limits. Older messages are summarized to free space.
|
|
178
178
|
|
|
179
|
-
> **Append-only history (Opus 5.5,
|
|
179
|
+
> **Append-only history (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable/Mythos 5.1 and 5.2):** editing an earlier message, rebuilding `system` or `tools`, or summarizing old turns in place invalidates the thinking blocks that follow. Append to the end of the history instead of rewriting it. Source: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
180
180
|
|
|
181
181
|
### Proactive Compaction
|
|
182
182
|
|
|
@@ -365,7 +365,9 @@ Adjust the model's effort level based on task complexity:
|
|
|
365
365
|
> **Effort does not switch models:** it sets the reasoning depth of the current model; pick the model with `/model`. Recommended pairs: `low` on Haiku 5.5, `medium` on Sonnet 5.5, `high`/`xhigh` on Opus 5.5.
|
|
366
366
|
|
|
367
367
|
> **Default effort per model:** medium on Opus 5.5 and Haiku 5.5; high on Sonnet 5.5, Fable 5.2 and legacy models.
|
|
368
|
-
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 per Mtok) is the current Fable model, suitable for creative/narrative agents; Fable 5.1 and Fable 5 remain available (legacy). On Fable 5.2 (as on Mythos 5.2) thinking is always on (adaptive only): to reduce it, lower the effort — an "answer directly" instruction is not enough at `medium` and above. **Mythos** is limited availability (Cyber Verification Program only). Cache reads cost 5% of the input price on Opus/Sonnet 5.5 and 2.5% on Fable 5.
|
|
368
|
+
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 per Mtok) is the current Fable model, suitable for creative/narrative agents; Fable 5.1 and Fable 5 remain available (legacy). On Fable 5.2 (as on Mythos 5.2) thinking is always on (adaptive only) and, at `high` effort and above, precedes almost every reply: to reduce it, lower the effort — an "answer directly" instruction is not enough at `medium` and above. **Mythos** is limited availability (Cyber Verification Program only). Cache reads cost 5% of the input price on Opus/Sonnet 5.5 and 2.5% on Fable/Mythos 5.1 and 5.2; 10% on other models, including Fable 5 and Mythos 5 ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)).
|
|
369
|
+
|
|
370
|
+
> **Default thinking and API migration:** on Sonnet 5.5 and Haiku 5.5 (as on the legacy Opus 5 and Sonnet 5), thinking is on when `thinking` is omitted: select content blocks by `type`, not by position, and leave room in `max_tokens`. It can only be turned off at effort `high` or lower; on Sonnet 5.5 the lowest setting is `between_tools`. `budget_tokens` returns a 400 error since Claude 4.7 (set `effort` instead), and prefilling the last assistant turn is no longer supported since Claude 4.6. Source: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
369
371
|
|
|
370
372
|
### Inactivity Alert (v2.1.84+)
|
|
371
373
|
|
|
@@ -820,8 +822,8 @@ Beyond RTK and native hooks, the Claude Code ecosystem offers tools that cover a
|
|
|
820
822
|
| Tool | License | Angle | Rec |
|
|
821
823
|
|------|---------|-------|-----|
|
|
822
824
|
| **caveman** | Apache-2.0 | Output (response) compression ~65% | ✅ Integrate |
|
|
823
|
-
| **code-review-graph** | MIT | AST graph, blast-radius reads (
|
|
824
|
-
| **token-savior** | MIT | Symbol index + Bash compaction (−80%) |
|
|
825
|
+
| **code-review-graph** | MIT | AST graph, blast-radius reads (~63× median, 6.65× vs grep) | ✅ Integrate |
|
|
826
|
+
| **token-savior** | MIT | Symbol index + Bash compaction (−80% unverified, −45% cost re-measured) | 🔶 Reference (gain not reproducible) |
|
|
825
827
|
| **claude-token-efficient** | MIT | Anti-verbosity CLAUDE.md rules (~63% output) | ✅ Integrate |
|
|
826
828
|
| **context-mode** | ELv2 | Output sandbox, post-compaction continuity | 🔶 Reference (license) |
|
|
827
829
|
| **claude-context** | MIT | Semantic search (vector DB required) | 🔶 Reference (infra) |
|
|
@@ -40,6 +40,7 @@ Hooks de Claude Code para el control de calidad y la seguridad automatizados, in
|
|
|
40
40
|
- El payload llega como **JSON por stdin**; solo el **código de salida 2** bloquea (cualquier otro código distinto de cero es un error no bloqueante).
|
|
41
41
|
- Solo `hookSpecificOutput.additionalContext` llega al modelo; el stdout en texto plano de PreCompact se lee como instrucciones de compactación.
|
|
42
42
|
- Los scripts necesitan `jq` o `node` para leer el payload: las guardas de seguridad bloquean si no hay ninguno, los hooks informativos no hacen nada.
|
|
43
|
+
- Las tres guardas de seguridad (`guard-network`, `block-dangerous-commands`, `protect-sensitive-files`) declaran `"onFailure": "block"` (Claude Code 2.1.295+): si el script falta, falla o supera su timeout, la llamada a la herramienta se bloquea en lugar de continuar. Si una guarda bloquea todas las llamadas tras una instalación rota, vuelve a ejecutar la instalación o elimina los hooks con `--hooks=none`. Reinstalar añade `onFailure` a las guardas instaladas por una versión anterior, sin sustituir nunca un valor que hayas fijado.
|
|
43
44
|
|
|
44
45
|
## Más información
|
|
45
46
|
|
|
@@ -176,7 +176,7 @@ Estos campos permiten optimizar los costos y el alcance de los sub-agentes.
|
|
|
176
176
|
|
|
177
177
|
Claude Code compacta automaticamente el contexto cuando se acerca a los limites de la ventana. Los mensajes antiguos se resumen para liberar espacio.
|
|
178
178
|
|
|
179
|
-
> **Historial append-only (Opus 5.5,
|
|
179
|
+
> **Historial append-only (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable/Mythos 5.1 y 5.2):** modificar un mensaje anterior, reconstruir `system` o `tools`, o resumir turnos antiguos en su lugar invalida los bloques de thinking siguientes. Añadir al final del historial en lugar de reescribirlo. Fuente: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
180
180
|
|
|
181
181
|
### Compactacion proactiva
|
|
182
182
|
|
|
@@ -365,7 +365,9 @@ Ajustar el nivel de esfuerzo del modelo según la complejidad de la tarea:
|
|
|
365
365
|
> **El esfuerzo no cambia de modelo:** ajusta la profundidad de razonamiento del modelo actual; el modelo se elige con `/model`. Combinaciones recomendadas: `low` con Haiku 5.5, `medium` con Sonnet 5.5, `high`/`xhigh` con Opus 5.5.
|
|
366
366
|
|
|
367
367
|
> **Esfuerzo por defecto según el modelo:** medium en Opus 5.5 y Haiku 5.5; high en Sonnet 5.5, Fable 5.2 y los modelos legacy.
|
|
368
|
-
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 por Mtok) es el modelo Fable actual, adecuado para agentes creativos/narrativos; Fable 5.1 y Fable 5 siguen disponibles (legacy). En Fable 5.2 (como en Mythos 5.2) el razonamiento está siempre activo (solo modo adaptive): para reducirlo, baja el esfuerzo — una instrucción «responde directamente» no basta a partir de `medium`. **Mythos** tiene disponibilidad limitada (solo Cyber Verification Program). La lectura de caché cuesta el 5 % del precio de entrada en Opus/Sonnet 5.5 y el 2,5 % en Fable 5.
|
|
368
|
+
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 por Mtok) es el modelo Fable actual, adecuado para agentes creativos/narrativos; Fable 5.1 y Fable 5 siguen disponibles (legacy). En Fable 5.2 (como en Mythos 5.2) el razonamiento está siempre activo (solo modo adaptive) y, a partir de `high`, precede a casi cada respuesta: para reducirlo, baja el esfuerzo — una instrucción «responde directamente» no basta a partir de `medium`. **Mythos** tiene disponibilidad limitada (solo Cyber Verification Program). La lectura de caché cuesta el 5 % del precio de entrada en Opus/Sonnet 5.5 y el 2,5 % en Fable/Mythos 5.1 y 5.2; 10 % en los demás modelos, incluidos Fable 5 y Mythos 5 ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)).
|
|
369
|
+
|
|
370
|
+
> **Thinking por defecto y migración de la API:** en Sonnet 5.5 y Haiku 5.5 (como en los modelos legacy Opus 5 y Sonnet 5), el thinking está activo cuando se omite `thinking`: seleccionar los bloques por `type` y no por posición, y dejar margen en `max_tokens`. Solo se desactiva con esfuerzo `high` o inferior; en Sonnet 5.5 el ajuste mínimo es `between_tools`. `budget_tokens` devuelve un error 400 desde Claude 4.7 (usar `effort` en su lugar) y el prellenado del último turno del asistente ya no se admite desde Claude 4.6. Fuente: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
369
371
|
|
|
370
372
|
### Alerta de inactividad (v2.1.84+)
|
|
371
373
|
|
|
@@ -814,8 +816,8 @@ Además de RTK y los hooks nativos, el ecosistema de Claude Code ofrece herramie
|
|
|
814
816
|
| Herramienta | Licencia | Ángulo | Rec |
|
|
815
817
|
|-------------|----------|--------|-----|
|
|
816
818
|
| **caveman** | Apache-2.0 | Compresión de respuestas (output) ~65 % | ✅ Integrar |
|
|
817
|
-
| **code-review-graph** | MIT | Grafo AST, lectura del blast radius (
|
|
818
|
-
| **token-savior** | MIT | Índice simbólico + compactación de Bash (−80 %) |
|
|
819
|
+
| **code-review-graph** | MIT | Grafo AST, lectura del blast radius (~63× mediana, 6,65× vs grep) | ✅ Integrar |
|
|
820
|
+
| **token-savior** | MIT | Índice simbólico + compactación de Bash (−80 % no verificable, −45 % de coste remedido) | 🔶 Referenciar (ganancia no reproducible) |
|
|
819
821
|
| **claude-token-efficient** | MIT | Reglas CLAUDE.md anti-verbosidad (~63 % output) | ✅ Integrar |
|
|
820
822
|
| **context-mode** | ELv2 | Sandbox de outputs, continuidad tras compactación | 🔶 Referenciar (licencia) |
|
|
821
823
|
| **claude-context** | MIT | Búsqueda semántica (requiere base vectorial) | 🔶 Referenciar (infra) |
|
|
@@ -40,6 +40,7 @@ Hooks Claude Code de contrôle qualité et de sécurité automatisés, installé
|
|
|
40
40
|
- Le payload arrive en **JSON sur stdin** ; seul le **code de sortie 2** bloque (tout autre code non nul est une erreur non bloquante).
|
|
41
41
|
- Seul `hookSpecificOutput.additionalContext` atteint le modèle ; le stdout en texte brut de PreCompact est lu comme consignes de compaction.
|
|
42
42
|
- Les scripts ont besoin de `jq` ou `node` pour lire le payload : les gardes de sécurité bloquent si aucun n'est disponible, les hooks informatifs ne font rien.
|
|
43
|
+
- Les trois gardes de sécurité (`guard-network`, `block-dangerous-commands`, `protect-sensitive-files`) déclarent `"onFailure": "block"` (Claude Code 2.1.295+) : si le script manque, plante ou dépasse son timeout, l'appel d'outil est bloqué au lieu de passer. Si une garde bloque tous les appels après une installation cassée, relancez l'installation, ou retirez les hooks avec `--hooks=none`. Relancer l'installation ajoute `onFailure` aux gardes installées par une version antérieure, sans jamais remplacer une valeur que vous avez posée.
|
|
43
44
|
|
|
44
45
|
## Pour aller plus loin
|
|
45
46
|
|
|
@@ -176,7 +176,7 @@ Ces champs permettent d'optimiser les couts et le scope des sous-agents.
|
|
|
176
176
|
|
|
177
177
|
Claude Code compacte automatiquement le contexte quand il approche les limites de la fenetre. Les messages anciens sont resumes pour liberer de l'espace.
|
|
178
178
|
|
|
179
|
-
> **Historique append-only (Opus 5.5,
|
|
179
|
+
> **Historique append-only (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable/Mythos 5.1 et 5.2) :** modifier un message antérieur, reconstruire `system` ou `tools`, ou résumer d'anciens tours sur place invalide les blocs de thinking suivants. Ajouter en fin d'historique plutôt que réécrire. Source : [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
180
180
|
|
|
181
181
|
### Compaction proactive
|
|
182
182
|
|
|
@@ -365,7 +365,9 @@ Ajuster le niveau d'effort du modele selon la complexite de la tache:
|
|
|
365
365
|
> **L'effort ne change pas de modèle :** il règle la profondeur de raisonnement du modèle courant ; le modèle se choisit avec `/model`. Couples conseillés : `low` sur Haiku 5.5, `medium` sur Sonnet 5.5, `high`/`xhigh` sur Opus 5.5.
|
|
366
366
|
|
|
367
367
|
> **Effort par défaut selon le modèle :** medium sur Opus 5.5 et Haiku 5.5 ; high sur Sonnet 5.5, Fable 5.2 et les modèles legacy.
|
|
368
|
-
> **Fable 5.2** (`claude-fable-5-2`, 8 $/40 $ par Mtok) est le modèle Fable actuel, adapté aux agents créatifs/narratifs ; Fable 5.1 et Fable 5 restent disponibles (legacy). Sur Fable 5.2 (comme sur Mythos 5.2), la réflexion est toujours active (mode adaptive seul) : pour la réduire, baisser l'effort — une consigne « réponds directement » ne suffit pas à `medium` et au-delà. **Mythos** est en disponibilité limitée (Cyber Verification Program uniquement). La lecture de cache coûte 5 % du prix d'entrée sur Opus/Sonnet 5.5 et 2,5 % sur Fable 5.
|
|
368
|
+
> **Fable 5.2** (`claude-fable-5-2`, 8 $/40 $ par Mtok) est le modèle Fable actuel, adapté aux agents créatifs/narratifs ; Fable 5.1 et Fable 5 restent disponibles (legacy). Sur Fable 5.2 (comme sur Mythos 5.2), la réflexion est toujours active (mode adaptive seul) et, à `high` et au-delà, précède presque chaque réponse : pour la réduire, baisser l'effort — une consigne « réponds directement » ne suffit pas à `medium` et au-delà. **Mythos** est en disponibilité limitée (Cyber Verification Program uniquement). La lecture de cache coûte 5 % du prix d'entrée sur Opus/Sonnet 5.5 et 2,5 % sur Fable/Mythos 5.1 et 5.2 ; 10 % sur les autres modèles, dont Fable 5 et Mythos 5 ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)).
|
|
369
|
+
|
|
370
|
+
> **Thinking par défaut et migration API :** sur Sonnet 5.5 et Haiku 5.5 (comme les modèles *legacy* Opus 5 et Sonnet 5), le thinking est actif quand `thinking` est omis : sélectionner les blocs par `type` et non par position, et garder de la marge dans `max_tokens`. Il ne se désactive qu'à effort `high` ou moins ; sur Sonnet 5.5, le réglage minimal est `between_tools`. `budget_tokens` renvoie une erreur 400 depuis Claude 4.7 (régler l'`effort` à la place), et le préremplissage du dernier tour assistant n'est plus supporté depuis Claude 4.6. Source : [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
369
371
|
|
|
370
372
|
### Alerte d'inactivite (v2.1.84+)
|
|
371
373
|
|
|
@@ -784,8 +786,8 @@ En complément de RTK et des hooks natifs, l'écosystème Claude Code fournit de
|
|
|
784
786
|
| Outil | Licence | Angle | Reco |
|
|
785
787
|
|-------|---------|-------|------|
|
|
786
788
|
| **caveman** | Apache-2.0 | Compression des réponses (output) ~65 % | ✅ Intégrer |
|
|
787
|
-
| **code-review-graph** | MIT | Graphe AST, lecture du blast radius (
|
|
788
|
-
| **token-savior** | MIT | Index symbolique + compaction Bash (−80 %) |
|
|
789
|
+
| **code-review-graph** | MIT | Graphe AST, lecture du blast radius (~63× médiane, 6,65× vs grep) | ✅ Intégrer |
|
|
790
|
+
| **token-savior** | MIT | Index symbolique + compaction Bash (−80 % non vérifiable, −45 % de coût remesuré) | 🔶 Référencer (gain non reproductible) |
|
|
789
791
|
| **claude-token-efficient** | MIT | Règles CLAUDE.md anti-verbosité (~63 % output) | ✅ Intégrer |
|
|
790
792
|
| **context-mode** | ELv2 | Sandbox des outputs, continuité post-compaction | 🔶 Référencer (licence) |
|
|
791
793
|
| **claude-context** | MIT | Recherche sémantique (vector DB requise) | 🔶 Référencer (infra) |
|
|
@@ -40,6 +40,7 @@ Hooks do Claude Code para controlo de qualidade e segurança automatizados, inst
|
|
|
40
40
|
- O payload chega como **JSON no stdin**; só o **código de saída 2** bloqueia (qualquer outro código diferente de zero é um erro não bloqueante).
|
|
41
41
|
- Só `hookSpecificOutput.additionalContext` chega ao modelo; o stdout em texto simples do PreCompact é lido como instruções de compactação.
|
|
42
42
|
- Os scripts precisam de `jq` ou `node` para ler o payload: as guardas de segurança bloqueiam se nenhum estiver disponível, os hooks informativos não fazem nada.
|
|
43
|
+
- As três guardas de segurança (`guard-network`, `block-dangerous-commands`, `protect-sensitive-files`) declaram `"onFailure": "block"` (Claude Code 2.1.295+): se o script estiver ausente, falhar ou exceder o timeout, a chamada da ferramenta é bloqueada em vez de prosseguir. Se uma guarda bloquear todas as chamadas após uma instalação quebrada, execute a instalação novamente ou remova os hooks com `--hooks=none`. Reinstalar adiciona `onFailure` às guardas instaladas por uma versão anterior, sem nunca substituir um valor que você definiu.
|
|
43
44
|
|
|
44
45
|
## Mais informações
|
|
45
46
|
|
|
@@ -176,7 +176,7 @@ Esses campos permitem otimizar os custos e o escopo dos sub-agentes.
|
|
|
176
176
|
|
|
177
177
|
O Claude Code compacta automaticamente o contexto quando se aproxima dos limites da janela. Mensagens antigas sao resumidas para liberar espaco.
|
|
178
178
|
|
|
179
|
-
> **Histórico append-only (Opus 5.5,
|
|
179
|
+
> **Histórico append-only (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable/Mythos 5.1 e 5.2):** modificar uma mensagem anterior, reconstruir `system` ou `tools`, ou resumir turnos antigos no lugar invalida os blocos de thinking seguintes. Acrescentar ao final do histórico em vez de reescrevê-lo. Fonte: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
180
180
|
|
|
181
181
|
### Compactacao proativa
|
|
182
182
|
|
|
@@ -365,7 +365,9 @@ Ajustar o nível de esforço do modelo de acordo com a complexidade da tarefa:
|
|
|
365
365
|
> **O esforço não troca de modelo:** ajusta a profundidade de raciocínio do modelo atual; o modelo é escolhido com `/model`. Pares recomendados: `low` com Haiku 5.5, `medium` com Sonnet 5.5, `high`/`xhigh` com Opus 5.5.
|
|
366
366
|
|
|
367
367
|
> **Esforço padrão por modelo:** medium no Opus 5.5 e Haiku 5.5; high no Sonnet 5.5, Fable 5.2 e modelos legacy.
|
|
368
|
-
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 por Mtok) é o modelo Fable atual, adequado para agentes criativos/narrativos; Fable 5.1 e Fable 5 continuam disponíveis (legacy). No Fable 5.2 (como no Mythos 5.2) o raciocínio está sempre ativo (apenas modo adaptive): para reduzi-lo, baixe o esforço — uma instrução «responda diretamente» não basta a partir de `medium`. **Mythos** tem disponibilidade limitada (apenas Cyber Verification Program). A leitura de cache custa 5 % do preço de entrada no Opus/Sonnet 5.5 e 2,5 % no Fable 5.
|
|
368
|
+
> **Fable 5.2** (`claude-fable-5-2`, $8/$40 por Mtok) é o modelo Fable atual, adequado para agentes criativos/narrativos; Fable 5.1 e Fable 5 continuam disponíveis (legacy). No Fable 5.2 (como no Mythos 5.2) o raciocínio está sempre ativo (apenas modo adaptive) e, a partir de `high`, precede quase toda resposta: para reduzi-lo, baixe o esforço — uma instrução «responda diretamente» não basta a partir de `medium`. **Mythos** tem disponibilidade limitada (apenas Cyber Verification Program). A leitura de cache custa 5 % do preço de entrada no Opus/Sonnet 5.5 e 2,5 % no Fable/Mythos 5.1 e 5.2; 10 % nos demais modelos, incluindo Fable 5 e Mythos 5 ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)).
|
|
369
|
+
|
|
370
|
+
> **Thinking por padrão e migração da API:** no Sonnet 5.5 e no Haiku 5.5 (como nos modelos legacy Opus 5 e Sonnet 5), o thinking fica ativo quando `thinking` é omitido: selecionar os blocos por `type`, não por posição, e deixar margem em `max_tokens`. Só pode ser desativado com esforço `high` ou inferior; no Sonnet 5.5 o ajuste mínimo é `between_tools`. `budget_tokens` retorna erro 400 desde o Claude 4.7 (use `effort`), e o preenchimento prévio do último turno do assistente não é mais suportado desde o Claude 4.6. Fonte: [prompting best practices](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices).
|
|
369
371
|
|
|
370
372
|
### Alerta de inatividade (v2.1.84+)
|
|
371
373
|
|
|
@@ -814,8 +816,8 @@ Além do RTK e dos hooks nativos, o ecossistema do Claude Code oferece ferrament
|
|
|
814
816
|
| Ferramenta | Licença | Ângulo | Rec |
|
|
815
817
|
|------------|---------|--------|-----|
|
|
816
818
|
| **caveman** | Apache-2.0 | Compressão das respostas (output) ~65 % | ✅ Integrar |
|
|
817
|
-
| **code-review-graph** | MIT | Grafo AST, leitura do blast radius (
|
|
818
|
-
| **token-savior** | MIT | Índice simbólico + compactação do Bash (−80 %) |
|
|
819
|
+
| **code-review-graph** | MIT | Grafo AST, leitura do blast radius (~63× mediana, 6,65× vs grep) | ✅ Integrar |
|
|
820
|
+
| **token-savior** | MIT | Índice simbólico + compactação do Bash (−80 % não verificável, −45 % de custo remedido) | 🔶 Referenciar (ganho não reproduzível) |
|
|
819
821
|
| **claude-token-efficient** | MIT | Regras CLAUDE.md anti-verbosidade (~63 % output) | ✅ Integrar |
|
|
820
822
|
| **context-mode** | ELv2 | Sandbox dos outputs, continuidade pós-compactação | 🔶 Referenciar (licença) |
|
|
821
823
|
| **claude-context** | MIT | Busca semântica (requer banco vetorial) | 🔶 Referenciar (infra) |
|
|
@@ -2,24 +2,34 @@
|
|
|
2
2
|
// Fusion non destructive de hooks Claude Code dans un settings.json.
|
|
3
3
|
// add --settings F --fragment G [--dry-run] ajoute les handlers absents
|
|
4
4
|
// remove --settings F --match STR retire les handlers dont la commande contient STR
|
|
5
|
-
// `add` ne retire
|
|
6
|
-
//
|
|
5
|
+
// `add` ne retire jamais un hook existant et est idempotent : un handler est ignoré si sa
|
|
6
|
+
// commande figure déjà dans l'événement (quel que soit le groupe). Seule modification
|
|
7
|
+
// d'un handler existant : il reçoit le `onFailure` du fragment s'il n'en déclare aucun
|
|
8
|
+
// (mise à niveau fail-closed des hooks de sécurité) ; une valeur déjà posée est conservée.
|
|
7
9
|
import fs from 'fs';
|
|
8
10
|
import path from 'path';
|
|
9
11
|
import { fileURLToPath } from 'url';
|
|
10
12
|
|
|
11
13
|
const matcherOf = (group) => group.matcher ?? '';
|
|
12
|
-
const
|
|
14
|
+
const handlersOf = (groups) => groups.flatMap((g) => g.hooks ?? []);
|
|
13
15
|
|
|
14
16
|
export function addHooks(settings, fragment) {
|
|
15
17
|
const out = structuredClone(settings);
|
|
16
18
|
let added = 0;
|
|
19
|
+
let upgraded = 0;
|
|
17
20
|
out.hooks ??= {};
|
|
18
21
|
for (const [event, fragGroups] of Object.entries(fragment.hooks ?? {})) {
|
|
19
22
|
const groups = (out.hooks[event] ??= []);
|
|
20
23
|
for (const fg of fragGroups) {
|
|
21
24
|
for (const handler of fg.hooks ?? []) {
|
|
22
|
-
|
|
25
|
+
const existing = handlersOf(groups).find((x) => x.command === handler.command);
|
|
26
|
+
if (existing) {
|
|
27
|
+
if (handler.onFailure !== undefined && existing.onFailure === undefined) {
|
|
28
|
+
existing.onFailure = handler.onFailure;
|
|
29
|
+
upgraded++;
|
|
30
|
+
}
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
23
33
|
let group = groups.find((g) => matcherOf(g) === matcherOf(fg));
|
|
24
34
|
if (!group) {
|
|
25
35
|
group = { ...(fg.matcher === undefined ? {} : { matcher: fg.matcher }), hooks: [] };
|
|
@@ -30,7 +40,7 @@ export function addHooks(settings, fragment) {
|
|
|
30
40
|
}
|
|
31
41
|
}
|
|
32
42
|
}
|
|
33
|
-
return { settings: out, added };
|
|
43
|
+
return { settings: out, added, upgraded };
|
|
34
44
|
}
|
|
35
45
|
|
|
36
46
|
export function removeHooks(settings, match) {
|
|
@@ -96,14 +106,15 @@ function main(argv) {
|
|
|
96
106
|
return 0;
|
|
97
107
|
}
|
|
98
108
|
if (!opts.fragment) return 1;
|
|
99
|
-
const { settings: next, added } = addHooks(settings, readJson(opts.fragment));
|
|
109
|
+
const { settings: next, added, upgraded } = addHooks(settings, readJson(opts.fragment));
|
|
110
|
+
const upgradeNote = upgraded > 0 ? `, upgraded ${upgraded} handlers (onFailure)` : '';
|
|
100
111
|
if (opts.dryRun) {
|
|
101
|
-
console.log(`would add ${added} handlers to ${opts.settings}`);
|
|
112
|
+
console.log(`would add ${added} handlers to ${opts.settings}${upgradeNote}`);
|
|
102
113
|
return 0;
|
|
103
114
|
}
|
|
104
115
|
fs.mkdirSync(path.dirname(opts.settings), { recursive: true });
|
|
105
|
-
if (added > 0 || !exists) fs.writeFileSync(opts.settings, `${JSON.stringify(next, null, 2)}\n`);
|
|
106
|
-
console.log(`added ${added} handlers to ${opts.settings}`);
|
|
116
|
+
if (added > 0 || upgraded > 0 || !exists) fs.writeFileSync(opts.settings, `${JSON.stringify(next, null, 2)}\n`);
|
|
117
|
+
console.log(`added ${added} handlers to ${opts.settings}${upgradeNote}`);
|
|
107
118
|
return 0;
|
|
108
119
|
}
|
|
109
120
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Plus **11 stack-specific reviewers** (@symfony-reviewer, @react-reviewer, @pytho
|
|
|
21
21
|
|
|
22
22
|
[](https://www.npmjs.com/package/@the-bearded-bear/claude-craft)
|
|
23
23
|
[](https://www.npmjs.com/package/@the-bearded-bear/claude-craft)
|
|
24
|
-
[](https://code.claude.com)
|
|
25
25
|
[](https://github.com/TheBeardedBearSAS/claude-craft/actions/workflows/npm-publish.yml)
|
|
26
26
|
[](https://opensource.org/licenses/MIT)
|
|
27
27
|
[](https://dashboard.stryker-mutator.io/reports/github.com/TheBeardedBearSAS/claude-craft/main)
|
|
@@ -32,6 +32,14 @@ Plus **11 stack-specific reviewers** (@symfony-reviewer, @react-reviewer, @pytho
|
|
|
32
32
|
|
|
33
33
|
A comprehensive framework for AI-assisted development with [Claude Code](https://claude.ai/code). Install standardized rules, agents, and commands for your projects across multiple technology stacks — **33 specialized agents (+39 infra agents on-demand), 143 commands across 18 namespaces, 55 skills**, all token-optimized via `context: fork` and sub-agent model routing.
|
|
34
34
|
|
|
35
|
+
## What's New in v9.4.0
|
|
36
|
+
|
|
37
|
+
**Dernière version 9.x — sécurité Claude Code et hooks fail-closed (2026-11-17, v9.4.0) :**
|
|
38
|
+
|
|
39
|
+
- **Claude Code** : minimum de sécurité relevé à 2.1.325 (contournements de permissions Bash/sandbox corrigés en 2.1.323 et 2.1.325), version recommandée 2.1.326 ; `claude-craft doctor` échoue sous le minimum, et le plugin déclare `engines["claude-code"]: ">=2.1.325"`.
|
|
40
|
+
- **Hooks** : les trois gardes de sécurité bloquent l'appel d'outil si leur script manque, plante ou dépasse son timeout (`onFailure: "block"`) ; la réinstallation met à niveau les projets existants.
|
|
41
|
+
- **Annonce** : Claude Craft devient **bear-craft** en 10.0.0 (paquet `@the-bearded-bear/bear-craft`, commande `bear-craft`, alias `claude-craft` conservé en 10.x). Détails : [CHANGELOG](CHANGELOG.md#940---2026-11-17).
|
|
42
|
+
|
|
35
43
|
## What's New in v9.3.0
|
|
36
44
|
|
|
37
45
|
**Kanban en écriture et qualité mesurée (2026-11-16, v9.3.0) :**
|
|
@@ -193,7 +201,7 @@ A comprehensive framework for AI-assisted development with [Claude Code](https:/
|
|
|
193
201
|
- **Parité i18n stricte (v8.8.2)** -- la CI bloque désormais si un fichier traduit est à < 80 % de la taille de l'anglais. Dette i18n résorbée (gap 101 → 0).
|
|
194
202
|
- **Branding the-bearded-bear.com (v8.10.1)** -- migration complète des domaines vers `the-bearded-bear.com`, normalisation de l'organisation GitHub.
|
|
195
203
|
- **126 commandes sur 15 namespaces (v8.10.x)** (220 total avec infra/projet) -- namespace `/paperclip:*` (8 commandes) ajouté, 55 skills disponibles.
|
|
196
|
-
- **Claude Code 2.1.
|
|
204
|
+
- **Claude Code 2.1.326** -- version recommandée (minimum sécurité 2.1.325 ; Opus 5.5 / Sonnet 5.5 / Haiku 5.5, MCP 2026-07-28, hooks `onFailure: "block"`).
|
|
197
205
|
|
|
198
206
|
> ← Versions antérieures (v8.0 → v8.7) : voir le [CHANGELOG](CHANGELOG.md) et [.claude/COMPATIBILITY.md](.claude/COMPATIBILITY.md).
|
|
199
207
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
# Claude-Craft - Multi-Technology Framework
|
|
10
10
|
|
|
11
|
-
**Version:** 9.
|
|
11
|
+
**Version:** 9.4.0 | **Languages:** en, fr, es, de, pt
|
|
12
12
|
|
|
13
13
|
A comprehensive AI-assisted development framework for Claude Code with 17 technology stacks, 33 specialized agents (+39 infra agents on-demand), 143 commands across 18 namespaces, and BMAD v6 project management.
|
|
14
14
|
|
|
@@ -182,7 +182,7 @@ make install-symfony TARGET=. RULES_LANG=en
|
|
|
182
182
|
|
|
183
183
|
## Claude Code Compatibility
|
|
184
184
|
|
|
185
|
-
**Minimum Version:** 2.1.
|
|
185
|
+
**Minimum Version:** 2.1.325 (CVE-2026-86063 / CVE-2026-103435 / CVE-2026-103012 patched) | **Recommended:** 2.1.326 (Opus 5.5, Sonnet 5.5, Haiku 5.5, MCP 2026-07-28, hooks `onFailure: "block"`) — See `@.claude/COMPATIBILITY.md` for full changelog (v2.1.20+).
|
|
186
186
|
|
|
187
187
|
---
|
|
188
188
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
# Claude-Craft - Multi-Technology Framework
|
|
10
10
|
|
|
11
|
-
**Version:** 9.
|
|
11
|
+
**Version:** 9.4.0 | **Languages:** en, fr, es, de, pt
|
|
12
12
|
|
|
13
13
|
A comprehensive AI-assisted development framework for Claude Code with 17 technology stacks, 33 specialized agents (+39 infra agents on-demand), 143 commands across 18 namespaces, and BMAD v6 project management.
|
|
14
14
|
|
|
@@ -182,7 +182,7 @@ make install-symfony TARGET=. RULES_LANG=en
|
|
|
182
182
|
|
|
183
183
|
## Claude Code Compatibility
|
|
184
184
|
|
|
185
|
-
**Minimum Version:** 2.1.
|
|
185
|
+
**Minimum Version:** 2.1.325 (CVE-2026-86063 / CVE-2026-103435 / CVE-2026-103012 patched) | **Recommended:** 2.1.326 (Opus 5.5, Sonnet 5.5, Haiku 5.5, MCP 2026-07-28, hooks `onFailure: "block"`) — See `@.claude/COMPATIBILITY.md` for full changelog (v2.1.20+).
|
|
186
186
|
|
|
187
187
|
---
|
|
188
188
|
|
package/cli/lib/doctor.js
CHANGED
|
@@ -34,9 +34,10 @@ function loadClaudeCodeVersion(key, fallback) {
|
|
|
34
34
|
|
|
35
35
|
// Security floor: plugin SHA-pin bypass (CVE-2026-86063, fixed 2.1.179), symlink
|
|
36
36
|
// TOCTOU write (CVE-2026-103435, 2.1.129), managed settings bypass (CVE-2026-103012, 2.1.260),
|
|
37
|
-
// Bash permission and MCP OAuth fixes (2.1.321,
|
|
38
|
-
|
|
39
|
-
const
|
|
37
|
+
// Bash permission and MCP OAuth fixes (2.1.321), Bash/sandbox permission bypasses
|
|
38
|
+
// (2.1.323, 2.1.325) — no GHSA published.
|
|
39
|
+
const MIN_CLAUDE_CODE = loadClaudeCodeVersion('minimum', '2.1.325');
|
|
40
|
+
const RECOMMENDED_CLAUDE_CODE = loadClaudeCodeVersion('recommended', '2.1.326');
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
43
|
* Compare two semver-ish version strings (`major.minor.patch`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-bearded-bear/claude-craft",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0-next.c74b65b",
|
|
4
4
|
"description": "A comprehensive framework for AI-assisted development with Claude Code. Install standardized rules, agents, and commands for your projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli/index.js",
|