zuplo 7.8.23 → 7.8.25
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/docs/ai-gateway/azure-ai.mdx +6 -6
- package/docs/ai-gateway/bedrock-mantle.mdx +4 -4
- package/docs/ai-gateway/bedrock-runtime.mdx +9 -9
- package/docs/ai-gateway/integrations/ai-sdk.mdx +2 -2
- package/docs/ai-gateway/integrations/claude-code.mdx +3 -3
- package/docs/ai-gateway/integrations/claude-desktop.mdx +2 -2
- package/docs/ai-gateway/integrations/codex.mdx +4 -4
- package/docs/ai-gateway/integrations/github-copilot.mdx +4 -4
- package/docs/ai-gateway/integrations/goose.mdx +3 -3
- package/docs/ai-gateway/integrations/langchain.mdx +3 -3
- package/docs/ai-gateway/integrations/openai.mdx +3 -3
- package/docs/ai-gateway/universal-api.mdx +3 -3
- package/docs/ai-gateway/usage-limits.mdx +1 -1
- package/docs/ai-gateway/vertex-ai.mdx +1 -1
- package/docs/dedicated/akamai/ai-powered-applications.mdx +3 -3
- package/docs/policies/_index.md +11 -10
- package/docs/policies/{akamai-ai-firewall-v2-inbound → ai-gateway-akamai-firewall-inbound}/doc.md +2 -2
- package/docs/policies/{akamai-ai-firewall-v2-inbound → ai-gateway-akamai-firewall-inbound}/schema.json +5 -6
- package/docs/policies/{ai-gateway-auth-v2-inbound → ai-gateway-auth-inbound}/doc.md +4 -4
- package/docs/policies/{ai-gateway-auth-v2-inbound → ai-gateway-auth-inbound}/schema.json +5 -6
- package/docs/policies/{ai-gateway-configuration-executor-v2-inbound → ai-gateway-configuration-executor-inbound}/doc.md +16 -16
- package/docs/policies/{ai-gateway-configuration-executor-v2-inbound → ai-gateway-configuration-executor-inbound}/schema.json +5 -6
- package/docs/policies/{ai-gateway-configuration-loader-v2-inbound → ai-gateway-configuration-loader-inbound}/doc.md +4 -4
- package/docs/policies/{ai-gateway-configuration-loader-v2-inbound → ai-gateway-configuration-loader-inbound}/schema.json +5 -6
- package/docs/policies/ai-gateway-dlp-inbound/schema.json +0 -1
- package/docs/policies/{ai-gateway-fallback-model-v2-inbound → ai-gateway-fallback-model-inbound}/doc.md +2 -2
- package/docs/policies/{ai-gateway-fallback-model-v2-inbound → ai-gateway-fallback-model-inbound}/schema.json +5 -6
- package/docs/policies/{galileo-tracing-v2-inbound → ai-gateway-galileo-tracing-inbound}/doc.md +2 -2
- package/docs/policies/{galileo-tracing-v2-inbound → ai-gateway-galileo-tracing-inbound}/schema.json +5 -6
- package/docs/policies/ai-gateway-internal-only-inbound/schema.json +0 -1
- package/docs/policies/{ai-gateway-metering-v2-inbound → ai-gateway-metering-inbound}/schema.json +5 -6
- package/docs/policies/{ai-gateway-model-filtering-v2-inbound → ai-gateway-model-filtering-inbound}/doc.md +6 -4
- package/docs/policies/{ai-gateway-model-filtering-v2-inbound → ai-gateway-model-filtering-inbound}/schema.json +5 -6
- package/docs/policies/ai-gateway-model-override-inbound/doc.md +154 -0
- package/docs/policies/ai-gateway-model-override-inbound/intro.md +5 -0
- package/docs/policies/ai-gateway-model-override-inbound/schema.json +126 -0
- package/docs/policies/{comet-opik-tracing-v2-inbound → ai-gateway-opik-tracing-inbound}/doc.md +2 -2
- package/docs/policies/{comet-opik-tracing-v2-inbound → ai-gateway-opik-tracing-inbound}/schema.json +5 -6
- package/docs/policies/{ai-gateway-semantic-cache-v2-inbound → ai-gateway-semantic-cache-inbound}/schema.json +4 -5
- package/docs/policies/ai-gateway-smart-router-inbound/doc.md +2 -2
- package/docs/policies/ai-gateway-smart-router-inbound/schema.json +0 -1
- package/package.json +5 -5
- /package/docs/policies/{akamai-ai-firewall-v2-inbound → ai-gateway-akamai-firewall-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-auth-v2-inbound → ai-gateway-auth-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-configuration-executor-v2-inbound → ai-gateway-configuration-executor-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-configuration-loader-v2-inbound → ai-gateway-configuration-loader-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-fallback-model-v2-inbound → ai-gateway-fallback-model-inbound}/intro.md +0 -0
- /package/docs/policies/{galileo-tracing-v2-inbound → ai-gateway-galileo-tracing-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-metering-v2-inbound → ai-gateway-metering-inbound}/doc.md +0 -0
- /package/docs/policies/{ai-gateway-metering-v2-inbound → ai-gateway-metering-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-model-filtering-v2-inbound → ai-gateway-model-filtering-inbound}/intro.md +0 -0
- /package/docs/policies/{comet-opik-tracing-v2-inbound → ai-gateway-opik-tracing-inbound}/intro.md +0 -0
- /package/docs/policies/{ai-gateway-semantic-cache-v2-inbound → ai-gateway-semantic-cache-inbound}/doc.md +0 -0
- /package/docs/policies/{ai-gateway-semantic-cache-v2-inbound → ai-gateway-semantic-cache-inbound}/intro.md +0 -0
package/docs/policies/{comet-opik-tracing-v2-inbound → ai-gateway-opik-tracing-inbound}/schema.json
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "https://cdn.zuplo.com/policies/runtime/schemas/
|
|
3
|
+
"$id": "https://cdn.zuplo.com/policies/runtime/schemas/ai-gateway-opik-tracing-inbound.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "Comet Opik Tracing",
|
|
6
6
|
"isDeprecated": false,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"isBeta": false,
|
|
11
11
|
"isHidden": false,
|
|
12
12
|
"requiresAI": true,
|
|
13
|
-
"policyType": "
|
|
13
|
+
"policyType": "ai-gateway-opik-tracing",
|
|
14
14
|
"products": ["ai-gateway"],
|
|
15
15
|
"description": "Comet Opik Tracing Inbound Policy",
|
|
16
16
|
"deprecatedMessage": "",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"required": ["export", "module", "options"],
|
|
23
23
|
"properties": {
|
|
24
24
|
"export": {
|
|
25
|
-
"const": "
|
|
25
|
+
"const": "AIGatewayOpikTracingInboundPolicy",
|
|
26
26
|
"description": "The name of the exported type"
|
|
27
27
|
},
|
|
28
28
|
"module": {
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
"description": "The module containing the policy"
|
|
31
31
|
},
|
|
32
32
|
"options": {
|
|
33
|
-
"
|
|
34
|
-
"title": "Comet Opik Tracing",
|
|
33
|
+
"title": "AIGatewayOpikTracingInboundPolicyOptions",
|
|
35
34
|
"description": "Track AI Gateway requests and responses using Comet Opik's LLM observability platform.",
|
|
36
35
|
"type": "object",
|
|
37
36
|
"examples": [
|
|
@@ -88,7 +87,7 @@
|
|
|
88
87
|
},
|
|
89
88
|
"examples": [
|
|
90
89
|
{
|
|
91
|
-
"export": "
|
|
90
|
+
"export": "AIGatewayOpikTracingInboundPolicy",
|
|
92
91
|
"module": "$import(@zuplo/runtime)",
|
|
93
92
|
"options": {
|
|
94
93
|
"apiKey": "$env(COMET_OPIK_API_KEY)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "https://cdn.zuplo.com/policies/runtime/schemas/ai-gateway-semantic-cache-
|
|
3
|
+
"$id": "https://cdn.zuplo.com/policies/runtime/schemas/ai-gateway-semantic-cache-inbound.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"title": "AI Gateway Semantic Cache",
|
|
6
6
|
"isDeprecated": false,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"isBeta": false,
|
|
11
11
|
"isHidden": false,
|
|
12
12
|
"requiresAI": true,
|
|
13
|
-
"policyType": "ai-gateway-semantic-cache
|
|
13
|
+
"policyType": "ai-gateway-semantic-cache",
|
|
14
14
|
"products": ["ai-gateway"],
|
|
15
15
|
"description": "AI Gateway Semantic Cache policy. This inbound policy looks up the semantic cache on entry and, on a miss, registers a response-sending hook to write the upstream response back into the cache.\n\nCaching parameters (semanticTolerance, expirationSecondsTtl, namespace, recentMessageCount) come from the policy options, and presence in the route's chain is what enables it. An id from the authenticated app configuration always provides the cache namespace so application-supplied options cannot cross tenant partitions. The cache key covers the system prompt plus the last `recentMessageCount` messages (default 1) — applied when storing and when matching — so multi-turn conversations can hit entries cached from earlier, shorter ones.\n\nCache outcomes are reported on the response via the RFC 9211 `Cache-Status` header under the cache name `zp-aigw-sem-cache` (hit: `zp-aigw-sem-cache; hit; detail=\"similarity=0.93\"`; miss: `zp-aigw-sem-cache; fwd=miss; stored`). Responses also include the `x-ai-gateway-cache: HIT|MISS` and `x-ai-gateway-cache-similarity` headers.",
|
|
16
16
|
"deprecatedMessage": "",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"required": ["export", "module", "options"],
|
|
23
23
|
"properties": {
|
|
24
24
|
"export": {
|
|
25
|
-
"const": "
|
|
25
|
+
"const": "AIGatewaySemanticCacheInboundPolicy",
|
|
26
26
|
"description": "The name of the exported type"
|
|
27
27
|
},
|
|
28
28
|
"module": {
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"description": "The module containing the policy"
|
|
31
31
|
},
|
|
32
32
|
"options": {
|
|
33
|
-
"x-zuplo-policy-type": "ai-gateway-semantic-cache-v2",
|
|
34
33
|
"type": "object",
|
|
35
34
|
"title": "AIGatewaySemanticCacheInboundPolicyOptions",
|
|
36
35
|
"description": "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.",
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
},
|
|
107
106
|
"examples": [
|
|
108
107
|
{
|
|
109
|
-
"export": "
|
|
108
|
+
"export": "AIGatewaySemanticCacheInboundPolicy",
|
|
110
109
|
"module": "$import(@zuplo/runtime)",
|
|
111
110
|
"options": {
|
|
112
111
|
"semanticTolerance": 0.2,
|
|
@@ -53,8 +53,8 @@ within one app, or between two — is never mistaken for smart routing that is
|
|
|
53
53
|
simply doing nothing.
|
|
54
54
|
|
|
55
55
|
The classifier application must not run
|
|
56
|
-
[Akamai AI Firewall](/docs/policies/akamai-
|
|
57
|
-
firewall would inspect the internal classification call as if it were a
|
|
56
|
+
[Akamai AI Firewall](/docs/policies/ai-gateway-akamai-firewall-inbound) either.
|
|
57
|
+
That firewall would inspect the internal classification call as if it were a
|
|
58
58
|
completion request — scanning the classifier's system prompt and JSON-only
|
|
59
59
|
response for injection/malicious-content patterns — and a resulting denial makes
|
|
60
60
|
Smart Router fail open, indistinguishable from smart routing quietly doing
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"description": "The module containing the policy"
|
|
31
31
|
},
|
|
32
32
|
"options": {
|
|
33
|
-
"x-zuplo-policy-type": "ai-gateway-smart-router",
|
|
34
33
|
"type": "object",
|
|
35
34
|
"title": "AIGatewaySmartRouterInboundPolicyOptions",
|
|
36
35
|
"description": "Options for the Smart Router policy: classify the last user prompt with a dedicated classifier AI Gateway app, then optionally route by complexity.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zuplo",
|
|
3
|
-
"version": "7.8.
|
|
3
|
+
"version": "7.8.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The official Zuplo CLI for local development and platform management",
|
|
6
6
|
"homepage": "https://zuplo.com/docs/cli/overview",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"zuplo": "zuplo.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zuplo/cli": "7.8.
|
|
36
|
-
"@zuplo/core": "7.8.
|
|
37
|
-
"@zuplo/runtime": "7.8.
|
|
38
|
-
"@zuplo/test": "7.8.
|
|
35
|
+
"@zuplo/cli": "7.8.25",
|
|
36
|
+
"@zuplo/core": "7.8.25",
|
|
37
|
+
"@zuplo/runtime": "7.8.25",
|
|
38
|
+
"@zuplo/test": "7.8.25"
|
|
39
39
|
}
|
|
40
40
|
}
|
/package/docs/policies/{akamai-ai-firewall-v2-inbound → ai-gateway-akamai-firewall-inbound}/intro.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/docs/policies/{galileo-tracing-v2-inbound → ai-gateway-galileo-tracing-inbound}/intro.md
RENAMED
|
File without changes
|
/package/docs/policies/{ai-gateway-metering-v2-inbound → ai-gateway-metering-inbound}/doc.md
RENAMED
|
File without changes
|
/package/docs/policies/{ai-gateway-metering-v2-inbound → ai-gateway-metering-inbound}/intro.md
RENAMED
|
File without changes
|
|
File without changes
|
/package/docs/policies/{comet-opik-tracing-v2-inbound → ai-gateway-opik-tracing-inbound}/intro.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|