mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
Closes #1947 Adds API 1.3 `fs.plugin-dir`: a persistent owner-only directory per plugin (0700 directories / 0600 files on Unix, owner-only ACL on Windows), separate from the packaged code, storage and secrets. The plugin reads and writes under it without fs.* grants, can open files there in the editor and pass their paths to approved programs; editor saves keep the protection, restart keeps the content, uninstall removes it. Traversal and symlink escapes into other plugins' directories are rejected (real-Wasm regressions). Co-authored-by: arnaud-ritti <[email protected]>
33 lines
959 B
TOML
33 lines
959 B
TOML
[package]
|
|
name = "ide-vfs"
|
|
description = "File system access: directory listing, text loading/saving with encoding detection, watching, project walking"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
dunce.workspace = true
|
|
gix = { workspace = true, features = ["sha1", "sha256"] }
|
|
ide-core.workspace = true
|
|
serde.workspace = true
|
|
specta.workspace = true
|
|
ignore.workspace = true
|
|
globset.workspace = true
|
|
notify.workspace = true
|
|
encoding_rs.workspace = true
|
|
chardetng.workspace = true
|
|
trash.workspace = true
|
|
tracing.workspace = true
|
|
parking_lot.workspace = true
|
|
zip.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
rustix = { version = "1.1", features = ["fs", "process"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security_Authorization", "Win32_Storage_FileSystem"] }
|