Commit Graph

8 Commits

Author SHA1 Message Date
zenord 6b506b8c55 feat: send workspace images to QQ chats
Worker results may report image attachments stored inside the workspace;
the runtime validates them (containment, png/jpg magic, size) and
delivers them with the pending event. Assistants gain a send_image
action so users can ask for an image later. QQ uploads via /files with
base64 file_data and sends msg_type 7 rich media, sharing the same
msg_id/msg_seq counter as text replies; non-image adapters flatten
images to text.
2026-08-19 14:39:18 +08:00
zenord 7aa610294c feat: pending-finish proposals and QQ image input
Proposal semantics: worker results no longer distinguish success/fail;
only an explicit finish settles a pending proposal. Pending owner input
follows up by resuming the original worker session. Dirty pending blocks
start_next globally; clean pending only blocks its owner.

QQ adapter now downloads image attachments and passes them as ACP image
content blocks; video/file attachments degrade to link text.
2026-08-19 13:36:23 +08:00
zenord ffedf616e3 fix: use passive QQ event replies 2026-08-18 22:20:55 +08:00
zenord 4af5049605 fix: scope proposals to chat users 2026-08-18 20:58:08 +08:00
zenord 680a449cd8 feat: delay long-running task notices 2026-08-17 15:35:18 +08:00
zenord 2795567f8c feat: expose bot task progress 2026-08-17 14:37:51 +08:00
zenord f9fb4ef776 Refactor runtime around isolated bot instances 2026-08-16 23:45:09 +08:00
zenord a80fe68d57 Add ACP-backed role sessions 2026-08-16 10:08:03 +08:00