MCPcopy Create free account
hub / github.com/callstack/agent-device / toAppBackendContext

Function toAppBackendContext

src/commands/management/runtime/apps.ts:360–370  ·  view source on GitHub ↗
(
  runtime: Pick<AgentDeviceRuntime, 'signal'>,
  options: CommandContext,
)

Source from the content-addressed store, hash-verified

358}
359
360function toAppBackendContext(
361 runtime: Pick<AgentDeviceRuntime, 'signal'>,
362 options: CommandContext,
363): BackendCommandContext {
364 return {
365 session: options.session,
366 requestId: options.requestId,
367 signal: options.signal ?? runtime.signal,
368 metadata: options.metadata,
369 };
370}

Callers 6

openAppCommandFunction · 0.85
closeAppCommandFunction · 0.85
listAppsCommandFunction · 0.85
getAppStateCommandFunction · 0.85
pushAppCommandFunction · 0.85
triggerAppEventCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…