# opencode-readseek

OpenCode plugin for anchored edits, structural search, symbol navigation, and
document inspection.

## Install

Add the plugin to `opencode.json`:

```json
{
  "plugin": ["opencode-readseek"]
}
```

The plugin uses the native binary supplied by `@jarkkojs/readseek-api`. Set
`READSEEK_BINARY` to an absolute executable path to override it.

## Tools

`readseek_edit`, `readseek_write`, `readseek_grep`, `readseek_digest`,
`readseek_search`, `readseek_def`, `readseek_refs`, `readseek_rename`, and
`readseek_view`.

To control image handling:

```json
{
  "plugin": [["opencode-readseek", { "imageMode": "auto" }]]
}
```

`imageMode` is `auto` (default), `on`, or `off`.

## Development

```sh
bun install
bun test
bun run typecheck
```


## Licensing

`opencode-readseek` is licensed under the Apache 2.0 license. See [LICENSE](LICENSE)
for more information.
