Files
awesome-opencode/data/plugins/opencode-awake.yaml
John SmithandClaude Opus 5.5 3a6d104fcf chore(data): backfill kind, topics and compat for every entry; follow renamed repos
- kind/topics: keyword first pass, then reviewed and corrected by hand for all 513 entries
- compat: detected from npm packages, package.json and source (scripts/utils/compat.js). Plugins: 134 v2, 125 v1, 12 unverified; 13 entries the review loop marked V2 pin @opencode-ai/plugin 1.x, and ~20 loop V2 verdicts based only on the absence of V1 markers are V1 plugin functions in source
- npm and path filled where verifiable (package repository matches the entry); 9 bogus npm values from install prose were not kept
- 29 repo URLs updated to the renamed/transferred repository; xberg-io entries point at their live repos instead of the archived monorepo; lavi uses repo + path instead of a /tree/ URL
- removed projects/opencode-sessions.yaml (same repo as plugins/opencode-sessions.yaml)
- install: renamed to installation:, mojibake fixed, inline HTML links removed from two descriptions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-17 13:00:22 -04:00

33 lines
933 B
YAML

name: Awake
repo: https://github.com/vvo/opencode-plugins
path: packages/awake
npm: opencode-awake
homepage: https://www.npmjs.com/package/opencode-awake
tagline: Keeps your computer awake while a session works, even with the lid closed
description: OpenCode plugin that keeps the computer from sleeping while a session is working, including lid-close sleep on MacBooks. Other sleep plugins only block idle sleep with caffeinate; this one also blocks lid sleep via pmset on macOS and systemd-inhibit on Linux, and releases it as soon as every session is idle.
kind: plugin
topics:
- environment
compat: v2
scope:
- global
tags:
- sleep
- caffeinate
- macos
- linux
installation: |
OpenCode 2:
```sh
opencode plugin add opencode-awake
```
OpenCode 1, in `opencode.json`:
```json
{ "plugin": ["opencode-awake"] }
```
On macOS, allowing `pmset` without a password is needed for the closed-lid feature.