pi-provider-kimi-code 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +107 -29
  2. package/index.ts +737 -356
  3. package/package.json +45 -12
package/package.json CHANGED
@@ -1,30 +1,63 @@
1
1
  {
2
2
  "name": "pi-provider-kimi-code",
3
- "version": "0.1.8",
4
- "description": "pi custom provider extension for Kimi Code models with OAuth device-code login",
5
- "type": "module",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/Leechael/pi-provider-kimi-code"
10
- },
3
+ "version": "0.2.0",
4
+ "description": "Pi extension for Kimi Code — reuse your kimi.com Membership in pi-coding-agent (K2.5, K2 Thinking Turbo)",
11
5
  "keywords": [
12
- "pi",
6
+ "pi-package",
13
7
  "pi-extension",
8
+ "pi-provider",
9
+ "pi",
10
+ "pi-coding-agent",
11
+ "pi-mono",
12
+ "coding-agent",
13
+ "ai-provider",
14
+ "llm",
15
+ "llm-provider",
14
16
  "kimi",
15
17
  "kimi-code",
16
- "llm",
17
- "coding-agent"
18
+ "kimi-for-coding",
19
+ "kimi-coder",
20
+ "kimi-k2",
21
+ "kimi-k2.5",
22
+ "kimi-k2-thinking",
23
+ "moonshot",
24
+ "moonshotai",
25
+ "oauth",
26
+ "device-code",
27
+ "subscription"
18
28
  ],
29
+ "license": "MIT",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/Leechael/pi-provider-kimi-code"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/Leechael/pi-provider-kimi-code/issues"
36
+ },
37
+ "author": "Leechael",
19
38
  "files": [
20
39
  "index.ts",
21
40
  "package.json",
22
41
  "README.md"
23
42
  ],
43
+ "type": "module",
24
44
  "scripts": {
25
45
  "clean": "echo 'nothing to clean'",
26
46
  "build": "echo 'nothing to build'",
27
- "check": "echo 'nothing to check'"
47
+ "check": "echo 'nothing to check'",
48
+ "lint": "oxlint .",
49
+ "format": "oxfmt . --write",
50
+ "format:check": "oxfmt . --check",
51
+ "pre-commit": "prek run"
52
+ },
53
+ "peerDependencies": {
54
+ "@mariozechner/pi-coding-agent": "*",
55
+ "@mariozechner/pi-ai": "*"
56
+ },
57
+ "devDependencies": {
58
+ "@j178/prek": "^0.3.8",
59
+ "oxfmt": "^0.44.0",
60
+ "oxlint": "^1.59.0"
28
61
  },
29
62
  "pi": {
30
63
  "extensions": [