ZIm/crates/extension_host/src
Marshall Bowers 6fd9708eee
extension: Add capabilities for the process API (#26224)
This PR adds support for capabilities for the extension process API.

In order to use the process API, an extension must declare which
commands it wants to use, with arguments:

```toml
[[capabilities]]
kind = "process:exec"
command = "echo"
args = ["hello!"]
```

A `*` can be used to denote a single wildcard in the argument list:

```toml
[[capabilities]]
kind = "process:exec"
command = "echo"
args = ["*"]
```

And `**` can be used to denote a wildcard for the remaining arguments:

```toml
[[capabilities]]
kind = "process:exec"
command = "ls"
args = ["-a", "**"]
```

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2025-03-06 11:55:00 -05:00
..
wasm_host extension: Add capabilities for the process API (#26224) 2025-03-06 11:55:00 -05:00
extension_host.rs Eagerly load the active theme and icon theme (#25368) 2025-02-21 23:57:55 +00:00
extension_settings.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
extension_store_test.rs extension: Add capabilities for the process API (#26224) 2025-03-06 11:55:00 -05:00
headless_host.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
wasm_host.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00