ebay-mcp 1.13.2 → 1.14.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.
Files changed (169) hide show
  1. package/README.de.md +3 -3
  2. package/README.es.md +3 -3
  3. package/README.fr.md +3 -3
  4. package/README.ja.md +3 -3
  5. package/README.ko.md +3 -3
  6. package/README.md +163 -41
  7. package/README.pt-BR.md +3 -3
  8. package/README.ru.md +3 -3
  9. package/README.zh-CN.md +3 -3
  10. package/build/api/account-management/account.js +633 -297
  11. package/build/api/analytics-and-report/analytics.js +111 -65
  12. package/build/api/client.js +199 -140
  13. package/build/api/clientRequestError.js +23 -0
  14. package/build/api/clientTrading.js +213 -0
  15. package/build/api/clientTradingError.js +4 -0
  16. package/build/api/communication/feedback.js +147 -59
  17. package/build/api/communication/message.js +134 -81
  18. package/build/api/communication/negotiation.js +65 -53
  19. package/build/api/communication/notification.js +458 -164
  20. package/build/api/developer/developer.js +99 -45
  21. package/build/api/index.js +23 -8
  22. package/build/api/listing-management/inventory.js +884 -338
  23. package/build/api/listing-metadata/metadata.js +416 -170
  24. package/build/api/listing-metadata/taxonomy.js +187 -42
  25. package/build/api/marketing-and-promotions/marketing.js +1392 -598
  26. package/build/api/marketing-and-promotions/recommendation.js +49 -24
  27. package/build/api/order-management/dispute.js +226 -45
  28. package/build/api/order-management/fulfillment.js +144 -71
  29. package/build/api/order-management/orderIssueHelpers.js +61 -0
  30. package/build/api/other/compliance.js +50 -38
  31. package/build/api/other/edelivery.js +603 -159
  32. package/build/api/other/finding.js +280 -0
  33. package/build/api/other/identity.js +30 -15
  34. package/build/api/other/translation.js +29 -14
  35. package/build/api/other/vero.js +113 -27
  36. package/build/api/rateLimitTracker.js +55 -0
  37. package/build/api/shared/request.js +189 -98
  38. package/build/api/trading/trading.js +154 -87
  39. package/build/auth/credentialSession.js +250 -0
  40. package/build/auth/oauth.js +298 -171
  41. package/build/auth/{oauth-metadata.js → oauthMetadata.js} +22 -6
  42. package/build/auth/oauthMiddleware.js +104 -0
  43. package/build/auth/{scope-utils.js → scopeUtils.js} +101 -28
  44. package/build/auth/tokenVerifier.js +243 -0
  45. package/build/auth/tokenVerifierError.js +21 -0
  46. package/build/config/environment.js +148 -113
  47. package/build/config/{tool-families.js → toolFamilies.js} +30 -14
  48. package/build/index.js +25 -19
  49. package/build/mcp/{http-transport.js → httpTransport.js} +102 -52
  50. package/build/mcp/readOnlyFilter.js +67 -0
  51. package/build/mcp/runtime.js +31 -13
  52. package/build/mcp/{tool-gating.js → toolGating.js} +77 -49
  53. package/build/mcp/{ui-bridge.js → uiBridge.js} +80 -23
  54. package/build/schemas/account-management/account.js +144 -6
  55. package/build/schemas/analytics/analytics.js +33 -19
  56. package/build/schemas/communication/messages.js +12 -42
  57. package/build/schemas/developer/developer.js +135 -0
  58. package/build/schemas/fulfillment/orders.js +183 -21
  59. package/build/schemas/index.js +27 -19
  60. package/build/schemas/inventory-management/inventory.js +17 -9
  61. package/build/schemas/marketing/marketing.js +480 -25
  62. package/build/schemas/metadata/metadata.js +11 -6
  63. package/build/schemas/other/finding.js +27 -0
  64. package/build/schemas/other/otherApis.js +424 -0
  65. package/build/schemas/taxonomy/taxonomy.js +11 -5
  66. package/build/scripts/{auto-setup.js → autoSetup.js} +87 -74
  67. package/build/scripts/{build-ui.js → buildUi.js} +6 -1
  68. package/build/scripts/{dev-sync.js → devSync.js} +169 -110
  69. package/build/scripts/diagnostics.js +52 -44
  70. package/build/scripts/{download-specs.js → downloadSpecs.js} +29 -21
  71. package/build/scripts/{interactive-setup.js → interactiveSetup.js} +84 -78
  72. package/build/scripts/setup.js +241 -178
  73. package/build/scripts/{setup-shared.js → setupShared.js} +29 -7
  74. package/build/scripts/skills.js +35 -27
  75. package/build/scripts/updateApiStatusDoc.js +71 -0
  76. package/build/serverHttp.js +90 -0
  77. package/build/skills/content.js +124 -118
  78. package/build/skills/index.js +22 -10
  79. package/build/skills/install.js +21 -10
  80. package/build/skills/markers.js +50 -15
  81. package/build/skills/{registry-snapshot.js → registrySnapshot.js} +8 -2
  82. package/build/skills/render.js +41 -14
  83. package/build/skills/targets.js +49 -17
  84. package/build/tools/categories/account.js +166 -264
  85. package/build/tools/categories/analytics.js +11 -22
  86. package/build/tools/categories/browse.js +17 -0
  87. package/build/tools/categories/communication.js +124 -399
  88. package/build/tools/categories/connector.js +23 -20
  89. package/build/tools/categories/developer.js +46 -159
  90. package/build/tools/categories/fulfillment.js +84 -215
  91. package/build/tools/categories/index.js +6 -14
  92. package/build/tools/categories/inventory.js +238 -293
  93. package/build/tools/categories/marketing.js +677 -39
  94. package/build/tools/categories/metadata.js +190 -117
  95. package/build/tools/categories/other.js +81 -208
  96. package/build/tools/categories/taxonomy.js +29 -20
  97. package/build/tools/categories/{token-management.js → tokenManagement.js} +187 -192
  98. package/build/tools/categories/trading.js +16 -47
  99. package/build/tools/contracts.js +34 -24
  100. package/build/tools/{define-tool.js → defineTool.js} +44 -29
  101. package/build/tools/registry.js +87 -29
  102. package/build/tools/schemas.js +3 -57
  103. package/build/tools/ui/archetypes.js +1 -0
  104. package/build/tools/ui/{map-helpers.js → mapHelpers.js} +69 -19
  105. package/build/tools/ui/maps.js +294 -80
  106. package/build/types/index.js +1 -1
  107. package/build/ui/card.html +14 -14
  108. package/build/ui/chart.html +14 -14
  109. package/build/ui/stat.html +87 -0
  110. package/build/ui/table.html +14 -14
  111. package/build/utils/apiStatusFeed.js +95 -0
  112. package/build/utils/cliOutput.js +15 -0
  113. package/build/utils/cliUi.js +108 -0
  114. package/build/utils/communication/feedback.js +57 -77
  115. package/build/utils/communication/message.js +69 -98
  116. package/build/utils/communication/negotiation.js +30 -57
  117. package/build/utils/communication/notification.js +112 -252
  118. package/build/utils/{date-converter.js → dateConverter.js} +62 -30
  119. package/build/utils/effectSchema.js +203 -0
  120. package/build/utils/effectSchemaAdapter.js +121 -0
  121. package/build/utils/effectSchemaChainMethods.js +146 -0
  122. package/build/utils/effectSchemaRefinements.js +104 -0
  123. package/build/utils/effectSchemaStringMethods.js +63 -0
  124. package/build/utils/effectSchemaTypes.js +47 -0
  125. package/build/utils/{env-parser.js → envParser.js} +10 -2
  126. package/build/utils/errors.js +7 -3
  127. package/build/utils/http.js +148 -89
  128. package/build/utils/{llm-client-detector.js → llmClientDetector.js} +295 -274
  129. package/build/utils/logger.js +127 -51
  130. package/build/utils/{oauth-helper.js → oauthHelper.js} +127 -90
  131. package/build/utils/other/compliance.js +18 -38
  132. package/build/utils/other/identity.js +2 -2
  133. package/build/utils/other/translation.js +4 -4
  134. package/build/utils/other/vero.js +36 -20
  135. package/build/utils/schemaHelpers.js +22 -0
  136. package/build/utils/scopeHelper.js +270 -0
  137. package/build/utils/securityChecker.js +316 -0
  138. package/build/utils/{setup-validator.js → setupValidator.js} +113 -94
  139. package/build/utils/{setup-wizard.js → setupWizard.js} +57 -46
  140. package/build/utils/{token-utils.js → tokenUtils.js} +2 -2
  141. package/build/utils/trading/trading.js +35 -0
  142. package/build/utils/typeGuards.js +12 -0
  143. package/build/utils/version.js +65 -29
  144. package/package.json +10 -8
  145. package/build/api/client-trading.js +0 -124
  146. package/build/api/communication/shared.js +0 -59
  147. package/build/api/shared/query-params.js +0 -16
  148. package/build/auth/credential-session.js +0 -166
  149. package/build/auth/oauth-middleware.js +0 -100
  150. package/build/auth/token-verifier.js +0 -186
  151. package/build/schemas/other/other-apis.js +0 -390
  152. package/build/scripts/update-api-status-doc.js +0 -44
  153. package/build/server-http.js +0 -85
  154. package/build/tools/definitions/marketing.js +0 -1381
  155. package/build/tools/tool-handlers/marketing.js +0 -312
  156. package/build/utils/account-management/account.js +0 -818
  157. package/build/utils/api-status-feed.js +0 -84
  158. package/build/utils/cli-ui.js +0 -47
  159. package/build/utils/order-management/dispute.js +0 -369
  160. package/build/utils/order-management/fulfillment.js +0 -205
  161. package/build/utils/other/edelivery.js +0 -235
  162. package/build/utils/schema-helpers.js +0 -13
  163. package/build/utils/scope-helper.js +0 -207
  164. package/build/utils/security-checker.js +0 -248
  165. package/build/utils/type-guards.js +0 -6
  166. /package/build/auth/{oauth-types.js → oauthTypes.js} +0 -0
  167. /package/build/{server-http.d.ts → serverHttp.d.ts} +0 -0
  168. /package/build/tools/ui/{view-models.js → viewModels.js} +0 -0
  169. /package/build/types/{ebay-enums.js → ebayEnums.js} +0 -0
