fix agent scan
This commit is contained in:
parent
bdcd8afa42
commit
6af79165d8
|
|
@ -28,7 +28,7 @@ async function main(customProjectRoot) {
|
||||||
const project_root = customProjectRoot || path.join(__dirname, '..');
|
const project_root = customProjectRoot || path.join(__dirname, '..');
|
||||||
|
|
||||||
// Find all agent files
|
// Find all agent files
|
||||||
const agentFiles = await glob('src/{core,modules/*}/agents/*.agent.yaml', {
|
const agentFiles = await glob('src/{core,bmm/*}/agents/**/*.agent.yaml', {
|
||||||
cwd: project_root,
|
cwd: project_root,
|
||||||
absolute: true,
|
absolute: true,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue