# @kubb/studio
Kubb Studio client runtime.
Connects a Kubb project to [Kubb Studio](https://kubb.studio) through typed Cap'n Web RPC over one
authenticated WebSocket, and publishes snapshots from CI in one HTTP request. It backs the `kubb studio`
CLI command and the `kubblabs/kubb-agent` Docker image.
Most people never install this directly. Reach for `kubb studio` instead, which pairs your machine
and runs this for you.
## Installation
```shell
npm install @kubb/studio
```
## Permissions
Every permission is off by default, and each covers one trust boundary:
| Option | What it grants |
| ----------------- | ---------------------------------------------------------------------------------------------- |
| `allowWrite` | Generated files are written to disk. Off means they exist only in memory and stream to Studio. |
| `allowExec` | The formatter, the linter, and `output.postGenerate` run as child processes. |
| `allowConfigEdit` | Studio may change plugin options in `kubb.config.ts`. |
| `allowRead` | Studio may read existing output files and the files a generation produced. |
| `allowReadAst` | Studio may read back the parsed spec (the Kubb AST). |
| `allowFileRefs` | A `$ref` in the spec may read a local file outside the project. |
A sandbox never writes or edits config. A sandbox the host declares with `agentType: 'sandbox'` or `'global'` always allows reads.
## Supporting Kubb
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
- [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
- [See sponsorship tiers and our sponsors](https://kubb.dev/sponsors)