opencode-moli 2.1.1 → 3.1.0

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 CHANGED
@@ -28,7 +28,21 @@ The build copies the shared `lib/moli.js` and `lib/install.js` into
28
28
 
29
29
  ## Install
30
30
 
31
- Add the plugin directory to `opencode.json` or `opencode.jsonc`:
31
+ Install the published package with OpenCode's package manager:
32
+
33
+ ```powershell
34
+ opencode plugin add opencode-moli@3.1.0
35
+ ```
36
+
37
+ Equivalently, add the package to `opencode.json` or `opencode.jsonc`:
38
+
39
+ ```json
40
+ {
41
+ "plugins": ["opencode-moli@3.1.0"]
42
+ }
43
+ ```
44
+
45
+ For local development, add the plugin directory instead:
32
46
 
33
47
  ```json
34
48
  {
@@ -36,8 +50,7 @@ Add the plugin directory to `opencode.json` or `opencode.jsonc`:
36
50
  }
37
51
  ```
38
52
 
39
- Restart OpenCode after changing the plugin list. Once the package is published,
40
- the entry can be the package name instead of a path.
53
+ Restart OpenCode if changing a local plugin does not trigger its automatic reload.
41
54
 
42
55
  ## Configuration
43
56
 
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { Plugin } from '@opencode/plugin'
16
16
  import { MANUAL_INSTALL, installMoli } from './lib/install.js'
17
17
  import { findMoli, moliCandidates, probe, runFetch } from './lib/moli.js'
18
18
 
19
- const SERVER_VERSION = '2.1.1'
19
+ const SERVER_VERSION = '3.1.0'
20
20
  const DEFAULT_SEARCH_URLS = [
21
21
  'https://www.bing.com/search?q={query}',
22
22
  'https://html.duckduckgo.com/html/?q={query}',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-moli",
3
- "version": "2.1.1",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "description": "OpenCode plugin for the local Moli headless browser: free browser-backed web search, rendered fetches, screenshots, and PDFs.",
6
6
  "license": "MIT",