Repository navigation
Conversation
Generated-by: Maka
Generated-by: Maka
me2seeks
force-pushed
the
feat/ios-chat-liquid-glass
branch
from
November 28, 2026 02:22
20536b2 to
40e0043
Compare
me2seeks
force-pushed
the
feat/ios-chat-attachments
branch
from
November 28, 2026 02:23
71e138b to
153b5f7
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #7383 (
feat/ios-chat-liquid-glass, 2 clean commits separating transport and iOS UI).feat(remote-client): support binary ReadResource streaming(42bb6f250c):platform/remote-clientReadResourceto carry both UTF-8 and raw binary payloads ({encoding: "bytes", resource: {name: "maka.bytes", version: 1}, length, metadata: {}}) streamed in <= 64 KiB chunks afterReady(with 0-byte resources emitting no chunks), while preserving existing UTF-8 credential chunking and character-boundary guarantees.feat(ios): support photo and file attachments in chat(71e138bd09):src/attachments.rs,src/bridge.rs,src/lib.rs): Enablescaps.picker = true(using iOS out-of-processPHPickerViewControllerandUIDocumentPickerViewController, zero photo/file permission prompts), adds a narrow VM-scopedblob_bytes()helper in NSH (documented inthird-party/nsh/SOURCE.md, noupstream.jsonchange) so arbitrary binary files are read directly from native shared bytes without copying into JS or hashing image cache keys on the VM thread, computes full SHA-256 on a background thread, and bindsiosAttachments.upload/cancelviaRegistry::valuescoped toagent.uploadAttachment.PickedBlobmemory; once confirm begins, preserves the original operation reference and reconciles independently on reconnect (not starved behind stalled journal reads) with bounded 5s failure/timeout ->unconfirmedand zero duplicate re-uploads.app/state/attachments.ts,app/screens/chats/AttachmentStrip.tsx,app/state/chat.ts,ChatScreen.tsx):agent.sendwithout emittingbackend/expectedRunIdkeys), and forked Side Questions; leaves unforked Side Drafts without an attachment entry.maxDimension: 2048+format: "compatible"for photos (re-checked after processing), and per-filetooLargehandling.+menu (Photo Library/Choose Files) + single-rowAttachmentStripabove the input (solid chips, no glass-on-content); compact landscape integrates pickers & scrollable attachment management sheet intochat-composer-actions. Preserves software keyboard Return newlines alongside⌘↩/ Send gating.groupHistoryTurnsso attachment-only messages aren't dropped from history, and renders read-onlyHistoryAttachmentschips inUserBubbleand non-deletedRoomTranscriptItem.Verification
maka-remote-client: 12 passed (8 unit covering 0 / 65,536 / 65,537 B binary framing and cross-chunk UTF-8 credentials + 4 integration including mid-upload cancel releasing Host budget).maka-ios-shell: 120 passed (18 lib including receipt stream disconnect/timeout/cancel, independent reconnect recovery ahead of 3 stalled journal receipts, and pre-confirm cancel on leave; 98 behavior including real Hostagentowner Room E2E upload of PNG + 65,537 B binary file verifying exact bytes/length/SHA-256, pure-attachment history, gating, retry reusing original IDs, and cross-root isolation; 4 language).blob_bytesregression (16 MiB, cross-VM rejection, post-revoke retention): passed.aarch64-apple-ios --lockedcheck,tsc --noEmit, ASF license headers, Rust dependencies, migration lock, 12-locale i18n, Biome,cargo fmt --check, andgit diff --check 20536b2de3..HEADall passed.Known test gaps
PHPicker/UIDocumentPickerpresentation, HEIC orientation rendering, live VoiceOver, and real RSS profiling were not performed; verification used headless NSH/Rust suites, wire fixtures, and real local Host E2E tests.Screenshots
Captured on iPhone 18 Pro Simulator (iOS 27.2, integrated preview build):