Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions agent-client-protocol-schema/src/v1/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ impl LoadSessionResponse {
/// Creates a new session based on the context of an existing one, allowing
/// operations like generating summaries without affecting the original session's history.
///
/// Only available if the Agent supports the `session.fork` capability.
/// Only available if the Agent supports the `sessionCapabilities.fork` capability.
#[cfg(feature = "unstable_session_fork")]
#[serde_as]
#[skip_serializing_none]
Expand Down Expand Up @@ -4226,19 +4226,19 @@ impl SetSessionConfigOptionResponse {
pub enum McpServer {
/// HTTP transport configuration
///
/// Only available when the Agent capabilities indicate `mcp_capabilities.http` is `true`.
/// Only available when the Agent capabilities indicate `mcpCapabilities.http` is `true`.
Http(McpServerHttp),
/// SSE transport configuration
///
/// Only available when the Agent capabilities indicate `mcp_capabilities.sse` is `true`.
/// Only available when the Agent capabilities indicate `mcpCapabilities.sse` is `true`.
Sse(McpServerSse),
/// **UNSTABLE**
///
/// This capability is not part of the spec yet, and may be removed or changed at any point.
///
/// ACP transport configuration
///
/// Only available when the Agent capabilities indicate `mcp_capabilities.acp` is `true`.
/// Only available when the Agent capabilities indicate `mcpCapabilities.acp` is `true`.
/// The MCP server is provided by an ACP component and communicates over the ACP channel.
#[cfg(feature = "unstable_mcp_over_acp")]
Acp(McpServerAcp),
Expand Down Expand Up @@ -7060,7 +7060,7 @@ pub enum ClientRequest {
///
/// Forks an existing session to create a new independent session.
///
/// This method is only available if the agent advertises the `session.fork` capability.
/// This method is only available if the agent advertises the `sessionCapabilities.fork` capability.
///
/// The agent should create a new session with the same conversation context as the
/// original, allowing operations like generating summaries without affecting the
Expand Down
2 changes: 1 addition & 1 deletion agent-client-protocol-schema/src/v1/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4725,7 +4725,7 @@ impl AuthCapabilities {

/// File system capabilities that a client may support.
///
/// See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#filesystem)
/// See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#file-system)
#[serde_as]
#[skip_serializing_none]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
Expand Down
12 changes: 6 additions & 6 deletions docs/protocol/v1/draft/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ This capability is not part of the spec yet, and may be removed or changed at an

Forks an existing session to create a new independent session.

This method is only available if the agent advertises the `session.fork` capability.
This method is only available if the agent advertises the `sessionCapabilities.fork` capability.

The agent should create a new session with the same conversation context as the
original, allowing operations like generating summaries without affecting the
Expand All @@ -733,7 +733,7 @@ Request parameters for forking an existing session.
Creates a new session based on the context of an existing one, allowing
operations like generating summaries without affecting the original session's history.

Only available if the Agent supports the `session.fork` capability.
Only available if the Agent supports the `sessionCapabilities.fork` capability.

**Type:** Object

Expand Down Expand Up @@ -5540,7 +5540,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/d

File system capabilities that a client may support.

See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/draft/initialization#filesystem)
See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/draft/initialization#file-system)

**Type:** Object

Expand Down Expand Up @@ -6054,7 +6054,7 @@ See protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/v1/dra
<ResponseField name="http" type="object">
HTTP transport configuration

Only available when the Agent capabilities indicate `mcp_capabilities.http` is `true`.
Only available when the Agent capabilities indicate `mcpCapabilities.http` is `true`.

<Expandable title="Properties">

Expand Down Expand Up @@ -6085,7 +6085,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/d
<ResponseField name="sse" type="object">
SSE transport configuration

Only available when the Agent capabilities indicate `mcp_capabilities.sse` is `true`.
Only available when the Agent capabilities indicate `mcpCapabilities.sse` is `true`.

<Expandable title="Properties">

Expand Down Expand Up @@ -6120,7 +6120,7 @@ This capability is not part of the spec yet, and may be removed or changed at an

ACP transport configuration

Only available when the Agent capabilities indicate `mcp_capabilities.acp` is `true`.
Only available when the Agent capabilities indicate `mcpCapabilities.acp` is `true`.
The MCP server is provided by an ACP component and communicates over the ACP channel.

<Expandable title="Properties">
Expand Down
6 changes: 3 additions & 3 deletions docs/protocol/v1/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3736,7 +3736,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/e

File system capabilities that a client may support.

See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#filesystem)
See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#file-system)

**Type:** Object

Expand Down Expand Up @@ -4091,7 +4091,7 @@ See protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/v1/ses
<ResponseField name="http" type="object">
HTTP transport configuration

Only available when the Agent capabilities indicate `mcp_capabilities.http` is `true`.
Only available when the Agent capabilities indicate `mcpCapabilities.http` is `true`.

<Expandable title="Properties">

Expand Down Expand Up @@ -4122,7 +4122,7 @@ See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v1/e
<ResponseField name="sse" type="object">
SSE transport configuration

Only available when the Agent capabilities indicate `mcp_capabilities.sse` is `true`.
Only available when the Agent capabilities indicate `mcpCapabilities.sse` is `true`.

<Expandable title="Properties">

Expand Down
6 changes: 3 additions & 3 deletions schema/v1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5681,7 +5681,7 @@
}
},
"FileSystemCapabilities": {
"description": "File system capabilities that a client may support.\n\nSee protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#filesystem)",
"description": "File system capabilities that a client may support.\n\nSee protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/initialization#file-system)",
"type": "object",
"properties": {
"readTextFile": {
Expand Down Expand Up @@ -5985,7 +5985,7 @@
"description": "Configuration for connecting to an MCP (Model Context Protocol) server.\n\nMCP servers provide tools and context that the agent can use when\nprocessing prompts.\n\nSee protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/v1/session-setup#mcp-servers)",
"anyOf": [
{
"description": "HTTP transport configuration\n\nOnly available when the Agent capabilities indicate `mcp_capabilities.http` is `true`.",
"description": "HTTP transport configuration\n\nOnly available when the Agent capabilities indicate `mcpCapabilities.http` is `true`.",
"type": "object",
"properties": {
"type": {
Expand All @@ -6001,7 +6001,7 @@
]
},
{
"description": "SSE transport configuration\n\nOnly available when the Agent capabilities indicate `mcp_capabilities.sse` is `true`.",
"description": "SSE transport configuration\n\nOnly available when the Agent capabilities indicate `mcpCapabilities.sse` is `true`.",
"type": "object",
"properties": {
"type": {
Expand Down
12 changes: 6 additions & 6 deletions schema/v1/schema.unstable.json
Original file line number Diff line number Diff line change
Expand Up @@ -6905,7 +6905,7 @@
},
{
"title": "ForkSessionRequest",
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nForks an existing session to create a new independent session.\n\nThis method is only available if the agent advertises the `session.fork` capability.\n\nThe agent should create a new session with the same conversation context as the\noriginal, allowing operations like generating summaries without affecting the\noriginal session's history.\n\nAs with `session/new`, the forked session is active once the agent responds,\nset up with the request's `cwd`, `additionalDirectories`, and `mcpServers`.\nThe client can prompt it without calling `session/load` or `session/resume` first.",
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nForks an existing session to create a new independent session.\n\nThis method is only available if the agent advertises the `sessionCapabilities.fork` capability.\n\nThe agent should create a new session with the same conversation context as the\noriginal, allowing operations like generating summaries without affecting the\noriginal session's history.\n\nAs with `session/new`, the forked session is active once the agent responds,\nset up with the request's `cwd`, `additionalDirectories`, and `mcpServers`.\nThe client can prompt it without calling `session/load` or `session/resume` first.",
"allOf": [
{
"$ref": "#/$defs/ForkSessionRequest"
Expand Down Expand Up @@ -7168,7 +7168,7 @@
}
},
"FileSystemCapabilities": {
"description": "File system capabilities that a client may support.\n\nSee protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/draft/initialization#filesystem)",
"description": "File system capabilities that a client may support.\n\nSee protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/v1/draft/initialization#file-system)",
"type": "object",
"properties": {
"readTextFile": {
Expand Down Expand Up @@ -7685,7 +7685,7 @@
"description": "Configuration for connecting to an MCP (Model Context Protocol) server.\n\nMCP servers provide tools and context that the agent can use when\nprocessing prompts.\n\nSee protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/v1/draft/session-setup#mcp-servers)",
"anyOf": [
{
"description": "HTTP transport configuration\n\nOnly available when the Agent capabilities indicate `mcp_capabilities.http` is `true`.",
"description": "HTTP transport configuration\n\nOnly available when the Agent capabilities indicate `mcpCapabilities.http` is `true`.",
"type": "object",
"properties": {
"type": {
Expand All @@ -7701,7 +7701,7 @@
]
},
{
"description": "SSE transport configuration\n\nOnly available when the Agent capabilities indicate `mcp_capabilities.sse` is `true`.",
"description": "SSE transport configuration\n\nOnly available when the Agent capabilities indicate `mcpCapabilities.sse` is `true`.",
"type": "object",
"properties": {
"type": {
Expand All @@ -7717,7 +7717,7 @@
]
},
{
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nACP transport configuration\n\nOnly available when the Agent capabilities indicate `mcp_capabilities.acp` is `true`.\nThe MCP server is provided by an ACP component and communicates over the ACP channel.",
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nACP transport configuration\n\nOnly available when the Agent capabilities indicate `mcpCapabilities.acp` is `true`.\nThe MCP server is provided by an ACP component and communicates over the ACP channel.",
"type": "object",
"properties": {
"type": {
Expand Down Expand Up @@ -8138,7 +8138,7 @@
"x-method": "session/delete"
},
"ForkSessionRequest": {
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for forking an existing session.\n\nCreates a new session based on the context of an existing one, allowing\noperations like generating summaries without affecting the original session's history.\n\nOnly available if the Agent supports the `session.fork` capability.",
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for forking an existing session.\n\nCreates a new session based on the context of an existing one, allowing\noperations like generating summaries without affecting the original session's history.\n\nOnly available if the Agent supports the `sessionCapabilities.fork` capability.",
"type": "object",
"properties": {
"sessionId": {
Expand Down