pi-clinepass 0.1.4 → 0.1.5
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 +1 -1
- package/package.json +54 -54
- package/src/catalog.ts +1 -0
- package/src/headers.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.1.5 - 2026-09-12
|
|
6
|
+
|
|
7
|
+
- New paid model: `cline-pass/deepseek-v4.1-flash` (measured rates pending calibration)
|
|
8
|
+
|
|
5
9
|
## 0.1.4 - 2026-09-09
|
|
6
10
|
|
|
7
11
|
- New free model: `cline-free/solar-pro4` and `cline-free/muse-spark-1.3-contributor`
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Dollar-based limits, live cost tracking, and plan cap reporting.
|
|
|
25
25
|
|
|
26
26
|
## Highlights
|
|
27
27
|
|
|
28
|
-
- **
|
|
28
|
+
- **22 Models**: 16 ClinePass models on a dollar-based limit system plus 6 free tier models
|
|
29
29
|
- **Live Status Meter**: Per-turn and session cost directly in the pi footer
|
|
30
30
|
- **Plan Utilization**: 5-hour, weekly, and monthly caps tracked via `/clinepass`
|
|
31
31
|
- **Price Calibration**: measure real gateway billing from `/clinepass` to keep displayed prices honest
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pi-clinepass",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "ClinePass for pi — static measured-price catalog, server-truth billing meter, free models",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"ai",
|
|
7
|
-
"cline",
|
|
8
|
-
"cline-pass",
|
|
9
|
-
"clinepass",
|
|
10
|
-
"pi",
|
|
11
|
-
"pi-coding-agent",
|
|
12
|
-
"pi-package",
|
|
13
|
-
"pi-extension"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"author": "fifidayone",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/fifidayone/pi-clinepass.git"
|
|
20
|
-
},
|
|
21
|
-
"type": "module",
|
|
22
|
-
"main": "src/index.ts",
|
|
23
|
-
"types": "src/index.ts",
|
|
24
|
-
"files": [
|
|
25
|
-
"src",
|
|
26
|
-
"CHANGELOG.md",
|
|
27
|
-
"README.md",
|
|
28
|
-
"LICENSE"
|
|
29
|
-
],
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=22"
|
|
32
|
-
},
|
|
33
|
-
"scripts": {
|
|
34
|
-
"test": "vitest run",
|
|
35
|
-
"test:watch": "vitest",
|
|
36
|
-
"typecheck": "tsc --noEmit"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@earendil-works/pi-ai": "*",
|
|
40
|
-
"@earendil-works/pi-coding-agent": "*",
|
|
41
|
-
"@earendil-works/pi-tui": "*"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@types/node": "^26.3.0",
|
|
45
|
-
"typescript": "^7.0.2",
|
|
46
|
-
"vitest": "^4.1.11"
|
|
47
|
-
},
|
|
48
|
-
"pi": {
|
|
49
|
-
"extensions": [
|
|
50
|
-
"./src/index.ts"
|
|
51
|
-
],
|
|
52
|
-
"image": "https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/report.png"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pi-clinepass",
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "ClinePass for pi — static measured-price catalog, server-truth billing meter, free models",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"cline",
|
|
8
|
+
"cline-pass",
|
|
9
|
+
"clinepass",
|
|
10
|
+
"pi",
|
|
11
|
+
"pi-coding-agent",
|
|
12
|
+
"pi-package",
|
|
13
|
+
"pi-extension"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "fifidayone",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/fifidayone/pi-clinepass.git"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "src/index.ts",
|
|
23
|
+
"types": "src/index.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"src",
|
|
26
|
+
"CHANGELOG.md",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=22"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "vitest run",
|
|
35
|
+
"test:watch": "vitest",
|
|
36
|
+
"typecheck": "tsc --noEmit"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@earendil-works/pi-ai": "*",
|
|
40
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
41
|
+
"@earendil-works/pi-tui": "*"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/node": "^26.3.0",
|
|
45
|
+
"typescript": "^7.0.2",
|
|
46
|
+
"vitest": "^4.1.11"
|
|
47
|
+
},
|
|
48
|
+
"pi": {
|
|
49
|
+
"extensions": [
|
|
50
|
+
"./src/index.ts"
|
|
51
|
+
],
|
|
52
|
+
"image": "https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/report.png"
|
|
53
|
+
}
|
|
54
|
+
}
|
package/src/catalog.ts
CHANGED
|
@@ -178,6 +178,7 @@ export const MODELS: readonly ClinePassModel[] = [
|
|
|
178
178
|
model("cline-pass/kimi-k2.6", "Kimi K2.6", [1.58, 6.67, 0.27], 262_144, 131_072, ["text", "image"], ALL_THINKING),
|
|
179
179
|
model("cline-pass/kimi-k3", "Kimi K3", [6.0, 30.0, 0.6], 921_600, 131_072, ["text", "image"], MAX_HIGH_LOW),
|
|
180
180
|
model("cline-pass/deepseek-v4-pro", "DeepSeek V4 Pro", [1.65, 4.95, 0.06], 921_600, 131_072, ["text"], MAX_HIGH_LOW),
|
|
181
|
+
model("cline-pass/deepseek-v4.1-flash", "DeepSeek V4.1 Flash", [0.3, 1.2, 0.006], 921_600, 131_072, ["text", "image"], MAX_HIGH_LOW),
|
|
181
182
|
model("cline-pass/deepseek-v4-flash", "DeepSeek V4 Flash", [0.44, 1.32, 0.014], 921_600, 131_072, ["text"], MAX_HIGH_LOW),
|
|
182
183
|
model("cline-pass/mimo-v2.5", "MiMo-V2.5", [0.14, 0.28, 0.0028], 921_600, 131_072, ["text", "image"], ALL_THINKING),
|
|
183
184
|
model("cline-pass/mimo-v2.5-pro", "MiMo-V2.5-Pro", [0.435, 0.87, 0.0036], 921_600, 131_072, ["text"], ALL_THINKING),
|
package/src/headers.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { release } from "node:os";
|
|
12
12
|
import { isFreeModel } from "./catalog.js";
|
|
13
13
|
|
|
14
|
-
const FALLBACK_CLINE_VERSION = "3.0.
|
|
14
|
+
const FALLBACK_CLINE_VERSION = "3.0.61";
|
|
15
15
|
const VERSION_CACHE_TTL_MS = 24 * 60 * 60 * 1000;
|
|
16
16
|
const NPM_REGISTRY_URL = "https://registry.npmjs.org/cline/latest";
|
|
17
17
|
|