@meetkai/mka1 0.54.65 → 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 (53) hide show
  1. package/bin/mcp-server.js +23 -8
  2. package/bin/mcp-server.js.map +9 -9
  3. package/dist/commonjs/funcs/sandboxSetPricing.d.ts +1 -1
  4. package/dist/commonjs/funcs/sandboxSetPricing.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/sandboxSetPricing.js +1 -1
  10. package/dist/commonjs/mcp-server/tools/sandboxSetPricing.js.map +1 -1
  11. package/dist/commonjs/models/components/sandboxpricingcard.d.ts +2 -0
  12. package/dist/commonjs/models/components/sandboxpricingcard.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/sandboxpricingcard.js +2 -0
  14. package/dist/commonjs/models/components/sandboxpricingcard.js.map +1 -1
  15. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts +11 -1
  16. package/dist/commonjs/models/components/sandboxpricingupdate.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/sandboxpricingupdate.js +13 -0
  18. package/dist/commonjs/models/components/sandboxpricingupdate.js.map +1 -1
  19. package/dist/commonjs/react-query/sandboxSetPricing.d.ts +1 -1
  20. package/dist/commonjs/react-query/sandboxSetPricing.js +1 -1
  21. package/dist/commonjs/sdk/sandbox.d.ts +1 -1
  22. package/dist/commonjs/sdk/sandbox.js +1 -1
  23. package/dist/esm/funcs/sandboxSetPricing.d.ts +1 -1
  24. package/dist/esm/funcs/sandboxSetPricing.js +1 -1
  25. package/dist/esm/lib/config.d.ts +2 -2
  26. package/dist/esm/lib/config.js +2 -2
  27. package/dist/esm/mcp-server/mcp-server.js +1 -1
  28. package/dist/esm/mcp-server/server.js +1 -1
  29. package/dist/esm/mcp-server/tools/sandboxSetPricing.js +1 -1
  30. package/dist/esm/mcp-server/tools/sandboxSetPricing.js.map +1 -1
  31. package/dist/esm/models/components/sandboxpricingcard.d.ts +2 -0
  32. package/dist/esm/models/components/sandboxpricingcard.d.ts.map +1 -1
  33. package/dist/esm/models/components/sandboxpricingcard.js +2 -0
  34. package/dist/esm/models/components/sandboxpricingcard.js.map +1 -1
  35. package/dist/esm/models/components/sandboxpricingupdate.d.ts +11 -1
  36. package/dist/esm/models/components/sandboxpricingupdate.d.ts.map +1 -1
  37. package/dist/esm/models/components/sandboxpricingupdate.js +13 -0
  38. package/dist/esm/models/components/sandboxpricingupdate.js.map +1 -1
  39. package/dist/esm/react-query/sandboxSetPricing.d.ts +1 -1
  40. package/dist/esm/react-query/sandboxSetPricing.js +1 -1
  41. package/dist/esm/sdk/sandbox.d.ts +1 -1
  42. package/dist/esm/sdk/sandbox.js +1 -1
  43. package/jsr.json +1 -1
  44. package/package.json +1 -1
  45. package/src/funcs/sandboxSetPricing.ts +1 -1
  46. package/src/lib/config.ts +2 -2
  47. package/src/mcp-server/mcp-server.ts +1 -1
  48. package/src/mcp-server/server.ts +1 -1
  49. package/src/mcp-server/tools/sandboxSetPricing.ts +1 -1
  50. package/src/models/components/sandboxpricingcard.ts +4 -0
  51. package/src/models/components/sandboxpricingupdate.ts +24 -1
  52. package/src/react-query/sandboxSetPricing.ts +1 -1
  53. 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.65",
52920
+ sdkVersion: "0.54.66",
52921
52921
  genVersion: "2.943.0",
52922
- userAgent: "speakeasy-sdk/typescript 0.54.65 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
 
@@ -79694,6 +79694,7 @@ var init_sandboxpricingcard = __esm(() => {
79694
79694
  init_sandboxpricerate();
79695
79695
  SandboxPricingCard$inboundSchema = objectType({
79696
79696
  object: literalType("sandbox.pricing").default("sandbox.pricing"),
79697
+ currency: nullableType(stringType()).optional(),
79697
79698
  rates: recordType(SandboxPriceRate$inboundSchema).optional(),
79698
79699
  updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
79699
79700
  updated_by: nullableType(stringType()).optional()
@@ -79705,6 +79706,7 @@ var init_sandboxpricingcard = __esm(() => {
79705
79706
  });
79706
79707
  SandboxPricingCard$outboundSchema = objectType({
79707
79708
  object: literalType("sandbox.pricing").default("sandbox.pricing"),
79709
+ currency: nullableType(stringType()).optional(),
79708
79710
  rates: recordType(SandboxPriceRate$outboundSchema).optional(),
79709
79711
  updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
79710
79712
  updatedBy: nullableType(stringType()).optional()
@@ -79720,12 +79722,25 @@ var init_sandboxpricingcard = __esm(() => {
79720
79722
  var SandboxPricingUpdate$inboundSchema, SandboxPricingUpdate$outboundSchema;
79721
79723
  var init_sandboxpricingupdate = __esm(() => {
79722
79724
  init_esm();
79725
+ init_primitives();
79723
79726
  init_sandboxpricerate();
79724
79727
  SandboxPricingUpdate$inboundSchema = objectType({
79725
- 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
+ });
79726
79735
  });
79727
79736
  SandboxPricingUpdate$outboundSchema = objectType({
79728
- 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
+ });
79729
79744
  });
79730
79745
  });
79731
79746
 
@@ -165311,7 +165326,7 @@ var init_sandboxSetPricing2 = __esm(() => {
165311
165326
  name: "sandbox-set-pricing",
165312
165327
  description: `Set Sandbox Pricing
165313
165328
 
165314
- 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.`,
165315
165330
  args: args417,
165316
165331
  tool: async (client, args418, ctx) => {
165317
165332
  const [result, apiCall] = await sandboxSetPricing(client, args418.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -167941,7 +167956,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
167941
167956
  function createMCPServer(deps) {
167942
167957
  const server = new McpServer({
167943
167958
  name: "SDK",
167944
- version: "0.54.65"
167959
+ version: "0.54.66"
167945
167960
  });
167946
167961
  const client = new SDKCore({
167947
167962
  bearerAuth: deps.bearerAuth,
@@ -170037,7 +170052,7 @@ var routes = rn({
170037
170052
  var app = Ve(routes, {
170038
170053
  name: "mcp",
170039
170054
  versionInfo: {
170040
- currentVersion: "0.54.65"
170055
+ currentVersion: "0.54.66"
170041
170056
  }
170042
170057
  });
170043
170058
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -170045,5 +170060,5 @@ export {
170045
170060
  app
170046
170061
  };
170047
170062
 
170048
- //# debugId=BE4A0919FE342E5F64756E2164756E21
170063
+ //# debugId=C6F8D7580219423A64756E2164756E21
170049
170064
  //# sourceMappingURL=mcp-server.js.map