@the-bearded-bear/claude-craft 4.0.1 → 4.0.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.
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets Angular
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-angular-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="Angular"
@@ -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="3.4.0"
40
+ VERSION="4.0.1"
41
41
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
42
42
 
43
43
  # Couleurs
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets C#/.NET
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-csharp-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="CSharp"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets Flutter
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-flutter-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="Flutter"
@@ -29,6 +29,13 @@ TECH_RULE_MAPPINGS=(
29
29
  "13-state-management.md:state-management.md"
30
30
  )
31
31
 
32
+ # 2026 Features - copied directly from references (not i18n)
33
+ TECH_2026_REFS=(
34
+ "wasm.md"
35
+ "mcp-integration.md"
36
+ "web-performance-2026.md"
37
+ )
38
+
32
39
  # Legacy rules for backward compatibility detection
33
40
  TECH_RULES=(
34
41
  "02-architecture.md"
@@ -336,6 +343,22 @@ install_tcl() {
336
343
  # 3. Copy tech-specific references
337
344
  copy_tech_references "$target_dir" "$src_dir" "$TECH_NAMESPACE" "$dry_run" "${TECH_RULE_MAPPINGS[@]}"
338
345
 
346
+ # 3b. Copy 2026 feature references from claude-craft source
347
+ if [ "$dry_run" = "false" ]; then
348
+ local refs_2026_src="${SCRIPT_DIR}/../../.claude/references/flutter"
349
+ local refs_2026_dst="${target_dir}/.claude/references/${TECH_NAMESPACE}"
350
+ local count_2026=0
351
+ for ref_file in "${TECH_2026_REFS[@]}"; do
352
+ if [ -f "${refs_2026_src}/${ref_file}" ]; then
353
+ cp "${refs_2026_src}/${ref_file}" "${refs_2026_dst}/"
354
+ ((count_2026++)) || true
355
+ fi
356
+ done
357
+ if [ $count_2026 -gt 0 ]; then
358
+ log_success "${count_2026} 2026 feature references copied"
359
+ fi
360
+ fi
361
+
339
362
  # 4. Copy project context template
340
363
  if [ "$dry_run" = "false" ]; then
341
364
  local ctx_template="${src_dir}/rules/00-project-context.md.template"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets Laravel
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-laravel-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="Laravel"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets PHP
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-php-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="PHP"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets Python
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-python-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="Python"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets React
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-react-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="React"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets React Native
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-reactnative-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="ReactNative"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets Symfony
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-symfony-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="Symfony"
@@ -37,6 +37,13 @@ TECH_RULE_MAPPINGS=(
37
37
  "21-cqrs.md:cqrs.md"
38
38
  )
39
39
 
40
+ # 2026 Features - copied directly from references (not i18n)
41
+ TECH_2026_REFS=(
42
+ "json-streamer.md"
43
+ "object-mapper.md"
44
+ "service-container-2026.md"
45
+ )
46
+
40
47
  # Legacy rules for backward compatibility detection
41
48
  TECH_RULES=(
42
49
  "02-architecture-clean-ddd.md"
@@ -352,6 +359,22 @@ install_tcl() {
352
359
  # 3. Copy tech-specific references
353
360
  copy_tech_references "$target_dir" "$src_dir" "$TECH_NAMESPACE" "$dry_run" "${TECH_RULE_MAPPINGS[@]}"
354
361
 
362
+ # 3b. Copy 2026 feature references from claude-craft source
363
+ if [ "$dry_run" = "false" ]; then
364
+ local refs_2026_src="${SCRIPT_DIR}/../../.claude/references/symfony"
365
+ local refs_2026_dst="${target_dir}/.claude/references/${TECH_NAMESPACE}"
366
+ local count_2026=0
367
+ for ref_file in "${TECH_2026_REFS[@]}"; do
368
+ if [ -f "${refs_2026_src}/${ref_file}" ]; then
369
+ cp "${refs_2026_src}/${ref_file}" "${refs_2026_dst}/"
370
+ ((count_2026++)) || true
371
+ fi
372
+ done
373
+ if [ $count_2026 -gt 0 ]; then
374
+ log_success "${count_2026} 2026 feature references copied"
375
+ fi
376
+ fi
377
+
355
378
  # 4. Copy project context template
356
379
  if [ "$dry_run" = "false" ]; then
357
380
  local ctx_template="${src_dir}/rules/00-project-context.md.template"
@@ -1,11 +1,11 @@
1
1
  #!/bin/bash
2
2
  # Installation/Mise a jour des regles Claude Code pour projets VueJS
3
- # Version: 3.5.0 - TCL (Tiered Context Loading) optimized
3
+ # Version: 4.0.1 - TCL (Tiered Context Loading) optimized
4
4
  # Usage: ./install-vuejs-rules.sh [OPTIONS] [PROJECT_DIR]
5
5
 
6
6
  set -euo pipefail
7
7
 
8
- VERSION="3.5.0"
8
+ VERSION="4.0.1"
9
9
  SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
10
  I18N_DIR="$(dirname "$SCRIPT_DIR")/i18n"
11
11
  TECH_NAME="VueJS"
package/README.md CHANGED
@@ -2,16 +2,16 @@
2
2
 
3
3
  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.
4
4
 
5
- ## What's New in v3.5
5
+ ## What's New in v4.0
6
6
 
7
- - **TCL (Tiered Context Loading)**: 95% token reduction through optimized context loading
8
- - **On-Demand References**: Rules loaded only when explicitly requested via `@.claude/references/`
9
- - **Minimal CLAUDE.md**: ~200 tokens auto-loaded instead of ~70,000
10
- - **INDEX.md Summaries**: Quick reference checklists (~1,300 tokens)
11
- - **context.yaml**: File-based contextual triggers for skills
12
- - **All 10 Technologies**: TCL optimization applied across all stacks
7
+ - **2026 Best Practices Update** for all major frameworks
8
+ - **Symfony 8.0 / PHP 8.5**: JSON Streamer, ObjectMapper, pipe operator, lazy objects
9
+ - **Flutter 3.38 / Dart 3.10**: WebAssembly compilation, MCP integration
10
+ - **.NET 10 LTS / C# 14**: Extension Members, Null-Conditional Assignment
11
+ - **Updated Tooling**: Rector 2.3.x, Deptrac v4, PHPStan 2.1.x
12
+ - **Sub-CLAUDE.md files**: Quick reference per technology in `.claude/references/`
13
13
 
14
- ## What's New in v3.4
14
+ ## What's New in v3.5
15
15
 
16
16
  - **Ralph Reliability**: 59 fixes for robust long-running sprints (2h+)
17
17
  - **Auto-Compact**: Automatic context limit detection and session compaction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-bearded-bear/claude-craft",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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": {