You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28b3722
Browse filesBrowse the repository at this point in the historyBrowse files
feat(chat): copy generated images out of the conversation
Images an agent embeds in a reply render as plain <img> elements, so they
never got Obsidian's own image menu and there was no way to get the picture
out of the chat. Right-clicking one now offers "Copy image", which writes the
bitmap to the system clipboard so it can be pasted into any application or
another note.
PNG/JPEG go through Electron's nativeImage + clipboard.writeImage, matching
Obsidian's Live Preview behavior; other formats fall back to the async
Clipboard API. The embed's HTML now carries its vault path so the menu can
resolve the file, and the copy reports success or failure in a notice.
Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
Copy file name to clipboardExpand all lines: src/i18n/locales/de.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Sitzung schließen"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Bild kopieren",
73
+
"copied": "Bild in die Zwischenablage kopiert",
74
+
"copyFailed": "Bild konnte nicht kopiert werden"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "Zu diesem Punkt zurückspulen? Dateiänderungen nach dieser Nachricht werden rückgängig gemacht. Das Zurückspulen betrifft keine manuell oder über Bash bearbeiteten Dateien.",
73
78
"confirmMessageConversationOnly": "Konversation zu diesem Punkt zurückspulen? Dateiänderungen bleiben erhalten.",
Copy file name to clipboardExpand all lines: src/i18n/locales/en.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Close session"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Copy image",
73
+
"copied": "Image copied to clipboard",
74
+
"copyFailed": "Failed to copy image"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "Rewind to this point? File changes after this message will be reverted. Rewinding does not affect files edited manually or via bash.",
73
78
"confirmMessageConversationOnly": "Rewind conversation to this point? File changes will be kept.",
Copy file name to clipboardExpand all lines: src/i18n/locales/es.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Cerrar sesión"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Copiar imagen",
73
+
"copied": "Imagen copiada al portapapeles",
74
+
"copyFailed": "No se pudo copiar la imagen"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "¿Rebobinar a este punto? Los cambios de archivos después de este mensaje serán revertidos. El rebobinado no afecta archivos editados manualmente o mediante bash.",
73
78
"confirmMessageConversationOnly": "¿Rebobinar la conversación hasta este punto? Se conservarán los cambios de archivos.",
Copy file name to clipboardExpand all lines: src/i18n/locales/fr.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Fermer la session"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Copier l'image",
73
+
"copied": "Image copiée dans le presse-papiers",
74
+
"copyFailed": "Échec de la copie de l'image"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "Rembobiner jusqu'à ce point ? Les modifications de fichiers après ce message seront annulées. Le rembobinage n'affecte pas les fichiers modifiés manuellement ou via bash.",
73
78
"confirmMessageConversationOnly": "Rembobiner la conversation jusqu'à ce point ? Les modifications de fichiers seront conservées.",
Copy file name to clipboardExpand all lines: src/i18n/locales/pt.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Fechar sessão"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Copiar imagem",
73
+
"copied": "Imagem copiada para a área de transferência",
74
+
"copyFailed": "Falha ao copiar a imagem"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "Retroceder até este ponto? As alterações de arquivos após esta mensagem serão revertidas. O retrocesso não afeta arquivos editados manualmente ou via bash.",
73
78
"confirmMessageConversationOnly": "Retroceder a conversa até este ponto? As alterações de arquivos serão mantidas.",
Copy file name to clipboardExpand all lines: src/i18n/locales/ru.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,11 @@
68
68
"closeSession": "Закрыть сессию"
69
69
},
70
70
"chat": {
71
+
"imageEmbed": {
72
+
"copyImage": "Копировать изображение",
73
+
"copied": "Изображение скопировано в буфер обмена",
74
+
"copyFailed": "Не удалось скопировать изображение"
75
+
},
71
76
"rewind": {
72
77
"confirmMessage": "Откатить до этой точки? Изменения файлов после этого сообщения будут отменены. Откат не затрагивает файлы, отредактированные вручную или через bash.",
73
78
"confirmMessageConversationOnly": "Откатить разговор до этой точки? Изменения файлов будут сохранены.",
0 commit comments