@meetkai/mka1 0.54.64 → 0.54.66

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 (96) hide show
  1. package/bin/mcp-server.js +34 -14
  2. package/bin/mcp-server.js.map +12 -12
  3. package/dist/commonjs/funcs/datasetsCreateGeneration.d.ts +3 -2
  4. package/dist/commonjs/funcs/datasetsCreateGeneration.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/datasetsCreateGeneration.js +3 -2
  6. package/dist/commonjs/funcs/datasetsCreateGeneration.js.map +1 -1
  7. package/dist/commonjs/funcs/sandboxSetPricing.d.ts +1 -1
  8. package/dist/commonjs/funcs/sandboxSetPricing.js +1 -1
  9. package/dist/commonjs/lib/config.d.ts +2 -2
  10. package/dist/commonjs/lib/config.js +2 -2
  11. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  12. package/dist/commonjs/mcp-server/server.js +1 -1
  13. package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.d.ts.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.js +3 -2
  15. package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.js.map +1 -1
  16. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.js +1 -1
  17. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.js.map +1 -1
  18. package/dist/commonjs/models/components/createdby.d.ts +2 -0
  19. package/dist/commonjs/models/components/createdby.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/createdby.js +4 -0
  21. package/dist/commonjs/models/components/createdby.js.map +1 -1
  22. package/dist/commonjs/models/components/sandboxpricingcard.d.ts +2 -0
  23. package/dist/commonjs/models/components/sandboxpricingcard.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/sandboxpricingcard.js +2 -0
  25. package/dist/commonjs/models/components/sandboxpricingcard.js.map +1 -1
  26. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts +11 -1
  27. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/sandboxpricingupdate.js +13 -0
  29. package/dist/commonjs/models/components/sandboxpricingupdate.js.map +1 -1
  30. package/dist/commonjs/react-query/datasetsCreateGeneration.d.ts +3 -2
  31. package/dist/commonjs/react-query/datasetsCreateGeneration.d.ts.map +1 -1
  32. package/dist/commonjs/react-query/datasetsCreateGeneration.js +3 -2
  33. package/dist/commonjs/react-query/datasetsCreateGeneration.js.map +1 -1
  34. package/dist/commonjs/react-query/sandboxSetPricing.d.ts +1 -1
  35. package/dist/commonjs/react-query/sandboxSetPricing.js +1 -1
  36. package/dist/commonjs/sdk/datasets.d.ts +3 -2
  37. package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
  38. package/dist/commonjs/sdk/datasets.js +3 -2
  39. package/dist/commonjs/sdk/datasets.js.map +1 -1
  40. package/dist/commonjs/sdk/sandbox.d.ts +1 -1
  41. package/dist/commonjs/sdk/sandbox.js +1 -1
  42. package/dist/esm/funcs/datasetsCreateGeneration.d.ts +3 -2
  43. package/dist/esm/funcs/datasetsCreateGeneration.d.ts.map +1 -1
  44. package/dist/esm/funcs/datasetsCreateGeneration.js +3 -2
  45. package/dist/esm/funcs/datasetsCreateGeneration.js.map +1 -1
  46. package/dist/esm/funcs/sandboxSetPricing.d.ts +1 -1
  47. package/dist/esm/funcs/sandboxSetPricing.js +1 -1
  48. package/dist/esm/lib/config.d.ts +2 -2
  49. package/dist/esm/lib/config.js +2 -2
  50. package/dist/esm/mcp-server/mcp-server.js +1 -1
  51. package/dist/esm/mcp-server/server.js +1 -1
  52. package/dist/esm/mcp-server/tools/datasetsCreateGeneration.d.ts.map +1 -1
  53. package/dist/esm/mcp-server/tools/datasetsCreateGeneration.js +3 -2
  54. package/dist/esm/mcp-server/tools/datasetsCreateGeneration.js.map +1 -1
  55. package/dist/esm/mcp-server/tools/sandboxSetPricing.js +1 -1
  56. package/dist/esm/mcp-server/tools/sandboxSetPricing.js.map +1 -1
  57. package/dist/esm/models/components/createdby.d.ts +2 -0
  58. package/dist/esm/models/components/createdby.d.ts.map +1 -1
  59. package/dist/esm/models/components/createdby.js +4 -0
  60. package/dist/esm/models/components/createdby.js.map +1 -1
  61. package/dist/esm/models/components/sandboxpricingcard.d.ts +2 -0
  62. package/dist/esm/models/components/sandboxpricingcard.d.ts.map +1 -1
  63. package/dist/esm/models/components/sandboxpricingcard.js +2 -0
  64. package/dist/esm/models/components/sandboxpricingcard.js.map +1 -1
  65. package/dist/esm/models/components/sandboxpricingupdate.d.ts +11 -1
  66. package/dist/esm/models/components/sandboxpricingupdate.d.ts.map +1 -1
  67. package/dist/esm/models/components/sandboxpricingupdate.js +13 -0
  68. package/dist/esm/models/components/sandboxpricingupdate.js.map +1 -1
  69. package/dist/esm/react-query/datasetsCreateGeneration.d.ts +3 -2
  70. package/dist/esm/react-query/datasetsCreateGeneration.d.ts.map +1 -1
  71. package/dist/esm/react-query/datasetsCreateGeneration.js +3 -2
  72. package/dist/esm/react-query/datasetsCreateGeneration.js.map +1 -1
  73. package/dist/esm/react-query/sandboxSetPricing.d.ts +1 -1
  74. package/dist/esm/react-query/sandboxSetPricing.js +1 -1
  75. package/dist/esm/sdk/datasets.d.ts +3 -2
  76. package/dist/esm/sdk/datasets.d.ts.map +1 -1
  77. package/dist/esm/sdk/datasets.js +3 -2
  78. package/dist/esm/sdk/datasets.js.map +1 -1
  79. package/dist/esm/sdk/sandbox.d.ts +1 -1
  80. package/dist/esm/sdk/sandbox.js +1 -1
  81. package/jsr.json +1 -1
  82. package/package.json +1 -1
  83. package/src/funcs/datasetsCreateGeneration.ts +3 -2
  84. package/src/funcs/sandboxSetPricing.ts +1 -1
  85. package/src/lib/config.ts +2 -2
  86. package/src/mcp-server/mcp-server.ts +1 -1
  87. package/src/mcp-server/server.ts +1 -1
  88. package/src/mcp-server/tools/datasetsCreateGeneration.ts +3 -2
  89. package/src/mcp-server/tools/sandboxSetPricing.ts +1 -1
  90. package/src/models/components/createdby.ts +6 -0
  91. package/src/models/components/sandboxpricingcard.ts +4 -0
  92. package/src/models/components/sandboxpricingupdate.ts +24 -1
  93. package/src/react-query/datasetsCreateGeneration.ts +3 -2
  94. package/src/react-query/sandboxSetPricing.ts +1 -1
  95. package/src/sdk/datasets.ts +3 -2
  96. package/src/sdk/sandbox.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.64",
