@ganju/utils 0.0.14 → 0.0.15
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/channelCustomer.d.ts +99 -0
- package/dist/channelCustomer.d.ts.map +1 -0
- package/dist/channelCustomer.js +533 -0
- package/dist/channelDebounce.d.ts +7 -0
- package/dist/channelDebounce.d.ts.map +1 -1
- package/dist/chunkOverlap.d.ts +2 -0
- package/dist/chunkOverlap.d.ts.map +1 -0
- package/dist/chunkOverlap.js +9 -0
- package/dist/chunking.d.ts.map +1 -1
- package/dist/chunking.js +24 -4
- package/dist/citations.d.ts +28 -0
- package/dist/citations.d.ts.map +1 -0
- package/dist/citations.js +111 -0
- package/dist/constants.d.ts +26 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +107 -9
- package/dist/index.d.ts +263 -31
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +70 -0
- package/dist/jsonSchemaToZodShape.d.ts +5 -1
- package/dist/jsonSchemaToZodShape.d.ts.map +1 -1
- package/dist/jsonSchemaToZodShape.js +21 -9
- package/dist/pagination.d.ts +47 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +160 -0
- package/dist/processQueueBatch.d.ts +6 -1
- package/dist/processQueueBatch.d.ts.map +1 -1
- package/dist/processQueueBatch.js +23 -10
- package/dist/queueFailure.d.ts +14 -0
- package/dist/queueFailure.d.ts.map +1 -0
- package/dist/queueFailure.js +43 -0
- package/dist/resourceRerank.d.ts.map +1 -1
- package/dist/resourceRerank.js +3 -1
- package/dist/schema.d.ts +90 -26
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +87 -6
- package/dist/ssrf.d.ts +1 -0
- package/dist/ssrf.d.ts.map +1 -1
- package/dist/ssrf.js +48 -12
- package/dist/toolConfirmation.d.ts +48 -0
- package/dist/toolConfirmation.d.ts.map +1 -1
- package/dist/toolConfirmation.js +75 -1
- package/dist/toolCount.d.ts +13 -0
- package/dist/toolCount.d.ts.map +1 -0
- package/dist/toolCount.js +45 -0
- package/dist/toolLint.d.ts +1 -1
- package/dist/toolLint.d.ts.map +1 -1
- package/dist/toolLint.js +20 -0
- package/dist/untrustedContent.d.ts +135 -0
- package/dist/untrustedContent.d.ts.map +1 -0
- package/dist/untrustedContent.js +402 -0
- package/package.json +2 -1
- package/src/channelCustomer.ts +604 -0
- package/src/channelDebounce.ts +17 -0
- package/src/chunkOverlap.ts +6 -0
- package/src/chunking.ts +25 -4
- package/src/citations.ts +127 -0
- package/src/constants.ts +111 -9
- package/src/index.ts +152 -2
- package/src/jsonSchemaToZodShape.ts +31 -13
- package/src/pagination.ts +193 -0
- package/src/processQueueBatch.ts +42 -12
- package/src/queueFailure.ts +63 -0
- package/src/resourceRerank.ts +5 -1
- package/src/schema.ts +100 -4
- package/src/ssrf.ts +40 -11
- package/src/toolConfirmation.ts +123 -0
- package/src/toolCount.ts +53 -0
- package/src/toolLint.ts +27 -0
- package/src/untrustedContent.ts +476 -0
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import type { DiscordSendRequest, DiscordSendResponse, DiscordSendRemoteResource
|
|
|
10
10
|
import type { WhatsappSendRequest, WhatsappSendResponse, WhatsappSendRemoteResourceRequest } from './whatsappSend';
|
|
11
11
|
import { JsonSchema } from './jsonSchemaToZodShape';
|
|
12
12
|
import type { SchemaViolation } from './jsonSchemaToZodShape';
|
|
13
|
+
import { InvalidCursorError } from './pagination';
|
|
13
14
|
import type { CustomCodeTokenPayload } from './customCodeToken';
|
|
14
15
|
import type { ContainmentTokenPayload } from './containmentToken';
|
|
15
16
|
import type { OAuthProviderConfig } from './oauthProviders';
|
|
@@ -22,11 +23,14 @@ import type { CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolAnnotations,
|
|
|
22
23
|
import type { Separator, ChunkMetadata, PreparedChunk } from './chunking';
|
|
23
24
|
import type { RerankAiBinding } from './resourceRerank';
|
|
24
25
|
import type { RateLimitRetryOptions } from './retry';
|
|
25
|
-
import
|
|
26
|
+
import { PermanentJobError } from './queueFailure';
|
|
27
|
+
import type { QueueBatchLike, QueueFailureContext, QueueMessageLike, ProcessQueueBatchHandlers } from './processQueueBatch';
|
|
26
28
|
import type { ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource } from './extractedDocument';
|
|
27
29
|
import type { ChannelNotifier, ToolStatusEvent } from './channelNotifier';
|
|
28
|
-
import type { BufferedChannelMessage, BufferedChannelCommand, ChannelBufferEnvelope, ChannelBufferFlush } from './channelDebounce';
|
|
29
|
-
import type { PendingToolConfirmation, PendingToolConfirmations, ToolEffect } from './toolConfirmation';
|
|
30
|
+
import type { BufferedChannelMessage, BufferedChannelCommand, BufferedVoiceNote, ChannelBufferEnvelope, ChannelBufferFlush } from './channelDebounce';
|
|
31
|
+
import type { PendingToolConfirmation, PendingToolConfirmations, ToolEffect, ToolApprovalStatus, ProxiedToolTrust } from './toolConfirmation';
|
|
32
|
+
import type { InstructionWarning, LabelledToolResult } from './untrustedContent';
|
|
33
|
+
import type { ParticipantMemory, ParticipantMemoryUpdate } from './channelCustomer';
|
|
30
34
|
import type { LintableTool, ToolLintFinding, ToolLintOptions, ToolLintRule } from './toolLint';
|
|
31
35
|
import type { Source, ResourceUrlContext, SourceButton } from './sources';
|
|
32
36
|
import { OAuthReauthRequiredError } from './oauth';
|
|
@@ -136,6 +140,16 @@ export declare const utils: {
|
|
|
136
140
|
INVITATION_GET_BY_TOKEN: import("zod").ZodObject<{
|
|
137
141
|
token: import("zod").ZodString;
|
|
138
142
|
}, import("zod/v4/core").$strip>;
|
|
143
|
+
TOOL_APPROVAL_GET: import("zod").ZodObject<{
|
|
144
|
+
approvalId: import("zod").ZodUUID;
|
|
145
|
+
}, import("zod/v4/core").$strip>;
|
|
146
|
+
TOOL_APPROVAL_DECIDE: import("zod").ZodObject<{
|
|
147
|
+
approvalId: import("zod").ZodUUID;
|
|
148
|
+
decision: import("zod").ZodEnum<{
|
|
149
|
+
approve: "approve";
|
|
150
|
+
deny: "deny";
|
|
151
|
+
}>;
|
|
152
|
+
}, import("zod/v4/core").$strip>;
|
|
139
153
|
ORGANIZATION_MEMBER_LIST: import("zod").ZodObject<{
|
|
140
154
|
userId: import("zod").ZodUUID;
|
|
141
155
|
organizationId: import("zod").ZodUUID;
|
|
@@ -360,6 +374,11 @@ export declare const utils: {
|
|
|
360
374
|
organizationId: import("zod").ZodUUID;
|
|
361
375
|
}, import("zod/v4/core").$strip>;
|
|
362
376
|
ARTIFACT_CREATE_RESOURCE_VIEW: import("zod").ZodObject<{
|
|
377
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
378
|
+
static: "static";
|
|
379
|
+
template: "template";
|
|
380
|
+
}>>;
|
|
381
|
+
uri: import("zod").ZodString;
|
|
363
382
|
mimeType: import("zod").ZodEnum<{
|
|
364
383
|
"text/plain": "text/plain";
|
|
365
384
|
"text/csv": "text/csv";
|
|
@@ -401,26 +420,21 @@ export declare const utils: {
|
|
|
401
420
|
"application/octet-stream": "application/octet-stream";
|
|
402
421
|
}>;
|
|
403
422
|
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
423
|
+
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
424
|
+
FILE: "FILE";
|
|
425
|
+
WEBSITE: "WEBSITE";
|
|
426
|
+
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
427
|
+
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
428
|
+
CUSTOM_CODE: "CUSTOM_CODE";
|
|
408
429
|
}>>;
|
|
430
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
409
431
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
410
432
|
title: import("zod").ZodString;
|
|
411
|
-
uri: import("zod").ZodString;
|
|
412
433
|
crawlConfig: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
413
434
|
maxPages: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
414
435
|
maxDepth: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
415
436
|
}, import("zod/v4/core").$strip>>;
|
|
416
437
|
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
417
|
-
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
418
|
-
FILE: "FILE";
|
|
419
|
-
WEBSITE: "WEBSITE";
|
|
420
|
-
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
421
|
-
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
422
|
-
CUSTOM_CODE: "CUSTOM_CODE";
|
|
423
|
-
}>>;
|
|
424
438
|
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
425
439
|
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
426
440
|
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -621,6 +635,11 @@ export declare const utils: {
|
|
|
621
635
|
organizationId: import("zod").ZodUUID;
|
|
622
636
|
}, import("zod/v4/core").$strip>;
|
|
623
637
|
ARTIFACT_UPDATE_RESOURCE_VIEW: import("zod").ZodObject<{
|
|
638
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
639
|
+
static: "static";
|
|
640
|
+
template: "template";
|
|
641
|
+
}>>;
|
|
642
|
+
uri: import("zod").ZodString;
|
|
624
643
|
mimeType: import("zod").ZodEnum<{
|
|
625
644
|
"text/plain": "text/plain";
|
|
626
645
|
"text/csv": "text/csv";
|
|
@@ -662,15 +681,6 @@ export declare const utils: {
|
|
|
662
681
|
"application/octet-stream": "application/octet-stream";
|
|
663
682
|
}>;
|
|
664
683
|
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
665
|
-
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
666
|
-
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
667
|
-
static: "static";
|
|
668
|
-
template: "template";
|
|
669
|
-
}>>;
|
|
670
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
671
|
-
title: import("zod").ZodString;
|
|
672
|
-
uri: import("zod").ZodString;
|
|
673
|
-
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
674
684
|
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
675
685
|
FILE: "FILE";
|
|
676
686
|
WEBSITE: "WEBSITE";
|
|
@@ -678,6 +688,10 @@ export declare const utils: {
|
|
|
678
688
|
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
679
689
|
CUSTOM_CODE: "CUSTOM_CODE";
|
|
680
690
|
}>>;
|
|
691
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
692
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
693
|
+
title: import("zod").ZodString;
|
|
694
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
681
695
|
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
682
696
|
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
683
697
|
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -899,7 +913,9 @@ export declare const utils: {
|
|
|
899
913
|
}, import("zod/v4/core").$strip>;
|
|
900
914
|
CHANNEL_CONFIG: import("zod").ZodObject<{
|
|
901
915
|
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
902
|
-
|
|
916
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
917
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
918
|
+
}, import("zod/v4/core").$strict>;
|
|
903
919
|
CHANNEL_CREATE: import("zod").ZodObject<{
|
|
904
920
|
platform: import("zod").ZodEnum<{
|
|
905
921
|
slack: "slack";
|
|
@@ -909,7 +925,9 @@ export declare const utils: {
|
|
|
909
925
|
}>;
|
|
910
926
|
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
911
927
|
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
912
|
-
|
|
928
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
929
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
930
|
+
}, import("zod/v4/core").$strict>>;
|
|
913
931
|
credentials: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
914
932
|
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
915
933
|
projectId: import("zod").ZodUUID;
|
|
@@ -919,7 +937,9 @@ export declare const utils: {
|
|
|
919
937
|
CHANNEL_CREATE_VIEW: import("zod").ZodObject<{
|
|
920
938
|
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
921
939
|
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
922
|
-
|
|
940
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
941
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
942
|
+
}, import("zod/v4/core").$strict>>;
|
|
923
943
|
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
924
944
|
platform: import("zod").ZodEnum<{
|
|
925
945
|
slack: "slack";
|
|
@@ -936,7 +956,14 @@ export declare const utils: {
|
|
|
936
956
|
}>>;
|
|
937
957
|
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
938
958
|
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
939
|
-
|
|
959
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
960
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
961
|
+
}, import("zod/v4/core").$strict>>;
|
|
962
|
+
configPatch: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
963
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
964
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
965
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
966
|
+
}, import("zod/v4/core").$strict>>;
|
|
940
967
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
941
968
|
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
942
969
|
projectId: import("zod").ZodUUID;
|
|
@@ -949,9 +976,16 @@ export declare const utils: {
|
|
|
949
976
|
}>>;
|
|
950
977
|
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
951
978
|
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
952
|
-
|
|
979
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
980
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
981
|
+
}, import("zod/v4/core").$strict>>;
|
|
953
982
|
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
954
983
|
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
984
|
+
configPatch: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
985
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
986
|
+
participantDailyLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
987
|
+
participantMemory: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
988
|
+
}, import("zod/v4/core").$strict>>;
|
|
955
989
|
}, import("zod/v4/core").$strip>;
|
|
956
990
|
CHANNEL_GET: import("zod").ZodObject<{
|
|
957
991
|
projectId: import("zod").ZodUUID;
|
|
@@ -1489,6 +1523,8 @@ export declare const utils: {
|
|
|
1489
1523
|
kind: import("zod").ZodLiteral<"oauth">;
|
|
1490
1524
|
credentialId: import("zod").ZodUUID;
|
|
1491
1525
|
}, import("zod/v4/core").$strip>], "kind">>;
|
|
1526
|
+
trustAnnotations: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1527
|
+
readOnlyTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1492
1528
|
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1493
1529
|
}, import("zod/v4/core").$strip>;
|
|
1494
1530
|
CUSTOM_CODE_CONFIG: import("zod").ZodObject<{
|
|
@@ -1705,6 +1741,36 @@ export declare const utils: {
|
|
|
1705
1741
|
userId: import("zod").ZodUUID;
|
|
1706
1742
|
organizationId: import("zod").ZodUUID;
|
|
1707
1743
|
}, import("zod/v4/core").$strip>;
|
|
1744
|
+
PROJECT_TOOL_HEALTH: import("zod").ZodObject<{
|
|
1745
|
+
days: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1746
|
+
projectId: import("zod").ZodUUID;
|
|
1747
|
+
userId: import("zod").ZodUUID;
|
|
1748
|
+
organizationId: import("zod").ZodUUID;
|
|
1749
|
+
}, import("zod/v4/core").$strip>;
|
|
1750
|
+
PROJECT_TOOL_CALLS: import("zod").ZodObject<{
|
|
1751
|
+
tool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1752
|
+
status: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1753
|
+
all: "all";
|
|
1754
|
+
error: "error";
|
|
1755
|
+
}>>;
|
|
1756
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1757
|
+
after: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1758
|
+
projectId: import("zod").ZodUUID;
|
|
1759
|
+
userId: import("zod").ZodUUID;
|
|
1760
|
+
organizationId: import("zod").ZodUUID;
|
|
1761
|
+
}, import("zod/v4/core").$strip>;
|
|
1762
|
+
PROJECT_TOOL_CALL: import("zod").ZodObject<{
|
|
1763
|
+
requestId: import("zod").ZodUUID;
|
|
1764
|
+
projectId: import("zod").ZodUUID;
|
|
1765
|
+
userId: import("zod").ZodUUID;
|
|
1766
|
+
organizationId: import("zod").ZodUUID;
|
|
1767
|
+
}, import("zod/v4/core").$strip>;
|
|
1768
|
+
PROJECT_MCP_SESSION: import("zod").ZodObject<{
|
|
1769
|
+
sessionId: import("zod").ZodUUID;
|
|
1770
|
+
projectId: import("zod").ZodUUID;
|
|
1771
|
+
userId: import("zod").ZodUUID;
|
|
1772
|
+
organizationId: import("zod").ZodUUID;
|
|
1773
|
+
}, import("zod/v4/core").$strip>;
|
|
1708
1774
|
CUSTOM_CODE_INVOKE_REQUEST: import("zod").ZodObject<{
|
|
1709
1775
|
tool: import("zod").ZodString;
|
|
1710
1776
|
input: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2099,6 +2165,7 @@ export declare const utils: {
|
|
|
2099
2165
|
CRAWL_DEFAULT_MAX_DEPTH: number;
|
|
2100
2166
|
CRAWL_MAX_DEPTH_LIMIT: number;
|
|
2101
2167
|
CRAWL_PAGE_FETCH_TIMEOUT_MS: number;
|
|
2168
|
+
CRAWL_MAX_REDIRECTS: number;
|
|
2102
2169
|
CRAWL_PAGE_QUEUE_BATCH_SIZE: number;
|
|
2103
2170
|
CRAWL_USER_AGENT: string;
|
|
2104
2171
|
RESOURCE_ICON_THEME_DARK: string;
|
|
@@ -2116,6 +2183,7 @@ export declare const utils: {
|
|
|
2116
2183
|
TELEGRAM_MAX_FILE_BYTES: number;
|
|
2117
2184
|
RATE_LIMIT_BACKOFF_SECONDS: number;
|
|
2118
2185
|
TRANSIENT_BACKOFF_SECONDS: number;
|
|
2186
|
+
QUEUE_MAX_RETRIES: number;
|
|
2119
2187
|
ENCODINGS: string[];
|
|
2120
2188
|
ENCODING_UTF8: "utf-8";
|
|
2121
2189
|
CHANNEL_PLATFORM_TELEGRAM: "telegram";
|
|
@@ -2161,6 +2229,16 @@ export declare const utils: {
|
|
|
2161
2229
|
MCP_TOOL_CONFIRMATION_TTL_MS: number;
|
|
2162
2230
|
MCP_TOOL_CONFIRMATION_ARG: string;
|
|
2163
2231
|
MCP_TOOL_CONFIRMATION_ARG_DESCRIPTION: string;
|
|
2232
|
+
MCP_TOOL_CONFIRMATION_ARG_DESCRIPTION_CONDITIONAL: string;
|
|
2233
|
+
TOOL_APPROVAL_PATH: string;
|
|
2234
|
+
TOOL_APPROVAL_DECISION_APPROVE: string;
|
|
2235
|
+
TOOL_APPROVAL_DECISION_DENY: string;
|
|
2236
|
+
TOOL_APPROVAL_DECISIONS: readonly ["approve", "deny"];
|
|
2237
|
+
TOOL_APPROVAL_STATUS_PENDING: string;
|
|
2238
|
+
TOOL_APPROVAL_STATUS_APPROVED: string;
|
|
2239
|
+
TOOL_APPROVAL_STATUS_DENIED: string;
|
|
2240
|
+
TOOL_APPROVAL_STATUS_USED: string;
|
|
2241
|
+
TOOL_APPROVAL_STATUS_EXPIRED: string;
|
|
2164
2242
|
CHANNEL_DEBOUNCE_DEFAULT_MS: number;
|
|
2165
2243
|
CHANNEL_DEBOUNCE_MIN_MS: number;
|
|
2166
2244
|
CHANNEL_DEBOUNCE_MAX_MS: number;
|
|
@@ -2233,6 +2311,9 @@ export declare const utils: {
|
|
|
2233
2311
|
RESOURCE_SEARCH_COMMON_TERM_MIN: number;
|
|
2234
2312
|
RESOURCE_SEARCH_RERANK_CANDIDATES: number;
|
|
2235
2313
|
RESOURCE_SEARCH_RERANK_MODEL: string;
|
|
2314
|
+
RESOURCE_SEARCH_EXACT_MAX_RESOURCES: number;
|
|
2315
|
+
RESOURCE_SEARCH_EXACT_MAX_CHUNKS: number;
|
|
2316
|
+
RESOURCE_SEARCH_SUBSTRING_MAX_CHUNKS: number;
|
|
2236
2317
|
RESOURCE_HANDLER_SLEEP_AFTER: string;
|
|
2237
2318
|
DOCS_URL: string;
|
|
2238
2319
|
BASE64_DATA_URI_RE: RegExp;
|
|
@@ -2243,6 +2324,8 @@ export declare const utils: {
|
|
|
2243
2324
|
}[];
|
|
2244
2325
|
DEFAULT_MAX_TOKENS: number;
|
|
2245
2326
|
RESOURCE_TOOL_KEY_LIST_RESOURCES: string;
|
|
2327
|
+
LIST_RESOURCES_DEFAULT_LIMIT: number;
|
|
2328
|
+
LIST_RESOURCES_MAX_LIMIT: number;
|
|
2246
2329
|
RESOURCE_TOOL_KEY_SEARCH_RESOURCES: string;
|
|
2247
2330
|
RESOURCE_TOOL_KEY_READ_RESOURCE: string;
|
|
2248
2331
|
RESOURCE_TOOL_KEY_SEND_RESOURCE: string;
|
|
@@ -2416,6 +2499,7 @@ export declare const utils: {
|
|
|
2416
2499
|
MCP_INTERNAL_HEADER: string;
|
|
2417
2500
|
MCP_CHANNEL_ID_HEADER: string;
|
|
2418
2501
|
MCP_CHANNEL_PLATFORM_HEADER: string;
|
|
2502
|
+
MCP_CHANNEL_CONVERSATION_HEADER: string;
|
|
2419
2503
|
MCP_CHANNEL_CLIENT_USER_AGENT: string;
|
|
2420
2504
|
MCP_SESSION_HEADER: string;
|
|
2421
2505
|
MCP_REQUEST_METHOD_INITIALIZE: "initialize";
|
|
@@ -2453,6 +2537,14 @@ export declare const utils: {
|
|
|
2453
2537
|
ACCESS_TOKEN_SCOPE_MESSAGE: string;
|
|
2454
2538
|
CUSTOM_CODE_LOGS_DEFAULT_LIMIT: number;
|
|
2455
2539
|
CUSTOM_CODE_LOGS_MAX_LIMIT: number;
|
|
2540
|
+
OBSERVABILITY_RANGE_DAYS: number[];
|
|
2541
|
+
OBSERVABILITY_UNUSED_DAYS: number;
|
|
2542
|
+
OBSERVABILITY_FOLLOW_UP_SECONDS: number;
|
|
2543
|
+
OBSERVABILITY_SCHEMA_REJECTION_PREFIX: string;
|
|
2544
|
+
OBSERVABILITY_TOP_ERRORS: number;
|
|
2545
|
+
OBSERVABILITY_CALLS_DEFAULT_LIMIT: number;
|
|
2546
|
+
OBSERVABILITY_CALLS_MAX_LIMIT: number;
|
|
2547
|
+
OBSERVABILITY_SESSION_MAX_CALLS: number;
|
|
2456
2548
|
BOT_GRANT_TYPE: string;
|
|
2457
2549
|
EXTERNAL_LINK_VERIFICATION_PREFIX: string;
|
|
2458
2550
|
EXTERNAL_LINK_TTL_SECONDS: number;
|
|
@@ -2497,6 +2589,36 @@ export declare const utils: {
|
|
|
2497
2589
|
jsonSchemaToZodShape: (schema: JsonSchema) => Record<string, import("zod").ZodType>;
|
|
2498
2590
|
validateAgainstJsonSchema: (schema: JsonSchema, value: unknown) => SchemaViolation[];
|
|
2499
2591
|
buildProxyToolName: (prefix: string, remoteName: string) => string | null;
|
|
2592
|
+
countInstallTools: (install: {
|
|
2593
|
+
toolKey: string;
|
|
2594
|
+
config: unknown;
|
|
2595
|
+
metadata: unknown;
|
|
2596
|
+
}, customCodeFunctions?: string[]) => number;
|
|
2597
|
+
capText: (text: string, maxBytes: number, next?: string) => string;
|
|
2598
|
+
findNextCursor: (value: unknown) => string | undefined;
|
|
2599
|
+
paginate: <T>(items: T[], keyOf: (item: T) => string, options: {
|
|
2600
|
+
cursor?: string;
|
|
2601
|
+
limit?: number;
|
|
2602
|
+
defaultLimit: number;
|
|
2603
|
+
maxLimit: number;
|
|
2604
|
+
}) => {
|
|
2605
|
+
page: T[];
|
|
2606
|
+
nextCursor?: string;
|
|
2607
|
+
total: number;
|
|
2608
|
+
};
|
|
2609
|
+
InvalidCursorError: typeof InvalidCursorError;
|
|
2610
|
+
listResourcesPage: (resources: Array<{
|
|
2611
|
+
uri: string;
|
|
2612
|
+
title?: string | null;
|
|
2613
|
+
description?: string | null;
|
|
2614
|
+
mimeType?: string | null;
|
|
2615
|
+
}>, args: {
|
|
2616
|
+
cursor?: unknown;
|
|
2617
|
+
limit?: unknown;
|
|
2618
|
+
}, limits: {
|
|
2619
|
+
defaultLimit: number;
|
|
2620
|
+
maxLimit: number;
|
|
2621
|
+
}) => string;
|
|
2500
2622
|
mintCustomCodeToken: (payload: Omit<CustomCodeTokenPayload, "v" | "iat" | "exp"> & {
|
|
2501
2623
|
ttlMs?: number;
|
|
2502
2624
|
}, secret: string, issuedAt?: number) => Promise<string>;
|
|
@@ -2527,6 +2649,7 @@ export declare const utils: {
|
|
|
2527
2649
|
validateProjectPath: (path: string, taken?: Iterable<string>) => string | null;
|
|
2528
2650
|
projectPathIssue: (path: string, taken?: Iterable<string>) => ProjectPathIssue | null;
|
|
2529
2651
|
ipv4InPrivateRange: (host: string) => boolean;
|
|
2652
|
+
isBlockedUrl: (url: string) => boolean;
|
|
2530
2653
|
isBlockedHost: (hostname: string) => boolean;
|
|
2531
2654
|
requiresLlmBaseUrl: (provider?: string | null) => boolean;
|
|
2532
2655
|
isAllowedLlmBaseUrl: (value: string) => boolean;
|
|
@@ -3048,6 +3171,8 @@ export declare const utils: {
|
|
|
3048
3171
|
isRateLimitError: (err: unknown) => boolean;
|
|
3049
3172
|
withRateLimitRetry: <T>(fn: () => Promise<T>, options?: RateLimitRetryOptions) => Promise<T>;
|
|
3050
3173
|
processQueueBatch: <T>(batch: QueueBatchLike<T>, handlers: ProcessQueueBatchHandlers<T>) => Promise<void>;
|
|
3174
|
+
PermanentJobError: typeof PermanentJobError;
|
|
3175
|
+
isPermanentJobError: (error: unknown) => boolean;
|
|
3051
3176
|
getToolStatusMessage: (toolName: string) => string | null;
|
|
3052
3177
|
resolveDebounceMs: (config: unknown) => number;
|
|
3053
3178
|
channelBufferKey: (channelId: string, externalConversationId: string, externalParticipantId: string) => string;
|
|
@@ -3079,9 +3204,113 @@ export declare const utils: {
|
|
|
3079
3204
|
readOnlyHint?: boolean;
|
|
3080
3205
|
destructiveHint?: boolean;
|
|
3081
3206
|
} | null | undefined) => boolean;
|
|
3207
|
+
proxiedToolAnnotations: <T extends {
|
|
3208
|
+
readOnlyHint?: boolean;
|
|
3209
|
+
destructiveHint?: boolean;
|
|
3210
|
+
}>(annotations: T | null | undefined, trust: ProxiedToolTrust) => Partial<T> | undefined;
|
|
3211
|
+
proxiedToolTrust: (config: {
|
|
3212
|
+
trustAnnotations?: unknown;
|
|
3213
|
+
readOnlyTools?: unknown;
|
|
3214
|
+
} | null | undefined, remoteToolName: string) => ProxiedToolTrust;
|
|
3215
|
+
isSensitiveProxiedTool: (annotations: {
|
|
3216
|
+
readOnlyHint?: boolean;
|
|
3217
|
+
destructiveHint?: boolean;
|
|
3218
|
+
} | null | undefined, trust: ProxiedToolTrust) => boolean;
|
|
3219
|
+
keepProxiedToolMarks: (stored: unknown, incoming: unknown) => unknown;
|
|
3220
|
+
toolApprovalStatus: (approval: {
|
|
3221
|
+
expiresAt: Date;
|
|
3222
|
+
approvedAt: Date | null;
|
|
3223
|
+
deniedAt: Date | null;
|
|
3224
|
+
usedAt: Date | null;
|
|
3225
|
+
}, now?: number) => ToolApprovalStatus;
|
|
3226
|
+
toolApprovalUrl: (webUrl: string, path: string, approvalId: string) => string;
|
|
3082
3227
|
stableJson: (value: unknown) => string;
|
|
3228
|
+
wrapUntrustedContent: (source: string, text: string) => string;
|
|
3229
|
+
unwrapUntrustedContent: (text: string) => string;
|
|
3230
|
+
isUntrustedToolResult: (result: unknown) => boolean;
|
|
3231
|
+
findInstructionLikeText: (text: string) => string[];
|
|
3232
|
+
UNTRUSTED_CONTENT_TAG: string;
|
|
3233
|
+
UNTRUSTED_CONTENT_META_KEY: string;
|
|
3234
|
+
UNTRUSTED_CONTENT_NOTE: string;
|
|
3235
|
+
INSTRUCTION_WARNING_METADATA_KEY: string;
|
|
3236
|
+
untrustedToolResult: (source: string, text: string, options?: {
|
|
3237
|
+
flag?: boolean;
|
|
3238
|
+
}) => {
|
|
3239
|
+
content: Array<{
|
|
3240
|
+
type: "text";
|
|
3241
|
+
text: string;
|
|
3242
|
+
}>;
|
|
3243
|
+
_meta?: Record<string, unknown>;
|
|
3244
|
+
};
|
|
3245
|
+
ownWritingToolResult: (source: string, text: string) => {
|
|
3246
|
+
content: Array<{
|
|
3247
|
+
type: "text";
|
|
3248
|
+
text: string;
|
|
3249
|
+
}>;
|
|
3250
|
+
_meta?: Record<string, unknown>;
|
|
3251
|
+
};
|
|
3252
|
+
labelOwnToolResult: <T extends LabelledToolResult>(result: T, source: string) => T;
|
|
3253
|
+
labelProxiedToolResult: (raw: {
|
|
3254
|
+
content?: unknown;
|
|
3255
|
+
structuredContent?: unknown;
|
|
3256
|
+
isError?: boolean;
|
|
3257
|
+
}, source: string, maxBytes: number) => LabelledToolResult;
|
|
3258
|
+
untrustedErrorResult: (message: string, source: string, detail: string, options?: {
|
|
3259
|
+
flag?: boolean;
|
|
3260
|
+
}) => {
|
|
3261
|
+
content: Array<{
|
|
3262
|
+
type: "text";
|
|
3263
|
+
text: string;
|
|
3264
|
+
}>;
|
|
3265
|
+
isError: true;
|
|
3266
|
+
_meta?: Record<string, unknown>;
|
|
3267
|
+
};
|
|
3268
|
+
readsLikeInstructions: (text: string) => boolean;
|
|
3269
|
+
labelResourceContents: <T extends {
|
|
3270
|
+
[key: string]: unknown;
|
|
3271
|
+
uri: string;
|
|
3272
|
+
text?: string;
|
|
3273
|
+
}>(contents: T[]) => {
|
|
3274
|
+
contents: T[];
|
|
3275
|
+
instructionLike: boolean;
|
|
3276
|
+
};
|
|
3277
|
+
PARTICIPANT_DAILY_LIMIT_DEFAULT: number;
|
|
3278
|
+
PARTICIPANT_DAILY_LIMIT_MAX: number;
|
|
3279
|
+
PARTICIPANT_DAILY_LIMIT_OFF: number;
|
|
3280
|
+
PARTICIPANT_DAILY_LIMIT_WINDOW_MS: number;
|
|
3281
|
+
PARTICIPANT_LIMIT_METADATA_KEY: string;
|
|
3282
|
+
resolveParticipantDailyLimit: (config: unknown) => number | null;
|
|
3283
|
+
resolveParticipantMemoryEnabled: (config: unknown) => boolean;
|
|
3284
|
+
VOICE_NOTE_MAX_BYTES: number;
|
|
3285
|
+
VOICE_NOTE_MAX_SECONDS: number;
|
|
3286
|
+
audioDurationSeconds: (bytes: Uint8Array) => number | null;
|
|
3287
|
+
oggDurationSeconds: (bytes: Uint8Array) => number | null;
|
|
3288
|
+
VOICE_NOTE_TRANSCRIPTION_PROMPT: string;
|
|
3289
|
+
VOICE_NOTE_METADATA_KEY: string;
|
|
3290
|
+
VOICE_NOTE_UNREADABLE_METADATA_KEY: string;
|
|
3291
|
+
PARTICIPANT_MEMORY_TOOL_NAME: string;
|
|
3292
|
+
PARTICIPANT_MEMORY_MAX_FACTS: number;
|
|
3293
|
+
PARTICIPANT_MEMORY_TOOL_DESCRIPTION: string;
|
|
3294
|
+
PARTICIPANT_MEMORY_TOOL_SCHEMA: Record<string, unknown>;
|
|
3295
|
+
PARTICIPANT_MEMORY_GROUP_NOTE: string;
|
|
3296
|
+
readParticipantMemory: (value: unknown) => ParticipantMemory;
|
|
3297
|
+
applyParticipantMemoryUpdate: (current: ParticipantMemory, args: unknown, now?: Date) => {
|
|
3298
|
+
memory: ParticipantMemory;
|
|
3299
|
+
changed: boolean;
|
|
3300
|
+
result: string;
|
|
3301
|
+
};
|
|
3302
|
+
redactParticipantMemoryArgs: (args: unknown) => Record<string, unknown>;
|
|
3303
|
+
redactParticipantMemoryConfirmation: (record: unknown) => Record<string, unknown> | null;
|
|
3304
|
+
participantMemoryUpdateReadsLikeInstructions: (args: unknown) => boolean;
|
|
3305
|
+
CONVERSATION_UNTRUSTED_WINDOW_MS: number;
|
|
3306
|
+
CONVERSATION_UNTRUSTED_READ_AT_KEY: string;
|
|
3307
|
+
conversationReadUntrustedRecently: (metadata: unknown, now?: Date) => boolean;
|
|
3308
|
+
formatParticipantMemoryPrompt: (memory: ParticipantMemory) => string;
|
|
3309
|
+
participantLimitNotice: (locale?: string | null) => string;
|
|
3310
|
+
voiceNoteUnreadableNotice: (locale?: string | null) => string;
|
|
3311
|
+
voiceNoteTooLongNotice: (locale?: string | null) => string;
|
|
3083
3312
|
lintTools: (tools: LintableTool[], options?: ToolLintOptions) => ToolLintFinding[];
|
|
3084
|
-
TOOL_LINT_RULES: readonly ["missing-description", "short-description", "no-usage-guidance", "missing-annotations", "undescribed-input", "overlapping-tools", "too-many-tools"];
|
|
3313
|
+
TOOL_LINT_RULES: readonly ["missing-description", "short-description", "no-usage-guidance", "missing-annotations", "undescribed-input", "reserved-input", "overlapping-tools", "too-many-tools"];
|
|
3085
3314
|
TOOL_LINT_MAX_TOOLS: number;
|
|
3086
3315
|
TOOL_LINT_MIN_DESCRIPTION_LENGTH: number;
|
|
3087
3316
|
isResourceSourceEnabled: (resource: {
|
|
@@ -3094,6 +3323,9 @@ export declare const utils: {
|
|
|
3094
3323
|
formatSourcesAsButtons: (sources: Source[], ctx: ResourceUrlContext, options?: {
|
|
3095
3324
|
maxLabelLength?: number;
|
|
3096
3325
|
}) => SourceButton[];
|
|
3326
|
+
citesUrl: (answer: string, url: string) => boolean;
|
|
3327
|
+
citedPages: (answer: string) => Set<number>;
|
|
3328
|
+
selectCitedSources: (sources: Source[], answerText: string) => Source[];
|
|
3097
3329
|
refreshOAuthToken: (input: RefreshOAuthTokenInput) => Promise<RefreshedOAuthToken>;
|
|
3098
3330
|
OAuthReauthRequiredError: typeof OAuthReauthRequiredError;
|
|
3099
3331
|
buildReauthMetadata: (previous: Record<string, unknown> | null, reason: string) => Record<string, unknown>;
|
|
@@ -3108,5 +3340,5 @@ export declare const utils: {
|
|
|
3108
3340
|
PlanLimitError: typeof PlanLimitError;
|
|
3109
3341
|
isPlanLimitError: (error: unknown) => error is PlanLimitError;
|
|
3110
3342
|
};
|
|
3111
|
-
export type { MintedAccessToken, CustomCodeProject, ProjectPathIssue, CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolAnnotations, PendingToolConfirmation, PendingToolConfirmations, ToolEffect, LintableTool, ToolLintFinding, ToolLintOptions, ToolLintRule, ToolGroupKey, ToolKey, CalendarConfigField, JsonSchema, SchemaViolation, MimeAttachment, MimeMessageInput, GmailOperation, GmailSendRequest, GmailSendResponse, OutlookOperation, OutlookSendRequest, OutlookSendResponse, SlackOperation, SlackSendRequest, SlackSendResponse, SlackSendRemoteResourceRequest, TelegramSendRequest, TelegramSendResponse, TelegramSendRemoteResourceRequest, DiscordSendRequest, DiscordSendResponse, DiscordSendRemoteResourceRequest, WhatsappSendRequest, WhatsappSendResponse, WhatsappSendRemoteResourceRequest, EnvSource, Separator, ChunkMetadata, PreparedChunk, ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource, RateLimitRetryOptions, RerankAiBinding, QueueBatchLike, QueueMessageLike, ProcessQueueBatchHandlers, ChannelNotifier, ToolStatusEvent, BufferedChannelMessage, BufferedChannelCommand, ChannelBufferEnvelope, ChannelBufferFlush, Source, ResourceUrlContext, SourceButton, RefreshOAuthTokenInput, RefreshedOAuthToken, HttpEndpointToolConfig, McpProxyToolConfig, McpProxyDiscoveredTool, McpProxyDiscoveredResource, McpProxyDiscoveredPrompt, McpProxyDiscovery, CustomCodeToolConfig, CustomCodeToolManifest, CustomCodeManifest, CustomCodeSendFile, CustomCodeCreateResource, CustomCodeTokenPayload, ContainmentTokenPayload, OAuthProviderConfig, AttachmentResource, ResolvedAttachment, ResolveAttachmentResult, ExposableResource, SyncableResource, ResourceSyncProvider, PlanLimitDetails, PlanLimits };
|
|
3343
|
+
export type { ParticipantMemory, ParticipantMemoryUpdate, InstructionWarning, LabelledToolResult, MintedAccessToken, CustomCodeProject, ProjectPathIssue, CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolAnnotations, PendingToolConfirmation, PendingToolConfirmations, ToolEffect, ToolApprovalStatus, ProxiedToolTrust, LintableTool, ToolLintFinding, ToolLintOptions, ToolLintRule, ToolGroupKey, ToolKey, CalendarConfigField, JsonSchema, SchemaViolation, MimeAttachment, MimeMessageInput, GmailOperation, GmailSendRequest, GmailSendResponse, OutlookOperation, OutlookSendRequest, OutlookSendResponse, SlackOperation, SlackSendRequest, SlackSendResponse, SlackSendRemoteResourceRequest, TelegramSendRequest, TelegramSendResponse, TelegramSendRemoteResourceRequest, DiscordSendRequest, DiscordSendResponse, DiscordSendRemoteResourceRequest, WhatsappSendRequest, WhatsappSendResponse, WhatsappSendRemoteResourceRequest, EnvSource, Separator, ChunkMetadata, PreparedChunk, ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource, RateLimitRetryOptions, RerankAiBinding, QueueBatchLike, QueueFailureContext, QueueMessageLike, ProcessQueueBatchHandlers, ChannelNotifier, ToolStatusEvent, BufferedChannelMessage, BufferedChannelCommand, BufferedVoiceNote, ChannelBufferEnvelope, ChannelBufferFlush, Source, ResourceUrlContext, SourceButton, RefreshOAuthTokenInput, RefreshedOAuthToken, HttpEndpointToolConfig, McpProxyToolConfig, McpProxyDiscoveredTool, McpProxyDiscoveredResource, McpProxyDiscoveredPrompt, McpProxyDiscovery, CustomCodeToolConfig, CustomCodeToolManifest, CustomCodeManifest, CustomCodeSendFile, CustomCodeCreateResource, CustomCodeTokenPayload, ContainmentTokenPayload, OAuthProviderConfig, AttachmentResource, ResolvedAttachment, ResolveAttachmentResult, ExposableResource, SyncableResource, ResourceSyncProvider, PlanLimitDetails, PlanLimits };
|
|
3112
3344
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAyCvD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,iCAAiC,EAClC,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,iCAAiC,EAClC,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EACL,UAAU,EAGX,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAyCvD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,iCAAiC,EAClC,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACV,cAAc,E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