pi-umans-provider 1.0.5 → 1.0.7
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.
- package/README.md +2 -2
- package/deprecated-models.json +20 -1
- package/index.ts +2 -1
- package/models.json +17 -18
- package/package.json +7 -1
- package/pnpm-workspace.yaml +11 -0
package/README.md
CHANGED
|
@@ -28,10 +28,10 @@ _A [pi](https://github.com/earendil-works/pi-coding-agent) provider extension wi
|
|
|
28
28
|
| Model | Base | Context | Vision | Reasoning | Max Output |
|
|
29
29
|
|-------|------|---------|--------|-----------|------------|
|
|
30
30
|
| Coder | Kimi K2.7-Code | 262K | ✅ | ✅ | 33K |
|
|
31
|
-
| DeepSeek V4 Flash
|
|
31
|
+
| DeepSeek V4 Flash | DeepSeek-V4-Flash | 1.0M | ❌ | ✅ | 393K |
|
|
32
|
+
| DeepSeek V4 Flash (lab) | DeepSeek-V4-Flash | 1.0M | ❌ | ✅ | 393K |
|
|
32
33
|
| Flash | Qwen3.6-35B-A3B | 262K | ✅ | ✅ | 33K |
|
|
33
34
|
| GLM 5.2 | GLM-5.2 | 406K | ❌ | ✅ | 131K |
|
|
34
|
-
| Kimi K2.7 Code | Kimi K2.7-Code | 262K | ✅ | ✅ | 33K |
|
|
35
35
|
| Kimi K3 | Kimi K3 | 1.0M | ✅ | ✅ | 131K |
|
|
36
36
|
| Qwen3.6 35B A3B | Qwen3.6-35B-A3B | 262K | ✅ | ✅ | 33K |
|
|
37
37
|
|
package/deprecated-models.json
CHANGED
|
@@ -1 +1,20 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"umans-kimi-k2.7": {
|
|
3
|
+
"id": "umans-kimi-k2.7",
|
|
4
|
+
"name": "Umans Kimi K2.7 Code",
|
|
5
|
+
"reasoning": true,
|
|
6
|
+
"input": [
|
|
7
|
+
"text",
|
|
8
|
+
"image"
|
|
9
|
+
],
|
|
10
|
+
"cost": {
|
|
11
|
+
"input": 0,
|
|
12
|
+
"output": 0,
|
|
13
|
+
"cacheRead": 0,
|
|
14
|
+
"cacheWrite": 0
|
|
15
|
+
},
|
|
16
|
+
"contextWindow": 262144,
|
|
17
|
+
"maxTokens": 32768,
|
|
18
|
+
"deprecatedAt": "2026-08-05T02:00:18.239Z"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/index.ts
CHANGED
|
@@ -84,7 +84,8 @@ async function loginUmans(callbacks: OAuthLoginCallbacks): Promise<OAuthCredenti
|
|
|
84
84
|
return { refresh: key, access: key, expires: Date.now() + 100 * 365 * 24 * 60 * 60 * 1000 };
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
function refreshUmansToken(credentials: OAuthCredentials): Promise<OAuthCredentials> {
|
|
87
|
+
function refreshUmansToken(credentials: OAuthCredentials, signal: AbortSignal): Promise<OAuthCredentials> {
|
|
88
|
+
if (signal.aborted) return Promise.reject(signal.reason);
|
|
88
89
|
return Promise.resolve(credentials);
|
|
89
90
|
}
|
|
90
91
|
|
package/models.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"id": "umans-deepseek-v4-flash-0731",
|
|
21
|
-
"name": "Umans DeepSeek V4 Flash
|
|
21
|
+
"name": "Umans DeepSeek V4 Flash",
|
|
22
22
|
"reasoning": true,
|
|
23
23
|
"input": [
|
|
24
24
|
"text"
|
|
@@ -33,12 +33,11 @@
|
|
|
33
33
|
"maxTokens": 393215
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
"id": "umans-flash",
|
|
37
|
-
"name": "Umans Flash",
|
|
36
|
+
"id": "umans-deepseek-v4-flash-0731-lab",
|
|
37
|
+
"name": "Umans DeepSeek V4 Flash (lab)",
|
|
38
38
|
"reasoning": true,
|
|
39
39
|
"input": [
|
|
40
|
-
"text"
|
|
41
|
-
"image"
|
|
40
|
+
"text"
|
|
42
41
|
],
|
|
43
42
|
"cost": {
|
|
44
43
|
"input": 0,
|
|
@@ -46,15 +45,16 @@
|
|
|
46
45
|
"cacheRead": 0,
|
|
47
46
|
"cacheWrite": 0
|
|
48
47
|
},
|
|
49
|
-
"contextWindow":
|
|
50
|
-
"maxTokens":
|
|
48
|
+
"contextWindow": 1048576,
|
|
49
|
+
"maxTokens": 393215
|
|
51
50
|
},
|
|
52
51
|
{
|
|
53
|
-
"id": "umans-
|
|
54
|
-
"name": "Umans
|
|
52
|
+
"id": "umans-flash",
|
|
53
|
+
"name": "Umans Flash",
|
|
55
54
|
"reasoning": true,
|
|
56
55
|
"input": [
|
|
57
|
-
"text"
|
|
56
|
+
"text",
|
|
57
|
+
"image"
|
|
58
58
|
],
|
|
59
59
|
"cost": {
|
|
60
60
|
"input": 0,
|
|
@@ -62,16 +62,15 @@
|
|
|
62
62
|
"cacheRead": 0,
|
|
63
63
|
"cacheWrite": 0
|
|
64
64
|
},
|
|
65
|
-
"contextWindow":
|
|
66
|
-
"maxTokens":
|
|
65
|
+
"contextWindow": 262144,
|
|
66
|
+
"maxTokens": 32768
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
"id": "umans-
|
|
70
|
-
"name": "Umans
|
|
69
|
+
"id": "umans-glm-5.2",
|
|
70
|
+
"name": "Umans GLM 5.2",
|
|
71
71
|
"reasoning": true,
|
|
72
72
|
"input": [
|
|
73
|
-
"text"
|
|
74
|
-
"image"
|
|
73
|
+
"text"
|
|
75
74
|
],
|
|
76
75
|
"cost": {
|
|
77
76
|
"input": 0,
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
"cacheRead": 0,
|
|
80
79
|
"cacheWrite": 0
|
|
81
80
|
},
|
|
82
|
-
"contextWindow":
|
|
83
|
-
"maxTokens":
|
|
81
|
+
"contextWindow": 405504,
|
|
82
|
+
"maxTokens": 131071
|
|
84
83
|
},
|
|
85
84
|
{
|
|
86
85
|
"id": "umans-kimi-k3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-umans-provider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "UMANS provider extension for pi - Access Kimi K2.6, GLM 5.1, Qwen 3.6, and coding-optimized models through the UMANS API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -25,9 +25,15 @@
|
|
|
25
25
|
]
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@earendil-works/pi-ai": "0.84.1",
|
|
29
|
+
"@earendil-works/pi-coding-agent": "0.84.1",
|
|
28
30
|
"@types/node": "^25.9.2",
|
|
29
31
|
"typescript": "^6.0.3"
|
|
30
32
|
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@earendil-works/pi-ai": "*",
|
|
35
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
36
|
+
},
|
|
31
37
|
"scripts": {
|
|
32
38
|
"clean": "echo 'nothing to clean'",
|
|
33
39
|
"build": "echo 'nothing to build'",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
allowBuilds:
|
|
2
|
+
'@google/genai': false
|
|
3
|
+
protobufjs: false
|
|
4
|
+
minimumReleaseAgeExclude:
|
|
5
|
+
- '@earendil-works/pi-agent-core@0.84.0 || 0.84.1'
|
|
6
|
+
- '@earendil-works/pi-ai@0.84.0 || 0.84.1'
|
|
7
|
+
- '@earendil-works/pi-client@0.84.0 || 0.84.1'
|
|
8
|
+
- '@earendil-works/pi-coding-agent@0.84.0 || 0.84.1'
|
|
9
|
+
- '@earendil-works/pi-protocol@0.84.0 || 0.84.1'
|
|
10
|
+
- '@earendil-works/pi-telemetry@0.84.0 || 0.84.1'
|
|
11
|
+
- '@earendil-works/pi-tui@0.84.0 || 0.84.1'
|