52920
+ sdkVersion: "0.54.66",
52921
52921
  genVersion: "2.943.0",
52922
- userAgent: "speakeasy-sdk/typescript 0.54.64 2.943.0 1.1.0 @meetkai/mka1"
52922
+ userAgent: "speakeasy-sdk/typescript 0.54.66 2.943.0 1.1.0 @meetkai/mka1"
52923
52923
  };
52924
52924
  });
52925
52925
 
@@ -64196,23 +64196,27 @@ var init_createdby = __esm(() => {
64196
64196
  CreatedBy$inboundSchema = objectType({
64197
64197
  user_id: stringType(),
64198
64198
  team_id: nullableType(stringType()),
64199
- api_key_id: nullableType(stringType())
64199
+ api_key_id: nullableType(stringType()),
64200
+ delegation_id: nullableType(stringType())
64200
64201
  }).transform((v2) => {
64201
64202
  return remap(v2, {
64202
64203
  user_id: "userId",
64203
64204
  team_id: "teamId",
64204
- api_key_id: "apiKeyId"
64205
+ api_key_id: "apiKeyId",
64206
+ delegation_id: "delegationId"
64205
64207
  });
64206
64208
  });
64207
64209
  CreatedBy$outboundSchema = objectType({
64208
64210
  userId: stringType(),
64209
64211
  teamId: nullableType(stringType()),
64210
- apiKeyId: nullableType(stringType())
64212
+ apiKeyId: nullableType(stringType()),
64213
+ delegationId: nullableType(stringType())
64211
64214
  }).transform((v2) => {
64212
64215
  return remap(v2, {
64213
64216
  userId: "user_id",
64214
64217
  teamId: "team_id",
64215
- apiKeyId: "api_key_id"
64218
+ apiKeyId: "api_key_id",
64219
+ delegationId: "delegation_id"
64216
64220
  });
64217
64221
  });
64218
64222
  });
