MCPcopy
hub / github.com/CodebuffAI/codebuff / spawn-agents-permissions.test.ts

File spawn-agents-permissions.test.ts

packages/agent-runtime/src/__tests__/spawn-agents-permissions.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TEST_USER_ID } from '@codebuff/common/old-constants'
2import { TEST_AGENT_RUNTIME_IMPL } from '@codebuff/common/testing/impl/agent-runtime'
3import { getInitialSessionState } from '@codebuff/common/types/session-state'
4import { assistantMessage } from '@codebuff/common/util/messages'

Callers

nothing calls this directly

Calls 8

assistantMessageFunction · 0.90
getMatchingSpawnFunction · 0.90
getInitialSessionStateFunction · 0.90
beforeEachFunction · 0.85
afterEachFunction · 0.85
createMockAgentFunction · 0.70
createSpawnToolCallFunction · 0.70

Tested by

no test coverage detected