akm-opencode-v2 0.10.261001-beta → 0.10.261003-beta
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 +6 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,20 +9,22 @@ Using OpenCode 1.x? Install [`akm-opencode`](../opencode/README.md) instead. Ins
|
|
|
9
9
|
| OpenCode | 1.x (tested 1.18.34) | 2.x (built and loaded against 2.0.26) |
|
|
10
10
|
| Plugin API | `@opencode-ai/plugin` 1.x | `@opencode/plugin` 2.0.26 (Effect entrypoint) |
|
|
11
11
|
| `akm-cli` | `0.10.26101002-alpha`, exact | `0.10.26101002-alpha`, exact |
|
|
12
|
-
| Config key | `"plugin": ["akm-opencode"]` | `"plugins": ["akm-opencode-v2"]` |
|
|
12
|
+
| Config key | `"plugin": ["akm-opencode"]` | `"plugins": ["akm-opencode-v2@next"]` |
|
|
13
13
|
|
|
14
14
|
This package depends on neither `opencode-ai` nor `@opencode/cli`. Installing it never installs or replaces your `opencode` binary.
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
-
Add the plugin to your OpenCode 2 configuration (the `plugins` array in `opencode.json`, or run `opencode plugin add akm-opencode-v2`):
|
|
18
|
+
Add the plugin to your OpenCode 2 configuration (the `plugins` array in `opencode.json`, or run `opencode plugin add akm-opencode-v2@next`):
|
|
19
19
|
|
|
20
20
|
```json
|
|
21
21
|
{
|
|
22
|
-
"plugins": ["akm-opencode-v2"]
|
|
22
|
+
"plugins": ["akm-opencode-v2@next"]
|
|
23
23
|
}
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
Use `@next` (the prerelease channel) or an exact version such as `akm-opencode-v2@0.10.261002-beta`, not the bare name. OpenCode 2 resolves a bare name to `*`, which excludes prereleases, and every published `akm-opencode-v2` version is a prerelease, so `akm-opencode-v2` alone fails with `No matching version found for akm-opencode-v2@*`.
|
|
27
|
+
|
|
26
28
|
`akm-cli@0.10.26101002-alpha` is installed with the plugin and is the `akm` it runs (set `AKM_OPENCODE_CLI` to an absolute path to use another executable). `@opencode/plugin` and `effect` are peer dependencies: OpenCode supplies its own copies at load time, so they are external to the published bundle.
|
|
27
29
|
|
|
28
30
|
## Tools
|
|
@@ -87,7 +89,7 @@ Differences from V1 in general: V1 awaits some hooks synchronously; V2's helpers
|
|
|
87
89
|
|
|
88
90
|
## Compatibility and updating
|
|
89
91
|
|
|
90
|
-
Both plugins pin the same `akm-cli` and use only its public CLI, against the same AKM databases. Update order: install or upgrade `akm-cli` first (or let the plugin's dependency do it), then the plugin matching your OpenCode major. A new `akm-opencode-v2` release never changes `akm-opencode`'s default export or `latest` tag, and vice versa. Moving from OpenCode 1 to 2 means replacing `akm-opencode` with `akm-opencode-v2` in the new host's configuration; AKM data is untouched.
|
|
92
|
+
Both plugins pin the same `akm-cli` and use only its public CLI, against the same AKM databases. Update order: install or upgrade `akm-cli` first (or let the plugin's dependency do it), then the plugin matching your OpenCode major. To update `akm-opencode-v2`, run `opencode plugin check`, then `opencode plugin update`, then restart OpenCode. A tag spec such as `@next` is never re-resolved on restart, so a restart alone does not update it; `plugin update` installs the new build into a new cache folder and leaves the old folders behind; and `plugin list` / `plugin check` print "No plugins found" until the service has loaded its plugins after a restart. A new `akm-opencode-v2` release never changes `akm-opencode`'s default export or `latest` tag, and vice versa. Moving from OpenCode 1 to 2 means replacing `akm-opencode` with `akm-opencode-v2` in the new host's configuration; AKM data is untouched.
|
|
91
93
|
|
|
92
94
|
### Verification receipt
|
|
93
95
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akm-opencode-v2",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.261003-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenCode 2 plugin for AKM: the five AKM tools, automatic recall, and automatic session extraction. For OpenCode 1, use akm-opencode.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typecheck": "tsc -p tsconfig.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"akm-cli": "0.10.
|
|
42
|
+
"akm-cli": "0.10.261004-beta"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@opencode/plugin": "2.0.26",
|