File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,13 @@ def build_registry():
486486 icon_dst = dist_dir / f"{ agent_id } .svg"
487487 icon_dst .write_bytes (icon_src .read_bytes ())
488488
489+ # Copy schema files to dist
490+ for schema_file in ("agent.schema.json" , "registry.schema.json" ):
491+ schema_src = registry_dir / schema_file
492+ if schema_src .exists ():
493+ schema_dst = dist_dir / schema_file
494+ schema_dst .write_bytes (schema_src .read_bytes ())
495+
489496 print (f"\n Built dist/ with { len (agents )} agents" )
490497
491498
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema#" ,
3- "$id" : " https://github.com/agentclientprotocol/registry/agent.schema.json" ,
3+ "$id" : " https://github.com/agentclientprotocol/registry/releases/latest/download/ agent.schema.json" ,
44 "title" : " ACP Agent" ,
55 "description" : " Schema for ACP agent registry entries" ,
66 "type" : " object" ,
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema#" ,
3- "$id" : " https://github.com/agentclientprotocol/registry/registry.schema.json" ,
3+ "$id" : " https://github.com/agentclientprotocol/registry/releases/latest/download/ registry.schema.json" ,
44 "title" : " ACP Agent Registry" ,
55 "description" : " Schema for the aggregated ACP agent registry index" ,
66 "type" : " object" ,
You can’t perform that action at this time.
0 commit comments