@quantiya/codevibe-codex-plugin 1.0.6 โ 1.0.8
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/README.md +59 -106
- package/dist/server.js +22 -1051
- package/package.json +10 -12
- package/dist/approval-detector.d.ts +0 -38
- package/dist/approval-detector.d.ts.map +0 -1
- package/dist/approval-detector.js +0 -174
- package/dist/approval-detector.js.map +0 -1
- package/dist/appsync-client.d.ts +0 -69
- package/dist/appsync-client.d.ts.map +0 -1
- package/dist/appsync-client.js +0 -937
- package/dist/appsync-client.js.map +0 -1
- package/dist/auth-cli.d.ts +0 -11
- package/dist/auth-cli.d.ts.map +0 -1
- package/dist/auth-cli.js +0 -241
- package/dist/auth-cli.js.map +0 -1
- package/dist/config.d.ts +0 -29
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -116
- package/dist/config.js.map +0 -1
- package/dist/crypto-service.d.ts +0 -115
- package/dist/crypto-service.d.ts.map +0 -1
- package/dist/crypto-service.js +0 -278
- package/dist/crypto-service.js.map +0 -1
- package/dist/event-mapper.d.ts +0 -39
- package/dist/event-mapper.d.ts.map +0 -1
- package/dist/event-mapper.js +0 -302
- package/dist/event-mapper.js.map +0 -1
- package/dist/key-manager.d.ts +0 -87
- package/dist/key-manager.d.ts.map +0 -1
- package/dist/key-manager.js +0 -287
- package/dist/key-manager.js.map +0 -1
- package/dist/logger.d.ts +0 -2
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js +0 -18
- package/dist/logger.js.map +0 -1
- package/dist/prompt-parser.d.ts +0 -3
- package/dist/prompt-parser.d.ts.map +0 -1
- package/dist/prompt-parser.js +0 -8
- package/dist/prompt-parser.js.map +0 -1
- package/dist/prompt-responder.d.ts +0 -18
- package/dist/prompt-responder.d.ts.map +0 -1
- package/dist/prompt-responder.js +0 -78
- package/dist/prompt-responder.js.map +0 -1
- package/dist/server.d.ts +0 -8
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js.map +0 -1
- package/dist/session-id-cache.d.ts +0 -16
- package/dist/session-id-cache.d.ts.map +0 -1
- package/dist/session-id-cache.js +0 -90
- package/dist/session-id-cache.js.map +0 -1
- package/dist/session-log-watcher.d.ts +0 -61
- package/dist/session-log-watcher.d.ts.map +0 -1
- package/dist/session-log-watcher.js +0 -372
- package/dist/session-log-watcher.js.map +0 -1
- package/dist/tmux-pane-observer.d.ts +0 -39
- package/dist/tmux-pane-observer.d.ts.map +0 -1
- package/dist/tmux-pane-observer.js +0 -255
- package/dist/tmux-pane-observer.js.map +0 -1
- package/dist/token-storage.d.ts +0 -39
- package/dist/token-storage.d.ts.map +0 -1
- package/dist/token-storage.js +0 -169
- package/dist/token-storage.js.map +0 -1
- package/dist/types.d.ts +0 -158
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -17
- package/dist/types.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,155 +1,108 @@
|
|
|
1
|
-
# CodeVibe Codex
|
|
1
|
+
# CodeVibe for OpenAI Codex CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Control OpenAI Codex CLI from your iPhone and Android.** See your agent's work, approve file edits, dictate prompts by voice โ all from your phone, anywhere you are.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
๐ **[quantiya.ai/codevibe](https://quantiya.ai/codevibe)** โ landing page, demo video, and one-liner installer
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
๐ฑ **[Download on the App Store](https://apps.apple.com/app/id6756500217)** ยท **[Get it on Google Play](https://play.google.com/store/apps/details?id=ai.quantiya.app.codevibe)**
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- [Claude Plugin](https://github.com/hendryyeh/quantiya-codevibe-claude-plugin) - For Claude Code
|
|
11
|
-
- [Gemini Plugin](https://github.com/hendryyeh/quantiya-codevibe-gemini-plugin) - For Gemini CLI
|
|
12
|
-
- **Codex Plugin** (this repo) - For OpenAI Codex CLI
|
|
13
|
-
|
|
14
|
-
## Quick Start
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install -g @quantiya/codevibe-codex-plugin
|
|
18
|
-
codevibe-codex login # authenticate with CodeVibe backend
|
|
19
|
-
codevibe-codex # start Codex with mobile sync
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Features
|
|
23
|
-
|
|
24
|
-
| Feature | Supported |
|
|
25
|
-
|---------|-----------|
|
|
26
|
-
| User prompts | Yes |
|
|
27
|
-
| Assistant responses | Yes |
|
|
28
|
-
| Agent reasoning/thinking | Yes |
|
|
29
|
-
| Shell commands | Yes |
|
|
30
|
-
| File edits (patches) | Yes |
|
|
31
|
-
| Tool outputs | Yes |
|
|
32
|
-
| Image attachments | Yes |
|
|
33
|
-
| Approval prompts | Yes (via tmux pane detection) |
|
|
34
|
-
| File diff preview | Yes |
|
|
35
|
-
|
|
36
|
-
### What gets synced
|
|
37
|
-
|
|
38
|
-
- **Desktop โ Mobile:** user prompts, assistant responses, shell commands, tool/file edits, approval prompts, images, logs
|
|
39
|
-
- **Mobile โ Desktop:** text prompts and approval responses sent from iOS app into the active Codex session (via tmux)
|
|
9
|
+
---
|
|
40
10
|
|
|
41
|
-
##
|
|
11
|
+
## Why CodeVibe for Codex CLI
|
|
42
12
|
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
13
|
+
- **๐ Real-time sync** โ every prompt, response, shell command, and file patch shows up on your phone in 100โ500ms
|
|
14
|
+
- **โ
Approve from anywhere** โ review full file diffs and approve or reject file edits from your phone
|
|
15
|
+
- **๐ง Reasoning visibility** โ see Codex's thinking/reasoning alongside its output
|
|
16
|
+
- **๐๏ธ Voice prompts** โ dictate your next prompt with speech-to-text
|
|
17
|
+
- **๐ท Image attachments** โ send screenshots and photos; downloaded locally for Codex to reference
|
|
18
|
+
- **๐ Push notifications** โ get notified when your agent needs input
|
|
19
|
+
- **๐ End-to-end encrypted** โ AES-256-GCM with ECDH key exchange
|
|
20
|
+
- **๐ Locked screen support** โ works even when your computer screen is locked (via tmux)
|
|
21
|
+
- **๐ง Multi-agent ready** โ Codex sessions appear alongside Claude and Gemini sessions in the same app
|
|
48
22
|
|
|
49
|
-
##
|
|
23
|
+
## Install in 30 seconds
|
|
50
24
|
|
|
51
25
|
```bash
|
|
52
|
-
|
|
26
|
+
curl -fsSL https://quantiya.ai/codevibe/install.sh | bash
|
|
53
27
|
```
|
|
54
28
|
|
|
55
|
-
|
|
29
|
+
Download the **[iOS app](https://apps.apple.com/app/id6756500217)** or **[Android app](https://play.google.com/store/apps/details?id=ai.quantiya.app.codevibe)**, sign in with the same Apple or Google account, and run:
|
|
56
30
|
|
|
57
31
|
```bash
|
|
58
|
-
|
|
59
|
-
cd codevibe-codex-plugin
|
|
60
|
-
npm install
|
|
61
|
-
npm run build
|
|
32
|
+
codevibe-codex
|
|
62
33
|
```
|
|
63
34
|
|
|
64
|
-
|
|
35
|
+
Your session appears on your phone automatically.
|
|
65
36
|
|
|
66
|
-
|
|
37
|
+
### Manual install
|
|
67
38
|
|
|
68
39
|
```bash
|
|
69
|
-
|
|
40
|
+
npm install -g @quantiya/codevibe
|
|
41
|
+
codevibe login
|
|
70
42
|
codevibe-codex
|
|
71
|
-
|
|
72
|
-
# Start with an initial prompt
|
|
73
|
-
codevibe-codex "fix the bug in auth.ts"
|
|
74
43
|
```
|
|
75
44
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
codevibe-codex login # Authenticate with CodeVibe backend
|
|
80
|
-
codevibe-codex status # Check authentication status
|
|
81
|
-
codevibe-codex logout # Sign out
|
|
82
|
-
codevibe-codex # Start Codex with mobile sync
|
|
83
|
-
```
|
|
45
|
+
## Requirements
|
|
84
46
|
|
|
85
|
-
|
|
47
|
+
- **macOS, Linux, or WSL Ubuntu** โ Windows without WSL is not supported
|
|
48
|
+
- **Node.js** 18.0.0+
|
|
49
|
+
- **tmux** โ `brew install tmux` on macOS, `apt install tmux` on Linux/WSL
|
|
50
|
+
- **Codex CLI** installed and authenticated
|
|
86
51
|
|
|
87
|
-
|
|
88
|
-
2. **Real-time Sync** - Parses log entries and syncs to AWS AppSync backend
|
|
89
|
-
3. **Mobile Display** - iOS app receives events via WebSocket subscription
|
|
90
|
-
4. **Mobile Input** - Messages from iOS are sent to terminal via tmux
|
|
52
|
+
## How it works
|
|
91
53
|
|
|
92
|
-
|
|
54
|
+
Codex CLI writes session logs to `~/.codex/sessions/` as JSONL files. CodeVibe watches those files with chokidar, parses every log entry, and streams it through E2E-encrypted AWS AppSync to your phone.
|
|
93
55
|
|
|
94
|
-
|
|
56
|
+
Approval prompts (Codex's interactive Y/N confirmations) aren't in the JSONL log, so CodeVibe observes the live tmux pane to detect them โ you get real prompts with real options, and your mobile approve/reject is sent back via `tmux send-keys`.
|
|
95
57
|
|
|
96
|
-
|
|
97
|
-
Desktop โ Mobile:
|
|
98
|
-
Codex CLI โ Session JSONL โ Plugin โ AppSync โ iOS App
|
|
58
|
+
Each live Codex process appears as its own session on your phone, so you can run multiple concurrent Codex sessions side-by-side with Claude and Gemini.
|
|
99
59
|
|
|
100
|
-
|
|
101
|
-
iOS App โ AppSync โ Plugin โ tmux send-keys โ Codex CLI
|
|
102
|
-
```
|
|
60
|
+
## What gets synced
|
|
103
61
|
|
|
104
|
-
|
|
62
|
+
| Direction | What |
|
|
63
|
+
|---|---|
|
|
64
|
+
| **Desktop โ Mobile** | User prompts, assistant responses, agent reasoning, shell commands, file edits (apply_patch), tool outputs, approval prompts, images |
|
|
65
|
+
| **Mobile โ Desktop** | Text prompts and approval responses executed via tmux |
|
|
105
66
|
|
|
106
|
-
|
|
67
|
+
## CLI commands
|
|
107
68
|
|
|
108
69
|
```bash
|
|
109
|
-
#
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
#
|
|
114
|
-
COGNITO_USER_POOL_ID=us-east-1_xxx
|
|
115
|
-
COGNITO_CLIENT_ID=xxx
|
|
116
|
-
COGNITO_DOMAIN=xxx.auth.us-east-1.amazoncognito.com
|
|
70
|
+
codevibe-codex # Start Codex with mobile sync
|
|
71
|
+
codevibe-codex "fix bug" # Start with an initial prompt
|
|
72
|
+
codevibe-codex login # Authenticate via browser OAuth
|
|
73
|
+
codevibe-codex status # Check auth status
|
|
74
|
+
codevibe-codex logout # Sign out
|
|
117
75
|
```
|
|
118
76
|
|
|
119
77
|
## Troubleshooting
|
|
120
78
|
|
|
121
|
-
### Session not appearing in iOS app
|
|
122
|
-
|
|
123
79
|
```bash
|
|
124
|
-
# Check
|
|
125
|
-
ls -la ~/.codex/sessions/$(date +%Y)/$(date +%m)/$(date +%d)/
|
|
126
|
-
|
|
127
|
-
# Check plugin logs
|
|
80
|
+
# Check server logs
|
|
128
81
|
tail -f /tmp/codevibe-codex-mcp.log
|
|
129
|
-
```
|
|
130
82
|
|
|
131
|
-
|
|
83
|
+
# Verify session logs exist
|
|
84
|
+
ls -la ~/.codex/sessions/$(date +%Y)/$(date +%m)/$(date +%d)/
|
|
132
85
|
|
|
133
|
-
|
|
134
|
-
# Verify tmux session exists
|
|
86
|
+
# Verify tmux session
|
|
135
87
|
tmux list-sessions | grep codevibe-codex
|
|
88
|
+
|
|
89
|
+
# Reinstall if needed
|
|
90
|
+
codevibe update
|
|
136
91
|
```
|
|
137
92
|
|
|
138
|
-
##
|
|
93
|
+
## Support
|
|
139
94
|
|
|
140
|
-
- **
|
|
141
|
-
-
|
|
95
|
+
- **Email:** support@quantiya.ai
|
|
96
|
+
- **Landing page:** [quantiya.ai/codevibe](https://quantiya.ai/codevibe)
|
|
97
|
+
- **Privacy policy:** [quantiya.ai/privacy](https://quantiya.ai/privacy)
|
|
142
98
|
|
|
143
|
-
##
|
|
99
|
+
## Part of the CodeVibe family
|
|
144
100
|
|
|
145
|
-
- **
|
|
146
|
-
- [
|
|
147
|
-
- [
|
|
101
|
+
- **[@quantiya/codevibe](https://www.npmjs.com/package/@quantiya/codevibe)** โ meta-package (install this, not this plugin directly)
|
|
102
|
+
- **[@quantiya/codevibe-core](https://www.npmjs.com/package/@quantiya/codevibe-core)** โ shared library used by all plugins
|
|
103
|
+
- **[@quantiya/codevibe-claude-plugin](https://www.npmjs.com/package/@quantiya/codevibe-claude-plugin)** โ Claude Code support
|
|
104
|
+
- **[@quantiya/codevibe-gemini-plugin](https://www.npmjs.com/package/@quantiya/codevibe-gemini-plugin)** โ Gemini CLI support
|
|
148
105
|
|
|
149
106
|
## License
|
|
150
107
|
|
|
151
108
|
MIT
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
**Maintained by:** CodeVibe Team
|