@zuplo/runtime 6.72.17 → 6.73.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.
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.72.17",
4
+ "version": "6.73.0",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {