@stackone/core 3.31.0 → 3.33.0

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/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { IOlapClient } from "@stackone/olap";
1
+ import { IOlapClient, TruncationMode } from "@stackone/olap";
2
2
  import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, IMcpClient, McpClientConfig, RateLimitConfig, SigningOptions } from "@stackone/transport";
3
3
  import { ZodType, z } from "@stackone/utils";
4
4
  import { LambdaClient, LambdaClientConfig } from "@aws-sdk/client-lambda";
@@ -3448,6 +3448,7 @@ type OlapSettings = {
3448
3448
  ttl?: number;
3449
3449
  errorsOnly?: boolean;
3450
3450
  includeBackground?: boolean;
3451
+ truncation?: TruncationMode;
3451
3452
  };
3452
3453
  };
3453
3454
  type DefenderSettings = {
@@ -3666,6 +3667,7 @@ type DefenderMetadata = {
3666
3667
  tier3PromptTokens?: number;
3667
3668
  tier3CompletionTokens?: number;
3668
3669
  tier3LatencyMs?: number;
3670
+ tier3SkipReason?: string;
3669
3671
  latencyMs: number;
3670
3672
  };
3671
3673
  skipped?: {
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import { ZodType, z } from "@stackone/utils";
3
3
  import { ConcurrencyConfig, HttpHeaders, HttpMethod, IHttpClient, IMcpClient, McpClientConfig, RateLimitConfig, SigningOptions } from "@stackone/transport";
4
4
  import { LambdaClient, LambdaClientConfig } from "@aws-sdk/client-lambda";
5
5
  import { Readable } from "node:stream";
6
- import { IOlapClient } from "@stackone/olap";
6
+ import { IOlapClient, TruncationMode } from "@stackone/olap";
7
7
 
8
8
  //#region ../logger/src/types.d.ts
9
9
  interface ILogger {
@@ -3447,6 +3447,7 @@ type OlapSettings = {
3447
3447
  ttl?: number;
3448
3448
  errorsOnly?: boolean;
3449
3449
  includeBackground?: boolean;
3450
+ truncation?: TruncationMode;
3450
3451
  };
3451
3452
  };
3452
3453
  type DefenderSettings = {
@@ -3665,6 +3666,7 @@ type DefenderMetadata = {
3665
3666
  tier3PromptTokens?: number;
3666
3667
  tier3CompletionTokens?: number;
3667
3668
  tier3LatencyMs?: number;
3669
+ tier3SkipReason?: string;
3668
3670
  latencyMs: number;
3669
3671
  };
3670
3672
  skipped?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "3.31.0",
3
+ "version": "3.33.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",