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

Function shouldLockSessionExecution

src/daemon/daemon-command-registry.ts:67–69  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

65}
66
67export function shouldLockSessionExecution(command: string): boolean {
68 return getDaemonCommandDescriptor(command)?.sessionExecutionLockExempt !== true;
69}
70
71export function canRunReplayScopedAction(command: string): boolean {
72 return getDaemonCommandDescriptor(command)?.replayScopedAction === true;

Calls 1

Tested by

no test coverage detected