@zuplo/cli 7.1.0 → 7.1.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.
@@ -1,9 +1,7 @@
1
1
  import { Attributes } from "@opentelemetry/api";
2
2
  import type { CallToolRequest } from "@modelcontextprotocol/server";
3
3
  import type { CallToolResult } from "@modelcontextprotocol/server";
4
- import { InboundPolicyHandler as InboundPolicyHandler_2 } from "../../policies.js";
5
4
  import { KeyLike } from "jose";
6
- import { RequestGeneric as RequestGeneric_2 } from "../../request.js";
7
5
  import type { ValidateFunction } from "ajv";
8
6
 
9
7
  /**
@@ -120,7 +118,7 @@ export declare function AIGatewayAuthInboundPolicy(
120
118
  context: ZuploContext,
121
119
  unparsedOptions: AIGatewayAuthInboundPolicyOptions,
122
120
  policyName: string
123
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
121
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
124
122
 
125
123
  /**
126
124
  * The options for this policy.
@@ -155,7 +153,7 @@ export declare interface AIGatewayAuthInboundPolicyOptions {
155
153
  * default `Authorization: Bearer` header.
156
154
  *
157
155
  * When the matched route captures an `app_id` path parameter (platform catch-all
158
- * `/:app_id/v1/(.*)`), this policy also requires
156
+ * `/:app_id/(.*)`), this policy also requires
159
157
  * `configuration.id === request.params.app_id` and returns 403 on mismatch.
160
158
  *
161
159
  * @title AI Gateway Authentication (v2)
@@ -207,7 +205,7 @@ export declare function AIGatewayAuthV2InboundPolicy(
207
205
  context: ZuploContext,
208
206
  unparsedOptions: AIGatewayAuthV2InboundPolicyOptions,
209
207
  policyName: string
210
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
208
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
211
209
 
212
210
  /**
213
211
  * The options for this policy.
@@ -447,7 +445,7 @@ export declare class AIGatewayMeteringInboundPolicy extends InboundPolicy<AIGate
447
445
  handler(
448
446
  request: ZuploRequest,
449
447
  context: ZuploContext
450
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
448
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
451
449
  private fetchCurrentMeters;
452
450
  /**
453
451
  * The capability a request targets, derived from its path, or `undefined` for
@@ -874,7 +872,7 @@ export declare function AIGatewaySemanticCacheInboundPolicy(
874
872
  context: ZuploContext,
875
873
  options: AIGatewaySemanticCacheInboundPolicyOptions,
876
874
  policyName: string
877
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
875
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
878
876
 
879
877
  /**
880
878
  * Options for the AI Gateway Semantic Cache policy.
@@ -945,7 +943,7 @@ export declare function AIGatewaySemanticCacheV2InboundPolicy(
945
943
  context: ZuploContext,
946
944
  options: AIGatewaySemanticCacheV2InboundPolicyOptions,
947
945
  policyName: string
948
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
946
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
949
947
 
950
948
  /**
951
949
  * Options for the AI Gateway Semantic Cache (v2) policy. Configured inline in policies.json; the policy reads nothing from the AI Gateway configuration to decide whether to cache.
@@ -1405,7 +1403,7 @@ export declare function AmberfloMeteringInboundPolicy(
1405
1403
  context: ZuploContext,
1406
1404
  options: AmberfloMeteringInboundPolicyOptions,
1407
1405
  policyName: string
1408
- ): Promise<ZuploRequest<RequestGeneric_2>>;
1406
+ ): Promise<ZuploRequest<RequestGeneric>>;
1409
1407
 
1410
1408
  /**
1411
1409
  * The options for this policy. Many of them can be overridden at the code level in a request using the `AmberfloMeteringPolicy.setRequestProperties` method.
@@ -1707,7 +1705,7 @@ export declare function ApiKeyInboundPolicy(
1707
1705
  context: ZuploContext,
1708
1706
  unparsedOptions: ApiKeyInboundPolicyOptions | undefined,
1709
1707
  policyName: string
1710
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
1708
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
1711
1709
 
1712
1710
  /**
1713
1711
  * The options for this policy.
@@ -3044,7 +3042,7 @@ export declare function CachingInboundPolicy(
3044
3042
  context: ZuploContext,
3045
3043
  options: CachingInboundPolicyOptions,
3046
3044
  policyName: string
3047
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
3045
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
3048
3046
 
3049
3047
  /**
3050
3048
  * The options for this policy.
@@ -3869,7 +3867,7 @@ export declare class ComplexRateLimitInboundPolicy extends InboundPolicy<Complex
3869
3867
  handler(
3870
3868
  request: ZuploRequest,
3871
3869
  context: ZuploContext
3872
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
3870
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
3873
3871
  }
3874
3872
 
3875
3873
  /**
@@ -10046,7 +10044,7 @@ export declare function MoesifInboundPolicy(
10046
10044
  context: ZuploContext,
10047
10045
  passedOptions: MoesifInboundPolicyOptions,
10048
10046
  policyName: string
10049
- ): Promise<ZuploRequest<RequestGeneric_2>>;
10047
+ ): Promise<ZuploRequest<RequestGeneric>>;
10050
10048
 
10051
10049
  /**
10052
10050
  * The options for this policy. Many of them can be overridden at the code level in a request using the `AmberfloMeteringPolicy.setRequestProperties` method.
@@ -11168,8 +11166,7 @@ declare namespace OpenAPIV3_1 {
11168
11166
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
11169
11167
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
11170
11168
  type TagObject = OpenAPIV3.TagObject;
11171
- {
11172
- }
11169
+ export {};
11173
11170
  }
11174
11171
 
11175
11172
  /**
@@ -12275,7 +12272,7 @@ export declare function ReadmeMetricsInboundPolicy(
12275
12272
  context: ZuploContext,
12276
12273
  options: ReadmeMeteringInboundPolicyOptions,
12277
12274
  policyName: string
12278
- ): Promise<ZuploRequest<RequestGeneric_2>>;
12275
+ ): Promise<ZuploRequest<RequestGeneric>>;
12279
12276
 
12280
12277
  /**
12281
12278
  * Record the GraphQL response-cache outcome for the in-flight operation so
@@ -13247,7 +13244,7 @@ export declare function SemanticCacheInboundPolicy(
13247
13244
  context: ZuploContext,
13248
13245
  options: SemanticCacheInboundPolicyOptions,
13249
13246
  policyName: string
13250
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
13247
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
13251
13248
 
13252
13249
  /**
13253
13250
  * The options for this policy.
@@ -13359,7 +13356,7 @@ export declare interface SetBodyInboundPolicyOptions {
13359
13356
  * @param policyName - The name of the policy as set in policies.json
13360
13357
  * @returns A Request or a Response
13361
13358
  */
