Skip to content

feat(ios): add steer delivery and composer pending dock - #7381

Open
me2seeks wants to merge 1 commit into
mainfrom
feat/ios-steer-dock
Open

me2seeks wants to merge 1 commit into
mainfrom
feat/ios-steer-dock

Conversation

@me2seeks

@me2seeks me2seeks commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Aligns iOS ChatScreen active-run delivery with desktop steer semantics and replaces the opaque queued-message pill + modal sheet with an inline Liquid Glass pending dock above the composer:

  • Active-run steer delivery & explicit Add to queue:
    • Sending while a run is active defaults to delivery: 'steer' with expectedRunId; long-pressing Send (or Send to Main Chat when a side-question-eligible quote is staged) opens a native iOS ContextMenu with Add to queue (delivery: 'queue').
    • Splits ephemeral steer (compact Liquid Glass status pill above the composer that stays continuous until the message enters the transcript or the Host confirms delivery/cancellation) from persistent queue (collapsible Liquid Glass dock excluding in_flight and session_completion, supporting Steer now (promote), inline Edit (queueMessage + editQueue: update with IME composition & revision-conflict safety), Remove (retract), and recoverable failed/unknown send cards).
    • Handles delivery verification across Stop / revision_conflict / disconnect races without losing drafts or triggering blind retries after Confirm may have been sent.
  • Host native steer & Room pre-receipt ID:
    • Fixes ActiveDelivery::Steer in plugins/agent/native to derive execution basis from the active target run so steering works on unbound sessions and across mid-flight next-turn model switches instead of failing with model_unavailable.
    • Extracts deterministic Room post message ID derivation into a lightweight platform/operation-id crate (zero Host sandbox dependencies on aarch64-apple-ios) and adds RemoteCallHandle::mutate_observed so iOS learns its exact Room message_id from the Prepared frame before Confirm—preventing duplicate own-message bubbles on pre-receipt history updates without text matching and cleanly distinguishing pre-confirm (Retry) vs post-confirm (Edit / Dismiss) failures.
  • Localization & shared glass tokens:
    • Adds 27 new UI strings across all 12 iOS shell locales (zh-HK inherits matching parent entries from zh-TW) and introduces shared Liquid Glass surface tokens (theme/tokens.ts, ui/Glass.tsx).

Verification

  • CARGO=mbx cargo test --locked -p maka-ios-shell --lib --test ios_shell_behaviors --test ios_shell_language: 14 lib/bridge, 82 behavior, 4 language tests passed
  • CARGO=mbx mbx check --locked -p maka-ios-shell --lib --target aarch64-apple-ios: passed
  • CARGO=mbx cargo test --locked -p maka-remote-client: 10 passed
  • Real Host maka-agent-native regressions: 5 Room tests + native steer (unbound session & mid-flight model switch) passed
  • tsc --noEmit (products/maka/ios-shell), asf-license-headers, rust/dependencies, migration-lock, i18n/check, Biome format, cargo fmt --check, and git diff --check origin/main...HEAD: all passed
  • Note: UI interactions were verified in NSH headless tests and iOS cross-compilation (aarch64-apple-ios); physical iOS device rendering and touch feel were not tested locally.

Screenshots

Captured on iPhone 18 Pro Simulator (iOS 27.2, integrated preview build):

Expanded Liquid Glass Pending Dock showing active steer and queued messages

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/XXL Over 2500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant