jeopi-catalog 16.2.24 → 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,18 @@
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
+
11
+ ## [16.2.25] - 2026-07-05
12
+
13
+ ### Added
14
+
15
+ - 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.
16
+
5
17
  ## [16.2.14] - 2026-07-02
6
18
 
7
19
  ### 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";
@@ -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";
@@ -0,0 +1,30 @@
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
+ * This port keeps exactly one 16-model list so the legacy `knownModels` and
14
+ * catalog-table sources cannot diverge again.
15
+ *
16
+ * Pricing is not published for this gateway; cost fields are zeroed rather
17
+ * than guessed, matching the existing convention for other unverified-pricing
18
+ * gateways in the bundled catalog (e.g. `zai`).
19
+ */
20
+ import type { ModelManagerOptions } from "../model-manager";
21
+ import type { ModelSpec } from "../types";
22
+ export declare const TENCENT_BASE_URL = "https://tokenhub-intl.tencentcloudmaas.com";
23
+ /** Default model when no explicit selection is made — mirrors gajae-code's `defaultModel`. */
24
+ export declare const TENCENT_DEFAULT_MODEL = "deepseek-v4-pro";
25
+ /** Build the Tencent static model seed. `baseUrl` override supports self-hosted/regional gateways. */
26
+ export declare function buildTencentStaticSeed(baseUrl?: string): ModelSpec<"anthropic-messages">[];
27
+ /** No live discovery endpoint (no `/v1/models` route) — the static seed is authoritative. */
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.24",
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.24",
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.24",
42
+ "jeopi-ai": "16.2.26",
43
43
  "@types/bun": "^1.3.14"
44
44
  },
45
45
  "engines": {