@alpic-ai/api 0.0.0-dev.gf5cd963 → 0.0.0-dev.gf638a1b
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.d.mts +3 -3
- package/dist/index.mjs +27 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -404,7 +404,7 @@ declare const contract: {
|
|
|
404
404
|
name: z.ZodString;
|
|
405
405
|
mcpServerUrl: z.ZodString;
|
|
406
406
|
domains: z.ZodArray<z.ZodObject<{
|
|
407
|
-
|
|
407
|
+
domain: z.ZodString;
|
|
408
408
|
status: z.ZodEnum<{
|
|
409
409
|
ongoing: "ongoing";
|
|
410
410
|
deployed: "deployed";
|
|
@@ -481,7 +481,7 @@ declare const contract: {
|
|
|
481
481
|
name: z.ZodString;
|
|
482
482
|
mcpServerUrl: z.ZodString;
|
|
483
483
|
domains: z.ZodArray<z.ZodObject<{
|
|
484
|
-
|
|
484
|
+
domain: z.ZodString;
|
|
485
485
|
status: z.ZodEnum<{
|
|
486
486
|
ongoing: "ongoing";
|
|
487
487
|
deployed: "deployed";
|
|
@@ -556,7 +556,7 @@ declare const contract: {
|
|
|
556
556
|
name: z.ZodString;
|
|
557
557
|
mcpServerUrl: z.ZodString;
|
|
558
558
|
domains: z.ZodArray<z.ZodObject<{
|
|
559
|
-
|
|
559
|
+
domain: z.ZodString;
|
|
560
560
|
status: z.ZodEnum<{
|
|
561
561
|
ongoing: "ongoing";
|
|
562
562
|
deployed: "deployed";
|
package/dist/index.mjs
CHANGED
|
@@ -342,6 +342,12 @@ z.union([
|
|
|
342
342
|
protectedWithoutDiscoveryEnvironmentSchema
|
|
343
343
|
]);
|
|
344
344
|
const allowedPlatformSchema = platformSchema;
|
|
345
|
+
const playgroundModelSchema = z.enum([
|
|
346
|
+
"global.anthropic.claude-haiku-4-5-20251001-v1:0",
|
|
347
|
+
"global.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
348
|
+
"openai.gpt-5.4",
|
|
349
|
+
"openai.gpt-5.5"
|
|
350
|
+
]);
|
|
345
351
|
const environmentDomainSchema = z.object({
|
|
346
352
|
name: z.string(),
|
|
347
353
|
status: z.enum([
|
|
@@ -361,6 +367,7 @@ const environmentSchema$1 = z.object({
|
|
|
361
367
|
latestDeployment: deploymentSummarySchema.optional(),
|
|
362
368
|
openaiAppsChallenge: z.string().nullable().optional(),
|
|
363
369
|
isPlaygroundEnabled: z.boolean(),
|
|
370
|
+
playgroundModel: playgroundModelSchema,
|
|
364
371
|
isIpWhitelistEnabled: z.boolean(),
|
|
365
372
|
ipAllowlist: z.array(z.string()).nullable(),
|
|
366
373
|
allowedPlatforms: z.array(allowedPlatformSchema),
|
|
@@ -373,7 +380,8 @@ z.object({
|
|
|
373
380
|
sessionReplayEnabled: z.boolean(),
|
|
374
381
|
collectRequestPayload: z.boolean(),
|
|
375
382
|
collectResponsePayload: z.boolean(),
|
|
376
|
-
collectErrorMessage: z.boolean()
|
|
383
|
+
collectErrorMessage: z.boolean(),
|
|
384
|
+
collectUserData: z.boolean()
|
|
377
385
|
});
|
|
378
386
|
z.object({
|
|
379
387
|
id: z.string(),
|
|
@@ -508,6 +516,16 @@ z.object({
|
|
|
508
516
|
environments: z.array(environmentWithDomainsSchema),
|
|
509
517
|
productionEnvironment: environmentWithDomainsSchema.nullable()
|
|
510
518
|
});
|
|
519
|
+
const domainFailureReasonSchema = z.enum([
|
|
520
|
+
"caa",
|
|
521
|
+
"dns",
|
|
522
|
+
"invalid_domain",
|
|
523
|
+
"other"
|
|
524
|
+
]);
|
|
525
|
+
const projectDomainMappingSchema = z.object({
|
|
526
|
+
pathPrefix: z.string(),
|
|
527
|
+
environment: environmentSchema$1
|
|
528
|
+
});
|
|
511
529
|
z.object({
|
|
512
530
|
name: z.string(),
|
|
513
531
|
createdAt: z.coerce.date(),
|
|
@@ -516,7 +534,9 @@ z.object({
|
|
|
516
534
|
"deployed",
|
|
517
535
|
"failed"
|
|
518
536
|
]),
|
|
519
|
-
|
|
537
|
+
failureReason: domainFailureReasonSchema.nullable(),
|
|
538
|
+
environment: environmentSchema$1,
|
|
539
|
+
mappings: z.array(projectDomainMappingSchema)
|
|
520
540
|
});
|
|
521
541
|
const serverFieldsSchema$1 = z.object({
|
|
522
542
|
$schema: z.string(),
|
|
@@ -1018,8 +1038,8 @@ phrases like 'The best MCP server for...'. Example: 'Manage tasks and projects i
|
|
|
1018
1038
|
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
1039
|
claude.ai. Write it from a user perspective and be specific. Max 2000 characters.`),
|
|
1020
1040
|
categories: z.array(claudeCategorySchema).max(5).describe(claudeCategoryDescription),
|
|
1021
|
-
iconUrl: z.url().optional().describe(`Optional custom icon
|
|
1022
|
-
|
|
1041
|
+
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
|
|
1042
|
+
(recommended); upload a custom icon only to override it.`),
|
|
1023
1043
|
documentation: z.url().describe(`A public URL pointing to documentation that helps users understand and use your connector. Must be publicly
|
|
1024
1044
|
accessible without login. IT admins often review these when deciding whether to approve a server. Required to be live
|
|
1025
1045
|
by your publish date.`),
|
|
@@ -1027,6 +1047,8 @@ by your publish date.`),
|
|
|
1027
1047
|
used to notify you of security or compliance issues, so make sure it's actively monitored.`),
|
|
1028
1048
|
privacyPolicy: z.url().describe(`URL to your privacy policy. Mandatory and displayed in the directory listing. Must be publicly accessible and cover
|
|
1029
1049
|
what data you collect, how you use and store it, and whether you share it with third parties.`),
|
|
1050
|
+
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
|
|
1051
|
+
it. This is editable on the directory page only after the connector is submitted — optional here so you can prepare it.`),
|
|
1030
1052
|
primaryUseCases: z.string().describe(`Describe the main tasks users will accomplish with this connector, and include a few example prompts a user might
|
|
1031
1053
|
type. These may be shown publicly but are primarily used for internal review — reviewers test your server using them.`),
|
|
1032
1054
|
connectionRequirements: z.string().describe(`What accounts, permissions, or setup a user needs before connecting (e.g. 'Requires a paid Acme account with admin
|
|
@@ -1301,7 +1323,7 @@ const getEnvironmentContractV1 = oc.route({
|
|
|
1301
1323
|
projectId: z.string()
|
|
1302
1324
|
}));
|
|
1303
1325
|
const domainSchema = z.object({
|
|
1304
|
-
|
|
1326
|
+
domain: z.string(),
|
|
1305
1327
|
status: z.enum([
|
|
1306
1328
|
"ongoing",
|
|
1307
1329
|
"deployed",
|