pi-clinepass 0.1.0 → 0.1.1

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 ADDED
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## 0.1.1 - 2026-08-27
6
+
7
+ - Catalog: `stealth/ox-alpha` is now `z-ai/glm-5.3-flash` (renamed)
8
+ - Context capped to 921600 for 1M models to avoid gateway edge
9
+ - Max output capped to 131072 for code-friendly limits
10
+ - Inputs updated per modalities (image where supported)
11
+ - Thinking levels mapped per model spec
12
+ - Prices adjusted to latest measured rates
13
+
14
+ ## 0.1.0 - 2026-08-26
15
+
16
+ - Initial release
17
+ - 16 models (13 paid, 3 free)
18
+ - Server-truth billing meter and plan report
19
+ - Login via Cline CLI, browser, or API key
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 fific
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 fific
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,117 +1,117 @@
1
- <div align="center">
2
-
3
- # pi-clinepass
4
-
5
- **ClinePass provider for [pi](https://pi.dev) coding agent**
6
-
7
- Dollar-based limits, live cost tracking, and plan cap reporting.
8
-
9
- <br>
10
-
11
- <p align="center">
12
- <a href="https://www.npmjs.com/package/pi-clinepass"><img src="https://img.shields.io/badge/npm-pi--clinepass-CB3837?style=for-the-badge&logo=npm&logoColor=white" alt="npm package"></a>
13
- <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-7.0-3178C6?style=for-the-badge&logo=typescript&logoColor=white" alt="TypeScript 7"></a>
14
- <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node.js-%3E%3D22.19-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node version"></a>
15
- <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-000000?style=for-the-badge" alt="MIT License"></a>
16
- </p>
17
-
18
- <br>
19
-
20
- <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/status.png" alt="pi-clinepass status meter" width="680">
21
-
22
- </div>
23
-
24
- <br>
25
-
26
- ## Highlights
27
-
28
- - **16 Models**: 13 ClinePass models on a dollar-based limit system plus 3 free tier models
29
- - **Live Status Meter**: Per-turn and session cost directly in the pi footer
30
- - **Plan Utilization**: 5-hour, weekly, and monthly caps tracked via `/clinepass`
31
- - **Simple Auth**: One-time login via Cline CLI, browser, or API key
32
-
33
- ---
34
-
35
- ## Installation
36
-
37
- Requires **Node.js 22.19+** and [pi](https://pi.dev).
38
-
39
- ```sh
40
- pi install npm:pi-clinepass
41
- ```
42
-
43
- ---
44
-
45
- ## Quickstart
46
-
47
- ### 1. Authenticate
48
-
49
- Run the login command inside pi:
50
-
51
- ```
52
- /login
53
- ```
54
-
55
- Select **ClinePass** to choose your sign-in method:
56
-
57
- <br>
58
-
59
- <div align="center">
60
- <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/login.png" alt="ClinePass login menu" width="620">
61
- </div>
62
-
63
- <br>
64
-
65
- - **Use existing sign-in (Cline CLI)**: keep using your Cline CLI account
66
- - **Sign in with browser**: log in once in your browser
67
- - **Enter API key**: paste your ClinePass key
68
-
69
- ### 2. Select a Model
70
-
71
- Pick any model using the interactive selector:
72
-
73
- ```
74
- /model
75
- ```
76
-
77
- ---
78
-
79
- ## Report
80
-
81
- View the live rate sheet and plan limit utilization anytime:
82
-
83
- ```
84
- /clinepass
85
- ```
86
-
87
- <div align="center">
88
- <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/report.png" alt="ClinePass report with pricing and plan limits" width="620">
89
- </div>
90
-
91
- ---
92
-
93
- ## Development
94
-
95
- ```sh
96
- git clone https://github.com/fifidayone/pi-clinepass.git
97
- cd pi-clinepass
98
- npm install
99
- npm test
100
- npm run typecheck
101
- ```
102
-
103
- ---
104
-
105
- ## Support
106
-
107
- pi-clinepass is free and will stay free. If you'd like to help, consider buying me a coffee:
108
-
109
- <p align="left">
110
- <a href="https://www.paypal.com/paypalme/fifidayone"><img src="https://img.shields.io/badge/PayPal-fifidayone-00457C?style=for-the-badge&logo=paypal&logoColor=white" alt="Support via PayPal"></a>
111
- </p>
112
-
113
- ---
114
-
115
- ## License
116
-
117
- [MIT](LICENSE) © 2026 fifidayone
1
+ <div align="center">
2
+
3
+ # pi-clinepass
4
+
5
+ **ClinePass provider for [pi](https://pi.dev) coding agent**
6
+
7
+ Dollar-based limits, live cost tracking, and plan cap reporting.
8
+
9
+ <br>
10
+
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/pi-clinepass"><img src="https://img.shields.io/badge/npm-pi--clinepass-CB3837?style=for-the-badge&logo=npm&logoColor=white" alt="npm package"></a>
13
+ <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-7.0-3178C6?style=for-the-badge&logo=typescript&logoColor=white" alt="TypeScript 7"></a>
14
+ <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node.js-%3E%3D22.19-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node version"></a>
15
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-000000?style=for-the-badge" alt="MIT License"></a>
16
+ </p>
17
+
18
+ <br>
19
+
20
+ <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/status.png" alt="pi-clinepass status meter" width="680">
21
+
22
+ </div>
23
+
24
+ <br>
25
+
26
+ ## Highlights
27
+
28
+ - **16 Models**: 13 ClinePass models on a dollar-based limit system plus 3 free tier models
29
+ - **Live Status Meter**: Per-turn and session cost directly in the pi footer
30
+ - **Plan Utilization**: 5-hour, weekly, and monthly caps tracked via `/clinepass`
31
+ - **Simple Auth**: One-time login via Cline CLI, browser, or API key
32
+
33
+ ---
34
+
35
+ ## Installation
36
+
37
+ Requires **Node.js 22.19+** and [pi](https://pi.dev).
38
+
39
+ ```sh
40
+ pi install npm:pi-clinepass
41
+ ```
42
+
43
+ ---
44
+
45
+ ## Quickstart
46
+
47
+ ### 1. Authenticate
48
+
49
+ Run the login command inside pi:
50
+
51
+ ```
52
+ /login
53
+ ```
54
+
55
+ Select **ClinePass** to choose your sign-in method:
56
+
57
+ <br>
58
+
59
+ <div align="center">
60
+ <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/login.png" alt="ClinePass login menu" width="620">
61
+ </div>
62
+
63
+ <br>
64
+
65
+ - **Use existing sign-in (Cline CLI)**: keep using your Cline CLI account
66
+ - **Sign in with browser**: log in once in your browser
67
+ - **Enter API key**: paste your ClinePass key
68
+
69
+ ### 2. Select a Model
70
+
71
+ Pick any model using the interactive selector:
72
+
73
+ ```
74
+ /model
75
+ ```
76
+
77
+ ---
78
+
79
+ ## Report
80
+
81
+ View the live rate sheet and plan limit utilization anytime:
82
+
83
+ ```
84
+ /clinepass
85
+ ```
86
+
87
+ <div align="center">
88
+ <img src="https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/report.png" alt="ClinePass report with pricing and plan limits" width="620">
89
+ </div>
90
+
91
+ ---
92
+
93
+ ## Development
94
+
95
+ ```sh
96
+ git clone https://github.com/fifidayone/pi-clinepass.git
97
+ cd pi-clinepass
98
+ npm install
99
+ npm test
100
+ npm run typecheck
101
+ ```
102
+
103
+ ---
104
+
105
+ ## Support
106
+
107
+ pi-clinepass is free and will stay free. If you'd like to help, consider buying me a coffee:
108
+
109
+ <p align="left">
110
+ <a href="https://www.paypal.com/paypalme/fifidayone"><img src="https://img.shields.io/badge/PayPal-fifidayone-00457C?style=for-the-badge&logo=paypal&logoColor=white" alt="Support via PayPal"></a>
111
+ </p>
112
+
113
+ ---
114
+
115
+ ## License
116
+
117
+ [MIT](LICENSE) © 2026 fifidayone
package/package.json CHANGED
@@ -1,52 +1,53 @@
1
- {
2
- "name": "pi-clinepass",
3
- "version": "0.1.0",
4
- "description": "ClinePass provider 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
- },
42
- "devDependencies": {
43
- "@types/node": "^26.3.0",
44
- "typescript": "^7.0.2",
45
- "vitest": "^4.1.11"
46
- },
47
- "pi": {
48
- "extensions": [
49
- "./src/index.ts"
50
- ]
51
- }
52
- }
1
+ {
2
+ "name": "pi-clinepass",
3
+ "version": "0.1.1",
4
+ "description": "ClinePass provider 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
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^26.3.0",
44
+ "typescript": "^7.0.2",
45
+ "vitest": "^4.1.11"
46
+ },
47
+ "pi": {
48
+ "extensions": [
49
+ "./src/index.ts"
50
+ ],
51
+ "image": "https://raw.githubusercontent.com/fifidayone/pi-clinepass/main/assets/report.png"
52
+ }
53
+ }