@quantiya/codevibe 1.0.49 → 1.0.51

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/bin/codevibe CHANGED
@@ -3,7 +3,7 @@
3
3
  # codevibe - CodeVibe CLI
4
4
  #
5
5
  # Manages authentication, updates, and plugin lifecycle.
6
- # Authentication is shared across all CodeVibe plugins (Claude, Codex, Gemini).
6
+ # Authentication is shared across all CodeVibe plugins (Claude, Codex, Gemini, Antigravity).
7
7
  #
8
8
  # Usage:
9
9
  # codevibe login # Sign in via browser
@@ -58,6 +58,7 @@ show_help() {
58
58
  echo " codevibe-claude Start Claude Code with mobile sync"
59
59
  echo " codevibe-gemini Start Gemini CLI with mobile sync"
60
60
  echo " codevibe-codex Start Codex CLI with mobile sync"
61
+ echo " codevibe-agy Start Antigravity CLI with mobile sync"
61
62
  echo ""
62
63
  echo -e "${DIM}https://quantiya.ai/codevibe${NC}"
63
64
  echo ""
@@ -84,7 +85,7 @@ show_version() {
84
85
  fi
85
86
 
86
87
  # Plugin versions
87
- for plugin in claude gemini codex; do
88
+ for plugin in claude gemini codex antigravity; do
88
89
  PKG="$PACKAGE_DIR/node_modules/@quantiya/codevibe-${plugin}-plugin/package.json"
89
90
  if [ -f "$PKG" ]; then
90
91
  VER=$(node -p "require('$PKG').version" 2>/dev/null || echo "?")
@@ -92,12 +93,35 @@ show_version() {
92
93
  fi
93
94
  done
94
95
 
95
- # Claude Code version
96
+ # Agent CLI versions (only printed for CLIs actually installed)
97
+ local _printed_cli_header=false
98
+ _print_cli_section_header() {
99
+ if [ "$_printed_cli_header" = false ]; then
100
+ echo ""
101
+ _printed_cli_header=true
102
+ fi
103
+ }
104
+
96
105
  if command -v claude >/dev/null 2>&1; then
97
106
  CLAUDE_VER=$(claude --version 2>/dev/null | head -1 || echo "?")
98
- echo ""
107
+ _print_cli_section_header
99
108
  echo -e " Claude Code ${GREEN}$CLAUDE_VER${NC}"
100
109
  fi
110
+ if command -v gemini >/dev/null 2>&1; then
111
+ GEMINI_VER=$(gemini --version 2>/dev/null | head -1 || echo "?")
112
+ _print_cli_section_header
113
+ echo -e " Gemini CLI ${GREEN}$GEMINI_VER${NC}"
114
+ fi
115
+ if command -v codex >/dev/null 2>&1; then
116
+ CODEX_VER=$(codex --version 2>/dev/null | head -1 || echo "?")
117
+ _print_cli_section_header
118
+ echo -e " Codex CLI ${GREEN}$CODEX_VER${NC}"
119
+ fi
120
+ if command -v agy >/dev/null 2>&1; then
121
+ AGY_VER=$(agy --version 2>/dev/null | head -1 || echo "?")
122
+ _print_cli_section_header
123
+ echo -e " Antigravity CLI ${GREEN}$AGY_VER${NC}"
124
+ fi
101
125
 
102
126
  echo ""
103
127
  }
@@ -0,0 +1,70 @@
1
+ #!/bin/bash
2
+ # Thin wrapper that delegates to @quantiya/codevibe-antigravity-plugin
3
+
4
+ SOURCE="${BASH_SOURCE[0]}"
5
+ while [ -L "$SOURCE" ]; do
6
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
7
+ SOURCE="$(readlink "$SOURCE")"
8
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
9
+ done
10
+ SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
11
+
12
+ DELEGATE="$SCRIPT_DIR/../node_modules/@quantiya/codevibe-antigravity-plugin/bin/codevibe-agy"
13
+
14
+ if [ ! -f "$DELEGATE" ]; then
15
+ echo "Error: @quantiya/codevibe-antigravity-plugin not found. Try reinstalling: npm install -g @quantiya/codevibe" >&2
16
+ exit 1
17
+ fi
18
+
19
+ case "${1:-}" in
20
+ login|logout|help|--help|-h|version|--version|-v)
21
+ ;;
22
+ *)
23
+ if ! command -v agy >/dev/null 2>&1; then
24
+ cat >&2 <<'EOF'
25
+
26
+ Antigravity CLI (agy) is not installed on this system.
27
+
28
+ CodeVibe attaches to the Antigravity CLI — you need it installed first.
29
+
30
+ Install Antigravity CLI from Google's documentation:
31
+ https://antigravity.google/docs
32
+
33
+ Then run codevibe-agy again.
34
+
35
+ Learn more: https://quantiya.ai/codevibe
36
+ EOF
37
+ exit 1
38
+ fi
39
+ ;;
40
+ esac
41
+
42
+ # Update check — show cached result from previous check, then refresh in background.
43
+ _CV_UPDATE_MSG="${TMPDIR:-/tmp}/.codevibe-update-msg"
44
+ _CV_UPDATE_CHECK="${TMPDIR:-/tmp}/.codevibe-update-check"
45
+ if [ -s "$_CV_UPDATE_MSG" ]; then
46
+ cat "$_CV_UPDATE_MSG" >&2
47
+ echo "" >&2
48
+ fi
49
+ if [ ! -f "$_CV_UPDATE_CHECK" ] || [ "$(find "$_CV_UPDATE_CHECK" -mmin +1440 2>/dev/null)" ]; then
50
+ (
51
+ _CURRENT=$(node -p "require('$SCRIPT_DIR/../package.json').version" 2>/dev/null)
52
+ _LATEST=$(npm view @quantiya/codevibe version 2>/dev/null)
53
+ if [ -n "$_CURRENT" ] && [ -n "$_LATEST" ] && [ "$_CURRENT" != "$_LATEST" ]; then
54
+ echo -e "\033[33m⚠️ CodeVibe update available ($_CURRENT → $_LATEST). Run: codevibe update\033[0m" > "$_CV_UPDATE_MSG" 2>/dev/null
55
+ else
56
+ rm -f "$_CV_UPDATE_MSG" 2>/dev/null
57
+ fi
58
+ touch "$_CV_UPDATE_CHECK" 2>/dev/null
59
+ ) &
60
+ fi
61
+
62
+ # Activation telemetry (background, non-blocking, no PII)
63
+ _CID="$(echo "$(uname -n)-$(id -u)" | (sha256sum 2>/dev/null || shasum -a 256 2>/dev/null || echo "anonymous-fallback ") | cut -c1-36)"
64
+ _SRC="${CODEVIBE_TELEMETRY_SOURCE:-production}"
65
+ curl -s -X POST "https://www.google-analytics.com/mp/collect?measurement_id=G-GS74YEQTB8&api_secret=lAfOF6OxRzSQ-NsLBRjhAg" \
66
+ -H "Content-Type: application/json" \
67
+ -d "{\"client_id\":\"${_CID}\",\"events\":[{\"name\":\"wrapper_launched\",\"params\":{\"agent\":\"antigravity\",\"platform\":\"$(uname -s)\",\"source\":\"${_SRC}\"}}]}" \
68
+ >/dev/null 2>&1 &
69
+
70
+ exec "$DELEGATE" "$@"
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe",
3
- "version": "1.0.49",
4
- "description": "CodeVibe — Control Claude Code, Gemini CLI, and Codex CLI from your iPhone and Android. Real-time sync, voice prompts, approve file edits, E2E encrypted.",
3
+ "version": "1.0.51",
4
+ "description": "CodeVibe — Control Claude Code, Gemini CLI, Codex CLI, and Antigravity CLI from your iPhone and Android. Real-time sync, voice prompts, approve file edits, E2E encrypted.",
5
5
  "bin": {
6
6
  "codevibe": "./bin/codevibe",
7
7
  "codevibe-claude": "./bin/codevibe-claude",
8
8
  "codevibe-gemini": "./bin/codevibe-gemini",
9
- "codevibe-codex": "./bin/codevibe-codex"
9
+ "codevibe-codex": "./bin/codevibe-codex",
10
+ "codevibe-agy": "./bin/codevibe-agy"
10
11
  },
11
12
  "files": [
12
13
  "bin",
@@ -14,10 +15,11 @@
14
15
  "LICENSE"
15
16
  ],
16
17
  "dependencies": {
17
- "@quantiya/codevibe-claude-plugin": "^1.0.39",
18
- "@quantiya/codevibe-codex-plugin": "^1.0.37",
19
- "@quantiya/codevibe-core": "^1.0.23",
20
- "@quantiya/codevibe-gemini-plugin": "^1.0.29"
18
+ "@quantiya/codevibe-antigravity-plugin": "^1.0.0",
19
+ "@quantiya/codevibe-claude-plugin": "^1.0.40",
20
+ "@quantiya/codevibe-codex-plugin": "^1.0.38",
21
+ "@quantiya/codevibe-core": "^1.0.24",
22
+ "@quantiya/codevibe-gemini-plugin": "^1.0.30"
21
23
  },
22
24
  "keywords": [
23
25
  "codevibe",
@@ -27,6 +29,9 @@
27
29
  "gemini-cli",
28
30
  "codex",
29
31
  "codex-cli",
32
+ "antigravity",
33
+ "antigravity-cli",
34
+ "agy",
30
35
  "anthropic",
31
36
  "openai",
32
37
  "google",