@zuplo/cli 6.73.22 → 6.73.23

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.
@@ -249,6 +249,8 @@ export declare type AIGatewayCapability =
249
249
  * policies.
250
250
  * Entry options replace the declaration's options as a complete object; omit
251
251
  * them to inherit the declaration, including environment-backed credentials.
252
+ * Each occurrence receives a private deep copy of its entry options, so a
253
+ * policy mutating its options cannot corrupt the cached app configuration.
252
254
  *
253
255
  * @title AI Gateway Configuration Executor (v2)
254
256
  * @product ai-gateway
@@ -384,6 +386,12 @@ export declare function aiGatewayHandlerV2(
384
386
  * This policy is meant to be used as singleton.
385
387
  * You should only have one for your entire Gateway.
386
388
  *
389
+ * Metering runs at most once per request: when the policy appears more than
390
+ * once in the effective chain (for example repeated
391
+ * `configuration.inboundPolicyChain` entries, or a static route entry plus a
392
+ * chain entry), only the first occurrence checks quotas and registers the
393
+ * meter-increment hook, so usage is never billed twice.
394
+ *
387
395
  * @title AI Gateway Metering
388
396
  * @product ai-gateway
389
397
  * @hidden
@@ -998,6 +1006,11 @@ export declare interface AkamaiAIFirewallPolicyOptions {
998
1006
  * `request.user.configuration`, and presence in the route's `inbound[]` chain is
999
1007
  * what enables it.
1000
1008
  *
1009
+ * Options are validated at request time and invalid options fail closed with a
1010
+ * ConfigurationError: detect-call failures deliberately fail open for
1011
+ * availability, so a misconfigured credential must not degrade into a silent
1012
+ * pass-through.
1013
+ *
1001
1014
  * For streaming responses it uses a transform stream that can block content
1002
1015
  * mid-stream if harmful content is detected.
1003
1016
  *
@@ -1010,8 +1023,8 @@ export declare interface AkamaiAIFirewallPolicyOptions {
1010
1023
  export declare function AkamaiAIFirewallV2InboundPolicy(
1011
1024
  request: ZuploRequest,
1012
1025
  context: ZuploContext,
1013
- options: AkamaiAIFirewallV2PolicyOptions,
1014
- _policyName: string
1026
+ unparsedOptions: unknown,
1027
+ policyName: string
1015
1028
  ): Promise<ZuploRequest | Response>;
1016
1029
 
1017
1030
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.73.22",
4
+ "version": "6.73.23",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "6.73.22",
3
+ "version": "6.73.23",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -27,10 +27,10 @@
27
27
  "@opentelemetry/api": "1.9.0",
28
28
  "@opentelemetry/api-logs": "0.220.0",
29
29
  "@swc/core": "1.10.18",
30
- "@zuplo/core": "6.73.22",
30
+ "@zuplo/core": "6.73.23",
31
31
  "@zuplo/editor": "1.0.29844086763",
32
- "@zuplo/openapi-tools": "6.73.22",
33
- "@zuplo/runtime": "6.73.22",
32
+ "@zuplo/openapi-tools": "6.73.23",
33
+ "@zuplo/runtime": "6.73.23",
34
34
  "chalk": "5.4.1",
35
35
  "chokidar": "3.5.3",
36
36
  "cookie": "1.0.2",
@@ -61,8 +61,8 @@
61
61
  "workerd": "1.20241230.0",
62
62
  "yargs": "17.7.2",
63
63
  "zod": "3.25.76",
64
- "@zuplo/graphql": "6.73.22",
65
- "@zuplo/otel": "6.73.22"
64
+ "@zuplo/graphql": "6.73.23",
65
+ "@zuplo/otel": "6.73.23"
66
66
  },
67
67
  "bundleDependencies": [
68
68
  "@inquirer/prompts",