MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / update

Method update

node/src/resources/machines.ts:60–65  ·  view source on GitHub ↗
(machineId: string, body: { name?: string } = {})

Source from the content-addressed store, hash-verified

58 throw new Error("limit must be between 1 and 500");
59 }
60 const response = await this.unary(
61 this.request({
62 case: "listMachineMessagesReq",
63 value: { machineId, session: options.session, limit: options.limit },
64 }),
65 );
66 if (response.payload.case !== "machineMessageList") {
67 throw new Error("cmdop-core returned the wrong messages response arm");
68 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected