@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
|
@@ -141,6 +141,16 @@ export type Message = {
|
|
|
141
141
|
metadata?: { [k: string]: any } | undefined;
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
+
/**
|
|
145
|
+
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
146
|
+
*/
|
|
147
|
+
export type Memory = {
|
|
148
|
+
/**
|
|
149
|
+
* 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.
|
|
150
|
+
*/
|
|
151
|
+
entityId: string;
|
|
152
|
+
};
|
|
153
|
+
|
|
144
154
|
export const RunAgentConfigurationType = {
|
|
145
155
|
Query: "query",
|
|
146
156
|
} as const;
|
|
@@ -182,11 +192,11 @@ export type TeamOfAgents = {
|
|
|
182
192
|
role?: string | undefined;
|
|
183
193
|
};
|
|
184
194
|
|
|
185
|
-
export const
|
|
195
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings13Type = {
|
|
186
196
|
Function: "function",
|
|
187
197
|
} as const;
|
|
188
|
-
export type
|
|
189
|
-
typeof
|
|
198
|
+
export type RunAgentToolsAgentsRequestRequestBodySettings13Type = ClosedEnum<
|
|
199
|
+
typeof RunAgentToolsAgentsRequestRequestBodySettings13Type
|
|
190
200
|
>;
|
|
191
201
|
|
|
192
202
|
export type ToolsFunction = {
|
|
@@ -196,8 +206,8 @@ export type ToolsFunction = {
|
|
|
196
206
|
parameters?: { [k: string]: any } | undefined;
|
|
197
207
|
};
|
|
198
208
|
|
|
199
|
-
export type
|
|
200
|
-
type:
|
|
209
|
+
export type Thirteen = {
|
|
210
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings13Type;
|
|
201
211
|
id?: string | undefined;
|
|
202
212
|
key: string;
|
|
203
213
|
displayName?: string | undefined;
|
|
@@ -220,11 +230,11 @@ export const Status = {
|
|
|
220
230
|
*/
|
|
221
231
|
export type Status = ClosedEnum<typeof Status>;
|
|
222
232
|
|
|
223
|
-
export const
|
|
233
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12Type = {
|
|
224
234
|
Http: "http",
|
|
225
235
|
} as const;
|
|
226
|
-
export type
|
|
227
|
-
typeof
|
|
236
|
+
export type RunAgentToolsAgentsRequestRequestBodySettings12Type = ClosedEnum<
|
|
237
|
+
typeof RunAgentToolsAgentsRequestRequestBodySettings12Type
|
|
228
238
|
>;
|
|
229
239
|
|
|
230
240
|
/**
|
|
@@ -266,7 +276,7 @@ export type Blueprint = {
|
|
|
266
276
|
/**
|
|
267
277
|
* The type of the argument.
|
|
268
278
|
*/
|
|
269
|
-
export const
|
|
279
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12HttpType = {
|
|
270
280
|
String: "string",
|
|
271
281
|
Number: "number",
|
|
272
282
|
Boolean: "boolean",
|
|
@@ -274,8 +284,8 @@ export const RunAgentToolsAgentsRequestRequestBodySettings11HttpType = {
|
|
|
274
284
|
/**
|
|
275
285
|
* The type of the argument.
|
|
276
286
|
*/
|
|
277
|
-
export type
|
|
278
|
-
ClosedEnum<typeof
|
|
287
|
+
export type RunAgentToolsAgentsRequestRequestBodySettings12HttpType =
|
|
288
|
+
ClosedEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings12HttpType>;
|
|
279
289
|
|
|
280
290
|
/**
|
|
281
291
|
* The default value of the argument.
|
|
@@ -286,7 +296,7 @@ export type Arguments = {
|
|
|
286
296
|
/**
|
|
287
297
|
* The type of the argument.
|
|
288
298
|
*/
|
|
289
|
-
type:
|
|
299
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12HttpType;
|
|
290
300
|
/**
|
|
291
301
|
* A description of the argument.
|
|
292
302
|
*/
|
|
@@ -312,7 +322,7 @@ export type Http = {
|
|
|
312
322
|
arguments?: { [k: string]: Arguments } | undefined;
|
|
313
323
|
};
|
|
314
324
|
|
|
315
|
-
export type
|
|
325
|
+
export type Twelve = {
|
|
316
326
|
id?: string | undefined;
|
|
317
327
|
/**
|
|
318
328
|
* 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.
|
|
@@ -335,14 +345,26 @@ export type Eleven = {
|
|
|
335
345
|
*/
|
|
336
346
|
status?: Status | undefined;
|
|
337
347
|
versionHash?: string | undefined;
|
|
338
|
-
type:
|
|
348
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12Type;
|
|
339
349
|
http: Http;
|
|
340
350
|
requiresApproval?: boolean | undefined;
|
|
341
351
|
};
|
|
342
352
|
|
|
343
|
-
export const
|
|
353
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings11Type = {
|
|
344
354
|
CurrentDate: "current_date",
|
|
345
355
|
} as const;
|
|
356
|
+
export type RunAgentToolsAgentsRequestRequestBodySettings11Type = ClosedEnum<
|
|
357
|
+
typeof RunAgentToolsAgentsRequestRequestBodySettings11Type
|
|
358
|
+
>;
|
|
359
|
+
|
|
360
|
+
export type Eleven = {
|
|
361
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings11Type;
|
|
362
|
+
requiresApproval?: boolean | undefined;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings10Type = {
|
|
366
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
367
|
+
} as const;
|
|
346
368
|
export type RunAgentToolsAgentsRequestRequestBodySettings10Type = ClosedEnum<
|
|
347
369
|
typeof RunAgentToolsAgentsRequestRequestBodySettings10Type
|
|
348
370
|
>;
|
|
@@ -353,7 +375,7 @@ export type Ten = {
|
|
|
353
375
|
};
|
|
354
376
|
|
|
355
377
|
export const RunAgentToolsAgentsRequestRequestBodySettings9Type = {
|
|
356
|
-
|
|
378
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
357
379
|
} as const;
|
|
358
380
|
export type RunAgentToolsAgentsRequestRequestBodySettings9Type = ClosedEnum<
|
|
359
381
|
typeof RunAgentToolsAgentsRequestRequestBodySettings9Type
|
|
@@ -365,7 +387,7 @@ export type Nine = {
|
|
|
365
387
|
};
|
|
366
388
|
|
|
367
389
|
export const RunAgentToolsAgentsRequestRequestBodySettings8Type = {
|
|
368
|
-
|
|
390
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
369
391
|
} as const;
|
|
370
392
|
export type RunAgentToolsAgentsRequestRequestBodySettings8Type = ClosedEnum<
|
|
371
393
|
typeof RunAgentToolsAgentsRequestRequestBodySettings8Type
|
|
@@ -377,7 +399,7 @@ export type Eight = {
|
|
|
377
399
|
};
|
|
378
400
|
|
|
379
401
|
export const RunAgentToolsAgentsRequestRequestBodySettings7Type = {
|
|
380
|
-
|
|
402
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
381
403
|
} as const;
|
|
382
404
|
export type RunAgentToolsAgentsRequestRequestBodySettings7Type = ClosedEnum<
|
|
383
405
|
typeof RunAgentToolsAgentsRequestRequestBodySettings7Type
|
|
@@ -457,8 +479,8 @@ export type Tools1 = {
|
|
|
457
479
|
};
|
|
458
480
|
|
|
459
481
|
export type Tools =
|
|
460
|
-
| Eleven
|
|
461
482
|
| Twelve
|
|
483
|
+
| Thirteen
|
|
462
484
|
| Tools1
|
|
463
485
|
| Tools2
|
|
464
486
|
| Tools3
|
|
@@ -468,7 +490,8 @@ export type Tools =
|
|
|
468
490
|
| Seven
|
|
469
491
|
| Eight
|
|
470
492
|
| Nine
|
|
471
|
-
| Ten
|
|
493
|
+
| Ten
|
|
494
|
+
| Eleven;
|
|
472
495
|
|
|
473
496
|
/**
|
|
474
497
|
* 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.
|
|
@@ -485,8 +508,8 @@ export type ToolApprovalRequired = ClosedEnum<typeof ToolApprovalRequired>;
|
|
|
485
508
|
|
|
486
509
|
export type Settings = {
|
|
487
510
|
tools: Array<
|
|
488
|
-
| Eleven
|
|
489
511
|
| Twelve
|
|
512
|
+
| Thirteen
|
|
490
513
|
| Tools1
|
|
491
514
|
| Tools2
|
|
492
515
|
| Tools3
|
|
@@ -497,6 +520,7 @@ export type Settings = {
|
|
|
497
520
|
| Eight
|
|
498
521
|
| Nine
|
|
499
522
|
| Ten
|
|
523
|
+
| Eleven
|
|
500
524
|
>;
|
|
501
525
|
/**
|
|
502
526
|
* 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.
|
|
@@ -550,9 +574,9 @@ export type RunAgentRequestBody = {
|
|
|
550
574
|
*/
|
|
551
575
|
contextId?: string | undefined;
|
|
552
576
|
/**
|
|
553
|
-
*
|
|
577
|
+
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
554
578
|
*/
|
|
555
|
-
|
|
579
|
+
memory?: Memory | undefined;
|
|
556
580
|
/**
|
|
557
581
|
* 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.
|
|
558
582
|
*/
|
|
@@ -1454,6 +1478,61 @@ export function messageFromJSON(
|
|
|
1454
1478
|
);
|
|
1455
1479
|
}
|
|
1456
1480
|
|
|
1481
|
+
/** @internal */
|
|
1482
|
+
export const Memory$inboundSchema: z.ZodType<Memory, z.ZodTypeDef, unknown> = z
|
|
1483
|
+
.object({
|
|
1484
|
+
entity_id: z.string(),
|
|
1485
|
+
}).transform((v) => {
|
|
1486
|
+
return remap$(v, {
|
|
1487
|
+
"entity_id": "entityId",
|
|
1488
|
+
});
|
|
1489
|
+
});
|
|
1490
|
+
|
|
1491
|
+
/** @internal */
|
|
1492
|
+
export type Memory$Outbound = {
|
|
1493
|
+
entity_id: string;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
/** @internal */
|
|
1497
|
+
export const Memory$outboundSchema: z.ZodType<
|
|
1498
|
+
Memory$Outbound,
|
|
1499
|
+
z.ZodTypeDef,
|
|
1500
|
+
Memory
|
|
1501
|
+
> = z.object({
|
|
1502
|
+
entityId: z.string(),
|
|
1503
|
+
}).transform((v) => {
|
|
1504
|
+
return remap$(v, {
|
|
1505
|
+
entityId: "entity_id",
|
|
1506
|
+
});
|
|
1507
|
+
});
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* @internal
|
|
1511
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1512
|
+
*/
|
|
1513
|
+
export namespace Memory$ {
|
|
1514
|
+
/** @deprecated use `Memory$inboundSchema` instead. */
|
|
1515
|
+
export const inboundSchema = Memory$inboundSchema;
|
|
1516
|
+
/** @deprecated use `Memory$outboundSchema` instead. */
|
|
1517
|
+
export const outboundSchema = Memory$outboundSchema;
|
|
1518
|
+
/** @deprecated use `Memory$Outbound` instead. */
|
|
1519
|
+
export type Outbound = Memory$Outbound;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
export function memoryToJSON(memory: Memory): string {
|
|
1523
|
+
return JSON.stringify(Memory$outboundSchema.parse(memory));
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
export function memoryFromJSON(
|
|
1527
|
+
jsonString: string,
|
|
1528
|
+
): SafeParseResult<Memory, SDKValidationError> {
|
|
1529
|
+
return safeParse(
|
|
1530
|
+
jsonString,
|
|
1531
|
+
(x) => Memory$inboundSchema.parse(JSON.parse(x)),
|
|
1532
|
+
`Failed to parse 'Memory' from JSON`,
|
|
1533
|
+
);
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1457
1536
|
/** @internal */
|
|
1458
1537
|
export const RunAgentConfigurationType$inboundSchema: z.ZodNativeEnum<
|
|
1459
1538
|
typeof RunAgentConfigurationType
|
|
@@ -1769,26 +1848,26 @@ export function teamOfAgentsFromJSON(
|
|
|
1769
1848
|
}
|
|
1770
1849
|
|
|
1771
1850
|
/** @internal */
|
|
1772
|
-
export const
|
|
1773
|
-
z.ZodNativeEnum<typeof
|
|
1774
|
-
z.nativeEnum(
|
|
1851
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema:
|
|
1852
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings13Type> =
|
|
1853
|
+
z.nativeEnum(RunAgentToolsAgentsRequestRequestBodySettings13Type);
|
|
1775
1854
|
|
|
1776
1855
|
/** @internal */
|
|
1777
|
-
export const
|
|
1778
|
-
z.ZodNativeEnum<typeof
|
|
1779
|
-
|
|
1856
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema:
|
|
1857
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings13Type> =
|
|
1858
|
+
RunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema;
|
|
1780
1859
|
|
|
1781
1860
|
/**
|
|
1782
1861
|
* @internal
|
|
1783
1862
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1784
1863
|
*/
|
|
1785
|
-
export namespace
|
|
1786
|
-
/** @deprecated use `
|
|
1864
|
+
export namespace RunAgentToolsAgentsRequestRequestBodySettings13Type$ {
|
|
1865
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema` instead. */
|
|
1787
1866
|
export const inboundSchema =
|
|
1788
|
-
|
|
1789
|
-
/** @deprecated use `
|
|
1867
|
+
RunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema;
|
|
1868
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema` instead. */
|
|
1790
1869
|
export const outboundSchema =
|
|
1791
|
-
|
|
1870
|
+
RunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema;
|
|
1792
1871
|
}
|
|
1793
1872
|
|
|
1794
1873
|
/** @internal */
|
|
@@ -1851,25 +1930,28 @@ export function toolsFunctionFromJSON(
|
|
|
1851
1930
|
}
|
|
1852
1931
|
|
|
1853
1932
|
/** @internal */
|
|
1854
|
-
export const
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1933
|
+
export const Thirteen$inboundSchema: z.ZodType<
|
|
1934
|
+
Thirteen,
|
|
1935
|
+
z.ZodTypeDef,
|
|
1936
|
+
unknown
|
|
1937
|
+
> = z.object({
|
|
1938
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings13Type$inboundSchema,
|
|
1939
|
+
_id: z.string().optional(),
|
|
1940
|
+
key: z.string(),
|
|
1941
|
+
display_name: z.string().optional(),
|
|
1942
|
+
description: z.string().optional(),
|
|
1943
|
+
requires_approval: z.boolean().default(false),
|
|
1944
|
+
function: z.lazy(() => ToolsFunction$inboundSchema),
|
|
1945
|
+
}).transform((v) => {
|
|
1946
|
+
return remap$(v, {
|
|
1947
|
+
"_id": "id",
|
|
1948
|
+
"display_name": "displayName",
|
|
1949
|
+
"requires_approval": "requiresApproval",
|
|
1869
1950
|
});
|
|
1951
|
+
});
|
|
1870
1952
|
|
|
1871
1953
|
/** @internal */
|
|
1872
|
-
export type
|
|
1954
|
+
export type Thirteen$Outbound = {
|
|
1873
1955
|
type: string;
|
|
1874
1956
|
_id?: string | undefined;
|
|
1875
1957
|
key: string;
|
|
@@ -1880,12 +1962,12 @@ export type Twelve$Outbound = {
|
|
|
1880
1962
|
};
|
|
1881
1963
|
|
|
1882
1964
|
/** @internal */
|
|
1883
|
-
export const
|
|
1884
|
-
|
|
1965
|
+
export const Thirteen$outboundSchema: z.ZodType<
|
|
1966
|
+
Thirteen$Outbound,
|
|
1885
1967
|
z.ZodTypeDef,
|
|
1886
|
-
|
|
1968
|
+
Thirteen
|
|
1887
1969
|
> = z.object({
|
|
1888
|
-
type:
|
|
1970
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings13Type$outboundSchema,
|
|
1889
1971
|
id: z.string().optional(),
|
|
1890
1972
|
key: z.string(),
|
|
1891
1973
|
displayName: z.string().optional(),
|
|
@@ -1904,26 +1986,26 @@ export const Twelve$outboundSchema: z.ZodType<
|
|
|
1904
1986
|
* @internal
|
|
1905
1987
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1906
1988
|
*/
|
|
1907
|
-
export namespace
|
|
1908
|
-
/** @deprecated use `
|
|
1909
|
-
export const inboundSchema =
|
|
1910
|
-
/** @deprecated use `
|
|
1911
|
-
export const outboundSchema =
|
|
1912
|
-
/** @deprecated use `
|
|
1913
|
-
export type Outbound =
|
|
1989
|
+
export namespace Thirteen$ {
|
|
1990
|
+
/** @deprecated use `Thirteen$inboundSchema` instead. */
|
|
1991
|
+
export const inboundSchema = Thirteen$inboundSchema;
|
|
1992
|
+
/** @deprecated use `Thirteen$outboundSchema` instead. */
|
|
1993
|
+
export const outboundSchema = Thirteen$outboundSchema;
|
|
1994
|
+
/** @deprecated use `Thirteen$Outbound` instead. */
|
|
1995
|
+
export type Outbound = Thirteen$Outbound;
|
|
1914
1996
|
}
|
|
1915
1997
|
|
|
1916
|
-
export function
|
|
1917
|
-
return JSON.stringify(
|
|
1998
|
+
export function thirteenToJSON(thirteen: Thirteen): string {
|
|
1999
|
+
return JSON.stringify(Thirteen$outboundSchema.parse(thirteen));
|
|
1918
2000
|
}
|
|
1919
2001
|
|
|
1920
|
-
export function
|
|
2002
|
+
export function thirteenFromJSON(
|
|
1921
2003
|
jsonString: string,
|
|
1922
|
-
): SafeParseResult<
|
|
2004
|
+
): SafeParseResult<Thirteen, SDKValidationError> {
|
|
1923
2005
|
return safeParse(
|
|
1924
2006
|
jsonString,
|
|
1925
|
-
(x) =>
|
|
1926
|
-
`Failed to parse '
|
|
2007
|
+
(x) => Thirteen$inboundSchema.parse(JSON.parse(x)),
|
|
2008
|
+
`Failed to parse 'Thirteen' from JSON`,
|
|
1927
2009
|
);
|
|
1928
2010
|
}
|
|
1929
2011
|
|
|
@@ -1947,26 +2029,26 @@ export namespace Status$ {
|
|
|
1947
2029
|
}
|
|
1948
2030
|
|
|
1949
2031
|
/** @internal */
|
|
1950
|
-
export const
|
|
1951
|
-
z.ZodNativeEnum<typeof
|
|
1952
|
-
z.nativeEnum(
|
|
2032
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema:
|
|
2033
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings12Type> =
|
|
2034
|
+
z.nativeEnum(RunAgentToolsAgentsRequestRequestBodySettings12Type);
|
|
1953
2035
|
|
|
1954
2036
|
/** @internal */
|
|
1955
|
-
export const
|
|
1956
|
-
z.ZodNativeEnum<typeof
|
|
1957
|
-
|
|
2037
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema:
|
|
2038
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings12Type> =
|
|
2039
|
+
RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema;
|
|
1958
2040
|
|
|
1959
2041
|
/**
|
|
1960
2042
|
* @internal
|
|
1961
2043
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1962
2044
|
*/
|
|
1963
|
-
export namespace
|
|
1964
|
-
/** @deprecated use `
|
|
2045
|
+
export namespace RunAgentToolsAgentsRequestRequestBodySettings12Type$ {
|
|
2046
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema` instead. */
|
|
1965
2047
|
export const inboundSchema =
|
|
1966
|
-
|
|
1967
|
-
/** @deprecated use `
|
|
2048
|
+
RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema;
|
|
2049
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema` instead. */
|
|
1968
2050
|
export const outboundSchema =
|
|
1969
|
-
|
|
2051
|
+
RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema;
|
|
1970
2052
|
}
|
|
1971
2053
|
|
|
1972
2054
|
/** @internal */
|
|
@@ -2048,28 +2130,28 @@ export function blueprintFromJSON(
|
|
|
2048
2130
|
}
|
|
2049
2131
|
|
|
2050
2132
|
/** @internal */
|
|
2051
|
-
export const
|
|
2133
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema:
|
|
2052
2134
|
z.ZodNativeEnum<
|
|
2053
|
-
typeof
|
|
2054
|
-
> = z.nativeEnum(
|
|
2135
|
+
typeof RunAgentToolsAgentsRequestRequestBodySettings12HttpType
|
|
2136
|
+
> = z.nativeEnum(RunAgentToolsAgentsRequestRequestBodySettings12HttpType);
|
|
2055
2137
|
|
|
2056
2138
|
/** @internal */
|
|
2057
|
-
export const
|
|
2139
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema:
|
|
2058
2140
|
z.ZodNativeEnum<
|
|
2059
|
-
typeof
|
|
2060
|
-
> =
|
|
2141
|
+
typeof RunAgentToolsAgentsRequestRequestBodySettings12HttpType
|
|
2142
|
+
> = RunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema;
|
|
2061
2143
|
|
|
2062
2144
|
/**
|
|
2063
2145
|
* @internal
|
|
2064
2146
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2065
2147
|
*/
|
|
2066
|
-
export namespace
|
|
2067
|
-
/** @deprecated use `
|
|
2148
|
+
export namespace RunAgentToolsAgentsRequestRequestBodySettings12HttpType$ {
|
|
2149
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema` instead. */
|
|
2068
2150
|
export const inboundSchema =
|
|
2069
|
-
|
|
2070
|
-
/** @deprecated use `
|
|
2151
|
+
RunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema;
|
|
2152
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema` instead. */
|
|
2071
2153
|
export const outboundSchema =
|
|
2072
|
-
|
|
2154
|
+
RunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema;
|
|
2073
2155
|
}
|
|
2074
2156
|
|
|
2075
2157
|
/** @internal */
|
|
@@ -2122,7 +2204,7 @@ export const Arguments$inboundSchema: z.ZodType<
|
|
|
2122
2204
|
z.ZodTypeDef,
|
|
2123
2205
|
unknown
|
|
2124
2206
|
> = z.object({
|
|
2125
|
-
type:
|
|
2207
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12HttpType$inboundSchema,
|
|
2126
2208
|
description: z.string(),
|
|
2127
2209
|
send_to_model: z.boolean().default(true),
|
|
2128
2210
|
default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -2147,7 +2229,7 @@ export const Arguments$outboundSchema: z.ZodType<
|
|
|
2147
2229
|
z.ZodTypeDef,
|
|
2148
2230
|
Arguments
|
|
2149
2231
|
> = z.object({
|
|
2150
|
-
type:
|
|
2232
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12HttpType$outboundSchema,
|
|
2151
2233
|
description: z.string(),
|
|
2152
2234
|
sendToModel: z.boolean().default(true),
|
|
2153
2235
|
defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
|
|
@@ -2233,16 +2315,16 @@ export function httpFromJSON(
|
|
|
2233
2315
|
}
|
|
2234
2316
|
|
|
2235
2317
|
/** @internal */
|
|
2236
|
-
export const
|
|
2318
|
+
export const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown> = z
|
|
2237
2319
|
.object({
|
|
2238
|
-
_id: z.string().default("
|
|
2320
|
+
_id: z.string().default("01K5ENCKSWHJKG9277SMJ4E28Y"),
|
|
2239
2321
|
path: z.string(),
|
|
2240
2322
|
key: z.string(),
|
|
2241
2323
|
display_name: z.string(),
|
|
2242
2324
|
description: z.string(),
|
|
2243
2325
|
status: Status$inboundSchema.default("live"),
|
|
2244
2326
|
version_hash: z.string().optional(),
|
|
2245
|
-
type:
|
|
2327
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12Type$inboundSchema,
|
|
2246
2328
|
http: z.lazy(() => Http$inboundSchema),
|
|
2247
2329
|
requires_approval: z.boolean().default(false),
|
|
2248
2330
|
}).transform((v) => {
|
|
@@ -2255,7 +2337,7 @@ export const Eleven$inboundSchema: z.ZodType<Eleven, z.ZodTypeDef, unknown> = z
|
|
|
2255
2337
|
});
|
|
2256
2338
|
|
|
2257
2339
|
/** @internal */
|
|
2258
|
-
export type
|
|
2340
|
+
export type Twelve$Outbound = {
|
|
2259
2341
|
_id: string;
|
|
2260
2342
|
path: string;
|
|
2261
2343
|
key: string;
|
|
@@ -2269,19 +2351,19 @@ export type Eleven$Outbound = {
|
|
|
2269
2351
|
};
|
|
2270
2352
|
|
|
2271
2353
|
/** @internal */
|
|
2272
|
-
export const
|
|
2273
|
-
|
|
2354
|
+
export const Twelve$outboundSchema: z.ZodType<
|
|
2355
|
+
Twelve$Outbound,
|
|
2274
2356
|
z.ZodTypeDef,
|
|
2275
|
-
|
|
2357
|
+
Twelve
|
|
2276
2358
|
> = z.object({
|
|
2277
|
-
id: z.string().default("
|
|
2359
|
+
id: z.string().default("01K5ENCKSWHJKG9277SMJ4E28Y"),
|
|
2278
2360
|
path: z.string(),
|
|
2279
2361
|
key: z.string(),
|
|
2280
2362
|
displayName: z.string(),
|
|
2281
2363
|
description: z.string(),
|
|
2282
2364
|
status: Status$outboundSchema.default("live"),
|
|
2283
2365
|
versionHash: z.string().optional(),
|
|
2284
|
-
type:
|
|
2366
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings12Type$outboundSchema,
|
|
2285
2367
|
http: z.lazy(() => Http$outboundSchema),
|
|
2286
2368
|
requiresApproval: z.boolean().default(false),
|
|
2287
2369
|
}).transform((v) => {
|
|
@@ -2293,6 +2375,87 @@ export const Eleven$outboundSchema: z.ZodType<
|
|
|
2293
2375
|
});
|
|
2294
2376
|
});
|
|
2295
2377
|
|
|
2378
|
+
/**
|
|
2379
|
+
* @internal
|
|
2380
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2381
|
+
*/
|
|
2382
|
+
export namespace Twelve$ {
|
|
2383
|
+
/** @deprecated use `Twelve$inboundSchema` instead. */
|
|
2384
|
+
export const inboundSchema = Twelve$inboundSchema;
|
|
2385
|
+
/** @deprecated use `Twelve$outboundSchema` instead. */
|
|
2386
|
+
export const outboundSchema = Twelve$outboundSchema;
|
|
2387
|
+
/** @deprecated use `Twelve$Outbound` instead. */
|
|
2388
|
+
export type Outbound = Twelve$Outbound;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
export function twelveToJSON(twelve: Twelve): string {
|
|
2392
|
+
return JSON.stringify(Twelve$outboundSchema.parse(twelve));
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
export function twelveFromJSON(
|
|
2396
|
+
jsonString: string,
|
|
2397
|
+
): SafeParseResult<Twelve, SDKValidationError> {
|
|
2398
|
+
return safeParse(
|
|
2399
|
+
jsonString,
|
|
2400
|
+
(x) => Twelve$inboundSchema.parse(JSON.parse(x)),
|
|
2401
|
+
`Failed to parse 'Twelve' from JSON`,
|
|
2402
|
+
);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/** @internal */
|
|
2406
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema:
|
|
2407
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings11Type> =
|
|
2408
|
+
z.nativeEnum(RunAgentToolsAgentsRequestRequestBodySettings11Type);
|
|
2409
|
+
|
|
2410
|
+
/** @internal */
|
|
2411
|
+
export const RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema:
|
|
2412
|
+
z.ZodNativeEnum<typeof RunAgentToolsAgentsRequestRequestBodySettings11Type> =
|
|
2413
|
+
RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema;
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* @internal
|
|
2417
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2418
|
+
*/
|
|
2419
|
+
export namespace RunAgentToolsAgentsRequestRequestBodySettings11Type$ {
|
|
2420
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema` instead. */
|
|
2421
|
+
export const inboundSchema =
|
|
2422
|
+
RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema;
|
|
2423
|
+
/** @deprecated use `RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema` instead. */
|
|
2424
|
+
export const outboundSchema =
|
|
2425
|
+
RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/** @internal */
|
|
2429
|
+
export const Eleven$inboundSchema: z.ZodType<Eleven, z.ZodTypeDef, unknown> = z
|
|
2430
|
+
.object({
|
|
2431
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings11Type$inboundSchema,
|
|
2432
|
+
requires_approval: z.boolean().default(false),
|
|
2433
|
+
}).transform((v) => {
|
|
2434
|
+
return remap$(v, {
|
|
2435
|
+
"requires_approval": "requiresApproval",
|
|
2436
|
+
});
|
|
2437
|
+
});
|
|
2438
|
+
|
|
2439
|
+
/** @internal */
|
|
2440
|
+
export type Eleven$Outbound = {
|
|
2441
|
+
type: string;
|
|
2442
|
+
requires_approval: boolean;
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
/** @internal */
|
|
2446
|
+
export const Eleven$outboundSchema: z.ZodType<
|
|
2447
|
+
Eleven$Outbound,
|
|
2448
|
+
z.ZodTypeDef,
|
|
2449
|
+
Eleven
|
|
2450
|
+
> = z.object({
|
|
2451
|
+
type: RunAgentToolsAgentsRequestRequestBodySettings11Type$outboundSchema,
|
|
2452
|
+
requiresApproval: z.boolean().default(false),
|
|
2453
|
+
}).transform((v) => {
|
|
2454
|
+
return remap$(v, {
|
|
2455
|
+
requiresApproval: "requires_approval",
|
|
2456
|
+
});
|
|
2457
|
+
});
|
|
2458
|
+
|
|
2296
2459
|
/**
|
|
2297
2460
|
* @internal
|
|
2298
2461
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -3114,8 +3277,8 @@ export function tools1FromJSON(
|
|
|
3114
3277
|
/** @internal */
|
|
3115
3278
|
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
3116
3279
|
.union([
|
|
3117
|
-
z.lazy(() => Eleven$inboundSchema),
|
|
3118
3280
|
z.lazy(() => Twelve$inboundSchema),
|
|
3281
|
+
z.lazy(() => Thirteen$inboundSchema),
|
|
3119
3282
|
z.lazy(() => Tools1$inboundSchema),
|
|
3120
3283
|
z.lazy(() => Tools2$inboundSchema),
|
|
3121
3284
|
z.lazy(() => Tools3$inboundSchema),
|
|
@@ -3126,12 +3289,13 @@ export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
|
3126
3289
|
z.lazy(() => Eight$inboundSchema),
|
|
3127
3290
|
z.lazy(() => Nine$inboundSchema),
|
|
3128
3291
|
z.lazy(() => Ten$inboundSchema),
|
|
3292
|
+
z.lazy(() => Eleven$inboundSchema),
|
|
3129
3293
|
]);
|
|
3130
3294
|
|
|
3131
3295
|
/** @internal */
|
|
3132
3296
|
export type Tools$Outbound =
|
|
3133
|
-
| Eleven$Outbound
|
|
3134
3297
|
| Twelve$Outbound
|
|
3298
|
+
| Thirteen$Outbound
|
|
3135
3299
|
| Tools1$Outbound
|
|
3136
3300
|
| Tools2$Outbound
|
|
3137
3301
|
| Tools3$Outbound
|
|
@@ -3141,7 +3305,8 @@ export type Tools$Outbound =
|
|
|
3141
3305
|
| Seven$Outbound
|
|
3142
3306
|
| Eight$Outbound
|
|
3143
3307
|
| Nine$Outbound
|
|
3144
|
-
| Ten$Outbound
|
|
3308
|
+
| Ten$Outbound
|
|
3309
|
+
| Eleven$Outbound;
|
|
3145
3310
|
|
|
3146
3311
|
/** @internal */
|
|
3147
3312
|
export const Tools$outboundSchema: z.ZodType<
|
|
@@ -3149,8 +3314,8 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3149
3314
|
z.ZodTypeDef,
|
|
3150
3315
|
Tools
|
|
3151
3316
|
> = z.union([
|
|
3152
|
-
z.lazy(() => Eleven$outboundSchema),
|
|
3153
3317
|
z.lazy(() => Twelve$outboundSchema),
|
|
3318
|
+
z.lazy(() => Thirteen$outboundSchema),
|
|
3154
3319
|
z.lazy(() => Tools1$outboundSchema),
|
|
3155
3320
|
z.lazy(() => Tools2$outboundSchema),
|
|
3156
3321
|
z.lazy(() => Tools3$outboundSchema),
|
|
@@ -3161,6 +3326,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3161
3326
|
z.lazy(() => Eight$outboundSchema),
|
|
3162
3327
|
z.lazy(() => Nine$outboundSchema),
|
|
3163
3328
|
z.lazy(() => Ten$outboundSchema),
|
|
3329
|
+
z.lazy(() => Eleven$outboundSchema),
|
|
3164
3330
|
]);
|
|
3165
3331
|
|
|
3166
3332
|
/**
|
|
@@ -3219,8 +3385,8 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
3219
3385
|
> = z.object({
|
|
3220
3386
|
tools: z.array(
|
|
3221
3387
|
z.union([
|
|
3222
|
-
z.lazy(() => Eleven$inboundSchema),
|
|
3223
3388
|
z.lazy(() => Twelve$inboundSchema),
|
|
3389
|
+
z.lazy(() => Thirteen$inboundSchema),
|
|
3224
3390
|
z.lazy(() => Tools1$inboundSchema),
|
|
3225
3391
|
z.lazy(() => Tools2$inboundSchema),
|
|
3226
3392
|
z.lazy(() => Tools3$inboundSchema),
|
|
@@ -3231,6 +3397,7 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
3231
3397
|
z.lazy(() => Eight$inboundSchema),
|
|
3232
3398
|
z.lazy(() => Nine$inboundSchema),
|
|
3233
3399
|
z.lazy(() => Ten$inboundSchema),
|
|
3400
|
+
z.lazy(() => Eleven$inboundSchema),
|
|
3234
3401
|
]),
|
|
3235
3402
|
),
|
|
3236
3403
|
tool_approval_required: ToolApprovalRequired$inboundSchema.default("none"),
|
|
@@ -3247,8 +3414,8 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
3247
3414
|
/** @internal */
|
|
3248
3415
|
export type Settings$Outbound = {
|
|
3249
3416
|
tools: Array<
|
|
3250
|
-
| Eleven$Outbound
|
|
3251
3417
|
| Twelve$Outbound
|
|
3418
|
+
| Thirteen$Outbound
|
|
3252
3419
|
| Tools1$Outbound
|
|
3253
3420
|
| Tools2$Outbound
|
|
3254
3421
|
| Tools3$Outbound
|
|
@@ -3259,6 +3426,7 @@ export type Settings$Outbound = {
|
|
|
3259
3426
|
| Eight$Outbound
|
|
3260
3427
|
| Nine$Outbound
|
|
3261
3428
|
| Ten$Outbound
|
|
3429
|
+
| Eleven$Outbound
|
|
3262
3430
|
>;
|
|
3263
3431
|
tool_approval_required: string;
|
|
3264
3432
|
max_iterations: number;
|
|
@@ -3273,8 +3441,8 @@ export const Settings$outboundSchema: z.ZodType<
|
|
|
3273
3441
|
> = z.object({
|
|
3274
3442
|
tools: z.array(
|
|
3275
3443
|
z.union([
|
|
3276
|
-
z.lazy(() => Eleven$outboundSchema),
|
|
3277
3444
|
z.lazy(() => Twelve$outboundSchema),
|
|
3445
|
+
z.lazy(() => Thirteen$outboundSchema),
|
|
3278
3446
|
z.lazy(() => Tools1$outboundSchema),
|
|
3279
3447
|
z.lazy(() => Tools2$outboundSchema),
|
|
3280
3448
|
z.lazy(() => Tools3$outboundSchema),
|
|
@@ -3285,6 +3453,7 @@ export const Settings$outboundSchema: z.ZodType<
|
|
|
3285
3453
|
z.lazy(() => Eight$outboundSchema),
|
|
3286
3454
|
z.lazy(() => Nine$outboundSchema),
|
|
3287
3455
|
z.lazy(() => Ten$outboundSchema),
|
|
3456
|
+
z.lazy(() => Eleven$outboundSchema),
|
|
3288
3457
|
]),
|
|
3289
3458
|
),
|
|
3290
3459
|
toolApprovalRequired: ToolApprovalRequired$outboundSchema.default("none"),
|
|
@@ -3340,7 +3509,7 @@ export const RunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3340
3509
|
message: z.lazy(() => Message$inboundSchema),
|
|
3341
3510
|
variables: z.record(z.any()).optional(),
|
|
3342
3511
|
contextId: z.string().optional(),
|
|
3343
|
-
|
|
3512
|
+
memory: z.lazy(() => Memory$inboundSchema).optional(),
|
|
3344
3513
|
path: z.string(),
|
|
3345
3514
|
description: z.string().optional(),
|
|
3346
3515
|
iconUrl: z.string().optional(),
|
|
@@ -3353,7 +3522,6 @@ export const RunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3353
3522
|
}).transform((v) => {
|
|
3354
3523
|
return remap$(v, {
|
|
3355
3524
|
"fallback_models": "fallbackModels",
|
|
3356
|
-
"external_id": "externalId",
|
|
3357
3525
|
"system_prompt": "systemPrompt",
|
|
3358
3526
|
"memory_stores": "memoryStores",
|
|
3359
3527
|
"knowledge_bases": "knowledgeBases",
|
|
@@ -3372,7 +3540,7 @@ export type RunAgentRequestBody$Outbound = {
|
|
|
3372
3540
|
message: Message$Outbound;
|
|
3373
3541
|
variables?: { [k: string]: any } | undefined;
|
|
3374
3542
|
contextId?: string | undefined;
|
|
3375
|
-
|
|
3543
|
+
memory?: Memory$Outbound | undefined;
|
|
3376
3544
|
path: string;
|
|
3377
3545
|
description?: string | undefined;
|
|
3378
3546
|
iconUrl?: string | undefined;
|
|
@@ -3398,7 +3566,7 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3398
3566
|
message: z.lazy(() => Message$outboundSchema),
|
|
3399
3567
|
variables: z.record(z.any()).optional(),
|
|
3400
3568
|
contextId: z.string().optional(),
|
|
3401
|
-
|
|
3569
|
+
memory: z.lazy(() => Memory$outboundSchema).optional(),
|
|
3402
3570
|
path: z.string(),
|
|
3403
3571
|
description: z.string().optional(),
|
|
3404
3572
|
iconUrl: z.string().optional(),
|
|
@@ -3411,7 +3579,6 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3411
3579
|
}).transform((v) => {
|
|
3412
3580
|
return remap$(v, {
|
|
3413
3581
|
fallbackModels: "fallback_models",
|
|
3414
|
-
externalId: "external_id",
|
|
3415
3582
|
systemPrompt: "system_prompt",
|
|
3416
3583
|
memoryStores: "memory_stores",
|
|
3417
3584
|
knowledgeBases: "knowledge_bases",
|