@insforge/mcp 1.2.4-dev.1 → 1.2.5-dev.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.
@@ -62,7 +62,7 @@ var UsageTracker = class {
62
62
  }
63
63
  };
64
64
 
65
- // ../InsForge/shared-schemas/dist/database.schema.js
65
+ // node_modules/@insforge/shared-schemas/dist/database.schema.js
66
66
  import { z } from "zod";
67
67
  var ColumnType;
68
68
  (function(ColumnType2) {
@@ -145,7 +145,7 @@ var databaseTriggerSchema = z.object({
145
145
  actionStatement: z.string()
146
146
  });
147
147
 
148
- // ../InsForge/shared-schemas/dist/database-api.schema.js
148
+ // node_modules/@insforge/shared-schemas/dist/database-api.schema.js
149
149
  import { z as z2 } from "zod";
150
150
  var createTableRequestSchema = tableSchema.pick({
151
151
  tableName: true,
@@ -325,7 +325,7 @@ var databaseTriggersResponseSchema = z2.object({
325
325
  triggers: z2.array(databaseTriggerSchema)
326
326
  });
327
327
 
328
- // ../InsForge/shared-schemas/dist/storage.schema.js
328
+ // node_modules/@insforge/shared-schemas/dist/storage.schema.js
329
329
  import { z as z3 } from "zod";
330
330
  var storageFileSchema = z3.object({
331
331
  key: z3.string(),
@@ -341,7 +341,7 @@ var storageBucketSchema = z3.object({
341
341
  createdAt: z3.string()
342
342
  });
343
343
 
344
- // ../InsForge/shared-schemas/dist/storage-api.schema.js
344
+ // node_modules/@insforge/shared-schemas/dist/storage-api.schema.js
345
345
  import { z as z4 } from "zod";
346
346
  var createBucketRequestSchema = z4.object({
347
347
  bucketName: z4.string().min(1, "Bucket name cannot be empty"),
@@ -387,7 +387,7 @@ var confirmUploadRequestSchema = z4.object({
387
387
  etag: z4.string().optional()
388
388
  });
389
389
 
390
- // ../InsForge/shared-schemas/dist/auth.schema.js
390
+ // node_modules/@insforge/shared-schemas/dist/auth.schema.js
391
391
  import { z as z5 } from "zod";
392
392
  var userIdSchema = z5.string().uuid("Invalid user ID format");
393
393
  var emailSchema = z5.string().email("Invalid email format").toLowerCase().trim();
@@ -470,7 +470,7 @@ var tokenPayloadSchema = z5.object({
470
470
  // Expiration
471
471
  });
472
472
 
473
- // ../InsForge/shared-schemas/dist/auth-api.schema.js
473
+ // node_modules/@insforge/shared-schemas/dist/auth-api.schema.js
474
474
  import { z as z6 } from "zod";
475
475
  var paginationSchema = z6.object({
476
476
  limit: z6.string().optional(),
@@ -610,10 +610,10 @@ var authErrorResponseSchema = z6.object({
610
610
  nextActions: z6.string().optional()
611
611
  });
612
612
 
613
- // ../InsForge/shared-schemas/dist/metadata.schema.js
613
+ // node_modules/@insforge/shared-schemas/dist/metadata.schema.js
614
614
  import { z as z9 } from "zod";
615
615
 
616
- // ../InsForge/shared-schemas/dist/realtime.schema.js
616
+ // node_modules/@insforge/shared-schemas/dist/realtime.schema.js
617
617
  import { z as z7 } from "zod";
618
618
  var senderTypeSchema = z7.enum(["system", "user"]);
619
619
  var realtimeChannelSchema = z7.object({
@@ -688,7 +688,7 @@ var socketMessageSchema = z7.object({
688
688
  meta: socketMessageMetaSchema
689
689
  }).passthrough();
690
690
 
691
- // ../InsForge/shared-schemas/dist/realtime-api.schema.js
691
+ // node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js
692
692
  import { z as z8 } from "zod";
693
693
  var createChannelRequestSchema = z8.object({
694
694
  pattern: z8.string().min(1, "Channel pattern is required"),
@@ -742,7 +742,7 @@ var realtimePermissionsResponseSchema = z8.object({
742
742
  })
743
743
  });
744
744
 
745
- // ../InsForge/shared-schemas/dist/metadata.schema.js
745
+ // node_modules/@insforge/shared-schemas/dist/metadata.schema.js
746
746
  var authMetadataSchema = z9.object({
747
747
  oauths: z9.array(oAuthConfigSchema)
748
748
  });
@@ -788,7 +788,7 @@ var appMetaDataSchema = z9.object({
788
788
  version: z9.string().optional()
789
789
  });
790
790
 
791
- // ../InsForge/shared-schemas/dist/ai.schema.js
791
+ // node_modules/@insforge/shared-schemas/dist/ai.schema.js
792
792
  import { z as z10 } from "zod";
793
793
  var modalitySchema = z10.enum(["text", "image"]);
794
794
  var aiConfigurationInputSchema = z10.object({
@@ -834,7 +834,7 @@ var aiUsageSummarySchema = z10.object({
834
834
  totalRequests: z10.number()
835
835
  });
836
836
 
837
- // ../InsForge/shared-schemas/dist/ai-api.schema.js
837
+ // node_modules/@insforge/shared-schemas/dist/ai-api.schema.js
838
838
  import { z as z11 } from "zod";
839
839
  var textContentSchema = z11.object({
840
840
  type: z11.literal("text"),
@@ -931,7 +931,7 @@ var getAIUsageSummaryRequestSchema = z11.object({
931
931
  endDate: z11.string().datetime().optional()
932
932
  });
933
933
 
934
- // ../InsForge/shared-schemas/dist/logs.schema.js
934
+ // node_modules/@insforge/shared-schemas/dist/logs.schema.js
935
935
  import { z as z12 } from "zod";
936
936
  var auditLogSchema = z12.object({
937
937
  id: z12.string(),
@@ -961,7 +961,7 @@ var logStatsSchema = z12.object({
961
961
  lastActivity: z12.string()
962
962
  });
963
963
 
964
- // ../InsForge/shared-schemas/dist/logs-api.schema.js
964
+ // node_modules/@insforge/shared-schemas/dist/logs-api.schema.js
965
965
  import { z as z13 } from "zod";
966
966
  var getAuditLogsRequestSchema = z13.object({
967
967
  limit: z13.number().default(100),
@@ -1002,7 +1002,7 @@ var getLogsResponseSchema = z13.object({
1002
1002
  total: z13.number()
1003
1003
  });
1004
1004
 
1005
- // ../InsForge/shared-schemas/dist/functions.schema.js
1005
+ // node_modules/@insforge/shared-schemas/dist/functions.schema.js
1006
1006
  import { z as z14 } from "zod";
1007
1007
  var functionSchema = z14.object({
1008
1008
  id: z14.string(),
@@ -1016,7 +1016,7 @@ var functionSchema = z14.object({
1016
1016
  deployedAt: z14.string().nullable()
1017
1017
  });
1018
1018
 
1019
- // ../InsForge/shared-schemas/dist/functions-api.schema.js
1019
+ // node_modules/@insforge/shared-schemas/dist/functions-api.schema.js
1020
1020
  import { z as z15 } from "zod";
1021
1021
  var functionUploadRequestSchema = z15.object({
1022
1022
  name: z15.string().min(1, "Name is required"),
@@ -1032,7 +1032,7 @@ var functionUpdateRequestSchema = z15.object({
1032
1032
  status: z15.enum(["draft", "active"]).optional()
1033
1033
  });
1034
1034
 
1035
- // ../InsForge/shared-schemas/dist/cloud-events.schema.js
1035
+ // node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js
1036
1036
  import { z as z16 } from "zod";
1037
1037
  var appRouteChangeEventSchema = z16.object({
1038
1038
  type: z16.literal("APP_ROUTE_CHANGE"),
@@ -1074,92 +1074,31 @@ var cloudEventSchema = z16.discriminatedUnion("type", [
1074
1074
  navigateToUsageSchema
1075
1075
  ]);
1076
1076
 
1077
- // ../InsForge/shared-schemas/dist/docs.schema.js
1077
+ // node_modules/@insforge/shared-schemas/dist/docs.schema.js
1078
1078
  import { z as z17 } from "zod";
1079
1079
  var docTypeSchema = z17.enum([
1080
- // General
1081
1080
  "instructions",
1082
- // TypeScript SDK
1083
- "db-sdk-typescript",
1084
- "storage-sdk-typescript",
1085
- "functions-sdk-typescript",
1086
- "ai-sdk-typescript",
1087
- "auth-sdk-typescript",
1088
- "realtime-sdk-typescript",
1089
- "auth-components-react",
1090
- "auth-components-nextjs",
1091
- // Swift SDK
1092
- "db-sdk-swift",
1093
- "storage-sdk-swift",
1094
- "functions-sdk-swift",
1095
- "auth-sdk-swift",
1096
- "ai-sdk-swift",
1097
- "realtime-sdk-swift",
1098
- // Kotlin SDK
1099
- "db-sdk-kotlin",
1100
- "storage-sdk-kotlin",
1101
- "functions-sdk-kotlin",
1102
- "auth-sdk-kotlin",
1103
- "ai-sdk-kotlin",
1104
- "realtime-sdk-kotlin",
1105
- // Flutter SDK
1106
- "db-sdk-flutter",
1107
- "storage-sdk-flutter",
1108
- "functions-sdk-flutter",
1109
- "auth-sdk-flutter",
1110
- "ai-sdk-flutter",
1111
- "realtime-sdk-flutter",
1112
- // Legacy aliases (for backward compatibility)
1081
+ "auth-sdk",
1113
1082
  "db-sdk",
1114
1083
  "storage-sdk",
1115
1084
  "functions-sdk",
1116
1085
  "ai-integration-sdk",
1086
+ "auth-components-react",
1087
+ "auth-components-nextjs",
1117
1088
  "real-time"
1118
1089
  ]).describe(`
1119
- Documentation type with language suffix:
1120
-
1121
- TypeScript (Web/Node.js):
1122
- "db-sdk-typescript" - Database operations
1123
- "storage-sdk-typescript" - File storage
1124
- "functions-sdk-typescript" - Edge functions
1125
- "ai-sdk-typescript" - AI features
1126
- "auth-sdk-typescript" - Authentication
1127
- "realtime-sdk-typescript" - Real-time WebSockets
1128
- "auth-components-react" - Auth UI for React+Vite
1129
- "auth-components-nextjs" - Auth UI for Next.js
1130
-
1131
- Swift (iOS/macOS):
1132
- "db-sdk-swift" - Database operations
1133
- "storage-sdk-swift" - File storage
1134
- "auth-sdk-swift" - Authentication
1135
- "functions-sdk-swift" - Edge functions
1136
- "ai-sdk-swift" - AI features
1137
- "realtime-sdk-swift" - Real-time WebSockets
1138
-
1139
- Kotlin (Android):
1140
- "db-sdk-kotlin" - Database operations
1141
- "storage-sdk-kotlin" - File storage
1142
- "functions-sdk-kotlin" - Edge functions
1143
- "auth-sdk-kotlin" - Authentication
1144
- "ai-sdk-kotlin" - AI features
1145
- "realtime-sdk-kotlin" - Real-time WebSockets
1146
-
1147
- Flutter (Cross-platform mobile):
1148
- "db-sdk-flutter" - Database operations
1149
- "storage-sdk-flutter" - File storage
1150
- "functions-sdk-flutter" - Edge functions
1151
- "auth-sdk-flutter" - Authentication
1152
- "ai-sdk-flutter" - AI features
1153
- "realtime-sdk-flutter" - Real-time WebSockets
1154
-
1155
- General:
1156
- "instructions" - Essential backend setup (use FIRST)
1157
-
1158
- Legacy (deprecated, use language-specific versions):
1159
- "db-sdk", "storage-sdk", "functions-sdk", "ai-integration-sdk", "real-time"
1090
+ Documentation type:
1091
+ "instructions" (essential backend setup - use FIRST),
1092
+ "db-sdk" (database operations),
1093
+ "storage-sdk" (file storage),
1094
+ "functions-sdk" (edge functions),
1095
+ "auth-components-react" (authentication components for React+Vite applications),
1096
+ "auth-components-nextjs" (authentication components for Next.js applications),
1097
+ "ai-integration-sdk" (AI features),
1098
+ "real-time" (real-time pub/sub through WebSockets)
1160
1099
  `);
1161
1100
 
1162
- // ../InsForge/shared-schemas/dist/email-api.schema.js
1101
+ // node_modules/@insforge/shared-schemas/dist/email-api.schema.js
1163
1102
  import { z as z18 } from "zod";
1164
1103
  var emailOrEmails = z18.union([
1165
1104
  emailSchema,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-35O2DLUR.js";
4
+ } from "./chunk-EXDCZC7E.js";
5
5
 
6
6
  // src/http/server.ts
7
7
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  registerInsforgeTools
4
- } from "./chunk-35O2DLUR.js";
4
+ } from "./chunk-EXDCZC7E.js";
5
5
 
6
6
  // src/stdio/index.ts
7
7
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/mcp",
3
- "version": "1.2.4-dev.1",
3
+ "version": "1.2.5-dev.0",
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",