@orq-ai/node 3.12.10 → 3.12.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/bin/mcp-server.js +111 -111
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/agents/README.md +2 -2
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/creatememory.ts +17 -8
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +13 -10
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +17 -17
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallmemories.ts +7 -4
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +7 -4
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememory.ts +7 -4
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +7 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +279 -112
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +273 -99
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatememory.ts +17 -8
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +13 -10
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +21 -17
- package/packages/orq-rc/src/sdk/agents.ts +2 -2
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
|
@@ -158,6 +158,16 @@ export type StreamRunAgentMessage = {
|
|
|
158
158
|
metadata?: { [k: string]: any } | undefined;
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
163
|
+
*/
|
|
164
|
+
export type StreamRunAgentMemory = {
|
|
165
|
+
/**
|
|
166
|
+
* An entity ID used to link memory stores to a specific user, session, or conversation. This ID is used to isolate and retrieve memories specific to the entity across agent executions.
|
|
167
|
+
*/
|
|
168
|
+
entityId: string;
|
|
169
|
+
};
|
|
170
|
+
|
|
161
171
|
export const StreamRunAgentConfigurationAgentsType = {
|
|
162
172
|
Query: "query",
|
|
163
173
|
} as const;
|
|
@@ -203,11 +213,11 @@ export type StreamRunAgentTeamOfAgents = {
|
|
|
203
213
|
role?: string | undefined;
|
|
204
214
|
};
|
|
205
215
|
|
|
206
|
-
export const
|
|
216
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings13Type = {
|
|
207
217
|
Function: "function",
|
|
208
218
|
} as const;
|
|
209
|
-
export type
|
|
210
|
-
ClosedEnum<typeof
|
|
219
|
+
export type StreamRunAgentToolsAgentsRequestRequestBodySettings13Type =
|
|
220
|
+
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings13Type>;
|
|
211
221
|
|
|
212
222
|
export type StreamRunAgentToolsFunction = {
|
|
213
223
|
name: string;
|
|
@@ -216,8 +226,8 @@ export type StreamRunAgentToolsFunction = {
|
|
|
216
226
|
parameters?: { [k: string]: any } | undefined;
|
|
217
227
|
};
|
|
218
228
|
|
|
219
|
-
export type
|
|
220
|
-
type:
|
|
229
|
+
export type Tools13 = {
|
|
230
|
+
type: StreamRunAgentToolsAgentsRequestRequestBodySettings13Type;
|
|
221
231
|
id?: string | undefined;
|
|
222
232
|
key: string;
|
|
223
233
|
displayName?: string | undefined;
|
|
@@ -240,11 +250,11 @@ export const ToolsStatus = {
|
|
|
240
250
|
*/
|
|
241
251
|
export type ToolsStatus = ClosedEnum<typeof ToolsStatus>;
|
|
242
252
|
|
|
243
|
-
export const
|
|
253
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12Type = {
|
|
244
254
|
Http: "http",
|
|
245
255
|
} as const;
|
|
246
|
-
export type
|
|
247
|
-
ClosedEnum<typeof
|
|
256
|
+
export type StreamRunAgentToolsAgentsRequestRequestBodySettings12Type =
|
|
257
|
+
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12Type>;
|
|
248
258
|
|
|
249
259
|
/**
|
|
250
260
|
* The HTTP method to use.
|
|
@@ -285,7 +295,7 @@ export type ToolsBlueprint = {
|
|
|
285
295
|
/**
|
|
286
296
|
* The type of the argument.
|
|
287
297
|
*/
|
|
288
|
-
export const
|
|
298
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType = {
|
|
289
299
|
String: "string",
|
|
290
300
|
Number: "number",
|
|
291
301
|
Boolean: "boolean",
|
|
@@ -293,9 +303,9 @@ export const StreamRunAgentToolsAgentsRequestRequestBodySettings11HttpType = {
|
|
|
293
303
|
/**
|
|
294
304
|
* The type of the argument.
|
|
295
305
|
*/
|
|
296
|
-
export type
|
|
306
|
+
export type StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType =
|
|
297
307
|
ClosedEnum<
|
|
298
|
-
typeof
|
|
308
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType
|
|
299
309
|
>;
|
|
300
310
|
|
|
301
311
|
/**
|
|
@@ -307,7 +317,7 @@ export type ToolsArguments = {
|
|
|
307
317
|
/**
|
|
308
318
|
* The type of the argument.
|
|
309
319
|
*/
|
|
310
|
-
type:
|
|
320
|
+
type: StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType;
|
|
311
321
|
/**
|
|
312
322
|
* A description of the argument.
|
|
313
323
|
*/
|
|
@@ -333,7 +343,7 @@ export type ToolsHttp = {
|
|
|
333
343
|
arguments?: { [k: string]: ToolsArguments } | undefined;
|
|
334
344
|
};
|
|
335
345
|
|
|
336
|
-
export type
|
|
346
|
+
export type Tools12 = {
|
|
337
347
|
id?: string | undefined;
|
|
338
348
|
/**
|
|
339
349
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
@@ -356,14 +366,25 @@ export type Tools11 = {
|
|
|
356
366
|
*/
|
|
357
367
|
status?: ToolsStatus | undefined;
|
|
358
368
|
versionHash?: string | undefined;
|
|
359
|
-
type:
|
|
369
|
+
type: StreamRunAgentToolsAgentsRequestRequestBodySettings12Type;
|
|
360
370
|
http: ToolsHttp;
|
|
361
371
|
requiresApproval?: boolean | undefined;
|
|
362
372
|
};
|
|
363
373
|
|
|
364
|
-
export const
|
|
374
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings11Type = {
|
|
365
375
|
CurrentDate: "current_date",
|
|
366
376
|
} as const;
|
|
377
|
+
export type StreamRunAgentToolsAgentsRequestRequestBodySettings11Type =
|
|
378
|
+
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings11Type>;
|
|
379
|
+
|
|
380
|
+
export type Tools11 = {
|
|
381
|
+
type: StreamRunAgentToolsAgentsRequestRequestBodySettings11Type;
|
|
382
|
+
requiresApproval?: boolean | undefined;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings10Type = {
|
|
386
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
387
|
+
} as const;
|
|
367
388
|
export type StreamRunAgentToolsAgentsRequestRequestBodySettings10Type =
|
|
368
389
|
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings10Type>;
|
|
369
390
|
|
|
@@ -373,7 +394,7 @@ export type Tools10 = {
|
|
|
373
394
|
};
|
|
374
395
|
|
|
375
396
|
export const StreamRunAgentToolsAgentsRequestRequestBodySettings9Type = {
|
|
376
|
-
|
|
397
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
377
398
|
} as const;
|
|
378
399
|
export type StreamRunAgentToolsAgentsRequestRequestBodySettings9Type =
|
|
379
400
|
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings9Type>;
|
|
@@ -384,7 +405,7 @@ export type Tools9 = {
|
|
|
384
405
|
};
|
|
385
406
|
|
|
386
407
|
export const StreamRunAgentToolsAgentsRequestRequestBodySettings8Type = {
|
|
387
|
-
|
|
408
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
388
409
|
} as const;
|
|
389
410
|
export type StreamRunAgentToolsAgentsRequestRequestBodySettings8Type =
|
|
390
411
|
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings8Type>;
|
|
@@ -395,7 +416,7 @@ export type Tools8 = {
|
|
|
395
416
|
};
|
|
396
417
|
|
|
397
418
|
export const StreamRunAgentToolsAgentsRequestRequestBodySettings7Type = {
|
|
398
|
-
|
|
419
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
399
420
|
} as const;
|
|
400
421
|
export type StreamRunAgentToolsAgentsRequestRequestBodySettings7Type =
|
|
401
422
|
ClosedEnum<typeof StreamRunAgentToolsAgentsRequestRequestBodySettings7Type>;
|
|
@@ -476,8 +497,8 @@ export type StreamRunAgentTools1 = {
|
|
|
476
497
|
};
|
|
477
498
|
|
|
478
499
|
export type StreamRunAgentTools =
|
|
479
|
-
| Tools11
|
|
480
500
|
| Tools12
|
|
501
|
+
| Tools13
|
|
481
502
|
| StreamRunAgentTools1
|
|
482
503
|
| StreamRunAgentTools2
|
|
483
504
|
| StreamRunAgentTools3
|
|
@@ -487,7 +508,8 @@ export type StreamRunAgentTools =
|
|
|
487
508
|
| Tools7
|
|
488
509
|
| Tools8
|
|
489
510
|
| Tools9
|
|
490
|
-
| Tools10
|
|
511
|
+
| Tools10
|
|
512
|
+
| Tools11;
|
|
491
513
|
|
|
492
514
|
/**
|
|
493
515
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
@@ -506,8 +528,8 @@ export type StreamRunAgentToolApprovalRequired = ClosedEnum<
|
|
|
506
528
|
|
|
507
529
|
export type StreamRunAgentSettings = {
|
|
508
530
|
tools: Array<
|
|
509
|
-
| Tools11
|
|
510
531
|
| Tools12
|
|
532
|
+
| Tools13
|
|
511
533
|
| StreamRunAgentTools1
|
|
512
534
|
| StreamRunAgentTools2
|
|
513
535
|
| StreamRunAgentTools3
|
|
@@ -518,6 +540,7 @@ export type StreamRunAgentSettings = {
|
|
|
518
540
|
| Tools8
|
|
519
541
|
| Tools9
|
|
520
542
|
| Tools10
|
|
543
|
+
| Tools11
|
|
521
544
|
>;
|
|
522
545
|
/**
|
|
523
546
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
@@ -571,9 +594,9 @@ export type StreamRunAgentRequestBody = {
|
|
|
571
594
|
*/
|
|
572
595
|
contextId?: string | undefined;
|
|
573
596
|
/**
|
|
574
|
-
*
|
|
597
|
+
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
575
598
|
*/
|
|
576
|
-
|
|
599
|
+
memory?: StreamRunAgentMemory | undefined;
|
|
577
600
|
/**
|
|
578
601
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
579
602
|
*/
|
|
@@ -1478,6 +1501,68 @@ export function streamRunAgentMessageFromJSON(
|
|
|
1478
1501
|
);
|
|
1479
1502
|
}
|
|
1480
1503
|
|
|
1504
|
+
/** @internal */
|
|
1505
|
+
export const StreamRunAgentMemory$inboundSchema: z.ZodType<
|
|
1506
|
+
StreamRunAgentMemory,
|
|
1507
|
+
z.ZodTypeDef,
|
|
1508
|
+
unknown
|
|
1509
|
+
> = z.object({
|
|
1510
|
+
entity_id: z.string(),
|
|
1511
|
+
}).transform((v) => {
|
|
1512
|
+
return remap$(v, {
|
|
1513
|
+
"entity_id": "entityId",
|
|
1514
|
+
});
|
|
1515
|
+
});
|
|
1516
|
+
|
|
1517
|
+
/** @internal */
|
|
1518
|
+
export type StreamRunAgentMemory$Outbound = {
|
|
1519
|
+
entity_id: string;
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
/** @internal */
|
|
1523
|
+
export const StreamRunAgentMemory$outboundSchema: z.ZodType<
|
|
1524
|
+
StreamRunAgentMemory$Outbound,
|
|
1525
|
+
z.ZodTypeDef,
|
|
1526
|
+
StreamRunAgentMemory
|
|
1527
|
+
> = z.object({
|
|
1528
|
+
entityId: z.string(),
|
|
1529
|
+
}).transform((v) => {
|
|
1530
|
+
return remap$(v, {
|
|
1531
|
+
entityId: "entity_id",
|
|
1532
|
+
});
|
|
1533
|
+
});
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* @internal
|
|
1537
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1538
|
+
*/
|
|
1539
|
+
export namespace StreamRunAgentMemory$ {
|
|
1540
|
+
/** @deprecated use `StreamRunAgentMemory$inboundSchema` instead. */
|
|
1541
|
+
export const inboundSchema = StreamRunAgentMemory$inboundSchema;
|
|
1542
|
+
/** @deprecated use `StreamRunAgentMemory$outboundSchema` instead. */
|
|
1543
|
+
export const outboundSchema = StreamRunAgentMemory$outboundSchema;
|
|
1544
|
+
/** @deprecated use `StreamRunAgentMemory$Outbound` instead. */
|
|
1545
|
+
export type Outbound = StreamRunAgentMemory$Outbound;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
export function streamRunAgentMemoryToJSON(
|
|
1549
|
+
streamRunAgentMemory: StreamRunAgentMemory,
|
|
1550
|
+
): string {
|
|
1551
|
+
return JSON.stringify(
|
|
1552
|
+
StreamRunAgentMemory$outboundSchema.parse(streamRunAgentMemory),
|
|
1553
|
+
);
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
export function streamRunAgentMemoryFromJSON(
|
|
1557
|
+
jsonString: string,
|
|
1558
|
+
): SafeParseResult<StreamRunAgentMemory, SDKValidationError> {
|
|
1559
|
+
return safeParse(
|
|
1560
|
+
jsonString,
|
|
1561
|
+
(x) => StreamRunAgentMemory$inboundSchema.parse(JSON.parse(x)),
|
|
1562
|
+
`Failed to parse 'StreamRunAgentMemory' from JSON`,
|
|
1563
|
+
);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1481
1566
|
/** @internal */
|
|
1482
1567
|
export const StreamRunAgentConfigurationAgentsType$inboundSchema:
|
|
1483
1568
|
z.ZodNativeEnum<typeof StreamRunAgentConfigurationAgentsType> = z.nativeEnum(
|
|
@@ -1826,28 +1911,28 @@ export function streamRunAgentTeamOfAgentsFromJSON(
|
|
|
1826
1911
|
}
|
|
1827
1912
|
|
|
1828
1913
|
/** @internal */
|
|
1829
|
-
export const
|
|
1914
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema:
|
|
1830
1915
|
z.ZodNativeEnum<
|
|
1831
|
-
typeof
|
|
1832
|
-
> = z.nativeEnum(
|
|
1916
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings13Type
|
|
1917
|
+
> = z.nativeEnum(StreamRunAgentToolsAgentsRequestRequestBodySettings13Type);
|
|
1833
1918
|
|
|
1834
1919
|
/** @internal */
|
|
1835
|
-
export const
|
|
1920
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema:
|
|
1836
1921
|
z.ZodNativeEnum<
|
|
1837
|
-
typeof
|
|
1838
|
-
> =
|
|
1922
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings13Type
|
|
1923
|
+
> = StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema;
|
|
1839
1924
|
|
|
1840
1925
|
/**
|
|
1841
1926
|
* @internal
|
|
1842
1927
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1843
1928
|
*/
|
|
1844
|
-
export namespace
|
|
1845
|
-
/** @deprecated use `
|
|
1929
|
+
export namespace StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$ {
|
|
1930
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema` instead. */
|
|
1846
1931
|
export const inboundSchema =
|
|
1847
|
-
|
|
1848
|
-
/** @deprecated use `
|
|
1932
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema;
|
|
1933
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema` instead. */
|
|
1849
1934
|
export const outboundSchema =
|
|
1850
|
-
|
|
1935
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema;
|
|
1851
1936
|
}
|
|
1852
1937
|
|
|
1853
1938
|
/** @internal */
|
|
@@ -1916,10 +2001,10 @@ export function streamRunAgentToolsFunctionFromJSON(
|
|
|
1916
2001
|
}
|
|
1917
2002
|
|
|
1918
2003
|
/** @internal */
|
|
1919
|
-
export const
|
|
2004
|
+
export const Tools13$inboundSchema: z.ZodType<Tools13, z.ZodTypeDef, unknown> =
|
|
1920
2005
|
z.object({
|
|
1921
2006
|
type:
|
|
1922
|
-
|
|
2007
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema,
|
|
1923
2008
|
_id: z.string().optional(),
|
|
1924
2009
|
key: z.string(),
|
|
1925
2010
|
display_name: z.string().optional(),
|
|
@@ -1935,7 +2020,7 @@ export const Tools12$inboundSchema: z.ZodType<Tools12, z.ZodTypeDef, unknown> =
|
|
|
1935
2020
|
});
|
|
1936
2021
|
|
|
1937
2022
|
/** @internal */
|
|
1938
|
-
export type
|
|
2023
|
+
export type Tools13$Outbound = {
|
|
1939
2024
|
type: string;
|
|
1940
2025
|
_id?: string | undefined;
|
|
1941
2026
|
key: string;
|
|
@@ -1946,13 +2031,13 @@ export type Tools12$Outbound = {
|
|
|
1946
2031
|
};
|
|
1947
2032
|
|
|
1948
2033
|
/** @internal */
|
|
1949
|
-
export const
|
|
1950
|
-
|
|
2034
|
+
export const Tools13$outboundSchema: z.ZodType<
|
|
2035
|
+
Tools13$Outbound,
|
|
1951
2036
|
z.ZodTypeDef,
|
|
1952
|
-
|
|
2037
|
+
Tools13
|
|
1953
2038
|
> = z.object({
|
|
1954
2039
|
type:
|
|
1955
|
-
|
|
2040
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema,
|
|
1956
2041
|
id: z.string().optional(),
|
|
1957
2042
|
key: z.string(),
|
|
1958
2043
|
displayName: z.string().optional(),
|
|
@@ -1971,26 +2056,26 @@ export const Tools12$outboundSchema: z.ZodType<
|
|
|
1971
2056
|
* @internal
|
|
1972
2057
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1973
2058
|
*/
|
|
1974
|
-
export namespace
|
|
1975
|
-
/** @deprecated use `
|
|
1976
|
-
export const inboundSchema =
|
|
1977
|
-
/** @deprecated use `
|
|
1978
|
-
export const outboundSchema =
|
|
1979
|
-
/** @deprecated use `
|
|
1980
|
-
export type Outbound =
|
|
2059
|
+
export namespace Tools13$ {
|
|
2060
|
+
/** @deprecated use `Tools13$inboundSchema` instead. */
|
|
2061
|
+
export const inboundSchema = Tools13$inboundSchema;
|
|
2062
|
+
/** @deprecated use `Tools13$outboundSchema` instead. */
|
|
2063
|
+
export const outboundSchema = Tools13$outboundSchema;
|
|
2064
|
+
/** @deprecated use `Tools13$Outbound` instead. */
|
|
2065
|
+
export type Outbound = Tools13$Outbound;
|
|
1981
2066
|
}
|
|
1982
2067
|
|
|
1983
|
-
export function
|
|
1984
|
-
return JSON.stringify(
|
|
2068
|
+
export function tools13ToJSON(tools13: Tools13): string {
|
|
2069
|
+
return JSON.stringify(Tools13$outboundSchema.parse(tools13));
|
|
1985
2070
|
}
|
|
1986
2071
|
|
|
1987
|
-
export function
|
|
2072
|
+
export function tools13FromJSON(
|
|
1988
2073
|
jsonString: string,
|
|
1989
|
-
): SafeParseResult<
|
|
2074
|
+
): SafeParseResult<Tools13, SDKValidationError> {
|
|
1990
2075
|
return safeParse(
|
|
1991
2076
|
jsonString,
|
|
1992
|
-
(x) =>
|
|
1993
|
-
`Failed to parse '
|
|
2077
|
+
(x) => Tools13$inboundSchema.parse(JSON.parse(x)),
|
|
2078
|
+
`Failed to parse 'Tools13' from JSON`,
|
|
1994
2079
|
);
|
|
1995
2080
|
}
|
|
1996
2081
|
|
|
@@ -2014,28 +2099,28 @@ export namespace ToolsStatus$ {
|
|
|
2014
2099
|
}
|
|
2015
2100
|
|
|
2016
2101
|
/** @internal */
|
|
2017
|
-
export const
|
|
2102
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema:
|
|
2018
2103
|
z.ZodNativeEnum<
|
|
2019
|
-
typeof
|
|
2020
|
-
> = z.nativeEnum(
|
|
2104
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12Type
|
|
2105
|
+
> = z.nativeEnum(StreamRunAgentToolsAgentsRequestRequestBodySettings12Type);
|
|
2021
2106
|
|
|
2022
2107
|
/** @internal */
|
|
2023
|
-
export const
|
|
2108
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema:
|
|
2024
2109
|
z.ZodNativeEnum<
|
|
2025
|
-
typeof
|
|
2026
|
-
> =
|
|
2110
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12Type
|
|
2111
|
+
> = StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema;
|
|
2027
2112
|
|
|
2028
2113
|
/**
|
|
2029
2114
|
* @internal
|
|
2030
2115
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2031
2116
|
*/
|
|
2032
|
-
export namespace
|
|
2033
|
-
/** @deprecated use `
|
|
2117
|
+
export namespace StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$ {
|
|
2118
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema` instead. */
|
|
2034
2119
|
export const inboundSchema =
|
|
2035
|
-
|
|
2036
|
-
/** @deprecated use `
|
|
2120
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema;
|
|
2121
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema` instead. */
|
|
2037
2122
|
export const outboundSchema =
|
|
2038
|
-
|
|
2123
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema;
|
|
2039
2124
|
}
|
|
2040
2125
|
|
|
2041
2126
|
/** @internal */
|
|
@@ -2117,31 +2202,31 @@ export function toolsBlueprintFromJSON(
|
|
|
2117
2202
|
}
|
|
2118
2203
|
|
|
2119
2204
|
/** @internal */
|
|
2120
|
-
export const
|
|
2205
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema:
|
|
2121
2206
|
z.ZodNativeEnum<
|
|
2122
|
-
typeof
|
|
2207
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType
|
|
2123
2208
|
> = z.nativeEnum(
|
|
2124
|
-
|
|
2209
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType,
|
|
2125
2210
|
);
|
|
2126
2211
|
|
|
2127
2212
|
/** @internal */
|
|
2128
|
-
export const
|
|
2213
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema:
|
|
2129
2214
|
z.ZodNativeEnum<
|
|
2130
|
-
typeof
|
|
2215
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType
|
|
2131
2216
|
> =
|
|
2132
|
-
|
|
2217
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema;
|
|
2133
2218
|
|
|
2134
2219
|
/**
|
|
2135
2220
|
* @internal
|
|
2136
2221
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2137
2222
|
*/
|
|
2138
|
-
export namespace
|
|
2139
|
-
/** @deprecated use `
|
|
2223
|
+
export namespace StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$ {
|
|
2224
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema` instead. */
|
|
2140
2225
|
export const inboundSchema =
|
|
2141
|
-
|
|
2142
|
-
/** @deprecated use `
|
|
2226
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema;
|
|
2227
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema` instead. */
|
|
2143
2228
|
export const outboundSchema =
|
|
2144
|
-
|
|
2229
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema;
|
|
2145
2230
|
}
|
|
2146
2231
|
|
|
2147
2232
|
/** @internal */
|
|
@@ -2199,7 +2284,7 @@ export const ToolsArguments$inboundSchema: z.ZodType<
|
|
|
2199
2284
|
unknown
|
|
2200
2285
|
> = z.object({
|
|
2201
2286
|
type:
|
|
2202
|
-
|
|
2287
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema,
|
|
2203
2288
|
description: z.string(),
|
|
2204
2289
|
send_to_model: z.boolean().default(true),
|
|
2205
2290
|
default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -2225,7 +2310,7 @@ export const ToolsArguments$outboundSchema: z.ZodType<
|
|
|
2225
2310
|
ToolsArguments
|
|
2226
2311
|
> = z.object({
|
|
2227
2312
|
type:
|
|
2228
|
-
|
|
2313
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema,
|
|
2229
2314
|
description: z.string(),
|
|
2230
2315
|
sendToModel: z.boolean().default(true),
|
|
2231
2316
|
defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -2317,9 +2402,9 @@ export function toolsHttpFromJSON(
|
|
|
2317
2402
|
}
|
|
2318
2403
|
|
|
2319
2404
|
/** @internal */
|
|
2320
|
-
export const
|
|
2405
|
+
export const Tools12$inboundSchema: z.ZodType<Tools12, z.ZodTypeDef, unknown> =
|
|
2321
2406
|
z.object({
|
|
2322
|
-
_id: z.string().default("
|
|
2407
|
+
_id: z.string().default("01K5ENCKT1J88RST8HW320MGM7"),
|
|
2323
2408
|
path: z.string(),
|
|
2324
2409
|
key: z.string(),
|
|
2325
2410
|
display_name: z.string(),
|
|
@@ -2327,7 +2412,7 @@ export const Tools11$inboundSchema: z.ZodType<Tools11, z.ZodTypeDef, unknown> =
|
|
|
2327
2412
|
status: ToolsStatus$inboundSchema.default("live"),
|
|
2328
2413
|
version_hash: z.string().optional(),
|
|
2329
2414
|
type:
|
|
2330
|
-
|
|
2415
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema,
|
|
2331
2416
|
http: z.lazy(() => ToolsHttp$inboundSchema),
|
|
2332
2417
|
requires_approval: z.boolean().default(false),
|
|
2333
2418
|
}).transform((v) => {
|
|
@@ -2340,7 +2425,7 @@ export const Tools11$inboundSchema: z.ZodType<Tools11, z.ZodTypeDef, unknown> =
|
|
|
2340
2425
|
});
|
|
2341
2426
|
|
|
2342
2427
|
/** @internal */
|
|
2343
|
-
export type
|
|
2428
|
+
export type Tools12$Outbound = {
|
|
2344
2429
|
_id: string;
|
|
2345
2430
|
path: string;
|
|
2346
2431
|
key: string;
|
|
@@ -2354,12 +2439,12 @@ export type Tools11$Outbound = {
|
|
|
2354
2439
|
};
|
|
2355
2440
|
|
|
2356
2441
|
/** @internal */
|
|
2357
|
-
export const
|
|
2358
|
-
|
|
2442
|
+
export const Tools12$outboundSchema: z.ZodType<
|
|
2443
|
+
Tools12$Outbound,
|
|
2359
2444
|
z.ZodTypeDef,
|
|
2360
|
-
|
|
2445
|
+
Tools12
|
|
2361
2446
|
> = z.object({
|
|
2362
|
-
id: z.string().default("
|
|
2447
|
+
id: z.string().default("01K5ENCKT1J88RST8HW320MGM7"),
|
|
2363
2448
|
path: z.string(),
|
|
2364
2449
|
key: z.string(),
|
|
2365
2450
|
displayName: z.string(),
|
|
@@ -2367,7 +2452,7 @@ export const Tools11$outboundSchema: z.ZodType<
|
|
|
2367
2452
|
status: ToolsStatus$outboundSchema.default("live"),
|
|
2368
2453
|
versionHash: z.string().optional(),
|
|
2369
2454
|
type:
|
|
2370
|
-
|
|
2455
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema,
|
|
2371
2456
|
http: z.lazy(() => ToolsHttp$outboundSchema),
|
|
2372
2457
|
requiresApproval: z.boolean().default(false),
|
|
2373
2458
|
}).transform((v) => {
|
|
@@ -2379,6 +2464,91 @@ export const Tools11$outboundSchema: z.ZodType<
|
|
|
2379
2464
|
});
|
|
2380
2465
|
});
|
|
2381
2466
|
|
|
2467
|
+
/**
|
|
2468
|
+
* @internal
|
|
2469
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2470
|
+
*/
|
|
2471
|
+
export namespace Tools12$ {
|
|
2472
|
+
/** @deprecated use `Tools12$inboundSchema` instead. */
|
|
2473
|
+
export const inboundSchema = Tools12$inboundSchema;
|
|
2474
|
+
/** @deprecated use `Tools12$outboundSchema` instead. */
|
|
2475
|
+
export const outboundSchema = Tools12$outboundSchema;
|
|
2476
|
+
/** @deprecated use `Tools12$Outbound` instead. */
|
|
2477
|
+
export type Outbound = Tools12$Outbound;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
export function tools12ToJSON(tools12: Tools12): string {
|
|
2481
|
+
return JSON.stringify(Tools12$outboundSchema.parse(tools12));
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
export function tools12FromJSON(
|
|
2485
|
+
jsonString: string,
|
|
2486
|
+
): SafeParseResult<Tools12, SDKValidationError> {
|
|
2487
|
+
return safeParse(
|
|
2488
|
+
jsonString,
|
|
2489
|
+
(x) => Tools12$inboundSchema.parse(JSON.parse(x)),
|
|
2490
|
+
`Failed to parse 'Tools12' from JSON`,
|
|
2491
|
+
);
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
/** @internal */
|
|
2495
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema:
|
|
2496
|
+
z.ZodNativeEnum<
|
|
2497
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings11Type
|
|
2498
|
+
> = z.nativeEnum(StreamRunAgentToolsAgentsRequestRequestBodySettings11Type);
|
|
2499
|
+
|
|
2500
|
+
/** @internal */
|
|
2501
|
+
export const StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema:
|
|
2502
|
+
z.ZodNativeEnum<
|
|
2503
|
+
typeof StreamRunAgentToolsAgentsRequestRequestBodySettings11Type
|
|
2504
|
+
> = StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* @internal
|
|
2508
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2509
|
+
*/
|
|
2510
|
+
export namespace StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$ {
|
|
2511
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema` instead. */
|
|
2512
|
+
export const inboundSchema =
|
|
2513
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema;
|
|
2514
|
+
/** @deprecated use `StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema` instead. */
|
|
2515
|
+
export const outboundSchema =
|
|
2516
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
/** @internal */
|
|
2520
|
+
export const Tools11$inboundSchema: z.ZodType<Tools11, z.ZodTypeDef, unknown> =
|
|
2521
|
+
z.object({
|
|
2522
|
+
type:
|
|
2523
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema,
|
|
2524
|
+
requires_approval: z.boolean().default(false),
|
|
2525
|
+
}).transform((v) => {
|
|
2526
|
+
return remap$(v, {
|
|
2527
|
+
"requires_approval": "requiresApproval",
|
|
2528
|
+
});
|
|
2529
|
+
});
|
|
2530
|
+
|
|
2531
|
+
/** @internal */
|
|
2532
|
+
export type Tools11$Outbound = {
|
|
2533
|
+
type: string;
|
|
2534
|
+
requires_approval: boolean;
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2537
|
+
/** @internal */
|
|
2538
|
+
export const Tools11$outboundSchema: z.ZodType<
|
|
2539
|
+
Tools11$Outbound,
|
|
2540
|
+
z.ZodTypeDef,
|
|
2541
|
+
Tools11
|
|
2542
|
+
> = z.object({
|
|
2543
|
+
type:
|
|
2544
|
+
StreamRunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema,
|
|
2545
|
+
requiresApproval: z.boolean().default(false),
|
|
2546
|
+
}).transform((v) => {
|
|
2547
|
+
return remap$(v, {
|
|
2548
|
+
requiresApproval: "requires_approval",
|
|
2549
|
+
});
|
|
2550
|
+
});
|
|
2551
|
+
|
|
2382
2552
|
/**
|
|
2383
2553
|
* @internal
|
|
2384
2554
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -3272,8 +3442,8 @@ export const StreamRunAgentTools$inboundSchema: z.ZodType<
|
|
|
3272
3442
|
z.ZodTypeDef,
|
|
3273
3443
|
unknown
|
|
3274
3444
|
> = z.union([
|
|
3275
|
-
z.lazy(() => Tools11$inboundSchema),
|
|
3276
3445
|
z.lazy(() => Tools12$inboundSchema),
|
|
3446
|
+
z.lazy(() => Tools13$inboundSchema),
|
|
3277
3447
|
z.lazy(() => StreamRunAgentTools1$inboundSchema),
|
|
3278
3448
|
z.lazy(() => StreamRunAgentTools2$inboundSchema),
|
|
3279
3449
|
z.lazy(() => StreamRunAgentTools3$inboundSchema),
|
|
@@ -3284,12 +3454,13 @@ export const StreamRunAgentTools$inboundSchema: z.ZodType<
|
|
|
3284
3454
|
z.lazy(() => Tools8$inboundSchema),
|
|
3285
3455
|
z.lazy(() => Tools9$inboundSchema),
|
|
3286
3456
|
z.lazy(() => Tools10$inboundSchema),
|
|
3457
|
+
z.lazy(() => Tools11$inboundSchema),
|
|
3287
3458
|
]);
|
|
3288
3459
|
|
|
3289
3460
|
/** @internal */
|
|
3290
3461
|
export type StreamRunAgentTools$Outbound =
|
|
3291
|
-
| Tools11$Outbound
|
|
3292
3462
|
| Tools12$Outbound
|
|
3463
|
+
| Tools13$Outbound
|
|
3293
3464
|
| StreamRunAgentTools1$Outbound
|
|
3294
3465
|
| StreamRunAgentTools2$Outbound
|
|
3295
3466
|
| StreamRunAgentTools3$Outbound
|
|
@@ -3299,7 +3470,8 @@ export type StreamRunAgentTools$Outbound =
|
|
|
3299
3470
|
| Tools7$Outbound
|
|
3300
3471
|
| Tools8$Outbound
|
|
3301
3472
|
| Tools9$Outbound
|
|
3302
|
-
| Tools10$Outbound
|
|
3473
|
+
| Tools10$Outbound
|
|
3474
|
+
| Tools11$Outbound;
|
|
3303
3475
|
|
|
3304
3476
|
/** @internal */
|
|
3305
3477
|
export const StreamRunAgentTools$outboundSchema: z.ZodType<
|
|
@@ -3307,8 +3479,8 @@ export const StreamRunAgentTools$outboundSchema: z.ZodType<
|
|
|
3307
3479
|
z.ZodTypeDef,
|
|
3308
3480
|
StreamRunAgentTools
|
|
3309
3481
|
> = z.union([
|
|
3310
|
-
z.lazy(() => Tools11$outboundSchema),
|
|
3311
3482
|
z.lazy(() => Tools12$outboundSchema),
|
|
3483
|
+
z.lazy(() => Tools13$outboundSchema),
|
|
3312
3484
|
z.lazy(() => StreamRunAgentTools1$outboundSchema),
|
|
3313
3485
|
z.lazy(() => StreamRunAgentTools2$outboundSchema),
|
|
3314
3486
|
z.lazy(() => StreamRunAgentTools3$outboundSchema),
|
|
@@ -3319,6 +3491,7 @@ export const StreamRunAgentTools$outboundSchema: z.ZodType<
|
|
|
3319
3491
|
z.lazy(() => Tools8$outboundSchema),
|
|
3320
3492
|
z.lazy(() => Tools9$outboundSchema),
|
|
3321
3493
|
z.lazy(() => Tools10$outboundSchema),
|
|
3494
|
+
z.lazy(() => Tools11$outboundSchema),
|
|
3322
3495
|
]);
|
|
3323
3496
|
|
|
3324
3497
|
/**
|
|
@@ -3382,8 +3555,8 @@ export const StreamRunAgentSettings$inboundSchema: z.ZodType<
|
|
|
3382
3555
|
> = z.object({
|
|
3383
3556
|
tools: z.array(
|
|
3384
3557
|
z.union([
|
|
3385
|
-
z.lazy(() => Tools11$inboundSchema),
|
|
3386
3558
|
z.lazy(() => Tools12$inboundSchema),
|
|
3559
|
+
z.lazy(() => Tools13$inboundSchema),
|
|
3387
3560
|
z.lazy(() => StreamRunAgentTools1$inboundSchema),
|
|
3388
3561
|
z.lazy(() => StreamRunAgentTools2$inboundSchema),
|
|
3389
3562
|
z.lazy(() => StreamRunAgentTools3$inboundSchema),
|
|
@@ -3394,6 +3567,7 @@ export const StreamRunAgentSettings$inboundSchema: z.ZodType<
|
|
|
3394
3567
|
z.lazy(() => Tools8$inboundSchema),
|
|
3395
3568
|
z.lazy(() => Tools9$inboundSchema),
|
|
3396
3569
|
z.lazy(() => Tools10$inboundSchema),
|
|
3570
|
+
z.lazy(() => Tools11$inboundSchema),
|
|
3397
3571
|
]),
|
|
3398
3572
|
),
|
|
3399
3573
|
tool_approval_required: StreamRunAgentToolApprovalRequired$inboundSchema
|
|
@@ -3411,8 +3585,8 @@ export const StreamRunAgentSettings$inboundSchema: z.ZodType<
|
|
|
3411
3585
|
/** @internal */
|
|
3412
3586
|
export type StreamRunAgentSettings$Outbound = {
|
|
3413
3587
|
tools: Array<
|
|
3414
|
-
| Tools11$Outbound
|
|
3415
3588
|
| Tools12$Outbound
|
|
3589
|
+
| Tools13$Outbound
|
|
3416
3590
|
| StreamRunAgentTools1$Outbound
|
|
3417
3591
|
| StreamRunAgentTools2$Outbound
|
|
3418
3592
|
| StreamRunAgentTools3$Outbound
|
|
@@ -3423,6 +3597,7 @@ export type StreamRunAgentSettings$Outbound = {
|
|
|
3423
3597
|
| Tools8$Outbound
|
|
3424
3598
|
| Tools9$Outbound
|
|
3425
3599
|
| Tools10$Outbound
|
|
3600
|
+
| Tools11$Outbound
|
|
3426
3601
|
>;
|
|
3427
3602
|
tool_approval_required: string;
|
|
3428
3603
|
max_iterations: number;
|
|
@@ -3437,8 +3612,8 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
|
|
|
3437
3612
|
> = z.object({
|
|
3438
3613
|
tools: z.array(
|
|
3439
3614
|
z.union([
|
|
3440
|
-
z.lazy(() => Tools11$outboundSchema),
|
|
3441
3615
|
z.lazy(() => Tools12$outboundSchema),
|
|
3616
|
+
z.lazy(() => Tools13$outboundSchema),
|
|
3442
3617
|
z.lazy(() => StreamRunAgentTools1$outboundSchema),
|
|
3443
3618
|
z.lazy(() => StreamRunAgentTools2$outboundSchema),
|
|
3444
3619
|
z.lazy(() => StreamRunAgentTools3$outboundSchema),
|
|
@@ -3449,6 +3624,7 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
|
|
|
3449
3624
|
z.lazy(() => Tools8$outboundSchema),
|
|
3450
3625
|
z.lazy(() => Tools9$outboundSchema),
|
|
3451
3626
|
z.lazy(() => Tools10$outboundSchema),
|
|
3627
|
+
z.lazy(() => Tools11$outboundSchema),
|
|
3452
3628
|
]),
|
|
3453
3629
|
),
|
|
3454
3630
|
toolApprovalRequired: StreamRunAgentToolApprovalRequired$outboundSchema
|
|
@@ -3509,7 +3685,7 @@ export const StreamRunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3509
3685
|
message: z.lazy(() => StreamRunAgentMessage$inboundSchema),
|
|
3510
3686
|
variables: z.record(z.any()).optional(),
|
|
3511
3687
|
contextId: z.string().optional(),
|
|
3512
|
-
|
|
3688
|
+
memory: z.lazy(() => StreamRunAgentMemory$inboundSchema).optional(),
|
|
3513
3689
|
path: z.string(),
|
|
3514
3690
|
description: z.string().optional(),
|
|
3515
3691
|
iconUrl: z.string().optional(),
|
|
@@ -3526,7 +3702,6 @@ export const StreamRunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3526
3702
|
}).transform((v) => {
|
|
3527
3703
|
return remap$(v, {
|
|
3528
3704
|
"fallback_models": "fallbackModels",
|
|
3529
|
-
"external_id": "externalId",
|
|
3530
3705
|
"system_prompt": "systemPrompt",
|
|
3531
3706
|
"memory_stores": "memoryStores",
|
|
3532
3707
|
"knowledge_bases": "knowledgeBases",
|
|
@@ -3546,7 +3721,7 @@ export type StreamRunAgentRequestBody$Outbound = {
|
|
|
3546
3721
|
message: StreamRunAgentMessage$Outbound;
|
|
3547
3722
|
variables?: { [k: string]: any } | undefined;
|
|
3548
3723
|
contextId?: string | undefined;
|
|
3549
|
-
|
|
3724
|
+
memory?: StreamRunAgentMemory$Outbound | undefined;
|
|
3550
3725
|
path: string;
|
|
3551
3726
|
description?: string | undefined;
|
|
3552
3727
|
iconUrl?: string | undefined;
|
|
@@ -3573,7 +3748,7 @@ export const StreamRunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3573
3748
|
message: z.lazy(() => StreamRunAgentMessage$outboundSchema),
|
|
3574
3749
|
variables: z.record(z.any()).optional(),
|
|
3575
3750
|
contextId: z.string().optional(),
|
|
3576
|
-
|
|
3751
|
+
memory: z.lazy(() => StreamRunAgentMemory$outboundSchema).optional(),
|
|
3577
3752
|
path: z.string(),
|
|
3578
3753
|
description: z.string().optional(),
|
|
3579
3754
|
iconUrl: z.string().optional(),
|
|
@@ -3589,7 +3764,6 @@ export const StreamRunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3589
3764
|
}).transform((v) => {
|
|
3590
3765
|
return remap$(v, {
|
|
3591
3766
|
fallbackModels: "fallback_models",
|
|
3592
|
-
externalId: "external_id",
|
|
3593
3767
|
systemPrompt: "system_prompt",
|
|
3594
3768
|
memoryStores: "memory_stores",
|
|
3595
3769
|
knowledgeBases: "knowledge_bases",
|