@insforge/mcp 1.2.1 → 1.2.2-dev.1
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/README.md +4 -0
- package/dist/{chunk-MRGODXOM.js → chunk-H4IVVZJ2.js} +334 -42
- package/dist/http-server.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/LICENSE.md +0 -201
package/README.md
CHANGED
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
Model Context Protocol server for [Insforge](https://github.com/InsForge/insforge).
|
|
16
16
|
|
|
17
|
+
<a href="https://glama.ai/mcp/servers/@InsForge/insforge-mcp">
|
|
18
|
+
<img width="380" height="200" src="https://glama.ai/mcp/servers/@InsForge/insforge-mcp/badge" alt="Insforge Server MCP server" />
|
|
19
|
+
</a>
|
|
20
|
+
|
|
17
21
|
## 📖 Documentation
|
|
18
22
|
|
|
19
23
|
Please visit the [main Insforge repository](https://github.com/InsForge/insforge) for:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// src/shared/tools.ts
|
|
4
|
-
import { z as
|
|
4
|
+
import { z as z18 } from "zod";
|
|
5
5
|
import fetch2 from "node-fetch";
|
|
6
6
|
import { promises as fs } from "fs";
|
|
7
7
|
import { exec } from "child_process";
|
|
@@ -112,7 +112,7 @@ var columnSchema = z.object({
|
|
|
112
112
|
var tableSchema = z.object({
|
|
113
113
|
tableName: z.string().min(1, "Table name cannot be empty").max(64, "Table name must be less than 64 characters"),
|
|
114
114
|
columns: z.array(columnSchema).min(1, "At least one column is required"),
|
|
115
|
-
recordCount: z.number().
|
|
115
|
+
recordCount: z.number().optional(),
|
|
116
116
|
createdAt: z.string().optional(),
|
|
117
117
|
updatedAt: z.string().optional()
|
|
118
118
|
});
|
|
@@ -165,7 +165,6 @@ var deleteTableResponse = z2.object({
|
|
|
165
165
|
var rawSQLRequestSchema = z2.object({
|
|
166
166
|
query: z2.string().min(1, "Query is required"),
|
|
167
167
|
params: z2.array(z2.unknown()).optional()
|
|
168
|
-
// z.unknown() generates JSON Schema with items: {}
|
|
169
168
|
});
|
|
170
169
|
var rawSQLResponseSchema = z2.object({
|
|
171
170
|
rows: z2.array(z2.record(z2.string(), z2.unknown())),
|
|
@@ -352,9 +351,10 @@ var confirmUploadRequestSchema = z4.object({
|
|
|
352
351
|
import { z as z5 } from "zod";
|
|
353
352
|
var userIdSchema = z5.string().uuid("Invalid user ID format");
|
|
354
353
|
var emailSchema = z5.string().email("Invalid email format").toLowerCase().trim();
|
|
355
|
-
var passwordSchema = z5.string()
|
|
354
|
+
var passwordSchema = z5.string();
|
|
356
355
|
var nameSchema = z5.string().min(1, "Name is required").max(100, "Name must be less than 100 characters").trim();
|
|
357
|
-
var roleSchema = z5.enum(["authenticated", "project_admin"]);
|
|
356
|
+
var roleSchema = z5.enum(["anon", "authenticated", "project_admin"]);
|
|
357
|
+
var verificationMethodSchema = z5.enum(["code", "link"]);
|
|
358
358
|
var userSchema = z5.object({
|
|
359
359
|
id: userIdSchema,
|
|
360
360
|
email: emailSchema,
|
|
@@ -387,11 +387,32 @@ var oAuthStateSchema = z5.object({
|
|
|
387
387
|
redirectUri: z5.string().url().optional()
|
|
388
388
|
});
|
|
389
389
|
var oAuthConfigSchema = z5.object({
|
|
390
|
-
|
|
390
|
+
id: z5.string().uuid(),
|
|
391
|
+
provider: oAuthProvidersSchema,
|
|
391
392
|
clientId: z5.string().optional(),
|
|
392
393
|
scopes: z5.array(z5.string()).optional(),
|
|
393
394
|
redirectUri: z5.string().optional(),
|
|
394
|
-
useSharedKey: z5.boolean()
|
|
395
|
+
useSharedKey: z5.boolean(),
|
|
396
|
+
createdAt: z5.string(),
|
|
397
|
+
// PostgreSQL timestamp
|
|
398
|
+
updatedAt: z5.string()
|
|
399
|
+
// PostgreSQL timestamp
|
|
400
|
+
});
|
|
401
|
+
var authConfigSchema = z5.object({
|
|
402
|
+
id: z5.string().uuid(),
|
|
403
|
+
requireEmailVerification: z5.boolean(),
|
|
404
|
+
passwordMinLength: z5.number().min(4).max(128),
|
|
405
|
+
requireNumber: z5.boolean(),
|
|
406
|
+
requireLowercase: z5.boolean(),
|
|
407
|
+
requireUppercase: z5.boolean(),
|
|
408
|
+
requireSpecialChar: z5.boolean(),
|
|
409
|
+
verifyEmailMethod: verificationMethodSchema,
|
|
410
|
+
resetPasswordMethod: verificationMethodSchema,
|
|
411
|
+
signInRedirectTo: z5.union([z5.string().url(), z5.literal(""), z5.null()]).optional().transform((val) => val === "" ? null : val),
|
|
412
|
+
createdAt: z5.string(),
|
|
413
|
+
// PostgreSQL timestamp
|
|
414
|
+
updatedAt: z5.string()
|
|
415
|
+
// PostgreSQL timestamp
|
|
395
416
|
});
|
|
396
417
|
var tokenPayloadSchema = z5.object({
|
|
397
418
|
sub: userIdSchema,
|
|
@@ -428,9 +449,48 @@ var listUsersRequestSchema = paginationSchema.extend({
|
|
|
428
449
|
var deleteUsersRequestSchema = z6.object({
|
|
429
450
|
userIds: z6.array(userIdSchema).min(1, "At least one user ID is required")
|
|
430
451
|
});
|
|
452
|
+
var sendVerificationEmailRequestSchema = z6.object({
|
|
453
|
+
email: emailSchema
|
|
454
|
+
});
|
|
455
|
+
var verifyEmailRequestSchema = z6.object({
|
|
456
|
+
email: emailSchema.optional(),
|
|
457
|
+
otp: z6.string().min(1)
|
|
458
|
+
}).refine((data) => data.email || data.otp, {
|
|
459
|
+
message: "Either email or otp must be provided"
|
|
460
|
+
});
|
|
461
|
+
var sendResetPasswordEmailRequestSchema = z6.object({
|
|
462
|
+
email: emailSchema
|
|
463
|
+
});
|
|
464
|
+
var exchangeResetPasswordTokenRequestSchema = z6.object({
|
|
465
|
+
email: emailSchema,
|
|
466
|
+
code: z6.string().min(1)
|
|
467
|
+
});
|
|
468
|
+
var resetPasswordRequestSchema = z6.object({
|
|
469
|
+
newPassword: passwordSchema,
|
|
470
|
+
otp: z6.string().min(1, "OTP/token is required")
|
|
471
|
+
});
|
|
431
472
|
var createUserResponseSchema = z6.object({
|
|
473
|
+
user: userSchema.optional(),
|
|
474
|
+
accessToken: z6.string().nullable(),
|
|
475
|
+
requireEmailVerification: z6.boolean().optional(),
|
|
476
|
+
redirectTo: z6.string().url().optional()
|
|
477
|
+
});
|
|
478
|
+
var createSessionResponseSchema = z6.object({
|
|
432
479
|
user: userSchema,
|
|
433
|
-
accessToken: z6.string()
|
|
480
|
+
accessToken: z6.string(),
|
|
481
|
+
redirectTo: z6.string().url().optional()
|
|
482
|
+
});
|
|
483
|
+
var verifyEmailResponseSchema = z6.object({
|
|
484
|
+
user: userSchema,
|
|
485
|
+
accessToken: z6.string(),
|
|
486
|
+
redirectTo: z6.string().url().optional()
|
|
487
|
+
});
|
|
488
|
+
var exchangeResetPasswordTokenResponseSchema = z6.object({
|
|
489
|
+
token: z6.string(),
|
|
490
|
+
expiresAt: z6.string().datetime()
|
|
491
|
+
});
|
|
492
|
+
var resetPasswordResponseSchema = z6.object({
|
|
493
|
+
message: z6.string()
|
|
434
494
|
});
|
|
435
495
|
var getCurrentSessionResponseSchema = z6.object({
|
|
436
496
|
user: z6.object({
|
|
@@ -454,18 +514,39 @@ var deleteUsersResponseSchema = z6.object({
|
|
|
454
514
|
var getOauthUrlResponseSchema = z6.object({
|
|
455
515
|
authUrl: z6.string().url()
|
|
456
516
|
});
|
|
457
|
-
var createOAuthConfigRequestSchema = oAuthConfigSchema.
|
|
517
|
+
var createOAuthConfigRequestSchema = oAuthConfigSchema.omit({
|
|
518
|
+
id: true,
|
|
519
|
+
createdAt: true,
|
|
520
|
+
updatedAt: true
|
|
521
|
+
}).extend({
|
|
458
522
|
clientSecret: z6.string().optional()
|
|
459
523
|
});
|
|
460
|
-
var updateOAuthConfigRequestSchema = oAuthConfigSchema.
|
|
524
|
+
var updateOAuthConfigRequestSchema = oAuthConfigSchema.omit({
|
|
525
|
+
id: true,
|
|
526
|
+
provider: true,
|
|
527
|
+
createdAt: true,
|
|
528
|
+
updatedAt: true
|
|
529
|
+
}).extend({
|
|
461
530
|
clientSecret: z6.string().optional()
|
|
462
|
-
}).
|
|
463
|
-
provider: true
|
|
464
|
-
});
|
|
531
|
+
}).partial();
|
|
465
532
|
var listOAuthConfigsResponseSchema = z6.object({
|
|
466
533
|
data: z6.array(oAuthConfigSchema),
|
|
467
534
|
count: z6.number()
|
|
468
535
|
});
|
|
536
|
+
var updateAuthConfigRequestSchema = authConfigSchema.omit({
|
|
537
|
+
id: true,
|
|
538
|
+
createdAt: true,
|
|
539
|
+
updatedAt: true
|
|
540
|
+
}).partial();
|
|
541
|
+
var getPublicAuthConfigResponseSchema = z6.object({
|
|
542
|
+
oAuthProviders: z6.array(oAuthProvidersSchema),
|
|
543
|
+
...authConfigSchema.omit({
|
|
544
|
+
id: true,
|
|
545
|
+
updatedAt: true,
|
|
546
|
+
createdAt: true,
|
|
547
|
+
signInRedirectTo: true
|
|
548
|
+
}).shape
|
|
549
|
+
});
|
|
469
550
|
var authErrorResponseSchema = z6.object({
|
|
470
551
|
error: z6.string(),
|
|
471
552
|
message: z6.string(),
|
|
@@ -480,7 +561,6 @@ var authMetadataSchema = z7.object({
|
|
|
480
561
|
});
|
|
481
562
|
var databaseMetadataSchema = z7.object({
|
|
482
563
|
tables: z7.array(z7.object({
|
|
483
|
-
schema: z7.string(),
|
|
484
564
|
tableName: z7.string(),
|
|
485
565
|
recordCount: z7.number()
|
|
486
566
|
})),
|
|
@@ -545,7 +625,12 @@ var aiUsageDataSchema = z8.object({
|
|
|
545
625
|
});
|
|
546
626
|
var aiUsageRecordSchema = aiUsageDataSchema.extend({
|
|
547
627
|
id: z8.string().uuid(),
|
|
548
|
-
createdAt: z8.date()
|
|
628
|
+
createdAt: z8.date(),
|
|
629
|
+
modelId: z8.string().nullable().optional(),
|
|
630
|
+
model: z8.string().nullable(),
|
|
631
|
+
provider: z8.string().nullable(),
|
|
632
|
+
inputModality: z8.array(modalitySchema).nullable(),
|
|
633
|
+
outputModality: z8.array(modalitySchema).nullable()
|
|
549
634
|
});
|
|
550
635
|
var aiUsageSummarySchema = z8.object({
|
|
551
636
|
totalInputTokens: z8.number(),
|
|
@@ -557,12 +642,29 @@ var aiUsageSummarySchema = z8.object({
|
|
|
557
642
|
|
|
558
643
|
// node_modules/@insforge/shared-schemas/dist/ai-api.schema.js
|
|
559
644
|
import { z as z9 } from "zod";
|
|
645
|
+
var textContentSchema = z9.object({
|
|
646
|
+
type: z9.literal("text"),
|
|
647
|
+
text: z9.string()
|
|
648
|
+
});
|
|
649
|
+
var imageContentSchema = z9.object({
|
|
650
|
+
type: z9.literal("image_url"),
|
|
651
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
652
|
+
image_url: z9.object({
|
|
653
|
+
// URL can be either a public URL or base64-encoded data URI
|
|
654
|
+
// Examples:
|
|
655
|
+
// - Public URL: "https://example.com/image.jpg"
|
|
656
|
+
// - Base64: "data:image/jpeg;base64,/9j/4AAQ..."
|
|
657
|
+
url: z9.string(),
|
|
658
|
+
detail: z9.enum(["auto", "low", "high"]).optional()
|
|
659
|
+
})
|
|
660
|
+
});
|
|
661
|
+
var contentSchema = z9.union([textContentSchema, imageContentSchema]);
|
|
560
662
|
var chatMessageSchema = z9.object({
|
|
561
663
|
role: z9.enum(["user", "assistant", "system"]),
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
})).optional()
|
|
664
|
+
// New format: content can be string or array of content parts (OpenAI-compatible)
|
|
665
|
+
content: z9.union([z9.string(), z9.array(contentSchema)]),
|
|
666
|
+
// Legacy format: separate images field (deprecated but supported for backward compatibility)
|
|
667
|
+
images: z9.array(z9.object({ url: z9.string() })).optional()
|
|
566
668
|
});
|
|
567
669
|
var chatCompletionRequestSchema = z9.object({
|
|
568
670
|
model: z9.string(),
|
|
@@ -736,6 +838,198 @@ var functionUpdateRequestSchema = z13.object({
|
|
|
736
838
|
status: z13.enum(["draft", "active"]).optional()
|
|
737
839
|
});
|
|
738
840
|
|
|
841
|
+
// node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js
|
|
842
|
+
import { z as z14 } from "zod";
|
|
843
|
+
var appRouteChangeEventSchema = z14.object({
|
|
844
|
+
type: z14.literal("APP_ROUTE_CHANGE"),
|
|
845
|
+
path: z14.string()
|
|
846
|
+
});
|
|
847
|
+
var authSuccessEventSchema = z14.object({
|
|
848
|
+
type: z14.literal("AUTH_SUCCESS")
|
|
849
|
+
});
|
|
850
|
+
var authErrorEventSchema = z14.object({
|
|
851
|
+
type: z14.literal("AUTH_ERROR"),
|
|
852
|
+
message: z14.string()
|
|
853
|
+
});
|
|
854
|
+
var mcpConnectionStatusEventSchema = z14.object({
|
|
855
|
+
type: z14.literal("MCP_CONNECTION_STATUS"),
|
|
856
|
+
connected: z14.boolean(),
|
|
857
|
+
toolName: z14.string(),
|
|
858
|
+
timestamp: z14.union([z14.number(), z14.string()])
|
|
859
|
+
});
|
|
860
|
+
var showOnboardingOverlayEventSchema = z14.object({
|
|
861
|
+
type: z14.literal("SHOW_ONBOARDING_OVERLAY")
|
|
862
|
+
});
|
|
863
|
+
var showSettingsOverlayEventSchema = z14.object({
|
|
864
|
+
type: z14.literal("SHOW_SETTINGS_OVERLAY")
|
|
865
|
+
});
|
|
866
|
+
var onboardingSuccessSchema = z14.object({
|
|
867
|
+
type: z14.literal("ONBOARDING_SUCCESS")
|
|
868
|
+
});
|
|
869
|
+
var navigateToUsageSchema = z14.object({
|
|
870
|
+
type: z14.literal("NAVIGATE_TO_USAGE")
|
|
871
|
+
});
|
|
872
|
+
var cloudEventSchema = z14.discriminatedUnion("type", [
|
|
873
|
+
appRouteChangeEventSchema,
|
|
874
|
+
authSuccessEventSchema,
|
|
875
|
+
authErrorEventSchema,
|
|
876
|
+
mcpConnectionStatusEventSchema,
|
|
877
|
+
showOnboardingOverlayEventSchema,
|
|
878
|
+
showSettingsOverlayEventSchema,
|
|
879
|
+
onboardingSuccessSchema,
|
|
880
|
+
navigateToUsageSchema
|
|
881
|
+
]);
|
|
882
|
+
|
|
883
|
+
// node_modules/@insforge/shared-schemas/dist/realtime.schema.js
|
|
884
|
+
import { z as z15 } from "zod";
|
|
885
|
+
var senderTypeSchema = z15.enum(["system", "user"]);
|
|
886
|
+
var realtimeChannelSchema = z15.object({
|
|
887
|
+
id: z15.string().uuid(),
|
|
888
|
+
pattern: z15.string().min(1),
|
|
889
|
+
description: z15.string().nullable(),
|
|
890
|
+
webhookUrls: z15.array(z15.string().url()).nullable(),
|
|
891
|
+
enabled: z15.boolean(),
|
|
892
|
+
createdAt: z15.string(),
|
|
893
|
+
updatedAt: z15.string()
|
|
894
|
+
});
|
|
895
|
+
var realtimeMessageSchema = z15.object({
|
|
896
|
+
id: z15.string().uuid(),
|
|
897
|
+
eventName: z15.string().min(1),
|
|
898
|
+
channelId: z15.string().uuid().nullable(),
|
|
899
|
+
channelName: z15.string().min(1),
|
|
900
|
+
payload: z15.record(z15.string(), z15.unknown()),
|
|
901
|
+
senderType: senderTypeSchema,
|
|
902
|
+
senderId: z15.string().uuid().nullable(),
|
|
903
|
+
wsAudienceCount: z15.number().int().min(0),
|
|
904
|
+
whAudienceCount: z15.number().int().min(0),
|
|
905
|
+
whDeliveredCount: z15.number().int().min(0),
|
|
906
|
+
createdAt: z15.string()
|
|
907
|
+
});
|
|
908
|
+
var subscribeChannelPayloadSchema = z15.object({
|
|
909
|
+
channel: z15.string().min(1)
|
|
910
|
+
// The resolved channel instance, e.g., "order:123"
|
|
911
|
+
});
|
|
912
|
+
var unsubscribeChannelPayloadSchema = z15.object({
|
|
913
|
+
channel: z15.string().min(1)
|
|
914
|
+
// The resolved channel instance, e.g., "order:123"
|
|
915
|
+
});
|
|
916
|
+
var publishEventPayloadSchema = z15.object({
|
|
917
|
+
channel: z15.string().min(1),
|
|
918
|
+
event: z15.string().min(1),
|
|
919
|
+
payload: z15.record(z15.string(), z15.unknown())
|
|
920
|
+
});
|
|
921
|
+
var subscribeResponseSchema = z15.discriminatedUnion("ok", [
|
|
922
|
+
z15.object({
|
|
923
|
+
ok: z15.literal(true),
|
|
924
|
+
channel: z15.string().min(1)
|
|
925
|
+
}),
|
|
926
|
+
z15.object({
|
|
927
|
+
ok: z15.literal(false),
|
|
928
|
+
channel: z15.string().min(1),
|
|
929
|
+
error: z15.object({
|
|
930
|
+
code: z15.string().min(1),
|
|
931
|
+
message: z15.string().min(1)
|
|
932
|
+
})
|
|
933
|
+
})
|
|
934
|
+
]);
|
|
935
|
+
var realtimeErrorPayloadSchema = z15.object({
|
|
936
|
+
channel: z15.string().optional(),
|
|
937
|
+
code: z15.string().min(1),
|
|
938
|
+
message: z15.string().min(1)
|
|
939
|
+
});
|
|
940
|
+
var webhookMessageSchema = z15.object({
|
|
941
|
+
messageId: z15.string().uuid(),
|
|
942
|
+
channel: z15.string().min(1),
|
|
943
|
+
eventName: z15.string().min(1),
|
|
944
|
+
payload: z15.record(z15.string(), z15.unknown())
|
|
945
|
+
});
|
|
946
|
+
var socketMessageMetaSchema = z15.object({
|
|
947
|
+
channel: z15.string().optional(),
|
|
948
|
+
// Present for room broadcasts
|
|
949
|
+
messageId: z15.string().uuid(),
|
|
950
|
+
senderType: senderTypeSchema,
|
|
951
|
+
senderId: z15.string().uuid().optional(),
|
|
952
|
+
timestamp: z15.date()
|
|
953
|
+
});
|
|
954
|
+
var socketMessageSchema = z15.object({
|
|
955
|
+
meta: socketMessageMetaSchema
|
|
956
|
+
}).passthrough();
|
|
957
|
+
|
|
958
|
+
// node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js
|
|
959
|
+
import { z as z16 } from "zod";
|
|
960
|
+
var createChannelRequestSchema = z16.object({
|
|
961
|
+
pattern: z16.string().min(1, "Channel pattern is required"),
|
|
962
|
+
description: z16.string().optional(),
|
|
963
|
+
webhookUrls: z16.array(z16.string().url()).optional(),
|
|
964
|
+
enabled: z16.boolean().optional().default(true)
|
|
965
|
+
});
|
|
966
|
+
var updateChannelRequestSchema = z16.object({
|
|
967
|
+
pattern: z16.string().min(1).optional(),
|
|
968
|
+
description: z16.string().optional(),
|
|
969
|
+
webhookUrls: z16.array(z16.string().url()).optional(),
|
|
970
|
+
enabled: z16.boolean().optional()
|
|
971
|
+
});
|
|
972
|
+
var listChannelsResponseSchema = z16.array(realtimeChannelSchema);
|
|
973
|
+
var deleteChannelResponseSchema = z16.object({
|
|
974
|
+
message: z16.string()
|
|
975
|
+
});
|
|
976
|
+
var listMessagesRequestSchema = z16.object({
|
|
977
|
+
channelId: z16.string().uuid().optional(),
|
|
978
|
+
eventName: z16.string().optional(),
|
|
979
|
+
limit: z16.coerce.number().int().min(1).max(1e3).optional().default(100),
|
|
980
|
+
offset: z16.coerce.number().int().min(0).optional().default(0)
|
|
981
|
+
});
|
|
982
|
+
var listMessagesResponseSchema = z16.array(realtimeMessageSchema);
|
|
983
|
+
var messageStatsRequestSchema = z16.object({
|
|
984
|
+
channelId: z16.string().uuid().optional(),
|
|
985
|
+
since: z16.coerce.date().optional()
|
|
986
|
+
});
|
|
987
|
+
var messageStatsResponseSchema = z16.object({
|
|
988
|
+
totalMessages: z16.number().int().min(0),
|
|
989
|
+
whDeliveryRate: z16.number().min(0).max(1),
|
|
990
|
+
topEvents: z16.array(z16.object({
|
|
991
|
+
eventName: z16.string(),
|
|
992
|
+
count: z16.number().int().min(0)
|
|
993
|
+
}))
|
|
994
|
+
});
|
|
995
|
+
var rlsPolicySchema = z16.object({
|
|
996
|
+
policyName: z16.string(),
|
|
997
|
+
tableName: z16.string(),
|
|
998
|
+
command: z16.string(),
|
|
999
|
+
roles: z16.array(z16.string()),
|
|
1000
|
+
using: z16.string().nullable(),
|
|
1001
|
+
withCheck: z16.string().nullable()
|
|
1002
|
+
});
|
|
1003
|
+
var realtimePermissionsResponseSchema = z16.object({
|
|
1004
|
+
subscribe: z16.object({
|
|
1005
|
+
policies: z16.array(rlsPolicySchema)
|
|
1006
|
+
}),
|
|
1007
|
+
publish: z16.object({
|
|
1008
|
+
policies: z16.array(rlsPolicySchema)
|
|
1009
|
+
})
|
|
1010
|
+
});
|
|
1011
|
+
|
|
1012
|
+
// node_modules/@insforge/shared-schemas/dist/docs.schema.js
|
|
1013
|
+
import { z as z17 } from "zod";
|
|
1014
|
+
var docTypeSchema = z17.enum([
|
|
1015
|
+
"instructions",
|
|
1016
|
+
"db-sdk",
|
|
1017
|
+
"storage-sdk",
|
|
1018
|
+
"functions-sdk",
|
|
1019
|
+
"ai-integration-sdk",
|
|
1020
|
+
"auth-components-react",
|
|
1021
|
+
"real-time"
|
|
1022
|
+
]).describe(`
|
|
1023
|
+
Documentation type:
|
|
1024
|
+
"instructions" (essential backend setup - use FIRST),
|
|
1025
|
+
"db-sdk" (database operations),
|
|
1026
|
+
"storage-sdk" (file storage),
|
|
1027
|
+
"functions-sdk" (edge functions), "ai-integration-sdk" (AI features),
|
|
1028
|
+
"auth-components-react" (authentication components for React+Vite applications),
|
|
1029
|
+
"ai-integration-sdk" AI chat and image generation,
|
|
1030
|
+
"real-time" Real-time pub/sub (database + client events) via WebSockets
|
|
1031
|
+
`);
|
|
1032
|
+
|
|
739
1033
|
// src/shared/tools.ts
|
|
740
1034
|
import FormData from "form-data";
|
|
741
1035
|
var execAsync = promisify(exec);
|
|
@@ -890,9 +1184,7 @@ ${context}`
|
|
|
890
1184
|
"fetch-docs",
|
|
891
1185
|
'Fetch Insforge documentation. Use "instructions" for essential backend setup (MANDATORY FIRST), or select specific SDK docs for database, auth, storage, functions, or AI integration.',
|
|
892
1186
|
{
|
|
893
|
-
docType:
|
|
894
|
-
'Documentation type: "instructions" (essential backend setup - use FIRST), "db-sdk" (database operations), "storage-sdk" (file storage), "functions-sdk" (edge functions), "ai-integration-sdk" (AI features), "auth-components-react" (authentication components for React+Vite applications).'
|
|
895
|
-
)
|
|
1187
|
+
docType: docTypeSchema
|
|
896
1188
|
},
|
|
897
1189
|
withUsageTracking("fetch-docs", async ({ docType }) => {
|
|
898
1190
|
try {
|
|
@@ -925,7 +1217,7 @@ ${context}`
|
|
|
925
1217
|
"get-anon-key",
|
|
926
1218
|
"Generate an anonymous JWT token that never expires. Requires admin API key. Use this for client-side applications that need public access.",
|
|
927
1219
|
{
|
|
928
|
-
apiKey:
|
|
1220
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)")
|
|
929
1221
|
},
|
|
930
1222
|
withUsageTracking("get-anon-key", async ({ apiKey }) => {
|
|
931
1223
|
try {
|
|
@@ -964,8 +1256,8 @@ ${context}`
|
|
|
964
1256
|
"get-table-schema",
|
|
965
1257
|
"Returns the detailed schema(including RLS, indexes, constraints, etc.) of a specific table",
|
|
966
1258
|
{
|
|
967
|
-
apiKey:
|
|
968
|
-
tableName:
|
|
1259
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1260
|
+
tableName: z18.string().describe("Name of the table")
|
|
969
1261
|
},
|
|
970
1262
|
withUsageTracking("get-table-schema", async ({ apiKey, tableName }) => {
|
|
971
1263
|
try {
|
|
@@ -1003,7 +1295,7 @@ ${context}`
|
|
|
1003
1295
|
"get-backend-metadata",
|
|
1004
1296
|
"Index all backend metadata",
|
|
1005
1297
|
{
|
|
1006
|
-
apiKey:
|
|
1298
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)")
|
|
1007
1299
|
},
|
|
1008
1300
|
withUsageTracking("get-backend-metadata", async ({ apiKey }) => {
|
|
1009
1301
|
try {
|
|
@@ -1043,7 +1335,7 @@ ${JSON.stringify(metadata, null, 2)}`
|
|
|
1043
1335
|
"run-raw-sql",
|
|
1044
1336
|
"Execute raw SQL query with optional parameters. Admin access required. Use with caution as it can modify data directly.",
|
|
1045
1337
|
{
|
|
1046
|
-
apiKey:
|
|
1338
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1047
1339
|
...rawSQLRequestSchema.shape
|
|
1048
1340
|
},
|
|
1049
1341
|
withUsageTracking("run-raw-sql", async ({ apiKey, query, params }) => {
|
|
@@ -1088,8 +1380,8 @@ ${JSON.stringify(metadata, null, 2)}`
|
|
|
1088
1380
|
"download-template",
|
|
1089
1381
|
"CRITICAL: MANDATORY FIRST STEP for all new InsForge projects. Download pre-configured starter template (React) to a temporary directory. After download, you MUST copy files to current directory using the provided command.",
|
|
1090
1382
|
{
|
|
1091
|
-
frame:
|
|
1092
|
-
projectName:
|
|
1383
|
+
frame: z18.enum(["react"]).describe("Framework to use for the template (currently only React is supported)"),
|
|
1384
|
+
projectName: z18.string().optional().describe('Name for the project directory (optional, defaults to "insforge-react")')
|
|
1093
1385
|
},
|
|
1094
1386
|
withUsageTracking("download-template", async ({ frame, projectName }) => {
|
|
1095
1387
|
try {
|
|
@@ -1164,9 +1456,9 @@ To: Your current project directory
|
|
|
1164
1456
|
"bulk-upsert",
|
|
1165
1457
|
"Bulk insert or update data from CSV or JSON file. Supports upsert operations with a unique key.",
|
|
1166
1458
|
{
|
|
1167
|
-
apiKey:
|
|
1459
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1168
1460
|
...bulkUpsertRequestSchema.shape,
|
|
1169
|
-
filePath:
|
|
1461
|
+
filePath: z18.string().describe("Path to CSV or JSON file containing data to import")
|
|
1170
1462
|
},
|
|
1171
1463
|
withUsageTracking("bulk-upsert", async ({ apiKey, table, filePath, upsertKey }) => {
|
|
1172
1464
|
try {
|
|
@@ -1221,7 +1513,7 @@ To: Your current project directory
|
|
|
1221
1513
|
"create-bucket",
|
|
1222
1514
|
"Create new storage bucket",
|
|
1223
1515
|
{
|
|
1224
|
-
apiKey:
|
|
1516
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1225
1517
|
...createBucketRequestSchema.shape
|
|
1226
1518
|
},
|
|
1227
1519
|
withUsageTracking("create-bucket", async ({ apiKey, bucketName, isPublic }) => {
|
|
@@ -1297,8 +1589,8 @@ To: Your current project directory
|
|
|
1297
1589
|
"delete-bucket",
|
|
1298
1590
|
"Deletes a storage bucket",
|
|
1299
1591
|
{
|
|
1300
|
-
apiKey:
|
|
1301
|
-
bucketName:
|
|
1592
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1593
|
+
bucketName: z18.string().describe("Name of the bucket to delete")
|
|
1302
1594
|
},
|
|
1303
1595
|
withUsageTracking("delete-bucket", async ({ apiKey, bucketName }) => {
|
|
1304
1596
|
try {
|
|
@@ -1337,7 +1629,7 @@ To: Your current project directory
|
|
|
1337
1629
|
"Create a new edge function that runs in Deno runtime. The code must be written to a file first for version control",
|
|
1338
1630
|
{
|
|
1339
1631
|
...functionUploadRequestSchema.omit({ code: true }).shape,
|
|
1340
|
-
codeFile:
|
|
1632
|
+
codeFile: z18.string().describe(
|
|
1341
1633
|
"Path to JavaScript file containing the function code. Must export: module.exports = async function(request) { return new Response(...) }"
|
|
1342
1634
|
)
|
|
1343
1635
|
},
|
|
@@ -1395,7 +1687,7 @@ To: Your current project directory
|
|
|
1395
1687
|
"get-function",
|
|
1396
1688
|
"Get details of a specific edge function including its code",
|
|
1397
1689
|
{
|
|
1398
|
-
slug:
|
|
1690
|
+
slug: z18.string().describe("The slug identifier of the function")
|
|
1399
1691
|
},
|
|
1400
1692
|
withUsageTracking("get-function", async (args) => {
|
|
1401
1693
|
try {
|
|
@@ -1432,9 +1724,9 @@ To: Your current project directory
|
|
|
1432
1724
|
"update-function",
|
|
1433
1725
|
"Update an existing edge function code or metadata",
|
|
1434
1726
|
{
|
|
1435
|
-
slug:
|
|
1727
|
+
slug: z18.string().describe("The slug identifier of the function to update"),
|
|
1436
1728
|
...functionUpdateRequestSchema.omit({ code: true }).shape,
|
|
1437
|
-
codeFile:
|
|
1729
|
+
codeFile: z18.string().optional().describe(
|
|
1438
1730
|
"Path to JavaScript file containing the new function code. Must export: module.exports = async function(request) { return new Response(...) }"
|
|
1439
1731
|
)
|
|
1440
1732
|
},
|
|
@@ -1498,7 +1790,7 @@ To: Your current project directory
|
|
|
1498
1790
|
"delete-function",
|
|
1499
1791
|
"Delete an edge function permanently",
|
|
1500
1792
|
{
|
|
1501
|
-
slug:
|
|
1793
|
+
slug: z18.string().describe("The slug identifier of the function to delete")
|
|
1502
1794
|
},
|
|
1503
1795
|
withUsageTracking("delete-function", async (args) => {
|
|
1504
1796
|
try {
|
|
@@ -1535,9 +1827,9 @@ To: Your current project directory
|
|
|
1535
1827
|
"get-container-logs",
|
|
1536
1828
|
"Get latest logs from a specific container/service. Use this to help debug problems with your app.",
|
|
1537
1829
|
{
|
|
1538
|
-
apiKey:
|
|
1539
|
-
source:
|
|
1540
|
-
limit:
|
|
1830
|
+
apiKey: z18.string().optional().describe("API key for authentication (optional if provided via --api_key)"),
|
|
1831
|
+
source: z18.enum(["insforge.logs", "postgREST.logs", "postgres.logs", "function.logs"]).describe("Log source to retrieve"),
|
|
1832
|
+
limit: z18.number().optional().default(20).describe("Number of logs to return (default: 20)")
|
|
1541
1833
|
},
|
|
1542
1834
|
withUsageTracking("get-container-logs", async ({ apiKey, source, limit }) => {
|
|
1543
1835
|
try {
|
package/dist/http-server.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insforge/mcp",
|
|
3
|
-
"version": "1.2.1",
|
|
3
|
+
"version": "1.2.2-dev.1",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"server.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@insforge/shared-schemas": "^1.1.
|
|
39
|
+
"@insforge/shared-schemas": "^1.1.25",
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
41
41
|
"@types/express": "^5.0.3",
|
|
42
42
|
"commander": "^14.0.0",
|
package/LICENSE.md
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Support. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2024 Insforge
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|