chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-10 02:06:39 +00:00
parent 10ea59066f
commit d80e1199ca
@@ -16,7 +16,7 @@ so the user's editor catches mistakes as they type.
## Where files live ## Where files live
| Scope | Path | | Scope | Path |
|---|---| | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Project config | `./opencode.json`, `./opencode.jsonc`, or `.opencode/opencode.json` (opencode walks up from the cwd to the worktree root) | | Project config | `./opencode.json`, `./opencode.jsonc`, or `.opencode/opencode.json` (opencode walks up from the cwd to the worktree root) |
| Global config | `~/.config/opencode/opencode.json` (NOT `~/.opencode/`) | | Global config | `~/.config/opencode/opencode.json` (NOT `~/.opencode/`) |
| Project agents | `.opencode/agent/<name>.md` or `.opencode/agents/<name>.md` | | Project agents | `.opencode/agent/<name>.md` or `.opencode/agents/<name>.md` |
@@ -143,7 +143,7 @@ description: One sentence covering what this skill does AND when to trigger it.
``` ```
- `name` is required, lowercase hyphen-separated, up to 64 chars, and matches the folder name. - `name` is required, lowercase hyphen-separated, up to 64 chars, and matches the folder name.
- `description` is effectively required: skills without one are filtered out and never surfaced to the model. Cover both *what* the skill does and *when* to use it. Write in third person ("Use when...", not "I help with..."). Front-load concrete trigger keywords and filenames; gate with "Use ONLY when..." if the skill should stay quiet on adjacent topics. - `description` is effectively required: skills without one are filtered out and never surfaced to the model. Cover both _what_ the skill does and _when_ to use it. Write in third person ("Use when...", not "I help with..."). Front-load concrete trigger keywords and filenames; gate with "Use ONLY when..." if the skill should stay quiet on adjacent topics.
- Optional: `license`, `compatibility`, `metadata` (string-string map). - Optional: `license`, `compatibility`, `metadata` (string-string map).
Register skills from non-default locations via `skills.paths` (scanned Register skills from non-default locations via `skills.paths` (scanned
@@ -248,6 +248,7 @@ export default (async ({ client, project, directory, $ }) => {
``` ```
Hook surface (mutate `output` in place; return `void`): Hook surface (mutate `output` in place; return `void`):
- `event(input)`: every bus event - `event(input)`: every bus event
- `config(cfg)`: once on init with the merged config - `config(cfg)`: once on init with the merged config
- `chat.message`, `chat.params`, `chat.headers` - `chat.message`, `chat.params`, `chat.headers`