pi-umans-provider 1.0.4 → 1.0.6

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 CHANGED
@@ -28,10 +28,11 @@ _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 | DeepSeek-V4-Flash | 1.0M | ❌ | ✅ | 393K |
32
+ | DeepSeek V4 Flash (lab) | DeepSeek-V4-Flash | 1.0M | ❌ | ✅ | 393K |
31
33
  | Flash | Qwen3.6-35B-A3B | 262K | ✅ | ✅ | 33K |
32
34
  | GLM 5.2 | GLM-5.2 | 406K | ❌ | ✅ | 131K |
33
- | Kimi K2.7 Code | Kimi K2.7-Code | 262K | ✅ | ✅ | 33K |
34
- | Kimi K3 (prerelease) | Kimi K3 | 1.0M | ✅ | ✅ | 131K |
35
+ | Kimi K3 | Kimi K3 | 1.0M | ✅ | ✅ | 131K |
35
36
  | Qwen3.6 35B A3B | Qwen3.6-35B-A3B | 262K | ✅ | ✅ | 33K |
36
37
 
37
38
  > **Note:** `umans-flash-beta` is deprecated (sunset 2026-06-07). Use `umans-flash` instead.
@@ -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
@@ -17,12 +17,11 @@
17
17
  "maxTokens": 32768
18
18
  },
19
19
  {
20
- "id": "umans-flash",
21
- "name": "Umans Flash",
20
+ "id": "umans-deepseek-v4-flash-0731",
21
+ "name": "Umans DeepSeek V4 Flash",
22
22
  "reasoning": true,
23
23
  "input": [
24
- "text",
25
- "image"
24
+ "text"
26
25
  ],
27
26
  "cost": {
28
27
  "input": 0,
@@ -30,12 +29,12 @@
30
29
  "cacheRead": 0,
31
30
  "cacheWrite": 0
32
31
  },
33
- "contextWindow": 262144,
34
- "maxTokens": 32768
32
+ "contextWindow": 1048576,
33
+ "maxTokens": 393215
35
34
  },
36
35
  {
37
- "id": "umans-glm-5.2",
38
- "name": "Umans GLM 5.2",
36
+ "id": "umans-deepseek-v4-flash-0731-lab",
37
+ "name": "Umans DeepSeek V4 Flash (lab)",
39
38
  "reasoning": true,
40
39
  "input": [
41
40
  "text"
@@ -46,12 +45,12 @@
46
45
  "cacheRead": 0,
47
46
  "cacheWrite": 0
48
47
  },
49
- "contextWindow": 405504,
50
- "maxTokens": 131071
48
+ "contextWindow": 1048576,
49
+ "maxTokens": 393215
51
50
  },
