New:Socket for Asana Is Now Available.Learn more
Get Started

pi-kimi-for-coding

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

pi-kimi-for-coding

Pi extension that adds Kimi For Coding OAuth support using the official device flow and Kimi-specific request behavior.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

pi-kimi-for-coding

A Pi extension that adds a dedicated Kimi For Coding OAuth provider using the official Kimi device flow plus Kimi-specific request shaping.

What it does

  • uses the official device flow at https://auth.kimi.com
  • targets https://api.kimi.com/coding/v1
  • sends the Kimi CLI fingerprint headers (User-Agent + X-Msh-*)
  • reuses ~/.kimi/device_id for stable device identity
  • injects prompt_cache_key
  • maps Pi thinking levels onto Kimi thinking + reasoning_effort
  • refreshes OAuth tokens and re-discovers model metadata

Install

From GitHub

pi install git:github.com/ramarivera/pi-kimi-for-coding

From a local checkout

pi install /absolute/path/to/pi-kimi-for-coding

Authenticate

Start Pi and run:

/login

Then choose Kimi For Coding.

Use

After login, select the provider/model:

  • provider: kimi-for-coding-oauth
  • model: kimi-for-coding

Development

bun install
bun test
bunx tsc --noEmit

Notes

This package is meant to be installed as a Pi package, so it declares its extension entry under the pi key in package.json.

License

MIT

Keywords

pi-package

FAQs

Package last updated on 22 Apr 2026

Related posts