@@ -1,5 +1,13 @@
1
- import { z } from 'zod';
2
- import { defineTool } from '../../tools/define-tool.js';
1
+ import { z } from '../../utils/effectSchema.js';
2
+ import { Effect } from 'effect';
3
+ import { defineTool } from '../../tools/defineTool.js';
4
+ const connectorSearchInputSchema = z.object({
5
+ query: z.string().describe('Search query'),
6
+ limit: z.number().optional().describe('Maximum number of results'),
7
+ });
8
+ const connectorFetchInputSchema = z.object({
9
+ id: z.string().describe('Item SKU'),
10
+ });
3
11
  /**
4
12
  * OpenAI ChatGPT connector tools.
5
13
  *
@@ -11,10 +19,7 @@ export const connectorEntries = [
11
19
  defineTool({
12
20
  name: 'search',
13
21
  description: 'Search for eBay inventory items',
14
- inputSchema: {
15
- query: z.string().describe('Search query'),
16
- limit: z.number().optional().describe('Maximum number of results'),
17
- },
22
+ inputSchema: connectorSearchInputSchema.shape,
18
23
  title: 'Search',
19
24
  outputSchema: {
20
25
  type: 'object',
@@ -31,7 +36,7 @@ export const connectorEntries = [
31
36
  category: 'chat',
32
37
  version: '1.0.0',
33
38
  },
34
- handler: async (api, args) => {
39
+ handler: (api, args) => Effect.runPromise(Effect.gen(function* () {
35
40
  const requestedLimit = args.limit;
36
41
  const limit = typeof requestedLimit === 'number' && Number.isFinite(requestedLimit)
37
42
  ? Math.max(Math.floor(requestedLimit), 1)
@@ -41,7 +46,7 @@ export const connectorEntries = [
41
46
  const matches = [];
42
47
  let offset = 0;
43
48
  while (matches.length < limit) {
44
- const response = await api.inventory.getInventoryItems(pageSize, offset);
49
+ const response = yield* api.inventory.getInventoryItems({ limit: pageSize, offset });
45
50
  const pageItems = response.inventoryItems ?? [];
46
51
  if (pageItems.length === 0) {
47
52
  break;
@@ -63,8 +68,8 @@ export const connectorEntries = [
63
68
  }
64
69
  const results = matches.slice(0, limit).map((item) => ({
65
70
  id: item.sku,
66
- title: item.product?.title ?? 'No Title',
67
- url: `https://www.ebay.com/`, // Placeholder: eBay does not expose a canonical item URL here.
71
+ title: item.product?.title ?? '',
72
+ url: 'https://www.ebay.com/', // Placeholder: eBay does not expose a canonical item URL here.
68
73
  }));
69
74
  // The ChatGPT connector spec requires a single text content block.
70
75
  return {
@@ -75,14 +80,12 @@ export const connectorEntries = [
75
80
  },
76
81
  ],
77
82
  };
78
- },
83
+ })),
79
84
  }),
80
85
  defineTool({
81
86
  name: 'fetch',
82
87
  description: 'Fetch a specific eBay inventory item by SKU',
83
- inputSchema: {
84
- id: z.string().describe('Item SKU'),
85
- },
88
+ inputSchema: connectorFetchInputSchema.shape,
86
89
  title: 'Fetch',
87
90
  outputSchema: {
88
91
  type: 'object',
@@ -99,14 +102,14 @@ export const connectorEntries = [
99
102
  category: 'chat',
100
103
  version: '1.0.0',
101
104
  },
102
- handler: async (api, args) => {
105
+ handler: (api, args) => Effect.runPromise(Effect.gen(function* () {
103
106
  const sku = args.id;
104
- const item = await api.inventory.getInventoryItem(sku);
107
+ const item = yield* api.inventory.getInventoryItem({ sku });
105
108
  const result = {
106
109
  id: sku,
107
- title: item.product?.title ?? 'No Title',
108
- text: item.product?.description ?? 'No description available.',
109
- url: `https://www.ebay.com/`, // Placeholder: eBay does not expose a canonical item URL here.
110
+ title: item.product?.title ?? '',
111
+ text: item.product?.description ?? '',
112
+ url: 'https://www.ebay.com/', // Placeholder: eBay does not expose a canonical item URL here.
110
113
  metadata: {
111
114
  source: 'ebay_inventory',
112
115
  aspects: item.product?.aspects,
@@ -121,6 +124,6 @@ export const connectorEntries = [
121
124
  },
122
125
  ],
123
126
  };
124
- },
127
+ })),
125
128
  }),
126
129
  ];
@@ -1,28 +1,15 @@
1
- import { z } from 'zod';
2
- import { defineTool } from '../../tools/define-tool.js';
3
- import { getApiStatusFeed } from '../../utils/api-status-feed.js';
1
+ import { zodToJsonSchema } from 'zod-to-json-schema';
2
+ import { Effect } from 'effect';
3
+ import { defineTool } from '../../tools/defineTool.js';
4
+ import { mapRateLimitsToStat, mapUserRateLimitsToStat } from '../../tools/ui/maps.js';
5
+ import { clientDetailsSchema, createSigningKeyInputSchema, getApiStatusInputSchema, getRateLimitsInputSchema, getSigningKeyInputSchema, getSigningKeysInputSchema, getUserRateLimitsInputSchema, querySigningKeysResponseSchema, rateLimitsResponseSchema, registerClientInputSchema, signingKeySchema, } from '../../schemas/developer/developer.js';
6
+ import { getApiStatusFeed } from '../../utils/apiStatusFeed.js';
4
7
  /** Developer API tools for eBay application and keyset management. */
