@the-magic-tower/fixhive-opencode-plugin 0.1.30 → 0.1.32

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.de.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > Community-basiertes Fehlerwissen-Sharing für OpenCode
15
15
 
16
- **Neueste Version: v0.1.29** - Bun-Runtime-Kompatibilitätsprobleme behoben. Das Plugin funktioniert jetzt korrekt mit OpenCode.
16
+ **Neueste Version: v0.1.31** - Bun-Runtime-Kompatibilitätsprobleme behoben. Das Plugin funktioniert jetzt korrekt mit OpenCode.
17
17
 
18
18
  FixHive ist ein OpenCode-Plugin, das während der Entwicklungssitzungen automatisch Fehler erfasst, eine Community-Wissensdatenbank nach Lösungen abfragt und gelöste Fehler mit anderen Entwicklern teilt.
19
19
 
package/README.es.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > Sistema de Compartición de Conocimiento de Errores Basado en la Comunidad para OpenCode
15
15
 
16
- **Última versión: v0.1.29** - Corregidos problemas de compatibilidad con Bun runtime. El plugin ahora funciona correctamente con OpenCode.
16
+ **Última versión: v0.1.31** - Corregidos problemas de compatibilidad con Bun runtime. El plugin ahora funciona correctamente con OpenCode.
17
17
 
18
18
  FixHive es un plugin de OpenCode que captura automáticamente errores durante las sesiones de desarrollo, consulta una base de conocimientos comunitaria para encontrar soluciones y comparte errores resueltos con otros desarrolladores.
19
19
 
package/README.fr.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > Partage de Connaissances d'Erreurs Basé sur la Communauté pour OpenCode
15
15
 
16
- **Dernière version : v0.1.29** - Correction des problèmes de compatibilité avec le runtime Bun. Le plugin fonctionne maintenant correctement avec OpenCode.
16
+ **Dernière version : v0.1.31** - Correction des problèmes de compatibilité avec le runtime Bun. Le plugin fonctionne maintenant correctement avec OpenCode.
17
17
 
18
18
  FixHive est un plugin OpenCode qui capture automatiquement les erreurs pendant les sessions de développement, interroge une base de connaissances communautaire pour trouver des solutions et partage les erreurs résolues avec d'autres développeurs.
19
19
 
package/README.ja.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > OpenCode向けコミュニティベースのエラー知識共有システム
15
15
 
16
- **最新版: v0.1.29** - Bunランタイム互換性の問題を修正。プラグインがOpenCodeで正常に動作するようになりました。
16
+ **最新版: v0.1.31** - Bunランタイム互換性の問題を修正。プラグインがOpenCodeで正常に動作するようになりました。
17
17
 
18
18
  FixHiveは、開発セッション中にエラーを自動的にキャプチャし、コミュニティナレッジベースからソリューションを検索し、解決したエラーを他の開発者と共有するOpenCodeプラグインです。
19
19
 
package/README.ko.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  > 커뮤니티 기반 오류 지식 공유 시스템 - OpenCode 플러그인
28
28
 
29
- **최신: v0.1.29** - Bun 런타임 호환성 문제 해결. 플러그인이 OpenCode에서 정상 동작합니다.
29
+ **최신: v0.1.31** - Bun 런타임 호환성 문제 해결. 플러그인이 OpenCode에서 정상 동작합니다.
30
30
 
31
31
  FixHive는 개발 세션 중 발생하는 오류를 자동으로 감지하고, 커뮤니티 지식 베이스에서 해결책을 검색하며, 해결된 오류를 다른 개발자들과 공유하는 OpenCode 플러그인입니다.
32
32
 
package/README.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  > Community-based Error Knowledge Sharing for OpenCode
28
28
 
29
- **Latest: v0.1.29** - Bun runtime compatibility fixed. Plugin now works correctly with OpenCode.
29
+ **Latest: v0.1.31** - Bun runtime compatibility fixed. Plugin now works correctly with OpenCode.
30
30
 
