Protocol: switch node.invoke screen.* to canvas.*

This commit is contained in:
Peter Steinberger
2025-12-18 01:17:17 +00:00
parent ea53f1bec7
commit 22516437b7
5 changed files with 22 additions and 74 deletions

View File

@@ -126,7 +126,7 @@ describe("cli program", () => {
.mockResolvedValueOnce({
ok: true,
nodeId: "ios-node",
command: "screen.eval",
command: "canvas.eval",
payload: { result: "ok" },
});
@@ -139,7 +139,7 @@ describe("cli program", () => {
"--node",
"ios-node",
"--command",
"screen.eval",
"canvas.eval",
"--params",
'{"javaScript":"1+1"}',
],
@@ -156,7 +156,7 @@ describe("cli program", () => {
method: "node.invoke",
params: {
nodeId: "ios-node",
command: "screen.eval",
command: "canvas.eval",
params: { javaScript: "1+1" },
timeoutMs: 15000,
idempotencyKey: "idem-test",