Skip to content

✅ ¡Funciona perfectamente! SuperGrok OAuth en OpenCode (Windows) - ¡Felicitaciones! #2

Description

@Owlock

VERSION: 1.15.5 (Latest)
Hi @ysnock404,

¡GRACIAS TOTALES! 🚀

Tu plugin opencode-grok-auth funciona perfectamente con mi suscripción SuperGrok en Windows 11 (PowerShell como Administrator) y OpenCode.

Quería dejarte este issue de felicitaciones y también contarte el camino completo que tuve que recorrer (por si te sirve para mejorar el README o agregar una sección de "Windows Troubleshooting").

📋 Lo que logramos al final

  • Login 100% vía OAuth (sin necesidad de API Key)
  • Modelo: xai-oauth/grok-4.3
  • Todo funcionando con mi cuenta SuperGrok

🛠 Problemas que tuvimos y cómo los solucionamos

  1. bun no se reconocía después de instalarlo

    • Problema: Instalé Bun con el script oficial pero bun no aparecía en PowerShell.
    • Solución: Cerré completamente PowerShell y abrí una nueva ventana como Administrator (o agregué temporalmente el PATH).
  2. Errores de sintaxis al crear el archivo del plugin

    • Problema: Intenté usar comandos tipo batch (@echo off) dentro de PowerShell y me daba errores de parser.
    • Solución: Usé comandos nativos de PowerShell:
      Set-Content -Path "$env:USERPROFILE\.config\opencode\plugins\xai-grok-oauth.js" -Value 'export { default } from "file:///C:/Users/Administrator/opencode-grok-auth/dist/index.js";' -Encoding UTF8
      
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions