@quantiya/codevibe 1.0.3 → 1.0.5

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.
Files changed (3) hide show
  1. package/README.md +33 -55
  2. package/bin/codevibe +154 -9
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -1,84 +1,62 @@
1
1
  # CodeVibe
2
2
 
3
- Monitor and control AI coding agents from your mobile device.
3
+ Monitor and control AI coding agents from your phone.
4
4
 
5
- CodeVibe syncs your terminal sessions (Claude Code, Gemini CLI, Codex CLI) to the [CodeVibe iOS app](https://apps.apple.com/app/id6740641420), letting you review code changes, approve actions, and send prompts — all from your phone.
5
+ CodeVibe syncs your terminal sessions (Claude Code, Gemini CLI, Codex CLI) to the CodeVibe mobile app, letting you review code changes, approve actions, and send prompts — all from your phone.
6
6
 
7
- ## Install
7
+ ## Quick Install
8
8
 
9
9
  ```bash
10
- npm install -g @quantiya/codevibe
11
- ```
12
-
13
- This installs wrapper commands for all three agents:
14
- - `codevibe-claude` — Claude Code integration
15
- - `codevibe-gemini` — Gemini CLI integration
16
- - `codevibe-codex` — Codex CLI integration
17
-
18
- ### Claude Code: Additional Step
19
-
20
- Claude Code also requires its MCP plugin to be registered. Inside a Claude Code session, run:
21
-
22
- ```
23
- /plugin marketplace add https://github.com/hendryyeh/quantiya-codevibe-marketplace
24
- /plugin install codevibe-claude
10
+ curl -fsSL https://quantiya.ai/codevibe/install.sh | bash
25
11
  ```
26
12
 
27
- This registers the CodeVibe MCP server with Claude Code. You only need to do this once.
28
-
29
- ### Install individual plugins
13
+ This installs everything automatically: Node.js, tmux, Claude Code, CodeVibe, and the Claude plugin.
30
14
 
31
- If you only use specific agents:
15
+ ### Manual Install
32
16
 
33
17
  ```bash
34
- npm install -g @quantiya/codevibe-claude-plugin # Also needs marketplace install above
35
- npm install -g @quantiya/codevibe-gemini-plugin
36
- npm install -g @quantiya/codevibe-codex-plugin
18
+ npm install -g @quantiya/codevibe
19
+ claude plugin marketplace add https://github.com/hendryyeh/quantiya-codevibe-marketplace
20
+ claude plugin install codevibe-claude@codevibe-marketplace
21
+ codevibe login
37
22
  ```
38
23
 
39
- ## Quick Start
24
+ ## Commands
40
25
 
41
26
  ```bash
42
- # 1. Sign in (opens browser — Apple or Google)
43
- codevibe-claude login
44
-
45
- # 2. Start coding — session syncs to your phone
46
- codevibe-claude
27
+ codevibe login # Sign in with Apple or Google
28
+ codevibe status # Show auth status
29
+ codevibe update # Update all packages + Claude plugin
30
+ codevibe version # Show installed versions
31
+ codevibe --help # Show all commands
47
32
  ```
48
33
 
49
- Same pattern for Gemini and Codex:
34
+ ### Agent Wrappers
50
35
 
51
36
  ```bash
52
- codevibe-gemini login && codevibe-gemini
53
- codevibe-codex login && codevibe-codex
37
+ codevibe-claude # Start Claude Code with mobile sync
38
+ codevibe-gemini # Start Gemini CLI with mobile sync
39
+ codevibe-codex # Start Codex CLI with mobile sync
54
40
  ```
55
41
 
56
42
  ## Features
57
43
 
58
- **Real-time sync** — See assistant responses, tool usage, and file changes on your phone as they happen (~100-500ms latency)
59
-
60
- **Mobile approval** — Approve or reject tool permissions remotely. View full file diffs with syntax highlighting before approving changes
61
-
62
- **Send prompts** — Type or dictate prompts from your phone that execute immediately on desktop
63
-
64
- **Voice messages** — Tap the microphone to dictate prompts with real-time speech-to-text transcription
65
-
66
- **Image attachments** — Send screenshots or photos from your camera or photo library alongside your messages
67
-
68
- **Push notifications** — Get notified when your agent needs attention, with deep linking to the relevant session
69
-
70
- **Delivery status** — WhatsApp-style checkmarks: sent, delivered, and executed confirmations
71
-
72
- **Multi-agent** — Run Claude Code, Gemini CLI, and Codex CLI sessions simultaneously, each clearly labeled in the app
73
-
74
- **End-to-end encryption** — All messages encrypted with AES-256-GCM. Your code stays private
75
-
76
- **Offline queue** — Messages queue automatically when offline and send when connection restores
44
+ - **Real-time sync** — See responses, tool usage, and file changes on your phone (~100-500ms latency)
45
+ - **Mobile approval** — Approve or reject tool permissions remotely with full file diff preview
46
+ - **Send prompts** — Type or dictate prompts from your phone
47
+ - **Voice input** — Speech-to-text with live transcription
48
+ - **Image attachments** — Send screenshots or photos alongside messages
49
+ - **Push notifications** — Get notified when your agent needs attention
50
+ - **Delivery status** — Checkmarks: sent, delivered, and executed confirmations
51
+ - **Multi-agent** — Claude Code, Gemini CLI, and Codex CLI from one app
52
+ - **E2E encrypted** — AES-256-GCM encryption for all content
53
+ - **Offline queue** — Messages queue when offline, send on reconnect
77
54
 
78
55
  ## Links
79
56
 
80
- - [iOS App](https://apps.apple.com/app/id6740641420)
81
- - [Website](https://quantiya.ai/codevibe)
57
+ - [Landing Page](https://quantiya.ai/codevibe)
58
+ - [Android — Google Play](https://play.google.com/store/apps/details?id=ai.quantiya.app.codevibe)
59
+ - [iOS — App Store](https://apps.apple.com/app/id6756500217)
82
60
 
83
61
  ## License
84
62
 
package/bin/codevibe CHANGED
@@ -1,15 +1,18 @@
1
1
  #!/bin/bash
2
2
  #
3
- # codevibe - CodeVibe shared authentication CLI
3
+ # codevibe - CodeVibe CLI
4
4
  #
5
- # Delegates to @quantiya/codevibe-core's CLI for shared auth commands.
5
+ # Manages authentication, updates, and plugin lifecycle.
6
6
  # Authentication is shared across all CodeVibe plugins (Claude, Codex, Gemini).
7
7
  #
8
8
  # Usage:
9
9
  # codevibe login # Sign in via browser
10
10
  # codevibe logout # Sign out
11
11
  # codevibe status # Show auth status
12
+ # codevibe update # Update all CodeVibe packages + Claude plugin
13
+ # codevibe version # Show installed versions
12
14
  # codevibe reset-device # Reset device identity (destructive)
15
+ # codevibe --help # Show this help
13
16
  #
14
17
  # Environment:
15
18
  # ENVIRONMENT # Set to 'production' (default) or 'development'
@@ -17,6 +20,15 @@
17
20
 
18
21
  export ENVIRONMENT="${ENVIRONMENT:-production}"
19
22
 
23
+ # Colors
24
+ PURPLE='\033[0;35m'
25
+ GREEN='\033[0;32m'
26
+ YELLOW='\033[1;33m'
27
+ BOLD='\033[1m'
28
+ DIM='\033[2m'
29
+ NC='\033[0m'
30
+
31
+ # Resolve symlinks to find the actual script location
20
32
  SOURCE="${BASH_SOURCE[0]}"
21
33
  while [ -L "$SOURCE" ]; do
22
34
  DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
@@ -26,11 +38,144 @@ done
26
38
  SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
27
39
  PACKAGE_DIR="$(dirname "$SCRIPT_DIR")"
28
40
 
29
- CORE_CLI="$PACKAGE_DIR/node_modules/@quantiya/codevibe-core/bin/codevibe.js"
41
+ # ─── Help ────────────────────────────────────────────────────────────
42
+
43
+ show_help() {
44
+ echo ""
45
+ echo -e "${BOLD}CodeVibe${NC} — Control AI coding agents from your phone"
46
+ echo ""
47
+ echo "Usage: codevibe <command>"
48
+ echo ""
49
+ echo "Commands:"
50
+ echo " login Sign in with Apple or Google (opens browser)"
51
+ echo " logout Sign out"
52
+ echo " status Show authentication status"
53
+ echo " update Update all CodeVibe packages and Claude plugin"
54
+ echo " version Show installed package versions"
55
+ echo " reset-device Reset device identity (destructive)"
56
+ echo ""
57
+ echo "Agent wrappers:"
58
+ echo " codevibe-claude Start Claude Code with mobile sync"
59
+ echo " codevibe-gemini Start Gemini CLI with mobile sync"
60
+ echo " codevibe-codex Start Codex CLI with mobile sync"
61
+ echo ""
62
+ echo -e "${DIM}https://quantiya.ai/codevibe${NC}"
63
+ echo ""
64
+ }
65
+
66
+ # ─── Version ─────────────────────────────────────────────────────────
67
+
68
+ show_version() {
69
+ echo ""
70
+ echo -e "${BOLD}CodeVibe Versions${NC}"
71
+ echo ""
72
+
73
+ # Meta-package version
74
+ if [ -f "$PACKAGE_DIR/package.json" ]; then
75
+ META_VER=$(node -p "require('$PACKAGE_DIR/package.json').version" 2>/dev/null || echo "?")
76
+ echo -e " @quantiya/codevibe ${GREEN}$META_VER${NC}"
77
+ fi
78
+
79
+ # Core version
80
+ CORE_PKG="$PACKAGE_DIR/node_modules/@quantiya/codevibe-core/package.json"
81
+ if [ -f "$CORE_PKG" ]; then
82
+ CORE_VER=$(node -p "require('$CORE_PKG').version" 2>/dev/null || echo "?")
83
+ echo -e " @quantiya/codevibe-core ${GREEN}$CORE_VER${NC}"
84
+ fi
85
+
86
+ # Plugin versions
87
+ for plugin in claude gemini codex; do
88
+ PKG="$PACKAGE_DIR/node_modules/@quantiya/codevibe-${plugin}-plugin/package.json"
89
+ if [ -f "$PKG" ]; then
90
+ VER=$(node -p "require('$PKG').version" 2>/dev/null || echo "?")
91
+ echo -e " @quantiya/codevibe-${plugin}-plugin ${GREEN}$VER${NC}"
92
+ fi
93
+ done
94
+
95
+ # Claude Code version
96
+ if command -v claude >/dev/null 2>&1; then
97
+ CLAUDE_VER=$(claude --version 2>/dev/null | head -1 || echo "?")
98
+ echo ""
99
+ echo -e " Claude Code ${GREEN}$CLAUDE_VER${NC}"
100
+ fi
101
+
102
+ echo ""
103
+ }
104
+
105
+ # ─── Update ──────────────────────────────────────────────────────────
106
+
107
+ do_update() {
108
+ echo ""
109
+ echo -e "${BOLD}${PURPLE}CodeVibe Update${NC}"
110
+ echo ""
111
+
112
+ # Show current versions
113
+ if [ -f "$PACKAGE_DIR/package.json" ]; then
114
+ CUR_VER=$(node -p "require('$PACKAGE_DIR/package.json').version" 2>/dev/null || echo "?")
115
+ echo -e " ${DIM}Current version: $CUR_VER${NC}"
116
+ fi
117
+ echo ""
118
+
119
+ # Update meta-package (pulls latest core + all plugins)
120
+ echo -e "${PURPLE}▸${NC} Updating @quantiya/codevibe..."
121
+ npm install -g --force @quantiya/codevibe@latest 2>&1 | tail -1
122
+ echo -e "${GREEN}✓${NC} CodeVibe updated"
123
+
124
+ # Update Claude plugin in Claude Code
125
+ if command -v claude >/dev/null 2>&1; then
126
+ echo ""
127
+ echo -e "${PURPLE}▸${NC} Updating Claude Code plugin..."
128
+
129
+ # Refresh marketplace
130
+ if claude plugin marketplace update codevibe-marketplace 2>/dev/null; then
131
+ echo -e "${GREEN}✓${NC} Marketplace refreshed"
132
+ else
133
+ echo -e "${YELLOW}!${NC} Marketplace refresh skipped"
134
+ fi
135
+
136
+ # Reinstall plugin (gets latest version from marketplace)
137
+ if claude plugin install codevibe-claude@codevibe-marketplace 2>/dev/null; then
138
+ echo -e "${GREEN}✓${NC} Claude plugin updated"
139
+ else
140
+ echo -e "${YELLOW}!${NC} Claude plugin update skipped"
141
+ fi
142
+ fi
143
+
144
+ echo ""
145
+
146
+ # Show new versions
147
+ echo -e "${BOLD}Updated versions:${NC}"
148
+ show_version
149
+ }
150
+
151
+ # ─── Command routing ─────────────────────────────────────────────────
30
152
 
31
- if [ -f "$CORE_CLI" ]; then
32
- exec node "$CORE_CLI" "$@"
33
- else
34
- echo "Error: @quantiya/codevibe-core not found. Try reinstalling: npm install -g @quantiya/codevibe" >&2
35
- exit 1
36
- fi
153
+ case "$1" in
154
+ --help|-h|help|"")
155
+ show_help
156
+ exit 0
157
+ ;;
158
+ version|--version|-v)
159
+ show_version
160
+ exit 0
161
+ ;;
162
+ update)
163
+ do_update
164
+ exit $?
165
+ ;;
166
+ login|logout|status|reset-device)
167
+ # Delegate to codevibe-core CLI
168
+ CORE_CLI="$PACKAGE_DIR/node_modules/@quantiya/codevibe-core/bin/codevibe.js"
169
+ if [ -f "$CORE_CLI" ]; then
170
+ exec node "$CORE_CLI" "$@"
171
+ else
172
+ echo "Error: @quantiya/codevibe-core not found. Try reinstalling: npm install -g @quantiya/codevibe" >&2
173
+ exit 1
174
+ fi
175
+ ;;
176
+ *)
177
+ echo "Unknown command: $1" >&2
178
+ echo "Run 'codevibe --help' for usage." >&2
179
+ exit 1
180
+ ;;
181
+ esac
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "CodeVibe - Monitor and control AI coding agents (Claude Code, Gemini CLI, Codex CLI) from your mobile device",
5
5
  "bin": {
6
6
  "codevibe": "./bin/codevibe",
@@ -14,10 +14,10 @@
14
14
  "LICENSE"
15
15
  ],
16
16
  "dependencies": {
17
- "@quantiya/codevibe-core": "^1.0.0",
18
- "@quantiya/codevibe-claude-plugin": "^1.0.0",
19
- "@quantiya/codevibe-gemini-plugin": "^1.0.0",
20
- "@quantiya/codevibe-codex-plugin": "^1.0.0"
17
+ "@quantiya/codevibe-core": "^1.0.3",
18
+ "@quantiya/codevibe-claude-plugin": "^1.0.9",
19
+ "@quantiya/codevibe-gemini-plugin": "^1.0.5",
20
+ "@quantiya/codevibe-codex-plugin": "^1.0.6"
21
21
  },
22
22
  "keywords": [
23
23
  "codevibe",