Registry / llm-agents / opencode-qoder-auth

opencode-qoder-auth

JSON →
library0.2.6jsnpmunverified

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.

npm install opencode-qoder-auth
INSTALL
IMPORT
SIG · OPENCODE-QODER-AUT
O
opencode-qoder-auth
llm-agentsjavascriptv0.2.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import opencodeQoderAuth from 'opencode-qoder-auth'
const opencodeQoderAuth = require('opencode-qoder-auth')
Package is ESM-only (node>=20). CJS require() will fail.
QoderProvider
import { QoderProvider } from 'opencode-qoder-auth'
import QoderProvider from 'opencode-qoder-auth'
Named export, not default.
models
import { models } from 'opencode-qoder-auth'
const { models } = require('opencode-qoder-auth')
Named export of model list.

Installation and basic usage of opencode-qoder-auth plugin with opencode CLI.

// Ensure Qoder CLI is installed and logged in // Run: qoder login // Install opencode globally // npm install -g opencode-ai // Add plugin to opencode config // ~/.config/opencode/opencode.json: { "plugin": ["opencode-qoder-auth"] } // Use opencode with qoder models // Free lite model: // opencode run -m qoder/lite "say hello" // Paid auto model: // opencode run -m qoder/auto "explain async/await" // Interactive session: // opencode -m qoder/auto
opencode --version
Debug
Known issues
gotchaPackage requires node >=20.0.0. Older versions will fail to import.
fix
Upgrade Node.js to v20 or later.
affects: >=0.0.0
gotchaPlugin is auto-discovered only when run inside the repository or with correct plugin config. Missing plugin config leads to 'model not found' error.
fix
Add 'opencode-qoder-auth' to the 'plugin' array in ~/.config/opencode/opencode.json.
affects: >=0.0.0
gotchaImage input uses attachment fallback via qodercli; not all models support end-to-end image streaming.
fix
Ensure qodercli is installed and ~/.qoder/bin/qodercli/ is on PATH.
affects: >=0.0.0
gotchaUser must be logged into Qoder CLI (qoder login) before using. Otherwise auth prompt appears.
fix
Run 'qoder login' and restart opencode.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'opencode-qoder-auth'
Package not installed or plugin entry missing in opencode config.
fix
Add 'opencode-qoder-auth' to 'plugin' array in opencode.json. If running locally, ensure .opencode/plugins/qoder-auth.ts exists.
qodercli not found
Qoder CLI is not installed or not in PATH.
fix
Install Qoder CLI and ensure ~/.qoder/bin/qodercli/ is in PATH.
Auth prompt: Run 'qoder login' in your terminal to authenticate
Qoder CLI session not established.
fix
Run 'qoder login' and follow browser OAuth flow.
Model not found
Model ID doesn't match available models or plugin not loaded.
fix
Use a valid model ID from the table (e.g., lite, auto, efficient). Ensure plugin is configured correctly.
Upgrade
Version history
0.2.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
40
Bingbot
1
OpenAI (training)
1
Resources
opencode-qoder-auth — npm install opencode-qoder-auth · libregistry