MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / makeAgent

Function makeAgent

cli/src/__tests__/unit/publish-confirmation.test.ts:7–12  ·  view source on GitHub ↗
(id: string, isBundled = false)

Source from the content-addressed store, hash-verified

5import type { LocalAgentInfo } from '../../utils/local-agent-registry'
6
7const makeAgent = (id: string, isBundled = false): LocalAgentInfo => ({
8 id,
9 displayName: id,
10 filePath: `/agents/${id}.ts`,
11 isBundled,
12})
13
14describe('getAllPublishAgentIds', () => {
15 test('ignores bundled agents even if selected', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected