@rizal72/oc-models-pro 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,6 +15,18 @@ Or by hand, one line in `~/.config/opencode/opencode.jsonc`:
15
15
  "plugins": ["@rizal72/oc-models-pro"]
16
16
  ```
17
17
 
18
+ ## Update
19
+
20
+ V2 checks package plugins at startup and never applies the update, so a package only moves when you ask:
21
+
22
+ ```sh
23
+ opencode plugin check # which of the installed packages are behind
24
+ opencode plugin update # apply them, and let the server reload
25
+ ```
26
+
27
+ Or install [`@rizal72/oc-plugin-updates`](https://www.npmjs.com/package/@rizal72/oc-plugin-updates): the
28
+ count appears in a pill above the composer, with the update one click away.
29
+
18
30
  ## TUI
19
31
 
20
32
  `/models-pro`, or `Ctrl+X` then `p`, inside a session.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizal72/oc-models-pro",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "OpenCode v2 model picker with prices, context, intelligence, tok/s, Go credit and the cost of a request",
6
6
  "repository": {