claude-code: added 'agentsDir' option to specify agents from filesystem
This commit is contained in:
parent
343e555657
commit
a641bbbb9b
6 changed files with 55 additions and 0 deletions
14
tests/modules/programs/claude-code/agents-dir.nix
Normal file
14
tests/modules/programs/claude-code/agents-dir.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
agentsDir = ./agents;
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.claude/agents/test-agent.md
|
||||
assertLinkExists home-files/.claude/agents/test-agent.md
|
||||
assertFileContent \
|
||||
home-files/.claude/agents/test-agent.md \
|
||||
${./agents/test-agent.md}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue