@meetkai/mka1 0.54.20 → 0.54.21

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 (44) hide show
  1. package/bin/mcp-server.js +28 -9
  2. package/bin/mcp-server.js.map +8 -8
  3. package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
  4. package/dist/commonjs/funcs/llmModelsPutOrgAutoModel.js +1 -1
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
  10. package/dist/commonjs/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
  11. package/dist/commonjs/models/components/putorgautomodelrequest.d.ts +3 -3
  12. package/dist/commonjs/models/components/putorgautomodelrequest.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/putorgautomodelrequest.js +22 -3
  14. package/dist/commonjs/models/components/putorgautomodelrequest.js.map +1 -1
  15. package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
  16. package/dist/commonjs/react-query/llmModelsPutOrgAutoModel.js +1 -1
  17. package/dist/commonjs/sdk/models.d.ts +1 -1
  18. package/dist/commonjs/sdk/models.js +1 -1
  19. package/dist/esm/funcs/llmModelsPutOrgAutoModel.d.ts +1 -1
  20. package/dist/esm/funcs/llmModelsPutOrgAutoModel.js +1 -1
  21. package/dist/esm/lib/config.d.ts +2 -2
  22. package/dist/esm/lib/config.js +2 -2
  23. package/dist/esm/mcp-server/mcp-server.js +1 -1
  24. package/dist/esm/mcp-server/server.js +1 -1
  25. package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js +1 -1
  26. package/dist/esm/mcp-server/tools/llmModelsPutOrgAutoModel.js.map +1 -1
  27. package/dist/esm/models/components/putorgautomodelrequest.d.ts +3 -3
  28. package/dist/esm/models/components/putorgautomodelrequest.d.ts.map +1 -1
  29. package/dist/esm/models/components/putorgautomodelrequest.js +22 -3
  30. package/dist/esm/models/components/putorgautomodelrequest.js.map +1 -1
  31. package/dist/esm/react-query/llmModelsPutOrgAutoModel.d.ts +1 -1
  32. package/dist/esm/react-query/llmModelsPutOrgAutoModel.js +1 -1
  33. package/dist/esm/sdk/models.d.ts +1 -1
  34. package/dist/esm/sdk/models.js +1 -1
  35. package/jsr.json +1 -1
  36. package/package.json +1 -1
  37. package/src/funcs/llmModelsPutOrgAutoModel.ts +1 -1
  38. package/src/lib/config.ts +2 -2
  39. package/src/mcp-server/mcp-server.ts +1 -1
  40. package/src/mcp-server/server.ts +1 -1
  41. package/src/mcp-server/tools/llmModelsPutOrgAutoModel.ts +1 -1
  42. package/src/models/components/putorgautomodelrequest.ts +25 -6
  43. package/src/react-query/llmModelsPutOrgAutoModel.ts +1 -1
  44. package/src/sdk/models.ts +1 -1
package/bin/mcp-server.js CHANGED
@@ -52917,9 +52917,9 @@ var init_config = __esm(() => {
52917
52917
  SDK_METADATA = {
52918
52918
  language: "typescript",
52919
52919
  openapiDocVersion: "1.1.0",
52920
- sdkVersion: "0.54.20",
52920
+ sdkVersion: "0.54.21",
52921
52921
  genVersion: "2.935.1",
52922
- userAgent: "speakeasy-sdk/typescript 0.54.20 2.935.1 1.1.0 @meetkai/mka1"
52922
+ userAgent: "speakeasy-sdk/typescript 0.54.21 2.935.1 1.1.0 @meetkai/mka1"
52923
52923
  };
52924
52924
  });
52925
52925
 
