@annals/agent-mesh 0.16.1 → 0.16.2
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/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3469,11 +3469,14 @@ function skillApiPath(authorLogin, slug) {
|
|
|
3469
3469
|
}
|
|
3470
3470
|
async function resolveSkillsRootAsync(pathArg) {
|
|
3471
3471
|
const projectRoot = pathArg ? resolve(pathArg) : process.cwd();
|
|
3472
|
+
const claudeDir = join8(projectRoot, ".claude", "skills");
|
|
3473
|
+
if (await pathExists(claudeDir)) {
|
|
3474
|
+
return { projectRoot, skillsDir: claudeDir, convention: "claude" };
|
|
3475
|
+
}
|
|
3472
3476
|
const agentsDir = join8(projectRoot, ".agents", "skills");
|
|
3473
3477
|
if (await pathExists(agentsDir)) {
|
|
3474
3478
|
return { projectRoot, skillsDir: agentsDir, convention: "agents" };
|
|
3475
3479
|
}
|
|
3476
|
-
const claudeDir = join8(projectRoot, ".claude", "skills");
|
|
3477
3480
|
return { projectRoot, skillsDir: claudeDir, convention: "claude" };
|
|
3478
3481
|
}
|
|
3479
3482
|
async function collectPackFiles(dir, manifest) {
|