MCPcopy
hub / github.com/codeaashu/claude-code / getAgentContext

Function getAgentContext

src/utils/agentContext.ts:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 * Use type guards isSubagentContext() or isTeammateAgentContext() to narrow the type.
99 */
100export function getAgentContext(): AgentContext | undefined {
101 return agentContextStorage.getStore()
102}
103
104/**
105 * Run an async function with the given agent context.

Callers 8

executeForkedSkillFunction · 0.85
callFunction · 0.85
executeRemoteSkillFunction · 0.85
getSubagentLogNameFunction · 0.85
consumeInvokingRequestIdFunction · 0.85
queryModelFunction · 0.85
getAgentIdentificationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected