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
|
|
@ -20,10 +20,17 @@
|
|||
text = "Some text content";
|
||||
source = ./expected-memory.md;
|
||||
};
|
||||
|
||||
# assert fail: cannot set agents and agentsDir at the same time.
|
||||
agents = {
|
||||
test-agent = "test content";
|
||||
};
|
||||
agentsDir = ./agents;
|
||||
};
|
||||
|
||||
test.asserts.assertions.expected = [
|
||||
"`programs.claude-code.package` cannot be null when `mcpServers` is configured"
|
||||
"Cannot specify both `programs.claude-code.memory.text` and `programs.claude-code.memory.source`"
|
||||
"Cannot specify both `programs.claude-code.agents` and `programs.claude-code.agentsDir`"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue