Skip to content

Commit 0af1f96

Browse files
committed
docs: add installation snippet
1 parent 3f23722 commit 0af1f96

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

plugins/caffeinate/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ Prevent your system from sleeping during agentic workflows.
1111

1212
## Installation
1313

14-
Copy the [content](https://unpkg.com/@opencode-plugins/caffeinate@1.0.0/dist/plugin.js) to `~/.config/opencode/plugin/caffeinate.js`
14+
Add the package to your plugins list in `~/.config/opencode/opencode.json`:
15+
16+
```json
17+
{
18+
"plugins": ["@opencode-plugins/caffeinate"]
19+
}
20+
```

plugins/env-protection/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@
77
| windows | :white_check_mark: |
88

99
Prevent opencode to read any `.env` file - this is taken 1:1 from [opencode docs](https://opencode.ai/docs/plugins/#env-protection).
10+
11+
## Installation
12+
13+
Add the package to your plugins list in `~/.config/opencode/opencode.json`:
14+
15+
```json
16+
{
17+
"plugins": ["@opencode-plugins/env-protection"]
18+
}
19+
```

0 commit comments

Comments
 (0)