feat: add exec host routing + node daemon
This commit is contained in:
@@ -388,7 +388,7 @@ export function createNodesTool(options?: {
|
||||
const nodes = await listNodes(gatewayOpts);
|
||||
if (nodes.length === 0) {
|
||||
throw new Error(
|
||||
"system.run requires a paired macOS companion app (no nodes available).",
|
||||
"system.run requires a paired companion app or node host (no nodes available).",
|
||||
);
|
||||
}
|
||||
const nodeId = resolveNodeIdFromList(nodes, node);
|
||||
@@ -398,7 +398,7 @@ export function createNodesTool(options?: {
|
||||
: false;
|
||||
if (!supportsSystemRun) {
|
||||
throw new Error(
|
||||
"system.run requires the macOS companion app; the selected node does not support system.run.",
|
||||
"system.run requires a companion app or node host; the selected node does not support system.run.",
|
||||
);
|
||||
}
|
||||
const commandRaw = params.command;
|
||||
|
||||
Reference in New Issue
Block a user