feat: translate plugin hooks for OpenCode
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- dart, flutter, javascript, typescript
- Área
- developer-experience
Línea de trabajo
Start with the OpencodeTranslator class, where hooks() currently returns null, and the note that users see when hooks are skipped. Then read the hook scripts shipped by the VGV plugins to see what PreToolUse and PostToolUse expect as input. The work is to design and install a small OpenCode plugin that calls those scripts, and to extend doctor and uninstall to cover it. Done means the hooks run on OpenCode after vgv_ai install and the note is gone.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
vgv_ai install configures OpenCode with the skills, agents and MCP servers, but not the hooks. OpencodeTranslator leaves hooks() null because OpenCode runs hooks as JavaScript/TypeScript plugins (docs), not as shell commands, so users only get a note.
The VGV plugins rely on hooks for enforcement, for example vgv-ai-flutter-plugin runs dart analyze/dart format after edits and blocks flutter test in the shell in favor of the MCP tool. On OpenCode none of that runs.
Add hook support for OpenCode, e.g. by installing a small OpenCode plugin that maps the plugins' PreToolUse/PostToolUse hooks onto OpenCode's plugin events and runs the existing hook scripts.
Requirements
- OpenCode runs the VGV plugins' hook scripts after
vgv_ai install -
doctoranduninstallcover the installed OpenCode plugin - The "no hooks" note is removed for OpenCode
Additional Context
Moved from VeryGoodOpenSource/vgv-ai-flutter-plugin#127.
- Lenguaje dominante
- Dart
- Estrellas
- 3
- Forks
- 0
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 40
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de VeryGoodOpenSource/vgv_ai_cli
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
VeryGoodOpenSource/vgv_ai_cli#142 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
VeryGoodOpenSource/vgv_ai_cli#141 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
VeryGoodOpenSource/vgv_ai_cli#140 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
VeryGoodOpenSource/vgv_ai_cli#139 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
VeryGoodOpenSource/vgv_ai_cli#138 ·
Los mantenedores suelen responder en 1 día
Todos los issues de VeryGoodOpenSource/vgv_ai_cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Vinillian/book_tracker#208 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
CI: a superseded Quality run keeps its test shards running and the new head waits behind themAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fdittgen-png/deskilo#3753 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día