@zuplo/cli 7.2.0 → 7.2.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/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.js +3 -1
- package/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs +3 -1
- package/node_modules/@posthog/core/dist/utils/index.d.ts +0 -1
- package/node_modules/@posthog/core/dist/utils/index.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/utils/index.js +0 -14
- package/node_modules/@posthog/core/dist/utils/index.mjs +1 -2
- package/node_modules/@posthog/core/package.json +1 -1
- package/node_modules/@posthog/core/src/error-tracking/coercers/object-coercer.ts +5 -1
- package/node_modules/@posthog/core/src/error-tracking/error-properties-builder.coerce.spec.ts +36 -0
- package/node_modules/@posthog/core/src/utils/index.ts +0 -4
- package/node_modules/@zuplo/core/customer.cli.minified.js +143 -143
- package/node_modules/@zuplo/core/index.minified.js +144 -144
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-TPXAFGLU.js +409 -0
- package/node_modules/@zuplo/runtime/out/esm/{chunk-FP5XLKCX.js.map → chunk-TPXAFGLU.js.map} +1 -1
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/types/index.d.ts +54 -59
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/package.json +6 -6
- package/node_modules/@zuplo/runtime/out/esm/chunk-FP5XLKCX.js +0 -409
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-FP5XLKCX.js.LEGAL.txt → chunk-TPXAFGLU.js.LEGAL.txt} +0 -0
|
@@ -140,8 +140,7 @@ export declare interface AIGatewayAuthInboundPolicyOptions {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
* Authenticates requests to an AI Gateway
|
|
144
|
-
* keys.
|
|
143
|
+
* Authenticates requests to an AI Gateway endpoint with application API keys.
|
|
145
144
|
*
|
|
146
145
|
* Add this policy to an application's `inboundPolicyChain` to require a key
|
|
147
146
|
* for that app only, or place it on the route before the configuration
|
|
@@ -156,9 +155,8 @@ export declare interface AIGatewayAuthInboundPolicyOptions {
|
|
|
156
155
|
* `/:app_id/(.*)`), this policy also requires
|
|
157
156
|
* `configuration.id === request.params.app_id` and returns 403 on mismatch.
|
|
158
157
|
*
|
|
159
|
-
* @title AI Gateway Authentication
|
|
158
|
+
* @title AI Gateway Authentication
|
|
160
159
|
* @product ai-gateway
|
|
161
|
-
* @hidden
|
|
162
160
|
* @requiresAI
|
|
163
161
|
* @public
|
|
164
162
|
*
|
|
@@ -170,7 +168,7 @@ export declare interface AIGatewayAuthInboundPolicyOptions {
|
|
|
170
168
|
*
|
|
171
169
|
* @example
|
|
172
170
|
* ```json
|
|
173
|
-
* // policies.json - Authenticate an AI Gateway
|
|
171
|
+
* // policies.json - Authenticate an AI Gateway route
|
|
174
172
|
* {
|
|
175
173
|
* "name": "ai-gateway-auth",
|
|
176
174
|
* "policyType": "ai-gateway-auth-v2",
|
|
@@ -249,7 +247,7 @@ export declare type AIGatewayCapability =
|
|
|
249
247
|
* loader has not already) and runs the inbound policy chain from that
|
|
250
248
|
* configuration.
|
|
251
249
|
*
|
|
252
|
-
* Place this policy on AI Gateway
|
|
250
|
+
* Place this policy on AI Gateway routes after optional authentication and
|
|
253
251
|
* optional `ai-gateway-configuration-loader-v2-inbound`. When either of those
|
|
254
252
|
* already populated the app-configuration channel, this policy reuses it.
|
|
255
253
|
* Otherwise it loads the configuration with the route's `app_id` path
|
|
@@ -261,9 +259,8 @@ export declare type AIGatewayCapability =
|
|
|
261
259
|
* deep copy of its entry options, so a policy mutating its options cannot
|
|
262
260
|
* corrupt the cached app configuration.
|
|
263
261
|
*
|
|
264
|
-
* @title AI Gateway Configuration Executor
|
|
262
|
+
* @title AI Gateway Configuration Executor
|
|
265
263
|
* @product ai-gateway
|
|
266
|
-
* @hidden
|
|
267
264
|
* @requiresAI
|
|
268
265
|
*/
|
|
269
266
|
export declare class AIGatewayConfigurationExecutorV2InboundPolicy extends InboundPolicy<AIGatewayConfigurationExecutorV2InboundPolicyOptions> {
|
|
@@ -294,7 +291,7 @@ export declare interface AIGatewayConfigurationExecutorV2InboundPolicyOptions {
|
|
|
294
291
|
* Loads the AI Gateway app configuration for the request into the
|
|
295
292
|
* request-scoped channel and does nothing else.
|
|
296
293
|
*
|
|
297
|
-
* Place this policy on AI Gateway
|
|
294
|
+
* Place this policy on AI Gateway routes before
|
|
298
295
|
* `ai-gateway-configuration-executor-v2-inbound` when you want configuration
|
|
299
296
|
* loading separated from chain execution. When `ai-gateway-auth-v2-inbound`
|
|
300
297
|
* already populated the channel, this policy reuses it. Otherwise it loads
|
|
@@ -303,9 +300,8 @@ export declare interface AIGatewayConfigurationExecutorV2InboundPolicyOptions {
|
|
|
303
300
|
* If this policy is omitted, the configuration executor still loads
|
|
304
301
|
* configuration itself before running the application chain.
|
|
305
302
|
*
|
|
306
|
-
* @title AI Gateway Configuration Loader
|
|
303
|
+
* @title AI Gateway Configuration Loader
|
|
307
304
|
* @product ai-gateway
|
|
308
|
-
* @hidden
|
|
309
305
|
* @requiresAI
|
|
310
306
|
*/
|
|
311
307
|
export declare class AIGatewayConfigurationLoaderV2InboundPolicy extends InboundPolicy<AIGatewayConfigurationLoaderV2InboundPolicyOptions> {
|
|
@@ -333,10 +329,9 @@ export declare interface AIGatewayConfigurationLoaderV2InboundPolicyOptions {
|
|
|
333
329
|
}
|
|
334
330
|
|
|
335
331
|
/**
|
|
336
|
-
*
|
|
337
|
-
* @title
|
|
332
|
+
* Data Loss Prevention (DLP) Inbound Policy for the AI Gateway
|
|
333
|
+
* @title Data Loss Prevention (DLP)
|
|
338
334
|
* @product ai-gateway
|
|
339
|
-
* @hidden
|
|
340
335
|
* @requiresAI
|
|
341
336
|
*
|
|
342
337
|
* Scans the content of AI requests and responses — system prompts, message
|
|
@@ -366,7 +361,7 @@ export declare function AIGatewayDlpInboundPolicy(
|
|
|
366
361
|
): Promise<ZuploRequest | Response>;
|
|
367
362
|
|
|
368
363
|
/**
|
|
369
|
-
* The options for the
|
|
364
|
+
* The options for the Data Loss Prevention (DLP) policy. Scans the content of AI requests and responses — system prompts, messages, and tool-call arguments — for sensitive data such as credit cards, national identifiers, and API keys, applying a per-rule action (mask, block, or log). Detection runs entirely inside the gateway and streaming responses are scanned as they stream.
|
|
370
365
|
* @public
|
|
371
366
|
*/
|
|
372
367
|
export declare interface AIGatewayDlpInboundPolicyOptions {
|
|
@@ -379,10 +374,6 @@ export declare interface AIGatewayDlpInboundPolicyOptions {
|
|
|
379
374
|
* Exact strings that are never flagged by any rule — documentation samples like Stripe's public test card `4242 4242 4242 4242`, or your own support email address. Matching is case-sensitive against the exact detected text, including when a value arrives split across streaming chunks.
|
|
380
375
|
*/
|
|
381
376
|
allowValues?: string[];
|
|
382
|
-
/**
|
|
383
|
-
* The replacement text for masked matches. The `{type}` token inserts the detected type id in UPPER_SNAKE form (for example `[CONTACT_EMAIL]`), which keeps masked conversations legible to the model. Individual rules can override this.
|
|
384
|
-
*/
|
|
385
|
-
mask?: string;
|
|
386
377
|
/**
|
|
387
378
|
* Default evidence level for rules that do not set their own. See the per-rule `detection` description for the level semantics. There are no numeric confidence thresholds to tune — levels are the whole dial.
|
|
388
379
|
*/
|
|
@@ -404,11 +395,10 @@ export declare interface AIGatewayDlpInboundPolicyOptions {
|
|
|
404
395
|
/**
|
|
405
396
|
* Adds failure and quota fallbacks to an existing AI Gateway model selection.
|
|
406
397
|
*
|
|
407
|
-
* Place this policy after AI Gateway Model Filtering
|
|
398
|
+
* Place this policy after AI Gateway Model Filtering. It never creates a
|
|
408
399
|
* model selection, so a misplaced policy cannot bypass filtering.
|
|
409
400
|
*
|
|
410
|
-
* @title AI Gateway Fallback Model
|
|
411
|
-
* @beta
|
|
401
|
+
* @title AI Gateway Fallback Model
|
|
412
402
|
* @product ai-gateway
|
|
413
403
|
* @requiresAI
|
|
414
404
|
* @param request - The ZuploRequest
|
|
@@ -607,7 +597,7 @@ export declare interface AIGatewayMeteringInboundPolicyOptions {
|
|
|
607
597
|
}
|
|
608
598
|
|
|
609
599
|
/**
|
|
610
|
-
* Meters AI Gateway
|
|
600
|
+
* Meters AI Gateway usage and enforces app and ancestor usage limits.
|
|
611
601
|
*
|
|
612
602
|
* Limits configured on parent teams or the bucket root are enforced through a
|
|
613
603
|
* server-side hierarchical check.
|
|
@@ -615,8 +605,7 @@ export declare interface AIGatewayMeteringInboundPolicyOptions {
|
|
|
615
605
|
* The authentication policy must run before this policy so the app
|
|
616
606
|
* configuration id is available for meter storage and analytics.
|
|
617
607
|
*
|
|
618
|
-
* @title AI Gateway Metering
|
|
619
|
-
* @beta
|
|
608
|
+
* @title AI Gateway Metering
|
|
620
609
|
* @product ai-gateway
|
|
621
610
|
* @requiresAI
|
|
622
611
|
* @param request - The ZuploRequest
|
|
@@ -688,7 +677,7 @@ export declare class AIGatewayMeteringV2InboundPolicy extends InboundPolicy<AIGa
|
|
|
688
677
|
}
|
|
689
678
|
|
|
690
679
|
/**
|
|
691
|
-
* Options for metering AI Gateway
|
|
680
|
+
* Options for metering AI Gateway usage and enforcing request-time limits.
|
|
692
681
|
* @public
|
|
693
682
|
*/
|
|
694
683
|
export declare interface AIGatewayMeteringV2InboundPolicyOptions {
|
|
@@ -739,8 +728,7 @@ declare interface AIGatewayMeteringV2WarningLimitOverride {
|
|
|
739
728
|
* Matches AI Gateway requests against curated allow lists or open block lists,
|
|
740
729
|
* then stores the winning model reference for the route handler.
|
|
741
730
|
*
|
|
742
|
-
* @title AI Gateway Model Filtering
|
|
743
|
-
* @beta
|
|
731
|
+
* @title AI Gateway Model Filtering
|
|
744
732
|
* @product ai-gateway
|
|
745
733
|
* @requiresAI
|
|
746
734
|
* @param request - The ZuploRequest
|
|
@@ -1024,10 +1012,9 @@ export declare function AIGatewaySemanticCacheOutboundPolicy(
|
|
|
1024
1012
|
export declare interface AIGatewaySemanticCacheOutboundPolicyOptions {}
|
|
1025
1013
|
|
|
1026
1014
|
/**
|
|
1027
|
-
* AI Gateway Semantic Cache policy
|
|
1028
|
-
*
|
|
1029
|
-
*
|
|
1030
|
-
* matching the firewall's single-policy shape (no separate outbound policy).
|
|
1015
|
+
* AI Gateway Semantic Cache policy. This inbound policy looks up the semantic
|
|
1016
|
+
* cache on entry and, on a miss, registers a response-sending hook to write the
|
|
1017
|
+
* upstream response back into the cache.
|
|
1031
1018
|
*
|
|
1032
1019
|
* Caching parameters (semanticTolerance, expirationSecondsTtl, namespace,
|
|
1033
1020
|
* recentMessageCount) come from the policy options, and presence in the
|
|
@@ -1041,13 +1028,12 @@ export declare interface AIGatewaySemanticCacheOutboundPolicyOptions {}
|
|
|
1041
1028
|
* Cache outcomes are reported on the response via the RFC 9211 `Cache-Status`
|
|
1042
1029
|
* header under the cache name `zp-aigw-sem-cache` (hit:
|
|
1043
1030
|
* `zp-aigw-sem-cache; hit; detail="similarity=0.93"`; miss:
|
|
1044
|
-
* `zp-aigw-sem-cache; fwd=miss; stored`)
|
|
1045
|
-
* `x-ai-gateway-cache: HIT|MISS` and `x-ai-gateway-cache-similarity` headers
|
|
1046
|
-
* kept for compatibility.
|
|
1031
|
+
* `zp-aigw-sem-cache; fwd=miss; stored`). Responses also include the
|
|
1032
|
+
* `x-ai-gateway-cache: HIT|MISS` and `x-ai-gateway-cache-similarity` headers.
|
|
1047
1033
|
*
|
|
1048
|
-
* @title AI Gateway Semantic Cache
|
|
1034
|
+
* @title AI Gateway Semantic Cache
|
|
1049
1035
|
* @product ai-gateway
|
|
1050
|
-
* @
|
|
1036
|
+
* @enterprise
|
|
1051
1037
|
* @requiresAI
|
|
1052
1038
|
* @param request - The ZuploRequest
|
|
1053
1039
|
* @param context - The ZuploContext
|
|
@@ -1063,7 +1049,7 @@ export declare function AIGatewaySemanticCacheV2InboundPolicy(
|
|
|
1063
1049
|
): Promise<Response | ZuploRequest<RequestGeneric>>;
|
|
1064
1050
|
|
|
1065
1051
|
/**
|
|
1066
|
-
* Options for the AI Gateway Semantic Cache
|
|
1052
|
+
* Options for the AI Gateway Semantic Cache policy. Configured inline in policies.json; the policy reads nothing from the AI Gateway configuration to decide whether to cache.
|
|
1067
1053
|
* @public
|
|
1068
1054
|
*/
|
|
1069
1055
|
export declare interface AIGatewaySemanticCacheV2InboundPolicyOptions {
|
|
@@ -1218,6 +1204,7 @@ export declare interface AiUsage {
|
|
|
1218
1204
|
* Akamai AI Firewall Inbound Policy
|
|
1219
1205
|
* @title Akamai AI Firewall
|
|
1220
1206
|
* @product ai-gateway
|
|
1207
|
+
* @hidden
|
|
1221
1208
|
* @requiresAI
|
|
1222
1209
|
*
|
|
1223
1210
|
* This policy integrates with Akamai's AI Firewall service to detect and block
|
|
@@ -1259,10 +1246,9 @@ export declare interface AkamaiAIFirewallPolicyOptions {
|
|
|
1259
1246
|
}
|
|
1260
1247
|
|
|
1261
1248
|
/**
|
|
1262
|
-
* Akamai AI Firewall Inbound Policy
|
|
1263
|
-
* @title Akamai AI Firewall
|
|
1249
|
+
* Akamai AI Firewall Inbound Policy
|
|
1250
|
+
* @title Akamai AI Firewall
|
|
1264
1251
|
* @product ai-gateway
|
|
1265
|
-
* @hidden
|
|
1266
1252
|
* @requiresAI
|
|
1267
1253
|
*
|
|
1268
1254
|
* Detects and blocks malicious AI inputs and outputs via Akamai's AI Firewall
|
|
@@ -3758,6 +3744,7 @@ export declare interface CognitoJwtInboundPolicyOptions {
|
|
|
3758
3744
|
* Comet Opik Tracing Inbound Policy
|
|
3759
3745
|
* @title Comet Opik Tracing
|
|
3760
3746
|
* @product ai-gateway
|
|
3747
|
+
* @hidden
|
|
3761
3748
|
*
|
|
3762
3749
|
* This policy automatically handles tracing for both streaming and non-streaming
|
|
3763
3750
|
* responses from AI Gateway. It creates traces when requests start and spans
|
|
@@ -3804,10 +3791,9 @@ export declare interface CometOpikTracingPolicyOptions {
|
|
|
3804
3791
|
}
|
|
3805
3792
|
|
|
3806
3793
|
/**
|
|
3807
|
-
* Comet Opik Tracing Inbound Policy
|
|
3808
|
-
* @title Comet Opik Tracing
|
|
3794
|
+
* Comet Opik Tracing Inbound Policy
|
|
3795
|
+
* @title Comet Opik Tracing
|
|
3809
3796
|
* @product ai-gateway
|
|
3810
|
-
* @hidden
|
|
3811
3797
|
* @requiresAI
|
|
3812
3798
|
*
|
|
3813
3799
|
* Traces both streaming and non-streaming AI Gateway responses to Comet Opik,
|
|
@@ -4871,19 +4857,23 @@ declare interface DlpCustomRule {
|
|
|
4871
4857
|
*/
|
|
4872
4858
|
context?: string[];
|
|
4873
4859
|
/**
|
|
4874
|
-
* What happens when this
|
|
4860
|
+
* What happens when this rule matches, in BOTH directions. `mask` replaces the matched text with a placeholder and the conversation continues; `block` rejects the request or terminates the response with an error naming only the rule's name (never the values); `log` records a finding and lets the traffic pass unchanged; `off` disables the rule. A rule states either `action` or the directional pair (`inboundAction`/`outboundAction`), never both.
|
|
4875
4861
|
*/
|
|
4876
|
-
action
|
|
4862
|
+
action?: "mask" | "block" | "log" | "off";
|
|
4877
4863
|
/**
|
|
4878
|
-
*
|
|
4864
|
+
* What happens when this rule matches in what callers send the model. Use with `outboundAction` to give the rule different behavior per direction. Omitting it (or `off`) leaves the inbound direction unscanned for this rule. Cannot be combined with `action`.
|
|
4879
4865
|
*/
|
|
4880
|
-
|
|
4866
|
+
inboundAction?: "mask" | "block" | "log" | "off";
|
|
4867
|
+
/**
|
|
4868
|
+
* What happens when this rule matches in what the model sends back. Omitting it (or `off`) leaves the outbound direction unscanned for this rule. Cannot be combined with `action`.
|
|
4869
|
+
*/
|
|
4870
|
+
outboundAction?: "mask" | "block" | "log" | "off";
|
|
4881
4871
|
/**
|
|
4882
4872
|
* How much evidence a match needs before this rule acts. `corroborated` additionally requires one of the type's context words near the match (types that define no context words behave as `standard`); `standard` uses the catalog as tuned — distinctive shapes act on their own while ambiguous shapes need nearby context; `aggressive` counts every pattern match and is false-positive-prone — pair it with the `log` action for audits. Overrides the policy-level `detection` for this rule.
|
|
4883
4873
|
*/
|
|
4884
4874
|
detection?: "corroborated" | "standard" | "aggressive";
|
|
4885
4875
|
/**
|
|
4886
|
-
* Replacement text for this rule
|
|
4876
|
+
* Replacement text for this rule's masked matches. The `{type}` token inserts the detected type id in UPPER_SNAKE form, so the default turns a matched email into `[CONTACT_EMAIL]` — typed placeholders keep masked conversations legible to the model. Set a literal like `[REDACTED]` to hide the type.
|
|
4887
4877
|
*/
|
|
4888
4878
|
mask?: string;
|
|
4889
4879
|
partialMask?: DlpPartialMask;
|
|
@@ -4898,26 +4888,30 @@ declare interface DlpPartialMask {
|
|
|
4898
4888
|
|
|
4899
4889
|
declare interface DlpRule {
|
|
4900
4890
|
/**
|
|
4901
|
-
* What happens when this type is found. `mask` replaces the matched text with a placeholder and the conversation continues; `block` rejects the request or terminates the response with an error naming only the detected types (never the values); `log` records a finding and lets the traffic pass unchanged — use it to trial a rule before enforcing it; `off` excludes this type from a group enabled by a broader key.
|
|
4891
|
+
* What happens when this type is found, in BOTH directions. `mask` replaces the matched text with a placeholder and the conversation continues; `block` rejects the request or terminates the response with an error naming only the detected types (never the values); `log` records a finding and lets the traffic pass unchanged — use it to trial a rule before enforcing it; `off` excludes this type from a group enabled by a broader key. A rule states either `action` or the directional pair (`inboundAction`/`outboundAction`), never both.
|
|
4892
|
+
*/
|
|
4893
|
+
action?: "mask" | "block" | "log" | "off";
|
|
4894
|
+
/**
|
|
4895
|
+
* What happens when this type is found in what callers send the model (system prompt, message text, and tool-call arguments). Use with `outboundAction` to give one type different behavior per direction — for example mask PII on the way in and block it on the way out. Omitting it (or `off`) leaves the inbound direction unscanned for this type. Cannot be combined with `action`.
|
|
4902
4896
|
*/
|
|
4903
|
-
|
|
4897
|
+
inboundAction?: "mask" | "block" | "log" | "off";
|
|
4904
4898
|
/**
|
|
4905
|
-
*
|
|
4899
|
+
* What happens when this type is found in what the model sends back (buffered responses whole, streaming responses as they stream). Omitting it (or `off`) leaves the outbound direction unscanned for this type. Cannot be combined with `action`.
|
|
4906
4900
|
*/
|
|
4907
|
-
|
|
4901
|
+
outboundAction?: "mask" | "block" | "log" | "off";
|
|
4908
4902
|
/**
|
|
4909
4903
|
* How much evidence a match needs before this rule acts. `corroborated` additionally requires one of the type's context words near the match (types that define no context words behave as `standard`); `standard` uses the catalog as tuned — distinctive shapes act on their own while ambiguous shapes need nearby context; `aggressive` counts every pattern match and is false-positive-prone — pair it with the `log` action for audits. Overrides the policy-level `detection` for this rule.
|
|
4910
4904
|
*/
|
|
4911
4905
|
detection?: "corroborated" | "standard" | "aggressive";
|
|
4912
4906
|
/**
|
|
4913
|
-
* Replacement text for this rule
|
|
4907
|
+
* Replacement text for this rule's masked matches. The `{type}` token inserts the detected type id in UPPER_SNAKE form, so the default turns a matched email into `[CONTACT_EMAIL]` — typed placeholders keep masked conversations legible to the model. Set a literal like `[REDACTED]` to hide the type.
|
|
4914
4908
|
*/
|
|
4915
4909
|
mask?: string;
|
|
4916
4910
|
partialMask?: DlpPartialMask;
|
|
4917
4911
|
}
|
|
4918
4912
|
|
|
4919
4913
|
/**
|
|
4920
|
-
* What to find and what to do about it. Each key is a built-in data type id (like `id-us-ssn`) or a group selector (like `pii` or `secret`, plus any dash-aligned id prefix such as `secret-aws`); each value is a rule object
|
|
4914
|
+
* What to find and what to do about it. Each key is a built-in data type id (like `id-us-ssn`) or a group selector (like `pii` or `secret`, plus any dash-aligned id prefix such as `secret-aws`); each value is a rule object stating either one `action` for both directions or a directional pair (`inboundAction`/`outboundAction`) — for example mask PII inbound and block it outbound. Types you do not mention are not scanned. The most specific key wins — an exact id beats a prefix beats a group — and the winning entry decides everything for its type. When one stretch of text matches multiple rules, the severest action wins (block > mask > log). At least one rule must scan something.
|
|
4921
4915
|
* @public
|
|
4922
4916
|
*/
|
|
4923
4917
|
declare interface DlpRules {
|
|
@@ -5235,7 +5229,7 @@ declare interface FallbackModels {
|
|
|
5235
5229
|
}
|
|
5236
5230
|
|
|
5237
5231
|
/**
|
|
5238
|
-
* How long
|
|
5232
|
+
* How long to wait for primary-model response headers before attempting the failure fallback. The timeout does not bound a streaming response body after its headers arrive.
|
|
5239
5233
|
* @public
|
|
5240
5234
|
*/
|
|
5241
5235
|
declare type FallbackTimeoutSeconds = number;
|
|
@@ -5354,6 +5348,7 @@ declare interface FunctionTool {
|
|
|
5354
5348
|
* Galileo Tracing Inbound Policy
|
|
5355
5349
|
* @title Galileo Tracing
|
|
5356
5350
|
* @product ai-gateway
|
|
5351
|
+
* @hidden
|
|
5357
5352
|
*
|
|
5358
5353
|
* This policy automatically handles tracing for both streaming and non-streaming
|
|
5359
5354
|
* responses from AI Gateway. It creates complete traces with workflow and LLM spans
|
|
@@ -5400,10 +5395,9 @@ export declare interface GalileoTracingPolicyOptions {
|
|
|
5400
5395
|
}
|
|
5401
5396
|
|
|
5402
5397
|
/**
|
|
5403
|
-
* Galileo Tracing Inbound Policy
|
|
5404
|
-
* @title Galileo Tracing
|
|
5398
|
+
* Galileo Tracing Inbound Policy
|
|
5399
|
+
* @title Galileo Tracing
|
|
5405
5400
|
* @product ai-gateway
|
|
5406
|
-
* @hidden
|
|
5407
5401
|
* @requiresAI
|
|
5408
5402
|
*
|
|
5409
5403
|
* Traces both streaming and non-streaming AI Gateway responses to Galileo's LLM
|
|
@@ -13577,6 +13571,7 @@ export declare interface SecretMaskingOutboundPolicyOptions {
|
|
|
13577
13571
|
* @public
|
|
13578
13572
|
* @enterprise
|
|
13579
13573
|
* @requiresAI
|
|
13574
|
+
* @deprecated Use {@link https://zuplo.com/docs/policies/ai-gateway-semantic-cache-v2-inbound|AI Gateway Semantic Cache} instead.
|
|
13580
13575
|
* @param request - The ZuploRequest
|
|
13581
13576
|
* @param context - The ZuploContext
|
|
13582
13577
|
* @param options - The policy options set in policies.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zuplo/cli",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
4
4
|
"repository": "https://github.com/zuplo/zuplo",
|
|
5
5
|
"author": "Zuplo, Inc.",
|
|
6
6
|
"type": "module",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@opentelemetry/api": "1.9.0",
|
|
29
29
|
"@opentelemetry/api-logs": "0.220.0",
|
|
30
30
|
"@swc/core": "1.10.18",
|
|
31
|
-
"@zuplo/core": "7.2.
|
|
31
|
+
"@zuplo/core": "7.2.2",
|
|
32
32
|
"@zuplo/editor": "1.0.31094607111",
|
|
33
|
-
"@zuplo/openapi-tools": "7.2.
|
|
34
|
-
"@zuplo/runtime": "7.2.
|
|
33
|
+
"@zuplo/openapi-tools": "7.2.2",
|
|
34
|
+
"@zuplo/runtime": "7.2.2",
|
|
35
35
|
"chalk": "5.4.1",
|
|
36
36
|
"chokidar": "3.5.3",
|
|
37
37
|
"cookie": "1.0.2",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"workerd": "1.20241230.0",
|
|
63
63
|
"yargs": "17.7.2",
|
|
64
64
|
"zod": "4.4.3",
|
|
65
|
-
"@zuplo/graphql": "7.2.
|
|
66
|
-
"@zuplo/otel": "7.2.
|
|
65
|
+
"@zuplo/graphql": "7.2.2",
|
|
66
|
+
"@zuplo/otel": "7.2.2"
|
|
67
67
|
},
|
|
68
68
|
"bundleDependencies": [
|
|
69
69
|
"@inquirer/prompts",
|