@digi4care/omo-slim-decision-layer 0.2.1 → 0.2.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 +10 -4
- package/dist/index.js +3380 -2983
- package/dist/model/record.d.ts +64 -64
- package/dist/register/register.d.ts +20 -20
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -54,10 +54,8 @@ Add the plugin to your OpenCode config:
|
|
|
54
54
|
OpenCode installs the plugin automatically from npm on the next start. To pin
|
|
55
55
|
a version, replace `@latest` with a specific version (e.g. `@0.2.1`).
|
|
56
56
|
|
|
57
|
-
**Local development
|
|
58
|
-
|
|
59
|
-
that exist on npm; for a local or private build, reference the built file
|
|
60
|
-
directly instead:
|
|
57
|
+
**Local development.** For a local or private build, reference the built file
|
|
58
|
+
directly instead of a package name:
|
|
61
59
|
|
|
62
60
|
```jsonc
|
|
63
61
|
{
|
|
@@ -68,6 +66,14 @@ directly instead:
|
|
|
68
66
|
`dist/index.js` is a single bundle; only `@opencode-ai/plugin` and `zod` are
|
|
69
67
|
external, so the host supplies those.
|
|
70
68
|
|
|
69
|
+
**If you use `min-release-age` in your npm config:** OpenCode's own installer
|
|
70
|
+
enforces it too. A freshly published version cannot be installed by OpenCode
|
|
71
|
+
until it is older than that many days. `min-release-age-exclude` helps for
|
|
72
|
+
direct `npm install` calls but **not** for OpenCode's bundled installer
|
|
73
|
+
(observed on OpenCode 1.18.35). Until the window passes, use the `file://`
|
|
74
|
+
form above, or install into the OpenCode package cache yourself
|
|
75
|
+
(`bun add <pkg>` in `~/.cache/opencode/packages/<pkg>@latest`).
|
|
76
|
+
|
|
71
77
|
## Development
|
|
72
78
|
|
|
73
79
|
```bash
|