@alpic-ai/api 0.0.0-dev.ged66e76 → 0.0.0-dev.gedf39fe
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/dist/index.mjs +15 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -343,7 +343,7 @@ z.union([
|
|
|
343
343
|
]);
|
|
344
344
|
const allowedPlatformSchema = platformSchema;
|
|
345
345
|
const environmentDomainSchema = z.object({
|
|
346
|
-
|
|
346
|
+
name: z.string(),
|
|
347
347
|
status: z.enum([
|
|
348
348
|
"ongoing",
|
|
349
349
|
"deployed",
|
|
@@ -373,7 +373,8 @@ z.object({
|
|
|
373
373
|
sessionReplayEnabled: z.boolean(),
|
|
374
374
|
collectRequestPayload: z.boolean(),
|
|
375
375
|
collectResponsePayload: z.boolean(),
|
|
376
|
-
collectErrorMessage: z.boolean()
|
|
376
|
+
collectErrorMessage: z.boolean(),
|
|
377
|
+
collectUserData: z.boolean()
|
|
377
378
|
});
|
|
378
379
|
z.object({
|
|
379
380
|
id: z.string(),
|
|
@@ -508,14 +509,21 @@ z.object({
|
|
|
508
509
|
environments: z.array(environmentWithDomainsSchema),
|
|
509
510
|
productionEnvironment: environmentWithDomainsSchema.nullable()
|
|
510
511
|
});
|
|
512
|
+
const domainFailureReasonSchema = z.enum([
|
|
513
|
+
"caa",
|
|
514
|
+
"dns",
|
|
515
|
+
"invalid_domain",
|
|
516
|
+
"other"
|
|
517
|
+
]);
|
|
511
518
|
z.object({
|
|
512
|
-
|
|
519
|
+
name: z.string(),
|
|
513
520
|
createdAt: z.coerce.date(),
|
|
514
521
|
status: z.enum([
|
|
515
522
|
"ongoing",
|
|
516
523
|
"deployed",
|
|
517
524
|
"failed"
|
|
518
525
|
]),
|
|
526
|
+
failureReason: domainFailureReasonSchema.nullable(),
|
|
519
527
|
environment: environmentSchema$1
|
|
520
528
|
});
|
|
521
529
|
const serverFieldsSchema$1 = z.object({
|
|
@@ -1018,8 +1026,8 @@ phrases like 'The best MCP server for...'. Example: 'Manage tasks and projects i
|
|
|
1018
1026
|
description: z.string().max(2e3).describe(`A description of what your connector does and its key features, shown on the connector's detail page in
|
|
1019
1027
|
claude.ai. Write it from a user perspective and be specific. Max 2000 characters.`),
|
|
1020
1028
|
categories: z.array(claudeCategorySchema).max(5).describe(claudeCategoryDescription),
|
|
1021
|
-
iconUrl: z.url().optional().describe(`Optional custom icon
|
|
1022
|
-
|
|
1029
|
+
iconUrl: z.url().optional().describe(`Optional custom icon for the directory listing — a square SVG. By default the favicon from your MCP URL is used
|
|
1030
|
+
(recommended); upload a custom icon only to override it.`),
|
|
1023
1031
|
documentation: z.url().describe(`A public URL pointing to documentation that helps users understand and use your connector. Must be publicly
|
|
1024
1032
|
accessible without login. IT admins often review these when deciding whether to approve a server. Required to be live
|
|
1025
1033
|
by your publish date.`),
|
|
@@ -1027,6 +1035,8 @@ by your publish date.`),
|
|
|
1027
1035
|
used to notify you of security or compliance issues, so make sure it's actively monitored.`),
|
|
1028
1036
|
privacyPolicy: z.url().describe(`URL to your privacy policy. Mandatory and displayed in the directory listing. Must be publicly accessible and cover
|
|
1029
1037
|
what data you collect, how you use and store it, and whether you share it with third parties.`),
|
|
1038
|
+
screenshots: z.array(screenshotEntrySchema).optional().describe(`Carousel images shown on your connector's directory page (PNG). Each is paired with the user prompt that produced
|
|
1039
|
+
it. This is editable on the directory page only after the connector is submitted — optional here so you can prepare it.`),
|
|
1030
1040
|
primaryUseCases: z.string().describe(`Describe the main tasks users will accomplish with this connector, and include a few example prompts a user might
|
|
1031
1041
|
type. These may be shown publicly but are primarily used for internal review — reviewers test your server using them.`),
|
|
1032
1042
|
connectionRequirements: z.string().describe(`What accounts, permissions, or setup a user needs before connecting (e.g. 'Requires a paid Acme account with admin
|