@core-ai/kimi 0.18.0 → 0.19.0

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 (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -8,6 +8,8 @@ var DEFAULT_BASE_URL = "https://api.moonshot.ai/v1";
8
8
 
9
9
  // src/model-capabilities.ts
10
10
  import {
11
+ MULTIMODAL_INPUT_MODALITIES,
12
+ TEXT_ONLY_MODALITIES,
11
13
  UNKNOWN_MODEL
12
14
  } from "@core-ai/core-ai";
13
15
  var UNKNOWN_MODEL_CAPABILITIES = {
@@ -16,7 +18,8 @@ var UNKNOWN_MODEL_CAPABILITIES = {
16
18
  supportedEfforts: [],
17
19
  restrictsSamplingParams: false,
18
20
  supportedToolChoices: ["auto", "none", "required", "tool"]
19
- }
21
+ },
22
+ modalities: MULTIMODAL_INPUT_MODALITIES
20
23
  };
21
24
  var K2_7_CODE_CAPABILITIES = {
22
25
  reasoning: {
@@ -24,7 +27,8 @@ var K2_7_CODE_CAPABILITIES = {
24
27
  supportedEfforts: [],
25
28
  restrictsSamplingParams: true,
26
29
  supportedToolChoices: ["auto", "none"]
27
- }
30
+ },
31
+ modalities: TEXT_ONLY_MODALITIES
28
32
  };
29
33
  var KIMI_MODEL_CAPABILITIES = {
30
34
  [UNKNOWN_MODEL]: UNKNOWN_MODEL_CAPABILITIES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@core-ai/kimi",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Kimi (Moonshot AI) provider package for @core-ai/core-ai",
5
5
  "license": "MIT",
6
6
  "author": "Omnifact (https://omnifact.ai)",
@@ -45,8 +45,8 @@
45
45
  "test:watch": "vitest"
46
46
  },
47
47
  "dependencies": {
48
- "@core-ai/core-ai": "^0.18.0",
49
- "@core-ai/openai": "^0.18.0"
48
+ "@core-ai/core-ai": "^0.19.0",
49
+ "@core-ai/openai": "^0.19.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "zod": "^4.0.0"