@ganju/utils 0.0.10 → 0.0.11
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/constants.d.ts +9 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +63 -0
- package/dist/index.d.ts +140 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/schema.d.ts +67 -2
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +30 -4
- package/dist/syncableResource.d.ts +5 -0
- package/dist/syncableResource.d.ts.map +1 -1
- package/dist/syncableResource.js +13 -1
- package/dist/toolCatalog.d.ts +69 -0
- package/dist/toolCatalog.d.ts.map +1 -1
- package/dist/toolCatalog.js +150 -62
- package/dist/toolConfirmation.d.ts +47 -0
- package/dist/toolConfirmation.d.ts.map +1 -0
- package/dist/toolConfirmation.js +217 -0
- package/package.json +1 -1
- package/src/constants.ts +68 -0
- package/src/index.ts +34 -1
- package/src/schema.ts +41 -6
- package/src/syncableResource.ts +20 -0
- package/src/toolCatalog.ts +169 -62
- package/src/toolConfirmation.ts +261 -0
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type { SyncableResource, ResourceSyncProvider } from './syncableResource'
|
|
|
18
18
|
import type { CustomCodeProject, ProjectPathIssue } from './customCodeProject';
|
|
19
19
|
import type { AttachmentResource, ResolvedAttachment, ResolveAttachmentResult } from './attachment';
|
|
20
20
|
import type { MintedAccessToken } from './accessToken';
|
|
21
|
-
import type { CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolGroupKey, ToolKey } from './toolCatalog';
|
|
21
|
+
import type { CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolAnnotations, ToolGroupKey, ToolKey } from './toolCatalog';
|
|
22
22
|
import type { Separator, ChunkMetadata, PreparedChunk } from './chunking';
|
|
23
23
|
import type { RerankAiBinding } from './resourceRerank';
|
|
24
24
|
import type { RateLimitRetryOptions } from './retry';
|
|
@@ -26,6 +26,7 @@ import type { QueueBatchLike, QueueMessageLike, ProcessQueueBatchHandlers } from
|
|
|
26
26
|
import type { ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource } from './extractedDocument';
|
|
27
27
|
import type { ChannelNotifier, ToolStatusEvent } from './channelNotifier';
|
|
28
28
|
import type { BufferedChannelMessage, BufferedChannelCommand, ChannelBufferEnvelope, ChannelBufferFlush } from './channelDebounce';
|
|
29
|
+
import type { PendingToolConfirmation, PendingToolConfirmations, ToolEffect } from './toolConfirmation';
|
|
29
30
|
import type { Source, ResourceUrlContext, SourceButton } from './sources';
|
|
30
31
|
import { OAuthReauthRequiredError } from './oauth';
|
|
31
32
|
import type { RefreshOAuthTokenInput, RefreshedOAuthToken } from './oauth';
|
|
@@ -54,7 +55,8 @@ export declare const utils: {
|
|
|
54
55
|
ORGANIZATION_UPDATE: import("zod").ZodObject<{
|
|
55
56
|
id: import("zod").ZodUUID;
|
|
56
57
|
userId: import("zod").ZodUUID;
|
|
57
|
-
name: import("zod").ZodString
|
|
58
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
requireToolConfirmation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
58
60
|
}, import("zod/v4/core").$strip>;
|
|
59
61
|
ORGANIZATION_GET: import("zod").ZodObject<{
|
|
60
62
|
id: import("zod").ZodUUID;
|
|
@@ -1067,6 +1069,11 @@ export declare const utils: {
|
|
|
1067
1069
|
jsonPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1068
1070
|
successStatus: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
1069
1071
|
}, import("zod/v4/core").$strip>>;
|
|
1072
|
+
effect: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1073
|
+
read: "read";
|
|
1074
|
+
write: "write";
|
|
1075
|
+
sensitive: "sensitive";
|
|
1076
|
+
}>>;
|
|
1070
1077
|
auth: import("zod").ZodDefault<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1071
1078
|
kind: import("zod").ZodLiteral<"none">;
|
|
1072
1079
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1155,6 +1162,7 @@ export declare const utils: {
|
|
|
1155
1162
|
pattern?: string | undefined;
|
|
1156
1163
|
enum?: any[] | undefined;
|
|
1157
1164
|
} | undefined;
|
|
1165
|
+
effect?: "read" | "write" | "sensitive" | undefined;
|
|
1158
1166
|
allowedHosts?: string[] | undefined;
|
|
1159
1167
|
}, {
|
|
1160
1168
|
name: string;
|
|
@@ -1222,6 +1230,7 @@ export declare const utils: {
|
|
|
1222
1230
|
pattern?: string | undefined;
|
|
1223
1231
|
enum?: any[] | undefined;
|
|
1224
1232
|
} | undefined;
|
|
1233
|
+
effect?: "read" | "write" | "sensitive" | undefined;
|
|
1225
1234
|
allowedHosts?: string[] | undefined;
|
|
1226
1235
|
}>>;
|
|
1227
1236
|
HTTP_ENDPOINT_CONFIG_WRITE: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
@@ -1291,6 +1300,11 @@ export declare const utils: {
|
|
|
1291
1300
|
jsonPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1292
1301
|
successStatus: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
1293
1302
|
}, import("zod/v4/core").$strip>>;
|
|
1303
|
+
effect: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1304
|
+
read: "read";
|
|
1305
|
+
write: "write";
|
|
1306
|
+
sensitive: "sensitive";
|
|
1307
|
+
}>>;
|
|
1294
1308
|
auth: import("zod").ZodDefault<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1295
1309
|
kind: import("zod").ZodLiteral<"none">;
|
|
1296
1310
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1379,6 +1393,7 @@ export declare const utils: {
|
|
|
1379
1393
|
pattern?: string | undefined;
|
|
1380
1394
|
enum?: any[] | undefined;
|
|
1381
1395
|
} | undefined;
|
|
1396
|
+
effect?: "read" | "write" | "sensitive" | undefined;
|
|
1382
1397
|
allowedHosts?: string[] | undefined;
|
|
1383
1398
|
}, {
|
|
1384
1399
|
name: string;
|
|
@@ -1446,6 +1461,7 @@ export declare const utils: {
|
|
|
1446
1461
|
pattern?: string | undefined;
|
|
1447
1462
|
enum?: any[] | undefined;
|
|
1448
1463
|
} | undefined;
|
|
1464
|
+
effect?: "read" | "write" | "sensitive" | undefined;
|
|
1449
1465
|
allowedHosts?: string[] | undefined;
|
|
1450
1466
|
}>>;
|
|
1451
1467
|
MCP_PROXY_CONFIG: import("zod").ZodObject<{
|
|
@@ -1528,7 +1544,19 @@ export declare const utils: {
|
|
|
1528
1544
|
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1529
1545
|
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1530
1546
|
}, import("zod/v4/core").$strip>>;
|
|
1531
|
-
|
|
1547
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1548
|
+
readOnlyHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1549
|
+
destructiveHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1550
|
+
idempotentHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1551
|
+
openWorldHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1552
|
+
}, import("zod/v4/core").$strict>>;
|
|
1553
|
+
}, import("zod/v4/core").$strip>;
|
|
1554
|
+
TOOL_ANNOTATIONS: import("zod").ZodObject<{
|
|
1555
|
+
readOnlyHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1556
|
+
destructiveHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1557
|
+
idempotentHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1558
|
+
openWorldHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1559
|
+
}, import("zod/v4/core").$strict>;
|
|
1532
1560
|
CUSTOM_CODE_MANIFEST: import("zod").ZodObject<{
|
|
1533
1561
|
tools: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1534
1562
|
name: import("zod").ZodString;
|
|
@@ -1562,6 +1590,12 @@ export declare const utils: {
|
|
|
1562
1590
|
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1563
1591
|
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1564
1592
|
}, import("zod/v4/core").$strip>>;
|
|
1593
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1594
|
+
readOnlyHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1595
|
+
destructiveHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1596
|
+
idempotentHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1597
|
+
openWorldHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1598
|
+
}, import("zod/v4/core").$strict>>;
|
|
1565
1599
|
}, import("zod/v4/core").$strip>>;
|
|
1566
1600
|
}, import("zod/v4/core").$strip>;
|
|
1567
1601
|
ARTIFACT_CUSTOM_CODE_CREATE_VERSION: import("zod").ZodObject<{
|
|
@@ -1598,6 +1632,12 @@ export declare const utils: {
|
|
|
1598
1632
|
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1599
1633
|
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1600
1634
|
}, import("zod/v4/core").$strip>>;
|
|
1635
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1636
|
+
readOnlyHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1637
|
+
destructiveHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1638
|
+
idempotentHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1639
|
+
openWorldHint: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1640
|
+
}, import("zod/v4/core").$strict>>;
|
|
1601
1641
|
}, import("zod/v4/core").$strip>>;
|
|
1602
1642
|
}, import("zod/v4/core").$strip>;
|
|
1603
1643
|
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -2049,6 +2089,7 @@ export declare const utils: {
|
|
|
2049
2089
|
};
|
|
2050
2090
|
RESOURCE_SYNC_BATCH_SIZE: number;
|
|
2051
2091
|
RESOURCE_SYNC_MANUAL_COOLDOWN_MS: number;
|
|
2092
|
+
RESOURCE_SYNC_STALE_MS: number;
|
|
2052
2093
|
CRAWL_RENDERER_CHEERIO: "cheerio";
|
|
2053
2094
|
CRAWL_RENDERER_PLAYWRIGHT: "playwright";
|
|
2054
2095
|
CRAWL_RENDERERS: ("cheerio" | "playwright")[];
|
|
@@ -2111,6 +2152,11 @@ export declare const utils: {
|
|
|
2111
2152
|
SHARED_KEY_HISTORY_LIMIT: number;
|
|
2112
2153
|
SHARED_KEY_MAX_TOOL_LOOPS: number;
|
|
2113
2154
|
CHANNEL_MAX_TOOLS: number;
|
|
2155
|
+
TOOL_CONFIRMATION_TTL_MS: number;
|
|
2156
|
+
TOOL_CONFIRMATION_REQUIRED_RESULT: string;
|
|
2157
|
+
TOOL_CONFIRMATION_FALLBACK_QUESTION: string;
|
|
2158
|
+
TOOL_CONFIRMATION_ASK_INSTRUCTION: string;
|
|
2159
|
+
TOOL_CONFIRMATION_SYSTEM_NOTE: string;
|
|
2114
2160
|
CHANNEL_DEBOUNCE_DEFAULT_MS: number;
|
|
2115
2161
|
CHANNEL_DEBOUNCE_MIN_MS: number;
|
|
2116
2162
|
CHANNEL_DEBOUNCE_MAX_MS: number;
|
|
@@ -2143,8 +2189,10 @@ export declare const utils: {
|
|
|
2143
2189
|
DISCORD_TIMESTAMP_HEADER: string;
|
|
2144
2190
|
DISCORD_INTERACTION_TYPE_PING: number;
|
|
2145
2191
|
DISCORD_INTERACTION_TYPE_APPLICATION_COMMAND: number;
|
|
2192
|
+
DISCORD_INTERACTION_TYPE_MESSAGE_COMPONENT: number;
|
|
2146
2193
|
DISCORD_INTERACTION_RESPONSE_PONG: number;
|
|
2147
2194
|
DISCORD_INTERACTION_RESPONSE_DEFERRED: number;
|
|
2195
|
+
DISCORD_INTERACTION_RESPONSE_UPDATE_MESSAGE: number;
|
|
2148
2196
|
DISCORD_CHANNEL_TYPE_DM: number;
|
|
2149
2197
|
DISCORD_CHANNEL_TYPE_GROUP_DM: number;
|
|
2150
2198
|
DISCORD_GATEWAY_OP_DISPATCH: number;
|
|
@@ -2159,6 +2207,7 @@ export declare const utils: {
|
|
|
2159
2207
|
WHATSAPP_API_BASE: string;
|
|
2160
2208
|
WHATSAPP_API_VERSION: string;
|
|
2161
2209
|
WHATSAPP_MESSAGE_LIMIT: number;
|
|
2210
|
+
WHATSAPP_INTERACTIVE_BODY_LIMIT: number;
|
|
2162
2211
|
WHATSAPP_SIGNATURE_HEADER: string;
|
|
2163
2212
|
WHATSAPP_SIGNATURE_PREFIX: string;
|
|
2164
2213
|
WHATSAPP_HUB_MODE_PARAM: string;
|
|
@@ -2458,6 +2507,11 @@ export declare const utils: {
|
|
|
2458
2507
|
resolveAttachment: (resource: AttachmentResource, readObject: (key: string) => Promise<ArrayBuffer | null>, verb?: "attach" | "upload") => Promise<ResolveAttachmentResult>;
|
|
2459
2508
|
isExposedResource: (resource: ExposableResource) => boolean;
|
|
2460
2509
|
isSyncableResource: (resource: SyncableResource) => boolean;
|
|
2510
|
+
isResourceSyncInProgress: (resource: {
|
|
2511
|
+
status: string;
|
|
2512
|
+
syncStartedAt?: Date | string | null;
|
|
2513
|
+
createdAt: Date | string;
|
|
2514
|
+
}, now?: number) => boolean;
|
|
2461
2515
|
resourceSyncProvider: (resource: SyncableResource) => ResourceSyncProvider | null;
|
|
2462
2516
|
describeVendorError: (body: unknown, fallback: string) => string;
|
|
2463
2517
|
withDeadline: <T>(work: Promise<T>, ms: number) => Promise<T>;
|
|
@@ -2501,91 +2555,109 @@ export declare const utils: {
|
|
|
2501
2555
|
readonly title: "Batch Modify Labels";
|
|
2502
2556
|
readonly description: "Add or remove labels on many emails at once (archive, mark read, etc.).";
|
|
2503
2557
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2558
|
+
readonly annotations: ToolAnnotations;
|
|
2504
2559
|
}, {
|
|
2505
2560
|
readonly key: "gmail-create-draft";
|
|
2506
2561
|
readonly title: "Create Draft";
|
|
2507
2562
|
readonly description: "Save a new draft in Gmail without sending it yet.";
|
|
2508
2563
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2564
|
+
readonly annotations: ToolAnnotations;
|
|
2509
2565
|
}, {
|
|
2510
2566
|
readonly key: "gmail-delete-draft";
|
|
2511
2567
|
readonly title: "Delete Draft";
|
|
2512
2568
|
readonly description: "Permanently delete a draft.";
|
|
2513
2569
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2570
|
+
readonly annotations: ToolAnnotations;
|
|
2514
2571
|
}, {
|
|
2515
2572
|
readonly key: "gmail-forward-email";
|
|
2516
2573
|
readonly title: "Forward Email";
|
|
2517
2574
|
readonly description: "Forward an email to a new recipient.";
|
|
2518
2575
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2576
|
+
readonly annotations: ToolAnnotations;
|
|
2519
2577
|
}, {
|
|
2520
2578
|
readonly key: "gmail-get-draft";
|
|
2521
2579
|
readonly title: "Get Draft";
|
|
2522
2580
|
readonly description: "Open a saved draft to review its contents.";
|
|
2523
2581
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2582
|
+
readonly annotations: ToolAnnotations;
|
|
2524
2583
|
}, {
|
|
2525
2584
|
readonly key: "gmail-get-profile";
|
|
2526
2585
|
readonly title: "Get Profile";
|
|
2527
2586
|
readonly description: "Show the email address and inbox stats for the connected Gmail account.";
|
|
2528
2587
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2588
|
+
readonly annotations: ToolAnnotations;
|
|
2529
2589
|
}, {
|
|
2530
2590
|
readonly key: "gmail-get-thread";
|
|
2531
2591
|
readonly title: "Get Thread";
|
|
2532
2592
|
readonly description: "See every message inside one conversation.";
|
|
2533
2593
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2594
|
+
readonly annotations: ToolAnnotations;
|
|
2534
2595
|
}, {
|
|
2535
2596
|
readonly key: "gmail-list-drafts";
|
|
2536
2597
|
readonly title: "List Drafts";
|
|
2537
2598
|
readonly description: "Browse your saved drafts.";
|
|
2538
2599
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2600
|
+
readonly annotations: ToolAnnotations;
|
|
2539
2601
|
}, {
|
|
2540
2602
|
readonly key: "gmail-list-emails";
|
|
2541
2603
|
readonly title: "List Emails";
|
|
2542
2604
|
readonly description: "Browse your Gmail inbox, with optional search filters.";
|
|
2543
2605
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2606
|
+
readonly annotations: ToolAnnotations;
|
|
2544
2607
|
}, {
|
|
2545
2608
|
readonly key: "gmail-list-labels";
|
|
2546
2609
|
readonly title: "List Labels";
|
|
2547
2610
|
readonly description: "See all of your Gmail labels and folders.";
|
|
2548
2611
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.labels";
|
|
2612
|
+
readonly annotations: ToolAnnotations;
|
|
2549
2613
|
}, {
|
|
2550
2614
|
readonly key: "gmail-list-threads";
|
|
2551
2615
|
readonly title: "List Threads";
|
|
2552
2616
|
readonly description: "List your Gmail conversations.";
|
|
2553
2617
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2618
|
+
readonly annotations: ToolAnnotations;
|
|
2554
2619
|
}, {
|
|
2555
2620
|
readonly key: "gmail-modify-labels";
|
|
2556
2621
|
readonly title: "Modify Labels";
|
|
2557
2622
|
readonly description: "Add or remove labels on a single email — archive it, mark it read, star it, and more.";
|
|
2558
2623
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2624
|
+
readonly annotations: ToolAnnotations;
|
|
2559
2625
|
}, {
|
|
2560
2626
|
readonly key: "gmail-read-email";
|
|
2561
2627
|
readonly title: "Read Email";
|
|
2562
2628
|
readonly description: "Open and read a specific email.";
|
|
2563
2629
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2630
|
+
readonly annotations: ToolAnnotations;
|
|
2564
2631
|
}, {
|
|
2565
2632
|
readonly key: "gmail-reply-email";
|
|
2566
2633
|
readonly title: "Reply Email";
|
|
2567
2634
|
readonly description: "Reply to an email so the response stays in the same conversation.";
|
|
2568
2635
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2636
|
+
readonly annotations: ToolAnnotations;
|
|
2569
2637
|
}, {
|
|
2570
2638
|
readonly key: "gmail-send-draft";
|
|
2571
2639
|
readonly title: "Send Draft";
|
|
2572
2640
|
readonly description: "Send a draft you've already saved.";
|
|
2573
2641
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2642
|
+
readonly annotations: ToolAnnotations;
|
|
2574
2643
|
}, {
|
|
2575
2644
|
readonly key: "gmail-send-email";
|
|
2576
2645
|
readonly title: "Send Email";
|
|
2577
2646
|
readonly description: "Compose and send a new email from your connected Gmail account.";
|
|
2578
2647
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2648
|
+
readonly annotations: ToolAnnotations;
|
|
2579
2649
|
}, {
|
|
2580
2650
|
readonly key: "gmail-trash-email";
|
|
2581
2651
|
readonly title: "Move to Trash";
|
|
2582
2652
|
readonly description: "Move an email to Trash. It stays recoverable for 30 days.";
|
|
2583
2653
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2654
|
+
readonly annotations: ToolAnnotations;
|
|
2584
2655
|
}, {
|
|
2585
2656
|
readonly key: "gmail-update-draft";
|
|
2586
2657
|
readonly title: "Update Draft";
|
|
2587
2658
|
readonly description: "Edit the contents of a saved draft.";
|
|
2588
2659
|
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2660
|
+
readonly annotations: ToolAnnotations;
|
|
2589
2661
|
}];
|
|
2590
2662
|
}, {
|
|
2591
2663
|
readonly key: "outlook";
|
|
@@ -2598,91 +2670,109 @@ export declare const utils: {
|
|
|
2598
2670
|
readonly title: "Batch Move Messages";
|
|
2599
2671
|
readonly description: "Move up to 20 messages to the same folder.";
|
|
2600
2672
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2673
|
+
readonly annotations: ToolAnnotations;
|
|
2601
2674
|
}, {
|
|
2602
2675
|
readonly key: "outlook-create-draft";
|
|
2603
2676
|
readonly title: "Create Draft";
|
|
2604
2677
|
readonly description: "Create a draft email saved in Drafts.";
|
|
2605
2678
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2679
|
+
readonly annotations: ToolAnnotations;
|
|
2606
2680
|
}, {
|
|
2607
2681
|
readonly key: "outlook-delete-draft";
|
|
2608
2682
|
readonly title: "Delete Draft";
|
|
2609
2683
|
readonly description: "Permanently delete a draft.";
|
|
2610
2684
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2685
|
+
readonly annotations: ToolAnnotations;
|
|
2611
2686
|
}, {
|
|
2612
2687
|
readonly key: "outlook-forward-email";
|
|
2613
2688
|
readonly title: "Forward";
|
|
2614
2689
|
readonly description: "Forward an existing message to a new recipient.";
|
|
2615
2690
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2691
|
+
readonly annotations: ToolAnnotations;
|
|
2616
2692
|
}, {
|
|
2617
2693
|
readonly key: "outlook-get-draft";
|
|
2618
2694
|
readonly title: "Get Draft";
|
|
2619
2695
|
readonly description: "Read the full contents of a draft.";
|
|
2620
2696
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2697
|
+
readonly annotations: ToolAnnotations;
|
|
2621
2698
|
}, {
|
|
2622
2699
|
readonly key: "outlook-get-profile";
|
|
2623
2700
|
readonly title: "Get Profile";
|
|
2624
2701
|
readonly description: "Get the connected account's profile and inbox totals.";
|
|
2625
2702
|
readonly requiredScopes: "https://graph.microsoft.com/User.Read";
|
|
2703
|
+
readonly annotations: ToolAnnotations;
|
|
2626
2704
|
}, {
|
|
2627
2705
|
readonly key: "outlook-get-thread";
|
|
2628
2706
|
readonly title: "Get Thread";
|
|
2629
2707
|
readonly description: "Get summaries of every message in a conversation.";
|
|
2630
2708
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2709
|
+
readonly annotations: ToolAnnotations;
|
|
2631
2710
|
}, {
|
|
2632
2711
|
readonly key: "outlook-list-drafts";
|
|
2633
2712
|
readonly title: "List Drafts";
|
|
2634
2713
|
readonly description: "List drafts in the Drafts folder.";
|
|
2635
2714
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2715
|
+
readonly annotations: ToolAnnotations;
|
|
2636
2716
|
}, {
|
|
2637
2717
|
readonly key: "outlook-list-emails";
|
|
2638
2718
|
readonly title: "List Emails";
|
|
2639
2719
|
readonly description: "List inbox messages, optionally filtered by search.";
|
|
2640
2720
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2721
|
+
readonly annotations: ToolAnnotations;
|
|
2641
2722
|
}, {
|
|
2642
2723
|
readonly key: "outlook-list-folders";
|
|
2643
2724
|
readonly title: "List Folders";
|
|
2644
2725
|
readonly description: "List every mail folder on the account.";
|
|
2645
2726
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2727
|
+
readonly annotations: ToolAnnotations;
|
|
2646
2728
|
}, {
|
|
2647
2729
|
readonly key: "outlook-list-threads";
|
|
2648
2730
|
readonly title: "List Threads";
|
|
2649
2731
|
readonly description: "List inbox conversation threads.";
|
|
2650
2732
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2733
|
+
readonly annotations: ToolAnnotations;
|
|
2651
2734
|
}, {
|
|
2652
2735
|
readonly key: "outlook-move-message";
|
|
2653
2736
|
readonly title: "Move Message";
|
|
2654
2737
|
readonly description: "Move a message to a different folder.";
|
|
2655
2738
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2739
|
+
readonly annotations: ToolAnnotations;
|
|
2656
2740
|
}, {
|
|
2657
2741
|
readonly key: "outlook-read-email";
|
|
2658
2742
|
readonly title: "Read Email";
|
|
2659
2743
|
readonly description: "Read the full contents of one message by ID.";
|
|
2660
2744
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2745
|
+
readonly annotations: ToolAnnotations;
|
|
2661
2746
|
}, {
|
|
2662
2747
|
readonly key: "outlook-reply-email";
|
|
2663
2748
|
readonly title: "Reply";
|
|
2664
2749
|
readonly description: "Reply to an existing message, preserving the conversation.";
|
|
2665
2750
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2751
|
+
readonly annotations: ToolAnnotations;
|
|
2666
2752
|
}, {
|
|
2667
2753
|
readonly key: "outlook-send-draft";
|
|
2668
2754
|
readonly title: "Send Draft";
|
|
2669
2755
|
readonly description: "Send an existing draft as-is.";
|
|
2670
2756
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2757
|
+
readonly annotations: ToolAnnotations;
|
|
2671
2758
|
}, {
|
|
2672
2759
|
readonly key: "outlook-send-email";
|
|
2673
2760
|
readonly title: "Send Email";
|
|
2674
2761
|
readonly description: "Send a brand-new email from the connected account.";
|
|
2675
2762
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2763
|
+
readonly annotations: ToolAnnotations;
|
|
2676
2764
|
}, {
|
|
2677
2765
|
readonly key: "outlook-trash-email";
|
|
2678
2766
|
readonly title: "Move to Trash";
|
|
2679
2767
|
readonly description: "Move a message to the Deleted Items folder.";
|
|
2680
2768
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2769
|
+
readonly annotations: ToolAnnotations;
|
|
2681
2770
|
}, {
|
|
2682
2771
|
readonly key: "outlook-update-draft";
|
|
2683
2772
|
readonly title: "Update Draft";
|
|
2684
2773
|
readonly description: "Replace the contents of an existing draft.";
|
|
2685
2774
|
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2775
|
+
readonly annotations: ToolAnnotations;
|
|
2686
2776
|
}];
|
|
2687
2777
|
}, {
|
|
2688
2778
|
readonly key: "slack";
|
|
@@ -2695,21 +2785,25 @@ export declare const utils: {
|
|
|
2695
2785
|
readonly title: "Get User";
|
|
2696
2786
|
readonly description: "Look up a Slack user by ID or email.";
|
|
2697
2787
|
readonly requiredScopes: "users:read,users:read.email";
|
|
2788
|
+
readonly annotations: ToolAnnotations;
|
|
2698
2789
|
}, {
|
|
2699
2790
|
readonly key: "slack-list-channels";
|
|
2700
2791
|
readonly title: "List Channels";
|
|
2701
2792
|
readonly description: "Browse the channels and DMs the agent can see.";
|
|
2702
2793
|
readonly requiredScopes: "channels:read,groups:read,mpim:read,im:read";
|
|
2794
|
+
readonly annotations: ToolAnnotations;
|
|
2703
2795
|
}, {
|
|
2704
2796
|
readonly key: "slack-send-message";
|
|
2705
2797
|
readonly title: "Send Message";
|
|
2706
2798
|
readonly description: "Post a message to a Slack channel, DM, or thread.";
|
|
2707
2799
|
readonly requiredScopes: "chat:write";
|
|
2800
|
+
readonly annotations: ToolAnnotations;
|
|
2708
2801
|
}, {
|
|
2709
2802
|
readonly key: "slack-upload-file";
|
|
2710
2803
|
readonly title: "Upload File";
|
|
2711
2804
|
readonly description: "Upload a stored resource into a Slack channel.";
|
|
2712
2805
|
readonly requiredScopes: "files:write,chat:write";
|
|
2806
|
+
readonly annotations: ToolAnnotations;
|
|
2713
2807
|
}];
|
|
2714
2808
|
}, {
|
|
2715
2809
|
readonly key: "slack-user";
|
|
@@ -2722,6 +2816,7 @@ export declare const utils: {
|
|
|
2722
2816
|
readonly title: "Search Messages";
|
|
2723
2817
|
readonly description: "Search messages across the workspace. Requires a Slack user token (xoxp).";
|
|
2724
2818
|
readonly requiredScopes: "search:read";
|
|
2819
|
+
readonly annotations: ToolAnnotations;
|
|
2725
2820
|
}];
|
|
2726
2821
|
}, {
|
|
2727
2822
|
readonly key: "google-calendar";
|
|
@@ -2734,31 +2829,37 @@ export declare const utils: {
|
|
|
2734
2829
|
readonly title: "Create Event";
|
|
2735
2830
|
readonly description: "Add a new event to a calendar.";
|
|
2736
2831
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2832
|
+
readonly annotations: ToolAnnotations;
|
|
2737
2833
|
}, {
|
|
2738
2834
|
readonly key: "calendar-delete-event";
|
|
2739
2835
|
readonly title: "Delete Event";
|
|
2740
2836
|
readonly description: "Permanently remove an event from a calendar.";
|
|
2741
2837
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2838
|
+
readonly annotations: ToolAnnotations;
|
|
2742
2839
|
}, {
|
|
2743
2840
|
readonly key: "calendar-find-free-slots";
|
|
2744
2841
|
readonly title: "Find Free Slots";
|
|
2745
2842
|
readonly description: "Find open time gaps on a calendar.";
|
|
2746
2843
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2844
|
+
readonly annotations: ToolAnnotations;
|
|
2747
2845
|
}, {
|
|
2748
2846
|
readonly key: "calendar-list-calendars";
|
|
2749
2847
|
readonly title: "List Calendars";
|
|
2750
2848
|
readonly description: "See all calendars on the connected Google account.";
|
|
2751
2849
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2850
|
+
readonly annotations: ToolAnnotations;
|
|
2752
2851
|
}, {
|
|
2753
2852
|
readonly key: "calendar-list-events";
|
|
2754
2853
|
readonly title: "List Events";
|
|
2755
2854
|
readonly description: "Browse events on a calendar within a time range.";
|
|
2756
2855
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2856
|
+
readonly annotations: ToolAnnotations;
|
|
2757
2857
|
}, {
|
|
2758
2858
|
readonly key: "calendar-update-event";
|
|
2759
2859
|
readonly title: "Update Event";
|
|
2760
2860
|
readonly description: "Change the details of an existing event.";
|
|
2761
2861
|
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2862
|
+
readonly annotations: ToolAnnotations;
|
|
2762
2863
|
}];
|
|
2763
2864
|
}, {
|
|
2764
2865
|
readonly key: "calcom";
|
|
@@ -2771,21 +2872,25 @@ export declare const utils: {
|
|
|
2771
2872
|
readonly title: "Cancel Booking";
|
|
2772
2873
|
readonly description: "Cancel an existing booking by its UID.";
|
|
2773
2874
|
readonly requiredScopes: null;
|
|
2875
|
+
readonly annotations: ToolAnnotations;
|
|
2774
2876
|
}, {
|
|
2775
2877
|
readonly key: "calcom-create-booking";
|
|
2776
2878
|
readonly title: "Create Booking";
|
|
2777
2879
|
readonly description: "Book an available slot for an attendee.";
|
|
2778
2880
|
readonly requiredScopes: null;
|
|
2881
|
+
readonly annotations: ToolAnnotations;
|
|
2779
2882
|
}, {
|
|
2780
2883
|
readonly key: "calcom-list-available-slots";
|
|
2781
2884
|
readonly title: "List Available Slots";
|
|
2782
2885
|
readonly description: "Find open booking times for an event type in a date range.";
|
|
2783
2886
|
readonly requiredScopes: null;
|
|
2887
|
+
readonly annotations: ToolAnnotations;
|
|
2784
2888
|
}, {
|
|
2785
2889
|
readonly key: "calcom-list-event-types";
|
|
2786
2890
|
readonly title: "List Event Types";
|
|
2787
2891
|
readonly description: "See the bookable meeting types on the connected Cal.com account.";
|
|
2788
2892
|
readonly requiredScopes: null;
|
|
2893
|
+
readonly annotations: ToolAnnotations;
|
|
2789
2894
|
}];
|
|
2790
2895
|
}, {
|
|
2791
2896
|
readonly key: "web";
|
|
@@ -2798,11 +2903,13 @@ export declare const utils: {
|
|
|
2798
2903
|
readonly title: "Web Extract";
|
|
2799
2904
|
readonly description: "Fetch the full cleaned text of specific web pages by URL for in-depth reading.";
|
|
2800
2905
|
readonly requiredScopes: null;
|
|
2906
|
+
readonly annotations: ToolAnnotations;
|
|
2801
2907
|
}, {
|
|
2802
2908
|
readonly key: "web-search";
|
|
2803
2909
|
readonly title: "Web Search";
|
|
2804
2910
|
readonly description: "Search the live web and return the top results plus a synthesized answer so the model can cite sources.";
|
|
2805
2911
|
readonly requiredScopes: null;
|
|
2912
|
+
readonly annotations: ToolAnnotations;
|
|
2806
2913
|
}];
|
|
2807
2914
|
}, {
|
|
2808
2915
|
readonly key: "builtin";
|
|
@@ -2815,26 +2922,31 @@ export declare const utils: {
|
|
|
2815
2922
|
readonly title: "List Prompts";
|
|
2816
2923
|
readonly description: "List the prompts and commands this assistant exposes, and how to run them on the current channel.";
|
|
2817
2924
|
readonly requiredScopes: null;
|
|
2925
|
+
readonly annotations: ToolAnnotations;
|
|
2818
2926
|
}, {
|
|
2819
2927
|
readonly key: "list-resources";
|
|
2820
2928
|
readonly title: "List Resources";
|
|
2821
2929
|
readonly description: "List every resource available to this assistant.";
|
|
2822
2930
|
readonly requiredScopes: null;
|
|
2931
|
+
readonly annotations: ToolAnnotations;
|
|
2823
2932
|
}, {
|
|
2824
2933
|
readonly key: "read-resource";
|
|
2825
2934
|
readonly title: "Read Resource";
|
|
2826
2935
|
readonly description: "Read the contents of a stored resource.";
|
|
2827
2936
|
readonly requiredScopes: null;
|
|
2937
|
+
readonly annotations: ToolAnnotations;
|
|
2828
2938
|
}, {
|
|
2829
2939
|
readonly key: "search-resources";
|
|
2830
2940
|
readonly title: "Search Resources";
|
|
2831
2941
|
readonly description: "Find the resources most relevant to a question, by meaning and by exact keywords.";
|
|
2832
2942
|
readonly requiredScopes: null;
|
|
2943
|
+
readonly annotations: ToolAnnotations;
|
|
2833
2944
|
}, {
|
|
2834
2945
|
readonly key: "send-resource";
|
|
2835
2946
|
readonly title: "Send Resource";
|
|
2836
2947
|
readonly description: "Deliver a resource to the user as a chat attachment.";
|
|
2837
2948
|
readonly requiredScopes: null;
|
|
2949
|
+
readonly annotations: ToolAnnotations;
|
|
2838
2950
|
}];
|
|
2839
2951
|
}, {
|
|
2840
2952
|
readonly key: "greeting";
|
|
@@ -2847,6 +2959,7 @@ export declare const utils: {
|
|
|
2847
2959
|
readonly title: "Greeting";
|
|
2848
2960
|
readonly description: "Reply with a friendly hello in English or Spanish (demo tool).";
|
|
2849
2961
|
readonly requiredScopes: null;
|
|
2962
|
+
readonly annotations: ToolAnnotations;
|
|
2850
2963
|
}];
|
|
2851
2964
|
}, {
|
|
2852
2965
|
readonly key: "http-endpoint";
|
|
@@ -2859,6 +2972,7 @@ export declare const utils: {
|
|
|
2859
2972
|
readonly title: "HTTP Endpoint";
|
|
2860
2973
|
readonly description: "A user-configured HTTP request exposed to the agent as its own named tool.";
|
|
2861
2974
|
readonly requiredScopes: null;
|
|
2975
|
+
readonly annotations: null;
|
|
2862
2976
|
}];
|
|
2863
2977
|
}, {
|
|
2864
2978
|
readonly key: "mcp-proxy";
|
|
@@ -2871,6 +2985,7 @@ export declare const utils: {
|
|
|
2871
2985
|
readonly title: "MCP Server";
|
|
2872
2986
|
readonly description: "A connected remote MCP server. Each server you add exposes its tools to the agent under a vendor prefix.";
|
|
2873
2987
|
readonly requiredScopes: null;
|
|
2988
|
+
readonly annotations: null;
|
|
2874
2989
|
}];
|
|
2875
2990
|
}, {
|
|
2876
2991
|
readonly key: "custom-code";
|
|
@@ -2883,6 +2998,7 @@ export declare const utils: {
|
|
|
2883
2998
|
readonly title: "Custom code";
|
|
2884
2999
|
readonly description: "Tools implemented by your own code. One script per artifact; names and schemas come from the published version.";
|
|
2885
3000
|
readonly requiredScopes: null;
|
|
3001
|
+
readonly annotations: null;
|
|
2886
3002
|
}];
|
|
2887
3003
|
}];
|
|
2888
3004
|
TOOL_KEYS: ("custom-code" | "list-resources" | "search-resources" | "read-resource" | "send-resource" | "list-prompts" | "calendar-list-calendars" | "calendar-create-event" | "calendar-find-free-slots" | "http-endpoint" | "mcp-proxy" | "web-search" | "web-extract" | "greeting" | "gmail-send-email" | "gmail-reply-email" | "gmail-forward-email" | "gmail-send-draft" | "gmail-create-draft" | "gmail-update-draft" | "gmail-delete-draft" | "gmail-trash-email" | "gmail-modify-labels" | "gmail-batch-modify-labels" | "outlook-send-email" | "outlook-reply-email" | "outlook-forward-email" | "outlook-send-draft" | "outlook-create-draft" | "outlook-update-draft" | "outlook-delete-draft" | "outlook-trash-email" | "outlook-move-message" | "outlook-batch-move-messages" | "gmail-get-draft" | "gmail-get-profile" | "gmail-get-thread" | "gmail-list-drafts" | "gmail-list-emails" | "gmail-list-labels" | "gmail-list-threads" | "gmail-read-email" | "outlook-get-draft" | "outlook-get-profile" | "outlook-get-thread" | "outlook-list-drafts" | "outlook-list-emails" | "outlook-list-folders" | "outlook-list-threads" | "outlook-read-email" | "slack-get-user" | "slack-list-channels" | "slack-send-message" | "slack-upload-file" | "slack-search-messages" | "calendar-delete-event" | "calendar-list-events" | "calendar-update-event" | "calcom-cancel-booking" | "calcom-create-booking" | "calcom-list-available-slots" | "calcom-list-event-types")[];
|
|
@@ -2935,6 +3051,26 @@ export declare const utils: {
|
|
|
2935
3051
|
joinBufferedMessages: (messages: Array<{
|
|
2936
3052
|
text: string;
|
|
2937
3053
|
}>) => string;
|
|
3054
|
+
isConfirmationReply: (text: string) => boolean;
|
|
3055
|
+
confirmationButtonLabels: (locale?: string | null) => {
|
|
3056
|
+
yes: string;
|
|
3057
|
+
no: string;
|
|
3058
|
+
};
|
|
3059
|
+
confirmationButtonId: (answer: "yes" | "no", externalParticipantId: string) => string;
|
|
3060
|
+
parseConfirmationButton: (id: string) => {
|
|
3061
|
+
text: "yes" | "no";
|
|
3062
|
+
externalParticipantId: string;
|
|
3063
|
+
} | null;
|
|
3064
|
+
languageFromPhoneNumber: (phone: string) => string | null;
|
|
3065
|
+
formatConfirmationSummary: (calls: Array<{
|
|
3066
|
+
name: string;
|
|
3067
|
+
arguments: Record<string, unknown>;
|
|
3068
|
+
}>, titleOf: (name: string) => string) => string;
|
|
3069
|
+
annotationsForEffect: (effect: ToolEffect) => {
|
|
3070
|
+
readOnlyHint: boolean;
|
|
3071
|
+
destructiveHint: boolean;
|
|
3072
|
+
};
|
|
3073
|
+
TOOL_EFFECTS: readonly ["read", "write", "sensitive"];
|
|
2938
3074
|
isResourceSourceEnabled: (resource: {
|
|
2939
3075
|
showSource?: string | null;
|
|
2940
3076
|
} | null | undefined) => boolean;
|
|
@@ -2959,5 +3095,5 @@ export declare const utils: {
|
|
|
2959
3095
|
PlanLimitError: typeof PlanLimitError;
|
|
2960
3096
|
isPlanLimitError: (error: unknown) => error is PlanLimitError;
|
|
2961
3097
|
};
|
|
2962
|
-
export type { MintedAccessToken, CustomCodeProject, ProjectPathIssue, CatalogGroup, CatalogTool, CatalogToolDescriptor, 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 };
|
|
3098
|
+
export type { MintedAccessToken, CustomCodeProject, ProjectPathIssue, CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolAnnotations, PendingToolConfirmation, PendingToolConfirmations, ToolEffect, 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 };
|
|
2963
3099
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/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