@oh-my-pi/pi-catalog 18.12.4 → 18.12.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
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [18.12.5] - 2026-10-21
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed Moonshot `kimi-k3` pricing cache writes at $0; usage cost now includes cache writes at Moonshot's $3/M 5-minute rate ([#16508](https://github.com/can1357/oh-my-pi/issues/16508))
|
|
10
|
+
|
|
5
11
|
## [18.12.4] - 2026-10-20
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -78,8 +78,10 @@ export declare function getCodexAccountId(accessToken: string): string | undefin
|
|
|
78
78
|
* needed: `chatgpt_data_residency` is the authoritative claim, with
|
|
79
79
|
* `chatgpt_compute_residency` as the fallback for tokens that only carry that.
|
|
80
80
|
*
|
|
81
|
-
* Returns undefined for a non-JWT token, or for the (common) accounts
|
|
82
|
-
* claims omit residency
|
|
81
|
+
* Returns undefined for a non-JWT token, or for the (common) accounts that are
|
|
82
|
+
* not region-pinned: their claims omit residency or carry the
|
|
83
|
+
* {@link CODEX_UNCONSTRAINED_RESIDENCY} sentinel. The backend answers 404 to a
|
|
84
|
+
* declared `no_constraint`, and codex-rs never sends it.
|
|
83
85
|
*/
|
|
84
86
|
export declare function getCodexResidency(accessToken: string): string | undefined;
|
|
85
87
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oh-my-pi/pi-catalog",
|
|
3
|
-
"version": "18.12.
|
|
3
|
+
"version": "18.12.5",
|
|
4
4
|
"description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
"gen:proto": "bun scripts/generate-protocols.ts"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@oh-my-pi/omptype": "18.12.
|
|
97
|
-
"@oh-my-pi/pi-utils": "18.12.
|
|
96
|
+
"@oh-my-pi/omptype": "18.12.5",
|
|
97
|
+
"@oh-my-pi/pi-utils": "18.12.5"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"@bgotink/kdl": "0.4.0",
|
|
101
|
-
"@oh-my-pi/pi-ai": "18.12.
|
|
101
|
+
"@oh-my-pi/pi-ai": "18.12.5",
|
|
102
102
|
"@types/bun": "^1.3.14"
|
|
103
103
|
},
|
|
104
104
|
"engines": {
|
|
@@ -33,15 +33,15 @@ provider "moonshot" {
|
|
|
33
33
|
input-modalities "text" "image"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
//
|
|
37
|
-
//
|
|
36
|
+
// Official K3 rates: cache write is billed separately by TTL ($3 for the
|
|
37
|
+
// default 5min tier, $6 for 1h). omp sends no TTL, so the 5min rate applies.
|
|
38
38
|
// https://platform.moonshot.ai/docs/pricing/chat-k3
|
|
39
39
|
models "kimi-k3" {
|
|
40
40
|
cost-patch {
|
|
41
41
|
input 3.0
|
|
42
42
|
output 15.0
|
|
43
43
|
cache-read 0.3
|
|
44
|
-
cache-write
|
|
44
|
+
cache-write 3.0
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
// The /models roster carries no modality metadata for the named vision/vl
|