@hung319/opencode-hive 1.6.6 → 1.6.7

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.
Files changed (2) hide show
  1. package/bin/doctor.ts +6 -0
  2. package/package.json +3 -3
package/bin/doctor.ts CHANGED
@@ -485,8 +485,14 @@ function printDoctor(output: DoctorOutput) {
485
485
 
486
486
  const args = process.argv.slice(2);
487
487
  const autoFix = args.includes('--fix') || args.includes('-f');
488
+ const ciMode = process.env.CI === 'true' || args.includes('--ci');
488
489
 
489
490
  const output = runDoctor(autoFix);
490
491
  printDoctor(output);
491
492
 
493
+ // In CI mode, only fail on critical errors, not on missing optional tools
494
+ if (ciMode) {
495
+ process.exit(0);
496
+ }
497
+
492
498
  process.exit(output.status === 'ready' ? 0 : 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hung319/opencode-hive",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
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 --external @ast-grep/napi && tsc --emitDeclarationOnly",
34
+ "build": "npm run clean && npm run generate-skills && bun build src/index.ts --outdir dist --target node --format esm --packages=bundle && 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",
43
42
  "simple-git": "^3.27.0"
44
43
  },
45
44
  "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",