feat/agent-cli-mobile-source-ui - #69
Open
Florious95 wants to merge 19 commits into
Open
Conversation
IME squeeze now keeps the cursor in the follow window so short snapshots stay visible instead of jumping to blank bottom rows. Fresh-install typography uses Agent CLI Mobile .cli 12.5sp with CSS line-height 1.75.
System Back hides IME without moving Compose focus. Force-clear focus when any real IME-visible signal drops, and handle focused Back in the input bar so the capsule returns to 46dp without popping the session.
Revert TermSurfaceView/Presenter/FontSizeStore to b267127. Drop HTML CLI panel padding. Wire 查看 to the real session list. Classify upload HTTP failures without leaking tokens. System bars replace extra bottom chrome.
API 33+ IME owns DEFAULT OnBackInvokedCallback, so GLOBAL_ACTION_BACK never reached Compose BackHandler while the keyboard was attaching. Register an overlay-priority callback while the editor is focused, and stop treating a stuck IME animation target as still-visible.
The MCP fixture opened SessionSwitchSheet with an empty list, so 查看 showed workspace · 0. Feed the same Session→L2Entry mapping used by viewMenuSource, and assert open/select/dismiss on production SessionRoute.
500 bodies now carry resolve_dir/measure_dir/write_file operands without paths or tokens. Default dir probes Downloads then ~/.agentmirror/uploads, and long names are truncated so write cannot fail ENAMETOOLONG.
Florious95
force-pushed
the
feat/agent-cli-mobile-source-ui
branch
from
September 2, 2026 10:08
7d4348a to
70d1aa6
Compare
Independent AVD failed because predictive back was off, so overlay OnBackInvokedCallback was a no-op and IME swallowed KEYCODE_BACK before hide/clearFocus stuck. Enable the callback, intercept window Back, and drive capsule collapse even if the editor keeps system focus.
SessionScreenScaffold was full-bleed, so the terminal met the dock on a hard edge. Reuse the b267127 SessionShellScreen card: 4dp margin, 14dp radius, clip, light elevation / dark hairline, and a 1dp rule above the dock. Top name row stays omitted.
Florious95
force-pushed
the
feat/agent-cli-mobile-source-ui
branch
from
September 2, 2026 17:36
cbe6c91 to
ec4c865
Compare
Disable predictive OnBackInvoked so KEYCODE/GLOBAL reach the single Compose BackHandler. Keep dispatchSessionBack focus→overlay+Sessions→ dock→host. Split IME expand waits into height vs dumpsys mInputShown.
Keep predictive back off in merged debug and release application tags.
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.
Goal
Match the exported Agent CLI Mobile session UI source exactly while retaining the existing session business path.
Changes
Validation
:core-protocol:test :core-terminal:test :core-conn:test :app:testDebugUnitTest --rerun-tasks— PASS.:app:connectedDebugAndroidTestforSessionDockInstrumentedTest— 2/2 PASS on the sole managed API 35 emulator at 390×844.SessionRouteinstrumentation covers late horizontal scroll → switch → unchanged scroll/dock/input → consecutive second switch.dev.agentmirror.app,.session,.termview, and.ui.components.:app:assembleRelease --rerun-tasks— PASS.Scope
Android session UI, its tests, and the release APK only. No provider, connection/status core, or server changes. Keep this PR OPEN for user device acceptance; do not merge.