forked from vhaudiquet/rhema-claw
feat(android): attach photos and camera shots
The (+) door stages gallery picks and camera shots as removable
chips against the daemon's own budget (eight a message, 5 MiB
decoded each, refusals surfaced, never silent drops); send reads
the files back as bare base64, the old {"text"} body unchanged
when there are none. Sent rows preview their staged files at once
and a replay fetches by attachment id like any attachment card.
Model options carry the vision badge only when the listing knows.
This commit is contained in:
1 parent
6efb69331d
commit
43d4c86d5e
8 files changed
+605
-22
No files matched your search
@@ -39,6 +39,17 @@
|
||||
<string name="chat_attachment_open">Open</string>
|
||||
<string name="chat_attachment_open_failed">No app on this phone opens this file type.</string>
|
||||
<string name="chat_attachment_failed">Download failed: %1$s</string>
|
||||
<string name="chat_attach">Attach images</string>
|
||||
<string name="chat_attach_gallery">Gallery</string>
|
||||
<string name="chat_attach_camera">Camera</string>
|
||||
<string name="chat_camera_shot_name">camera shot.jpg</string>
|
||||
<string name="chat_image_drop">Drop %1$s</string>
|
||||
<string name="chat_image_dismiss">Dismiss</string>
|
||||
<string name="chat_image_too_many">%1$s: at most %2$d images a message</string>
|
||||
<string name="chat_image_too_large">%1$s: over the 5 MiB decoded budget</string>
|
||||
<string name="chat_image_bad_type">%1$s: not a png, jpeg, gif, or webp image</string>
|
||||
<string name="chat_image_read_failed">%1$s: could not be read</string>
|
||||
<string name="chat_sent_image">Attached image</string>
|
||||
<string name="consent_secret_hint">The secret the agent asked for</string>
|
||||
<string name="consent_submit">Send secret</string>
|
||||
<string name="consent_approve">Approve</string>
|
||||
@@ -148,5 +159,10 @@
|
||||
<string name="sessions_group_other">Other keys</string>
|
||||
|
||||
<string name="chat_agent">rhema</string>
|
||||
|
||||
<!-- The model listing's vision verdict, suffixed onto the model id;
|
||||
absent means unknown, so there is no third string. -->
|
||||
<string name="vision_badge">" ◉ vision"</string>
|
||||
<string name="vision_badge_absent">" no vision"</string>
|
||||
</resources>
|
||||
|
||||
Reference in new issue
Block a user