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

Function getSessionCommandKind

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

Source from the content-addressed store, hash-verified

53}
54
55export function getSessionCommandKind(command: string): SessionCommandKind | undefined {
56 return getDaemonCommandDescriptor(command)?.sessionKind;
57}
58
59export function isLeaseAdmissionExempt(command: string): boolean {
60 return getDaemonCommandDescriptor(command)?.leaseAdmissionExempt === true;

Callers 2

handleSessionCommandsFunction · 0.90

Calls 1

Tested by

no test coverage detected