[Feedback]: Persist pasted chat images to disk so the agent can read them as files
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 45/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- desktop
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Shell
- Étoiles
- 89
- Forks
- 7
- Merge moyen
- 2 h 46 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CommandCodeAI/desktop
-
[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controlsPeut-être pris @aliarain l’a pris il y a 7 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
CommandCodeAI/desktop#125 · 1 commentaire · 1 personne assignée ·
-
[Feedback]: add copy block under a code blockPeut-être pris @aliarain l’a pris il y a 12 jours. Ouverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
CommandCodeAI/desktop#94 · 1 personne assignée ·
-
[Feedback]: Add Expand & Collapse for changesPeut-être pris @aliarain l’a pris il y a 12 jours. Ouverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
CommandCodeAI/desktop#66 · 1 commentaire · 2 réactions · 1 personne assignée ·
-
bug
Difficulté 3/5 Une demi-journée Accessibilité débutants 65/100
CommandCodeAI/desktop#136 ·
-
[Bug]: Updates don't install.Ouvertebug
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
CommandCodeAI/desktop#135 ·
Toutes les issues de CommandCodeAI/desktop
Issues similaires
-
Remove `git-lfs`Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
jenkins-infra/packer-images#3114 ·
Les mainteneurs répondent en général sous 1 jour
-
[bug] Setup fails with "Cannot find matching keyid" when an older Node's corepack is on PATHPeut-être pris @EyalPoly l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
idean3885/claude-ops-agent#633 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
void-linux/void-runit#141 ·
-
Missing icon: BudsLinkOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100