jeopi-catalog 16.2.25 → 16.2.26

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
+ ## [16.2.26] - 2026-07-05
6
+
7
+ ### Removed
8
+
9
+ - Removed the unused Tencent static-model eager export; callers should use `buildTencentStaticSeed()` so base-URL overrides stay lazy.
10
+
5
11
  ## [16.2.25] - 2026-07-05
6
12
 
7
13
  ### Added
@@ -4,3 +4,4 @@ export * from "./google";
4
4
  export * from "./ollama";
5
5
  export * from "./openai-compat";
6
6
  export * from "./special";
7
+ export * from "./tencent";
@@ -10,14 +10,8 @@
10
10
  * generation time) the model list here is a curated static seed — the only
11
11
  * available source of truth.
12
12
  *
13
- * Improvement over the source: gajae-code ships two Tencent model lists that
14
- * have drifted apart (`openai-compatible-catalog.ts`'s 16-id `knownModels`
15
- * vs `model-catalog.ts`'s 17-row table — they disagree on `hy-mt2-plus`,
16
- * `deepseek-v4-pro-202606`, `deepseek-v4-flash-202605`, `minimax-m2.7`, and
17
- * `kimi-k2.6`), and `knownModels` turns out to be dead code in practice — the
18
- * live model-list fallback (`catalogOr`) reads only `model-catalog.ts`. This
19
- * port keeps exactly one list (the superset, i.e. `model-catalog.ts`'s 17
20
- * models) so the two can't diverge again.
13
+ * This port keeps exactly one 16-model list so the legacy `knownModels` and
14
+ * catalog-table sources cannot diverge again.
21
15
  *
22
16
  * Pricing is not published for this gateway; cost fields are zeroed rather
23
17
  * than guessed, matching the existing convention for other unverified-pricing
@@ -30,10 +24,7 @@ export declare const TENCENT_BASE_URL = "https://tokenhub-intl.tencentcloudmaas.
30
24
  export declare const TENCENT_DEFAULT_MODEL = "deepseek-v4-pro";
31
25
  /** Build the Tencent static model seed. `baseUrl` override supports self-hosted/regional gateways. */
32
26
  export declare function buildTencentStaticSeed(baseUrl?: string): ModelSpec<"anthropic-messages">[];
33
- export declare const TENCENT_STATIC_MODELS: readonly ModelSpec<"anthropic-messages">[];
34
- export interface TencentModelManagerConfig {
35
- apiKey?: string;
36
- baseUrl?: string;
37
- }
38
27
  /** No live discovery endpoint (no `/v1/models` route) — the static seed is authoritative. */
39
- export declare function tencentModelManagerOptions(config?: TencentModelManagerConfig): ModelManagerOptions<"anthropic-messages">;
28
+ export declare function tencentModelManagerOptions(config?: {
29
+ baseUrl?: string;
30
+ }): ModelManagerOptions<"anthropic-messages">;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "jeopi-catalog",
4
- "version": "16.2.25",
4
+ "version": "16.2.26",
5
5
  "description": "Model catalog for jeopi: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
6
6
  "homepage": "https://github.com/akillness/jeopi",
7
7
  "author": "Can Boluk",
@@ -34,12 +34,12 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@bufbuild/protobuf": "^2.12.0",
37
- "jeopi-utils": "16.2.25",
37
+ "jeopi-utils": "16.2.26",
38
38
  "arktype": "^2.2.0",
39
39
  "zod": "^4"
40
40
  },
41
41
  "devDependencies": {
42
- "jeopi-ai": "16.2.25",
42
+ "jeopi-ai": "16.2.26",
43
43
  "@types/bun": "^1.3.14"
44
44
  },
45
45
  "engines": {
@@ -4,3 +4,5 @@ export * from "./google";
4
4
  export * from "./ollama";
5
5
  export * from "./openai-compat";
6
6
  export * from "./special";
7
+
8
+ export * from "./tencent";
@@ -10,14 +10,8 @@
10
10
  * generation time) the model list here is a curated static seed — the only
11
11
  * available source of truth.
12
12
  *
13
- * Improvement over the source: gajae-code ships two Tencent model lists that
14
- * have drifted apart (`openai-compatible-catalog.ts`'s 16-id `knownModels`
15
- * vs `model-catalog.ts`'s 17-row table — they disagree on `hy-mt2-plus`,
16
- * `deepseek-v4-pro-202606`, `deepseek-v4-flash-202605`, `minimax-m2.7`, and
17
- * `kimi-k2.6`), and `knownModels` turns out to be dead code in practice — the
18
- * live model-list fallback (`catalogOr`) reads only `model-catalog.ts`. This
19
- * port keeps exactly one list (the superset, i.e. `model-catalog.ts`'s 17
20
- * models) so the two can't diverge again.
13
+ * This port keeps exactly one 16-model list so the legacy `knownModels` and
14
+ * catalog-table sources cannot diverge again.
21
15
  *
22
16
  * Pricing is not published for this gateway; cost fields are zeroed rather
23
17
  * than guessed, matching the existing convention for other unverified-pricing
@@ -79,16 +73,9 @@ export function buildTencentStaticSeed(baseUrl: string = TENCENT_BASE_URL): Mode
79
73
  }));
80
74
  }
81
75
 
82
- export const TENCENT_STATIC_MODELS: readonly ModelSpec<"anthropic-messages">[] = buildTencentStaticSeed();
83
-
84
- export interface TencentModelManagerConfig {
85
- apiKey?: string;
86
- baseUrl?: string;
87
- }
88
-
89
76
  /** No live discovery endpoint (no `/v1/models` route) — the static seed is authoritative. */
90
77
  export function tencentModelManagerOptions(
91
- config: TencentModelManagerConfig = {},
78
+ config: { baseUrl?: string } = {},
92
79
  ): ModelManagerOptions<"anthropic-messages"> {
93
80
  return { providerId: "tencent", staticModels: buildTencentStaticSeed(config.baseUrl) };
94
81
  }