Skip to content

feat(bots): manage Bots and group conversations across paired hosts - #172

Open
xejxivtelr9633 wants to merge 1 commit into
AIDotNet:mainfrom
xejxivtelr9633:contrib/paired-host-bots
Open

xejxivtelr9633 wants to merge 1 commit into
AIDotNet:mainfrom
xejxivtelr9633:contrib/paired-host-bots

Conversation

@xejxivtelr9633

Copy link
Copy Markdown
Contributor

This follows up on #147 with a clean contribution commit based on 8cec958. It lets a desktop controller work with Bots on paired computers while each Bot’s files, agent process, and conversation history stay on its host.

New functionality

  • Show local and remote Bots and groups together in the desktop sidebar. Users can create a Bot on a chosen host using that host’s agent and model catalog, edit supported settings, and open its GUI chat.
  • Support groups with members from different hosts. The group owner identifies each Bot by host and Bot ID, keeps a dedicated member chat on its source host, and routes turns, stop requests, and permission decisions. An offline member keeps its place in the group.
  • Show streaming remote ACP conversations with history paging, permission and question cards, and the model and mode controls supported by the host. The desktop can browse a remote Bot’s home and, on capable hosts, edit the root SOUL.md and MEMORY.md files. Saves check the original SHA-256 and are limited to 128 KiB.

Improvements to existing behavior

  • Keep the current remote chat, message view, and unsent draft when the sidebar refreshes or the user selects the same Bot again. If the connection drops during the initial open, reconnect and attach to the selected chat. Canceling one page’s request leaves unrelated requests on the shared connection usable.
  • When the default agent changes, use a fresh Home chat for the new agent and keep the old chat in history. Refresh the mobile chat projection when its effective agent changes.
  • Replace the mobile Bot model button list with a touch-scrollable dropdown. The existing mobile Bots tab continues to aggregate the hosts paired with the phone.
  • Resolve Hermes and OpenCode model choices on the machine that will run the Bot. Honor the configured proxy for external relays and bypass it for loopback relay endpoints.

Verification

The contribution is one commit ahead of the current upstream base. The full Git diff passes git diff --check. Regression coverage includes identical Bot IDs on two hosts, interrupted first open and reselection, concurrent requests during page cancellation, conflicting file saves, Home agent changes, and touch selection from a long model list.

For a two-computer check, pair the machines, open the same remote Home twice with an unsent draft, then interrupt the first open and reconnect. The selected conversation should recover without sending the draft. A group with one Bot from each machine should dispatch each turn to the corresponding host.

Expose host-owned Bots and their GUI conversations on the desktop, with owner-mediated group dispatch and conditional writes for Bot memory files. Recover interrupted chat opens, preserve active chats across refreshes, and use the host's agent/model catalog. Improve the mobile model picker and refresh stale agent sessions.
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