MCPcopy Create free account
hub / github.com/compozy/agh / writeAgentDef

Function writeAgentDef

internal/cli/cli_integration_test.go:4091–4096  ·  view source on GitHub ↗
(t *testing.T, homePaths aghconfig.HomePaths, name string)

Source from the content-addressed store, hash-verified

4089}
4090
4091func writeAgentDef(t *testing.T, homePaths aghconfig.HomePaths, name string) {
4092 t.Helper()
4093
4094 agentDir := filepath.Join(homePaths.AgentsDir, name)
4095 writeAgentDefInDir(t, agentDir, name)
4096}
4097
4098func writeWorkspaceAgentDef(t *testing.T, root string, name string) {
4099 t.Helper()

Callers 1

newIntegrationHarnessFunction · 0.70

Calls 1

writeAgentDefInDirFunction · 0.85

Tested by

no test coverage detected