opencode-raven 2.1.8 → 2.2.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.
package/mcp-guidance.md CHANGED
@@ -1,35 +1,33 @@
1
- ## Raven tool/MCP routing guidance
2
-
3
- Do not call tools or MCPs that Raven blocks directly. Raven may route search/fetch tools, docs/web/GitHub MCPs, user-configured tool/MCP prefixes, or on-demand MCP capabilities through `raven_seek` to save context.
4
-
5
- Use `raven_seek(query="...")` as the next tool call for blocked tool/MCP requests. Include the original tool/MCP name, intent, and relevant arguments.
6
-
7
- When a request follows up on an earlier Raven result, pass the Raven session ID returned by that call as `sessionId` so Raven retains its research context. Omit `sessionId` for unrelated work.
8
-
9
- For on-demand MCP requests, include the target MCP server and likely tool name in the `raven_seek` query when the listed capabilities make that obvious. Do not call `raven_mcp` directly unless you are Raven.
10
-
11
- Raven commonly handles:
12
-
13
- - local codebase search
14
- - filesystem discovery
15
- - reading a specific URL or webpage
16
- - web search and current information
17
- - docs/library/API lookup
18
- - public GitHub examples
19
- - user-configured MCP requests
20
- - on-demand MCPs configured in Raven, without exposing their full schemas to the main session
21
- - command-output or local system inspection that would otherwise use grep/rg/head over command output
22
-
23
- Examples:
24
-
25
- `raven_seek(query="Search the repo for where auth tokens are validated")`
26
-
27
- `raven_seek(query="Fetch/read https://example.com and summarize the install instructions")`
28
-
29
- `raven_seek(query="Check whether archivemount/libarchive supports ISO or UDF. Use docs, web, or command output as needed.")`
30
-
31
- `raven_seek(query="Use the Linear MCP to find open bugs assigned to me and summarize the top 3")`
32
-
33
- `raven_seek(query="Compare the first two bugs in more detail", sessionId="ses_...")`
34
-
35
- Simple piped output filters like `command | grep ...`, `command | rg ...`, `command | findstr ...`, or `command | head ...` are allowed when they only filter bounded output from the immediately preceding command.
1
+ ## Raven search/MCP routing guidance
2
+
3
+ Raven performs search and information retrieval only. The calling agent must retain code review, auditing, correctness judgments, implementation, debugging decisions, planning, and final recommendations.
4
+
5
+ Non-Raven agents use `raven_seek` for narrowly scoped evidence retrieval when a routed local search, filesystem discovery, URL fetch, web/docs/GitHub search, globally configured MCP, or search-like shell command is blocked. Include the original tool intent and relevant arguments. Do not delegate an entire review or general task.
6
+
7
+ Non-Raven agents use `raven_mcp` for information available through Raven's configured on-demand MCP servers. Include the target server or capability when obvious. Only the `raven-mcp` agent calls `raven_mcp_bridge`; it must use the bridge directly instead of either public delegation tool.
8
+
9
+ When a request follows up on an earlier Raven result, pass the session ID returned by the matching tool. Omit `sessionId` for unrelated work and never pass a `raven_seek` session to `raven_mcp` or vice versa.
10
+
11
+ Appropriate `raven_seek` requests:
12
+
13
+ - Find definitions, references, files, or concrete code locations.
14
+ - Fetch and extract facts from a specific URL.
15
+ - Search current web, documentation, or public GitHub sources.
16
+ - Inspect bounded command output or local system facts.
17
+
18
+ Inappropriate delegation:
19
+
20
+ - Review or audit this codebase.
21
+ - Decide whether an implementation is correct or secure.
22
+ - Plan or implement a feature.
23
+ - Diagnose a bug beyond retrieving requested evidence.
24
+
25
+ Examples:
26
+
27
+ `raven_seek(query="Find every caller of validateToken and return file/line locations")`
28
+
29
+ `raven_seek(query="Fetch/read https://example.com and extract the documented install flags")`
30
+
31
+ `raven_mcp(query="Use Context7 to retrieve the current API documentation for Effect Schema decoding")`
32
+
33
+ Simple piped output filters like `command | grep ...`, `command | rg ...`, `command | findstr ...`, or `command | head ...` are allowed when they only filter bounded output from the immediately preceding command.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-raven",
3
- "version": "2.1.8",
4
- "description": "Context-saving search and on-demand MCP routing for OpenCode through a focused Raven subagent.",
3
+ "version": "2.2.1",
4
+ "description": "Context-saving search and on-demand MCP routing for OpenCode through focused Raven agents.",
5
5
  "main": "./index.ts",
6
6
  "exports": {
7
7
  ".": "./index.ts"
@@ -10,6 +10,7 @@
10
10
  "files": [
11
11
  "index.ts",
12
12
  "Raven.md",
13
+ "RavenMcp.md",
13
14
  "Raven.png",
14
15
  "example.gif",
15
16
  "mcp-guidance.md",