@eddyskywalker/dsh-chatgpt-subscription 0.61.0 → 0.62.0

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/lib/index.js CHANGED
@@ -808,7 +808,7 @@ const ROUTE_PREFIX$5 = "/api/dsh-chatgpt-subscription";
808
808
  * `test/responses-client.test.ts` asserts the two agree, so a release that
809
809
  * forgets this constant fails the suite instead of shipping quietly.
810
810
  */
811
- const PLUGIN_VERSION = "0.61.0";
811
+ const PLUGIN_VERSION = "0.62.0";
812
812
  const CODEX_CHATGPT_PROVIDER_ID = "codex-chatgpt";
813
813
  const CODEX_API_BASE = "https://chatgpt.com/backend-api/codex";
814
814
  const CODEX_RESPONSES_URL = `${CODEX_API_BASE}/responses`;
@@ -81448,8 +81448,13 @@ const POOL_COOLDOWN_MS$1 = 15 * 6e4;
81448
81448
  * The subscription's models at release time, keyed by wire id.
81449
81449
  *
81450
81450
  * Id spellings and prices are transcribed from MODEL_PRICES_URL (fetched
81451
- * 2026-10-21, 37 entries, all chat models — the plan's image models are priced
81452
- * per call and are not in it). Display names use the pricing page's spelling
81451
+ * 2026-11-07, 41 entries, all chat models — the plan's image models are priced
81452
+ * per call and are not in it). A variant the list prices but no other source
81453
+ * describes separately (`deepseek-v4.1-flash-eco`, `gpt-6.1-terra`, `hy4`,
81454
+ * `kimi-k3.1-pro`, added 2026-11-07) transcribes only its price from that list;
81455
+ * its window, output cap, modalities and ladder are inherited from the sibling
81456
+ * row of the same family, which is the rule `deepseek-v4-flash-vision-exp`
81457
+ * already follows. Display names use the pricing page's spelling
81453
81458
  * where that page lists the model (https://open-design.ai/pricing/) and are
81454
81459
  * derived from the id otherwise; the live catalog's own name wins once one is
81455
81460
  * read. Windows, output caps, modalities and ladders come from the sibling
@@ -81603,6 +81608,23 @@ const MODEL_CATALOG$1 = Object.freeze({
81603
81608
  ],
81604
81609
  defaultEffort: "high"
81605
81610
  },
81611
+ "deepseek-v4.1-flash-eco": {
81612
+ name: "DeepSeek V4.1 Flash Eco",
81613
+ pricing: {
81614
+ input: .3,
81615
+ output: 1.2
81616
+ },
81617
+ contextWindow: 1e6,
81618
+ maxTokens: 384e3,
81619
+ input: ["text", "image"],
81620
+ efforts: [
81621
+ "none",
81622
+ "low",
81623
+ "high",
81624
+ "max"
81625
+ ],
81626
+ defaultEffort: "high"
81627
+ },
81606
81628
  "deepseek-v4-flash": {
81607
81629
  name: "DeepSeek V4 Flash",
81608
81630
  pricing: {
@@ -81805,6 +81827,23 @@ const MODEL_CATALOG$1 = Object.freeze({
81805
81827
  "max"
81806
81828
  ]
81807
81829
  },
81830
+ "gpt-6.1-terra": {
81831
+ name: "GPT-6.1 Terra",
81832
+ pricing: {
81833
+ input: 1,
81834
+ output: 5
81835
+ },
81836
+ contextWindow: 105e4,
81837
+ maxTokens: 128e3,
81838
+ input: ["text", "image"],
81839
+ efforts: [
81840
+ "low",
81841
+ "medium",
81842
+ "high",
81843
+ "xhigh",
81844
+ "max"
81845
+ ]
81846
+ },
81808
81847
  "gpt-6-astra": {
81809
81848
  name: "GPT-6 Astra",
81810
81849
  pricing: {
@@ -81900,6 +81939,20 @@ const MODEL_CATALOG$1 = Object.freeze({
81900
81939
  "xhigh"
81901
81940
  ]
81902
81941
  },
81942
+ "hy4": {
81943
+ name: "Hunyuan H4",
81944
+ pricing: {
81945
+ input: .417,
81946
+ output: 1.2505
81947
+ },
81948
+ contextWindow: 1048576,
81949
+ input: ["text"],
81950
+ efforts: [
81951
+ "low",
81952
+ "medium",
81953
+ "high"
81954
+ ]
81955
+ },
81903
81956
  "hy4-preview": {
81904
81957
  name: "Hunyuan H4 Preview",
81905
81958
  pricing: {
@@ -81945,6 +81998,21 @@ const MODEL_CATALOG$1 = Object.freeze({
81945
81998
  "max"
81946
81999
  ]
81947
82000
  },
82001
+ "kimi-k3.1-pro": {
82002
+ name: "Kimi K3.1 Pro",
82003
+ pricing: {
82004
+ input: 2,
82005
+ output: 10
82006
+ },
82007
+ contextWindow: 1048576,
82008
+ maxTokens: 131072,
82009
+ input: ["text", "image"],
82010
+ efforts: [
82011
+ "low",
82012
+ "high",
82013
+ "max"
82014
+ ]
82015
+ },
81948
82016
  "mimo-v2.6-flash": {
81949
82017
  name: "MiMo V2.6 Flash",
81950
82018
  pricing: {
@@ -76,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
76
76
  * `test/responses-client.test.ts` asserts the two agree, so a release that
77
77
  * forgets this constant fails the suite instead of shipping quietly.
78
78
  */
79
- export declare const PLUGIN_VERSION: "0.61.0";
79
+ export declare const PLUGIN_VERSION: "0.62.0";
80
80
  export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
81
81
  export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
82
82
  export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
@@ -177,8 +177,13 @@ export interface OpenDesignModelMeta {
177
177
  * The subscription's models at release time, keyed by wire id.
178
178
  *
179
179
  * Id spellings and prices are transcribed from MODEL_PRICES_URL (fetched
180
- * 2026-10-21, 37 entries, all chat models — the plan's image models are priced
181
- * per call and are not in it). Display names use the pricing page's spelling
180
+ * 2026-11-07, 41 entries, all chat models — the plan's image models are priced
181
+ * per call and are not in it). A variant the list prices but no other source
182
+ * describes separately (`deepseek-v4.1-flash-eco`, `gpt-6.1-terra`, `hy4`,
183
+ * `kimi-k3.1-pro`, added 2026-11-07) transcribes only its price from that list;
184
+ * its window, output cap, modalities and ladder are inherited from the sibling
185
+ * row of the same family, which is the rule `deepseek-v4-flash-vision-exp`
186
+ * already follows. Display names use the pricing page's spelling
182
187
  * where that page lists the model (https://open-design.ai/pricing/) and are
183
188
  * derived from the id otherwise; the live catalog's own name wins once one is
184
189
  * read. Windows, output caps, modalities and ladders come from the sibling
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/host/opendesign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MAAM,EAAE,CAAA;IACxB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;CAC5C;AAED,qEAAqE;AACrE,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eddyskywalker/dsh-chatgpt-subscription",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "description": "DSH provider plugin for Codex access through a ChatGPT subscription.",
5
5
  "icon": "./icon.svg",
6
6
  "author": {