6896802d75
- Added native process tree killing and listing functions via new `ps` module in pi-natives crate with platform-specific implementations (Linux /proc, macOS libproc, Windows CreateToolhelp32Snapshot). - Refactored process termination logic to prioritize native process tree killing when available, improving reliability of process cleanup across platforms. - Removed detached process spawning across codebase (bash-executor, shell-session, kernel, lsp client, markitdown conversion) in favor of native process tree management. - Simplified ptree module by removing managed children tracking and postmortem cleanup hooks, delegating process lifecycle management to native implementations.
46 lines
933 B
TOML
46 lines
933 B
TOML
[package]
|
|
name = "pi-natives"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
napi = { version = "3", features = ["napi10", "tokio_rt"] }
|
|
napi-derive = "3"
|
|
grep-regex = "0.1"
|
|
grep-searcher = "0.1"
|
|
grep-matcher = "0.1"
|
|
globset = "0.4"
|
|
ignore = "0.4"
|
|
rayon = "1.10"
|
|
image = { version = "0.25", default-features = false, features = [
|
|
"png",
|
|
"jpeg",
|
|
"gif",
|
|
"webp",
|
|
] }
|
|
bstr = "1"
|
|
unicode-segmentation = "1.11"
|
|
unicode-width = "0.2"
|
|
syntect = { version = "5.3", default-features = false, features = [
|
|
"default-syntaxes",
|
|
"default-themes",
|
|
"regex-fancy",
|
|
] }
|
|
html-to-markdown-rs = { version = "2.24", default-features = false }
|
|
phf = { version = "0.11", features = ["macros"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[build-dependencies]
|
|
napi-build = "2"
|