@@ -79690,6 +79694,7 @@ var init_sandboxpricingcard = __esm(() => {
79690
79694
  init_sandboxpricerate();
79691
79695
  SandboxPricingCard$inboundSchema = objectType({
79692
79696
  object: literalType("sandbox.pricing").default("sandbox.pricing"),
79697
+ currency: nullableType(stringType()).optional(),
79693
79698
  rates: recordType(SandboxPriceRate$inboundSchema).optional(),
79694
79699
  updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
79695
79700
  updated_by: nullableType(stringType()).optional()
@@ -79701,6 +79706,7 @@ var init_sandboxpricingcard = __esm(() => {
79701
79706
  });
79702
79707
  SandboxPricingCard$outboundSchema = objectType({
79703
79708
  object: literalType("sandbox.pricing").default("sandbox.pricing"),
79709
+ currency: nullableType(stringType()).optional(),
79704
79710
  rates: recordType(SandboxPriceRate$outboundSchema).optional(),
79705
79711
  updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
79706
79712
  updatedBy: nullableType(stringType()).optional()
@@ -79716,12 +79722,25 @@ var init_sandboxpricingcard = __esm(() => {
79716
79722
  var SandboxPricingUpdate$inboundSchema, SandboxPricingUpdate$outboundSchema;
79717
79723
  var init_sandboxpricingupdate = __esm(() => {
79718
79724
  init_esm();
79725
+ init_primitives();
79719
79726
  init_sandboxpricerate();
79720
79727
  SandboxPricingUpdate$inboundSchema = objectType({
79721
- rates: recordType(SandboxPriceRate$inboundSchema)
79728
+ rates: recordType(SandboxPriceRate$inboundSchema),
79729
+ currency: nullableType(stringType()).optional(),
79730
+ allow_unpriced: booleanType().default(false)
79731
+ }).transform((v2) => {
79732
+ return remap(v2, {
79733
+ allow_unpriced: "allowUnpriced"
79734
+ });
79722
79735
  });
79723
79736
  SandboxPricingUpdate$outboundSchema = objectType({
79724
- rates: recordType(SandboxPriceRate$outboundSchema)
79737
+ rates: recordType(SandboxPriceRate$outboundSchema),
79738
+ currency: nullableType(stringType()).optional(),
79739
+ allowUnpriced: booleanType().default(false)
79740
+ }).transform((v2) => {
79741
+ return remap(v2, {
79742
+ allowUnpriced: "allow_unpriced"
79743
+ });
79725
79744
  });
79726
79745
  });
79727
79746
 
@@ -133232,8 +133251,9 @@ var init_datasetsCreateGeneration2 = __esm(() => {
133232
133251
  name: "datasets-create-generation",
133233
133252
  description: `Create Generation
133234
133253
 
133235
- The components.md §6 D.1 sequence, in its order: nothing is written before the digest is
133236
- pinned, and the workflow starts only after the row is committed.`,
133254
+ The components.md §6 D.1 sequence, in its order: the run credential is minted before
133255
+ anything is spent, nothing is written before the digest is pinned, and the workflow starts
133256
+ only after the row is committed.`,
133237
133257
  args: args152,
133238
133258
  tool: async (client, args153, ctx) => {
133239
133259
  const [result, apiCall] = await datasetsCreateGeneration(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -165306,7 +165326,7 @@ var init_sandboxSetPricing2 = __esm(() => {
165306
165326
  name: "sandbox-set-pricing",
165307
165327
  description: `Set Sandbox Pricing
165308
165328
 
165309
- Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from the request become unpriced and accrue no spend. Takes effect on the next meter window without a restart. Cluster admins only.`,
165329
+ Replace the sandbox pricing rate card. Full-replace semantics. Omitting a SKU that currently has a price is refused with 422 unless \`allow_unpriced\` is true: an unpriced SKU accrues no spend and its usage cannot be billed. A \`currency\` that differs from the stored one is saved only after the budgeting service accepts it as the cluster's billing currency (409 when it conflicts, 503 when it cannot be verified). Takes effect on the next meter window without a restart. Cluster admins only.`,
165310
165330
  args: args417,
165311
165331
  tool: async (client, args418, ctx) => {
165312
165332
  const [result, apiCall] = await sandboxSetPricing(client, args418.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -167936,7 +167956,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
167936
167956
  function createMCPServer(deps) {
167937
167957
  const server = new McpServer({
167938
167958
  name: "SDK",
167939
- version: "0.54.64"
167959
+ version: "0.54.66"
167940
167960
  });
167941
167961
  const client = new SDKCore({
167942
167962
  bearerAuth: deps.bearerAuth,
@@ -170032,7 +170052,7 @@ var routes = rn({
170032
170052
  var app = Ve(routes, {
170033
170053
  name: "mcp",
170034
170054
  versionInfo: {
170035
- currentVersion: "0.54.64"
170055
+ currentVersion: "0.54.66"
170036
170056
  }
170037
170057
  });
170038
170058
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -170040,5 +170060,5 @@ export {
170040
170060
  app
170041
170061
  };
170042
170062
 
170043
- //# debugId=11799A78E16A59AD64756E2164756E21
170063
+ //# debugId=C6F8D7580219423A64756E2164756E21
170044
170064
  //# sourceMappingURL=mcp-server.js.map