diff --git a/docs/protocol/draft/schema.mdx b/docs/protocol/draft/schema.mdx index d1d6fc58..a08e8ece 100644 --- a/docs/protocol/draft/schema.mdx +++ b/docs/protocol/draft/schema.mdx @@ -1181,7 +1181,7 @@ This method can be helpful when implementing command timeouts which terminate the command as soon as elapsed, and then get the final output so it can be sent to the model. -Note: `terminal/release` when `TerminalId` is no longer needed. +Note: Call `terminal/release` when `TerminalId` is no longer needed. See protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals) diff --git a/docs/protocol/schema.mdx b/docs/protocol/schema.mdx index 2f7230ce..07393c5d 100644 --- a/docs/protocol/schema.mdx +++ b/docs/protocol/schema.mdx @@ -852,7 +852,7 @@ This method can be helpful when implementing command timeouts which terminate the command as soon as elapsed, and then get the final output so it can be sent to the model. -Note: `terminal/release` when `TerminalId` is no longer needed. +Note: Call `terminal/release` when `TerminalId` is no longer needed. See protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals) diff --git a/schema/schema.json b/schema/schema.json index ae008f8c..2f5d87b0 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -170,7 +170,7 @@ "$ref": "#/$defs/KillTerminalCommandRequest" } ], - "description": "Kills the terminal command without releasing the terminal\n\nWhile `terminal/release` will also kill the command, this method will keep\nthe `TerminalId` valid so it can be used with other methods.\n\nThis method can be helpful when implementing command timeouts which terminate\nthe command as soon as elapsed, and then get the final output so it can be sent\nto the model.\n\nNote: `terminal/release` when `TerminalId` is no longer needed.\n\nSee protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals)", + "description": "Kills the terminal command without releasing the terminal\n\nWhile `terminal/release` will also kill the command, this method will keep\nthe `TerminalId` valid so it can be used with other methods.\n\nThis method can be helpful when implementing command timeouts which terminate\nthe command as soon as elapsed, and then get the final output so it can be sent\nto the model.\n\nNote: Call `terminal/release` when `TerminalId` is no longer needed.\n\nSee protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals)", "title": "KillTerminalCommandRequest" }, { diff --git a/schema/schema.unstable.json b/schema/schema.unstable.json index f6bed4ae..7a2b9360 100644 --- a/schema/schema.unstable.json +++ b/schema/schema.unstable.json @@ -170,7 +170,7 @@ "$ref": "#/$defs/KillTerminalCommandRequest" } ], - "description": "Kills the terminal command without releasing the terminal\n\nWhile `terminal/release` will also kill the command, this method will keep\nthe `TerminalId` valid so it can be used with other methods.\n\nThis method can be helpful when implementing command timeouts which terminate\nthe command as soon as elapsed, and then get the final output so it can be sent\nto the model.\n\nNote: `terminal/release` when `TerminalId` is no longer needed.\n\nSee protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals)", + "description": "Kills the terminal command without releasing the terminal\n\nWhile `terminal/release` will also kill the command, this method will keep\nthe `TerminalId` valid so it can be used with other methods.\n\nThis method can be helpful when implementing command timeouts which terminate\nthe command as soon as elapsed, and then get the final output so it can be sent\nto the model.\n\nNote: Call `terminal/release` when `TerminalId` is no longer needed.\n\nSee protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals)", "title": "KillTerminalCommandRequest" }, { diff --git a/src/client.rs b/src/client.rs index dada5581..25fbfa74 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1681,7 +1681,7 @@ pub enum AgentRequest { /// the command as soon as elapsed, and then get the final output so it can be sent /// to the model. /// - /// Note: `terminal/release` when `TerminalId` is no longer needed. + /// Note: Call `terminal/release` when `TerminalId` is no longer needed. /// /// See protocol docs: [Terminals](https://agentclientprotocol.com/protocol/terminals) KillTerminalCommandRequest(KillTerminalCommandRequest),