latitudesh-typescript-sdk 0.9.1 → 0.9.2

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.
package/README.md CHANGED
@@ -1080,7 +1080,7 @@ import { Latitudesh } from "latitudesh-typescript-sdk";
1080
1080
  const sdk = new Latitudesh({ debugLogger: console });
1081
1081
  ```
1082
1082
 
1083
- You can also enable a default debug logger by setting an environment variable `LATITUDESH_DEBUG` to true.
1083
+ You can also enable a default debug logger by setting an environment variable `LATITUDESH_DEBUG` to `true`, `1`, `yes` or `on` (case-insensitive). Any other value leaves it off.
1084
1084
  <!-- End Debugging [debug] -->
1085
1085
 
1086
1086
  <!-- Placeholder for Future Speakeasy SDK Sections -->
package/bin/mcp-server.js CHANGED
@@ -67654,9 +67654,9 @@ var init_config = __esm(() => {
67654
67654
  SDK_METADATA = {
67655
67655
  language: "typescript",
67656
67656
  openapiDocVersion: "2023-06-01",
67657
- sdkVersion: "0.9.1",
67658
- genVersion: "2.956.1",
67659
- userAgent: "speakeasy-sdk/typescript 0.9.1 2.956.1 2023-06-01 latitudesh-typescript-sdk"
67657
+ sdkVersion: "0.9.2",
67658
+ genVersion: "2.960.8",
67659
+ userAgent: "speakeasy-sdk/typescript 0.9.2 2.960.8 2023-06-01 latitudesh-typescript-sdk"
67660
67660
  };
67661
67661
  });
67662
67662
 
@@ -67982,6 +67982,9 @@ var init_encodings = __esm(() => {
67982
67982
  });
67983
67983
 
67984
67984
  // src/lib/env.ts
67985
+ function parseEnvFlag(value) {
67986
+ return ["true", "1", "yes", "on"].includes(String(value).trim().toLowerCase());
67987
+ }
67985
67988
  function isDeno() {
67986
67989
  if ("Deno" in globalThis) {
67987
67990
  return true;
@@ -68007,7 +68010,7 @@ var init_env = __esm(() => {
68007
68010
  init_v3();
68008
68011
  envSchema = objectType({
68009
68012
  LATITUDESH_BEARER: stringType().optional(),
68010
- LATITUDESH_DEBUG: coerce.boolean().optional()
68013
+ LATITUDESH_DEBUG: unknownType().transform(parseEnvFlag).optional()
68011
68014
  });
68012
68015
  });
68013
68016
 
@@ -78541,6 +78544,7 @@ var init_inferencemodel = __esm(() => {
78541
78544
  modality: nullableType(stringType()).optional(),
78542
78545
  context_length: nullableType(numberType().int()).optional(),
78543
78546
  input_price_per_million_tokens: nullableType(stringType()).optional(),
78547
+ cached_input_price_per_million_tokens: nullableType(stringType()).optional(),
78544
78548
  output_price_per_million_tokens: nullableType(stringType()).optional(),
78545
78549
  capabilities: arrayType(stringType()).optional(),
78546
78550
  regions: arrayType(stringType()).optional(),
@@ -78551,6 +78555,7 @@ var init_inferencemodel = __esm(() => {
78551
78555
  display_name: "displayName",
78552
78556
  context_length: "contextLength",
78553
78557
  input_price_per_million_tokens: "inputPricePerMillionTokens",
78558
+ cached_input_price_per_million_tokens: "cachedInputPricePerMillionTokens",
78554
78559
  output_price_per_million_tokens: "outputPricePerMillionTokens",
78555
78560
  created_at: "createdAt",
78556
78561
  updated_at: "updatedAt"
@@ -78563,6 +78568,7 @@ var init_inferencemodel = __esm(() => {
78563
78568
  modality: nullableType(stringType()).optional(),
78564
78569
  contextLength: nullableType(numberType().int()).optional(),
78565
78570
  inputPricePerMillionTokens: nullableType(stringType()).optional(),
78571
+ cachedInputPricePerMillionTokens: nullableType(stringType()).optional(),
78566
78572
  outputPricePerMillionTokens: nullableType(stringType()).optional(),
78567
78573
  capabilities: arrayType(stringType()).optional(),
78568
78574
  regions: arrayType(stringType()).optional(),
@@ -78573,6 +78579,7 @@ var init_inferencemodel = __esm(() => {
78573
78579
  displayName: "display_name",
78574
78580
  contextLength: "context_length",
78575
78581
  inputPricePerMillionTokens: "input_price_per_million_tokens",
78582
+ cachedInputPricePerMillionTokens: "cached_input_price_per_million_tokens",
78576
78583
  outputPricePerMillionTokens: "output_price_per_million_tokens",
78577
78584
  createdAt: "created_at",
78578
78585
  updatedAt: "updated_at"
@@ -117943,7 +117950,7 @@ Delete virtual network
117943
117950
  function createMCPServer(deps) {
117944
117951
  const server2 = new McpServer({
117945
117952
  name: "Latitudesh",
117946
- version: "0.9.1"
117953
+ version: "0.9.2"
117947
117954
  });
117948
117955
  const client = new LatitudeshCore({
117949
117956
  bearer: deps.bearer,
@@ -120667,7 +120674,7 @@ var routes = buildRouteMap({
120667
120674
  var app = buildApplication(routes, {
120668
120675
  name: "mcp",
120669
120676
  versionInfo: {
120670
- currentVersion: "0.9.1"
120677
+ currentVersion: "0.9.2"
120671
120678
  }
120672
120679
  });
120673
120680
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -120675,5 +120682,5 @@ export {
120675
120682
  app
120676
120683
  };
120677
120684
 
120678
- //# debugId=625643FF9E7D8ADF64756E2164756E21
120685
+ //# debugId=A5FF240B178A2E3464756E2164756E21
120679
120686
  //# sourceMappingURL=mcp-server.js.map