Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jurij-jukic committed May 10, 2024
1 parent b390966 commit 137645e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The [terminal syntax](https://github.com/kinode-dao/kinode?tab=readme-ov-file#te

## Commands

All commands in the [terminal](https://github.com/kinode-dao/kinode/tree/main/kinode/packages/terminal) are calling scripts - a special kind of process.
All commands in the [terminal](https://github.com/kinode-dao/kinode/tree/main/kinode/packages/terminal) are calling scripts a special kind of process.
Kinode OS comes pre-loaded with a number of scripts useful for debugging and everyday use.
These scripts are fully named `<SCRIPT>:terminal:sys` e.g `hi:terminal:sys`, but the distro [aliases](#alias---alias-a-script-name) these to short names, in this case just `hi`, for convenience.

Expand Down Expand Up @@ -96,7 +96,8 @@ The object can contain the following fields:
- `request_networking` (Boolean): Specifies whether the script will get networking capabilities
- `request_capabilities` (Array): An array that lists the capabilities requested by the script. Each element in the array can be either a string or an object.
The string represents a `ProcessId` that this script will be able to message. When an object is used, it specifies a different kind of capability from `issuer` with `params` as an arbitrary json object.
- `grant_capabilities` (Array of strings): An array of `ProcessId`s which represents which processes will be able to send a `Response` back to this script. If this script is public, `grant_capabilities` can stay empty.
- `grant_capabilities` (Array of strings): An array of `ProcessId`s which represents which processes will be able to send a `Response` back to this script.
If this script is public, `grant_capabilities` can stay empty.

Processes may not necessarily use all these fields.
For instance, "m.wasm" only uses root, public, and `request_networking`, omitting `request_capabilities` and `grant_capabilities`.
Expand Down

0 comments on commit 137645e

Please sign in to comment.