@deimoscloud/coreai 0.1.5 → 0.1.7
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 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/compiler.ts +10 -4
- package/src/cli/commands/cache.ts +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -537,9 +537,10 @@ function filterAgentsByTeam(agents2, config) {
|
|
|
537
537
|
return agents2;
|
|
538
538
|
}
|
|
539
539
|
const filtered = /* @__PURE__ */ new Map();
|
|
540
|
-
for (const role of
|
|
541
|
-
|
|
542
|
-
|
|
540
|
+
for (const [role, metadata] of agents2) {
|
|
541
|
+
if (metadata.source === "custom" || metadata.source === "override") {
|
|
542
|
+
filtered.set(role, metadata);
|
|
543
|
+
} else if (config.team.agents.includes(role)) {
|
|
543
544
|
filtered.set(role, metadata);
|
|
544
545
|
}
|
|
545
546
|
}
|
|
@@ -2877,7 +2878,7 @@ function getCachePath(options) {
|
|
|
2877
2878
|
return options.cachePath;
|
|
2878
2879
|
}
|
|
2879
2880
|
const root = options.projectRoot ?? process.cwd();
|
|
2880
|
-
return join9(root, CACHE_PATHS.
|
|
2881
|
+
return join9(root, CACHE_PATHS.ROOT);
|
|
2881
2882
|
}
|
|
2882
2883
|
async function cacheStatus(options = {}) {
|
|
2883
2884
|
const cachePath = getCachePath(options);
|