Commit 019972c
committed
multi: Add session-scoped attachment upload flow
Add an attachment upload pipeline that streams photo/file data from iOS
to the paired terminal session over RPC, avoiding server-side message
persistence for binary payloads.
Implement begin/chunk/commit/cancel handlers in the CLI session manager,
with size limits and temp-file cleanup, and wire iOS composer UI controls
for photo/files pickers, attachment chips, and send gating for ready
attachments.
Fix attachment RPC decoding to support wrapped result payloads so upload
begin/chunk/commit responses are interpreted correctly.1 parent bdf9983 commit 019972c
7 files changed
Lines changed: 1292 additions & 76 deletions
File tree
- cli/internal/session
- ios/DelightApp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| 115 | + | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| |||
0 commit comments