@rehydra/opencode 0.16.3 → 0.16.5
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This plugin intercepts the conversation between [OpenCode](https://github.com/an
|
|
|
6
6
|
|
|
7
7
|
Detected values are masked in requests that pass through the plugin hooks. Local tools receive the restored values.
|
|
8
8
|
|
|
9
|
-
**OpenCode compatibility:** the default entrypoint supports both OpenCode 2 (V2 plugin API) and OpenCode 1 (
|
|
9
|
+
**OpenCode compatibility:** the default entrypoint supports both OpenCode 2 (V2 plugin API, which reads `id` and `setup()`) and OpenCode 1 (1.18.29 and later call `server()` on object entrypoints; older releases should import the `rehydra` function export or pin `@rehydra/opencode@0.14`). OpenCode 2 also accepts the old singular `plugin` config key. The same package ships both implementations:
|
|
10
10
|
|
|
11
11
|
- OpenCode 2 — `Plugin.define({ id: "rehydra", setup(ctx) })` via `createRehydraPluginV2()`
|
|
12
12
|
- OpenCode 1 — classic hooks object via `createRehydraPlugin()`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rehydra/opencode",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.5",
|
|
4
4
|
"description": "Rehydra plugin for OpenCode — anonymizes secrets in LLM context using native plugin hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"directory": "packages/opencode-plugin"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"rehydra": "^0.16.
|
|
32
|
+
"rehydra": "^0.16.5"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=18.0.0"
|