Skip to content

Commit

Permalink
mfa: fix chapter 1 api/ section
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig committed Nov 4, 2024
1 parent 6819948 commit de0ab33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/my_first_app/chapter_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,10 @@ You can read more about `ProcessId`s [here](../system/process/processes.md#overv
### `api/`

The `api/` directory is an optional directory where packages can declare their public API.
Other packages can then mark a package as a dependency in their `metadata.json` and
Other packages can then mark a package as a dependency in their `metadata.json` to include those types and functions defined therein.
The API is useful for composability and for LLM agents as definitions of "tools" for programatic access.

For further reading, see discussion in [WIT APIs](../system/process/wit_apis.md), and [`kit view-api`](../kit/view-api.md).
For further reading, see discussion in [WIT APIs](../system/process/wit_apis.md), [the package APIs recipe](../cookbook/package_apis.md), [the package APIs (with workers) recipe](../cookbook/package_apis_workers.md), and [`kit view-api`](../kit/view-api.md).

## Building the Package

Expand Down

0 comments on commit de0ab33

Please sign in to comment.