@insforge/mcp 1.2.7 → 1.2.8

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.
@@ -394,12 +394,6 @@ var storageBucketSchema = z5.object({
394
394
  public: z5.boolean(),
395
395
  createdAt: z5.string()
396
396
  });
397
- var storageConfigSchema = z5.object({
398
- id: z5.string().uuid(),
399
- maxFileSizeMb: z5.number().int().positive(),
400
- createdAt: z5.string(),
401
- updatedAt: z5.string()
402
- });
403
397
 
404
398
  // node_modules/@insforge/shared-schemas/dist/storage-api.schema.js
405
399
  import { z as z6 } from "zod";
@@ -446,9 +440,6 @@ var confirmUploadRequestSchema = z6.object({
446
440
  contentType: z6.string().optional(),
447
441
  etag: z6.string().optional()
448
442
  });
449
- var updateStorageConfigRequestSchema = z6.object({
450
- maxFileSizeMb: z6.number().int().min(1, "Must be at least 1 MB").max(200, "Must be at most 200 MB")
451
- });
452
443
 
453
444
  // node_modules/@insforge/shared-schemas/dist/auth.schema.js
454
445
  import { z as z7 } from "zod";
@@ -506,7 +497,6 @@ var oAuthConfigSchema = z7.object({
506
497
  updatedAt: z7.string()
507
498
  // PostgreSQL timestamp
508
499
  });
