opencode-raven 2.0.1 → 2.1.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/README.md +161 -171
- package/Raven.md +14 -10
- package/example.gif +0 -0
- package/index.ts +865 -97
- package/mcp-guidance.md +24 -21
- package/package.json +6 -2
package/mcp-guidance.md
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
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,
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
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
|
+
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.
|
|
8
|
+
|
|
9
|
+
Raven commonly handles:
|
|
10
|
+
|
|
11
|
+
- local codebase search
|
|
12
|
+
- filesystem discovery
|
|
13
|
+
- reading a specific URL or webpage
|
|
14
|
+
- web search and current information
|
|
15
|
+
- docs/library/API lookup
|
|
16
|
+
- public GitHub examples
|
|
17
|
+
- user-configured MCP requests
|
|
18
|
+
- on-demand MCPs configured in Raven, without exposing their full schemas to the main session
|
|
19
|
+
- command-output or local system inspection that would otherwise use grep/rg/head over command output
|
|
17
20
|
|
|
18
21
|
Examples:
|
|
19
22
|
|
|
@@ -21,8 +24,8 @@ Examples:
|
|
|
21
24
|
|
|
22
25
|
`raven_seek(query="Fetch/read https://example.com and summarize the install instructions")`
|
|
23
26
|
|
|
24
|
-
`raven_seek(query="Check whether archivemount/libarchive supports ISO or UDF. Use docs, web, or command output as needed.")`
|
|
25
|
-
|
|
26
|
-
`raven_seek(query="Use the Linear MCP to find open bugs assigned to me and summarize the top 3")`
|
|
27
|
-
|
|
28
|
-
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.
|
|
27
|
+
`raven_seek(query="Check whether archivemount/libarchive supports ISO or UDF. Use docs, web, or command output as needed.")`
|
|
28
|
+
|
|
29
|
+
`raven_seek(query="Use the Linear MCP to find open bugs assigned to me and summarize the top 3")`
|
|
30
|
+
|
|
31
|
+
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.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "Raven is a context firewall for OpenCode. It routes noisy search, docs, web, GitHub, and MCP calls through a free focused agent before they hit your main model, saving cost and context!",
|
|
5
5
|
"main": "./index.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./index.ts"
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"index.ts",
|
|
12
12
|
"Raven.md",
|
|
13
13
|
"Raven.png",
|
|
14
|
+
"example.gif",
|
|
14
15
|
"mcp-guidance.md",
|
|
15
16
|
"README.md"
|
|
16
17
|
],
|
|
@@ -32,5 +33,8 @@
|
|
|
32
33
|
},
|
|
33
34
|
"engines": {
|
|
34
35
|
"bun": ">=1.0.0"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@modelcontextprotocol/sdk": "^1.29.0"
|
|
35
39
|
}
|
|
36
40
|
}
|