mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-16 04:01:57 +00:00
align skills to pi native
This commit is contained in:
parent
59ad12335a
commit
aa70afbd7e
2 changed files with 0 additions and 80 deletions
|
|
@ -322,38 +322,6 @@ Content`,
|
|||
result.skills.some((r) => r.path === middleSkill && r.enabled),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("should include default workspace skills when cwd is outside the workspace root", async () => {
|
||||
const workspaceSkill = join(
|
||||
tempDir,
|
||||
"workspace",
|
||||
".agents",
|
||||
"skills",
|
||||
"build-app",
|
||||
"SKILL.md",
|
||||
);
|
||||
mkdirSync(join(tempDir, "workspace", ".agents", "skills", "build-app"), {
|
||||
recursive: true,
|
||||
});
|
||||
writeFileSync(
|
||||
workspaceSkill,
|
||||
"---\nname: build-app\ndescription: Build apps\n---\n",
|
||||
);
|
||||
|
||||
const appCwd = join(tempDir, "apps", "portfolio");
|
||||
mkdirSync(appCwd, { recursive: true });
|
||||
|
||||
const pm = new DefaultPackageManager({
|
||||
cwd: appCwd,
|
||||
agentDir,
|
||||
settingsManager,
|
||||
});
|
||||
|
||||
const result = await pm.resolve();
|
||||
expect(
|
||||
result.skills.some((r) => r.path === workspaceSkill && r.enabled),
|
||||
).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe("ignore files", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue