@code-yeongyu/senpi-ai 2026.9.23 → 2026.9.24

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.
Files changed (49) hide show
  1. package/dist/api/anthropic-messages.js +1 -1
  2. package/dist/api/anthropic-messages.js.map +1 -1
  3. package/dist/api/pi-messages.d.ts.map +1 -1
  4. package/dist/api/pi-messages.js +17 -1
  5. package/dist/api/pi-messages.js.map +1 -1
  6. package/dist/cursor/catalog-grouping.d.ts +18 -1
  7. package/dist/cursor/catalog-grouping.d.ts.map +1 -1
  8. package/dist/cursor/catalog-grouping.js +103 -3
  9. package/dist/cursor/catalog-grouping.js.map +1 -1
  10. package/dist/cursor/selection-descriptor.d.ts +3 -1
  11. package/dist/cursor/selection-descriptor.d.ts.map +1 -1
  12. package/dist/cursor/selection-descriptor.js +15 -3
  13. package/dist/cursor/selection-descriptor.js.map +1 -1
  14. package/dist/cursor/store-migration.d.ts +7 -2
  15. package/dist/cursor/store-migration.d.ts.map +1 -1
  16. package/dist/cursor/store-migration.js +92 -20
  17. package/dist/cursor/store-migration.js.map +1 -1
  18. package/dist/image-models.generated.d.ts +30 -0
  19. package/dist/image-models.generated.d.ts.map +1 -1
  20. package/dist/image-models.generated.js +30 -0
  21. package/dist/image-models.generated.js.map +1 -1
  22. package/dist/model.d.ts +9 -1
  23. package/dist/model.d.ts.map +1 -1
  24. package/dist/model.js.map +1 -1
  25. package/dist/providers/cursor.d.ts.map +1 -1
  26. package/dist/providers/cursor.js +1 -0
  27. package/dist/providers/cursor.js.map +1 -1
  28. package/dist/providers/data/.manifest.json +1 -1
  29. package/dist/providers/data/amazon-bedrock.json +1 -1
  30. package/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  31. package/dist/providers/data/cloudflare-workers-ai.json +1 -1
  32. package/dist/providers/data/fireworks.json +1 -1
  33. package/dist/providers/data/github-copilot.json +1 -1
  34. package/dist/providers/data/google.json +1 -1
  35. package/dist/providers/data/minimax-cn.json +1 -1
  36. package/dist/providers/data/minimax.json +1 -1
  37. package/dist/providers/data/moonshotai-cn.json +1 -1
  38. package/dist/providers/data/moonshotai.json +1 -1
  39. package/dist/providers/data/opencode-go.json +1 -1
  40. package/dist/providers/data/opencode.json +1 -1
  41. package/dist/providers/data/opengateway.json +1 -1
  42. package/dist/providers/data/openrouter.json +1 -1
  43. package/dist/providers/data/together.json +1 -1
  44. package/dist/providers/data/venice.json +1 -1
  45. package/dist/providers/data/vercel-ai-gateway.json +1 -1
  46. package/dist/types.d.ts +5 -0
  47. package/dist/types.d.ts.map +1 -1
  48. package/dist/types.js.map +1 -1
  49. package/package.json +2 -2
