pub struct SessionFsSetProviderRequest {
pub capabilities: Option<SessionFsSetProviderCapabilities>,
pub conventions: SessionFsSetProviderConventions,
pub initial_cwd: String,
pub session_state_path: String,
}Expand description
Initial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider. A registered provider is authoritative for path interpretation and filesystem facts used by workspace permission validation. Paths are interpreted lexically; home-relative paths (~ and ~/...) and Windows drive-relative paths such as C:foo are unsupported. Until provider-side canonicalization is supported, providers must not expose symlinks inside allowed roots that escape those roots.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§capabilities: Option<SessionFsSetProviderCapabilities>Optional capabilities declared by the provider
conventions: SessionFsSetProviderConventionsPath conventions used by this filesystem
initial_cwd: StringAbsolute initial working directory for sessions. Registering the provider establishes this path as the root of its virtual namespace; the runtime does not require the provider to materialize or stat it before creating a session.
session_state_path: StringPath within each session’s SessionFs where the runtime stores files for that session