From 2a9355bb2f97052a30d0e50e034fb88f60762594 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Thu, 21 May 2026 10:37:02 +0200 Subject: [PATCH] docs: Add schema download note to schema page --- docs/protocol/draft/schema-v2.mdx | 5 +++++ docs/protocol/draft/schema.mdx | 5 +++++ docs/protocol/schema.mdx | 5 +++++ src/bin/generate.rs | 6 ++++++ 4 files changed, 21 insertions(+) diff --git a/docs/protocol/draft/schema-v2.mdx b/docs/protocol/draft/schema-v2.mdx index 8ae9dff8..e84a9dc9 100644 --- a/docs/protocol/draft/schema-v2.mdx +++ b/docs/protocol/draft/schema-v2.mdx @@ -3,6 +3,11 @@ title: "Schema" description: "Schema definitions for the Agent Client Protocol" --- + + The schema file can be downloaded directly from the [latest GitHub + release](https://github.com/agentclientprotocol/agent-client-protocol/releases/latest/download/schema.json). + + ## Agent Defines the interface that all ACP-compliant agents must implement. diff --git a/docs/protocol/draft/schema.mdx b/docs/protocol/draft/schema.mdx index 8ae9dff8..e84a9dc9 100644 --- a/docs/protocol/draft/schema.mdx +++ b/docs/protocol/draft/schema.mdx @@ -3,6 +3,11 @@ title: "Schema" description: "Schema definitions for the Agent Client Protocol" --- + + The schema file can be downloaded directly from the [latest GitHub + release](https://github.com/agentclientprotocol/agent-client-protocol/releases/latest/download/schema.json). + + ## Agent Defines the interface that all ACP-compliant agents must implement. diff --git a/docs/protocol/schema.mdx b/docs/protocol/schema.mdx index 56ea6737..4584fd47 100644 --- a/docs/protocol/schema.mdx +++ b/docs/protocol/schema.mdx @@ -3,6 +3,11 @@ title: "Schema" description: "Schema definitions for the Agent Client Protocol" --- + + The schema file can be downloaded directly from the [latest GitHub + release](https://github.com/agentclientprotocol/agent-client-protocol/releases/latest/download/schema.json). + + ## Agent Defines the interface that all ACP-compliant agents must implement. diff --git a/src/bin/generate.rs b/src/bin/generate.rs index 1639e413..3155f641 100644 --- a/src/bin/generate.rs +++ b/src/bin/generate.rs @@ -206,6 +206,12 @@ mod markdown_generator { .unwrap(); writeln!(&mut self.output, "---").unwrap(); writeln!(&mut self.output).unwrap(); + writeln!( + &mut self.output, + "The schema file can be downloaded directly from the [latest GitHub release](https://github.com/agentclientprotocol/agent-client-protocol/releases/latest/download/schema.json)." + ) + .unwrap(); + writeln!(&mut self.output).unwrap(); let mut agent_types: BTreeMap> = BTreeMap::new(); let mut client_types: BTreeMap> = BTreeMap::new();