Add configurable Claude Code model selection

Add allowArbitraryClaudeCodeModelSelection option to development role
to control whether model specifications are preserved in humanlayer
commands and agents. Defaults to false (strip models) for backward
compatibility. Enable on home-darwin-work to preserve model specs
for opus/sonnet selection.
This commit is contained in:
2025-11-24 14:04:11 -08:00
parent e88f3580e9
commit e218822566
2 changed files with 33 additions and 8 deletions

View File

@@ -223,7 +223,10 @@ in
home.roles = {
base.enable = true;
development.enable = true;
development = {
enable = true;
allowArbitraryClaudeCodeModelSelection = true;
};
};
imports = [