@lore-co/opencode 0.2.35 → 0.2.37

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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -42,14 +42,18 @@ plugin yourself:
42
42
  pnpm add --global @lore-co/opencode
43
43
  ```
44
44
 
45
- Then add the package name to OpenCode's plugin array:
45
+ Then add the package to OpenCode's plugin array with the version you installed:
46
46
 
47
47
  ```json
48
48
  {
49
- "plugin": ["@lore-co/opencode"]
49
+ "plugin": ["@lore-co/opencode@<version>"]
50
50
  }
51
51
  ```
52
52
 
53
+ OpenCode installs a plugin once and keeps using that copy. To update, change
54
+ the version and restart OpenCode. `lore connect` and `lore update` do this for
55
+ you.
56
+
53
57
  The plugin reads `LORE_API_URL` plus `LORE_WORKSPACE_TOKEN` (or `LORE_TOKEN`)
54
58
  from the environment. If those are unset, it falls back to `~/.lore/config.json`
55
59
  from `lore connect`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lore-co/opencode",
3
- "version": "0.2.35",
3
+ "version": "0.2.37",
4
4
  "description": "Durable Lore context and capture integration for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",
@@ -38,10 +38,10 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@opencode-ai/plugin": "^1.18.18",
41
- "@lore-co/adapter-generic": "0.2.35",
42
- "@lore-co/cli": "0.2.35",
43
- "@lore-co/core": "0.2.35",
44
- "@lore-co/sdk": "0.2.35"
41
+ "@lore-co/cli": "0.2.37",
42
+ "@lore-co/adapter-generic": "0.2.37",
43
+ "@lore-co/core": "0.2.37",
44
+ "@lore-co/sdk": "0.2.37"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^26.2.0",