@hung319/opencode-hive 1.6.7 → 1.6.8
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 +8 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -36,9 +36,17 @@ npx @hung319/opencode-hive doctor
|
|
|
36
36
|
|
|
37
37
|
**Step 2: Install the plugin**
|
|
38
38
|
```bash
|
|
39
|
+
# For Node.js v24+, set CXXFLAGS first to build tree-sitter native modules:
|
|
40
|
+
export CXXFLAGS="-std=c++20"
|
|
39
41
|
npm install @hung319/opencode-hive
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
> ⚠️ **Note:** This plugin includes `@ast-grep/napi` which requires C++20 on Node.js v24. If installation fails, try:
|
|
45
|
+
> ```bash
|
|
46
|
+
> export CXXFLAGS="-std=c++20"
|
|
47
|
+
> npm install @hung319/opencode-hive
|
|
48
|
+
> ```
|
|
49
|
+
|
|
42
50
|
**Step 3: Install extras you want**
|
|
43
51
|
- For **code analysis**: `npm install @notprolands/ast-grep-mcp`
|
|
44
52
|
- For **fast code search**: `npm install @paretools/search`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hung319/opencode-hive",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"clean": "rm -rf dist",
|
|
33
33
|
"generate-skills": "bun run scripts/generate-skills.ts",
|
|
34
|
-
"build": "npm run clean && npm run generate-skills && bun build src/index.ts --outdir dist --target node --format esm --packages=bundle && tsc --emitDeclarationOnly",
|
|
34
|
+
"build": "npm run clean && npm run generate-skills && bun build src/index.ts --outdir dist --target node --format esm --packages=bundle --external @ast-grep/napi && tsc --emitDeclarationOnly",
|
|
35
35
|
"dev": "opencode plugin dev",
|
|
36
36
|
"test": "bun test"
|
|
37
37
|
},
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@opencode-ai/plugin": ">=0.13.7"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
+
"@ast-grep/napi": "^0.41.1",
|
|
42
43
|
"simple-git": "^3.27.0"
|
|
43
44
|
},
|
|
44
45
|
"optionalDependencies": {
|
|
45
|
-
"@ast-grep/napi": "^0.41.1",
|
|
46
46
|
"grep-mcp": "^1.1.0",
|
|
47
47
|
"@upstash/context7-mcp": "^2.1.0",
|
|
48
48
|
"exa-mcp-server": "^3.1.5",
|