Add named agent nickname packs

This commit is contained in:
Nick Baumann
2026-03-18 22:59:47 -07:00
parent 7014bebfed
commit fa9af900e1
3 changed files with 143 additions and 13 deletions

View File

@@ -6,6 +6,19 @@
"description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.",
"type": "string"
},
"AgentNicknameCandidatesToml": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
]
},
"AgentRoleToml": {
"additionalProperties": false,
"properties": {
@@ -55,11 +68,24 @@
"type": "integer"
},
"nickname_candidates": {
"description": "Global fallback nickname candidates for spawned agent threads.\n\nExample: ```toml [agents] nickname_candidates = [\"Scout\", \"Builder\", \"Reviewer\"] ```",
"items": {
"type": "string"
"allOf": [
{
"$ref": "#/definitions/AgentNicknameCandidatesToml"
}
],
"default": null,
"description": "Global fallback nickname candidates for spawned agent threads.\n\nExample: ```toml [agents] nickname_candidates = [\"Scout\", \"Builder\", \"Reviewer\"]\n\n# Or select a named pack: nickname_candidates = \"succession\"\n\n[agents.nickname_packs] succession = [\"Shiv\", \"Roman\", \"Kendall\"] ```"
},
"nickname_packs": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
"default": {},
"description": "Named global fallback nickname candidate packs keyed by pack name.",
"type": "object"
}
},
"type": "object"