CommandCodeAI / CommandCodeAI/command-code
Image clipboard pasting fails on Kali Linux/X11 vm on MAC OS 26.5 (Works on Windows)
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 4k
- Forks
- 350
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Summary
The Linux version of the tool seems to be missing OS-level clipboard interception for binary images.
Expected Behavior
When using Command Code on a Windows host, the CLI running inside the kali vm natively intercepts the clipboard image data, silently saves it to a temporary directory, and successfully pastes the resulting file path into the prompt.
Actual Behavior
- When running Command Code inside a Linux vm on a macbook, pasting an image directly from the system clipboard into the CLI prompt fails.
- The terminal does not register the image data, and no file path is generated.
Steps to reproduce the issue
-
Run Command Code CLI in a Kali Linux (X11) terminal vm.
-
Copy an image to the host(mac os) system clipboard.
-
Paste the image directly into the CLI prompt inside the kali linux vm ran by VMware fusion pro hypervisor.
Command Code Version
0.30.1
Operating System
macOS
Terminal/IDE
Kali Linux Terminal (X11).
Shell
zsh
Additional context
Host OS: macOS (Apple Silicon M4).
Hypervisor: VMware Fusion Pro.
I have confirmed that the VMware host-to-guest clipboard bridge is functioning correctly.
When pasting the exact same copied image into a different AI CLI tool (Antigravity CLI) running in the same Kali terminal pane, the image pastes perfectly.
If I manually run an xclip command to rip the image from the clipboard, save it to /tmp/, and pipe that text file path back to my clipboard, Command Code accepts the text path without issue.
Could you look into adding a native fallback for Linux (perhaps leveraging xclip or wl-clipboard under the hood) to intercept image payloads and convert them to temp file paths, bringing it to feature parity with the Windows experience?.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece pelo tratamento de colagem do prompt da CLI e reproduza a falha em uma VM Kali Linux X11 com uma imagem da área de transferência do macOS. Compare o comportamento existente de colagem de imagens do Windows com o tratamento da área de transferência do Linux e, em seguida, verifique se um payload de imagem se torna um caminho de arquivo temporário no prompt usando o fallback de xclip ou wl-clipboard descrito na issue.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- linux, macos, zsh
- Domínio
- cli, operating-systems
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100