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

Function buildAppleRunnerSessionOptions

src/daemon/apple-runner-options.ts:38–56  ·  view source on GitHub ↗
(params: {
  req: Pick<DaemonRequest, 'flags' | 'meta'>;
  logPath: string;
  appBundleId?: string;
  traceLogPath?: string;
})

Source from the content-addressed store, hash-verified

36}
37
38export function buildAppleRunnerSessionOptions(params: {
39 req: Pick<DaemonRequest, 'flags' | 'meta'>;
40 logPath: string;
41 appBundleId?: string;
42 traceLogPath?: string;
43}): AppleRunnerRequestOptions {
44 const { req, logPath, appBundleId, traceLogPath } = params;
45 return {
46 ...buildAppleRunnerRequestOptions({ req, logPath, traceLogPath }),
47 runnerLeaseContext: contextFromFlags(
48 logPath,
49 req.flags,
50 appBundleId,
51 traceLogPath,
52 req.meta?.requestId,
53 req.meta,
54 ).runnerLeaseContext,
55 };
56}
57
58export function createAppleRunnerCachePrewarmOnColdBoot(params: {
59 req: Pick<DaemonRequest, 'flags' | 'meta'>;

Callers 1

completeOpenCommandFunction · 0.90

Calls 2

contextFromFlagsFunction · 0.90

Tested by

no test coverage detected