Commit Graph
16 Commits
Author SHA1 Message Date
Federico Jaramillo Martinez d17050e144 feat: add image attachments to the chat composer
Support pasting (Ctrl/Cmd+V), drag-and-drop, and an Attach button to add
PNG/JPEG/GIF/WebP images to a message, with thumbnail previews and
multi-image support.

Attachments are delivered to the session using pi's native ImageContent
format and are run through pi's own resizeImage so they match pi's inline
image limits exactly. Image content now renders inline in the transcript.

A per-message delivery toggle also lets users save attachments into the
workspace `.pi-web/paste` folder and reference them so the agent reads
them with its own tools.

The accepted HTTP upload size is configurable via PI_WEB_MAX_UPLOAD_BYTES
or the maxUploadBytes config value (default 64 MB).

Closes #13
2026-06-13 13:49:39 +02:00
Federico Jaramillo Martinez 9665031ba4 Add node shebangs to server bins 2026-05-09 22:52:28 +02:00
Federico Jaramillo Martinez 5b339e192d Add config file support and update default ports 2026-05-08 16:54:39 +02:00
Federico Jaramillo Martinez a698e7ce2f Extract composable Fastify app builder 2026-05-08 16:08:40 +02:00
Federico Jaramillo Martinez a647f255a2 Add workspace terminal panel 2026-05-08 15:58:02 +02:00
Federico Jaramillo Martinez 99f434a259 Add project closing action menu 2026-05-08 15:03:38 +02:00
Federico Jaramillo Martinez 2c7559c61c Improve project folder creation 2026-05-08 14:38:12 +02:00
Federico Jaramillo Martinez ba8f74bee2 Add workspace side panel with files and git 2026-05-07 23:27:38 +02:00
Federico Jaramillo Martinez 34994705e4 Align web at-space completion with TUI 2026-05-07 23:27:09 +02:00
Federico Jaramillo Martinez eb59f1eb00 Add paged chat history loading 2026-05-07 15:46:08 +02:00
Federico Jaramillo Martinez 2ffff85313 Split session daemon from web server 2026-05-07 13:12:48 +02:00
Federico Jaramillo Martinez fa55723246 Rename session close to stop 2026-05-07 13:05:32 +02:00
Federico Jaramillo Martinez ad05497319 Improve session reconnect behavior 2026-05-07 13:00:10 +02:00
Federico Jaramillo Martinez 8c825c7384 Add web command execution 2026-05-07 12:20:26 +02:00
Federico Jaramillo Martinez bb93c0fef1 Add prompt autocomplete and session status 2026-05-07 12:05:28 +02:00
Federico Jaramillo Martinez adf9087e84 Add pi web POC 2026-05-07 11:12:23 +02:00