MCPcopy Index your code
hub / github.com/callstack/agent-device / isLeveledResponse

Function isLeveledResponse

src/client/client.ts:64–65  ·  view source on GitHub ↗
(options: { responseLevel?: ResponseLevel })

Source from the content-addressed store, hash-verified

62 // shape; the per-command client normalizers assume the default shape, so the
63 // capture methods pass the leveled payload through unnormalized instead.
64 const isLeveledResponse = (options: { responseLevel?: ResponseLevel }): boolean =>
65 isNonDefaultResponseLevel(options.responseLevel ?? config.responseLevel);
66
67 const execute = async (
68 command: string,

Callers 1

createAgentDeviceClientFunction · 0.85

Calls 1

Tested by

no test coverage detected