@quantiya/codevibe-gemini-plugin 1.0.11 → 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.
@@ -222,11 +222,22 @@ tmux new-session -d -s "$SESSION_NAME" -x "$(tput cols)" -y "$(tput lines)" \
222
222
  # Enable mouse support for scrolling
223
223
  tmux set-option -t "$SESSION_NAME" -g mouse on
224
224
 
225
- # Enable copy/paste with system clipboard (macOS)
225
+ # Enable copy/paste with system clipboard (macOS: pbcopy, WSL: clip.exe, Linux: xclip)
226
226
  tmux set-option -t "$SESSION_NAME" set-clipboard on
227
227
  tmux set-window-option -t "$SESSION_NAME" mode-keys vi
228
- tmux bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
229
- tmux bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
228
+ if command -v pbcopy >/dev/null 2>&1; then
229
+ CLIP_CMD="pbcopy"
230
+ elif grep -qi microsoft /proc/sys/kernel/osrelease 2>/dev/null && command -v clip.exe >/dev/null 2>&1; then
231
+ CLIP_CMD="clip.exe"
232
+ elif command -v wl-copy >/dev/null 2>&1; then
233
+ CLIP_CMD="wl-copy"
234
+ elif command -v xclip >/dev/null 2>&1; then
235
+ CLIP_CMD="xclip -selection clipboard"
236
+ fi
237
+ if [ -n "${CLIP_CMD:-}" ]; then
238
+ tmux bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "$CLIP_CMD"
239
+ tmux bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "$CLIP_CMD"
240
+ fi
230
241
 
231
242
  # Store session mapping for mobile prompts
232
243
  echo "$SESSION_NAME" > "${CODEVIBE_TMPDIR}/codevibe-gemini-tmux-session-$$"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-gemini-plugin",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Control Gemini 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": {
@@ -48,7 +48,7 @@
48
48
  "node": ">=18.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@quantiya/codevibe-core": "^1.0.10",
51
+ "@quantiya/codevibe-core": "^1.0.11",
52
52
  "chokidar": "^5.0.0",
53
53
  "dotenv": "^16.6.1",
54
54
  "express": "^5.1.0",