claude-dev-kit 2.1.7 → 2.1.8
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/package.json +1 -1
- package/scripts/migrate.sh +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-dev-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Transform Claude Code into a fully autonomous development team — orchestrated sub-agents for planning, implementation, testing, and review.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"claude-dev-kit": "./bin/claude-dev-kit.js"
|
package/scripts/migrate.sh
CHANGED
|
@@ -44,6 +44,10 @@ error() { echo -e "${RED} ✗${NC} $*" >&2; }
|
|
|
44
44
|
header() { echo -e "\n${BOLD}$*${NC}"; }
|
|
45
45
|
dim() { echo -e "${DIM}$*${NC}"; }
|
|
46
46
|
|
|
47
|
+
make_temp_file() {
|
|
48
|
+
mktemp "${TMPDIR:-/tmp}/cdk-temp.XXXXXX"
|
|
49
|
+
}
|
|
50
|
+
|
|
47
51
|
CI_MODE="${CI:-false}"
|
|
48
52
|
|
|
49
53
|
# ─── Section 1: Load existing manifest ────────────────────────────────────────
|
|
@@ -335,7 +339,7 @@ merge_settings() {
|
|
|
335
339
|
fi
|
|
336
340
|
|
|
337
341
|
local tmp
|
|
338
|
-
tmp=$(
|
|
342
|
+
tmp=$(make_temp_file)
|
|
339
343
|
# shellcheck disable=SC2064
|
|
340
344
|
trap "rm -f '$tmp'" RETURN
|
|
341
345
|
|
|
@@ -377,7 +381,7 @@ merge_claude_md() {
|
|
|
377
381
|
if grep -qF "$START_MARKER" "$tgt_md" 2>/dev/null; then
|
|
378
382
|
# Has CDK markers — replace only the block between markers (inclusive)
|
|
379
383
|
local tmp
|
|
380
|
-
tmp=$(
|
|
384
|
+
tmp=$(make_temp_file)
|
|
381
385
|
# shellcheck disable=SC2064
|
|
382
386
|
trap "rm -f '$tmp'" RETURN
|
|
383
387
|
|