13362
- export declare const SetHeadersInboundPolicy: InboundPolicyHandler_2<SetHeadersInboundPolicyOptions>;
13359
+ export declare const SetHeadersInboundPolicy: InboundPolicyHandler<SetHeadersInboundPolicyOptions>;
13363
13360
 
13364
13361
  /**
13365
13362
  * The options for this policy.
@@ -13759,7 +13756,7 @@ export declare class StripeWebhookVerificationInboundPolicy extends InboundPolic
13759
13756
  handler(
13760
13757
  request: ZuploRequest,
13761
13758
  context: ZuploContext
13762
- ): Promise<Response | ZuploRequest<RequestGeneric_2>>;
13759
+ ): Promise<Response | ZuploRequest<RequestGeneric>>;
13763
13760
  }
13764
13761
 
13765
13762
  /**
@@ -1551,8 +1551,7 @@ declare namespace OpenAPIV3_1 {
1551
1551
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
1552
1552
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
1553
1553
  type TagObject = OpenAPIV3.TagObject;
1554
- {
1555
- }
1554
+ export {};
1556
1555
  }
1557
1556
 
1558
1557
  /**
@@ -2031,8 +2031,7 @@ declare namespace OpenAPIV3_1 {
2031
2031
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
2032
2032
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
2033
2033
  type TagObject = OpenAPIV3.TagObject;
2034
- {
2035
- }
2034
+ export {};
2036
2035
  }
2037
2036
 
2038
2037
  /**
@@ -3692,8 +3692,7 @@ declare namespace OpenAPIV3_1 {
3692
3692
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
3693
3693
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
3694
3694
  type TagObject = OpenAPIV3.TagObject;
3695
- {
3696
- }
3695
+ export {};
3697
3696
  }
3698
3697
 
3699
3698
  /**
@@ -1499,8 +1499,7 @@ declare namespace OpenAPIV3_1 {
1499
1499
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
1500
1500
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
1501
1501
  type TagObject = OpenAPIV3.TagObject;
1502
- {
1503
- }
1502
+ export {};
1504
1503
  }
1505
1504
 
1506
1505
  /**
@@ -1821,8 +1821,7 @@ declare namespace OpenAPIV3_1 {
1821
1821
  type OAuth2SecurityScheme = OpenAPIV3.OAuth2SecurityScheme;
1822
1822
  type OpenIdSecurityScheme = OpenAPIV3.OpenIdSecurityScheme;
1823
1823
  type TagObject = OpenAPIV3.TagObject;
1824
- {
1825
- }
1824
+ export {};
1826
1825
  }
1827
1826
 
1828
1827
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "7.1.0",
4
+ "version": "7.1.2",
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": "7.1.0",
3
+ "version": "7.1.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.1.0",
31
+ "@zuplo/core": "7.1.2",
32
32
  "@zuplo/editor": "1.0.30996641385",
33
- "@zuplo/openapi-tools": "7.1.0",
34
- "@zuplo/runtime": "7.1.0",
33
+ "@zuplo/openapi-tools": "7.1.2",
34
+ "@zuplo/runtime": "7.1.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.1.0",
66
- "@zuplo/otel": "7.1.0"
65
+ "@zuplo/graphql": "7.1.2",
66
+ "@zuplo/otel": "7.1.2"
67
67
  },
68
68
  "bundleDependencies": [
69
69
  "@inquirer/prompts",