Commit Graph
7 Commits
Author SHA1 Message Date
Mohamed Boudra 8342a95367 Create, prompt, and monitor agents across connected hosts (#7507)
* feat(hosts): delegate agents across connected hosts

Resolve MCP host operations through in-process commands for self and the existing routed client transport for other destinations. Keep ordinary parent labels, app sessions and idle finish notifications.

* test(app): normalize subagent fixtures through snapshots

* docs(protocol): clarify same-host parent labels

* fix(hosts): resolve subagents through destination sessions

A child address identifies its destination regardless of the connection used. Reuse the existing host candidate selection for discovered routes and direct connections, and keep navigation and row actions independent of the parent transport.

* fix(hosts): keep routed destinations distinct during discovery

A routed candidate names only the origin daemon. Match it within the named destination profile so two destinations discovered through the same origin retain separate identities and connections, including existing saved routes.

* feat(hosts): prompt and query agents on selected hosts

Extend the existing MCP host operation boundary with prompt, status, activity and list operations. Local calls retain their handlers and notification owner; selected destinations use ordinary client RPCs and the existing idle finish wait.
2026-10-21 10:33:48 +02:00
Mohamed Boudra 8241d0d085 refactor(hosts): use the ordinary client contract over channel transports
Keep queuing, permission codes and reconnection independent of transport selection. Track submitted request outcomes generically while retaining connection error codes and structured causes.
2026-10-21 10:33:28 +02:00
Mohamed Boudra 7027ff51a0 refactor(hosts): remove management settings UI from phase one
Keep connected-host management in the CLI and shared SDK while preserving app saved connections and plugin access.
2026-10-21 10:33:12 +02:00
Mohamed Boudra 09c2a24846 fix(hosts): share daemon links across isolated routed sessions
Multiplex logical sessions over the monitored daemon connection and wrap original binary bytes in routing headers. Admit channels under their authenticated parent and current grants; preserve scoped delivery and physical send completion.
2026-10-21 10:33:12 +02:00
Mohamed Boudra ddab584797 test(hosts): include relay coverage in existing CI contracts 2026-10-21 10:33:11 +02:00
Mohamed Boudra 32fbcdc4a8 fix(hosts): validate safe targets and verify encrypted relay routes 2026-10-21 10:33:11 +02:00
Mohamed Boudra 3b50636e14 feat(hosts): connect to saved hosts through a daemon 2026-10-21 10:33:11 +02:00