@the-bearded-bear/claude-craft 7.6.0 → 7.6.1-next.3f34150
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.
|
@@ -434,13 +434,21 @@ install_tcl() {
|
|
|
434
434
|
if [[ ${#TECH_2026_REFS[@]} -gt 0 ]] && [ "$dry_run" = "false" ]; then
|
|
435
435
|
local refs_2026_src="${TECH_2026_REFS_SRC_DIR:-${SCRIPT_DIR}/../../.claude/references/${TECH_NAMESPACE}}"
|
|
436
436
|
local refs_2026_dst="${target_dir}/.claude/references/${TECH_NAMESPACE}"
|
|
437
|
+
# Skip if source and destination resolve to the same directory
|
|
438
|
+
local resolved_src resolved_dst
|
|
439
|
+
resolved_src="$(cd "$refs_2026_src" 2>/dev/null && pwd)" || resolved_src=""
|
|
440
|
+
resolved_dst="$(cd "$refs_2026_dst" 2>/dev/null && pwd)" || resolved_dst=""
|
|
437
441
|
local count_2026=0
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
if [ -n "$resolved_src" ] && [ "$resolved_src" = "$resolved_dst" ]; then
|
|
443
|
+
log_success "2026 feature references already in place (same directory)"
|
|
444
|
+
else
|
|
445
|
+
for ref_file in "${TECH_2026_REFS[@]}"; do
|
|
446
|
+
if [ -f "${refs_2026_src}/${ref_file}" ]; then
|
|
447
|
+
cp "${refs_2026_src}/${ref_file}" "${refs_2026_dst}/"
|
|
448
|
+
((count_2026++)) || true
|
|
449
|
+
fi
|
|
450
|
+
done
|
|
451
|
+
fi
|
|
444
452
|
if [ $count_2026 -gt 0 ]; then
|
|
445
453
|
log_success "${count_2026} 2026 feature references copied"
|
|
446
454
|
fi
|
package/cli/lib/update.js
CHANGED
|
@@ -61,7 +61,7 @@ function runUpdate(targetPath, options, cliRoot) {
|
|
|
61
61
|
if (fs.existsSync(commonScript)) {
|
|
62
62
|
console.log(` ${c.cyan}Refreshing common rules...${c.reset}`);
|
|
63
63
|
try {
|
|
64
|
-
execSync(`bash "${commonScript}" "${
|
|
64
|
+
execSync(`bash "${commonScript}" --lang="${lang}" --force "${targetPath}"`, {
|
|
65
65
|
encoding: 'utf8',
|
|
66
66
|
timeout: 60_000,
|
|
67
67
|
stdio: 'pipe',
|
|
@@ -85,7 +85,7 @@ function runUpdate(targetPath, options, cliRoot) {
|
|
|
85
85
|
|
|
86
86
|
console.log(` ${c.cyan}Refreshing ${entry.displayName}...${c.reset}`);
|
|
87
87
|
try {
|
|
88
|
-
execSync(`bash "${script}" "${
|
|
88
|
+
execSync(`bash "${script}" --lang="${lang}" --force "${targetPath}"`, {
|
|
89
89
|
encoding: 'utf8',
|
|
90
90
|
timeout: 60_000,
|
|
91
91
|
stdio: 'pipe',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-bearded-bear/claude-craft",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.1-next.3f34150",
|
|
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",
|