claude-all-hands 1.0.21 → 1.0.22
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/.claude/envoy/envoy +10 -2
- package/.claude/hooks/startup.sh +1 -1
- package/package.json +1 -1
package/.claude/envoy/envoy
CHANGED
|
@@ -13,13 +13,21 @@ fi
|
|
|
13
13
|
|
|
14
14
|
# Auto-install if node_modules missing
|
|
15
15
|
if [ ! -d "$SCRIPT_DIR/node_modules" ]; then
|
|
16
|
-
|
|
16
|
+
echo "Installing envoy dependencies..." >&2
|
|
17
|
+
if ! npm install --prefix "$SCRIPT_DIR"; then
|
|
18
|
+
echo "ERROR: npm install failed for claude-envoy" >&2
|
|
19
|
+
exit 1
|
|
20
|
+
fi
|
|
17
21
|
cp "$SCRIPT_DIR/package.json" "$SCRIPT_DIR/node_modules/.package.json.cache" 2>/dev/null
|
|
18
22
|
fi
|
|
19
23
|
|
|
20
24
|
# Reinstall if package.json changed
|
|
21
25
|
if ! cmp -s "$SCRIPT_DIR/package.json" "$SCRIPT_DIR/node_modules/.package.json.cache" 2>/dev/null; then
|
|
22
|
-
|
|
26
|
+
echo "Updating envoy dependencies..." >&2
|
|
27
|
+
if ! npm install --prefix "$SCRIPT_DIR"; then
|
|
28
|
+
echo "ERROR: npm install failed for claude-envoy" >&2
|
|
29
|
+
exit 1
|
|
30
|
+
fi
|
|
23
31
|
cp "$SCRIPT_DIR/package.json" "$SCRIPT_DIR/node_modules/.package.json.cache" 2>/dev/null
|
|
24
32
|
fi
|
|
25
33
|
|
package/.claude/hooks/startup.sh
CHANGED
|
@@ -30,7 +30,7 @@ fi
|
|
|
30
30
|
branch=$(git branch --show-current 2>/dev/null)
|
|
31
31
|
if [ -n "$branch" ]; then
|
|
32
32
|
if [ "$branch" = "main" ] || [ "$branch" = "master" ] || [ "$branch" = "develop" ] || [ "$branch" = "development" ] || [ "$branch" = "dev" ] || [ "$branch" = "staging" ] || [ "$branch" = "stage" ] || [ "$branch" = "production" ] || [ "$branch" = "prod" ] || [[ "$branch" == quick/* ]] || [[ "$branch" == curator/* ]] || [[ "$branch" == docs/* ]]; then
|
|
33
|
-
# echo "Mode: Direct (no planning) - on $branch branch"
|
|
33
|
+
: # echo "Mode: Direct (no planning) - on $branch branch"
|
|
34
34
|
else
|
|
35
35
|
# Feature branch - ensure plan directory exists
|
|
36
36
|
"$CLAUDE_PROJECT_DIR/.claude/envoy/envoy" plan init > /dev/null 2>&1
|