Skip to content

feat(cli): Peer Host HostInvoke parity, login TUI, and account sync - #1549

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/relay-account-p1
Jul 14, 2026
Merged

feat(cli): Peer Host HostInvoke parity, login TUI, and account sync#1549
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/relay-account-p1

Conversation

@bobleer

@bobleer bobleer commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add CLI Peer Device Mode host: Core-backed HostInvoke registry (workspace/config/session/dialog/git/snapshot rollback) with soft empty responses for Desktop-only surfaces (MiniApps/ACP/cron), so Desktop→CLI peer matches Desktop→Desktop for hydrate/chat/rollback flows.
  • Add CLI login TUI and account sync panel (local vs cloud settings choice, device list, logout), plus shared same-machine device identity for Desktop/CLI AuthConnect election.
  • Update peer-device-mode docs/specs and ignore local .tmp/ / tmp/ scratch dirs.

Test plan

  • Rebuild CLI on Linux: cargo build -p bitfun-cli
  • Login on CLI (/login), confirm sync choice / account page
  • From Mac Desktop (same account), Peer Mode into the CLI host
  • Open host workspace → create session → send message (no update_session_model / get_config unsupported errors)
  • Rollback a turn on peer session (no rollback_to_turn unsupported error)
  • Confirm MiniApps/ACP hydrate does not hard-fail (empty lists)

Desktop can Peer Mode into a same-account CLI host with Core-backed commands (config, sessions, dialog, snapshot rollback, git check) and soft empty responses for Desktop-only subsystems. Also adds login TUI, account sync panel, shared device identity, and ignores local .tmp/tmp scratch dirs.
@bobleer
bobleer merged commit 81f014d into GCWing:main Jul 14, 2026
4 checks passed
@bobleer
bobleer deleted the feat/relay-account-p1 branch July 14, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant