@composio/client 0.1.0-alpha.47 → 0.1.0-alpha.48
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/CHANGELOG.md +20 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +58 -55
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +58 -55
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +8 -0
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +8 -0
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +45 -40
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +45 -40
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/tool-router/session.d.mts +118 -226
- package/resources/tool-router/session.d.mts.map +1 -1
- package/resources/tool-router/session.d.ts +118 -226
- package/resources/tool-router/session.d.ts.map +1 -1
- package/resources/tool-router/session.js +2 -11
- package/resources/tool-router/session.js.map +1 -1
- package/resources/tool-router/session.mjs +2 -11
- package/resources/tool-router/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +4 -4
- package/resources/tool-router/tool-router.d.ts +4 -4
- package/resources/tool-router/tool-router.js +4 -4
- package/resources/tool-router/tool-router.mjs +4 -4
- package/resources/toolkits.d.mts +4 -10
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +4 -10
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +2 -2
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +2 -2
- package/resources/toolkits.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +7 -6
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +7 -6
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/client.ts +0 -2
- package/src/resources/auth-configs.ts +64 -61
- package/src/resources/connected-accounts.ts +8 -0
- package/src/resources/index.ts +0 -1
- package/src/resources/mcp/mcp.ts +45 -40
- package/src/resources/tool-router/session.ts +120 -248
- package/src/resources/tool-router/tool-router.ts +4 -4
- package/src/resources/toolkits.ts +4 -15
- package/src/resources/trigger-instances/trigger-instances.ts +7 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -43,7 +43,7 @@ export declare class Session extends APIResource {
|
|
|
43
43
|
* );
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
execute(sessionID: string,
|
|
46
|
+
execute(sessionID: string, body: SessionExecuteParams, options?: RequestOptions): APIPromise<SessionExecuteResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Initiates an authentication link session for a specific toolkit within a tool
|
|
49
49
|
* router session. Returns a link token and redirect URL that users can use to
|
|
@@ -109,52 +109,49 @@ export declare namespace SessionCreateResponse {
|
|
|
109
109
|
[key: string]: string;
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Manage connections configuration
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
manage_connections?: Config.ManageConnections;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* MCP tool annotation hints for filtering tools. readOnlyHint: tool does not
|
|
117
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
118
|
+
* idempotentHint: tool may interact with external entities.
|
|
117
119
|
*/
|
|
118
|
-
|
|
120
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>;
|
|
119
121
|
/**
|
|
120
122
|
* Toolkit configuration - either enabled list or disabled list
|
|
121
123
|
*/
|
|
122
124
|
toolkits?: Config.Enabled | Config.Disabled;
|
|
123
125
|
/**
|
|
124
|
-
*
|
|
126
|
+
* Tool-level configuration per toolkit
|
|
125
127
|
*/
|
|
126
|
-
tools?:
|
|
128
|
+
tools?: {
|
|
129
|
+
[key: string]: Config.Enabled | Config.Disabled | Config.Tags;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Workbench configuration
|
|
133
|
+
*/
|
|
134
|
+
workbench?: Config.Workbench;
|
|
127
135
|
}
|
|
128
136
|
namespace Config {
|
|
129
137
|
/**
|
|
130
|
-
*
|
|
138
|
+
* Manage connections configuration
|
|
131
139
|
*/
|
|
132
|
-
interface
|
|
133
|
-
/**
|
|
134
|
-
* Whether to enable the connection manager for automatic connection handling
|
|
135
|
-
*/
|
|
136
|
-
auto_manage_connections?: boolean;
|
|
140
|
+
interface ManageConnections {
|
|
137
141
|
/**
|
|
138
142
|
* Custom callback URL for connected account auth flows
|
|
139
143
|
*/
|
|
140
144
|
callback_url?: string;
|
|
141
145
|
/**
|
|
142
|
-
* Whether to
|
|
146
|
+
* Whether to enable the connection manager for automatic connection handling
|
|
143
147
|
*/
|
|
144
|
-
|
|
148
|
+
enabled?: boolean;
|
|
145
149
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
interface
|
|
150
|
-
|
|
151
|
-
* Whether to allow proxy execute calls in the workbench
|
|
152
|
-
*/
|
|
153
|
-
proxy_execution_enabled?: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Maximum execution time for workbench operations in seconds
|
|
156
|
-
*/
|
|
157
|
-
timeout_seconds?: number;
|
|
150
|
+
interface Enabled {
|
|
151
|
+
enabled: Array<string>;
|
|
152
|
+
}
|
|
153
|
+
interface Disabled {
|
|
154
|
+
disabled: Array<string>;
|
|
158
155
|
}
|
|
159
156
|
interface Enabled {
|
|
160
157
|
enabled: Array<string>;
|
|
@@ -162,52 +159,22 @@ export declare namespace SessionCreateResponse {
|
|
|
162
159
|
interface Disabled {
|
|
163
160
|
disabled: Array<string>;
|
|
164
161
|
}
|
|
162
|
+
interface Tags {
|
|
163
|
+
tags: Array<string>;
|
|
164
|
+
}
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
166
|
+
* Workbench configuration
|
|
167
167
|
*/
|
|
168
|
-
interface
|
|
168
|
+
interface Workbench {
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* Character threshold after which tool execution response are saved to a file in
|
|
171
|
+
* workbench. Default is 20k.
|
|
171
172
|
*/
|
|
172
|
-
|
|
173
|
+
auto_offload_threshold?: number;
|
|
173
174
|
/**
|
|
174
|
-
*
|
|
175
|
+
* Whether proxy execution is enabled in the workbench
|
|
175
176
|
*/
|
|
176
|
-
|
|
177
|
-
[key: string]: Tools.Enabled | Tools.Disabled;
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
namespace Tools {
|
|
181
|
-
/**
|
|
182
|
-
* Tool filtering configuration
|
|
183
|
-
*/
|
|
184
|
-
interface Filters {
|
|
185
|
-
/**
|
|
186
|
-
* Filter tools by specific tags
|
|
187
|
-
*/
|
|
188
|
-
tags?: Filters.Tags;
|
|
189
|
-
}
|
|
190
|
-
namespace Filters {
|
|
191
|
-
/**
|
|
192
|
-
* Filter tools by specific tags
|
|
193
|
-
*/
|
|
194
|
-
interface Tags {
|
|
195
|
-
/**
|
|
196
|
-
* Exclude tools that have these tags
|
|
197
|
-
*/
|
|
198
|
-
exclude?: Array<string>;
|
|
199
|
-
/**
|
|
200
|
-
* Only include tools that have these tags
|
|
201
|
-
*/
|
|
202
|
-
include?: Array<string>;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
interface Enabled {
|
|
206
|
-
enabled: Array<string>;
|
|
207
|
-
}
|
|
208
|
-
interface Disabled {
|
|
209
|
-
disabled: Array<string>;
|
|
210
|
-
}
|
|
177
|
+
proxy_execution_enabled?: boolean;
|
|
211
178
|
}
|
|
212
179
|
}
|
|
213
180
|
interface Mcp {
|
|
@@ -258,52 +225,49 @@ export declare namespace SessionRetrieveResponse {
|
|
|
258
225
|
[key: string]: string;
|
|
259
226
|
};
|
|
260
227
|
/**
|
|
261
|
-
*
|
|
228
|
+
* Manage connections configuration
|
|
262
229
|
*/
|
|
263
|
-
|
|
230
|
+
manage_connections?: Config.ManageConnections;
|
|
264
231
|
/**
|
|
265
|
-
*
|
|
232
|
+
* MCP tool annotation hints for filtering tools. readOnlyHint: tool does not
|
|
233
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
234
|
+
* idempotentHint: tool may interact with external entities.
|
|
266
235
|
*/
|
|
267
|
-
|
|
236
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>;
|
|
268
237
|
/**
|
|
269
238
|
* Toolkit configuration - either enabled list or disabled list
|
|
270
239
|
*/
|
|
271
240
|
toolkits?: Config.Enabled | Config.Disabled;
|
|
272
241
|
/**
|
|
273
|
-
*
|
|
242
|
+
* Tool-level configuration per toolkit
|
|
243
|
+
*/
|
|
244
|
+
tools?: {
|
|
245
|
+
[key: string]: Config.Enabled | Config.Disabled | Config.Tags;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Workbench configuration
|
|
274
249
|
*/
|
|
275
|
-
|
|
250
|
+
workbench?: Config.Workbench;
|
|
276
251
|
}
|
|
277
252
|
namespace Config {
|
|
278
253
|
/**
|
|
279
|
-
*
|
|
254
|
+
* Manage connections configuration
|
|
280
255
|
*/
|
|
281
|
-
interface
|
|
282
|
-
/**
|
|
283
|
-
* Whether to enable the connection manager for automatic connection handling
|
|
284
|
-
*/
|
|
285
|
-
auto_manage_connections?: boolean;
|
|
256
|
+
interface ManageConnections {
|
|
286
257
|
/**
|
|
287
258
|
* Custom callback URL for connected account auth flows
|
|
288
259
|
*/
|
|
289
260
|
callback_url?: string;
|
|
290
261
|
/**
|
|
291
|
-
* Whether to
|
|
262
|
+
* Whether to enable the connection manager for automatic connection handling
|
|
292
263
|
*/
|
|
293
|
-
|
|
264
|
+
enabled?: boolean;
|
|
294
265
|
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
interface
|
|
299
|
-
|
|
300
|
-
* Whether to allow proxy execute calls in the workbench
|
|
301
|
-
*/
|
|
302
|
-
proxy_execution_enabled?: boolean;
|
|
303
|
-
/**
|
|
304
|
-
* Maximum execution time for workbench operations in seconds
|
|
305
|
-
*/
|
|
306
|
-
timeout_seconds?: number;
|
|
266
|
+
interface Enabled {
|
|
267
|
+
enabled: Array<string>;
|
|
268
|
+
}
|
|
269
|
+
interface Disabled {
|
|
270
|
+
disabled: Array<string>;
|
|
307
271
|
}
|
|
308
272
|
interface Enabled {
|
|
309
273
|
enabled: Array<string>;
|
|
@@ -311,52 +275,22 @@ export declare namespace SessionRetrieveResponse {
|
|
|
311
275
|
interface Disabled {
|
|
312
276
|
disabled: Array<string>;
|
|
313
277
|
}
|
|
278
|
+
interface Tags {
|
|
279
|
+
tags: Array<string>;
|
|
280
|
+
}
|
|
314
281
|
/**
|
|
315
|
-
*
|
|
282
|
+
* Workbench configuration
|
|
316
283
|
*/
|
|
317
|
-
interface
|
|
284
|
+
interface Workbench {
|
|
318
285
|
/**
|
|
319
|
-
*
|
|
286
|
+
* Character threshold after which tool execution response are saved to a file in
|
|
287
|
+
* workbench. Default is 20k.
|
|
320
288
|
*/
|
|
321
|
-
|
|
289
|
+
auto_offload_threshold?: number;
|
|
322
290
|
/**
|
|
323
|
-
*
|
|
291
|
+
* Whether proxy execution is enabled in the workbench
|
|
324
292
|
*/
|
|
325
|
-
|
|
326
|
-
[key: string]: Tools.Enabled | Tools.Disabled;
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
namespace Tools {
|
|
330
|
-
/**
|
|
331
|
-
* Tool filtering configuration
|
|
332
|
-
*/
|
|
333
|
-
interface Filters {
|
|
334
|
-
/**
|
|
335
|
-
* Filter tools by specific tags
|
|
336
|
-
*/
|
|
337
|
-
tags?: Filters.Tags;
|
|
338
|
-
}
|
|
339
|
-
namespace Filters {
|
|
340
|
-
/**
|
|
341
|
-
* Filter tools by specific tags
|
|
342
|
-
*/
|
|
343
|
-
interface Tags {
|
|
344
|
-
/**
|
|
345
|
-
* Exclude tools that have these tags
|
|
346
|
-
*/
|
|
347
|
-
exclude?: Array<string>;
|
|
348
|
-
/**
|
|
349
|
-
* Only include tools that have these tags
|
|
350
|
-
*/
|
|
351
|
-
include?: Array<string>;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
interface Enabled {
|
|
355
|
-
enabled: Array<string>;
|
|
356
|
-
}
|
|
357
|
-
interface Disabled {
|
|
358
|
-
disabled: Array<string>;
|
|
359
|
-
}
|
|
293
|
+
proxy_execution_enabled?: boolean;
|
|
360
294
|
}
|
|
361
295
|
}
|
|
362
296
|
interface Mcp {
|
|
@@ -522,61 +456,49 @@ export interface SessionCreateParams {
|
|
|
522
456
|
/**
|
|
523
457
|
* Configuration for connection management settings
|
|
524
458
|
*/
|
|
525
|
-
|
|
459
|
+
manage_connections?: SessionCreateParams.ManageConnections;
|
|
526
460
|
/**
|
|
527
|
-
*
|
|
528
|
-
*
|
|
461
|
+
* Global MCP tool annotation hints for filtering. readOnlyHint: tool does not
|
|
462
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
463
|
+
* idempotentHint: repeated calls with same args have no additional effect.
|
|
464
|
+
* Toolkit-level tags override this. Toolkit enabled/disabled lists take precedence
|
|
465
|
+
* over tag filtering.
|
|
529
466
|
*/
|
|
530
|
-
|
|
467
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>;
|
|
531
468
|
/**
|
|
532
469
|
* Toolkit configuration - specify either enabled toolkits (allowlist) or disabled
|
|
533
470
|
* toolkits (denylist). Mutually exclusive.
|
|
534
471
|
*/
|
|
535
472
|
toolkits?: SessionCreateParams.Enabled | SessionCreateParams.Disabled;
|
|
536
473
|
/**
|
|
537
|
-
*
|
|
474
|
+
* Tool-level configuration per toolkit - either specify enabled tools (whitelist),
|
|
475
|
+
* disabled tools (blacklist), or filter by MCP tags for each toolkit
|
|
476
|
+
*/
|
|
477
|
+
tools?: {
|
|
478
|
+
[key: string]: SessionCreateParams.Enabled | SessionCreateParams.Disabled | SessionCreateParams.Tags;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Configuration for workbench behavior
|
|
538
482
|
*/
|
|
539
|
-
|
|
483
|
+
workbench?: SessionCreateParams.Workbench;
|
|
540
484
|
}
|
|
541
485
|
export declare namespace SessionCreateParams {
|
|
542
486
|
/**
|
|
543
487
|
* Configuration for connection management settings
|
|
544
488
|
*/
|
|
545
|
-
interface
|
|
546
|
-
/**
|
|
547
|
-
* Whether to enable the connection manager for automatic connection handling. If
|
|
548
|
-
* true, we will provide a tool your agent can use to initiate connections to
|
|
549
|
-
* toolkits if it doesnt exist. If set to false, then you have to manage
|
|
550
|
-
* connections manually.
|
|
551
|
-
*/
|
|
552
|
-
auto_manage_connections?: boolean | null;
|
|
489
|
+
interface ManageConnections {
|
|
553
490
|
/**
|
|
554
491
|
* The URL to redirect to after a user completes authentication for a connected
|
|
555
492
|
* account. This allows you to handle the auth callback in your own application.
|
|
556
493
|
*/
|
|
557
494
|
callback_url?: string;
|
|
558
495
|
/**
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
|
|
563
|
-
infer_scopes_from_tools?: boolean | null;
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* Configuration for workbench behavior including security restrictions and
|
|
567
|
-
* execution limits
|
|
568
|
-
*/
|
|
569
|
-
interface Execution {
|
|
570
|
-
/**
|
|
571
|
-
* Whether to allow proxy execute calls in the workbench. If false, prevents
|
|
572
|
-
* arbitrary HTTP requests and destructive actions.
|
|
573
|
-
*/
|
|
574
|
-
proxy_execution_enabled?: boolean | null;
|
|
575
|
-
/**
|
|
576
|
-
* Maximum allowed execution time for workbench operations in seconds. If not
|
|
577
|
-
* specified, uses the default timeout.
|
|
496
|
+
* Whether to enable the connection manager for automatic connection handling. If
|
|
497
|
+
* true, we will provide a tool your agent can use to initiate connections to
|
|
498
|
+
* toolkits if it doesnt exist. If set to false, then you have to manage
|
|
499
|
+
* connections manually.
|
|
578
500
|
*/
|
|
579
|
-
|
|
501
|
+
enabled?: boolean | null;
|
|
580
502
|
}
|
|
581
503
|
/**
|
|
582
504
|
* Enable only specific toolkits (allowlist)
|
|
@@ -596,83 +518,53 @@ export declare namespace SessionCreateParams {
|
|
|
596
518
|
*/
|
|
597
519
|
disabled: Array<string>;
|
|
598
520
|
}
|
|
599
|
-
|
|
600
|
-
* Configuration for tool overrides and filtering
|
|
601
|
-
*/
|
|
602
|
-
interface Tools {
|
|
521
|
+
interface Enabled {
|
|
603
522
|
/**
|
|
604
|
-
*
|
|
523
|
+
* Only these specific tools will be available for this toolkit
|
|
605
524
|
*/
|
|
606
|
-
|
|
525
|
+
enabled: Array<string>;
|
|
526
|
+
}
|
|
527
|
+
interface Disabled {
|
|
607
528
|
/**
|
|
608
|
-
*
|
|
609
|
-
* disabled tools (blacklist) for each toolkit
|
|
529
|
+
* These specific tools will be disabled for this toolkit
|
|
610
530
|
*/
|
|
611
|
-
|
|
612
|
-
[key: string]: Tools.Enabled | Tools.Disabled;
|
|
613
|
-
};
|
|
531
|
+
disabled: Array<string>;
|
|
614
532
|
}
|
|
615
|
-
|
|
533
|
+
interface Tags {
|
|
616
534
|
/**
|
|
617
|
-
*
|
|
535
|
+
* MCP tags to filter tools for this toolkit. Only tools with these tags will be
|
|
536
|
+
* available.
|
|
618
537
|
*/
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
* filtered out.
|
|
637
|
-
*/
|
|
638
|
-
exclude?: Array<string>;
|
|
639
|
-
/**
|
|
640
|
-
* Only include tools that have these tags. Tools must have at least one of these
|
|
641
|
-
* tags to be included.
|
|
642
|
-
*/
|
|
643
|
-
include?: Array<string>;
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
interface Enabled {
|
|
647
|
-
/**
|
|
648
|
-
* Only these specific tools will be available for this toolkit
|
|
649
|
-
*/
|
|
650
|
-
enabled: Array<string>;
|
|
651
|
-
}
|
|
652
|
-
interface Disabled {
|
|
653
|
-
/**
|
|
654
|
-
* These specific tools will be disabled for this toolkit
|
|
655
|
-
*/
|
|
656
|
-
disabled: Array<string>;
|
|
657
|
-
}
|
|
538
|
+
tags: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint'>;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Configuration for workbench behavior
|
|
542
|
+
*/
|
|
543
|
+
interface Workbench {
|
|
544
|
+
/**
|
|
545
|
+
* Character threshold for automatic offloading. When workbench response exceeds
|
|
546
|
+
* this threshold, it will be automatically offloaded. Default is picked
|
|
547
|
+
* automatically based on the response size.
|
|
548
|
+
*/
|
|
549
|
+
auto_offload_threshold?: number;
|
|
550
|
+
/**
|
|
551
|
+
* Whether proxy execution is enabled. When enabled, workbench can call URLs and
|
|
552
|
+
* APIs directly.
|
|
553
|
+
*/
|
|
554
|
+
proxy_execution_enabled?: boolean;
|
|
658
555
|
}
|
|
659
556
|
}
|
|
660
557
|
export interface SessionExecuteParams {
|
|
661
558
|
/**
|
|
662
|
-
*
|
|
559
|
+
* The unique slug identifier of the tool to execute
|
|
663
560
|
*/
|
|
664
561
|
tool_slug: string;
|
|
665
562
|
/**
|
|
666
|
-
*
|
|
563
|
+
* The arguments required by the tool
|
|
667
564
|
*/
|
|
668
565
|
arguments?: {
|
|
669
566
|
[key: string]: unknown;
|
|
670
567
|
};
|
|
671
|
-
/**
|
|
672
|
-
* Header param: Session access key for sandbox/workbench authentication.
|
|
673
|
-
* Alternative to x-api-key for internal tool router endpoints.
|
|
674
|
-
*/
|
|
675
|
-
'x-session-access-key'?: string;
|
|
676
568
|
}
|
|
677
569
|
export interface SessionLinkParams {
|
|
678
570
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mB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