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

Function getDaemonCommandRoute

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

Source from the content-addressed store, hash-verified

49const DAEMON_COMMAND_REGISTRY = buildDaemonCommandRegistry(DAEMON_COMMAND_DESCRIPTORS);
50
51export function getDaemonCommandRoute(command: string): DaemonCommandRoute {
52 return getDaemonCommandDescriptor(command)?.route ?? 'generic';
53}
54
55export function getSessionCommandKind(command: string): SessionCommandKind | undefined {
56 return getDaemonCommandDescriptor(command)?.sessionKind;

Calls 1

Tested by 1

catalogCommandsForRouteFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…