package/dist/model.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n\tAnthropicMessagesCompat,\n\tApi,\n\tBedrockCompat,\n\tCacheRetention,\n\tModelCost,\n\tOpenAICompletionsCompat,\n\tOpenAIResponsesCompat,\n\tProviderId,\n\tThinkingLevelMap,\n} from \"./types.ts\";\n\n/** Model interface for the unified model system. */\nexport interface Model<TApi extends Api> {\n\tid: string;\n\tname: string;\n\tapi: TApi;\n\tprovider: ProviderId;\n\tbaseUrl: string;\n\treasoning: boolean;\n\t/**\n\t * Maps pi thinking levels to provider/model-specific values.\n\t * In a present map, omitting `xhigh` or `max` disables that extended tier; ordinary missing levels\n\t * use provider defaults. null marks any level as unsupported.\n\t */\n\tthinkingLevelMap?: ThinkingLevelMap;\n\tinput: (\"text\" | \"image\" | \"video\")[];\n\tcost: ModelCost;\n\tcontextWindow: number;\n\tmaxTokens: number;\n\t/** Default sampling parameters; per-request values override these by key. */\n\tsamplingParams?: Record<string, unknown>;\n\theaders?: Record<string, string>;\n\t/** Default prompt-cache retention preference when the request omits one. */\n\tcacheRetention?: CacheRetention;\n\t/**\n\t * Upstream model id sent on the wire when it differs from the catalog id\n\t * (for example `-fast` priority-tier variants aliasing their base model).\n\t */\n\tupstreamModelId?: string;\n\t/** Service tier requested by default for this model (for example `-fast` variants). */\n\tserviceTier?: \"auto\" | \"flex\" | \"priority\";\n\t/** Whether to recover supported text-encoded tool calls from assistant text. */\n\trecoverTextToolCalls?: boolean;\n\t/** Compatibility overrides for OpenAI-compatible APIs. If not set, auto-detected from baseUrl. */\n\tcompat?: TApi extends \"openai-completions\"\n\t\t? OpenAICompletionsCompat\n\t\t: TApi extends \"openai-responses\" | \"openai-codex-responses\" | \"azure-openai-responses\"\n\t\t\t? OpenAIResponsesCompat\n\t\t\t: TApi extends \"anthropic-messages\"\n\t\t\t\t? AnthropicMessagesCompat\n\t\t\t\t: TApi extends \"bedrock-converse-stream\"\n\t\t\t\t\t? BedrockCompat\n\t\t\t\t\t: TApi extends \"cursor-agent\"\n\t\t\t\t\t\t? CursorAgentCompat\n\t\t\t\t\t\t: TApi extends \"devin-agent\"\n\t\t\t\t\t\t\t? DevinAgentCompat\n\t\t\t\t\t\t\t: never;\n}\n\n/** Devin (Cascade) model metadata the transport branches on. */\nexport interface DevinAgentCompat {\n\t/**\n\t * Server-side router (`adaptive`): its uid is never a legal chat model uid, so\n\t * the transport resolves it through `AssignModel` before every turn.\n\t */\n\tmodelRouter?: boolean;\n\t/** The lane accepts several tool calls per turn; absent means one at a time. */\n\tsupportsParallelToolCalls?: boolean;\n}\n\n/** Cursor agent protocol model metadata. */\nexport interface CursorAgentCompat {\n\t/** Request Cursor's max-mode (1M-context) variant of the model. */\n\tcursorMaxMode?: boolean;\n\t/**\n\t * Wire-reasoning capability for grouped Cursor catalog identities.\n\t * Presence is the capability gate: models without it never emit reasoning\n\t * parameters on the wire.\n\t */\n\tcursorReasoning?: {\n\t\t/** Base id into the static cursor capability table. */\n\t\tcapabilityId: string;\n\t\t/** Fixed Claude thinking boolean for this selectable identity. */\n\t\tthinkingMode?: boolean;\n\t\t/** Exact catalog variant sent when no explicit selection exists. */\n\t\trepresentativeVariantId: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n\tAnthropicMessagesCompat,\n\tApi,\n\tBedrockCompat,\n\tCacheRetention,\n\tModelCost,\n\tModelThinkingLevel,\n\tOpenAICompletionsCompat,\n\tOpenAIResponsesCompat,\n\tProviderId,\n\tThinkingLevelMap,\n} from \"./types.ts\";\n\n/** Model interface for the unified model system. */\nexport interface Model<TApi extends Api> {\n\tid: string;\n\tname: string;\n\tapi: TApi;\n\tprovider: ProviderId;\n\tbaseUrl: string;\n\treasoning: boolean;\n\t/**\n\t * Maps pi thinking levels to provider/model-specific values.\n\t * In a present map, omitting `xhigh` or `max` disables that extended tier; ordinary missing levels\n\t * use provider defaults. null marks any level as unsupported.\n\t */\n\tthinkingLevelMap?: ThinkingLevelMap;\n\tinput: (\"text\" | \"image\" | \"video\")[];\n\tcost: ModelCost;\n\tcontextWindow: number;\n\tmaxTokens: number;\n\t/** Default sampling parameters; per-request values override these by key. */\n\tsamplingParams?: Record<string, unknown>;\n\theaders?: Record<string, string>;\n\t/** Default prompt-cache retention preference when the request omits one. */\n\tcacheRetention?: CacheRetention;\n\t/**\n\t * Upstream model id sent on the wire when it differs from the catalog id\n\t * (for example `-fast` priority-tier variants aliasing their base model).\n\t */\n\tupstreamModelId?: string;\n\t/** Service tier requested by default for this model (for example `-fast` variants). */\n\tserviceTier?: \"auto\" | \"flex\" | \"priority\";\n\t/** Whether to recover supported text-encoded tool calls from assistant text. */\n\trecoverTextToolCalls?: boolean;\n\t/** Compatibility overrides for OpenAI-compatible APIs. If not set, auto-detected from baseUrl. */\n\tcompat?: TApi extends \"openai-completions\"\n\t\t? OpenAICompletionsCompat\n\t\t: TApi extends \"openai-responses\" | \"openai-codex-responses\" | \"azure-openai-responses\"\n\t\t\t? OpenAIResponsesCompat\n\t\t\t: TApi extends \"anthropic-messages\"\n\t\t\t\t? AnthropicMessagesCompat\n\t\t\t\t: TApi extends \"bedrock-converse-stream\"\n\t\t\t\t\t? BedrockCompat\n\t\t\t\t\t: TApi extends \"cursor-agent\"\n\t\t\t\t\t\t? CursorAgentCompat\n\t\t\t\t\t\t: TApi extends \"devin-agent\"\n\t\t\t\t\t\t\t? DevinAgentCompat\n\t\t\t\t\t\t\t: never;\n}\n\n/** Devin (Cascade) model metadata the transport branches on. */\nexport interface DevinAgentCompat {\n\t/**\n\t * Server-side router (`adaptive`): its uid is never a legal chat model uid, so\n\t * the transport resolves it through `AssignModel` before every turn.\n\t */\n\tmodelRouter?: boolean;\n\t/** The lane accepts several tool calls per turn; absent means one at a time. */\n\tsupportsParallelToolCalls?: boolean;\n}\n\n/** Cursor agent protocol model metadata. */\nexport interface CursorAgentCompat {\n\t/** Request Cursor's max-mode (1M-context) variant of the model. */\n\tcursorMaxMode?: boolean;\n\t/**\n\t * Wire-reasoning capability for grouped Cursor catalog identities.\n\t * Presence is the capability gate: models without it never emit reasoning\n\t * parameters on the wire.\n\t */\n\tcursorReasoning?: {\n\t\t/** Base id into the static cursor capability table. */\n\t\tcapabilityId: string;\n\t\t/** Fixed Claude thinking boolean for this selectable identity. */\n\t\tthinkingMode?: boolean;\n\t\t/** Exact catalog variant sent when no explicit selection exists. */\n\t\trepresentativeVariantId: string;\n\t\t/**\n\t\t * Derived-group variant ids: normalized thinking level -> the exact\n\t\t * server-listed variant id observed in the live catalog. Present only on\n\t\t * identities derived at runtime from ids the static alias table does not\n\t\t * list; explicit selections resolve through it before any capability\n\t\t * lookup (senpi#2038).\n\t\t */\n\t\tvariantIds?: Readonly<Partial<Record<ModelThinkingLevel, string>>>;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/providers/cursor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAkB,KAAK,QAAQ,EAA6B,MAAM,cAAc,CAAC;AAiExF;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,QAAQ,CAAC,cAAc,CAAC,CAkBzD"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/providers/cursor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAkB,KAAK,QAAQ,EAA6B,MAAM,cAAc,CAAC;AAkExF;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,QAAQ,CAAC,cAAc,CAAC,CAkBzD"}
@@ -57,6 +57,7 @@ async function fetchCursorModels(context) {
57
57
  capabilityId: entry.capabilityId,
58
58
  ...(entry.thinkingMode !== undefined ? { thinkingMode: entry.thinkingMode } : {}),
59
59
  representativeVariantId: entry.representativeVariantId,
60
+ ...(entry.variantIds !== undefined ? { variantIds: entry.variantIds } : {}),
60
61
  },
