@whynothugo/pi-aliyun

Aliyun CodingPlan provider extension for pi

Packages

Package details

extension

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

$ pi install npm:@whynothugo/pi-aliyun
Package
@whynothugo/pi-aliyun
Version
1.0.0
Published
May 10, 2026
Downloads
64/mo · 64/wk
Author
whynothugo
License
unknown
Types
extension
Size
8.3 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./custom-provider-aliyun-codingplan.ts"
  ]
}

Security note

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

README

pi-aliyun

pi-coding-agent provider extension for use with Aliyun

Installation

Install with:

pi install https://git.sr.ht/~whynothugo/pi-aliyun

Authentication

Use the /login command or add to ~/.pi/agent/auth.json:

{
  "aliyun-codingplan": {
    "type": "api_key",
    "key": "sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}

It is also possible to use an environment variable: ALIYUN_CODING_PLAN_API_KEY=sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

Updating Models

The model definitions are stored in models.json and are fetched from https://models.dev/api.json. Update them with:

python3 scripts/update-models.py