Download codex-rs/app-server-protocol/src/protocol/v2/computer_use_config.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/computer_use_config.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/src/protocol/v2/computer_use_config.rs
-
curl -L -o computer_use_config.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/computer_use_config.rs
1.35 kB
| use super::AllowDenyRequirement; | |
| use crate::JsonSchema; | |
| use crate::TS; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| use std::collections::BTreeMap; | |
| pub struct ComputerUseConfig { | |
| pub default_app_access: Option<AllowDenyRequirement>, | |
| pub macos: Option<ComputerUseMacosConfig>, | |
| pub windows: Option<ComputerUseWindowsConfig>, | |
| } | |
| pub struct ComputerUseMacosConfig { | |
| pub bundle_ids: Option<BTreeMap<String, AllowDenyRequirement>>, | |
| } | |
| pub struct ComputerUseWindowsConfig { | |
| pub aumids: Option<BTreeMap<String, AllowDenyRequirement>>, | |
| pub exes: Option<Vec<ComputerUseWindowsExeConfig>>, | |
| } | |
| pub struct ComputerUseWindowsExeConfig { | |
| pub publisher_name: String, | |
| pub product_name: String, | |
| pub binary_name: Option<String>, | |
| pub access: AllowDenyRequirement, | |
| } | |