@orq-ai/node 4.12.0-rc.50 → 4.12.0-rc.52
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agenttoolinputcrud.d.ts +413 -0
- package/models/components/agenttoolinputcrud.d.ts.map +1 -0
- package/models/components/agenttoolinputcrud.js +287 -0
- package/models/components/agenttoolinputcrud.js.map +1 -0
- package/models/components/codetoolinput.d.ts +38 -0
- package/models/components/codetoolinput.d.ts.map +1 -0
- package/models/components/codetoolinput.js +58 -0
- package/models/components/codetoolinput.js.map +1 -0
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/functiontoolinput.d.ts +33 -0
- package/models/components/functiontoolinput.d.ts.map +1 -0
- package/models/components/functiontoolinput.js +57 -0
- package/models/components/functiontoolinput.js.map +1 -0
- package/models/components/httptoolinput.d.ts +38 -0
- package/models/components/httptoolinput.d.ts.map +1 -0
- package/models/components/httptoolinput.js +58 -0
- package/models/components/httptoolinput.js.map +1 -0
- package/models/components/index.d.ts +7 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -0
- package/models/components/index.js.map +1 -1
- package/models/components/jsonschematoolinput.d.ts +33 -0
- package/models/components/jsonschematoolinput.d.ts.map +1 -0
- package/models/components/jsonschematoolinput.js +57 -0
- package/models/components/jsonschematoolinput.js.map +1 -0
- package/models/components/mcptoolinput.d.ts +38 -0
- package/models/components/mcptoolinput.d.ts.map +1 -0
- package/models/components/mcptoolinput.js +59 -0
- package/models/components/mcptoolinput.js.map +1 -0
- package/models/components/providertoolinput.d.ts +47 -0
- package/models/components/providertoolinput.d.ts.map +1 -0
- package/models/components/providertoolinput.js +59 -0
- package/models/components/providertoolinput.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +2 -677
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +6 -421
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createrouterresponse.d.ts +8 -8
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +7 -7
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.d.ts +18 -18
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +28 -28
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +52 -52
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +75 -75
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +52 -52
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +75 -78
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +2 -677
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +6 -421
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +6 -6
- package/src/lib/config.ts +2 -2
- package/src/models/components/agenttoolinputcrud.ts +747 -0
- package/src/models/components/codetoolinput.ts +62 -0
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/functiontoolinput.ts +60 -0
- package/src/models/components/httptoolinput.ts +62 -0
- package/src/models/components/index.ts +7 -0
- package/src/models/components/jsonschematoolinput.ts +60 -0
- package/src/models/components/mcptoolinput.ts +63 -0
- package/src/models/components/providertoolinput.ts +72 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +1606 -2947
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createrouterresponse.ts +13 -13
- package/src/models/operations/createtool.ts +47 -61
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +195 -232
- package/src/models/operations/streamrunagent.ts +273 -328
- package/src/models/operations/updateagent.ts +1819 -3223
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -1604,7 +1604,7 @@ export type AgentToolInputRunHTTPToolRun = {
|
|
|
1604
1604
|
/**
|
|
1605
1605
|
* Executes model-written Python code. Uses provider-native code execution when the model supports it, otherwise a secure orq-managed sandbox.
|
|
1606
1606
|
*/
|
|
1607
|
-
export type
|
|
1607
|
+
export type AgentToolInputRunCodeInterpreterTool = {
|
|
1608
1608
|
type: "code_interpreter";
|
|
1609
1609
|
/**
|
|
1610
1610
|
* Whether this tool requires approval before execution
|
|
@@ -1619,7 +1619,7 @@ export type StreamRunAgentAgentToolInputRunCodeInterpreterTool = {
|
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Returns the current date and time
|
|
1621
1621
|
*/
|
|
1622
|
-
export type
|
|
1622
|
+
export type AgentToolInputRunCurrentDateTool = {
|
|
1623
1623
|
type: "current_date";
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Whether this tool requires approval before execution
|
|
@@ -1634,7 +1634,7 @@ export type StreamRunAgentAgentToolInputRunCurrentDateTool = {
|
|
|
1634
1634
|
/**
|
|
1635
1635
|
* Queries knowledge bases for information
|
|
1636
1636
|
*/
|
|
1637
|
-
export type
|
|
1637
|
+
export type AgentToolInputRunQueryKnowledgeBaseTool = {
|
|
1638
1638
|
type: "query_knowledge_base";
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Whether this tool requires approval before execution
|
|
@@ -1649,7 +1649,7 @@ export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool = {
|
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Lists available knowledge bases
|
|
1651
1651
|
*/
|
|
1652
|
-
export type
|
|
1652
|
+
export type AgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
1653
1653
|
type: "retrieve_knowledge_bases";
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Whether this tool requires approval before execution
|
|
@@ -1664,7 +1664,7 @@ export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Deletes documents from memory stores
|
|
1666
1666
|
*/
|
|
1667
|
-
export type
|
|
1667
|
+
export type AgentToolInputRunDeleteMemoryDocumentTool = {
|
|
1668
1668
|
type: "delete_memory_document";
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Whether this tool requires approval before execution
|
|
@@ -1679,7 +1679,7 @@ export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool = {
|
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Lists available memory stores
|
|
1681
1681
|
*/
|
|
1682
|
-
export type
|
|
1682
|
+
export type AgentToolInputRunRetrieveMemoryStoresTool = {
|
|
1683
1683
|
type: "retrieve_memory_stores";
|
|
1684
1684
|
/**
|
|
1685
1685
|
* Whether this tool requires approval before execution
|
|
@@ -1694,7 +1694,7 @@ export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool = {
|
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Writes information to agent memory stores
|
|
1696
1696
|
*/
|
|
1697
|
-
export type
|
|
1697
|
+
export type AgentToolInputRunWriteMemoryStoreTool = {
|
|
1698
1698
|
type: "write_memory_store";
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Whether this tool requires approval before execution
|
|
@@ -1709,7 +1709,7 @@ export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool = {
|
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Queries agent memory stores for context
|
|
1711
1711
|
*/
|
|
1712
|
-
export type
|
|
1712
|
+
export type AgentToolInputRunQueryMemoryStoreTool = {
|
|
1713
1713
|
type: "query_memory_store";
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Whether this tool requires approval before execution
|
|
@@ -1724,7 +1724,7 @@ export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool = {
|
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Retrieves available agents in the system
|
|
1726
1726
|
*/
|
|
1727
|
-
export type
|
|
1727
|
+
export type AgentToolInputRunRetrieveAgentsTool = {
|
|
1728
1728
|
type: "retrieve_agents";
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Whether this tool requires approval before execution
|
|
@@ -1739,7 +1739,7 @@ export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool = {
|
|
|
1739
1739
|
/**
|
|
1740
1740
|
* Delegates tasks to specialized sub-agents
|
|
1741
1741
|
*/
|
|
1742
|
-
export type
|
|
1742
|
+
export type AgentToolInputRunCallSubAgentTool = {
|
|
1743
1743
|
type: "call_sub_agent";
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Whether this tool requires approval before execution
|
|
@@ -1754,7 +1754,7 @@ export type StreamRunAgentAgentToolInputRunCallSubAgentTool = {
|
|
|
1754
1754
|
/**
|
|
1755
1755
|
* Scrapes and extracts content from web pages
|
|
1756
1756
|
*/
|
|
1757
|
-
export type
|
|
1757
|
+
export type AgentToolInputRunWebScraperTool = {
|
|
1758
1758
|
type: "web_scraper";
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Whether this tool requires approval before execution
|
|
@@ -1769,7 +1769,7 @@ export type StreamRunAgentAgentToolInputRunWebScraperTool = {
|
|
|
1769
1769
|
/**
|
|
1770
1770
|
* Performs Google searches to retrieve web content
|
|
1771
1771
|
*/
|
|
1772
|
-
export type
|
|
1772
|
+
export type AgentToolInputRunGoogleSearchTool = {
|
|
1773
1773
|
type: "google_search";
|
|
1774
1774
|
/**
|
|
1775
1775
|
* Whether this tool requires approval before execution
|
|
@@ -1785,18 +1785,18 @@ export type StreamRunAgentAgentToolInputRunGoogleSearchTool = {
|
|
|
1785
1785
|
* Tool configuration for agent run operations. Built-in tools only require a type and requires_approval, while custom tools (HTTP, Code, Function, JSON Schema, MCP) support full inline definitions for on-the-fly creation.
|
|
1786
1786
|
*/
|
|
1787
1787
|
export type StreamRunAgentAgentToolInputRun =
|
|
1788
|
-
|
|
|
1789
|
-
|
|
|
1790
|
-
|
|
|
1791
|
-
|
|
|
1792
|
-
|
|
|
1793
|
-
|
|
|
1794
|
-
|
|
|
1795
|
-
|
|
|
1796
|
-
|
|
|
1797
|
-
|
|
|
1798
|
-
|
|
|
1799
|
-
|
|
|
1788
|
+
| AgentToolInputRunGoogleSearchTool
|
|
1789
|
+
| AgentToolInputRunWebScraperTool
|
|
1790
|
+
| AgentToolInputRunCallSubAgentTool
|
|
1791
|
+
| AgentToolInputRunRetrieveAgentsTool
|
|
1792
|
+
| AgentToolInputRunQueryMemoryStoreTool
|
|
1793
|
+
| AgentToolInputRunWriteMemoryStoreTool
|
|
1794
|
+
| AgentToolInputRunRetrieveMemoryStoresTool
|
|
1795
|
+
| AgentToolInputRunDeleteMemoryDocumentTool
|
|
1796
|
+
| AgentToolInputRunRetrieveKnowledgeBasesTool
|
|
1797
|
+
| AgentToolInputRunQueryKnowledgeBaseTool
|
|
1798
|
+
| AgentToolInputRunCurrentDateTool
|
|
1799
|
+
| AgentToolInputRunCodeInterpreterTool
|
|
1800
1800
|
| AgentToolInputRunHTTPToolRun
|
|
1801
1801
|
| AgentToolInputRunCodeToolRun
|
|
1802
1802
|
| AgentToolInputRunFunctionToolRun
|
|
@@ -1882,18 +1882,18 @@ export type StreamRunAgentSettings = {
|
|
|
1882
1882
|
*/
|
|
1883
1883
|
tools?:
|
|
1884
1884
|
| Array<
|
|
1885
|
-
|
|
|
1886
|
-
|
|
|
1887
|
-
|
|
|
1888
|
-
|
|
|
1889
|
-
|
|
|
1890
|
-
|
|
|
1891
|
-
|
|
|
1892
|
-
|
|
|
1893
|
-
|
|
|
1894
|
-
|
|
|
1895
|
-
|
|
|
1896
|
-
|
|
|
1885
|
+
| AgentToolInputRunGoogleSearchTool
|
|
1886
|
+
| AgentToolInputRunWebScraperTool
|
|
1887
|
+
| AgentToolInputRunCallSubAgentTool
|
|
1888
|
+
| AgentToolInputRunRetrieveAgentsTool
|
|
1889
|
+
| AgentToolInputRunQueryMemoryStoreTool
|
|
1890
|
+
| AgentToolInputRunWriteMemoryStoreTool
|
|
1891
|
+
| AgentToolInputRunRetrieveMemoryStoresTool
|
|
1892
|
+
| AgentToolInputRunDeleteMemoryDocumentTool
|
|
1893
|
+
| AgentToolInputRunRetrieveKnowledgeBasesTool
|
|
1894
|
+
| AgentToolInputRunQueryKnowledgeBaseTool
|
|
1895
|
+
| AgentToolInputRunCurrentDateTool
|
|
1896
|
+
| AgentToolInputRunCodeInterpreterTool
|
|
1897
1897
|
| AgentToolInputRunHTTPToolRun
|
|
1898
1898
|
| AgentToolInputRunCodeToolRun
|
|
1899
1899
|
| AgentToolInputRunFunctionToolRun
|
|
@@ -4110,7 +4110,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4110
4110
|
z.ZodTypeDef,
|
|
4111
4111
|
AgentToolInputRunTools
|
|
4112
4112
|
> = z.object({
|
|
4113
|
-
id: z.string().default("
|
|
4113
|
+
id: z.string().default("01KY4MCV7S6W03QG018NR0ZEJZ"),
|
|
4114
4114
|
name: z.string(),
|
|
4115
4115
|
description: z.string().optional(),
|
|
4116
4116
|
schema: z.lazy(() =>
|
|
@@ -4795,121 +4795,115 @@ export function agentToolInputRunHTTPToolRunToJSON(
|
|
|
4795
4795
|
}
|
|
4796
4796
|
|
|
4797
4797
|
/** @internal */
|
|
4798
|
-
export type
|
|
4798
|
+
export type AgentToolInputRunCodeInterpreterTool$Outbound = {
|
|
4799
4799
|
type: "code_interpreter";
|
|
4800
4800
|
requires_approval?: boolean | undefined;
|
|
4801
4801
|
configuration?: { [k: string]: any } | undefined;
|
|
4802
4802
|
};
|
|
4803
4803
|
|
|
4804
4804
|
/** @internal */
|
|
4805
|
-
export const
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
requiresApproval: "requires_approval",
|
|
4817
|
-
});
|
|
4805
|
+
export const AgentToolInputRunCodeInterpreterTool$outboundSchema: z.ZodType<
|
|
4806
|
+
AgentToolInputRunCodeInterpreterTool$Outbound,
|
|
4807
|
+
z.ZodTypeDef,
|
|
4808
|
+
AgentToolInputRunCodeInterpreterTool
|
|
4809
|
+
> = z.object({
|
|
4810
|
+
type: z.literal("code_interpreter"),
|
|
4811
|
+
requiresApproval: z.boolean().optional(),
|
|
4812
|
+
configuration: z.record(z.any()).optional(),
|
|
4813
|
+
}).transform((v) => {
|
|
4814
|
+
return remap$(v, {
|
|
4815
|
+
requiresApproval: "requires_approval",
|
|
4818
4816
|
});
|
|
4817
|
+
});
|
|
4819
4818
|
|
|
4820
|
-
export function
|
|
4821
|
-
|
|
4822
|
-
StreamRunAgentAgentToolInputRunCodeInterpreterTool,
|
|
4819
|
+
export function agentToolInputRunCodeInterpreterToolToJSON(
|
|
4820
|
+
agentToolInputRunCodeInterpreterTool: AgentToolInputRunCodeInterpreterTool,
|
|
4823
4821
|
): string {
|
|
4824
4822
|
return JSON.stringify(
|
|
4825
|
-
|
|
4826
|
-
|
|
4823
|
+
AgentToolInputRunCodeInterpreterTool$outboundSchema.parse(
|
|
4824
|
+
agentToolInputRunCodeInterpreterTool,
|
|
4827
4825
|
),
|
|
4828
4826
|
);
|
|
4829
4827
|
}
|
|
4830
4828
|
|
|
4831
4829
|
/** @internal */
|
|
4832
|
-
export type
|
|
4830
|
+
export type AgentToolInputRunCurrentDateTool$Outbound = {
|
|
4833
4831
|
type: "current_date";
|
|
4834
4832
|
requires_approval?: boolean | undefined;
|
|
4835
4833
|
configuration?: { [k: string]: any } | undefined;
|
|
4836
4834
|
};
|
|
4837
4835
|
|
|
4838
4836
|
/** @internal */
|
|
4839
|
-
export const
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
requiresApproval: "requires_approval",
|
|
4851
|
-
});
|
|
4837
|
+
export const AgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<
|
|
4838
|
+
AgentToolInputRunCurrentDateTool$Outbound,
|
|
4839
|
+
z.ZodTypeDef,
|
|
4840
|
+
AgentToolInputRunCurrentDateTool
|
|
4841
|
+
> = z.object({
|
|
4842
|
+
type: z.literal("current_date"),
|
|
4843
|
+
requiresApproval: z.boolean().optional(),
|
|
4844
|
+
configuration: z.record(z.any()).optional(),
|
|
4845
|
+
}).transform((v) => {
|
|
4846
|
+
return remap$(v, {
|
|
4847
|
+
requiresApproval: "requires_approval",
|
|
4852
4848
|
});
|
|
4849
|
+
});
|
|
4853
4850
|
|
|
4854
|
-
export function
|
|
4855
|
-
|
|
4856
|
-
StreamRunAgentAgentToolInputRunCurrentDateTool,
|
|
4851
|
+
export function agentToolInputRunCurrentDateToolToJSON(
|
|
4852
|
+
agentToolInputRunCurrentDateTool: AgentToolInputRunCurrentDateTool,
|
|
4857
4853
|
): string {
|
|
4858
4854
|
return JSON.stringify(
|
|
4859
|
-
|
|
4860
|
-
|
|
4855
|
+
AgentToolInputRunCurrentDateTool$outboundSchema.parse(
|
|
4856
|
+
agentToolInputRunCurrentDateTool,
|
|
4861
4857
|
),
|
|
4862
4858
|
);
|
|
4863
4859
|
}
|
|
4864
4860
|
|
|
4865
4861
|
/** @internal */
|
|
4866
|
-
export type
|
|
4862
|
+
export type AgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
4867
4863
|
type: "query_knowledge_base";
|
|
4868
4864
|
requires_approval?: boolean | undefined;
|
|
4869
4865
|
configuration?: { [k: string]: any } | undefined;
|
|
4870
4866
|
};
|
|
4871
4867
|
|
|
4872
4868
|
/** @internal */
|
|
4873
|
-
export const
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
requiresApproval: "requires_approval",
|
|
4885
|
-
});
|
|
4869
|
+
export const AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<
|
|
4870
|
+
AgentToolInputRunQueryKnowledgeBaseTool$Outbound,
|
|
4871
|
+
z.ZodTypeDef,
|
|
4872
|
+
AgentToolInputRunQueryKnowledgeBaseTool
|
|
4873
|
+
> = z.object({
|
|
4874
|
+
type: z.literal("query_knowledge_base"),
|
|
4875
|
+
requiresApproval: z.boolean().optional(),
|
|
4876
|
+
configuration: z.record(z.any()).optional(),
|
|
4877
|
+
}).transform((v) => {
|
|
4878
|
+
return remap$(v, {
|
|
4879
|
+
requiresApproval: "requires_approval",
|
|
4886
4880
|
});
|
|
4881
|
+
});
|
|
4887
4882
|
|
|
4888
|
-
export function
|
|
4889
|
-
|
|
4890
|
-
|
|
4883
|
+
export function agentToolInputRunQueryKnowledgeBaseToolToJSON(
|
|
4884
|
+
agentToolInputRunQueryKnowledgeBaseTool:
|
|
4885
|
+
AgentToolInputRunQueryKnowledgeBaseTool,
|
|
4891
4886
|
): string {
|
|
4892
4887
|
return JSON.stringify(
|
|
4893
|
-
|
|
4894
|
-
|
|
4888
|
+
AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema.parse(
|
|
4889
|
+
agentToolInputRunQueryKnowledgeBaseTool,
|
|
4895
4890
|
),
|
|
4896
4891
|
);
|
|
4897
4892
|
}
|
|
4898
4893
|
|
|
4899
4894
|
/** @internal */
|
|
4900
|
-
export type
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
};
|
|
4895
|
+
export type AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
4896
|
+
type: "retrieve_knowledge_bases";
|
|
4897
|
+
requires_approval?: boolean | undefined;
|
|
4898
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4899
|
+
};
|
|
4906
4900
|
|
|
4907
4901
|
/** @internal */
|
|
4908
|
-
export const
|
|
4902
|
+
export const AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema:
|
|
4909
4903
|
z.ZodType<
|
|
4910
|
-
|
|
4904
|
+
AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound,
|
|
4911
4905
|
z.ZodTypeDef,
|
|
4912
|
-
|
|
4906
|
+
AgentToolInputRunRetrieveKnowledgeBasesTool
|
|
4913
4907
|
> = z.object({
|
|
4914
4908
|
type: z.literal("retrieve_knowledge_bases"),
|
|
4915
4909
|
requiresApproval: z.boolean().optional(),
|
|
@@ -4920,29 +4914,30 @@ export const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundS
|
|
|
4920
4914
|
});
|
|
4921
4915
|
});
|
|
4922
4916
|
|
|
4923
|
-
export function
|
|
4924
|
-
|
|
4925
|
-
|
|
4917
|
+
export function agentToolInputRunRetrieveKnowledgeBasesToolToJSON(
|
|
4918
|
+
agentToolInputRunRetrieveKnowledgeBasesTool:
|
|
4919
|
+
AgentToolInputRunRetrieveKnowledgeBasesTool,
|
|
4926
4920
|
): string {
|
|
4927
4921
|
return JSON.stringify(
|
|
4928
|
-
|
|
4929
|
-
|
|
4922
|
+
AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema.parse(
|
|
4923
|
+
agentToolInputRunRetrieveKnowledgeBasesTool,
|
|
4924
|
+
),
|
|
4930
4925
|
);
|
|
4931
4926
|
}
|
|
4932
4927
|
|
|
4933
4928
|
/** @internal */
|
|
4934
|
-
export type
|
|
4929
|
+
export type AgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
4935
4930
|
type: "delete_memory_document";
|
|
4936
4931
|
requires_approval?: boolean | undefined;
|
|
4937
4932
|
configuration?: { [k: string]: any } | undefined;
|
|
4938
4933
|
};
|
|
4939
4934
|
|
|
4940
4935
|
/** @internal */
|
|
4941
|
-
export const
|
|
4936
|
+
export const AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema:
|
|
4942
4937
|
z.ZodType<
|
|
4943
|
-
|
|
4938
|
+
AgentToolInputRunDeleteMemoryDocumentTool$Outbound,
|
|
4944
4939
|
z.ZodTypeDef,
|
|
4945
|
-
|
|
4940
|
+
AgentToolInputRunDeleteMemoryDocumentTool
|
|
4946
4941
|
> = z.object({
|
|
4947
4942
|
type: z.literal("delete_memory_document"),
|
|
4948
4943
|
requiresApproval: z.boolean().optional(),
|
|
@@ -4953,29 +4948,30 @@ export const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSch
|
|
|
4953
4948
|
});
|
|
4954
4949
|
});
|
|
4955
4950
|
|
|
4956
|
-
export function
|
|
4957
|
-
|
|
4958
|
-
|
|
4951
|
+
export function agentToolInputRunDeleteMemoryDocumentToolToJSON(
|
|
4952
|
+
agentToolInputRunDeleteMemoryDocumentTool:
|
|
4953
|
+
AgentToolInputRunDeleteMemoryDocumentTool,
|
|
4959
4954
|
): string {
|
|
4960
4955
|
return JSON.stringify(
|
|
4961
|
-
|
|
4962
|
-
|
|
4956
|
+
AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema.parse(
|
|
4957
|
+
agentToolInputRunDeleteMemoryDocumentTool,
|
|
4958
|
+
),
|
|
4963
4959
|
);
|
|
4964
4960
|
}
|
|
4965
4961
|
|
|
4966
4962
|
/** @internal */
|
|
4967
|
-
export type
|
|
4963
|
+
export type AgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
4968
4964
|
type: "retrieve_memory_stores";
|
|
4969
4965
|
requires_approval?: boolean | undefined;
|
|
4970
4966
|
configuration?: { [k: string]: any } | undefined;
|
|
4971
4967
|
};
|
|
4972
4968
|
|
|
4973
4969
|
/** @internal */
|
|
4974
|
-
export const
|
|
4970
|
+
export const AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema:
|
|
4975
4971
|
z.ZodType<
|
|
4976
|
-
|
|
4972
|
+
AgentToolInputRunRetrieveMemoryStoresTool$Outbound,
|
|
4977
4973
|
z.ZodTypeDef,
|
|
4978
|
-
|
|
4974
|
+
AgentToolInputRunRetrieveMemoryStoresTool
|
|
4979
4975
|
> = z.object({
|
|
4980
4976
|
type: z.literal("retrieve_memory_stores"),
|
|
4981
4977
|
requiresApproval: z.boolean().optional(),
|
|
@@ -4986,234 +4982,223 @@ export const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSch
|
|
|
4986
4982
|
});
|
|
4987
4983
|
});
|
|
4988
4984
|
|
|
4989
|
-
export function
|
|
4990
|
-
|
|
4991
|
-
|
|
4985
|
+
export function agentToolInputRunRetrieveMemoryStoresToolToJSON(
|
|
4986
|
+
agentToolInputRunRetrieveMemoryStoresTool:
|
|
4987
|
+
AgentToolInputRunRetrieveMemoryStoresTool,
|
|
4992
4988
|
): string {
|
|
4993
4989
|
return JSON.stringify(
|
|
4994
|
-
|
|
4995
|
-
|
|
4990
|
+
AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema.parse(
|
|
4991
|
+
agentToolInputRunRetrieveMemoryStoresTool,
|
|
4992
|
+
),
|
|
4996
4993
|
);
|
|
4997
4994
|
}
|
|
4998
4995
|
|
|
4999
4996
|
/** @internal */
|
|
5000
|
-
export type
|
|
4997
|
+
export type AgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
5001
4998
|
type: "write_memory_store";
|
|
5002
4999
|
requires_approval?: boolean | undefined;
|
|
5003
5000
|
configuration?: { [k: string]: any } | undefined;
|
|
5004
5001
|
};
|
|
5005
5002
|
|
|
5006
5003
|
/** @internal */
|
|
5007
|
-
export const
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
requiresApproval: "requires_approval",
|
|
5019
|
-
});
|
|
5004
|
+
export const AgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<
|
|
5005
|
+
AgentToolInputRunWriteMemoryStoreTool$Outbound,
|
|
5006
|
+
z.ZodTypeDef,
|
|
5007
|
+
AgentToolInputRunWriteMemoryStoreTool
|
|
5008
|
+
> = z.object({
|
|
5009
|
+
type: z.literal("write_memory_store"),
|
|
5010
|
+
requiresApproval: z.boolean().optional(),
|
|
5011
|
+
configuration: z.record(z.any()).optional(),
|
|
5012
|
+
}).transform((v) => {
|
|
5013
|
+
return remap$(v, {
|
|
5014
|
+
requiresApproval: "requires_approval",
|
|
5020
5015
|
});
|
|
5016
|
+
});
|
|
5021
5017
|
|
|
5022
|
-
export function
|
|
5023
|
-
|
|
5024
|
-
StreamRunAgentAgentToolInputRunWriteMemoryStoreTool,
|
|
5018
|
+
export function agentToolInputRunWriteMemoryStoreToolToJSON(
|
|
5019
|
+
agentToolInputRunWriteMemoryStoreTool: AgentToolInputRunWriteMemoryStoreTool,
|
|
5025
5020
|
): string {
|
|
5026
5021
|
return JSON.stringify(
|
|
5027
|
-
|
|
5028
|
-
|
|
5022
|
+
AgentToolInputRunWriteMemoryStoreTool$outboundSchema.parse(
|
|
5023
|
+
agentToolInputRunWriteMemoryStoreTool,
|
|
5029
5024
|
),
|
|
5030
5025
|
);
|
|
5031
5026
|
}
|
|
5032
5027
|
|
|
5033
5028
|
/** @internal */
|
|
5034
|
-
export type
|
|
5029
|
+
export type AgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
5035
5030
|
type: "query_memory_store";
|
|
5036
5031
|
requires_approval?: boolean | undefined;
|
|
5037
5032
|
configuration?: { [k: string]: any } | undefined;
|
|
5038
5033
|
};
|
|
5039
5034
|
|
|
5040
5035
|
/** @internal */
|
|
5041
|
-
export const
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
requiresApproval: "requires_approval",
|
|
5053
|
-
});
|
|
5036
|
+
export const AgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<
|
|
5037
|
+
AgentToolInputRunQueryMemoryStoreTool$Outbound,
|
|
5038
|
+
z.ZodTypeDef,
|
|
5039
|
+
AgentToolInputRunQueryMemoryStoreTool
|
|
5040
|
+
> = z.object({
|
|
5041
|
+
type: z.literal("query_memory_store"),
|
|
5042
|
+
requiresApproval: z.boolean().optional(),
|
|
5043
|
+
configuration: z.record(z.any()).optional(),
|
|
5044
|
+
}).transform((v) => {
|
|
5045
|
+
return remap$(v, {
|
|
5046
|
+
requiresApproval: "requires_approval",
|
|
5054
5047
|
});
|
|
5048
|
+
});
|
|
5055
5049
|
|
|
5056
|
-
export function
|
|
5057
|
-
|
|
5058
|
-
StreamRunAgentAgentToolInputRunQueryMemoryStoreTool,
|
|
5050
|
+
export function agentToolInputRunQueryMemoryStoreToolToJSON(
|
|
5051
|
+
agentToolInputRunQueryMemoryStoreTool: AgentToolInputRunQueryMemoryStoreTool,
|
|
5059
5052
|
): string {
|
|
5060
5053
|
return JSON.stringify(
|
|
5061
|
-
|
|
5062
|
-
|
|
5054
|
+
AgentToolInputRunQueryMemoryStoreTool$outboundSchema.parse(
|
|
5055
|
+
agentToolInputRunQueryMemoryStoreTool,
|
|
5063
5056
|
),
|
|
5064
5057
|
);
|
|
5065
5058
|
}
|
|
5066
5059
|
|
|
5067
5060
|
/** @internal */
|
|
5068
|
-
export type
|
|
5061
|
+
export type AgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
5069
5062
|
type: "retrieve_agents";
|
|
5070
5063
|
requires_approval?: boolean | undefined;
|
|
5071
5064
|
configuration?: { [k: string]: any } | undefined;
|
|
5072
5065
|
};
|
|
5073
5066
|
|
|
5074
5067
|
/** @internal */
|
|
5075
|
-
export const
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
requiresApproval: "requires_approval",
|
|
5087
|
-
});
|
|
5068
|
+
export const AgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<
|
|
5069
|
+
AgentToolInputRunRetrieveAgentsTool$Outbound,
|
|
5070
|
+
z.ZodTypeDef,
|
|
5071
|
+
AgentToolInputRunRetrieveAgentsTool
|
|
5072
|
+
> = z.object({
|
|
5073
|
+
type: z.literal("retrieve_agents"),
|
|
5074
|
+
requiresApproval: z.boolean().optional(),
|
|
5075
|
+
configuration: z.record(z.any()).optional(),
|
|
5076
|
+
}).transform((v) => {
|
|
5077
|
+
return remap$(v, {
|
|
5078
|
+
requiresApproval: "requires_approval",
|
|
5088
5079
|
});
|
|
5080
|
+
});
|
|
5089
5081
|
|
|
5090
|
-
export function
|
|
5091
|
-
|
|
5092
|
-
StreamRunAgentAgentToolInputRunRetrieveAgentsTool,
|
|
5082
|
+
export function agentToolInputRunRetrieveAgentsToolToJSON(
|
|
5083
|
+
agentToolInputRunRetrieveAgentsTool: AgentToolInputRunRetrieveAgentsTool,
|
|
5093
5084
|
): string {
|
|
5094
5085
|
return JSON.stringify(
|
|
5095
|
-
|
|
5096
|
-
|
|
5086
|
+
AgentToolInputRunRetrieveAgentsTool$outboundSchema.parse(
|
|
5087
|
+
agentToolInputRunRetrieveAgentsTool,
|
|
5097
5088
|
),
|
|
5098
5089
|
);
|
|
5099
5090
|
}
|
|
5100
5091
|
|
|
5101
5092
|
/** @internal */
|
|
5102
|
-
export type
|
|
5093
|
+
export type AgentToolInputRunCallSubAgentTool$Outbound = {
|
|
5103
5094
|
type: "call_sub_agent";
|
|
5104
5095
|
requires_approval?: boolean | undefined;
|
|
5105
5096
|
configuration?: { [k: string]: any } | undefined;
|
|
5106
5097
|
};
|
|
5107
5098
|
|
|
5108
5099
|
/** @internal */
|
|
5109
|
-
export const
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
requiresApproval: "requires_approval",
|
|
5121
|
-
});
|
|
5100
|
+
export const AgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<
|
|
5101
|
+
AgentToolInputRunCallSubAgentTool$Outbound,
|
|
5102
|
+
z.ZodTypeDef,
|
|
5103
|
+
AgentToolInputRunCallSubAgentTool
|
|
5104
|
+
> = z.object({
|
|
5105
|
+
type: z.literal("call_sub_agent"),
|
|
5106
|
+
requiresApproval: z.boolean().optional(),
|
|
5107
|
+
configuration: z.record(z.any()).optional(),
|
|
5108
|
+
}).transform((v) => {
|
|
5109
|
+
return remap$(v, {
|
|
5110
|
+
requiresApproval: "requires_approval",
|
|
5122
5111
|
});
|
|
5112
|
+
});
|
|
5123
5113
|
|
|
5124
|
-
export function
|
|
5125
|
-
|
|
5126
|
-
StreamRunAgentAgentToolInputRunCallSubAgentTool,
|
|
5114
|
+
export function agentToolInputRunCallSubAgentToolToJSON(
|
|
5115
|
+
agentToolInputRunCallSubAgentTool: AgentToolInputRunCallSubAgentTool,
|
|
5127
5116
|
): string {
|
|
5128
5117
|
return JSON.stringify(
|
|
5129
|
-
|
|
5130
|
-
|
|
5118
|
+
AgentToolInputRunCallSubAgentTool$outboundSchema.parse(
|
|
5119
|
+
agentToolInputRunCallSubAgentTool,
|
|
5131
5120
|
),
|
|
5132
5121
|
);
|
|
5133
5122
|
}
|
|
5134
5123
|
|
|
5135
5124
|
/** @internal */
|
|
5136
|
-
export type
|
|
5125
|
+
export type AgentToolInputRunWebScraperTool$Outbound = {
|
|
5137
5126
|
type: "web_scraper";
|
|
5138
5127
|
requires_approval?: boolean | undefined;
|
|
5139
5128
|
configuration?: { [k: string]: any } | undefined;
|
|
5140
5129
|
};
|
|
5141
5130
|
|
|
5142
5131
|
/** @internal */
|
|
5143
|
-
export const
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
requiresApproval: "requires_approval",
|
|
5155
|
-
});
|
|
5132
|
+
export const AgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<
|
|
5133
|
+
AgentToolInputRunWebScraperTool$Outbound,
|
|
5134
|
+
z.ZodTypeDef,
|
|
5135
|
+
AgentToolInputRunWebScraperTool
|
|
5136
|
+
> = z.object({
|
|
5137
|
+
type: z.literal("web_scraper"),
|
|
5138
|
+
requiresApproval: z.boolean().optional(),
|
|
5139
|
+
configuration: z.record(z.any()).optional(),
|
|
5140
|
+
}).transform((v) => {
|
|
5141
|
+
return remap$(v, {
|
|
5142
|
+
requiresApproval: "requires_approval",
|
|
5156
5143
|
});
|
|
5144
|
+
});
|
|
5157
5145
|
|
|
5158
|
-
export function
|
|
5159
|
-
|
|
5160
|
-
StreamRunAgentAgentToolInputRunWebScraperTool,
|
|
5146
|
+
export function agentToolInputRunWebScraperToolToJSON(
|
|
5147
|
+
agentToolInputRunWebScraperTool: AgentToolInputRunWebScraperTool,
|
|
5161
5148
|
): string {
|
|
5162
5149
|
return JSON.stringify(
|
|
5163
|
-
|
|
5164
|
-
|
|
5150
|
+
AgentToolInputRunWebScraperTool$outboundSchema.parse(
|
|
5151
|
+
agentToolInputRunWebScraperTool,
|
|
5165
5152
|
),
|
|
5166
5153
|
);
|
|
5167
5154
|
}
|
|
5168
5155
|
|
|
5169
5156
|
/** @internal */
|
|
5170
|
-
export type
|
|
5157
|
+
export type AgentToolInputRunGoogleSearchTool$Outbound = {
|
|
5171
5158
|
type: "google_search";
|
|
5172
5159
|
requires_approval?: boolean | undefined;
|
|
5173
5160
|
configuration?: { [k: string]: any } | undefined;
|
|
5174
5161
|
};
|
|
5175
5162
|
|
|
5176
5163
|
/** @internal */
|
|
5177
|
-
export const
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
requiresApproval: "requires_approval",
|
|
5189
|
-
});
|
|
5164
|
+
export const AgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<
|
|
5165
|
+
AgentToolInputRunGoogleSearchTool$Outbound,
|
|
5166
|
+
z.ZodTypeDef,
|
|
5167
|
+
AgentToolInputRunGoogleSearchTool
|
|
5168
|
+
> = z.object({
|
|
5169
|
+
type: z.literal("google_search"),
|
|
5170
|
+
requiresApproval: z.boolean().optional(),
|
|
5171
|
+
configuration: z.record(z.any()).optional(),
|
|
5172
|
+
}).transform((v) => {
|
|
5173
|
+
return remap$(v, {
|
|
5174
|
+
requiresApproval: "requires_approval",
|
|
5190
5175
|
});
|
|
5176
|
+
});
|
|
5191
5177
|
|
|
5192
|
-
export function
|
|
5193
|
-
|
|
5194
|
-
StreamRunAgentAgentToolInputRunGoogleSearchTool,
|
|
5178
|
+
export function agentToolInputRunGoogleSearchToolToJSON(
|
|
5179
|
+
agentToolInputRunGoogleSearchTool: AgentToolInputRunGoogleSearchTool,
|
|
5195
5180
|
): string {
|
|
5196
5181
|
return JSON.stringify(
|
|
5197
|
-
|
|
5198
|
-
|
|
5182
|
+
AgentToolInputRunGoogleSearchTool$outboundSchema.parse(
|
|
5183
|
+
agentToolInputRunGoogleSearchTool,
|
|
5199
5184
|
),
|
|
5200
5185
|
);
|
|
5201
5186
|
}
|
|
5202
5187
|
|
|
5203
5188
|
/** @internal */
|
|
5204
5189
|
export type StreamRunAgentAgentToolInputRun$Outbound =
|
|
5205
|
-
|
|
|
5206
|
-
|
|
|
5207
|
-
|
|
|
5208
|
-
|
|
|
5209
|
-
|
|
|
5210
|
-
|
|
|
5211
|
-
|
|
|
5212
|
-
|
|
|
5213
|
-
|
|
|
5214
|
-
|
|
|
5215
|
-
|
|
|
5216
|
-
|
|
|
5190
|
+
| AgentToolInputRunGoogleSearchTool$Outbound
|
|
5191
|
+
| AgentToolInputRunWebScraperTool$Outbound
|
|
5192
|
+
| AgentToolInputRunCallSubAgentTool$Outbound
|
|
5193
|
+
| AgentToolInputRunRetrieveAgentsTool$Outbound
|
|
5194
|
+
| AgentToolInputRunQueryMemoryStoreTool$Outbound
|
|
5195
|
+
| AgentToolInputRunWriteMemoryStoreTool$Outbound
|
|
5196
|
+
| AgentToolInputRunRetrieveMemoryStoresTool$Outbound
|
|
5197
|
+
| AgentToolInputRunDeleteMemoryDocumentTool$Outbound
|
|
5198
|
+
| AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound
|
|
5199
|
+
| AgentToolInputRunQueryKnowledgeBaseTool$Outbound
|
|
5200
|
+
| AgentToolInputRunCurrentDateTool$Outbound
|
|
5201
|
+
| AgentToolInputRunCodeInterpreterTool$Outbound
|
|
5217
5202
|
| AgentToolInputRunHTTPToolRun$Outbound
|
|
5218
5203
|
| AgentToolInputRunCodeToolRun$Outbound
|
|
5219
5204
|
| AgentToolInputRunFunctionToolRun$Outbound
|
|
@@ -5226,34 +5211,18 @@ export const StreamRunAgentAgentToolInputRun$outboundSchema: z.ZodType<
|
|
|
5226
5211
|
z.ZodTypeDef,
|
|
5227
5212
|
StreamRunAgentAgentToolInputRun
|
|
5228
5213
|
> = z.union([
|
|
5229
|
-
z.lazy(() =>
|
|
5230
|
-
z.lazy(() =>
|
|
5231
|
-
z.lazy(() =>
|
|
5232
|
-
z.lazy(() =>
|
|
5233
|
-
|
|
5234
|
-
),
|
|
5235
|
-
z.lazy(() =>
|
|
5236
|
-
|
|
5237
|
-
),
|
|
5238
|
-
z.lazy(() =>
|
|
5239
|
-
|
|
5240
|
-
),
|
|
5241
|
-
z.lazy(() =>
|
|
5242
|
-
StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema
|
|
5243
|
-
),
|
|
5244
|
-
z.lazy(() =>
|
|
5245
|
-
StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema
|
|
5246
|
-
),
|
|
5247
|
-
z.lazy(() =>
|
|
5248
|
-
StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema
|
|
5249
|
-
),
|
|
5250
|
-
z.lazy(() =>
|
|
5251
|
-
StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema
|
|
5252
|
-
),
|
|
5253
|
-
z.lazy(() => StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema),
|
|
5254
|
-
z.lazy(() =>
|
|
5255
|
-
StreamRunAgentAgentToolInputRunCodeInterpreterTool$outboundSchema
|
|
5256
|
-
),
|
|
5214
|
+
z.lazy(() => AgentToolInputRunGoogleSearchTool$outboundSchema),
|
|
5215
|
+
z.lazy(() => AgentToolInputRunWebScraperTool$outboundSchema),
|
|
5216
|
+
z.lazy(() => AgentToolInputRunCallSubAgentTool$outboundSchema),
|
|
5217
|
+
z.lazy(() => AgentToolInputRunRetrieveAgentsTool$outboundSchema),
|
|
5218
|
+
z.lazy(() => AgentToolInputRunQueryMemoryStoreTool$outboundSchema),
|
|
5219
|
+
z.lazy(() => AgentToolInputRunWriteMemoryStoreTool$outboundSchema),
|
|
5220
|
+
z.lazy(() => AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema),
|
|
5221
|
+
z.lazy(() => AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema),
|
|
5222
|
+
z.lazy(() => AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema),
|
|
5223
|
+
z.lazy(() => AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema),
|
|
5224
|
+
z.lazy(() => AgentToolInputRunCurrentDateTool$outboundSchema),
|
|
5225
|
+
z.lazy(() => AgentToolInputRunCodeInterpreterTool$outboundSchema),
|
|
5257
5226
|
z.lazy(() => AgentToolInputRunHTTPToolRun$outboundSchema),
|
|
5258
5227
|
z.lazy(() => AgentToolInputRunCodeToolRun$outboundSchema),
|
|
5259
5228
|
z.lazy(() => AgentToolInputRunFunctionToolRun$outboundSchema),
|
|
@@ -5352,18 +5321,18 @@ export function streamRunAgentGuardrailsToJSON(
|
|
|
5352
5321
|
export type StreamRunAgentSettings$Outbound = {
|
|
5353
5322
|
tools?:
|
|
5354
5323
|
| Array<
|
|
5355
|
-
|
|
|
5356
|
-
|
|
|
5357
|
-
|
|
|
5358
|
-
|
|
|
5359
|
-
|
|
|
5360
|
-
|
|
|
5361
|
-
|
|
|
5362
|
-
|
|
|
5363
|
-
|
|
|
5364
|
-
|
|
|
5365
|
-
|
|
|
5366
|
-
|
|
|
5324
|
+
| AgentToolInputRunGoogleSearchTool$Outbound
|
|
5325
|
+
| AgentToolInputRunWebScraperTool$Outbound
|
|
5326
|
+
| AgentToolInputRunCallSubAgentTool$Outbound
|
|
5327
|
+
| AgentToolInputRunRetrieveAgentsTool$Outbound
|
|
5328
|
+
| AgentToolInputRunQueryMemoryStoreTool$Outbound
|
|
5329
|
+
| AgentToolInputRunWriteMemoryStoreTool$Outbound
|
|
5330
|
+
| AgentToolInputRunRetrieveMemoryStoresTool$Outbound
|
|
5331
|
+
| AgentToolInputRunDeleteMemoryDocumentTool$Outbound
|
|
5332
|
+
| AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound
|
|
5333
|
+
| AgentToolInputRunQueryKnowledgeBaseTool$Outbound
|
|
5334
|
+
| AgentToolInputRunCurrentDateTool$Outbound
|
|
5335
|
+
| AgentToolInputRunCodeInterpreterTool$Outbound
|
|
5367
5336
|
| AgentToolInputRunHTTPToolRun$Outbound
|
|
5368
5337
|
| AgentToolInputRunCodeToolRun$Outbound
|
|
5369
5338
|
| AgentToolInputRunFunctionToolRun$Outbound
|
|
@@ -5388,42 +5357,18 @@ export const StreamRunAgentSettings$outboundSchema: z.ZodType<
|
|
|
5388
5357
|
> = z.object({
|
|
5389
5358
|
tools: z.array(
|
|
5390
5359
|
z.union([
|
|
5391
|
-
z.lazy(() =>
|
|
5392
|
-
|
|
5393
|
-
),
|
|
5394
|
-
z.lazy(() =>
|
|
5395
|
-
|
|
5396
|
-
),
|
|
5397
|
-
z.lazy(() =>
|
|
5398
|
-
|
|
5399
|
-
),
|
|
5400
|
-
z.lazy(() =>
|
|
5401
|
-
|
|
5402
|
-
),
|
|
5403
|
-
z.lazy(() =>
|
|
5404
|
-
StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema
|
|
5405
|
-
),
|
|
5406
|
-
z.lazy(() =>
|
|
5407
|
-
StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema
|
|
5408
|
-
),
|
|
5409
|
-
z.lazy(() =>
|
|
5410
|
-
StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema
|
|
5411
|
-
),
|
|
5412
|
-
z.lazy(() =>
|
|
5413
|
-
StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema
|
|
5414
|
-
),
|
|
5415
|
-
z.lazy(() =>
|
|
5416
|
-
StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema
|
|
5417
|
-
),
|
|
5418
|
-
z.lazy(() =>
|
|
5419
|
-
StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema
|
|
5420
|
-
),
|
|
5421
|
-
z.lazy(() =>
|
|
5422
|
-
StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema
|
|
5423
|
-
),
|
|
5424
|
-
z.lazy(() =>
|
|
5425
|
-
StreamRunAgentAgentToolInputRunCodeInterpreterTool$outboundSchema
|
|
5426
|
-
),
|
|
5360
|
+
z.lazy(() => AgentToolInputRunGoogleSearchTool$outboundSchema),
|
|
5361
|
+
z.lazy(() => AgentToolInputRunWebScraperTool$outboundSchema),
|
|
5362
|
+
z.lazy(() => AgentToolInputRunCallSubAgentTool$outboundSchema),
|
|
5363
|
+
z.lazy(() => AgentToolInputRunRetrieveAgentsTool$outboundSchema),
|
|
5364
|
+
z.lazy(() => AgentToolInputRunQueryMemoryStoreTool$outboundSchema),
|
|
5365
|
+
z.lazy(() => AgentToolInputRunWriteMemoryStoreTool$outboundSchema),
|
|
5366
|
+
z.lazy(() => AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema),
|
|
5367
|
+
z.lazy(() => AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema),
|
|
5368
|
+
z.lazy(() => AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema),
|
|
5369
|
+
z.lazy(() => AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema),
|
|
5370
|
+
z.lazy(() => AgentToolInputRunCurrentDateTool$outboundSchema),
|
|
5371
|
+
z.lazy(() => AgentToolInputRunCodeInterpreterTool$outboundSchema),
|
|
5427
5372
|
z.lazy(() => AgentToolInputRunHTTPToolRun$outboundSchema),
|
|
5428
5373
|
z.lazy(() => AgentToolInputRunCodeToolRun$outboundSchema),
|
|
5429
5374
|
z.lazy(() => AgentToolInputRunFunctionToolRun$outboundSchema),
|