@ravshansbox/pi-qwen

Qwen OAuth provider extension for pi

Packages

Package details

extension

Install @ravshansbox/pi-qwen from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ravshansbox/pi-qwen
Package
@ravshansbox/pi-qwen
Version
0.2.1
Published
Oct 16, 2026
Downloads
295/mo · 295/wk
Author
ravshansbox
License
MIT
Types
extension
Size
13.4 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-qwen

Qwen OAuth provider extension for pi.

Install

pi install npm:@ravshansbox/pi-qwen

Usage

Pi loads the provider from ./index.ts and registers a qwen provider:

  • Qwen OAuth device-code login via /login qwen
  • Uses the Qwen OAuth endpoint discovered from login credentials
  • Exposes only coder-model, matching qwen-code behaviour
  • Applies Qwen/DashScope request headers and payload normalisation needed for coder-model

Sign in and select the model:

/reload
/login qwen
/model

Then select qwen/coder-model.

Development

npm install
npm run check