61
62
  }
62
63
  : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../src/providers/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,cAAc,EAA4C,MAAM,cAAc,CAAC;AAGxF,MAAM,eAAe,GAAG,wBAAwB,CAAC;AAEjD;;;;;;GAMG;AACH,KAAK,UAAU,iBAAiB,CAAC,OAA6B;IAC7D,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,MAAM,WAAW,GAAG,UAAU,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,EAAE,GAAG,CAAC;IACvF,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAC5B,MAAM,EAA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QACrB,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,eAAe;QACxB,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAAC;QAC5D,IAAI,EAAE;YACL,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,0BAA0B;gBAChC,cAAc,EAAE,IAAI;gBACpB,UAAU,EAAE,qBAAqB;gBACjC,IAAI,EAAE,eAAe;aACrB,CAAC;SACF;QACD,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,iBAAiB;QAC9B,GAAG,EAAE,cAAc,EAAE;KACrB,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { cursorAgentApi, loadCursorAgentModule } from \"../api/cursor-agent.lazy.ts\";\nimport { lazyOAuth } from \"../auth/helpers.ts\";\nimport { loadCursorOAuth } from \"../auth/oauth/load.ts\";\nimport { normalizeCursorCatalog } from \"../cursor/catalog-grouping.ts\";\nimport { resolveCursorContextWindow } from \"../cursor/context-limit-store.ts\";\nimport { regroupStoredCursorModels } from \"../cursor/store-migration.ts\";\nimport { createProvider, type Provider, type RefreshModelsContext } from \"../models.ts\";\nimport type { Model } from \"../types.ts\";\n\nconst CURSOR_BASE_URL = \"https://api2.cursor.sh\";\n\n/**\n * Cursor's catalog is fully dynamic: `GetUsableModels` requires an\n * authenticated access token and reports the account's usable models, so the\n * provider ships no static baseline. The discovery call lives in the\n * Node-only `cursor-agent` API module, loaded through the bundler-opaque\n * lazy boundary so the provider factory stays browser-safe.\n */\nasync function fetchCursorModels(context: RefreshModelsContext): Promise<Model<\"cursor-agent\">[]> {\n\tconst credential = context.credential;\n\tconst accessToken = credential?.type === \"oauth\" ? credential.access : credential?.key;\n\tif (!accessToken) return [];\n\tconst { fetchCursorUsableModels } = await loadCursorAgentModule();\n\tconst discovered = await fetchCursorUsableModels({ apiKey: accessToken, signal: context.signal });\n\tif (discovered === null) {\n\t\tthrow new Error(\"Could not load Cursor model catalog from GetUsableModels\");\n\t}\n\tconst normalized = normalizeCursorCatalog(\n\t\tdiscovered.map((model) => ({\n\t\t\tid: model.id,\n\t\t\tname: model.name,\n\t\t\tinput: model.input,\n\t\t\tcursorMaxMode: model.cursorMaxMode,\n\t\t})),\n\t);\n\tconst maxTokensByVariant = new Map(discovered.map((model) => [model.id, model.maxTokens]));\n\treturn normalized.map((entry): Model<\"cursor-agent\"> => {\n\t\tconst representative = entry.representativeVariantId ?? entry.legacyAliases[0] ?? entry.id;\n\t\tconst maxTokens = maxTokensByVariant.get(representative) ?? maxTokensByVariant.get(entry.id) ?? 64000;\n\t\treturn {\n\t\t\tid: entry.id,\n\t\t\tname: entry.name,\n\t\t\tapi: \"cursor-agent\",\n\t\t\tprovider: \"cursor\",\n\t\t\tbaseUrl: CURSOR_BASE_URL,\n\t\t\treasoning: entry.reasoning,\n\t\t\t...(entry.thinkingLevelMap ? { thinkingLevelMap: entry.thinkingLevelMap } : {}),\n\t\t\tinput: entry.input,\n\t\t\t// Subscription-billed: Cursor reports no per-token pricing here.\n\t\t\tcost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },\n\t\t\tcontextWindow: resolveCursorContextWindow(entry.id, entry.window),\n\t\t\tmaxTokens,\n\t\t\t...(entry.representativeVariantId !== undefined && entry.representativeVariantId !== entry.id\n\t\t\t\t? { upstreamModelId: entry.representativeVariantId }\n\t\t\t\t: {}),\n\t\t\tcompat: {\n\t\t\t\t...(entry.cursorMaxMode ? { cursorMaxMode: true } : {}),\n\t\t\t\t...(entry.capabilityId !== undefined && entry.representativeVariantId !== undefined\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tcursorReasoning: {\n\t\t\t\t\t\t\t\tcapabilityId: entry.capabilityId,\n\t\t\t\t\t\t\t\t...(entry.thinkingMode !== undefined ? { thinkingMode: entry.thinkingMode } : {}),\n\t\t\t\t\t\t\t\trepresentativeVariantId: entry.representativeVariantId,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}\n\t\t\t\t\t: {}),\n\t\t\t},\n\t\t};\n\t});\n}\n\n/**\n * Cursor subscription provider (OAuth only).\n *\n * Chat runs on Cursor's protobuf Connect-RPC agent protocol\n * (`agent.v1.AgentService/Run` on `api2.cursor.sh`), implemented by the\n * `cursor-agent` API. The model catalog is discovered per account through\n * `GetUsableModels` after login (`Models.refresh` runs automatically after a\n * successful `/login cursor`).\n */\nexport function cursorProvider(): Provider<\"cursor-agent\"> {\n\treturn createProvider({\n\t\tid: \"cursor\",\n\t\tname: \"Cursor\",\n\t\tbaseUrl: CURSOR_BASE_URL,\n\t\trestoreModels: (models) => regroupStoredCursorModels(models),\n\t\tauth: {\n\t\t\toauth: lazyOAuth({\n\t\t\t\tname: \"Cursor (Pro/Ultra/Teams)\",\n\t\t\t\tisSubscription: true,\n\t\t\t\tloginLabel: \"Sign in with Cursor\",\n\t\t\t\tload: loadCursorOAuth,\n\t\t\t}),\n\t\t},\n\t\tmodels: [],\n\t\tfetchModels: fetchCursorModels,\n\t\tapi: cursorAgentApi(),\n\t});\n}\n"]}
