Skip to content

Commit

Permalink
proofreading
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Tada authored and Drew Tada committed Jan 30, 2024
1 parent b61394e commit e8b47f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cookbook/writing_scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Let's look at the simplest possible script: `echo`, which takes in an argument,
use kinode_process_lib::{await_next_request_body, call_init, println, Address, Response};

wit_bindgen::generate!({
path: "../../../wit",
path: "wit",
world: "process",
exports: {
world: Component,
Expand Down
4 changes: 2 additions & 2 deletions src/terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Each top-level key represents the path of the WASM module in your package, usual
The value for each module is an object that specifies the configuration for that particular module.
The object can contain the following fields:

- `root` (Boolean): Indicates whether the script has root privileges
- `root` (Boolean): Indicates whether the script has "root" privileges - meaning whether it gets *every* capability that the terminal has (not necessarily every capability in existence on your machine)
- `public` (Boolean): Determines if the script is publicly accessible by other processes
- `requestNetworking` (Boolean): Specifies whether the script will get networking capabilities
- `requestCapabilities` (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.
Expand Down Expand Up @@ -138,7 +138,7 @@ As a simple example, let's look at the `echo` code:
use kinode_process_lib::{await_next_request_body, call_init, println, Address, Response};

wit_bindgen::generate!({
path: "../../../wit",
path: "wit",
world: "process",
exports: {
world: Component,
Expand Down

0 comments on commit e8b47f2

Please sign in to comment.