|
@@ -29,13 +29,13 @@
|
|
|
*
|
|
|
* This API has a scope configuration that forces you to restrict the programs and arguments that can be used.
|
|
|
*
|
|
|
- * ### Restricting access to the [[`open`]] API
|
|
|
+ * ### Restricting access to the [[open | `open`]] API
|
|
|
*
|
|
|
* On the allowlist, `open: true` means that the [[open]] API can be used with any URL,
|
|
|
* as the argument is validated with the `^https?://` regex.
|
|
|
* You can change that regex by changing the boolean value to a string, e.g. `open: ^https://github.com/`.
|
|
|
*
|
|
|
- * ### Restricting access to the [[`Command`]] APIs
|
|
|
+ * ### Restricting access to the [[Command | `Command`]] APIs
|
|
|
*
|
|
|
* The `shell` allowlist object has a `scope` field that defines an array of CLIs that can be used.
|
|
|
* Each CLI is a configuration object `{ name: string, cmd: string, sidecar?: bool, args?: boolean | Arg[] }`.
|