1
+ {"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../src/providers/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,cAAc,EAA4C,MAAM,cAAc,CAAC;AAGxF,MAAM,eAAe,GAAG,wBAAwB,CAAC;AAEjD;;;;;;GAMG;AACH,KAAK,UAAU,iBAAiB,CAAC,OAA6B;IAC7D,MAAM,UAAU,GAAG,OAAO,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EAAE,CAAC;4BACjF,uBAAuB,EAAE,KAAK,CAAC,uBAAuB;4BACtD,GAAG,CAAC,KAAK,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;yBAC3E;qBACD;oBACF,CAAC,CAAC,EAAE,CAAC;aACN;SACD,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc;IAC7B,OAAO,cAAc,CAAC;QACrB,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,eAAe;QACxB,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC,MAAM,CAAC;QAC5D,IAAI,EAAE;YACL,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,0BAA0B;gBAChC,cAAc,EAAE,IAAI;gBACpB,UAAU,EAAE,qBAAqB;gBACjC,IAAI,EAAE,eAAe;aACrB,CAAC;SACF;QACD,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,iBAAiB;QAC9B,GAAG,EAAE,cAAc,EAAE;KACrB,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { cursorAgentApi, loadCursorAgentModule } from \"../api/cursor-agent.lazy.ts\";\nimport { lazyOAuth } from \"../auth/helpers.ts\";\nimport { loadCursorOAuth } from \"../auth/oauth/load.ts\";\nimport { normalizeCursorCatalog } from \"../cursor/catalog-grouping.ts\";\nimport { resolveCursorContextWindow } from \"../cursor/context-limit-store.ts\";\nimport { regroupStoredCursorModels } from \"../cursor/store-migration.ts\";\nimport { createProvider, type Provider, type RefreshModelsContext } from \"../models.ts\";\nimport type { Model } from \"../types.ts\";\n\nconst CURSOR_BASE_URL = \"https://api2.cursor.sh\";\n\n/**\n * Cursor's catalog is fully dynamic: `GetUsableModels` requires an\n * authenticated access token and reports the account's usable models, so the\n * provider ships no static baseline. The discovery call lives in the\n * Node-only `cursor-agent` API module, loaded through the bundler-opaque\n * lazy boundary so the provider factory stays browser-safe.\n */\nasync function fetchCursorModels(context: RefreshModelsContext): Promise<Model<\"cursor-agent\">[]> {\n\tconst credential = context.credential;\n\tconst accessToken = credential?.type === \"oauth\" ? credential.access : credential?.key;\n\tif (!accessToken) return [];\n\tconst { fetchCursorUsableModels } = await loadCursorAgentModule();\n\tconst discovered = await fetchCursorUsableModels({ apiKey: accessToken, signal: context.signal });\n\tif (discovered === null) {\n\t\tthrow new Error(\"Could not load Cursor model catalog from GetUsableModels\");\n\t}\n\tconst normalized = normalizeCursorCatalog(\n\t\tdiscovered.map((model) => ({\n\t\t\tid: model.id,\n\t\t\tname: model.name,\n\t\t\tinput: model.input,\n\t\t\tcursorMaxMode: model.cursorMaxMode,\n\t\t})),\n\t);\n\tconst maxTokensByVariant = new Map(discovered.map((model) => [model.id, model.maxTokens]));\n\treturn normalized.map((entry): Model<\"cursor-agent\"> => {\n\t\tconst representative = entry.representativeVariantId ?? entry.legacyAliases[0] ?? entry.id;\n\t\tconst maxTokens = maxTokensByVariant.get(representative) ?? maxTokensByVariant.get(entry.id) ?? 64000;\n\t\treturn {\n\t\t\tid: entry.id,\n\t\t\tname: entry.name,\n\t\t\tapi: \"cursor-agent\",\n\t\t\tprovider: \"cursor\",\n\t\t\tbaseUrl: CURSOR_BASE_URL,\n\t\t\treasoning: entry.reasoning,\n\t\t\t...(entry.thinkingLevelMap ? { thinkingLevelMap: entry.thinkingLevelMap } : {}),\n\t\t\tinput: entry.input,\n\t\t\t// Subscription-billed: Cursor reports no per-token pricing here.\n\t\t\tcost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },\n\t\t\tcontextWindow: resolveCursorContextWindow(entry.id, entry.window),\n\t\t\tmaxTokens,\n\t\t\t...(entry.representativeVariantId !== undefined && entry.representativeVariantId !== entry.id\n\t\t\t\t? { upstreamModelId: entry.representativeVariantId }\n\t\t\t\t: {}),\n\t\t\tcompat: {\n\t\t\t\t...(entry.cursorMaxMode ? { cursorMaxMode: true } : {}),\n\t\t\t\t...(entry.capabilityId !== undefined && entry.representativeVariantId !== undefined\n\t\t\t\t\t? {\n\t\t\t\t\t\t\tcursorReasoning: {\n\t\t\t\t\t\t\t\tcapabilityId: entry.capabilityId,\n\t\t\t\t\t\t\t\t...(entry.thinkingMode !== undefined ? { thinkingMode: entry.thinkingMode } : {}),\n\t\t\t\t\t\t\t\trepresentativeVariantId: entry.representativeVariantId,\n\t\t\t\t\t\t\t\t...(entry.variantIds !== undefined ? { variantIds: entry.variantIds } : {}),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}\n\t\t\t\t\t: {}),\n\t\t\t},\n\t\t};\n\t});\n}\n\n/**\n * Cursor subscription provider (OAuth only).\n *\n * Chat runs on Cursor's protobuf Connect-RPC agent protocol\n * (`agent.v1.AgentService/Run` on `api2.cursor.sh`), implemented by the\n * `cursor-agent` API. The model catalog is discovered per account through\n * `GetUsableModels` after login (`Models.refresh` runs automatically after a\n * successful `/login cursor`).\n */\nexport function cursorProvider(): Provider<\"cursor-agent\"> {\n\treturn createProvider({\n\t\tid: \"cursor\",\n\t\tname: \"Cursor\",\n\t\tbaseUrl: CURSOR_BASE_URL,\n\t\trestoreModels: (models) => regroupStoredCursorModels(models),\n\t\tauth: {\n\t\t\toauth: lazyOAuth({\n\t\t\t\tname: \"Cursor (Pro/Ultra/Teams)\",\n\t\t\t\tisSubscription: true,\n\t\t\t\tloginLabel: \"Sign in with Cursor\",\n\t\t\t\tload: loadCursorOAuth,\n\t\t\t}),\n\t\t},\n\t\tmodels: [],\n\t\tfetchModels: fetchCursorModels,\n\t\tapi: cursorAgentApi(),\n\t});\n}\n"]}
@@ -1 +1 @@
1
- {"schemaVersion":3,"generatedAt":"2026-09-23T01:42:46.419Z","structureHash":"b988e770800fb49397105ba6d6d3dfa7bc0bcebf4c550f52d9d1212de918a2a9","files":{"alibaba-token-plan.json":"3a9c1be76d47459371e9fa2feeffc31e7edbbfec65fa9cc41236988efc4cf6d9","amazon-bedrock.json":"b66d96ab6166633303c052d09b617ba7b863ace7aadc621c0e5455b6664818e9","ant-ling.json":"4979fe79d99ed97382d7ce40170c6132e932e77906de1eb54464c042e7d63633","anthropic.json":"f9db437d92449fb860a2d457a6019cdfd51c11180c08df2b5f14d75ade773953","azure-openai-responses.json":"d70ff10410e6dd8eacb4a53b9fe887be836562cbb4b74eaee4f28bdbc4ac0732","bai.json":"2b12b15bd43462e60711944dd7283db8676611d9d76c82c2a01f64913e16a67e","baseten.json":"d155c434294b5167244cffb6dea6793f9669e91e8ab65b564f9510d81b330e37","cerebras.json":"9eaa554e1b02f3665f8f63e6432d253bf81351af7c72001054dd8108aa528a52","chatgpt-subscription.json":"57d1c9c6e1394549ad2e7c2170770463bb13009c060acddf23b65e41b6ba251b","cloudflare-ai-gateway.json":"a2b9fa9b7bc78df3459a9c53282a9c2f715b7ce703ae0d09c59bec0a6841af49","cloudflare-workers-ai.json":"7fafe70c396bfeced683d348d743ca7ae109f03b8a6083a37a36d3698090a197","deepseek.json":"b5f9693ec641e9a957dc5f7a22042b3bb928bac3d7268406619b6f18e21c4b83","fireworks.json":"6283651d25a8861e7d42fe2bdb1cb7dd80802811dfaf61e40c11cc813408c294","github-copilot.json":"beee18c9dd4cda307140d9a54da4955a2ac1142c26d1fcbcd684181b83a7ba15","google-vertex.json":"e1631109172dc1f7d7977570420a5bb86258bdd1088427e244a2c51545c4f24d","google.json":"7619bf03edd2a7acb06a2274a14b13c3a61354288abe029a758401d4de36a8fd","groq.json":"e4728fd72e358cd8f25e9a518e9b49a521ef44523d3debe38a7db9e0663c4077","huggingface.json":"2f93082144a7b2a1cbf79148244ce7559e0428d6310c5eb0648bca89b15a8b4b","minimax-cn.json":"65d37e55a6d9585855f94b3fb7739308d107fe248ebd9e1001d1c5d4606ad2c4","minimax.json":"c7dc5765995ae77242916430929c7cc9a782589f7e483e13f7e01663190d028e","mistral.json":"be522597b22bceeb0bb9a0ba1781647649ffd19637d0c8e67b056d7b0ec33d52","moonshotai-cn.json":"c4e1801b5dfd61bebcaa33cbfc5ed0c69df14a3bee37da218a558668d817864e","moonshotai.json":"3dab637e7e2648792c786157f85f29026b93393f7098b77593c1180928d371c9","nvidia.json":"6493e09b5db8b8fe9c8fae5bc15dc287645f37f83a4ed3a1ad1181e5830b5ff7","openai.json":"c53d456ff9e0dfd17c936e11b6fe8b86ecad12bc47430596b381ada9be0a3cdb","opencode-go.json":"64ea73012b153ef5d618663b6b542d527e43383e63b6b49f5961b310508c41cd","opencode.json":"56af2b79a8fdf7f911737c2d3426c17c6ae84f40873c54a30a00530d30bbb740","opengateway.json":"3c6a210a22965ded5f032e0a963649d809b889762205b8458cc367e5ba1e39a5","openrouter.json":"b30c58ffa17279ced4eda407021cdafef66dfc52c3670799576bce76d2db0846","qwen-token-plan-cn.json":"4bf520ed38e5c3045680d2ec2816fa8a69079dbe97f7b929767a63172288da6b","qwen-token-plan-individual.json":"eb040e78595853e980011308b1bf9caacae6dc8a91abbac5ffebd402515dd2a6","qwen-token-plan.json":"a5c67213745329ec3ba79f712f31c1c32a781d7ffb8c04f9819f36c27672531f","together.json":"927c707d06f2236cdab13f14c870fb58bce0614ba7287bbcd57cc9fd66d191ed","venice.json":"b58d7e9dca552c1df17f8c2b0da71fd81e0bc5abdccde1393dcf37c4909076fb","vercel-ai-gateway.json":"7e33be2b2d3713a8bddb9143671939888c726a949c3be7368a4b1b8c83ac610e","xai.json":"9b23faa5218e966a17108c05d2498a617ade1eae9b0d0684284c77d67949a3f1","xiaomi-token-plan-ams.json":"7df74a255259fc1d5be8e682c3ffb0908eaaf0af711f6433dedcf345ce3e8393","xiaomi-token-plan-cn.json":"7dc672723d5b37e5b92605752f74f46f44eba10be2b0cb959790260b9e0c2a4e","xiaomi-token-plan-sgp.json":"69b333b158be038459a511a673f4536a5b03d4931c3119339f1ac741bc03d502","xiaomi.json":"333299657f211ad9edac0f3d4298b7e5776626914c9c80e22305a87533f23966","zai-coding-cn.json":"69c572aa75104f16ccbddbaace60c267f4bcc74f86d34891ca43110d312fb1ad","zai.json":"15c8182a88e58bdc1b1c3eb0603c690475342c8a826ceddfe9af1b36b28345ee"}}
1
+ {"schemaVersion":3,"generatedAt":"2026-09-24T05:44:42.013Z","structureHash":"c897fa3d4def224f0fcd3db83d41fffa4147de15934c3c0683e24c97d8a0b551","files":{"alibaba-token-plan.json":"3a9c1be76d47459371e9fa2feeffc31e7edbbfec65fa9cc41236988efc4cf6d9","amazon-bedrock.json":"848e38fd1ade9c6e94c3037c1c6104ac515809a6f190d264eafd9f48ab0ae1ae","ant-ling.json":"4979fe79d99ed97382d7ce40170c6132e932e77906de1eb54464c042e7d63633","anthropic.json":"f9db437d92449fb860a2d457a6019cdfd51c11180c08df2b5f14d75ade773953","azure-openai-responses.json":"d70ff10410e6dd8eacb4a53b9fe887be836562cbb4b74eaee4f28bdbc4ac0732","bai.json":"2b12b15bd43462e60711944dd7283db8676611d9d76c82c2a01f64913e16a67e","baseten.json":"d155c434294b5167244cffb6dea6793f9669e91e8ab65b564f9510d81b330e37","cerebras.json":"9eaa554e1b02f3665f8f63e6432d253bf81351af7c72001054dd8108aa528a52","chatgpt-subscription.json":"57d1c9c6e1394549ad2e7c2170770463bb13009c060acddf23b65e41b6ba251b","cloudflare-ai-gateway.json":"b64cc5c7c0df4bfce0c3c2b14fe5290636553914b09718634668ad98276a9bc5","cloudflare-workers-ai.json":"8ee15540a01cf79d0e4063c493ae3c436af2fc1d456f9faf1b066418247183e9","deepseek.json":"b5f9693ec641e9a957dc5f7a22042b3bb928bac3d7268406619b6f18e21c4b83","fireworks.json":"2486d1dea487a15f6ee1a4809ad1884fc4ae58feb21d9c4ed9652e8d28b2b120","github-copilot.json":"5c9fc5b1b553a26aa7bc843a3e36fa14cf220d528ecd89528c601c5090c88a2d","google-vertex.json":"e1631109172dc1f7d7977570420a5bb86258bdd1088427e244a2c51545c4f24d","google.json":"68f6cf6283cc0d69b77b0fa79e9c94774e96524f61ebba616319f05d5c9db56c","groq.json":"e4728fd72e358cd8f25e9a518e9b49a521ef44523d3debe38a7db9e0663c4077","huggingface.json":"2f93082144a7b2a1cbf79148244ce7559e0428d6310c5eb0648bca89b15a8b4b","minimax-cn.json":"4f636b47b28a507ad33b5eaba33fc4889e5956504d10f2a0d9c61167ae01ff1d","minimax.json":"9fd1764ffeefebded8579039cf0c48854a43e4c5b724f62361fc2ac54f705aa1","mistral.json":"be522597b22bceeb0bb9a0ba1781647649ffd19637d0c8e67b056d7b0ec33d52","moonshotai-cn.json":"326de79b46f6fdbf0879f005b3040d1b14049e81fa678de407b73ed1bd3bce9c","moonshotai.json":"4b917a375e9c880b903927cf5fe1ae1052c74b64d5027a007bb1e67ad0410755","nvidia.json":"6493e09b5db8b8fe9c8fae5bc15dc287645f37f83a4ed3a1ad1181e5830b5ff7","openai.json":"c53d456ff9e0dfd17c936e11b6fe8b86ecad12bc47430596b381ada9be0a3cdb","opencode-go.json":"128c2f110f817e4151ce61dc4a93e2e13db24f309ddee3f36b55c07366043b77","opencode.json":"79e0a2c8893ee4d722d0ded0377a852dd94c1be145f948722d861a6543ba36b9","opengateway.json":"121f544154757cfbccd3bc3d7344986a5822886c12e1c00b39ebf20ef609f239","openrouter.json":"ba599bb7a0f61119d8ae616a6222812384e123f139f1780873e093afd06738d9","qwen-token-plan-cn.json":"4bf520ed38e5c3045680d2ec2816fa8a69079dbe97f7b929767a63172288da6b","qwen-token-plan-individual.json":"eb040e78595853e980011308b1bf9caacae6dc8a91abbac5ffebd402515dd2a6","qwen-token-plan.json":"a5c67213745329ec3ba79f712f31c1c32a781d7ffb8c04f9819f36c27672531f","together.json":"200fa2cc0b4666e3818c260e41b9925b925180e2d0931d7c900e16494b2314b4","venice.json":"d34b566ee6e7a2ed31abd9099a1c0448f1d521fc696382d03d86c90634270cf1","vercel-ai-gateway.json":"cecc2381154d0f045c9b2667a2bbed73d2457831f8a09614e0198762b9758d1e","xai.json":"9b23faa5218e966a17108c05d2498a617ade1eae9b0d0684284c77d67949a3f1","xiaomi-token-plan-ams.json":"7df74a255259fc1d5be8e682c3ffb0908eaaf0af711f6433dedcf345ce3e8393","xiaomi-token-plan-cn.json":"7dc672723d5b37e5b92605752f74f46f44eba10be2b0cb959790260b9e0c2a4e","xiaomi-token-plan-sgp.json":"69b333b158be038459a511a673f4536a5b03d4931c3119339f1ac741bc03d502","xiaomi.json":"333299657f211ad9edac0f3d4298b7e5776626914c9c80e22305a87533f23966","zai-coding-cn.json":"69c572aa75104f16ccbddbaace60c267f4bcc74f86d34891ca43110d312fb1ad","zai.json":"15c8182a88e58bdc1b1c3eb0603c690475342c8a826ceddfe9af1b36b28345ee"}}