MCPcopy Create free account
hub / github.com/apache/maka / runtimeToolBoundaryProtocol

Function runtimeToolBoundaryProtocol

packages/runtime/src/runtime-kernel.ts:3697–3702  ·  view source on GitHub ↗
(
  deps: Pick<RuntimeKernelDeps, 'toolBoundaryProtocol'>,
  header: Pick<SessionHeader, 'backend'>,
)

Source from the content-addressed store, hash-verified

3695}
3696
3697function runtimeToolBoundaryProtocol(
3698 deps: Pick<RuntimeKernelDeps, 'toolBoundaryProtocol'>,
3699 header: Pick<SessionHeader, 'backend'>,
3700): ToolBoundaryProtocol | undefined {
3701 return header.backend === 'ai-sdk' ? deps.toolBoundaryProtocol : undefined;
3702}
3703
3704function effectiveOrchestrationForRun(
3705 run: AgentRunHeader,

Callers 5

startTurnMethod · 0.85
compactSessionClaimedMethod · 0.85
startChildTurnClaimedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected