feat: add tags field to agent config metadata

Assisted-By: docker-agent
This commit is contained in:
David Gageot committed 2026-07-01 19:08:34 +02:00
1 parent 8dd843a143
commit a2bfb1386a
3 files changed
+17 -5

No files matched your search

+7
View File
@@ -1684,6 +1684,13 @@
"version": {
"type": "string",
"description": "Version of the agent configuration (used for OCI registry publishing)"
},
"tags": {
"type": "array",
"description": "Tags describing the agent configuration (e.g. for categorization and discovery)",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
+4
View File
@@ -4,6 +4,10 @@ metadata:
It defines an agent that repeats back exactly what the user says, without any modifications or additional commentary.
For example, run it with `echo "TEST" | docker agent run echo-agent.yaml -`
tags:
- example
- echo
- demo
agents:
root:
+6 -5
View File
@@ -1147,11 +1147,12 @@ type RoutingRule struct {
}
type Metadata struct {
Author string `json:"author,omitempty"`
License string `json:"license,omitempty"`
Description string `json:"description,omitempty"`
Readme string `json:"readme,omitempty"`
Version string `json:"version,omitempty"`
Author string `json:"author,omitempty"`
License string `json:"license,omitempty"`
Description string `json:"description,omitempty"`
Readme string `json:"readme,omitempty"`
Version string `json:"version,omitempty"`
Tags []string `json:"tags,omitempty"`
}
// Commands represents a set of named prompts for quick-starting conversations.