31
31
  FixHive is an OpenCode plugin that automatically captures errors during development sessions, queries a community knowledge base for solutions, and shares resolved errors with other developers.
32
32
 
package/README.nl.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > Community-gebaseerd Foutkennis Delen voor OpenCode
15
15
 
16
- **Laatste versie: v0.1.29** - Bun runtime compatibiliteitsproblemen opgelost. Plugin werkt nu correct met OpenCode.
16
+ **Laatste versie: v0.1.31** - Bun runtime compatibiliteitsproblemen opgelost. Plugin werkt nu correct met OpenCode.
17
17
 
18
18
  FixHive is een OpenCode-plugin die automatisch fouten vastlegt tijdens ontwikkelsessies, een community-kennisbank raadpleegt voor oplossingen en opgeloste fouten deelt met andere ontwikkelaars.
19
19
 
package/README.zh.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  > OpenCode 社区错误知识共享系统
15
15
 
16
- **最新版本: v0.1.29** - 修复 Bun 运行时兼容性问题。插件现已在 OpenCode 中正常运行。
16
+ **最新版本: v0.1.31** - 修复 Bun 运行时兼容性问题。插件现已在 OpenCode 中正常运行。
17
17
 
18
18
  FixHive 是一个 OpenCode 插件,可在开发会话期间自动捕获错误,从社区知识库查询解决方案,并与其他开发者共享已解决的错误。
19
19
 
package/dist/index.js CHANGED
@@ -28238,10 +28238,21 @@ var FixHivePlugin = async (ctx) => {
28238
28238
  stderr: output.metadata?.stderr,
28239
28239
  metadata: output.metadata
28240
28240
  });
28241
+ if (detection.detected) {
28242
+ console.log(`[FixHive] Error detected (confidence: ${Math.round(detection.confidence * 100)}%)`);
28243
+ console.log(`[FixHive] Type: ${detection.errorType}, Tool: ${input.tool}`);
28244
+ console.log(`[FixHive] Message: ${detection.errorMessage.substring(0, 100)}...`);
28245
+ } else if (detection.detected) {
28246
+ console.log(`[FixHive] Error detected but confidence too low (${Math.round(detection.confidence * 100)}% < 50%) - not stored`);
28247
+ }
28241
28248
  if (detection.detected && detection.confidence >= 0.5) {
28242
28249
  const sanitizedErrorMessage = privacyFilter.sanitize(detection.errorMessage, filterContext).sanitized;
28243
28250
  const sanitizedErrorStack = detection.errorStack ? privacyFilter.sanitize(detection.errorStack, filterContext).sanitized : undefined;
28244
- localStore.createErrorRecord({
28251
+ const sessionId = pluginContext.sessionId || input.sessionID;
28252
+ if (!sessionId) {
28253
+ console.warn("[FixHive] No session ID available - error not stored. Please send a chat message first.");
28254
+ }
28255
+ const record2 = localStore.createErrorRecord({
28245
28256
  errorType: detection.errorType,
28246
28257
  errorMessage: sanitizedErrorMessage,
28247
28258
  errorStack: sanitizedErrorStack,
@@ -28249,8 +28260,11 @@ var FixHivePlugin = async (ctx) => {
28249
28260
  framework: pluginContext.framework,
28250
28261
  toolName: input.tool,
28251
28262
  toolInput: {},
28252
- sessionId: pluginContext.sessionId || input.sessionID
28263
+ sessionId
28253
28264
  });
28265
+ if (record2) {
28266
+ console.log(`[FixHive] Error stored locally (ID: ${record2.id.slice(0, 8)})`);
28267
+ }
28254
28268
  if (cloudClient) {
28255
28269
  try {
28256
28270
  const solutions = await cloudClient.searchSimilar({
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAuBlD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,MAwJ3B,CAAC;AAoJF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAuBlD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,MAwK3B,CAAC;AAoJF,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-magic-tower/fixhive-opencode-plugin",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "Community-based error knowledge sharing for OpenCode",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",