opencode-context 1.0.0 → 1.0.1
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 +2 -2
- package/dist/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,14 +10,14 @@ Add to `~/.config/opencode/opencode.json`:
|
|
|
10
10
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
|
-
"plugin": ["opencode-context"]
|
|
13
|
+
"plugin": ["opencode-context@latest"]
|
|
14
14
|
}
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Or run:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
bunx opencode-context install
|
|
20
|
+
bunx opencode-context@latest install
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
OpenCode will auto-install the plugin from npm on next startup.
|
package/dist/install.js
CHANGED
|
@@ -33,7 +33,7 @@ async function install() {
|
|
|
33
33
|
if (!config.plugin) {
|
|
34
34
|
config.plugin = [];
|
|
35
35
|
}
|
|
36
|
-
const pluginName = "opencode-context";
|
|
36
|
+
const pluginName = "opencode-context@latest";
|
|
37
37
|
if (config.plugin.includes(pluginName)) {
|
|
38
38
|
console.log("\u2713 OpenContext already in plugins");
|
|
39
39
|
} else {
|
package/package.json
CHANGED