@quantiya/codevibe-codex-plugin 1.0.12 → 1.0.13
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-codex +14 -3
- package/package.json +1 -1
package/bin/codevibe-codex
CHANGED
|
@@ -173,11 +173,22 @@ tmux new-session -d -s "$SESSION_NAME" -x "$(tput cols)" -y "$(tput lines)" \
|
|
|
173
173
|
# Enable mouse support for scrolling
|
|
174
174
|
tmux set-option -t "$SESSION_NAME" -g mouse on
|
|
175
175
|
|
|
176
|
-
# Enable copy/paste with system clipboard
|
|
176
|
+
# Enable copy/paste with system clipboard
|
|
177
177
|
tmux set-option -t "$SESSION_NAME" set-clipboard on
|
|
178
178
|
tmux set-window-option -t "$SESSION_NAME" mode-keys vi
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
if command -v pbcopy >/dev/null 2>&1; then
|
|
180
|
+
CLIP_CMD="pbcopy"
|
|
181
|
+
elif grep -qi microsoft /proc/sys/kernel/osrelease 2>/dev/null && command -v clip.exe >/dev/null 2>&1; then
|
|
182
|
+
CLIP_CMD="clip.exe"
|
|
183
|
+
elif command -v wl-copy >/dev/null 2>&1; then
|
|
184
|
+
CLIP_CMD="wl-copy"
|
|
185
|
+
elif command -v xclip >/dev/null 2>&1; then
|
|
186
|
+
CLIP_CMD="xclip -selection clipboard"
|
|
187
|
+
fi
|
|
188
|
+
if [ -n "${CLIP_CMD:-}" ]; then
|
|
189
|
+
tmux bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "$CLIP_CMD"
|
|
190
|
+
tmux bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "$CLIP_CMD"
|
|
191
|
+
fi
|
|
181
192
|
|
|
182
193
|
# Store session mapping for mobile prompts
|
|
183
194
|
echo "$SESSION_NAME" > "${CODEVIBE_TMPDIR}/codevibe-codex-tmux-session-$$"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantiya/codevibe-codex-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Control OpenAI Codex CLI 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": {
|