jeopi-catalog 16.2.13 → 16.2.14
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 +2 -0
- package/package.json +7 -7
- package/dist/types/build.d.ts +0 -3
- package/dist/types/compat/anthropic.d.ts +0 -11
- package/dist/types/compat/apply.d.ts +0 -7
- package/dist/types/compat/devin.d.ts +0 -9
- package/dist/types/compat/openai.d.ts +0 -28
- package/dist/types/discovery/antigravity.d.ts +0 -70
- package/dist/types/discovery/codex.d.ts +0 -38
- package/dist/types/discovery/cursor-gen/agent_pb.d.ts +0 -13022
- package/dist/types/discovery/cursor.d.ts +0 -23
- package/dist/types/discovery/devin-gen/buf/validate/validate_pb.d.ts +0 -1715
- package/dist/types/discovery/devin-gen/exa/analytics_pb/analytics_pb.d.ts +0 -693
- package/dist/types/discovery/devin-gen/exa/api_server_pb/api_server_pb.d.ts +0 -9158
- package/dist/types/discovery/devin-gen/exa/auth_pb/auth_pb.d.ts +0 -52
- package/dist/types/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.d.ts +0 -276
- package/dist/types/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.d.ts +0 -78
- package/dist/types/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.d.ts +0 -999
- package/dist/types/discovery/devin-gen/exa/chat_pb/chat_pb.d.ts +0 -1704
- package/dist/types/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.d.ts +0 -656
- package/dist/types/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.d.ts +0 -15014
- package/dist/types/discovery/devin-gen/exa/context_module_pb/context_module_pb.d.ts +0 -607
- package/dist/types/discovery/devin-gen/exa/cortex_pb/cortex_pb.d.ts +0 -11830
- package/dist/types/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.d.ts +0 -248
- package/dist/types/discovery/devin-gen/exa/index_pb/index_pb.d.ts +0 -1747
- package/dist/types/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.d.ts +0 -509
- package/dist/types/discovery/devin-gen/exa/language_server_pb/language_server_pb.d.ts +0 -9048
- package/dist/types/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.d.ts +0 -1760
- package/dist/types/discovery/devin-gen/exa/prompt_pb/prompt_pb.d.ts +0 -286
- package/dist/types/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.d.ts +0 -405
- package/dist/types/discovery/devin-gen/exa/trust_pb/trust_pb.d.ts +0 -582
- package/dist/types/discovery/devin.d.ts +0 -24
- package/dist/types/discovery/gemini.d.ts +0 -25
- package/dist/types/discovery/gitlab-duo-workflow.d.ts +0 -30
- package/dist/types/discovery/index.d.ts +0 -5
- package/dist/types/discovery/openai-compatible.d.ts +0 -74
- package/dist/types/effort.d.ts +0 -9
- package/dist/types/fireworks-model-id.d.ts +0 -23
- package/dist/types/hosts.d.ts +0 -137
- package/dist/types/identity/bundled.d.ts +0 -3
- package/dist/types/identity/classify.d.ts +0 -69
- package/dist/types/identity/dialect.d.ts +0 -3
- package/dist/types/identity/family.d.ts +0 -139
- package/dist/types/identity/id.d.ts +0 -12
- package/dist/types/identity/index.d.ts +0 -8
- package/dist/types/identity/markers.d.ts +0 -4
- package/dist/types/identity/priority.d.ts +0 -1
- package/dist/types/identity/reference.d.ts +0 -23
- package/dist/types/index.d.ts +0 -17
- package/dist/types/model-cache.d.ts +0 -17
- package/dist/types/model-manager.d.ts +0 -68
- package/dist/types/model-thinking.d.ts +0 -79
- package/dist/types/models.d.ts +0 -12
- package/dist/types/provider-models/bundled-references.d.ts +0 -11
- package/dist/types/provider-models/descriptor-types.d.ts +0 -74
- package/dist/types/provider-models/descriptors.d.ts +0 -427
- package/dist/types/provider-models/google.d.ts +0 -27
- package/dist/types/provider-models/index.d.ts +0 -6
- package/dist/types/provider-models/ollama.d.ts +0 -9
- package/dist/types/provider-models/openai-compat.d.ts +0 -450
- package/dist/types/provider-models/special.d.ts +0 -33
- package/dist/types/types.d.ts +0 -656
- package/dist/types/utils.d.ts +0 -20
- package/dist/types/variant-collapse.d.ts +0 -133
- package/dist/types/wire/codex.d.ts +0 -26
- package/dist/types/wire/coreweave.d.ts +0 -12
- package/dist/types/wire/gemini-headers.d.ts +0 -37
- package/dist/types/wire/github-copilot.d.ts +0 -45
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [16.2.14] - 2026-07-02
|
|
6
|
+
|
|
5
7
|
### Breaking Changes
|
|
6
8
|
|
|
7
9
|
- Renamed the `requiresJuiceZeroHack` compatibility flag to `requiresReasoningSuppressionPrompt` (affecting `OpenAICompat` and `ResolvedOpenAIResponsesCompat`) and removed the unused `"juice-zero-developer-message"` member from `OpenAIReasoningDisableMode`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "jeopi-catalog",
|
|
4
|
-
"version": "16.2.
|
|
4
|
+
"version": "16.2.14",
|
|
5
5
|
"description": "Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence",
|
|
6
6
|
"homepage": "https://github.com/akillness/jeopi",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"gen:models": "bun scripts/generate-models.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bufbuild/protobuf": "
|
|
37
|
-
"jeopi-utils": "
|
|
38
|
-
"arktype": "
|
|
39
|
-
"zod": "
|
|
36
|
+
"@bufbuild/protobuf": "catalog:",
|
|
37
|
+
"jeopi-utils": "catalog:",
|
|
38
|
+
"arktype": "catalog:",
|
|
39
|
+
"zod": "catalog:"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"jeopi-ai": "
|
|
43
|
-
"@types/bun": "
|
|
42
|
+
"jeopi-ai": "catalog:",
|
|
43
|
+
"@types/bun": "catalog:"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"bun": ">=1.3.14"
|
package/dist/types/build.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ModelSpec, ResolvedAnthropicCompat } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Official first-party Anthropic API. A missing baseUrl is official on purpose:
|
|
4
|
-
* request dispatch falls back to `https://api.anthropic.com`. This is the one
|
|
5
|
-
* auth-sensitive host check — OAuth credentials are attached based on it — so
|
|
6
|
-
* it requires the exact origin or a path boundary (`/`) after it; a bare
|
|
7
|
-
* prefix check would accept lookalikes like `https://api.anthropic.com.evil.com`.
|
|
8
|
-
*/
|
|
9
|
-
export declare function isOfficialAnthropicApiUrl(baseUrl?: string): boolean;
|
|
10
|
-
/** Build the resolved anthropic-messages compat record for a model spec. */
|
|
11
|
-
export declare function buildAnthropicCompat(spec: ModelSpec<"anthropic-messages">): ResolvedAnthropicCompat;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assign defined override values onto a freshly-built resolved compat record,
|
|
3
|
-
* in place. Keys the record doesn't declare are ignored (loosely-typed config
|
|
4
|
-
* may carry junk). `buildModel` is the only intended caller — the record being
|
|
5
|
-
* mutated is the single per-model allocation; nothing here runs per request.
|
|
6
|
-
*/
|
|
7
|
-
export declare function applyCompatOverrides(compat: object, overrides: object | undefined): void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ModelSpec, ResolvedDevinCompat } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Resolve devin-agent (Codeium Cascade) compat. Cascade has no wire
|
|
4
|
-
* reasoning/effort field — effort is selected by routing to a sibling model id
|
|
5
|
-
* (the `thinking.effortRouting` baked by variant-collapse). So the thinking
|
|
6
|
-
* deriver must never fabricate an effort ladder from identity for these models;
|
|
7
|
-
* only explicit routed metadata counts.
|
|
8
|
-
*/
|
|
9
|
-
export declare function buildDevinCompat(_spec: ModelSpec<"devin-agent">): ResolvedDevinCompat;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ModelSpec, OpenAICompat, ResolvedOpenAICompat, ResolvedOpenAIResponsesCompat, ResolvedOpenRouterCompat } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Build the resolved chat-completions compat record for a model spec.
|
|
4
|
-
* Provider takes precedence over URL-based detection since it's explicitly configured.
|
|
5
|
-
*/
|
|
6
|
-
export declare function buildOpenAICompat(spec: ModelSpec<"openai-completions">): ResolvedOpenAICompat;
|
|
7
|
-
interface OpenAIResponsesSpecLike {
|
|
8
|
-
id?: string;
|
|
9
|
-
provider: string;
|
|
10
|
-
name: string;
|
|
11
|
-
baseUrl: string;
|
|
12
|
-
reasoning?: boolean;
|
|
13
|
-
compat?: OpenAICompat;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Build the resolved Responses-API compat record. The Responses flavor
|
|
17
|
-
* deliberately differs from chat-completions: GitHub Copilot's responses
|
|
18
|
-
* endpoint accepts the `developer` role, while strict tool mode is scoped to
|
|
19
|
-
* first-party OpenAI/Azure/Copilot providers. Azure is detected by provider id
|
|
20
|
-
* as well as URL — bundled `azure` models carry no baseUrl (the deployment host
|
|
21
|
-
* is per-resource, resolved at runtime) — while OpenAI/Copilot developer-role
|
|
22
|
-
* and prompt-cache detection stay URL-keyed, as the historical call sites were.
|
|
23
|
-
* The GPT-5 reasoning-suppression prompt keys on the model name, matching the
|
|
24
|
-
* historical request-time check.
|
|
25
|
-
*/
|
|
26
|
-
export declare function buildOpenAIResponsesCompat(spec: OpenAIResponsesSpecLike): ResolvedOpenAIResponsesCompat;
|
|
27
|
-
export declare function buildOpenRouterCompat(spec: ModelSpec<"openrouter">): ResolvedOpenRouterCompat;
|
|
28
|
-
export {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { ModelSpec } from "../types";
|
|
2
|
-
import { type VariantCollapseTable } from "../variant-collapse";
|
|
3
|
-
export declare const ANTIGRAVITY_PRIMARY_ENDPOINT = "https://daily-cloudcode-pa.googleapis.com";
|
|
4
|
-
export declare const ANTIGRAVITY_SANDBOX_ENDPOINT = "https://daily-cloudcode-pa.sandbox.googleapis.com";
|
|
5
|
-
/**
|
|
6
|
-
* Raw model metadata returned by Antigravity's `fetchAvailableModels` endpoint.
|
|
7
|
-
*/
|
|
8
|
-
export interface AntigravityDiscoveryApiModel {
|
|
9
|
-
displayName?: string;
|
|
10
|
-
supportsImages?: boolean;
|
|
11
|
-
supportsThinking?: boolean;
|
|
12
|
-
thinkingBudget?: number;
|
|
13
|
-
recommended?: boolean;
|
|
14
|
-
maxTokens?: number;
|
|
15
|
-
maxOutputTokens?: number;
|
|
16
|
-
model?: string;
|
|
17
|
-
apiProvider?: string;
|
|
18
|
-
modelProvider?: string;
|
|
19
|
-
isInternal?: boolean;
|
|
20
|
-
supportsVideo?: boolean;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Grouping metadata used by Antigravity to surface recommended model ids.
|
|
24
|
-
*/
|
|
25
|
-
export interface AntigravityDiscoveryAgentModelGroup {
|
|
26
|
-
modelIds?: string[];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Sort/group metadata used by Antigravity to surface recommended model ids.
|
|
30
|
-
*/
|
|
31
|
-
export interface AntigravityDiscoveryAgentModelSort {
|
|
32
|
-
groups?: AntigravityDiscoveryAgentModelGroup[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Response payload returned by Antigravity's `fetchAvailableModels` endpoint.
|
|
36
|
-
*/
|
|
37
|
-
export interface AntigravityDiscoveryApiResponse {
|
|
38
|
-
models?: Record<string, AntigravityDiscoveryApiModel>;
|
|
39
|
-
agentModelSorts?: AntigravityDiscoveryAgentModelSort[];
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Options for fetching Antigravity discovery models.
|
|
43
|
-
*/
|
|
44
|
-
export interface FetchAntigravityDiscoveryModelsOptions {
|
|
45
|
-
/** OAuth access token used as `Authorization: Bearer <token>`. */
|
|
46
|
-
token: string;
|
|
47
|
-
/** Optional endpoint override. Defaults to Antigravity fallback endpoints. */
|
|
48
|
-
endpoint?: string;
|
|
49
|
-
/** Deprecated and ignored for antigravity discovery parity. */
|
|
50
|
-
project?: string;
|
|
51
|
-
/** Optional user agent override. */
|
|
52
|
-
userAgent?: string;
|
|
53
|
-
/** Optional abort signal for request cancellation. */
|
|
54
|
-
signal?: AbortSignal;
|
|
55
|
-
/** Optional fetch implementation override for tests. */
|
|
56
|
-
fetcher?: typeof fetch;
|
|
57
|
-
/**
|
|
58
|
-
* Hand collapse table to apply to the discovered list. Defaults to the
|
|
59
|
-
* Antigravity (budget-transport) table; `googleGeminiCli` passes the
|
|
60
|
-
* level-transport table so cloudcode-pa keeps `thinkingLevel`.
|
|
61
|
-
*/
|
|
62
|
-
collapseTable?: VariantCollapseTable;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Fetches discoverable Antigravity models and normalizes them into canonical model entries.
|
|
66
|
-
*
|
|
67
|
-
* Returns `null` on network/payload/auth failures.
|
|
68
|
-
* Returns `[]` only when the endpoint responds successfully with no usable models.
|
|
69
|
-
*/
|
|
70
|
-
export declare function fetchAntigravityDiscoveryModels(options: FetchAntigravityDiscoveryModelsOptions): Promise<ModelSpec<"google-gemini-cli">[] | null>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { ModelSpec } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Fetch options for OpenAI Codex model discovery.
|
|
4
|
-
*/
|
|
5
|
-
export interface CodexModelDiscoveryOptions {
|
|
6
|
-
/** OAuth access token used for `Authorization: Bearer ...`. */
|
|
7
|
-
accessToken: string;
|
|
8
|
-
/** ChatGPT account id value used for `chatgpt-account-id` header. */
|
|
9
|
-
accountId?: string;
|
|
10
|
-
/** Base URL for Codex backend. Defaults to `https://chatgpt.com/backend-api`. */
|
|
11
|
-
baseUrl?: string;
|
|
12
|
-
/** Optional client version attached as `client_version` query parameter. */
|
|
13
|
-
clientVersion?: string;
|
|
14
|
-
/** Optional endpoint path candidates. Defaults to `/codex/models`, then `/models`. */
|
|
15
|
-
paths?: readonly string[];
|
|
16
|
-
/** Additional headers merged on top of required Codex headers. */
|
|
17
|
-
headers?: Record<string, string>;
|
|
18
|
-
/** Abort signal for network request cancellation. */
|
|
19
|
-
signal?: AbortSignal;
|
|
20
|
-
/** Optional fetch implementation override for tests. */
|
|
21
|
-
fetchFn?: typeof fetch;
|
|
22
|
-
/** Optional registry fetch implementation override for client version lookup. */
|
|
23
|
-
registryFetchFn?: typeof fetch;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Normalized Codex discovery response.
|
|
27
|
-
*/
|
|
28
|
-
export interface CodexModelDiscoveryResult {
|
|
29
|
-
models: ModelSpec<"openai-codex-responses">[];
|
|
30
|
-
etag?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Fetches model metadata from Codex backend and normalizes it for pi model management.
|
|
34
|
-
*
|
|
35
|
-
* Returns `null` when no supported model-list route can be fetched/parsed.
|
|
36
|
-
* Returns `{ models: [] }` when a route succeeds but yields no usable models.
|
|
37
|
-
*/
|
|
38
|
-
export declare function fetchCodexModels(options: CodexModelDiscoveryOptions): Promise<CodexModelDiscoveryResult | null>;
|