@yeyuan98/opencode-bioresearcher-plugin 1.6.4 → 1.6.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 CHANGED
@@ -175,6 +175,7 @@ BioMCP is absolutely required and might take time to load. You will need to have
175
175
  | Agent not appearing | Check plugin in opencode.json is typed correctly |
176
176
  | BioMCP tool failures | Make sure you have BioMCP [installed and enabled](https://opencode.ai/docs/mcp-servers/#enable). The `mcp.biomcp` config in opencode.json is **required** — without it, biomcp tools will not exist regardless of agent permissions. |
177
177
  | biomcp tools not available to agents | Ensure the `mcp` section is present in your `opencode.json`. Agent permission config only controls access to tools that already exist — it cannot create tools that the MCP server hasn't registered. |
178
+ | Skills not copying after update | Clear stale plugin cache: `rm -rf ~/.cache/opencode/packages/@yeyuan98/opencode-bioresearcher-plugin@latest` |
178
179
  | Research taking a long time | Check whether subagents are generating outputs; could be slow model / API throttle / overcomplicated query / etc. |
179
180
 
180
181
  ## License
@@ -10,9 +10,12 @@ function getPluginSkillsDir() {
10
10
  const isDist = currentDir.includes(`${pathSep}dist${pathSep}`);
11
11
  const isSrc = currentDir.includes(`${pathSep}src${pathSep}`);
12
12
  if (isDist) {
13
- const candidate = path.join(currentDir, "..", "..", "skills");
14
- if (existsSync(candidate))
15
- return candidate;
13
+ const distSkills = path.join(currentDir, "..", "skills");
14
+ if (existsSync(distSkills))
15
+ return distSkills;
16
+ const rootSkills = path.join(currentDir, "..", "..", "skills");
17
+ if (existsSync(rootSkills))
18
+ return rootSkills;
16
19
  }
17
20
  else if (isSrc) {
18
21
  const candidate = path.join(currentDir, "..", "..", "..", "skills");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeyuan98/opencode-bioresearcher-plugin",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "OpenCode plugin that adds a bioresearcher agent",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",