@quantiya/codevibe-claude-plugin 1.0.26 → 1.0.27

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,6 +1,6 @@
1
1
  {
2
2
  "name": "codevibe-claude",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Sync Claude Code sessions with iOS mobile app via AWS backend. Control Claude Code from your phone with real-time bidirectional synchronization.",
5
5
  "author": {
6
6
  "name": "CodeVibe Team"
@@ -29,4 +29,6 @@ else
29
29
  log "ERROR" "Failed to send Notification event (exit code: $EXIT_CODE)"
30
30
  fi
31
31
 
32
- exit $EXIT_CODE
32
+ # Hooks are best-effort telemetry. Never propagate send_to_mcp failures to
33
+ # Claude Code — a missing/unreachable daemon must not surface as a hook error.
34
+ exit 0
@@ -191,4 +191,7 @@ else
191
191
  log "ERROR" "Failed to send PermissionRequest event (exit code: $EXIT_CODE)"
192
192
  fi
193
193
 
194
- exit $EXIT_CODE
194
+ # Hooks are best-effort telemetry. Never propagate send_to_mcp failures to
195
+ # Claude Code — a missing/unreachable daemon must not block the permission
196
+ # dialog from appearing on the desktop.
197
+ exit 0
@@ -39,4 +39,7 @@ fi
39
39
 
40
40
  log "DEBUG" "PostToolUse event processing completed"
41
41
 
42
- exit $EVENT_EXIT_CODE
42
+ # Hooks are best-effort telemetry. Never propagate send_to_mcp failures to
43
+ # Claude Code — a missing/unreachable daemon (e.g. user not yet authenticated)
44
+ # must not surface as a hook error on every tool call.
45
+ exit 0
@@ -54,4 +54,6 @@ else
54
54
  log "ERROR" "Failed to send SessionEnd event (exit code: $EXIT_CODE)"
55
55
  fi
56
56
 
57
- exit $EXIT_CODE
57
+ # Hooks are best-effort telemetry. Never propagate send_to_mcp failures to
58
+ # Claude Code — a missing/unreachable daemon must not surface as a hook error.
59
+ exit 0
package/hooks/stop.sh CHANGED
@@ -23,9 +23,10 @@ SESSION_ID=$(echo "$INPUT" | jq -r '.session_id // empty')
23
23
 
24
24
  if [ -z "$TRANSCRIPT_PATH" ] || [ ! -f "$TRANSCRIPT_PATH" ]; then
25
25
  log "WARN" "Transcript path not found or file doesn't exist: $TRANSCRIPT_PATH"
26
- # Fallback: send notification
26
+ # Fallback: send notification. Hooks are best-effort telemetry, so swallow
27
+ # any send_to_mcp failure rather than surfacing it as a hook error.
27
28
  send_to_mcp "event" "$INPUT" "$SESSION_ID"
28
- exit $?
29
+ exit 0
29
30
  fi
30
31
 
31
32
  log "DEBUG" "Reading transcript: $TRANSCRIPT_PATH"
@@ -29,4 +29,7 @@ else
29
29
  log "ERROR" "Failed to send UserPromptSubmit event (exit code: $EXIT_CODE)"
30
30
  fi
31
31
 
32
- exit $EXIT_CODE
32
+ # Hooks are best-effort telemetry. Never propagate send_to_mcp failures to
33
+ # Claude Code — a missing/unreachable daemon (e.g. user not yet authenticated)
34
+ # must not block prompt submission.
35
+ exit 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-claude-plugin",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
5
5
  "main": "dist/server.js",
6
6
  "bin": {