@meetkai/mka1 0.54.59 → 0.54.60

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 (33) hide show
  1. package/bin/mcp-server.js +21 -13
  2. package/bin/mcp-server.js.map +7 -7
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/operations/getmodel.d.ts +7 -2
  8. package/dist/commonjs/models/operations/getmodel.d.ts.map +1 -1
  9. package/dist/commonjs/models/operations/getmodel.js +4 -0
  10. package/dist/commonjs/models/operations/getmodel.js.map +1 -1
  11. package/dist/commonjs/models/operations/listmodels.d.ts +7 -2
  12. package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
  13. package/dist/commonjs/models/operations/listmodels.js +4 -0
  14. package/dist/commonjs/models/operations/listmodels.js.map +1 -1
  15. package/dist/esm/lib/config.d.ts +2 -2
  16. package/dist/esm/lib/config.js +2 -2
  17. package/dist/esm/mcp-server/mcp-server.js +1 -1
  18. package/dist/esm/mcp-server/server.js +1 -1
  19. package/dist/esm/models/operations/getmodel.d.ts +7 -2
  20. package/dist/esm/models/operations/getmodel.d.ts.map +1 -1
  21. package/dist/esm/models/operations/getmodel.js +4 -0
  22. package/dist/esm/models/operations/getmodel.js.map +1 -1
  23. package/dist/esm/models/operations/listmodels.d.ts +7 -2
  24. package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
  25. package/dist/esm/models/operations/listmodels.js +4 -0
  26. package/dist/esm/models/operations/listmodels.js.map +1 -1
  27. package/jsr.json +1 -1
  28. package/package.json +1 -1
  29. package/src/lib/config.ts +2 -2
  30. package/src/mcp-server/mcp-server.ts +1 -1
  31. package/src/mcp-server/server.ts +1 -1
  32. package/src/models/operations/getmodel.ts +11 -2
  33. package/src/models/operations/listmodels.ts +11 -2
@@ -28,7 +28,7 @@ export const ModelType = {
28
28
  export type ModelType = ClosedEnum<typeof ModelType>;
29
29
 
30
30
  /**
31
- * Curated public sampling capabilities for this model.
31
+ * Curated public generation capabilities for this model.
32
32
  */
33
33
  export type Capabilities = {
34
34
  /**
@@ -39,6 +39,10 @@ export type Capabilities = {
39
39
  * Whether an LLM accepts the top_p parameter on chat-shaped generation routes; false for non-LLM models.
40
40
  */
41
41
  supportsTopP: boolean;
42
+ /**
43
+ * Whether chat-shaped generation routes forward the Responses `reasoning.effort` / chat-completions `reasoning_effort` parameter to this model; false for non-LLM models. When false the parameter is accepted and dropped. Accepted values are those of the route's `reasoning.effort` enum.
44
+ */
45
+ supportsReasoningEffort: boolean;
42
46
  };
43
47
 
44
48
  /**
@@ -71,7 +75,7 @@ export type GetModelResponseBody = {
71
75
  */
72
76
  releaseDate: RFCDate | null;
73
77
  /**
74
- * Curated public sampling capabilities for this model.
78
+ * Curated public generation capabilities for this model.
75
79
  */
76
80
  capabilities: Capabilities;
77
81
  };
@@ -141,16 +145,19 @@ export const Capabilities$inboundSchema: z.ZodType<
141
145
  > = z.object({
142
146
  supports_temperature: z.boolean(),
143
147
  supports_top_p: z.boolean(),
148
+ supports_reasoning_effort: z.boolean(),
144
149
  }).transform((v) => {
145
150
  return remap$(v, {
146
151
  "supports_temperature": "supportsTemperature",
147
152
  "supports_top_p": "supportsTopP",
153
+ "supports_reasoning_effort": "supportsReasoningEffort",
148
154
  });
149
155
  });
150
156
  /** @internal */
151
157
  export type Capabilities$Outbound = {
152
158
  supports_temperature: boolean;
153
159
  supports_top_p: boolean;
160
+ supports_reasoning_effort: boolean;
154
161
  };
155
162
 
156
163
  /** @internal */
@@ -161,10 +168,12 @@ export const Capabilities$outboundSchema: z.ZodType<
161
168
  > = z.object({
162
169
  supportsTemperature: z.boolean(),
163
170
  supportsTopP: z.boolean(),
171
+ supportsReasoningEffort: z.boolean(),
164
172
  }).transform((v) => {
165
173
  return remap$(v, {
166
174
  supportsTemperature: "supports_temperature",
167
175
  supportsTopP: "supports_top_p",
176
+ supportsReasoningEffort: "supports_reasoning_effort",
168
177
  });
169
178
  });
170
179
 
@@ -27,7 +27,7 @@ export const ListModelsModelType = {
27
27
  export type ListModelsModelType = ClosedEnum<typeof ListModelsModelType>;
28
28
 
29
29
  /**
30
- * Curated public sampling capabilities for this model.
30
+ * Curated public generation capabilities for this model.
31
31
  */
32
32
  export type ListModelsCapabilities = {
33
33
  /**
@@ -38,6 +38,10 @@ export type ListModelsCapabilities = {
38
38
  * Whether an LLM accepts the top_p parameter on chat-shaped generation routes; false for non-LLM models.
39
39
  */
40
40
  supportsTopP: boolean;
41
+ /**
42
+ * Whether chat-shaped generation routes forward the Responses `reasoning.effort` / chat-completions `reasoning_effort` parameter to this model; false for non-LLM models. When false the parameter is accepted and dropped. Accepted values are those of the route's `reasoning.effort` enum.
43
+ */
44
+ supportsReasoningEffort: boolean;
41
45
  };
42
46
 
43
47
  export type ListModelsData = {
@@ -67,7 +71,7 @@ export type ListModelsData = {
67
71
  */
68
72
  releaseDate: RFCDate | null;
69
73
  /**
70
- * Curated public sampling capabilities for this model.
74
+ * Curated public generation capabilities for this model.
71
75
  */
72
76
  capabilities: ListModelsCapabilities;
73
77
  };
@@ -144,16 +148,19 @@ export const ListModelsCapabilities$inboundSchema: z.ZodType<
144
148
  > = z.object({
145
149
  supports_temperature: z.boolean(),
146
150
  supports_top_p: z.boolean(),
151
+ supports_reasoning_effort: z.boolean(),
147
152
  }).transform((v) => {
148
153
  return remap$(v, {
149
154
  "supports_temperature": "supportsTemperature",
150
155
  "supports_top_p": "supportsTopP",
156
+ "supports_reasoning_effort": "supportsReasoningEffort",
151
157
  });
152
158
  });
153
159
  /** @internal */
154
160
  export type ListModelsCapabilities$Outbound = {
155
161
  supports_temperature: boolean;
156
162
  supports_top_p: boolean;
163
+ supports_reasoning_effort: boolean;
157
164
  };
158
165
 
159
166
  /** @internal */
@@ -164,10 +171,12 @@ export const ListModelsCapabilities$outboundSchema: z.ZodType<
164
171
  > = z.object({
165
172
  supportsTemperature: z.boolean(),
166
173
  supportsTopP: z.boolean(),
174
+ supportsReasoningEffort: z.boolean(),
167
175
  }).transform((v) => {
168
176
  return remap$(v, {
169
177
  supportsTemperature: "supports_temperature",
170
178
  supportsTopP: "supports_top_p",
179
+ supportsReasoningEffort: "supports_reasoning_effort",
171
180
  });
172
181
  });
173
182