@@ -72450,6 +72450,7 @@ var init_putmodelpricebody = __esm(() => {
72450
72450
  var Policy, Policy$inboundSchema, Policy$outboundSchema, PutOrgAutoModelRequest2$inboundSchema, PutOrgAutoModelRequest2$outboundSchema, PutOrgAutoModelRequest1$inboundSchema, PutOrgAutoModelRequest1$outboundSchema, PutOrgAutoModelRequest$inboundSchema, PutOrgAutoModelRequest$outboundSchema;
72451
72451
  var init_putorgautomodelrequest = __esm(() => {
72452
72452
  init_esm();
72453
+ init_primitives();
72453
72454
  Policy = {
72454
72455
  Balanced: "balanced",
72455
72456
  Price: "price",
@@ -72460,19 +72461,37 @@ var init_putorgautomodelrequest = __esm(() => {
72460
72461
  Policy$outboundSchema = Policy$inboundSchema;
72461
72462
  PutOrgAutoModelRequest2$inboundSchema = objectType({
72462
72463
  policy: Policy$inboundSchema.default("balanced"),
72463
- judgeModelId: stringType(),
72464
- candidateModelIds: arrayType(stringType())
72464
+ judge_model_id: stringType(),
72465
+ candidate_model_ids: arrayType(stringType())
72466
+ }).transform((v2) => {
72467
+ return remap(v2, {
72468
+ judge_model_id: "judgeModelId",
72469
+ candidate_model_ids: "candidateModelIds"
72470
+ });
72465
72471
  });
72466
72472
  PutOrgAutoModelRequest2$outboundSchema = objectType({
72467
72473
  policy: Policy$outboundSchema.default("balanced"),
72468
72474
  judgeModelId: stringType(),
72469
72475
  candidateModelIds: arrayType(stringType())
72476
+ }).transform((v2) => {
72477
+ return remap(v2, {
72478
+ judgeModelId: "judge_model_id",
72479
+ candidateModelIds: "candidate_model_ids"
72480
+ });
72470
72481
  });
72471
72482
  PutOrgAutoModelRequest1$inboundSchema = objectType({
72472
- modelId: stringType()
72483
+ model_id: stringType()
72484
+ }).transform((v2) => {
72485
+ return remap(v2, {
72486
+ model_id: "modelId"
72487
+ });
72473
72488
  });
72474
72489
  PutOrgAutoModelRequest1$outboundSchema = objectType({
72475
72490
  modelId: stringType()
72491
+ }).transform((v2) => {
72492
+ return remap(v2, {
72493
+ modelId: "model_id"
72494
+ });
72476
72495
  });
72477
72496
  PutOrgAutoModelRequest$inboundSchema = unionType([
72478
72497
  lazyType(() => PutOrgAutoModelRequest2$inboundSchema),
@@ -136362,7 +136381,7 @@ var init_llmModelsPutOrgAutoModel2 = __esm(() => {
136362
136381
  name: "llm-models-put-org-auto-model",
136363
136382
  description: `Set this org's auto policy for an endpoint
136364
136383
 
136365
- Stores either the existing direct \`{ endpoint → modelId }\` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.`,
136384
+ Stores either the existing direct \`{ endpoint → model_id }\` alias or a judge policy with candidate models. Judge routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.`,
136366
136385
  args: args250,
136367
136386
  tool: async (client, args251, ctx) => {
136368
136387
  const [result, apiCall] = await llmModelsPutOrgAutoModel(client, args251.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -150076,7 +150095,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
150076
150095
  function createMCPServer(deps) {
150077
150096
  const server = new McpServer({
150078
150097
  name: "SDK",
150079
- version: "0.54.20"
150098
+ version: "0.54.21"
150080
150099
  });
150081
150100
  const client = new SDKCore({
150082
150101
  bearerAuth: deps.bearerAuth,
@@ -152020,7 +152039,7 @@ var routes = rn({
152020
152039
  var app = Ve(routes, {
152021
152040
  name: "mcp",
152022
152041
  versionInfo: {
152023
- currentVersion: "0.54.20"
152042
+ currentVersion: "0.54.21"
152024
152043
  }
152025
152044
  });
152026
152045
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -152028,5 +152047,5 @@ export {
152028
152047
  app
152029
152048
  };
152030
152049
 
152031
- //# debugId=482E64F4C3382B3864756E2164756E21
152050
+ //# debugId=BFCE43FC8EAF8E6D64756E2164756E21
152032
152051
  //# sourceMappingURL=mcp-server.js.map