opencode-context 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -3
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,27 @@ Smart file finder for codebases with relevance scoring. Includes an OpenCode plu
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
+
### For Humans
|
|
8
|
+
|
|
9
|
+
Copy and paste this to your LLM agent (Claude Code, Cursor, etc.):
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Install opencode-context by following the instructions here:
|
|
13
|
+
https://raw.githubusercontent.com/Lukasdias/opencontext/refs/heads/main/README.md
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Or read the installation guide below.
|
|
17
|
+
|
|
18
|
+
### For LLM Agents
|
|
19
|
+
|
|
20
|
+
Fetch and follow the installation:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
curl -s https://raw.githubusercontent.com/Lukasdias/opencontext/refs/heads/main/README.md
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
7
28
|
### OpenCode Plugin
|
|
8
29
|
|
|
9
30
|
Add to `~/.config/opencode/opencode.json`:
|
|
@@ -60,9 +81,9 @@ find_files query="auth middleware" maxFiles=5
|
|
|
60
81
|
## CLI Usage
|
|
61
82
|
|
|
62
83
|
```bash
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
84
|
+
opencode-context --query "auth" --max-files 5
|
|
85
|
+
opencode-context --interactive
|
|
86
|
+
opencode-context -q "database" --json
|
|
66
87
|
```
|
|
67
88
|
|
|
68
89
|
### Options
|
|
@@ -90,6 +111,16 @@ opencontext -q "database" --json
|
|
|
90
111
|
|
|
91
112
|
No index persistence - scans fresh on each query.
|
|
92
113
|
|
|
114
|
+
## Uninstallation
|
|
115
|
+
|
|
116
|
+
Remove from `~/.config/opencode/opencode.json` plugins array:
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"plugin": []
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
93
124
|
## License
|
|
94
125
|
|
|
95
126
|
MIT
|
package/dist/index.js
CHANGED
package/package.json
CHANGED