mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
mcp: add URI-native sandbox state metadata
This commit is contained in:
@@ -781,6 +781,16 @@ impl McpConnectionManager {
|
||||
.server_supports_sandbox_state_meta_capability)
|
||||
}
|
||||
|
||||
pub async fn server_supports_sandbox_state_meta_v2_capability(
|
||||
&self,
|
||||
server: &str,
|
||||
) -> Result<bool> {
|
||||
Ok(self
|
||||
.client_by_name(server)
|
||||
.await?
|
||||
.server_supports_sandbox_state_meta_v2_capability)
|
||||
}
|
||||
|
||||
/// List resources from the specified server.
|
||||
pub async fn list_resources(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user