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

Function createDaemonRuntimePolicy

src/daemon/runtime-policy.ts:5–13  ·  view source on GitHub ↗
(
  unsupportedArtifactLabel: string,
  options: { plural?: boolean } = {},
)

Source from the content-addressed store, hash-verified

3import { createUnsupportedArtifactAdapter } from './runtime-artifacts.ts';
4
5export function createDaemonRuntimePolicy(
6 unsupportedArtifactLabel: string,
7 options: { plural?: boolean } = {},
8): Pick<AgentDeviceRuntimeConfig, 'artifacts' | 'policy'> {
9 return {
10 artifacts: createUnsupportedArtifactAdapter(unsupportedArtifactLabel, options),
11 policy: localCommandPolicy(),
12 };
13}

Callers 4

createSnapshotRuntimeFunction · 0.90
createInteractionRuntimeFunction · 0.90

Calls 2

localCommandPolicyFunction · 0.90

Tested by

no test coverage detected