ZIm/crates/extension/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
..
types Use Extension trait in ExtensionLspAdapter (#20704) 2024-11-14 20:44:57 -05:00
extension.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
extension_builder.rs Bump Tree-sitter for bug fixes affecting YAML parser loaded via WASM (#25054) 2025-02-17 21:29:27 -08:00
extension_host_proxy.rs theme: Don't log errors for missing themes until extensions have loaded (#25098) 2025-02-18 17:47:25 +00:00
extension_manifest.rs extension: Add capabilities for the process API (#26224) 2025-03-06 11:55:00 -05:00
types.rs Use Extension trait when registering extension context servers (#21070) 2024-11-22 13:21:30 -05:00