@deimoscloud/coreai 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +5 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/compiler.test.ts +12 -1
- package/src/agents/compiler.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -558,6 +558,7 @@ function filterAgentsByTeam(agents, config) {
|
|
|
558
558
|
function compileAgents(config, options = {}) {
|
|
559
559
|
const projectRoot = options.projectRoot ?? process.cwd();
|
|
560
560
|
const outputDir = options.outputDir ?? join3(projectRoot, ".claude", "agents");
|
|
561
|
+
const coreAgentsDir = options.coreAgentsDir ?? getCoreAgentsDir();
|
|
561
562
|
const customAgentsDir = options.customAgentsDir ?? join3(projectRoot, "coreai", "agents");
|
|
562
563
|
const result = {
|
|
563
564
|
compiled: [],
|
|
@@ -565,6 +566,7 @@ function compileAgents(config, options = {}) {
|
|
|
565
566
|
};
|
|
566
567
|
const allAgents = loadAllAgents({
|
|
567
568
|
...options,
|
|
569
|
+
coreAgentsDir,
|
|
568
570
|
customAgentsDir
|
|
569
571
|
});
|
|
570
572
|
const agents = filterAgentsByTeam(allAgents, config);
|