From 6480167f95d7d3fa4b676b7b4ced9c3dc3448aca Mon Sep 17 00:00:00 2001 From: can1357 Date: Fri, 31 Jul 2026 19:21:32 +0200 Subject: [PATCH] fix(catalog): align Cursor identity import with main --- packages/catalog/src/discovery/cursor.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/catalog/src/discovery/cursor.ts b/packages/catalog/src/discovery/cursor.ts index fe39c6cf8..de9e5d046 100644 --- a/packages/catalog/src/discovery/cursor.ts +++ b/packages/catalog/src/discovery/cursor.ts @@ -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";