trying to integrate chainlink into opencode
1# Chainlink OpenCode Plugin
2
3Integrates [Chainlink](https://github.com/dollspace-gay/chainlink) issue tracking into OpenCode.
4
5## Installation
6
7```jsonc
8// opencode.json
9{
10 "plugin": ["git@tangled.org:karitham.dev/chainlink-opencode"],
11}
12```
13
14## Tools
15
16- `chainlink({ command })`: Run any chainlink command (e.g., `show 42`, `create "fix bug"`)
17- `chainlink_session({ action, id?, notes? })`: Manage session lifecycle (`start`, `work`, `end`, `status`)
18- `chainlink_rules({ rule? })`: Read rules from `.chainlink/rules/`
19- `chainlink_next()`: Get next issue recommendation
20
21## Features
22
23- **Rule Enforcement**: Reminds agents to read rules before editing code.
24- **Auto Context**: Injects priority issues at session start.
25- **Dynamic Language Hints**: Automatically detects file language and prompts to read language-specific rules when reading code files.