@hung319/opencode-hive 1.6.1 → 1.6.2
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 +4 -6
- package/bin/doctor.ts +0 -2
- package/dist/index.js +1 -8
- package/package.json +1 -2
- package/dist/mcp/ast-grep.d.ts +0 -7
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ npm install @hung319/opencode-hive
|
|
|
71
71
|
2. Set `EXA_API_KEY` to enable `websearch_exa` (optional).
|
|
72
72
|
3. Restart OpenCode.
|
|
73
73
|
|
|
74
|
-
This enables tools like `grep_app_searchGitHub`, `context7_query-docs`,
|
|
74
|
+
This enables tools like `grep_app_searchGitHub`, `context7_query-docs`, and `websearch_web_search_exa`.
|
|
75
75
|
|
|
76
76
|
## The Workflow
|
|
77
77
|
|
|
@@ -206,7 +206,7 @@ Hive uses a config file at `~/.config/opencode/agent_hive.json`. You can customi
|
|
|
206
206
|
{
|
|
207
207
|
"$schema": "https://raw.githubusercontent.com/hung319/agent-hive/main/packages/opencode-hive/schema/agent_hive.schema.json",
|
|
208
208
|
"disableSkills": ["brainstorming", "writing-plans"],
|
|
209
|
-
"disableMcps": ["websearch", "
|
|
209
|
+
"disableMcps": ["websearch", "pare_search"]
|
|
210
210
|
}
|
|
211
211
|
```
|
|
212
212
|
|
|
@@ -230,7 +230,6 @@ Hive uses a config file at `~/.config/opencode/agent_hive.json`. You can customi
|
|
|
230
230
|
| `websearch` | Web search via [Exa AI](https://exa.ai). Real-time web searches and content scraping. | Set `EXA_API_KEY` env var |
|
|
231
231
|
| `context7` | Library documentation lookup via [Context7](https://context7.com). Query up-to-date docs for any programming library. | None |
|
|
232
232
|
| `grep_app` | GitHub code search via [grep.app](https://grep.app). Find real-world code examples from public repositories. | None |
|
|
233
|
-
| `ast_grep` | AST-based pattern matching and code analysis. | None (runs via npx) |
|
|
234
233
|
| `pare_search` | Structured ripgrep/fd search with 65-95% token reduction. | None (runs via npx) |
|
|
235
234
|
| `veil` | Code discovery and intelligent retrieval. | None (runs via npx) |
|
|
236
235
|
|
|
@@ -547,7 +546,7 @@ bunx @hung319/opencode-hive doctor
|
|
|
547
546
|
### What it checks
|
|
548
547
|
|
|
549
548
|
1. **Dependencies** - npm packages installed?
|
|
550
|
-
- Core: `@ast-grep/napi
|
|
549
|
+
- Core: `@ast-grep/napi`
|
|
551
550
|
- Agent: `@sparkleideas/agent-booster`, `@sparkleideas/memory`
|
|
552
551
|
- MCPs: `@paretools/search`, `@upstash/context7-mcp`, `exa-mcp-server`, `grep-mcp`
|
|
553
552
|
- Blockchain: `btca`, `opencode-model-selector`
|
|
@@ -558,12 +557,11 @@ bunx @hung319/opencode-hive doctor
|
|
|
558
557
|
- `scip-typescript` - TypeScript indexer
|
|
559
558
|
- `veil` - Code discovery
|
|
560
559
|
- `btca` - BTC/A blockchain agent (from npmx.dev)
|
|
561
|
-
- `ast-grep` - AST-based pattern matching
|
|
562
560
|
|
|
563
561
|
3. **Config** - Features enabled?
|
|
564
562
|
- snip, vectorMemory, agentBooster
|
|
565
563
|
- sandbox mode
|
|
566
|
-
- MCPs:
|
|
564
|
+
- MCPs: veil, pare_search
|
|
567
565
|
|
|
568
566
|
### Example Output
|
|
569
567
|
|
package/bin/doctor.ts
CHANGED
|
@@ -232,7 +232,6 @@ function runDoctor(): DoctorOutput {
|
|
|
232
232
|
// Check dependencies
|
|
233
233
|
const deps = [
|
|
234
234
|
'@ast-grep/napi',
|
|
235
|
-
'@notprolands/ast-grep-mcp',
|
|
236
235
|
'@sparkleideas/agent-booster',
|
|
237
236
|
'@sparkleideas/memory',
|
|
238
237
|
'@paretools/search',
|
|
@@ -254,7 +253,6 @@ function runDoctor(): DoctorOutput {
|
|
|
254
253
|
{ name: 'veil', command: '@ushiradineth/veil', description: 'Code discovery and retrieval' },
|
|
255
254
|
{ name: 'scip-typescript', command: '@sourcegraph/scip-typescript', description: 'TypeScript SCIP indexer' },
|
|
256
255
|
{ name: 'btca', command: 'btca', description: 'BTC/A agent for blockchain tasks' },
|
|
257
|
-
{ name: 'ast-grep', command: '@notprolands/ast-grep-mcp', description: 'AST-based pattern matching' },
|
|
258
256
|
];
|
|
259
257
|
|
|
260
258
|
output.checks.cliTools.items = cliTools.map(t => checkCliTool(t.name, t.command, t.description));
|
package/dist/index.js
CHANGED
|
@@ -19852,20 +19852,13 @@ var veilMcp = {
|
|
|
19852
19852
|
command: ["npx", "-y", "@ushiradineth/veil@latest", "mcp", "server"]
|
|
19853
19853
|
};
|
|
19854
19854
|
|
|
19855
|
-
// src/mcp/ast-grep.ts
|
|
19856
|
-
var astGrepMcp = {
|
|
19857
|
-
type: "local",
|
|
19858
|
-
command: ["npx", "-y", "@notprolands/ast-grep-mcp"]
|
|
19859
|
-
};
|
|
19860
|
-
|
|
19861
19855
|
// src/mcp/index.ts
|
|
19862
19856
|
var allBuiltinMcps = {
|
|
19863
19857
|
websearch: websearchMcp,
|
|
19864
19858
|
context7: context7Mcp,
|
|
19865
19859
|
grep_app: grepAppMcp,
|
|
19866
19860
|
pare_search: pareSearchMcp,
|
|
19867
|
-
veil: veilMcp
|
|
19868
|
-
ast_grep: astGrepMcp
|
|
19861
|
+
veil: veilMcp
|
|
19869
19862
|
};
|
|
19870
19863
|
var createBuiltinMcps = (disabledMcps = []) => {
|
|
19871
19864
|
const disabled = new Set(disabledMcps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hung319/opencode-hive",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenCode plugin for Agent Hive - from vibe coding to hive coding",
|
|
6
6
|
"license": "MIT WITH Commons-Clause",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
46
|
"grep-mcp": "^1.1.0",
|
|
47
|
-
"@notprolands/ast-grep-mcp": "^1.1.1",
|
|
48
47
|
"@upstash/context7-mcp": "^2.1.0",
|
|
49
48
|
"exa-mcp-server": "^3.1.5",
|
|
50
49
|
"@sparkleideas/agent-booster": "^0.2.3",
|