Always include agent.yaml when publishing:
-
if we have OCI image: on deploy, we resolve the mcp servers/prompts/skills by reading the agent.yaml and generating the necessary files (mcp-servers.json, prompts.json, ...)
-
if we have Git: we resolve agent.yaml from the repo and then do the same as in 1