Class ServerSessionFsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerSessionFsApi
API methods for the
sessionFs namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionInitial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider.
-
Method Details
-
setProvider
@CopilotExperimental public CompletableFuture<SessionFsSetProviderResult> setProvider(SessionFsSetProviderParams params) 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.- Since:
- 1.0.0
-