@leeovery/claude-technical-workflows 2.1.39 → 2.1.40

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.
@@ -10,8 +10,16 @@
10
10
  # Extract session_id from stdin JSON
11
11
  session_id=$(cat | grep -o '"session_id" *: *"[^"]*"' | sed 's/.*: *"//;s/"//')
12
12
 
13
- if [ -n "$session_id" ] && [ -n "$CLAUDE_ENV_FILE" ]; then
14
- echo "export CLAUDE_SESSION_ID=${session_id}" > "$CLAUDE_ENV_FILE"
13
+ if [ -z "$session_id" ]; then
14
+ echo "[session-env] WARNING: Could not parse session_id from stdin" >&2
15
+ exit 0
15
16
  fi
16
17
 
18
+ if [ -z "$CLAUDE_ENV_FILE" ]; then
19
+ echo "[session-env] WARNING: CLAUDE_ENV_FILE not set — cannot persist CLAUDE_SESSION_ID" >&2
20
+ exit 0
21
+ fi
22
+
23
+ echo "export CLAUDE_SESSION_ID=${session_id}" >> "$CLAUDE_ENV_FILE"
24
+
17
25
  exit 0
@@ -19,7 +19,7 @@ if [ -z "$PROJECT_DIR" ]; then
19
19
  fi
20
20
 
21
21
  if [ -z "$CLAUDE_SESSION_ID" ]; then
22
- # No session ID availablesilently skip
22
+ echo "[write-session-state] WARNING: CLAUDE_SESSION_ID not set session state will not be saved" >&2
23
23
  exit 0
24
24
  fi
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-technical-workflows",
3
- "version": "2.1.39",
3
+ "version": "2.1.40",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",