From 45cc189f2512fc563024740f4297ad15c082d99b Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 9 Jan 2026 23:48:24 +0100 Subject: [PATCH] fix(unstable): Add copy to SessionConfigOptionCategory --- AGENTS.md | 1 - src/agent.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2129d3c7..341acb32 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,7 +17,6 @@ All paths in the protocol should be absolute Request/Response structs: `NewTerminalRequest` / `NewTerminalResponse` Method names struct: `terminal_new: &'static str` -- Do not write any tests or docs at all! - Add constants for the method names - Add variants to {Agent|Client}{Request|Response} enums - Add the methods to the Client/Agent impl of {Agent|Client}SideConnection in src/acp.rs diff --git a/src/agent.rs b/src/agent.rs index 4478d823..56ab5370 100644 --- a/src/agent.rs +++ b/src/agent.rs @@ -1568,7 +1568,7 @@ impl SessionConfigSelect { /// placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown /// categories gracefully (treat as `Other`). #[cfg(feature = "unstable_session_config_options")] -#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, Serialize, Deserialize, JsonSchema, PartialEq, Eq)] #[serde(rename_all = "snake_case")] #[non_exhaustive] pub enum SessionConfigOptionCategory {