@neon/ai-sdk-provider 1.3.1 → 1.3.2

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/README.md CHANGED
@@ -77,7 +77,7 @@ These rules apply on the Anthropic Messages and Chat Completions routes. The Res
77
77
  | All Claude | `frequencyPenalty`, `presencePenalty`, `seed`, `reasoningEffort`, and `topP` when you set both `temperature` and `topP` (Anthropic accepts only one) |
78
78
  | `gpt-oss` | `frequencyPenalty`, `presencePenalty`, `seed`, `stopSequences` |
79
79
  | Qwen, Gemma | `frequencyPenalty`, `presencePenalty`, `seed` |
80
- | `glm-5-2`, `glm-5-3`, `glm-5-3-flash`, `kimi-k3` | `frequencyPenalty`, `presencePenalty` |
80
+ | `glm-5-2`, `glm-5-3`, `glm-5-3-flash`, `kimi-k3`, `kimi-k3-1-pro` | `frequencyPenalty`, `presencePenalty` |
81
81
  | Grok, DeepSeek | `frequencyPenalty`, `presencePenalty` |
82
82
  | Meta Llama | `frequencyPenalty`, `presencePenalty`, `seed` |
83
83
  | `gemini-3-5-flash-lite` | `frequencyPenalty`, `presencePenalty` |
@@ -1,5 +1,5 @@
1
1
  /** Published catalog ids from https://neon.com/models.json (canonical, unprefixed). */