509
- var allowedRedirectUrlsRegex = /^(?:(?:https?:\/\/)(?:(?:\*\.)?[^\s/:?#]+|\[[0-9A-Fa-f:.]+\])(?::\d+)?(?:\/[^\s]*)?|(?!(?:https?|javascript|data|file|vbscript):)[a-zA-Z][a-zA-Z0-9+.-]*:(?:\/\/[^\s/]+(?:\/[^\s]*)?|\/[^\s]*))$/i;
510
500
  var authConfigSchema = z7.object({
511
501
  id: z7.string().uuid(),
512
502
  requireEmailVerification: z7.boolean(),
@@ -517,7 +507,7 @@ var authConfigSchema = z7.object({
517
507
  requireSpecialChar: z7.boolean(),
518
508
  verifyEmailMethod: verificationMethodSchema,
519
509
  resetPasswordMethod: verificationMethodSchema,
520
- allowedRedirectUrls: z7.array(z7.string().regex(allowedRedirectUrlsRegex, { message: "Invalid URL or wildcard URL" })).optional().nullable(),
510
+ signInRedirectTo: z7.union([z7.string().url(), z7.literal(""), z7.null()]).optional().transform((val) => val === "" ? null : val),
521
511
  createdAt: z7.string(),
522
512
  // PostgreSQL timestamp
523
513
  updatedAt: z7.string()
@@ -533,16 +523,6 @@ var tokenPayloadSchema = z7.object({
533
523
  exp: z7.number().optional()
534
524
  // Expiration
535
525
  });
536
- var customOAuthKeySchema = z7.string().min(1).max(64).regex(/^[a-z0-9_-]+$/, "Key must contain only lowercase letters, numbers, hyphens, and underscores");
537
- var customOAuthConfigSchema = z7.object({
538
- id: z7.string().uuid(),
539
- key: customOAuthKeySchema,
540
- name: z7.string().min(1),
541
- discoveryEndpoint: z7.string().url(),
542
- clientId: z7.string().min(1),
543
- createdAt: z7.string(),
544
- updatedAt: z7.string()
545
- });
546
526
 
547
527
  // node_modules/@insforge/shared-schemas/dist/auth-api.schema.js
548
528
  import { z as z8 } from "zod";
@@ -550,19 +530,19 @@ var paginationSchema = z8.object({
550
530
  limit: z8.string().optional(),
551
531
  offset: z8.string().optional()
552
532
  });
533
+ var authOptionsSchema = z8.object({
534
+ emailRedirectTo: z8.string().url().optional()
535
+ }).optional();
553
536
  var createUserRequestSchema = z8.object({
554
537
  email: emailSchema,
555
538
  password: passwordSchema,
556
539
  name: nameSchema.optional(),
557
- redirectTo: z8.string().url().optional()
540
+ options: authOptionsSchema
558
541
  });
559
542
  var createSessionRequestSchema = z8.object({
560
543
  email: emailSchema,
561
544
  password: passwordSchema
562
545
  });
563
- var refreshSessionRequestSchema = z8.object({
564
- refreshToken: z8.string().min(1, "refreshToken is required")
565
- });
566
546
  var exchangeAdminSessionRequestSchema = z8.object({
567
547
  code: z8.string()
568
548
  });
@@ -577,19 +557,20 @@ var updateProfileRequestSchema = z8.object({
577
557
  });
578
558
  var sendVerificationEmailRequestSchema = z8.object({
579
559
  email: emailSchema,
580
- redirectTo: z8.string().url().optional()
560
+ options: authOptionsSchema
581
561
  });
582
562
  var verifyEmailRequestSchema = z8.object({
583
- email: emailSchema,
584
- otp: z8.string().regex(/^\d{6}$/, "OTP code must be a 6-digit numeric code")
563
+ email: emailSchema.optional(),
564
+ otp: z8.string().min(1)
565
+ }).refine((data) => data.email || data.otp, {
566
+ message: "Either email or otp must be provided"
585
567
  });
586
568
  var sendResetPasswordEmailRequestSchema = z8.object({
587
- email: emailSchema,
588
- redirectTo: z8.string().url().optional()
569
+ email: emailSchema
589
570
  });
590
571
  var exchangeResetPasswordTokenRequestSchema = z8.object({
591
572
  email: emailSchema,
592
- code: z8.string().regex(/^\d{6}$/, "Reset password code must be a 6-digit numeric code")
573
+ code: z8.string().min(1)
593
574
  });
594
575
  var resetPasswordRequestSchema = z8.object({
595
576
  newPassword: passwordSchema,
@@ -599,6 +580,7 @@ var createUserResponseSchema = z8.object({
599
580
  user: userSchema.optional(),
600
581
  accessToken: z8.string().nullable(),
601
582
  requireEmailVerification: z8.boolean().optional(),
583
+ redirectTo: z8.string().url().optional(),
602
584
  csrfToken: z8.string().nullable().optional(),
603
585
  refreshToken: z8.string().optional()
604
586
  // For mobile/desktop clients (no cookies)
@@ -606,6 +588,7 @@ var createUserResponseSchema = z8.object({
606
588
  var createSessionResponseSchema = z8.object({
607
589
  user: userSchema,
608
590
  accessToken: z8.string(),
591
+ redirectTo: z8.string().url().optional(),
609
592
  csrfToken: z8.string().nullable().optional(),
610
593
  refreshToken: z8.string().optional()
611
594
  // For mobile/desktop clients (no cookies)
@@ -613,6 +596,7 @@ var createSessionResponseSchema = z8.object({
613
596
  var verifyEmailResponseSchema = z8.object({
614
597
  user: userSchema,
615
598
  accessToken: z8.string(),
599
+ redirectTo: z8.string().url().optional(),
616
600
  csrfToken: z8.string().nullable().optional(),
617
601
  refreshToken: z8.string().optional()
618
602
  // For mobile/desktop clients (no cookies)
@@ -692,12 +676,11 @@ var updateAuthConfigRequestSchema = authConfigSchema.omit({
692
676
  }).partial();
693
677
  var getPublicAuthConfigResponseSchema = z8.object({
694
678
  oAuthProviders: z8.array(oAuthProvidersSchema),
695
- customOAuthProviders: z8.array(customOAuthKeySchema),
696
679
  ...authConfigSchema.omit({
697
680
  id: true,
698
681
  updatedAt: true,
699
682
  createdAt: true,
700
- allowedRedirectUrls: true
683
+ signInRedirectTo: true
701
684
  }).shape
702
685
  });
703
686
  var authErrorResponseSchema = z8.object({
@@ -706,16 +689,6 @@ var authErrorResponseSchema = z8.object({
706
689
  statusCode: z8.number().int(),
707
690
  nextActions: z8.string().optional()
708
691
  });
709
- var createCustomOAuthConfigRequestSchema = customOAuthConfigSchema.omit({ id: true, createdAt: true, updatedAt: true }).extend({
710
- clientSecret: z8.string().min(1, "Client secret is required")
711
- });
712
- var updateCustomOAuthConfigRequestSchema = customOAuthConfigSchema.omit({ id: true, key: true, createdAt: true, updatedAt: true }).extend({
713
- clientSecret: z8.string().min(1).optional()
714
- }).partial();
715
- var listCustomOAuthConfigsResponseSchema = z8.object({
716
- data: z8.array(customOAuthConfigSchema),
717
- count: z8.number()
718
- });
719
692
 
720
693
  // node_modules/@insforge/shared-schemas/dist/metadata.schema.js
721
694
  import { z as z11 } from "zod";
@@ -745,9 +718,6 @@ var realtimeMessageSchema = z9.object({
745
718
  whDeliveredCount: z9.number().int().min(0),
746
719
  createdAt: z9.string().datetime()
747
720
  });
748
- var realtimeConfigSchema = z9.object({
749
- retentionDays: z9.number().int().positive().nullable()
750
- });
751
721
  var subscribeChannelPayloadSchema = z9.object({
752
722
  channel: z9.string().min(1)
753
723
  // The resolved channel instance, e.g., "order:123"
@@ -833,8 +803,7 @@ var messageStatsResponseSchema = z10.object({
833
803
  topEvents: z10.array(z10.object({
834
804
  eventName: z10.string(),
835
805
  count: z10.number().int().min(0)
836
- })),
837
- retentionDays: realtimeConfigSchema.shape.retentionDays
806
+ }))
838
807
  });
839
808
  var rlsPolicySchema = z10.object({
840
809
  policyName: z10.string(),
@@ -914,9 +883,6 @@ var databasePasswordInfoSchema = z11.object({
914
883
  var apiKeyResponseSchema = z11.object({
915
884
  apiKey: z11.string()
916
885
  });
917
- var projectIdResponseSchema = z11.object({
918
- projectId: z11.string().nullable()
919
- });
920
886
 
921
887
  // node_modules/@insforge/shared-schemas/dist/ai.schema.js
922
888
  import { z as z12 } from "zod";
@@ -1009,42 +975,12 @@ var contentSchema = z13.union([
1009
975
  audioContentSchema,
1010
976
  fileContentSchema
1011
977
  ]);
1012
- var toolFunctionSchema = z13.object({
1013
- name: z13.string(),
1014
- description: z13.string().optional(),
1015
- parameters: z13.record(z13.unknown()).optional()
1016
- });
1017
- var toolSchema = z13.object({
1018
- type: z13.literal("function"),
1019
- function: toolFunctionSchema
1020
- });
1021
- var toolChoiceSchema = z13.union([
1022
- z13.enum(["auto", "none", "required"]),
1023
- z13.object({
1024
- type: z13.literal("function"),
1025
- function: z13.object({ name: z13.string() })
1026
- })
1027
- ]);
1028
- var toolCallSchema = z13.object({
1029
- id: z13.string(),
1030
- type: z13.literal("function"),
1031
- function: z13.object({
1032
- name: z13.string(),
1033
- arguments: z13.string()
1034
- })
1035
- });
1036
978
  var chatMessageSchema = z13.object({
1037
- role: z13.enum(["user", "assistant", "system", "tool"]),
979
+ role: z13.enum(["user", "assistant", "system"]),
1038
980
  // New format: content can be string or array of content parts (OpenAI-compatible)
1039
- content: z13.union([z13.string(), z13.array(contentSchema)]).nullable(),
981
+ content: z13.union([z13.string(), z13.array(contentSchema)]),
1040
982
  // Legacy format: separate images field (deprecated but supported for backward compatibility)
1041
- images: z13.array(z13.object({ url: z13.string() })).optional(),
1042
- // Tool calls made by the assistant
1043
- // eslint-disable-next-line @typescript-eslint/naming-convention
1044
- tool_calls: z13.array(toolCallSchema).optional(),
1045
- // Tool call ID for tool response messages
1046
- // eslint-disable-next-line @typescript-eslint/naming-convention
1047
- tool_call_id: z13.string().optional()
983
+ images: z13.array(z13.object({ url: z13.string() })).optional()
1048
984
  });
1049
985
  var webSearchPluginSchema = z13.object({
1050
986
  enabled: z13.boolean(),
@@ -1084,13 +1020,7 @@ var chatCompletionRequestSchema = z13.object({
1084
1020
  fileParser: fileParserPluginSchema.optional(),
1085
1021
  // Thinking/Reasoning mode: Enable extended reasoning capabilities
1086
1022
  // Appends ":thinking" to the model ID for chain-of-thought reasoning
1087
- thinking: z13.boolean().optional(),
1088
- // Tool calling: Define functions the AI can call
1089
- tools: z13.array(toolSchema).optional(),
1090
- // Tool choice: Control whether/which tool is called ('auto', 'none', 'required', or specific function)
1091
- toolChoice: toolChoiceSchema.optional(),
1092
- // Parallel tool calls: Allow the model to call multiple tools in parallel
1093
- parallelToolCalls: z13.boolean().optional()
1023
+ thinking: z13.boolean().optional()
1094
1024
  });
1095
1025
  var urlCitationAnnotationSchema = z13.object({
1096
1026
  type: z13.literal("url_citation"),
@@ -1116,9 +1046,6 @@ var fileAnnotationSchema = z13.object({
1116
1046
  var annotationSchema = z13.union([urlCitationAnnotationSchema, fileAnnotationSchema]);
1117
1047
  var chatCompletionResponseSchema = z13.object({
1118
1048
  text: z13.string(),
1119
- // Tool calls from the assistant (present when the model invokes tools)
1120
- // eslint-disable-next-line @typescript-eslint/naming-convention
1121
- tool_calls: z13.array(toolCallSchema).optional(),
1122
1049
  // Annotations from web search or file parsing (can be URL citations or file annotations)
1123
1050
  annotations: z13.array(annotationSchema).optional(),
1124
1051
  metadata: z13.object({
@@ -1208,15 +1135,6 @@ var getAIUsageSummaryRequestSchema = z13.object({
1208
1135
  startDate: z13.string().datetime().optional(),
1209
1136
  endDate: z13.string().datetime().optional()
1210
1137
  });
1211
- var keySourceSchema = z13.enum(["byok", "cloud", "env", "unconfigured"]);
1212
- var gatewayConfigResponseSchema = z13.object({
1213
- keySource: keySourceSchema,
1214
- hasByokKey: z13.boolean(),
1215
- maskedKey: z13.string().optional()
1216
- });
1217
- var setGatewayBYOKKeyRequestSchema = z13.object({
1218
- apiKey: z13.string().min(1, "API key is required")
1219
- });
1220
1138
 
1221
1139
  // node_modules/@insforge/shared-schemas/dist/logs.schema.js
1222
1140
  import { z as z14 } from "zod";
@@ -1247,16 +1165,6 @@ var logStatsSchema = z14.object({
1247
1165
  count: z14.number(),
1248
1166
  lastActivity: z14.string()
1249
1167
  });
1250
- var buildLogEntrySchema = z14.object({
1251
- level: z14.string(),
1252
- message: z14.string()
1253
- });
1254
- var getBuildLogsResponseSchema = z14.object({
1255
- deploymentId: z14.string(),
1256
- status: z14.enum(["pending", "success", "failed"]),
1257
- logs: z14.array(buildLogEntrySchema),
1258
- createdAt: z14.string()
1259
- });
1260
1168
 
1261
1169
  // node_modules/@insforge/shared-schemas/dist/logs-api.schema.js
1262
1170
  import { z as z15 } from "zod";
@@ -1332,19 +1240,7 @@ var listFunctionsResponseSchema = z17.object({
1332
1240
  functions: z17.array(functionSchema),
1333
1241
  runtime: z17.object({
1334
1242
  status: z17.enum(["running", "unavailable"])
1335
- }),
1336
- deploymentUrl: z17.string().nullable().optional()
1337
- });
1338
- var deploymentResultSchema = z17.object({
1339
- id: z17.string(),
1340
- status: z17.enum(["success", "failed"]),
1341
- url: z17.string().nullable(),
1342
- buildLogs: z17.array(z17.string()).optional()
1343
- });
1344
- var functionResponseSchema = z17.object({
1345
- success: z17.boolean(),
1346
- function: functionSchema,
1347
- deployment: deploymentResultSchema.nullable().optional()
1243
+ })
1348
1244
  });
1349
1245
 
1350
1246
  // node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js
@@ -1384,9 +1280,6 @@ var showContactModalEventSchema = z18.object({
1384
1280
  var showConnectOverlayEventSchema = z18.object({
1385
1281
  type: z18.literal("SHOW_CONNECT_OVERLAY")
1386
1282
  });
1387
- var showPlanModalEventSchema = z18.object({
1388
- type: z18.literal("SHOW_PLAN_MODAL")
1389
- });
1390
1283
  var authorizationCodeEventSchema = z18.object({
1391
1284
  type: z18.literal("AUTHORIZATION_CODE"),
1392
1285
  code: z18.string()
@@ -1395,51 +1288,6 @@ var routeChangeEventSchema = z18.object({
1395
1288
  type: z18.literal("ROUTE_CHANGE"),
1396
1289
  path: z18.string()
1397
1290
  });
1398
- var requestProjectInfoEventSchema = z18.object({
1399
- type: z18.literal("REQUEST_PROJECT_INFO")
1400
- });
1401
- var projectInfoEventSchema = z18.object({
1402
- type: z18.literal("PROJECT_INFO"),
1403
- name: z18.string(),
1404
- instanceType: z18.string(),
1405
- region: z18.string(),
1406
- latestVersion: z18.string().optional()
1407
- });
1408
- var requestInstanceInfoEventSchema = z18.object({
1409
- type: z18.literal("REQUEST_INSTANCE_INFO")
1410
- });
1411
- var instanceInfoEventSchema = z18.object({
1412
- type: z18.literal("INSTANCE_INFO"),
1413
- currentInstanceType: z18.string(),
1414
- planName: z18.string(),
1415
- computeCredits: z18.number(),
1416
- currentOrgComputeCost: z18.number(),
1417
- instanceTypes: z18.array(z18.object({
1418
- id: z18.string(),
1419
- name: z18.string(),
1420
- cpu: z18.string(),
1421
- ram: z18.string(),
1422
- pricePerHour: z18.number(),
1423
- pricePerMonth: z18.number()
1424
- })),
1425
- projects: z18.array(z18.object({
1426
- name: z18.string(),
1427
- instanceType: z18.string(),
1428
- monthlyCost: z18.number(),
1429
- isCurrent: z18.boolean(),
1430
- status: z18.string()
1431
- }))
1432
- });
1433
- var requestInstanceTypeChangeEventSchema = z18.object({
1434
- type: z18.literal("REQUEST_INSTANCE_TYPE_CHANGE"),
1435
- instanceType: z18.string()
1436
- });
1437
- var instanceTypeChangeResultEventSchema = z18.object({
1438
- type: z18.literal("INSTANCE_TYPE_CHANGE_RESULT"),
1439
- success: z18.boolean(),
1440
- instanceType: z18.string().optional(),
1441
- error: z18.string().optional()
1442
- });
1443
1291
  var cloudEventSchema = z18.discriminatedUnion("type", [
1444
1292
  appRouteChangeEventSchema,
1445
1293
  authSuccessEventSchema,
@@ -1451,15 +1299,8 @@ var cloudEventSchema = z18.discriminatedUnion("type", [
1451
1299
  navigateToUsageSchema,
1452
1300
  showContactModalEventSchema,
1453
1301
  showConnectOverlayEventSchema,
1454
- showPlanModalEventSchema,
1455
1302
  authorizationCodeEventSchema,
1456
- routeChangeEventSchema,
1457
- requestProjectInfoEventSchema,
1458
- projectInfoEventSchema,
1459
- requestInstanceInfoEventSchema,
1460
- instanceInfoEventSchema,
1461
- requestInstanceTypeChangeEventSchema,
1462
- instanceTypeChangeResultEventSchema
1303
+ routeChangeEventSchema
1463
1304
  ]);
1464
1305
 
1465
1306
  // node_modules/@insforge/shared-schemas/dist/docs.schema.js
@@ -1495,6 +1336,8 @@ var docTypeSchema = z19.enum([
1495
1336
  "storage-sdk",
1496
1337
  "functions-sdk",
1497
1338
  "ai-integration-sdk",
1339
+ "auth-components-react",
1340
+ "auth-components-nextjs",
1498
1341
  "real-time",
1499
1342
  "deployment"
1500
1343
  ]).describe(`
@@ -1504,6 +1347,8 @@ var docTypeSchema = z19.enum([
1504
1347
  "storage-sdk" (file storage),
1505
1348
  "functions-sdk" (edge functions),
1506
1349
  "auth-sdk" (direct SDK methods for custom auth flows),
1350
+ "auth-components-react" (authentication components for React+Vite applications),
1351
+ "auth-components-nextjs" (authentication components for Next.js applications),
1507
1352
  "ai-integration-sdk" (AI features),
1508
1353
  "real-time" (real-time pub/sub through WebSockets),
1509
1354
  "deployment" (deploy frontend applications via MCP tool)
@@ -1588,96 +1433,6 @@ var listDeploymentsResponseSchema = z22.object({
1588
1433
  total: z22.number()
1589
1434
  })
1590
1435
  });
1591
- var deploymentEnvVarSchema = z22.object({
1592
- id: z22.string(),
1593
- // Vercel env var ID (needed for delete/get)
1594
- key: z22.string(),
1595
- type: z22.enum(["plain", "encrypted", "secret", "sensitive", "system"]),
1596
- updatedAt: z22.number().optional()
1597
- // Unix timestamp (milliseconds)
1598
- });
1599
- var deploymentEnvVarWithValueSchema = z22.object({
1600
- id: z22.string(),
1601
- key: z22.string(),
1602
- value: z22.string(),
1603
- type: z22.enum(["plain", "encrypted", "secret", "sensitive", "system"]),
1604
- updatedAt: z22.number().optional()
1605
- });
1606
- var listEnvVarsResponseSchema = z22.object({
1607
- envVars: z22.array(deploymentEnvVarSchema)
1608
- });
1609
- var getEnvVarResponseSchema = z22.object({
1610
- envVar: deploymentEnvVarWithValueSchema
1611
- });
1612
- var upsertEnvVarRequestSchema = z22.object({
1613
- key: z22.string().trim().min(1, "key is required"),
1614
- value: z22.string()
1615
- });
1616
- var upsertEnvVarsRequestSchema = z22.object({
1617
- envVars: z22.array(upsertEnvVarRequestSchema).min(1)
1618
- }).superRefine(({ envVars }, ctx) => {
1619
- const firstSeenByKey = /* @__PURE__ */ new Map();
1620
- envVars.forEach((envVar, index) => {
1621
- const existingIndex = firstSeenByKey.get(envVar.key);
1622
- if (existingIndex !== void 0) {
1623
- ctx.addIssue({
1624
- code: z22.ZodIssueCode.custom,
1625
- message: "duplicate environment variable key",
1626
- path: ["envVars", index, "key"]
1627
- });
1628
- return;
1629
- }
1630
- firstSeenByKey.set(envVar.key, index);
1631
- });
1632
- });
1633
- var upsertEnvVarResponseSchema = z22.object({
1634
- success: z22.literal(true),
1635
- message: z22.string()
1636
- });
1637
- var upsertEnvVarsResponseSchema = z22.object({
1638
- success: z22.literal(true),
1639
- message: z22.string(),
1640
- count: z22.number().int().positive()
1641
- });
1642
- var deleteEnvVarResponseSchema = z22.object({
1643
- success: z22.literal(true),
1644
- message: z22.string()
1645
- });
1646
- var updateSlugRequestSchema = z22.object({
1647
- slug: z22.string().trim().min(3, "slug must be at least 3 characters").max(63, "slug must be at most 63 characters").regex(/^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/, "slug must be lowercase alphanumeric with hyphens, not starting or ending with hyphen").nullable()
1648
- });
1649
- var updateSlugResponseSchema = z22.object({
1650
- success: z22.boolean(),
1651
- slug: z22.string().nullable(),
1652
- domain: z22.string().nullable()
1653
- });
1654
- var deploymentMetadataResponseSchema = z22.object({
1655
- currentDeploymentId: z22.string().uuid().nullable(),
1656
- defaultDomainUrl: z22.string().nullable(),
1657
- customDomainUrl: z22.string().nullable()
1658
- });
1659
- var domainVerificationRecordSchema = z22.object({
1660
- type: z22.string(),
1661
- domain: z22.string(),
1662
- value: z22.string()
1663
- });
1664
- var customDomainSchema = z22.object({
1665
- domain: z22.string(),
1666
- apexDomain: z22.string(),
1667
- verified: z22.boolean(),
1668
- misconfigured: z22.boolean(),
1669
- verification: z22.array(domainVerificationRecordSchema),
1670
- cnameTarget: z22.string().nullable(),
1671
- aRecordValue: z22.string().nullable()
1672
- });
1673
- var addCustomDomainRequestSchema = z22.object({
1674
- domain: z22.string().trim().min(1, "Domain is required").regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,}$/i, "Invalid domain format (e.g. myapp.com or www.myapp.com)").refine((domain) => !domain.toLowerCase().endsWith(".insforge.site"), {
1675
- message: "Domains ending with .insforge.site are reserved by InsForge"
1676
- })
1677
- });
1678
- var listCustomDomainsResponseSchema = z22.object({
1679
- domains: z22.array(customDomainSchema)
1680
- });
1681
1436
 
1682
1437
  // node_modules/@insforge/shared-schemas/dist/schedules.schema.js
1683
1438
  import { z as z23 } from "zod";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-Z3FXBI3Z.js";
4
+ } from "./chunk-DZ5W3BSP.js";
5
5
 
6
6
  // src/http/server.ts
7
7
  import "dotenv/config";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-Z3FXBI3Z.js";
4
+ } from "./chunk-DZ5W3BSP.js";
5
5
 
6
6
  // src/stdio/index.ts
7
7
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@insforge/mcp",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "MCP (Model Context Protocol) server for Insforge backend-as-a-service",
5
5
  "mcpName": "io.github.InsForge/insforge-mcp",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "bin": {
9
+ "mcp": "./dist/index.js",
9
10
  "insforge-mcp": "./dist/index.js",
10
- "insforge-mcp-server": "./dist/http/server.js"
11
+ "insforge-mcp-server": "./dist/http-server.js"
11
12
  },
12
13
  "scripts": {
13
14
  "dev:stdio": "tsx watch src/stdio/index.ts",
@@ -77,6 +78,7 @@
77
78
  "tsx": "^4.7.0",
78
79
  "typescript": "^5.3.3",
79
80
  "typescript-eslint": "^8.57.1",
81
+ "vite": "^8.0.3",
80
82
  "vitest": "^4.1.0"
81
83
  }
82
84
  }