add child-model agent_task flow with node model capability and stricter device contracts

This commit is contained in:
DBT
2026-02-25 01:37:52 +00:00
parent a21237c1e4
commit 50a515af60
8 changed files with 29 additions and 5 deletions

View File

@@ -137,6 +137,8 @@ func (m *Manager) SupportsAction(nodeID, action string) bool {
switch action {
case "run":
return n.Capabilities.Run
case "agent_task":
return n.Capabilities.Model
case "camera_snap", "camera_clip":
return n.Capabilities.Camera
case "screen_record", "screen_snapshot":
@@ -162,6 +164,10 @@ func (m *Manager) PickFor(action string) (NodeInfo, bool) {
if n.Capabilities.Run {
return n, true
}
case "agent_task":
if n.Capabilities.Model {
return n, true
}
case "camera_snap", "camera_clip":
if n.Capabilities.Camera {
return n, true