[Feedback]: Persist pasted chat images to disk so the agent can read them as files
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- desktop
Línea de trabajo
Start by locating the chat composer’s paste or attachment handling; the issue does not name a source file, test, or entry point. Done means pasted images are stored in a predictable per-session location, that path is surfaced to the session, and the agent can later read or process the image during the same conversation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What problem are you trying to solve?
When an image is pasted into the chat composer, it reaches the model as vision input but is never written to disk. The agent's own tools (read_file, shell, etc.) therefore have no path to it, so within the same session the agent cannot reference, embed, move, or post-process the image. If the user says "add this image to this file/note", the agent has nothing to read, and after the fact the paste is unrecoverable.
I confirmed the paste is not persisted anywhere: ~/Library/Application Support/Command Code/ (app-state.json, Local Storage, Session Storage, blob_storage, thread-index.db*) and the OS temp dir contain no trace of it — the only stored image is the 128x128 account avatar. No clipboard temp file is created for it either.
What would improve it?
Write pasted/attached images to a predictable on-disk location at paste time (e.g. a per-session scratch/temp directory), and surface that path to the session so the agent's tools can read it — either as an attachment API/tool or by injecting the path into the user message. Keeping the files for the life of the session would let an image be referenced later in the same conversation.
What do you do today?
Take a macOS screenshot (saved to ~/Pictures/Screenshots/) and tell the agent to read that file path instead of pasting into the composer.
- Lenguaje dominante
- Shell
- Estrellas
- 89
- Forks
- 7
- Merge medio
- 2 h 46 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CommandCodeAI/desktop
-
[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controlsPosiblemente ocupada @aliarain la tomó hace 7 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
CommandCodeAI/desktop#125 · 1 comentario · 1 asignado ·
-
[Feedback]: add copy block under a code blockPosiblemente ocupada @aliarain la tomó hace 12 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/desktop#94 · 1 asignado ·
-
[Feedback]: Add Expand & Collapse for changesPosiblemente ocupada @aliarain la tomó hace 12 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CommandCodeAI/desktop#66 · 1 comentario · 2 reacciones · 1 asignado ·
-
bug
Dificultad 3/5 Medio día Aptitud para principiantes 65/100
CommandCodeAI/desktop#136 ·
-
[Bug]: Updates don't install.Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
CommandCodeAI/desktop#135 ·
Todos los issues de CommandCodeAI/desktop
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area:kubernetes area:site priority:high source:automated type:content-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
stephrobert/blog-roadmap#58 ·
-
Installer: install_sudoers_file schreibt nicht atomar und löscht bei Fehler eine gültige RegelAbiertoenhancement severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nushell/nushell#19176 · 2 comentarios ·
Los mantenedores suelen responder en 1 día