52
51
  {
53
- "id": "umans-kimi-k2.7",
54
- "name": "Umans Kimi K2.7 Code",
52
+ "id": "umans-flash",
53
+ "name": "Umans Flash",
55
54
  "reasoning": true,
56
55
  "input": [
57
56
  "text",
@@ -66,9 +65,25 @@
66
65
  "contextWindow": 262144,
67
66
  "maxTokens": 32768
68
67
  },
68
+ {
69
+ "id": "umans-glm-5.2",
70
+ "name": "Umans GLM 5.2",
71
+ "reasoning": true,
72
+ "input": [
73
+ "text"
74
+ ],
75
+ "cost": {
76
+ "input": 0,
77
+ "output": 0,
78
+ "cacheRead": 0,
79
+ "cacheWrite": 0
80
+ },
81
+ "contextWindow": 405504,
82
+ "maxTokens": 131071
83
+ },
69
84
  {
70
85
  "id": "umans-kimi-k3",
71
- "name": "Umans Kimi K3 (prerelease)",
86
+ "name": "Umans Kimi K3",
72
87
  "reasoning": true,
73
88
  "input": [
74
89
  "text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-umans-provider",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
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",
@@ -26,7 +26,13 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^25.9.2",
29
- "typescript": "^6.0.3"
29
+ "typescript": "^6.0.3",
30
+ "@earendil-works/pi-ai": "0.84.0",
31
+ "@earendil-works/pi-coding-agent": "0.84.0"
32
+ },
33
+ "peerDependencies": {
34
+ "@earendil-works/pi-ai": "*",
35
+ "@earendil-works/pi-coding-agent": "*"
30
36
  },
31
37
  "scripts": {
32
38
  "clean": "echo 'nothing to clean'",
package/patch.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "umans-coder": {
3
- "thinkingLevelMap": { "off": "none" },
3
+ "thinkingLevelMap": {
4
+ "off": "none"
5
+ },
4
6
  "compat": {
5
7
  "supportsDeveloperRole": false,
6
8
  "supportsReasoningEffort": true,
@@ -8,15 +10,9 @@
8
10
  }
9
11
  },
10
12
  "umans-flash": {
11
- "thinkingLevelMap": { "off": "none" },
12
- "compat": {
13
- "supportsDeveloperRole": false,
14
- "supportsReasoningEffort": true,
15
- "requiresReasoningContentOnAssistantMessages": true
16
- }
17
- },
18
- "umans-kimi-k2.6": {
19
- "thinkingLevelMap": { "off": "none" },
13
+ "thinkingLevelMap": {
14
+ "off": "none"
15
+ },
20
16
  "compat": {
21
17
  "supportsDeveloperRole": false,
22
18
  "supportsReasoningEffort": true,
@@ -24,43 +20,71 @@
24
20
  }
25
21
  },
26
22
  "umans-kimi-k2.7": {
27
- "thinkingLevelMap": { "off": "none" },
23
+ "thinkingLevelMap": {
24
+ "off": "none"
25
+ },
28
26
  "compat": {
29
27
  "supportsDeveloperRole": false,
30
28
  "supportsReasoningEffort": true,
31
29
  "requiresReasoningContentOnAssistantMessages": true
32
30
  }
33
31
  },
34
- "umans-glm-5.1": {
35
- "thinkingLevelMap": { "off": "none" },
32
+ "umans-glm-5.2": {
33
+ "thinkingLevelMap": {
34
+ "off": "none"
35
+ },
36
36
  "compat": {
37
37
  "supportsDeveloperRole": false,
38
38
  "supportsReasoningEffort": true,
39
39
  "requiresReasoningContentOnAssistantMessages": true
40
40
  }
41
41
  },
42
- "umans-glm-5.2": {
43
- "thinkingLevelMap": { "off": "none" },
42
+ "umans-qwen3.6-35b-a3b": {
43
+ "thinkingLevelMap": {
44
+ "off": "none"
45
+ },
44
46
  "compat": {
45
47
  "supportsDeveloperRole": false,
46
48
  "supportsReasoningEffort": true,
47
49
  "requiresReasoningContentOnAssistantMessages": true
48
50
  }
49
51
  },
50
- "umans-glm-5.2-nvfp4": {
51
- "thinkingLevelMap": { "off": "none" },
52
+ "umans-deepseek-v4-flash-0731": {
53
+ "reasoning": true,
54
+ "thinkingLevelMap": {
55
+ "off": "none",
56
+ "minimal": null,
57
+ "low": "high",
58
+ "medium": "high",
59
+ "high": "high",
60
+ "xhigh": null,
61
+ "max": "max"
62
+ },
52
63
  "compat": {
53
- "supportsDeveloperRole": false,
54
- "supportsReasoningEffort": true,
55
- "requiresReasoningContentOnAssistantMessages": true
64
+ "thinkingFormat": "openai",
65
+ "maxTokensField": "max_tokens",
66
+ "supportsReasoningEffort": true
56
67
  }
57
68
  },
58
- "umans-qwen3.6-35b-a3b": {
59
- "thinkingLevelMap": { "off": "none" },
69
+ "umans-kimi-k3": {
70
+ "reasoning": true,
71
+ "input": [
72
+ "text",
73
+ "image"
74
+ ],
75
+ "thinkingLevelMap": {
76
+ "off": null,
77
+ "minimal": null,
78
+ "low": "low",
79
+ "medium": null,
80
+ "high": "high",
81
+ "xhigh": null,
82
+ "max": "max"
83
+ },
60
84
  "compat": {
61
- "supportsDeveloperRole": false,
62
- "supportsReasoningEffort": true,
63
- "requiresReasoningContentOnAssistantMessages": true
85
+ "thinkingFormat": "openai",
86
+ "maxTokensField": "max_tokens",
87
+ "supportsReasoningEffort": true
64
88
  }
65
89
  }
66
90
  }
@@ -0,0 +1,11 @@
1
+ allowBuilds:
2
+ '@google/genai': false
3
+ protobufjs: false
4
+ minimumReleaseAgeExclude:
5
+ - "@earendil-works/pi-agent-core@0.84.0"
6
+ - "@earendil-works/pi-ai@0.84.0"
7
+ - "@earendil-works/pi-client@0.84.0"
8
+ - "@earendil-works/pi-coding-agent@0.84.0"
9
+ - "@earendil-works/pi-protocol@0.84.0"
10
+ - "@earendil-works/pi-telemetry@0.84.0"
11
+ - "@earendil-works/pi-tui@0.84.0"