5
8
  export const developerEntries = [
6
9
  defineTool({
7
10
  name: 'ebay_get_api_status',
8
11
  description: 'Get the latest eBay API status and incidents from the official RSS feed. Returns recent issues, fixes, and outages for eBay APIs (e.g. Trading API, Inventory API, Sandbox). Use when the user asks about API status, outages, or fixes.',
9
- inputSchema: {
10
- limit: z
11
- .number()
12
- .int()
13
- .min(1)
14
- .max(50)
15
- .optional()
16
- .describe('Maximum number of items to return (default 20)'),
17
- status: z
18
- .enum(['Resolved', 'Unresolved'])
19
- .optional()
20
- .describe('Filter by status: Resolved or Unresolved'),
21
- api: z
22
- .string()
23
- .optional()
24
- .describe('Filter by API name (e.g. "Trading API", "Inventory API", "Sandbox")'),
25
- },
12
+ inputSchema: getApiStatusInputSchema.shape,
26
13
  outputSchema: {
27
14
  type: 'object',
28
15
  properties: {
@@ -45,168 +32,68 @@ export const developerEntries = [
45
32
  },
46
33
  description: 'Latest API status items from eBay developer feed',
47
34
  },
48
- handler: async (_api, args) => {
49
- const feed = await getApiStatusFeed({
50
- limit: args.limit,
51
- status: args.status,
52
- api: args.api,
53
- });
54
- return { items: feed.items, ...(feed.error && { error: feed.error }) };
55
- },
35
+ handler: (_api, args) => Effect.runPromise(getApiStatusFeed(args).pipe(Effect.map((feed) => ({ items: feed.items, ...(feed.error && { error: feed.error }) })))),
56
36
  }),
57
37
  defineTool({
58
38
  name: 'ebay_get_rate_limits',
59
39
  description: 'Get application rate limits for eBay APIs. Returns call quota, remaining calls, and time until reset for each API resource.',
60
- inputSchema: {
61
- apiContext: z
62
- .string()
63
- .optional()
64
- .describe('Filter by API context: buy, sell, commerce, developer, or tradingapi'),
65
- apiName: z
66
- .string()
67
- .optional()
68
- .describe('Filter by specific API name: browse, inventory, taxonomy, tradingapi, etc.'),
69
- },
70
- outputSchema: {
71
- type: 'object',
72
- properties: {
73
- rateLimits: {
74
- type: 'array',
75
- items: {
76
- type: 'object',
77
- properties: {
78
- apiContext: { type: 'string' },
79
- apiName: { type: 'string' },
80
- apiVersion: { type: 'string' },
81
- resources: { type: 'array' },
82
- },
83
- },
84
- },
85
- },
86
- description: 'Rate limit data for application APIs',
87
- },
88
- handler: (api, args) => api.developer.getRateLimits(args.apiContext, args.apiName),
40
+ inputSchema: getRateLimitsInputSchema.shape,
41
+ outputSchema: zodToJsonSchema(rateLimitsResponseSchema, {
42
+ name: 'GetRateLimitsOutput',
43
+ $refStrategy: 'none',
44
+ }),
45
+ handler: (api, args) => Effect.runPromise(api.developer.getRateLimits(args)),
46
+ ui: { archetype: 'stat', map: mapRateLimitsToStat },
89
47
  }),
90
48
  defineTool({
91
49
  name: 'ebay_get_user_rate_limits',
92
50
  description: 'Get user-specific rate limits for eBay APIs. Returns call quota per user for APIs that limit by user.',
93
- inputSchema: {
94
- apiContext: z
95
- .string()
96
- .optional()
97
- .describe('Filter by API context: buy, sell, commerce, developer, or tradingapi'),
98
- apiName: z
99
- .string()
100
- .optional()
101
- .describe('Filter by specific API name: browse, inventory, taxonomy, tradingapi, etc.'),
102
- },
103
- outputSchema: {
104
- type: 'object',
105
- properties: {
106
- rateLimits: { type: 'array' },
107
- },
108
- description: 'Rate limit data for user APIs',
109
- },
110
- handler: (api, args) => api.developer.getUserRateLimits(args.apiContext, args.apiName),
51
+ inputSchema: getUserRateLimitsInputSchema.shape,
52
+ outputSchema: zodToJsonSchema(rateLimitsResponseSchema, {
53
+ name: 'GetUserRateLimitsOutput',
54
+ $refStrategy: 'none',
55
+ }),
56
+ handler: (api, args) => Effect.runPromise(api.developer.getUserRateLimits(args)),
57
+ ui: { archetype: 'stat', map: mapUserRateLimitsToStat },
111
58
  }),
112
59
  defineTool({
113
60
  name: 'ebay_register_client',
114
61
  description: 'Register a third party financial application with eBay (Open Banking / PSD2). Requires valid eIDAS certificate via MTLS.',
115
- inputSchema: {
116
- clientSettings: z
117
- .object({
118
- client_name: z.string().optional().describe('User-friendly name for the application'),
119
- contacts: z.array(z.string()).optional().describe('Array of contact email addresses'),
120
- policy_uri: z.string().optional().describe('HTTPS URL to privacy policy document'),
121
- redirect_uris: z.array(z.string()).optional().describe('Array of redirect URIs'),
122
- software_id: z.string().optional().describe('Unique identifier for the client software'),
123
- software_statement: z
124
- .string()
125
- .optional()
126
- .describe('Base64-encoded Software Statement Assertion (SSA) JWT'),
127
- })
128
- .describe('Client registration settings'),
129
- },
130
- outputSchema: {
131
- type: 'object',
132
- properties: {
133
- client_id: { type: 'string' },
134
- client_secret: { type: 'string' },
135
- client_id_issued_at: { type: 'number' },
136
- client_secret_expires_at: { type: 'number' },
137
- },
138
- description: 'Registered client details with credentials',
139
- },
140
- handler: (api, args) => api.developer.registerClient(args.clientSettings),
62
+ inputSchema: registerClientInputSchema.shape,
63
+ outputSchema: zodToJsonSchema(clientDetailsSchema, {
64
+ name: 'RegisterClientOutput',
65
+ $refStrategy: 'none',
66
+ }),
67
+ handler: (api, args) => Effect.runPromise(api.developer.registerClient(args)),
141
68
  }),
142
69
  defineTool({
143
70
  name: 'ebay_get_signing_keys',
144
71
  description: 'Get all signing keys for the application. Returns public keys and metadata (private keys are not stored by eBay).',
145
- inputSchema: {},
146
- outputSchema: {
147
- type: 'object',
148
- properties: {
149
- signingKeys: {
150
- type: 'array',
151
- items: {
152
- type: 'object',
153
- properties: {
154
- signingKeyId: { type: 'string' },
155
- signingKeyCipher: { type: 'string' },
156
- publicKey: { type: 'string' },
157
- jwe: { type: 'string' },
158
- creationTime: { type: 'number' },
159
- expirationTime: { type: 'number' },
160
- },
161
- },
162
- },
163
- },
164
- description: 'List of signing keys',
165
- },
166
- handler: (api) => api.developer.getSigningKeys(),
72
+ inputSchema: getSigningKeysInputSchema.shape,
73
+ outputSchema: zodToJsonSchema(querySigningKeysResponseSchema, {
74
+ name: 'GetSigningKeysOutput',
75
+ $refStrategy: 'none',
76
+ }),
77
+ handler: (api, args) => Effect.runPromise(api.developer.getSigningKeys(args)),
167
78
  }),
168
79
  defineTool({
169
80
  name: 'ebay_create_signing_key',
170
81
  description: 'Create a new signing keypair for API digital signatures. Supports ED25519 (recommended) or RSA ciphers. IMPORTANT: Save the private key immediately as eBay does not store it.',
171
- inputSchema: {
172
- signingKeyCipher: z
173
- .enum(['ED25519', 'RSA'])
174
- .optional()
175
- .describe('Cipher to use for keypair: ED25519 (recommended, shorter keys) or RSA (legacy support)'),
176
- },
177
- outputSchema: {
178
- type: 'object',
179
- properties: {
180
- signingKeyId: { type: 'string' },
181
- signingKeyCipher: { type: 'string' },
182
- privateKey: { type: 'string' },
183
- publicKey: { type: 'string' },
184
- jwe: { type: 'string' },
185
- creationTime: { type: 'number' },
186
- expirationTime: { type: 'number' },
187
- },
188
- description: 'Created signing key with private key (returned only once)',
189
- },
190
- handler: (api, args) => api.developer.createSigningKey(args.signingKeyCipher ? { signingKeyCipher: args.signingKeyCipher } : undefined),
82
+ inputSchema: createSigningKeyInputSchema.shape,
83
+ outputSchema: zodToJsonSchema(signingKeySchema, {
84
+ name: 'CreateSigningKeyOutput',
85
+ $refStrategy: 'none',
86
+ }),
87
+ handler: (api, args) => Effect.runPromise(api.developer.createSigningKey(args)),
191
88
  }),
192
89
  defineTool({
193
90
  name: 'ebay_get_signing_key',
194
91
  description: 'Get a specific signing key by ID. Returns public key and metadata (private key is not stored by eBay).',
195
- inputSchema: {
196
- signingKeyId: z.string().describe('The system-generated eBay ID of the signing key'),
197
- },
198
- outputSchema: {
199
- type: 'object',
200
- properties: {
201
- signingKeyId: { type: 'string' },
202
- signingKeyCipher: { type: 'string' },
203
- publicKey: { type: 'string' },
204
- jwe: { type: 'string' },
205
- creationTime: { type: 'number' },
206
- expirationTime: { type: 'number' },
207
- },
208
- description: 'Signing key details',
209
- },
210
- handler: (api, args) => api.developer.getSigningKey(args.signingKeyId),
92
+ inputSchema: getSigningKeyInputSchema.shape,
93
+ outputSchema: zodToJsonSchema(signingKeySchema, {
94
+ name: 'GetSigningKeyOutput',
95
+ $refStrategy: 'none',
96
+ }),
97
+ handler: (api, args) => Effect.runPromise(api.developer.getSigningKey(args)),
211
98
  }),
212
99
  ];