Fix cursor model defaults and add dynamic model discovery

This commit is contained in:
Dotta
2026-03-05 07:52:23 -06:00
parent db54f77b73
commit e835c5cee9
4 changed files with 251 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ import {
models as openclawModels,
} from "@paperclipai/adapter-openclaw";
import { listCodexModels } from "./codex-models.js";
import { listCursorModels } from "./cursor-models.js";
import { processAdapter } from "./process/index.js";
import { httpAdapter } from "./http/index.js";
@@ -72,6 +73,7 @@ const cursorLocalAdapter: ServerAdapterModule = {
testEnvironment: cursorTestEnvironment,
sessionCodec: cursorSessionCodec,
models: cursorModels,
listModels: listCursorModels,
supportsLocalAgentJwt: true,
agentConfigurationDoc: cursorAgentConfigurationDoc,
};