fix(catalog): align Cursor identity import with main

This commit is contained in:
can1357
2026-07-31 19:21:32 +02:00
parent fa84e3924d
commit 6480167f95
+2 -1
View File
@@ -2,11 +2,12 @@ import * as http2 from "node:http2";
import { create, fromBinary, toBinary } from "@bufbuild/protobuf";
import { type } from "arktype";
import { isKimiK3ModelId } from "../identity";
import { bareModelId, parseGlmModel, semverGte } from "../identity/classify";
import { getBundledModels } from "../models";
import { toModelSpec } from "../provider-models/bundled-references";
import type { Model, ModelSpec } from "../types";
import { GetUsableModelsRequestSchema, GetUsableModelsResponseSchema } from "./cursor-gen/agent_pb";
import { bareModelId, parseGlmModel, semverGte } from "../identity/classify";
const CURSOR_DEFAULT_BASE_URL = "https://api2.cursor.sh";
const CURSOR_DEFAULT_CLIENT_VERSION = "cli-2026.02.13-41ac335";