{"id":26047,"library":"opencode-qoder-auth","title":"opencode-qoder-auth","description":"An opencode plugin that bundles Qoder AI provider access for OpenCode CLI. Current version 0.2.6, released automatically on each push to main. No manual provider configuration required; 11 models including a free lite tier. Uses a vendored Qoder SDK to avoid npm registry dependencies. Supports attachment fallback for images via qodercli. Distinct from other opencode auth plugins by being fully self-contained with zero-config setup.","status":"active","version":"0.2.6","language":"javascript","source_language":"en","source_url":"https://github.com/zxcrf/opencode-qoder-auth","tags":["javascript","opencode","opencode-plugin","opencode-auth","qoder","ai","plugin"],"install":[{"cmd":"npm install opencode-qoder-auth","lang":"bash","label":"npm"},{"cmd":"yarn add opencode-qoder-auth","lang":"bash","label":"yarn"},{"cmd":"pnpm add opencode-qoder-auth","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM-only (node>=20). CJS require() will fail.","wrong":"const opencodeQoderAuth = require('opencode-qoder-auth')","symbol":"default","correct":"import opencodeQoderAuth from 'opencode-qoder-auth'"},{"note":"Named export, not default.","wrong":"import QoderProvider from 'opencode-qoder-auth'","symbol":"QoderProvider","correct":"import { QoderProvider } from 'opencode-qoder-auth'"},{"note":"Named export of model list.","wrong":"const { models } = require('opencode-qoder-auth')","symbol":"models","correct":"import { models } from 'opencode-qoder-auth'"}],"quickstart":{"code":"// Ensure Qoder CLI is installed and logged in\n// Run: qoder login\n\n// Install opencode globally\n// npm install -g opencode-ai\n\n// Add plugin to opencode config\n// ~/.config/opencode/opencode.json:\n{\n  \"plugin\": [\"opencode-qoder-auth\"]\n}\n\n// Use opencode with qoder models\n// Free lite model:\n// opencode run -m qoder/lite \"say hello\"\n\n// Paid auto model:\n// opencode run -m qoder/auto \"explain async/await\"\n\n// Interactive session:\n// opencode -m qoder/auto\n","lang":"typescript","description":"Installation and basic usage of opencode-qoder-auth plugin with opencode CLI."},"warnings":[{"fix":"Upgrade Node.js to v20 or later.","message":"Package requires node >=20.0.0. Older versions will fail to import.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Add 'opencode-qoder-auth' to the 'plugin' array in ~/.config/opencode/opencode.json.","message":"Plugin is auto-discovered only when run inside the repository or with correct plugin config. Missing plugin config leads to 'model not found' error.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Ensure qodercli is installed and ~/.qoder/bin/qodercli/ is on PATH.","message":"Image input uses attachment fallback via qodercli; not all models support end-to-end image streaming.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Run 'qoder login' and restart opencode.","message":"User must be logged into Qoder CLI (qoder login) before using. Otherwise auth prompt appears.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.2.6':19 '11':32 'access':13 'ai':11,82 'attach':50 'auth':4,60,80 'automat':21 'avoid':45 'bundl':9 'cli':16 'config':71 'configur':30 'contain':67 'current':17 'depend':48 'distinct':56 'fallback':51 'free':36 'fulli':64 'imag':53 'includ':34 'javascript':73 'lite':37 'main':26 'manual':28 'model':33 'npm':46 'opencod':2,6,15,59,74,76,79 'opencode-auth':78 'opencode-plugin':75 'opencode-qoder-auth':1 'plugin':7,61,77,83 'provid':12,29 'push':24 'qoder':3,10,42,81 'qoderc':55 'registri':47 'releas':20 'requir':31 'sdk':43 'self':66 'self-contain':65 'setup':72 'support':49 'tier':38 'use':39 'vendor':41 'version':18 'via':54 'zero':70 'zero-config':69","created_at":"2026-05-01T13:47:55.845150+00:00","updated_at":"2026-05-01T13:47:55.845150+00:00","problems":[{"fix":"Add 'opencode-qoder-auth' to 'plugin' array in opencode.json. If running locally, ensure .opencode/plugins/qoder-auth.ts exists.","cause":"Package not installed or plugin entry missing in opencode config.","error":"Error: Cannot find module 'opencode-qoder-auth'"},{"fix":"Install Qoder CLI and ensure ~/.qoder/bin/qodercli/ is in PATH.","cause":"Qoder CLI is not installed or not in PATH.","error":"qodercli not found"},{"fix":"Run 'qoder login' and follow browser OAuth flow.","cause":"Qoder CLI session not established.","error":"Auth prompt: Run 'qoder login' in your terminal to authenticate"},{"fix":"Use a valid model ID from the table (e.g., lite, auto, efficient). Ensure plugin is configured correctly.","cause":"Model ID doesn't match available models or plugin not loaded.","error":"Model not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"opencode","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/zxcrf/opencode-qoder-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/opencode-qoder-auth","openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}