@composio/core 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CustomTool-Bkk0QYzw.cjs → CustomTool-CQ_YjABZ.cjs} +2 -2
- package/dist/{CustomTool-IIUhFtP8.mjs → CustomTool-D7-1S2at.mjs} +2 -2
- package/dist/{CustomTool-BFkwL1aY.d.mts → CustomTool-DJUGNOer.d.mts} +1 -1
- package/dist/{CustomTool-PSRHsd85.d.cts → CustomTool-aber890o.d.cts} +1 -1
- package/dist/{composio-BnLWW0B6.d.cts → composio-CSMCZZgj.d.cts} +64 -38
- package/dist/{composio-Dzlk0Wj4.d.mts → composio-DRl6WCI9.d.mts} +64 -38
- package/dist/{customTool.types-BVgnEbR2.d.cts → customTool.types-BzEWHa0w.d.cts} +164 -69
- package/dist/{customTool.types-oV5boR1w.d.mts → customTool.types-CMOMgxoM.d.mts} +164 -69
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/index.cjs +184 -101
- package/dist/index.d.cts +13 -9
- package/dist/index.d.mts +13 -9
- package/dist/index.mjs +182 -102
- package/dist/{types-AcoPzTnm.d.mts → types-BTOPdg4d.d.mts} +1 -1
- package/dist/{types-4vkdo_RG.d.cts → types-DE7O6Z6S.d.cts} +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
- package/package.json +2 -2
|
@@ -69,6 +69,80 @@ declare const ConnectedAccountAclConfigResponseSchema: z.ZodObject<{
|
|
|
69
69
|
notAllowedUserIds: string[];
|
|
70
70
|
}>;
|
|
71
71
|
type ConnectedAccountAclConfigResponse = z.infer<typeof ConnectedAccountAclConfigResponseSchema>;
|
|
72
|
+
/**
|
|
73
|
+
* Experimental options for SHARED connections, passed at create / link time.
|
|
74
|
+
*
|
|
75
|
+
* **Experimental — shape may change in future releases.** Wrapped under a
|
|
76
|
+
* dedicated `experimental` block on every input and response so the
|
|
77
|
+
* experimental status is visible at every call site.
|
|
78
|
+
*/
|
|
79
|
+
declare const ConnectedAccountExperimentalSchema: z.ZodObject<{
|
|
80
|
+
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED"]>>;
|
|
81
|
+
aclConfigForShared: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
allowAllUsers: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
allowedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
+
notAllowedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
allowAllUsers?: boolean | undefined;
|
|
87
|
+
allowedUserIds?: string[] | undefined;
|
|
88
|
+
notAllowedUserIds?: string[] | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
allowAllUsers?: boolean | undefined;
|
|
91
|
+
allowedUserIds?: string[] | undefined;
|
|
92
|
+
notAllowedUserIds?: string[] | undefined;
|
|
93
|
+
}>>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
96
|
+
aclConfigForShared?: {
|
|
97
|
+
allowAllUsers?: boolean | undefined;
|
|
98
|
+
allowedUserIds?: string[] | undefined;
|
|
99
|
+
notAllowedUserIds?: string[] | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
103
|
+
aclConfigForShared?: {
|
|
104
|
+
allowAllUsers?: boolean | undefined;
|
|
105
|
+
allowedUserIds?: string[] | undefined;
|
|
106
|
+
notAllowedUserIds?: string[] | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
type ConnectedAccountExperimental = z.infer<typeof ConnectedAccountExperimentalSchema>;
|
|
110
|
+
/**
|
|
111
|
+
* Resolved experimental block on retrieve / list responses. `accountType`
|
|
112
|
+
* is always present when the block is; `aclConfigForShared` is only
|
|
113
|
+
* present when the caller is authorised to see the ACL.
|
|
114
|
+
*/
|
|
115
|
+
declare const ConnectedAccountExperimentalResponseSchema: z.ZodObject<{
|
|
116
|
+
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED"]>>;
|
|
117
|
+
aclConfigForShared: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
allowAllUsers: z.ZodBoolean;
|
|
119
|
+
allowedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
120
|
+
notAllowedUserIds: z.ZodArray<z.ZodString, "many">;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
allowAllUsers: boolean;
|
|
123
|
+
allowedUserIds: string[];
|
|
124
|
+
notAllowedUserIds: string[];
|
|
125
|
+
}, {
|
|
126
|
+
allowAllUsers: boolean;
|
|
127
|
+
allowedUserIds: string[];
|
|
128
|
+
notAllowedUserIds: string[];
|
|
129
|
+
}>>;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
132
|
+
aclConfigForShared?: {
|
|
133
|
+
allowAllUsers: boolean;
|
|
134
|
+
allowedUserIds: string[];
|
|
135
|
+
notAllowedUserIds: string[];
|
|
136
|
+
} | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
139
|
+
aclConfigForShared?: {
|
|
140
|
+
allowAllUsers: boolean;
|
|
141
|
+
allowedUserIds: string[];
|
|
142
|
+
notAllowedUserIds: string[];
|
|
143
|
+
} | undefined;
|
|
144
|
+
}>;
|
|
145
|
+
type ConnectedAccountExperimentalResponse = z.infer<typeof ConnectedAccountExperimentalResponseSchema>;
|
|
72
146
|
declare const CreateConnectedAccountParamsSchema: z.ZodObject<{
|
|
73
147
|
authConfig: z.ZodObject<{
|
|
74
148
|
id: z.ZodString;
|
|
@@ -183,8 +257,7 @@ declare const ConnectedAccountRetrieveResponseSchema: z.ZodType<{
|
|
|
183
257
|
isDisabled: boolean;
|
|
184
258
|
createdAt: string;
|
|
185
259
|
updatedAt: string;
|
|
186
|
-
|
|
187
|
-
aclConfigForShared?: ConnectedAccountAclConfigResponse;
|
|
260
|
+
experimental?: ConnectedAccountExperimentalResponse;
|
|
188
261
|
}>;
|
|
189
262
|
type ConnectedAccountRetrieveResponse = z.infer<typeof ConnectedAccountRetrieveResponseSchema>;
|
|
190
263
|
/**
|
|
@@ -199,10 +272,18 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
199
272
|
statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>, "many">>>;
|
|
200
273
|
toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
201
274
|
userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
275
|
+
/**
|
|
276
|
+
* Experimental — shape may change in future releases. Filter by sharing
|
|
277
|
+
* model. Default (omitted) returns PRIVATE only. Pass `'SHARED'` for only
|
|
278
|
+
* shared accounts, or `'ALL'` for `PRIVATE` + `SHARED`. Kept flat because
|
|
279
|
+
* the wire is a query string and can't carry nested objects.
|
|
280
|
+
*/
|
|
281
|
+
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
|
|
202
282
|
}, "strip", z.ZodTypeAny, {
|
|
203
283
|
limit?: number | null | undefined;
|
|
204
284
|
authConfigIds?: string[] | null | undefined;
|
|
205
285
|
cursor?: string | null | undefined;
|
|
286
|
+
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
206
287
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
207
288
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
208
289
|
toolkitSlugs?: string[] | null | undefined;
|
|
@@ -211,6 +292,7 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
|
|
|
211
292
|
limit?: number | null | undefined;
|
|
212
293
|
authConfigIds?: string[] | null | undefined;
|
|
213
294
|
cursor?: string | null | undefined;
|
|
295
|
+
accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
|
|
214
296
|
orderBy?: "created_at" | "updated_at" | undefined;
|
|
215
297
|
statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
|
|
216
298
|
toolkitSlugs?: string[] | null | undefined;
|
|
@@ -237,8 +319,7 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
237
319
|
isDisabled: boolean;
|
|
238
320
|
createdAt: string;
|
|
239
321
|
updatedAt: string;
|
|
240
|
-
|
|
241
|
-
aclConfigForShared?: ConnectedAccountAclConfigResponse;
|
|
322
|
+
experimental?: ConnectedAccountExperimentalResponse;
|
|
242
323
|
}, z.ZodTypeDef, {
|
|
243
324
|
id: string;
|
|
244
325
|
authConfig: z.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
@@ -258,8 +339,7 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
258
339
|
isDisabled: boolean;
|
|
259
340
|
createdAt: string;
|
|
260
341
|
updatedAt: string;
|
|
261
|
-
|
|
262
|
-
aclConfigForShared?: ConnectedAccountAclConfigResponse;
|
|
342
|
+
experimental?: ConnectedAccountExperimentalResponse;
|
|
263
343
|
}>, "many">;
|
|
264
344
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
345
|
totalPages: z.ZodNumber;
|
|
@@ -283,8 +363,7 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
283
363
|
isDisabled: boolean;
|
|
284
364
|
createdAt: string;
|
|
285
365
|
updatedAt: string;
|
|
286
|
-
|
|
287
|
-
aclConfigForShared?: ConnectedAccountAclConfigResponse;
|
|
366
|
+
experimental?: ConnectedAccountExperimentalResponse;
|
|
288
367
|
}[];
|
|
289
368
|
totalPages: number;
|
|
290
369
|
nextCursor?: string | null | undefined;
|
|
@@ -308,8 +387,7 @@ declare const ConnectedAccountListResponseSchema: z.ZodObject<{
|
|
|
308
387
|
isDisabled: boolean;
|
|
309
388
|
createdAt: string;
|
|
310
389
|
updatedAt: string;
|
|
311
|
-
|
|
312
|
-
aclConfigForShared?: ConnectedAccountAclConfigResponse;
|
|
390
|
+
experimental?: ConnectedAccountExperimentalResponse;
|
|
313
391
|
}[];
|
|
314
392
|
totalPages: number;
|
|
315
393
|
nextCursor?: string | null | undefined;
|
|
@@ -339,55 +417,72 @@ declare const CreateConnectedAccountLinkOptionsSchema: z.ZodObject<{
|
|
|
339
417
|
*/
|
|
340
418
|
allowMultiple: z.ZodOptional<z.ZodBoolean>;
|
|
341
419
|
/**
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*/
|
|
348
|
-
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED"]>>;
|
|
349
|
-
/**
|
|
350
|
-
* Per-user ACL for SHARED connections. Only valid when
|
|
351
|
-
* `accountType === 'SHARED'`; raises `ComposioAclOnlyForSharedError`
|
|
352
|
-
* on a PRIVATE connection.
|
|
420
|
+
* Experimental options for SHARED connections. Pass `accountType: 'SHARED'`
|
|
421
|
+
* (and optionally `aclConfigForShared`) to create a connection that can
|
|
422
|
+
* be reached by other `userId`s when pinned in a session.
|
|
423
|
+
*
|
|
424
|
+
* Experimental — shape may change in future releases.
|
|
353
425
|
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
426
|
+
* `aclConfigForShared` is only valid when `accountType === 'SHARED'`;
|
|
427
|
+
* raises `ComposioAclOnlyForSharedError` on a PRIVATE connection. Omit
|
|
428
|
+
* the inner block (or pass `{}`) to keep the deny-by-default state: only
|
|
429
|
+
* the creator can use the connection. Grant access by setting
|
|
356
430
|
* `allowAllUsers: true` or listing user IDs in `allowedUserIds`.
|
|
357
431
|
* `notAllowedUserIds` always wins over allow.
|
|
358
432
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
433
|
+
experimental: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
accountType: z.ZodOptional<z.ZodEnum<["PRIVATE", "SHARED"]>>;
|
|
435
|
+
aclConfigForShared: z.ZodOptional<z.ZodObject<{
|
|
436
|
+
allowAllUsers: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
allowedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
438
|
+
notAllowedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
allowAllUsers?: boolean | undefined;
|
|
441
|
+
allowedUserIds?: string[] | undefined;
|
|
442
|
+
notAllowedUserIds?: string[] | undefined;
|
|
443
|
+
}, {
|
|
444
|
+
allowAllUsers?: boolean | undefined;
|
|
445
|
+
allowedUserIds?: string[] | undefined;
|
|
446
|
+
notAllowedUserIds?: string[] | undefined;
|
|
447
|
+
}>>;
|
|
363
448
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
449
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
450
|
+
aclConfigForShared?: {
|
|
451
|
+
allowAllUsers?: boolean | undefined;
|
|
452
|
+
allowedUserIds?: string[] | undefined;
|
|
453
|
+
notAllowedUserIds?: string[] | undefined;
|
|
454
|
+
} | undefined;
|
|
367
455
|
}, {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
456
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
457
|
+
aclConfigForShared?: {
|
|
458
|
+
allowAllUsers?: boolean | undefined;
|
|
459
|
+
allowedUserIds?: string[] | undefined;
|
|
460
|
+
notAllowedUserIds?: string[] | undefined;
|
|
461
|
+
} | undefined;
|
|
371
462
|
}>>;
|
|
372
463
|
}, "strip", z.ZodTypeAny, {
|
|
373
464
|
callbackUrl?: string | undefined;
|
|
374
465
|
alias?: string | undefined;
|
|
375
466
|
allowMultiple?: boolean | undefined;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
467
|
+
experimental?: {
|
|
468
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
469
|
+
aclConfigForShared?: {
|
|
470
|
+
allowAllUsers?: boolean | undefined;
|
|
471
|
+
allowedUserIds?: string[] | undefined;
|
|
472
|
+
notAllowedUserIds?: string[] | undefined;
|
|
473
|
+
} | undefined;
|
|
381
474
|
} | undefined;
|
|
382
475
|
}, {
|
|
383
476
|
callbackUrl?: string | undefined;
|
|
384
477
|
alias?: string | undefined;
|
|
385
478
|
allowMultiple?: boolean | undefined;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
479
|
+
experimental?: {
|
|
480
|
+
accountType?: "PRIVATE" | "SHARED" | undefined;
|
|
481
|
+
aclConfigForShared?: {
|
|
482
|
+
allowAllUsers?: boolean | undefined;
|
|
483
|
+
allowedUserIds?: string[] | undefined;
|
|
484
|
+
notAllowedUserIds?: string[] | undefined;
|
|
485
|
+
} | undefined;
|
|
391
486
|
} | undefined;
|
|
392
487
|
}>;
|
|
393
488
|
type CreateConnectedAccountLinkOptions = z.infer<typeof CreateConnectedAccountLinkOptionsSchema>;
|
|
@@ -1143,6 +1238,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1143
1238
|
preload?: {
|
|
1144
1239
|
tools?: string[] | "all" | undefined;
|
|
1145
1240
|
} | undefined;
|
|
1241
|
+
experimental?: {
|
|
1242
|
+
assistivePrompt?: {
|
|
1243
|
+
userTimezone?: string | undefined;
|
|
1244
|
+
} | undefined;
|
|
1245
|
+
customTools?: CustomTool[] | undefined;
|
|
1246
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1247
|
+
} | undefined;
|
|
1146
1248
|
sessionPreset?: "direct_tools" | undefined;
|
|
1147
1249
|
authConfigs?: Record<string, string> | undefined;
|
|
1148
1250
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
@@ -1162,13 +1264,6 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1162
1264
|
maxAccountsPerToolkit?: number | undefined;
|
|
1163
1265
|
requireExplicitSelection?: boolean | undefined;
|
|
1164
1266
|
} | undefined;
|
|
1165
|
-
experimental?: {
|
|
1166
|
-
assistivePrompt?: {
|
|
1167
|
-
userTimezone?: string | undefined;
|
|
1168
|
-
} | undefined;
|
|
1169
|
-
customTools?: CustomTool[] | undefined;
|
|
1170
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1171
|
-
} | undefined;
|
|
1172
1267
|
}, {
|
|
1173
1268
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1174
1269
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
@@ -1192,6 +1287,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1192
1287
|
preload?: {
|
|
1193
1288
|
tools?: string[] | "all" | undefined;
|
|
1194
1289
|
} | undefined;
|
|
1290
|
+
experimental?: {
|
|
1291
|
+
assistivePrompt?: {
|
|
1292
|
+
userTimezone?: string | undefined;
|
|
1293
|
+
} | undefined;
|
|
1294
|
+
customTools?: CustomTool[] | undefined;
|
|
1295
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1296
|
+
} | undefined;
|
|
1195
1297
|
sessionPreset?: "direct_tools" | undefined;
|
|
1196
1298
|
authConfigs?: Record<string, string> | undefined;
|
|
1197
1299
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
@@ -1211,13 +1313,6 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1211
1313
|
maxAccountsPerToolkit?: number | undefined;
|
|
1212
1314
|
requireExplicitSelection?: boolean | undefined;
|
|
1213
1315
|
} | undefined;
|
|
1214
|
-
experimental?: {
|
|
1215
|
-
assistivePrompt?: {
|
|
1216
|
-
userTimezone?: string | undefined;
|
|
1217
|
-
} | undefined;
|
|
1218
|
-
customTools?: CustomTool[] | undefined;
|
|
1219
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1220
|
-
} | undefined;
|
|
1221
1316
|
}>, {
|
|
1222
1317
|
tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
|
|
1223
1318
|
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
@@ -1241,6 +1336,13 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1241
1336
|
preload?: {
|
|
1242
1337
|
tools?: string[] | "all" | undefined;
|
|
1243
1338
|
} | undefined;
|
|
1339
|
+
experimental?: {
|
|
1340
|
+
assistivePrompt?: {
|
|
1341
|
+
userTimezone?: string | undefined;
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
customTools?: CustomTool[] | undefined;
|
|
1344
|
+
customToolkits?: CustomToolkit[] | undefined;
|
|
1345
|
+
} | undefined;
|
|
1244
1346
|
sessionPreset?: "direct_tools" | undefined;
|
|
1245
1347
|
authConfigs?: Record<string, string> | undefined;
|
|
1246
1348
|
connectedAccounts?: Record<string, string | string[]> | undefined;
|
|
@@ -1260,13 +1362,6 @@ declare const ToolRouterCreateSessionConfigSchema: z$1.ZodEffects<z$1.ZodObject<
|
|
|
1260
1362
|
maxAccountsPerToolkit?: number | undefined;
|
|
1261
1363
|
requireExplicitSelection?: boolean | undefined;
|
|
1262
1364
|
} | undefined;
|
|
1263
|
-
experimental?: {
|
|
1264
|
-
assistivePrompt?: {
|
|
1265
|
-
userTimezone?: string | undefined;
|
|
1266
|
-
} | undefined;
|
|
1267
|
-
customTools?: CustomTool[] | undefined;
|
|
1268
|
-
customToolkits?: CustomToolkit[] | undefined;
|
|
1269
|
-
} | undefined;
|
|
1270
1365
|
}, unknown>;
|
|
1271
1366
|
/**
|
|
1272
1367
|
* The config for the tool router session.
|
|
@@ -1706,12 +1801,12 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1706
1801
|
instructions: z$1.ZodString;
|
|
1707
1802
|
}, "strip", z$1.ZodTypeAny, {
|
|
1708
1803
|
id: string;
|
|
1709
|
-
instructions: string;
|
|
1710
1804
|
generateId: boolean;
|
|
1805
|
+
instructions: string;
|
|
1711
1806
|
}, {
|
|
1712
1807
|
id: string;
|
|
1713
|
-
instructions: string;
|
|
1714
1808
|
generateId: boolean;
|
|
1809
|
+
instructions: string;
|
|
1715
1810
|
}>;
|
|
1716
1811
|
timeInfo: z$1.ZodObject<{
|
|
1717
1812
|
currentTimeUtc: z$1.ZodString;
|
|
@@ -1773,8 +1868,8 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1773
1868
|
nextStepsGuidance: string[];
|
|
1774
1869
|
session: {
|
|
1775
1870
|
id: string;
|
|
1776
|
-
instructions: string;
|
|
1777
1871
|
generateId: boolean;
|
|
1872
|
+
instructions: string;
|
|
1778
1873
|
};
|
|
1779
1874
|
timeInfo: {
|
|
1780
1875
|
message: string;
|
|
@@ -1828,8 +1923,8 @@ declare const ToolRouterSessionSearchResponseSchema: z$1.ZodObject<{
|
|
|
1828
1923
|
nextStepsGuidance: string[];
|
|
1829
1924
|
session: {
|
|
1830
1925
|
id: string;
|
|
1831
|
-
instructions: string;
|
|
1832
1926
|
generateId: boolean;
|
|
1927
|
+
instructions: string;
|
|
1833
1928
|
};
|
|
1834
1929
|
timeInfo: {
|
|
1835
1930
|
message: string;
|
|
@@ -2415,4 +2510,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
|
|
|
2415
2510
|
/** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
|
|
2416
2511
|
type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
|
|
2417
2512
|
//#endregion
|
|
2418
|
-
export { ToolRouterSessionProxyExecuteFn as $,
|
|
2513
|
+
export { ToolRouterSessionProxyExecuteFn as $, ConnectedAccountListResponseItem as $t, SandboxSizeSchema as A, ToolRouterSessionFilesMountDeleteOptions as At, ToolRouterConfigTools as B, ConnectedAccountAclConfig as Bt, InputParamsSchema as C, UpdateConnectedAccountAclParams as Cn, RemoteFile as Ct, MCPServerType as D, FileListResponseSchema as Dt, SessionContext as E, UpdateConnectedAccountParamsSchema as En, FileListResponse as Et, SessionProxyExecuteParamsSchema as F, ToolRouterSessionFilesMountListOptionsSchema as Ft, ToolRouterMCPServerConfigSchema as G, ConnectedAccountAuthConfigSchema as Gt, ToolRouterCreateSessionConfig as H, ConnectedAccountAclConfigResponseSchema as Ht, ToolRouterAuthorizeFn as I, ToolRouterSessionFilesMountUploadOptions as It, ToolRouterSessionExecuteOptions as J, ConnectedAccountExperimentalResponseSchema as Jt, ToolRouterManageConnectionsConfigSchema as K, ConnectedAccountExperimental as Kt, ToolRouterConfigManageConnectionsSchema as L, ToolRouterSessionFilesMountUploadOptionsSchema as Lt, SessionExperimental as M, ToolRouterSessionFilesMountDownloadOptions as Mt, SessionPreset as N, ToolRouterSessionFilesMountDownloadOptionsSchema as Nt, MCPServerTypeSchema as O, RemoteFileData as Ot, SessionProxyExecuteParams as P, ToolRouterSessionFilesMountListOptions as Pt, ToolRouterSessionPreloadConfig as Q, ConnectedAccountListResponse as Qt, ToolRouterConfigTags as R, ConnectionRequest as Rt, InlineCustomToolsWirePayload as S, DefaultCreateConnectedAccountParamsSchema as Sn, ToolkitConnectionsDetailsSchema as St, RegisteredCustomToolkit as T, UpdateConnectedAccountParams as Tn, FileDeleteResponseSchema as Tt, ToolRouterCreateSessionConfigSchema as U, ConnectedAccountAclConfigSchema as Ut, ToolRouterConfigToolsSchema as V, ConnectedAccountAclConfigResponse as Vt, ToolRouterMCPServerConfig as W, ConnectedAccountAuthConfig as Wt, ToolRouterSessionExecuteResponseSchema as X, ConnectedAccountListParams as Xt, ToolRouterSessionExecuteResponse as Y, ConnectedAccountExperimentalSchema as Yt, ToolRouterSessionMetadata as Z, ConnectedAccountListParamsSchema as Zt, CustomToolkitResponse as _, CreateConnectedAccountOptionsSchema as _n, ToolRouterUpdateSessionConfig as _t, CustomTool as a, ConnectedAccountStatus as an, ToolRouterSessionWarning as at, CustomToolsMapEntry as b, CreateConnectedAccountResponse as bn, ToolkitConnectionStateSchema as bt, CustomToolInputParameter as c, ConnectedAccountStatuses as cn, ToolRouterToolkitsDisabledConfigSchema as ct, CustomToolRegistryItem as d, ConnectedAccountTypes as dn, ToolRouterToolkitsOptions as dt, ConnectedAccountListResponseSchema as en, ToolRouterSessionProxyExecuteResponse as et, CustomToolResponse as f, CreateConnectedAccountLinkOptions as fn, ToolRouterToolkitsOptionsSchema as ft, CustomToolkitDefinition as g, CreateConnectedAccountOptions as gn, ToolRouterToolsParamSchema as gt, CustomToolkit as h, CreateConnectedAccountLinkResponseSchema as hn, ToolRouterToolsParam as ht, CreateCustomToolkitParams as i, ConnectedAccountRetrieveResponseSchema as in, ToolRouterSessionUpdateFn as it, Session as j, ToolRouterSessionFilesMountDeleteOptionsSchema as jt, SandboxSize as k, RemoteFileDataSchema as kt, CustomToolOptions as l, ConnectedAccountType as ln, ToolRouterToolkitsEnabledConfigSchema as lt, CustomToolWireDefinition as m, CreateConnectedAccountLinkResponse as mn, ToolRouterToolsFn as mt, CreateCustomToolParams as n, ConnectedAccountRefreshOptionsSchema as nn, ToolRouterSessionSearchResponse as nt, CustomToolDefinition as o, ConnectedAccountStatusEnum as on, ToolRouterTagsEnableDisableSchema as ot, CustomToolSlugSchema as p, CreateConnectedAccountLinkOptionsSchema as pn, ToolRouterToolkitsParamSchema as pt, ToolRouterSessionExecuteFn as q, ConnectedAccountExperimentalResponse as qt, CreateCustomToolkitBaseSchema as r, ConnectedAccountRetrieveResponse as rn, ToolRouterSessionSearchResponseSchema as rt, CustomToolExecuteFn as s, ConnectedAccountStatusSchema as sn, ToolRouterTagsParamSchema as st, CreateCustomToolBaseSchema as t, ConnectedAccountRefreshOptions as tn, ToolRouterSessionSearchFn as tt, CustomToolRegistry as u, ConnectedAccountTypeSchema as un, ToolRouterToolkitsFn as ut, CustomToolkitWireDefinition as v, CreateConnectedAccountParams as vn, ToolRouterUpdateSessionConfigSchema as vt, RegisteredCustomTool as w, UpdateConnectedAccountAclParamsSchema as wn, FileDeleteResponse as wt, ExecuteMetadata as x, CreateConnectedAccountResponseSchema as xn, ToolkitConnectionsDetails as xt, CustomToolsMap as y, CreateConnectedAccountParamsSchema as yn, ToolkitConnectionState as yt, ToolRouterConfigTagsSchema as z, ConnectionRequestState as zt };
|