@zuplo/runtime 6.72.17 → 6.73.1
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/out/esm/{chunk-S2CH4265.js → chunk-HKPNCGDG.js} +109 -109
- package/out/esm/chunk-HKPNCGDG.js.map +1 -0
- package/out/esm/index.js +1 -1
- package/out/esm/mcp-gateway/index.js +1 -1
- package/out/types/index.d.ts +12 -1
- package/package.json +1 -1
- package/out/esm/chunk-S2CH4265.js.map +0 -1
- /package/out/esm/{chunk-S2CH4265.js.LEGAL.txt → chunk-HKPNCGDG.js.LEGAL.txt} +0 -0
package/out/types/index.d.ts
CHANGED
|
@@ -615,6 +615,13 @@ export declare interface AIGatewaySemanticCacheOutboundPolicyOptions {}
|
|
|
615
615
|
* route's chain is what enables it. `namespace` defaults to the AI Gateway
|
|
616
616
|
* configuration id when omitted so caching stays scoped per tenant.
|
|
617
617
|
*
|
|
618
|
+
* Cache outcomes are reported on the response via the RFC 9211 `Cache-Status`
|
|
619
|
+
* header under the cache name `zp-aigw-sem-cache` (hit:
|
|
620
|
+
* `zp-aigw-sem-cache; hit; detail="similarity=0.93"`; miss:
|
|
621
|
+
* `zp-aigw-sem-cache; fwd=miss; stored`) alongside the legacy
|
|
622
|
+
* `x-ai-gateway-cache: HIT|MISS` and `x-ai-gateway-cache-similarity` headers,
|
|
623
|
+
* kept for compatibility.
|
|
624
|
+
*
|
|
618
625
|
* @title AI Gateway Semantic Cache (v2)
|
|
619
626
|
* @product ai-gateway
|
|
620
627
|
* @hidden
|
|
@@ -2673,7 +2680,7 @@ declare interface CacheOptions {
|
|
|
2673
2680
|
}
|
|
2674
2681
|
|
|
2675
2682
|
/**
|
|
2676
|
-
* How long a cached response lives, in seconds. Defaults to 3600 (1 hour).
|
|
2683
|
+
* How long a cached response lives, in whole seconds. Defaults to 3600 (1 hour); maximum 2592000 (30 days).
|
|
2677
2684
|
* @public
|
|
2678
2685
|
*/
|
|
2679
2686
|
declare type CacheTTLSeconds = number;
|
|
@@ -3845,6 +3852,7 @@ declare interface DataDogMetricsOptions {
|
|
|
3845
3852
|
* @public
|
|
3846
3853
|
*/
|
|
3847
3854
|
export declare class DataDogMetricsPlugin extends MetricsPlugin {
|
|
3855
|
+
#private;
|
|
3848
3856
|
private options;
|
|
3849
3857
|
constructor(options: DataDogMetricsOptions);
|
|
3850
3858
|
/* Excluded from this release type: getTransport */
|
|
@@ -4235,6 +4243,7 @@ declare interface DynatraceMetricsOptions {
|
|
|
4235
4243
|
* @public
|
|
4236
4244
|
*/
|
|
4237
4245
|
export declare class DynatraceMetricsPlugin extends MetricsPlugin {
|
|
4246
|
+
#private;
|
|
4238
4247
|
private options;
|
|
4239
4248
|
constructor(options: DynatraceMetricsOptions);
|
|
4240
4249
|
/* Excluded from this release type: getTransport */
|
|
@@ -10307,6 +10316,7 @@ declare interface NewRelicMetricsOptions {
|
|
|
10307
10316
|
* @public
|
|
10308
10317
|
*/
|
|
10309
10318
|
export declare class NewRelicMetricsPlugin extends MetricsPlugin {
|
|
10319
|
+
#private;
|
|
10310
10320
|
private options;
|
|
10311
10321
|
constructor(options: NewRelicMetricsOptions);
|
|
10312
10322
|
/* Excluded from this release type: getTransport */
|
|
@@ -11402,6 +11412,7 @@ declare interface OTelMetricsOptions {
|
|
|
11402
11412
|
* @public
|
|
11403
11413
|
*/
|
|
11404
11414
|
export declare class OTelMetricsPlugin extends MetricsPlugin {
|
|
11415
|
+
#private;
|
|
11405
11416
|
private options;
|
|
11406
11417
|
constructor(options: OTelMetricsOptions);
|
|
11407
11418
|
/* Excluded from this release type: getTransport */
|