pi-hypercharm-provider 1.3.43 → 1.3.45
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/CHANGELOG.md +4 -0
- package/README.md +2 -1
- package/models.json +34 -2
- package/package.json +4 -4
- package/scripts/test-pi-compat.mjs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.3.44
|
|
4
|
+
|
|
5
|
+
- Pin Pi SDK development dependencies to 1.3.0 while retaining wildcard host peers; verify real manifest loading, lifecycle and native/bundled Pi hosts offline.
|
|
6
|
+
|
|
3
7
|
## 1.3.42
|
|
4
8
|
|
|
5
9
|
- Pin Pi SDK development dependencies to 1.2.0 while retaining wildcard host peers; verify real manifest loading, lifecycle and native/bundled Pi hosts offline.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Run `bun run test:pi` for offline manifest, catalog, lifecycle and streaming che
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
- **
|
|
23
|
+
- **25+ AI Models** including DeepSeek V4 Flash/Pro, GLM 5/5.1, Kimi K2.5/K2.6, Qwen3.6/3.7, MiniMax M2.7, Gemma 4, GPT-OSS, and Llama
|
|
24
24
|
- **DeepSeek Native Thinking** — Uses the `deepseek` thinking format for Charm Hyper requests, with native `reasoning_effort` on models that publish levels
|
|
25
25
|
- **OpenAI-compatible API** via Charm Hyper's `/v1/chat/completions` endpoint
|
|
26
26
|
- **OAuth Device Flow** — sign in with `/login` under the `hypercharm` provider (independent of the official provider's `hyper` registration)
|
|
@@ -37,6 +37,7 @@ Run `bun run test:pi` for offline manifest, catalog, lifecycle and streaming che
|
|
|
37
37
|
| DeepSeek V4 Pro | Text | 1.0M | 384K | $2.40 | $4.80 |
|
|
38
38
|
| DeepSeek V4 Pro 0813 | Text | 1.0M | 262K | $1.44 | $4.31 |
|
|
39
39
|
| DeepSeek V4.1 Flash | Text + Image | 1.0M | 262K | $0.33 | $1.31 |
|
|
40
|
+
| DeepSeek V4.1 Flash 1017 | Text + Image | 1.0M | 262K | $0.33 | $1.31 |
|
|
40
41
|
| Gemma 4 26B A4B | Text | 256K | 26K | $0.10 | $0.33 |
|
|
41
42
|
| GLM 5.3 | Text | 1.0M | 128K | $1.52 | $4.79 |
|
|
42
43
|
| GLM 5.3 Flash | Text + Image | 1.0M | 131K | $0.16 | $0.54 |
|
package/models.json
CHANGED
|
@@ -71,8 +71,40 @@
|
|
|
71
71
|
"low": "low",
|
|
72
72
|
"medium": null,
|
|
73
73
|
"high": "high",
|
|
74
|
-
"xhigh":
|
|
75
|
-
"max":
|
|
74
|
+
"xhigh": null,
|
|
75
|
+
"max": "max"
|
|
76
|
+
},
|
|
77
|
+
"input": [
|
|
78
|
+
"text",
|
|
79
|
+
"image"
|
|
80
|
+
],
|
|
81
|
+
"cost": {
|
|
82
|
+
"input": 0.33,
|
|
83
|
+
"output": 1.31,
|
|
84
|
+
"cacheRead": 0.03,
|
|
85
|
+
"cacheWrite": 0
|
|
86
|
+
},
|
|
87
|
+
"contextWindow": 1048576,
|
|
88
|
+
"maxTokens": 262144,
|
|
89
|
+
"compat": {
|
|
90
|
+
"supportsStore": false,
|
|
91
|
+
"supportsReasoningEffort": true,
|
|
92
|
+
"thinkingFormat": "deepseek",
|
|
93
|
+
"maxTokensField": "max_tokens"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "deepseek-v4.1-flash-1017",
|
|
98
|
+
"name": "DeepSeek V4.1 Flash 1017",
|
|
99
|
+
"reasoning": true,
|
|
100
|
+
"thinkingLevelMap": {
|
|
101
|
+
"off": null,
|
|
102
|
+
"minimal": null,
|
|
103
|
+
"low": "low",
|
|
104
|
+
"medium": null,
|
|
105
|
+
"high": "high",
|
|
106
|
+
"xhigh": null,
|
|
107
|
+
"max": "max"
|
|
76
108
|
},
|
|
77
109
|
"input": [
|
|
78
110
|
"text",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-hypercharm-provider",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.45",
|
|
4
4
|
"description": "HyperCharm provider extension for pi - Access DeepSeek, GLM, Kimi, Qwen, MiniMax, Gemma, and GPT-OSS models through the Charm Hyper API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"brace-expansion": "5.0.12"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@earendil-works/pi-ai": "1.
|
|
43
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
44
|
-
"@earendil-works/pi-tui": "1.
|
|
42
|
+
"@earendil-works/pi-ai": "1.3.0",
|
|
43
|
+
"@earendil-works/pi-coding-agent": "1.3.0",
|
|
44
|
+
"@earendil-works/pi-tui": "1.3.0",
|
|
45
45
|
"@types/node": "^24.10.1",
|
|
46
46
|
"jiti": "2.7.0",
|
|
47
47
|
"typescript": "6.0.3",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Offline Pi 1.
|
|
1
|
+
// Offline Pi 1.3.0 manifest, lifecycle, catalog and real transport regression.
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
3
|
import { mkdtemp, readFile, rm } from 'node:fs/promises';
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
@@ -18,13 +18,13 @@ try {
|
|
|
18
18
|
const hostEntry = process.env.PI1_HOST_ENTRY === 'bundle' ? 'dist/bundle/index.js' : 'dist/index.js';
|
|
19
19
|
const sdk = await import(host ? pathToFileURL(join(host, hostEntry)).href : '@earendil-works/pi-coding-agent');
|
|
20
20
|
const { createAgentSession, DefaultResourceLoader, ModelRuntime, SessionManager, SettingsManager, VERSION } = sdk;
|
|
21
|
-
assert.equal(VERSION, '1.
|
|
22
|
-
assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.
|
|
21
|
+
assert.equal(VERSION, '1.3.0', 'executing host version');
|
|
22
|
+
assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.3.0', 'development host version');
|
|
23
23
|
const manifest = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'));
|
|
24
24
|
for (const name of ['@earendil-works/pi-ai', '@earendil-works/pi-agent-core', '@earendil-works/pi-coding-agent', '@earendil-works/pi-tui', 'typebox']) {
|
|
25
25
|
assert.equal(manifest.dependencies?.[name], undefined, `${name}: do not bundle host packages`);
|
|
26
26
|
if (manifest.peerDependencies?.[name] !== undefined) assert.equal(manifest.peerDependencies[name], '*');
|
|
27
|
-
if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.
|
|
27
|
+
if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.3.0');
|
|
28
28
|
}
|
|
29
29
|
const settingsManager = SettingsManager.inMemory({ packages: [root], compaction: { enabled: false }, retry: { enabled: false } });
|
|
30
30
|
const resourceLoader = new DefaultResourceLoader({ cwd: home, agentDir: home, settingsManager,
|