Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: quiet startup output and add persistent linked indicator#35

Merged
bigph00t merged 2 commits into
main from
ux/clearer-bare-session
May 19, 2026
Merged

fix: quiet startup output and add persistent linked indicator #35
bigph00t merged 2 commits into
main from
ux/clearer-bare-session

Conversation

@bigph00t

@bigph00t bigph00t commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Bare mobilecli previously printed a wall of info-level tracing logs plus a "Connected!" banner just before tmux entered its alternate screen, so users saw a brief flash of text and then a normal shell prompt with no visible indication that streaming was active. A user emailed support today reporting they couldn't tell if anything had happened after pairing.

Three coordinated changes restore a calm, discoverable UX:

  • Tracing filter (cli/src/main.rs): default drops from mobilecli=info to mobilecli=warn. RUST_LOG overrides still work for operators who want verbose output.
  • Persistent linked indicator (cli/src/pty_wrapper.rs): set the host terminal window title to 📱 MobileCLI · <session> via OSC 0 at session start and clear it on exit. The title survives tmux's alt-screen takeover, so the linked state is always visible in the emulator's title bar.
  • Discoverability hint (cli/src/main.rs): one-line → Tip: run \mobilecli help` ...shown only when baremobilecliis run from an interactive TTY, giving newcomers a pointer to the rest of the command surface without crowding power-user invocations likemobilecli claude`.

Includes the version bump to 0.2.1 so this PR can be tagged and released directly after merge.

Test plan

  • cargo build --release
  • cargo test --release — 74 passed, 0 failed
  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings -A dead-code
  • PTY-capture smoke test confirms order: hint → Connected banner → OSC 0 title → tmux alt-screen
  • Pipe smoke test confirms no escape sequences leak when stdout is not a TTY

🤖 Generated with Claude Code

bigph00t added 2 commits May 19, 2026 10:07
Bare `mobilecli` previously printed a wall of info-level tracing logs
plus a "Connected!" banner just before tmux entered its alternate
screen, so users saw a brief flash of text and then a normal shell
prompt with no visible indication that streaming was active.
Three coordinated changes restore a calm, discoverable UX:
- Default tracing filter drops from `mobilecli=info` to
 `mobilecli=warn`. Operators still get RUST_LOG overrides.
- The pty wrapper sets the host terminal window title to
 "📱 MobileCLI · <session>" via OSC 0 at session start and clears it
 on exit. The title survives tmux's alt-screen takeover, so the linked
 state is always visible in the emulator's title bar.
- A one-line hint pointing at `mobilecli help` is shown only when bare
 `mobilecli` is run from an interactive terminal, giving newcomers a
 pointer to the rest of the command surface without crowding power-
 user invocations like `mobilecli claude`.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@bigph00t bigph00t merged commit c9df6ef into main May 19, 2026
7 checks passed
@bigph00t bigph00t deleted the ux/clearer-bare-session branch May 19, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /