ProfileWorkspaceRoot (src/permission_profile_snapshot.rs)

openinterpreter · codex-rs/protocol/src/permission_profile_snapshot.rs · rust · Apache-2.0
auth, security

Represents a trusted snapshot of a permission profile, including active profile and workspace roots.

// Source: https://github.com/openinterpreter/openinterpreter | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Trusted permission state keeps local and remote profile roots as executor path URIs.

use codex_utils_absolute_path::AbsolutePathBuf;
use codex_utils_path_uri::PathUri;

use crate::models::ActivePermissionProfile;
use crate::models::PermissionProfile;

/// A profile-declared root, separate from turn-scoped runtime workspace roots.
///
/// Local and remote roots share the same URI representation. Snapshot equality
/// compares the stored URI spelling without folding Windows case, so a spelling
/// change still propagates through settings.
#[derive(Debug, Clone, Eq)]
pub

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key