iOS: remove client input admission cap

AZ
2mo ago
+182-49

Problem

The ordered iOS terminal-input fallback imposed a client-side four-request settlement cap. That gate could make input wait before the host or transport had applied any backpressure.

Change

Remove the client-side admission gate and its capacity waiter bookkeeping. The pipeline now tracks only per-surface ordering and settlement. Existing host-side RPC admission remains in place for control traffic, and the input send buffer still bounds queued user input.

This applies to the ordered RPC fallback. The current render-grid input-only lane does not use this pipeline.

Validation

  • git diff --check
  • swift build --package-path Packages/iOS/CmuxMobileShell

Summary by CodeRabbit

  • Improvements

    • Mobile terminal input now uses shared host capacity for better coordination across active terminal surfaces.
    • Input queuing no longer pauses for a separate client-side request limit.
    • Request ordering and settlement tracking remain independent for each terminal surface.
    • Added detailed input queue and send-timing telemetry to help identify responsiveness issues and slow sends.
  • Bug Fixes

    • Improved handling when browser proxy capability checks fail, consistently reporting that an update is required.