feat: show short paths and generated images in the chat

A file tool's row keeps only the part of the path under the session's
directory (lib/screens/chat_screen.dart instead of the whole absolute
path), as the first-party client does, so a phone still shows the file
name; the diff card's file headings drop the same prefix.

A finished openchamber_image call is lifted out of the folded run and
drawn as the picture it saved, in place, as ShownToolCard does through
GeneratedImages: tap opens the full-screen preview, and the card and
preview share an in-memory cache of the bytes.

0.4.13 (413).
This commit is contained in:
blumia committed 2026-11-24 01:05:00 +08:00
1 parent 5c0ea6f6f4
commit 809e0a747a
7 files changed
+353 -25

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ name: openchamber
description: "A lightweight OpenChamber client for phones."
publish_to: 'none'
version: 0.4.12+412
version: 0.4.13+413
environment:
sdk: ^3.14.0