2
- declare const NEON_MODELS_DEV_IDS: readonly ["claude-fable-5", "claude-fable-5-1", "claude-haiku-4-5", "claude-haiku-5-5", "claude-opus-4-1", "claude-opus-4-5", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-opus-5", "claude-opus-5-5", "claude-sonnet-4-5", "claude-sonnet-4-6", "claude-sonnet-5", "claude-sonnet-5-5", "gpt-5", "gpt-5-1", "gpt-5-2", "gpt-5-3-codex", "gpt-5-4", "gpt-5-4-mini", "gpt-5-4-nano", "gpt-5-5", "gpt-5-5-pro", "gpt-5-6-luna", "gpt-5-6-sol", "gpt-5-6-terra", "gpt-5-mini", "gpt-5-nano", "gpt-6-1-sol", "gpt-6-astra", "gpt-6-luna", "gpt-6-sol", "gpt-oss-120b", "gpt-oss-20b", "gemini-3-1-flash-lite", "gemini-3-1-pro", "gemini-3-5-flash", "gemini-3-5-flash-lite", "gemini-3-6-flash", "gemini-3-7-flash", "gemini-3-8-flash", "gemini-3-flash", "gemini-4-argon", "gemma-3-12b", "llama-4-maverick", "meta-llama-3-1-8b-instruct", "meta-llama-3-3-70b-instruct", "qwen3-next-80b-a3b-instruct", "qwen35-122b-a10b", "glm-5-2", "glm-5-3", "glm-5-3-flash", "grok-4-6", "grok-4-7", "kimi-k3", "deepseek-v4-1-flash"];
2
+ declare const NEON_MODELS_DEV_IDS: readonly ["claude-fable-5", "claude-fable-5-1", "claude-haiku-4-5", "claude-haiku-5-5", "claude-opus-4-1", "claude-opus-4-5", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-opus-5", "claude-opus-5-5", "claude-sonnet-4-5", "claude-sonnet-4-6", "claude-sonnet-5", "claude-sonnet-5-5", "gpt-5", "gpt-5-1", "gpt-5-2", "gpt-5-3-codex", "gpt-5-4", "gpt-5-4-mini", "gpt-5-4-nano", "gpt-5-5", "gpt-5-5-pro", "gpt-5-6-luna", "gpt-5-6-sol", "gpt-5-6-terra", "gpt-5-mini", "gpt-5-nano", "gpt-6-1-sol", "gpt-6-astra", "gpt-6-luna", "gpt-6-sol", "gpt-oss-120b", "gpt-oss-20b", "gemini-3-1-flash-lite", "gemini-3-1-pro", "gemini-3-5-flash", "gemini-3-5-flash-lite", "gemini-3-6-flash", "gemini-3-7-flash", "gemini-3-8-flash", "gemini-3-flash", "gemini-4-argon", "gemma-3-12b", "llama-4-maverick", "meta-llama-3-1-8b-instruct", "meta-llama-3-3-70b-instruct", "qwen3-next-80b-a3b-instruct", "qwen35-122b-a10b", "glm-5-2", "glm-5-3", "glm-5-3-flash", "grok-4-6", "grok-4-7", "kimi-k3", "kimi-k3-1-pro", "deepseek-v4-1-flash"];
3
3
  /** A known Neon AI Gateway model id. */
4
4
  type NeonKnownModelId = (typeof NEON_MODELS_DEV_IDS)[number];
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"neon-chat-options.d.ts","names":["NEON_MODELS_DEV_IDS","NeonKnownModelId","NeonChatModelId","NEON_MODELS_DEV_IDS","NeonKnownModelId","NeonChatModelId"],"sources":["../../src/lib/neon-chat-options.ts"],"mappings":";AAiBaA,cAAAA,mBAoEH,EAAA,SAAA,CAAA,gBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,mBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,SAAA,EAAA,cAAA,EAAA,cAAA,EAAA,SAAA,EAAA,aAAA,EAAA,cAAA,EAAA,aAAA,EAAA,eAAA,EAAA,YAAA,EAAA,YAAA,EAAA,aAAA,EAAA,aAAA,EAAA,YAAA,EAAA,WAAA,EAAA,cAAA,EAAA,aAAA,EAAA,uBAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,uBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,aAAA,EAAA,kBAAA,EAAA,4BAAA,EAAA,6BAAA,EAAA,6BAAA,EAAA,kBAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,UAAA,EAAA,UAAA,EAAA,SAAA,EAAA,qBAAA,CAAA;AAGV;AAOYE,KAPAD,gBAAAA,GAOe,CAAGA,OAPSD,mBAOO,CAAA,CAAA,MAAA,CAAA;;;;;;A,KAAlCE,eAAAA,GAAkBD,gB"}
1
+ {"version":3,"file":"neon-chat-options.d.ts","names":["NEON_MODELS_DEV_IDS","NeonKnownModelId","NeonChatModelId","NEON_MODELS_DEV_IDS","NeonKnownModelId","NeonChatModelId"],"sources":["../../src/lib/neon-chat-options.ts"],"mappings":";AAiBaA,cAAAA,mBAqEH,EAAA,SAAA,CAAA,gBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,mBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,SAAA,EAAA,cAAA,EAAA,cAAA,EAAA,SAAA,EAAA,aAAA,EAAA,cAAA,EAAA,aAAA,EAAA,eAAA,EAAA,YAAA,EAAA,YAAA,EAAA,aAAA,EAAA,aAAA,EAAA,YAAA,EAAA,WAAA,EAAA,cAAA,EAAA,aAAA,EAAA,uBAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,uBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,aAAA,EAAA,kBAAA,EAAA,4BAAA,EAAA,6BAAA,EAAA,6BAAA,EAAA,kBAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,UAAA,EAAA,UAAA,EAAA,SAAA,EAAA,eAAA,EAAA,qBAAA,CAAA;AAGV;AAOYE,KAPAD,gBAAAA,GAOe,CAAGA,OAPSD,mBAOO,CAAA,CAAA,MAAA,CAAA;;;;;;A,KAAlCE,eAAAA,GAAkBD,gB"}
@@ -57,6 +57,7 @@ const NEON_MODELS_DEV_IDS = [
57
57
  "grok-4-6",
58
58
  "grok-4-7",
59
59
  "kimi-k3",
60
+ "kimi-k3-1-pro",
60
61
  "deepseek-v4-1-flash"
61
62
  ];
62
63
  export { NEON_MODELS_DEV_IDS };
@@ -1 +1 @@
1
- {"version":3,"file":"neon-chat-options.js","names":[],"sources":["../../src/lib/neon-chat-options.ts"],"sourcesContent":["// Models served by the Neon AI Gateway. Anthropic and OpenAI models are routed\n// to their provider-native endpoints; everything else uses the unified MLflow\n// (OpenAI-compatible) endpoint.\n//\n// Ids use the canonical Neon (unprefixed) form, matching\n// https://neon.com/models.json. The gateway also accepts the legacy\n// `databricks-` prefixed form, which still resolves via the `(string & {})`\n// fallback on `NeonChatModelId`.\n//\n// `NEON_MODELS_DEV_IDS` mirrors the `released: true` chat entries of\n// neon.com/models.json `neon.models` exactly — `neon-catalog-drift.test.ts`\n// fails if the two diverge. A branch's live list\n// is `GET $NEON_AI_GATEWAY_BASE_URL/v1/models`. There is deliberately no second\n// list for ids the gateway serves ahead of the published catalog: such an id\n// already works because `NeonChatModelId` accepts any string.\n\n/** Published catalog ids from https://neon.com/models.json (canonical, unprefixed). */\nexport const NEON_MODELS_DEV_IDS = [\n\t// Anthropic (native Messages API)\n\t\"claude-fable-5\",\n\t\"claude-fable-5-1\",\n\t\"claude-haiku-4-5\",\n\t\"claude-haiku-5-5\",\n\t\"claude-opus-4-1\",\n\t\"claude-opus-4-5\",\n\t\"claude-opus-4-6\",\n\t\"claude-opus-4-7\",\n\t\"claude-opus-4-8\",\n\t\"claude-opus-5\",\n\t\"claude-opus-5-5\",\n\t\"claude-sonnet-4-5\",\n\t\"claude-sonnet-4-6\",\n\t\"claude-sonnet-5\",\n\t\"claude-sonnet-5-5\",\n\t// OpenAI (native Responses API)\n\t\"gpt-5\",\n\t\"gpt-5-1\",\n\t\"gpt-5-2\",\n\t\"gpt-5-3-codex\",\n\t\"gpt-5-4\",\n\t\"gpt-5-4-mini\",\n\t\"gpt-5-4-nano\",\n\t\"gpt-5-5\",\n\t\"gpt-5-5-pro\",\n\t\"gpt-5-6-luna\",\n\t\"gpt-5-6-sol\",\n\t\"gpt-5-6-terra\",\n\t\"gpt-5-mini\",\n\t\"gpt-5-nano\",\n\t\"gpt-6-1-sol\",\n\t\"gpt-6-astra\",\n\t\"gpt-6-luna\",\n\t\"gpt-6-sol\",\n\t// OpenAI open-weight (unified MLflow endpoint)\n\t\"gpt-oss-120b\",\n\t\"gpt-oss-20b\",\n\t// Google (unified MLflow endpoint)\n\t\"gemini-3-1-flash-lite\",\n\t\"gemini-3-1-pro\",\n\t\"gemini-3-5-flash\",\n\t\"gemini-3-5-flash-lite\",\n\t\"gemini-3-6-flash\",\n\t\"gemini-3-7-flash\",\n\t\"gemini-3-8-flash\",\n\t\"gemini-3-flash\",\n\t\"gemini-4-argon\",\n\t\"gemma-3-12b\",\n\t// Meta (unified MLflow endpoint)\n\t\"llama-4-maverick\",\n\t\"meta-llama-3-1-8b-instruct\",\n\t\"meta-llama-3-3-70b-instruct\",\n\t// Alibaba (unified MLflow endpoint)\n\t\"qwen3-next-80b-a3b-instruct\",\n\t\"qwen35-122b-a10b\",\n\t// Zhipu (unified MLflow endpoint)\n\t\"glm-5-2\",\n\t\"glm-5-3\",\n\t\"glm-5-3-flash\",\n\t// xAI (unified MLflow endpoint)\n\t\"grok-4-6\",\n\t\"grok-4-7\",\n\t// Moonshot (unified MLflow endpoint)\n\t\"kimi-k3\",\n\t// DeepSeek (unified MLflow endpoint)\n\t\"deepseek-v4-1-flash\",\n] as const;\n\n/** A known Neon AI Gateway model id. */\nexport type NeonKnownModelId = (typeof NEON_MODELS_DEV_IDS)[number];\n\n/**\n * A Neon AI Gateway model id. Known ids are listed for autocomplete; any other\n * id (e.g. a brand-new model, or the legacy `databricks-` prefixed form) is\n * accepted via the `(string & {})` fallback.\n */\nexport type NeonChatModelId = NeonKnownModelId | (string & {});\n"],"mappings":";;AAiBA,MAAa,sBAAsB;CAElC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CAEA;AACD"}
1
+ {"version":3,"file":"neon-chat-options.js","names":[],"sources":["../../src/lib/neon-chat-options.ts"],"sourcesContent":["// Models served by the Neon AI Gateway. Anthropic and OpenAI models are routed\n// to their provider-native endpoints; everything else uses the unified MLflow\n// (OpenAI-compatible) endpoint.\n//\n// Ids use the canonical Neon (unprefixed) form, matching\n// https://neon.com/models.json. The gateway also accepts the legacy\n// `databricks-` prefixed form, which still resolves via the `(string & {})`\n// fallback on `NeonChatModelId`.\n//\n// `NEON_MODELS_DEV_IDS` mirrors the `released: true` chat entries of\n// neon.com/models.json `neon.models` exactly — `neon-catalog-drift.test.ts`\n// fails if the two diverge. A branch's live list\n// is `GET $NEON_AI_GATEWAY_BASE_URL/v1/models`. There is deliberately no second\n// list for ids the gateway serves ahead of the published catalog: such an id\n// already works because `NeonChatModelId` accepts any string.\n\n/** Published catalog ids from https://neon.com/models.json (canonical, unprefixed). */\nexport const NEON_MODELS_DEV_IDS = [\n\t// Anthropic (native Messages API)\n\t\"claude-fable-5\",\n\t\"claude-fable-5-1\",\n\t\"claude-haiku-4-5\",\n\t\"claude-haiku-5-5\",\n\t\"claude-opus-4-1\",\n\t\"claude-opus-4-5\",\n\t\"claude-opus-4-6\",\n\t\"claude-opus-4-7\",\n\t\"claude-opus-4-8\",\n\t\"claude-opus-5\",\n\t\"claude-opus-5-5\",\n\t\"claude-sonnet-4-5\",\n\t\"claude-sonnet-4-6\",\n\t\"claude-sonnet-5\",\n\t\"claude-sonnet-5-5\",\n\t// OpenAI (native Responses API)\n\t\"gpt-5\",\n\t\"gpt-5-1\",\n\t\"gpt-5-2\",\n\t\"gpt-5-3-codex\",\n\t\"gpt-5-4\",\n\t\"gpt-5-4-mini\",\n\t\"gpt-5-4-nano\",\n\t\"gpt-5-5\",\n\t\"gpt-5-5-pro\",\n\t\"gpt-5-6-luna\",\n\t\"gpt-5-6-sol\",\n\t\"gpt-5-6-terra\",\n\t\"gpt-5-mini\",\n\t\"gpt-5-nano\",\n\t\"gpt-6-1-sol\",\n\t\"gpt-6-astra\",\n\t\"gpt-6-luna\",\n\t\"gpt-6-sol\",\n\t// OpenAI open-weight (unified MLflow endpoint)\n\t\"gpt-oss-120b\",\n\t\"gpt-oss-20b\",\n\t// Google (unified MLflow endpoint)\n\t\"gemini-3-1-flash-lite\",\n\t\"gemini-3-1-pro\",\n\t\"gemini-3-5-flash\",\n\t\"gemini-3-5-flash-lite\",\n\t\"gemini-3-6-flash\",\n\t\"gemini-3-7-flash\",\n\t\"gemini-3-8-flash\",\n\t\"gemini-3-flash\",\n\t\"gemini-4-argon\",\n\t\"gemma-3-12b\",\n\t// Meta (unified MLflow endpoint)\n\t\"llama-4-maverick\",\n\t\"meta-llama-3-1-8b-instruct\",\n\t\"meta-llama-3-3-70b-instruct\",\n\t// Alibaba (unified MLflow endpoint)\n\t\"qwen3-next-80b-a3b-instruct\",\n\t\"qwen35-122b-a10b\",\n\t// Zhipu (unified MLflow endpoint)\n\t\"glm-5-2\",\n\t\"glm-5-3\",\n\t\"glm-5-3-flash\",\n\t// xAI (unified MLflow endpoint)\n\t\"grok-4-6\",\n\t\"grok-4-7\",\n\t// Moonshot (unified MLflow endpoint)\n\t\"kimi-k3\",\n\t\"kimi-k3-1-pro\",\n\t// DeepSeek (unified MLflow endpoint)\n\t\"deepseek-v4-1-flash\",\n] as const;\n\n/** A known Neon AI Gateway model id. */\nexport type NeonKnownModelId = (typeof NEON_MODELS_DEV_IDS)[number];\n\n/**\n * A Neon AI Gateway model id. Known ids are listed for autocomplete; any other\n * id (e.g. a brand-new model, or the legacy `databricks-` prefixed form) is\n * accepted via the `(string & {})` fallback.\n */\nexport type NeonChatModelId = NeonKnownModelId | (string & {});\n"],"mappings":";;AAiBA,MAAa,sBAAsB;CAElC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;AACD"}
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "1.3.1";
2
+ var version = "1.3.2";
3
3
  export { version };
4
4
 
5
5
  //# sourceMappingURL=package.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/ai-sdk-provider",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Community Vercel AI SDK provider for the Neon AI Gateway.",
5
5
  "keywords": [
6
6
  "neon",