@quantiya/codevibe-claude-plugin 1.0.26 → 1.0.28
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-plugin/plugin.json +1 -1
- package/bin/codevibe-claude +24 -0
- package/hooks/notification.sh +3 -1
- package/hooks/permission-request.sh +4 -1
- package/hooks/post-tool-use.sh +4 -1
- package/hooks/session-end.sh +3 -1
- package/hooks/stop.sh +3 -2
- package/hooks/user-prompt.sh +4 -1
- package/package.json +1 -1
- package/node_modules/deep-extend/CHANGELOG.md +0 -46
- package/node_modules/keytar/build/Release/keytar.node +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codevibe-claude",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
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"
|
package/bin/codevibe-claude
CHANGED
|
@@ -43,6 +43,30 @@ done
|
|
|
43
43
|
SCRIPT_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
|
|
44
44
|
PLUGIN_DIR="$(dirname "$SCRIPT_DIR")"
|
|
45
45
|
|
|
46
|
+
# ─── PATH augmentation ───────────────────────────────────────────────
|
|
47
|
+
# When the install one-liner runs in a fresh terminal, Homebrew's
|
|
48
|
+
# installer writes the shellenv eval into ~/.zprofile (and similar)
|
|
49
|
+
# but the user's current shell hasn't sourced it yet. Subsequent
|
|
50
|
+
# codevibe-* runs in that same terminal then fail tmux discovery
|
|
51
|
+
# because /opt/homebrew/bin isn't on PATH. Prepend common locations
|
|
52
|
+
# so the wrapper recovers without forcing the user to open a new
|
|
53
|
+
# terminal. Prepend (not append) is deliberate: the Homebrew binary
|
|
54
|
+
# install.sh just laid down should win over any older system binary
|
|
55
|
+
# (e.g. a stale /usr/bin/node on Linux) at the same name. To preserve
|
|
56
|
+
# the relative ordering of augmented dirs, build a single prefix
|
|
57
|
+
# string and prepend it once — iterating prepend-per-dir would
|
|
58
|
+
# reverse intended order. ${PATH:+:$PATH} keeps an empty starting
|
|
59
|
+
# PATH from producing a trailing colon (which makes cwd searchable).
|
|
60
|
+
_CV_NEW_PATHS=""
|
|
61
|
+
for _CV_DIR in /opt/homebrew/bin /opt/homebrew/sbin /usr/local/bin /usr/local/sbin /opt/local/bin /usr/bin /bin; do
|
|
62
|
+
case ":$PATH:" in
|
|
63
|
+
*":$_CV_DIR:"*) ;;
|
|
64
|
+
*) [ -d "$_CV_DIR" ] && _CV_NEW_PATHS="$_CV_NEW_PATHS:$_CV_DIR" ;;
|
|
65
|
+
esac
|
|
66
|
+
done
|
|
67
|
+
[ -n "$_CV_NEW_PATHS" ] && export PATH="${_CV_NEW_PATHS#:}${PATH:+:$PATH}"
|
|
68
|
+
unset _CV_DIR _CV_NEW_PATHS
|
|
69
|
+
|
|
46
70
|
# ─── Wrapper telemetry (GA4 Measurement Protocol) ─────────────────────
|
|
47
71
|
# Diagnoses agent CLI failures: pre-flight bailouts, fast-die patterns,
|
|
48
72
|
# whether SessionStart hook fired, exit code. Background curl, fail
|
package/hooks/notification.sh
CHANGED
|
@@ -29,4 +29,6 @@ else
|
|
|
29
29
|
log "ERROR" "Failed to send Notification event (exit code: $EXIT_CODE)"
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
|
-
|
|
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
|
-
|
|
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
|
package/hooks/post-tool-use.sh
CHANGED
|
@@ -39,4 +39,7 @@ fi
|
|
|
39
39
|
|
|
40
40
|
log "DEBUG" "PostToolUse event processing completed"
|
|
41
41
|
|
|
42
|
-
|
|
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
|
package/hooks/session-end.sh
CHANGED
|
@@ -54,4 +54,6 @@ else
|
|
|
54
54
|
log "ERROR" "Failed to send SessionEnd event (exit code: $EXIT_CODE)"
|
|
55
55
|
fi
|
|
56
56
|
|
|
57
|
-
|
|
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"
|
package/hooks/user-prompt.sh
CHANGED
|
@@ -29,4 +29,7 @@ else
|
|
|
29
29
|
log "ERROR" "Failed to send UserPromptSubmit event (exit code: $EXIT_CODE)"
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
|
-
|
|
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.
|
|
3
|
+
"version": "1.0.28",
|
|
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": {
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
Changelog
|
|
2
|
-
=========
|
|
3
|
-
|
|
4
|
-
v0.6.0
|
|
5
|
-
------
|
|
6
|
-
|
|
7
|
-
- Updated "devDependencies" versions to fix vulnerability alerts
|
|
8
|
-
- Dropped support of io.js and node.js v0.12.x and lower since new versions of
|
|
9
|
-
"devDependencies" couldn't work with those old node.js versions
|
|
10
|
-
(minimal supported version of node.js now is v4.0.0)
|
|
11
|
-
|
|
12
|
-
v0.5.1
|
|
13
|
-
------
|
|
14
|
-
|
|
15
|
-
- Fix prototype pollution vulnerability (thanks to @mwakerman for the PR)
|
|
16
|
-
- Avoid using deprecated Buffer API (thanks to @ChALkeR for the PR)
|
|
17
|
-
|
|
18
|
-
v0.5.0
|
|
19
|
-
------
|
|
20
|
-
|
|
21
|
-
- Auto-testing provided by Travis CI;
|
|
22
|
-
- Support older Node.JS versions (`v0.11.x` and `v0.10.x`);
|
|
23
|
-
- Removed tests files from npm package.
|
|
24
|
-
|
|
25
|
-
v0.4.2
|
|
26
|
-
------
|
|
27
|
-
|
|
28
|
-
- Fix for `null` as an argument.
|
|
29
|
-
|
|
30
|
-
v0.4.1
|
|
31
|
-
------
|
|
32
|
-
|
|
33
|
-
- Removed test code from <b>npm</b> package
|
|
34
|
-
([see pull request #21](https://github.com/unclechu/node-deep-extend/pull/21));
|
|
35
|
-
- Increased minimal version of Node from `0.4.0` to `0.12.0`
|
|
36
|
-
(because can't run tests on lesser version anyway).
|
|
37
|
-
|
|
38
|
-
v0.4.0
|
|
39
|
-
------
|
|
40
|
-
|
|
41
|
-
- **WARNING!** Broken backward compatibility with `v0.3.x`;
|
|
42
|
-
- Fixed bug with extending arrays instead of cloning;
|
|
43
|
-
- Deep cloning for arrays;
|
|
44
|
-
- Check for own property;
|
|
45
|
-
- Fixed some documentation issues;
|
|
46
|
-
- Strict JS mode.
|
|
Binary file
|