jeopi-catalog 16.2.23 → 16.2.25

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.25] - 2026-07-05
6
+
7
+ ### Added
8
+
9
+ - Added the `tencent` provider (Tencent Cloud MaaS, international `tokenhub-intl` gateway): API-key-only, Anthropic Messages wire format, serving DeepSeek/MiniMax/Zhipu GLM/Moonshot Kimi/Hunyuan MT models. Ported from gajae-code's `openai-compatible-catalog.ts` `protocol: "anthropic"` entry. The gateway has no `/v1/models` route and isn't indexed by models.dev, so the 16-model catalog is a curated static seed (`provider-models/tencent.ts`) baked into `models.json` at generation time — reconciled to a single list, unlike gajae-code's two divergent (and partly dead) Tencent model lists.
10
+
5
11
  ## [16.2.14] - 2026-07-02
6
12
 
7
13
  ### Breaking Changes
@@ -294,6 +294,11 @@ export declare const CATALOG_PROVIDERS: readonly [{
294
294
  readonly catalogDiscovery: {
295
295
  readonly label: "Synthetic";
296
296
  };
297
+ }, {
298
+ readonly id: "tencent";
299
+ readonly defaultModel: "deepseek-v4-pro";
300
+ readonly envVars: readonly ["TENCENT_API_KEY"];
301
+ readonly createModelManagerOptions: (config: ModelManagerConfig) => import("..").ModelManagerOptions<"anthropic-messages", unknown>;
297
302
  }, {
298
303
  readonly id: "together";
299
304
  readonly defaultModel: "moonshotai/Kimi-K2.7-Code";
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Tencent Cloud MaaS (international) — Anthropic Messages wire format,
3
+ * API-key-only. Serves DeepSeek / MiniMax / Zhipu GLM / Moonshot Kimi /
4
+ * Hunyuan MT models from one gateway (`tokenhub-intl`). Ported from
5
+ * gajae-code's `src/ai/providers/openai-compatible-catalog.ts` (`protocol:
6
+ * "anthropic"` entry) + `src/ai/model-catalog.ts` (the Tencent model rows).
7
+ *
8
+ * The gateway has no `/v1/models` route and is not indexed by models.dev, so
9
+ * (unlike `zai`/`minimax`, whose model lists come from models.dev at catalog
10
+ * generation time) the model list here is a curated static seed — the only
11
+ * available source of truth.
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.
21
+ *
22
+ * Pricing is not published for this gateway; cost fields are zeroed rather
23
+ * than guessed, matching the existing convention for other unverified-pricing
24
+ * gateways in the bundled catalog (e.g. `zai`).
25
+ */
26
+ import type { ModelManagerOptions } from "../model-manager";
27
+ import type { ModelSpec } from "../types";
28
+ export declare const TENCENT_BASE_URL = "https://tokenhub-intl.tencentcloudmaas.com";
29
+ /** Default model when no explicit selection is made — mirrors gajae-code's `defaultModel`. */
30
+ export declare const TENCENT_DEFAULT_MODEL = "deepseek-v4-pro";
31
+ /** Build the Tencent static model seed. `baseUrl` override supports self-hosted/regional gateways. */
32
+ 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
+ /** No live discovery endpoint (no `/v1/models` route) — the static seed is authoritative. */
39
+ export declare function tencentModelManagerOptions(config?: TencentModelManagerConfig): 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.23",
4
+ "version": "16.2.25",
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.23",
37
+ "jeopi-utils": "16.2.25",
38
38
  "arktype": "^2.2.0",
39
39
  "zod": "^4"
40
40
  },
41
41
  "devDependencies": {
42
- "jeopi-ai": "16.2.23",
42
+ "jeopi-ai": "16.2.25",
43
43
  "@types/bun": "^1.3.14"
44
44
  },
45
45
  "engines": {