@orq-ai/node 4.11.0 → 4.11.3
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/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/reasoningpart.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- 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 +4 -4
- 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 +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- 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.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/packages/orq-rc/src/funcs/notifiersCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/notifiersDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/notifiersGet.ts +168 -0
- package/packages/orq-rc/src/funcs/notifiersList.ts +171 -0
- package/packages/orq-rc/src/funcs/notifiersUpdate.ts +171 -0
- package/packages/orq-rc/src/funcs/tracesAggregate.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesGet.ts +168 -0
- package/packages/orq-rc/src/funcs/tracesGetSpan.ts +172 -0
- package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +177 -0
- package/packages/orq-rc/src/funcs/tracesListFacets.ts +144 -0
- package/packages/orq-rc/src/funcs/tracesListFields.ts +144 -0
- package/packages/orq-rc/src/funcs/tracesListSpans.ts +174 -0
- package/packages/orq-rc/src/funcs/tracesQuery.ts +162 -0
- package/packages/orq-rc/src/funcs/tracesSearch.ts +162 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +65 -0
- package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/createnotifierrequest.ts +433 -0
- package/packages/orq-rc/src/models/components/createnotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/getnotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/gettraceresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/gettracespanresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +36 -0
- package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +50 -0
- package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/listtracespansresponse.ts +44 -0
- package/packages/orq-rc/src/models/components/notifier.ts +465 -0
- package/packages/orq-rc/src/models/components/notifiertype.ts +21 -0
- package/packages/orq-rc/src/models/components/querytracesrequest.ts +48 -0
- package/packages/orq-rc/src/models/components/querytracesresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/searchtracesrequest.ts +68 -0
- package/packages/orq-rc/src/models/components/searchtracesresponse.ts +72 -0
- package/packages/orq-rc/src/models/components/spandetail.ts +53 -0
- package/packages/orq-rc/src/models/components/spansummary.ts +76 -0
- package/packages/orq-rc/src/models/components/traceagent.ts +33 -0
- package/packages/orq-rc/src/models/components/traceaggregaterow.ts +33 -0
- package/packages/orq-rc/src/models/components/tracecompute.ts +30 -0
- package/packages/orq-rc/src/models/components/tracecontext.ts +39 -0
- package/packages/orq-rc/src/models/components/tracecost.ts +77 -0
- package/packages/orq-rc/src/models/components/tracefacet.ts +35 -0
- package/packages/orq-rc/src/models/components/tracefacetvalue.ts +33 -0
- package/packages/orq-rc/src/models/components/tracefield.ts +56 -0
- package/packages/orq-rc/src/models/components/tracefilter.ts +33 -0
- package/packages/orq-rc/src/models/components/tracesearchmeta.ts +45 -0
- package/packages/orq-rc/src/models/components/tracesort.ts +30 -0
- package/packages/orq-rc/src/models/components/tracesummary.ts +152 -0
- package/packages/orq-rc/src/models/components/traceusage.ts +62 -0
- package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +130 -0
- package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +35 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +77 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +2 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +2 -0
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +8 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +5 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -0
- package/packages/orq-rc/src/models/operations/notifierdelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/notifierget.ts +36 -0
- package/packages/orq-rc/src/models/operations/notifierlist.ts +59 -0
- package/packages/orq-rc/src/models/operations/notifierupdate.ts +41 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +67 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +67 -1
- package/packages/orq-rc/src/models/operations/tracesget.ts +36 -0
- package/packages/orq-rc/src/models/operations/tracesgetspan.ts +40 -0
- package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +50 -0
- package/packages/orq-rc/src/models/operations/traceslistspans.ts +43 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +77 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/packages/orq-rc/src/sdk/notifiers.ts +100 -0
- package/packages/orq-rc/src/sdk/sdk.ts +12 -0
- package/packages/orq-rc/src/sdk/traces.ts +168 -0
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/src/lib/config.ts +2 -2
- 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/reasoningpart.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- 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 +4 -4
- 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 +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- 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 +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
|
@@ -1559,6 +1559,10 @@ export type AgentToolInputRunCurrentDateTool = {
|
|
|
1559
1559
|
* Whether this tool requires approval before execution
|
|
1560
1560
|
*/
|
|
1561
1561
|
requiresApproval?: boolean | undefined;
|
|
1562
|
+
/**
|
|
1563
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1564
|
+
*/
|
|
1565
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1562
1566
|
};
|
|
1563
1567
|
|
|
1564
1568
|
/**
|
|
@@ -1570,6 +1574,10 @@ export type AgentToolInputRunQueryKnowledgeBaseTool = {
|
|
|
1570
1574
|
* Whether this tool requires approval before execution
|
|
1571
1575
|
*/
|
|
1572
1576
|
requiresApproval?: boolean | undefined;
|
|
1577
|
+
/**
|
|
1578
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1579
|
+
*/
|
|
1580
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1573
1581
|
};
|
|
1574
1582
|
|
|
1575
1583
|
/**
|
|
@@ -1581,6 +1589,10 @@ export type AgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
|
1581
1589
|
* Whether this tool requires approval before execution
|
|
1582
1590
|
*/
|
|
1583
1591
|
requiresApproval?: boolean | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1594
|
+
*/
|
|
1595
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1584
1596
|
};
|
|
1585
1597
|
|
|
1586
1598
|
/**
|
|
@@ -1592,6 +1604,10 @@ export type AgentToolInputRunDeleteMemoryDocumentTool = {
|
|
|
1592
1604
|
* Whether this tool requires approval before execution
|
|
1593
1605
|
*/
|
|
1594
1606
|
requiresApproval?: boolean | undefined;
|
|
1607
|
+
/**
|
|
1608
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1609
|
+
*/
|
|
1610
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1595
1611
|
};
|
|
1596
1612
|
|
|
1597
1613
|
/**
|
|
@@ -1603,6 +1619,10 @@ export type AgentToolInputRunRetrieveMemoryStoresTool = {
|
|
|
1603
1619
|
* Whether this tool requires approval before execution
|
|
1604
1620
|
*/
|
|
1605
1621
|
requiresApproval?: boolean | undefined;
|
|
1622
|
+
/**
|
|
1623
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1624
|
+
*/
|
|
1625
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1606
1626
|
};
|
|
1607
1627
|
|
|
1608
1628
|
/**
|
|
@@ -1614,6 +1634,10 @@ export type AgentToolInputRunWriteMemoryStoreTool = {
|
|
|
1614
1634
|
* Whether this tool requires approval before execution
|
|
1615
1635
|
*/
|
|
1616
1636
|
requiresApproval?: boolean | undefined;
|
|
1637
|
+
/**
|
|
1638
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1639
|
+
*/
|
|
1640
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1617
1641
|
};
|
|
1618
1642
|
|
|
1619
1643
|
/**
|
|
@@ -1625,6 +1649,10 @@ export type AgentToolInputRunQueryMemoryStoreTool = {
|
|
|
1625
1649
|
* Whether this tool requires approval before execution
|
|
1626
1650
|
*/
|
|
1627
1651
|
requiresApproval?: boolean | undefined;
|
|
1652
|
+
/**
|
|
1653
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1654
|
+
*/
|
|
1655
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1628
1656
|
};
|
|
1629
1657
|
|
|
1630
1658
|
/**
|
|
@@ -1636,6 +1664,10 @@ export type AgentToolInputRunRetrieveAgentsTool = {
|
|
|
1636
1664
|
* Whether this tool requires approval before execution
|
|
1637
1665
|
*/
|
|
1638
1666
|
requiresApproval?: boolean | undefined;
|
|
1667
|
+
/**
|
|
1668
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1669
|
+
*/
|
|
1670
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1639
1671
|
};
|
|
1640
1672
|
|
|
1641
1673
|
/**
|
|
@@ -1647,6 +1679,10 @@ export type AgentToolInputRunCallSubAgentTool = {
|
|
|
1647
1679
|
* Whether this tool requires approval before execution
|
|
1648
1680
|
*/
|
|
1649
1681
|
requiresApproval?: boolean | undefined;
|
|
1682
|
+
/**
|
|
1683
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1684
|
+
*/
|
|
1685
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1650
1686
|
};
|
|
1651
1687
|
|
|
1652
1688
|
/**
|
|
@@ -1658,6 +1694,10 @@ export type AgentToolInputRunWebScraperTool = {
|
|
|
1658
1694
|
* Whether this tool requires approval before execution
|
|
1659
1695
|
*/
|
|
1660
1696
|
requiresApproval?: boolean | undefined;
|
|
1697
|
+
/**
|
|
1698
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1699
|
+
*/
|
|
1700
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1661
1701
|
};
|
|
1662
1702
|
|
|
1663
1703
|
/**
|
|
@@ -1669,6 +1709,10 @@ export type AgentToolInputRunGoogleSearchTool = {
|
|
|
1669
1709
|
* Whether this tool requires approval before execution
|
|
1670
1710
|
*/
|
|
1671
1711
|
requiresApproval?: boolean | undefined;
|
|
1712
|
+
/**
|
|
1713
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1714
|
+
*/
|
|
1715
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1672
1716
|
};
|
|
1673
1717
|
|
|
1674
1718
|
/**
|
|
@@ -3975,7 +4019,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3975
4019
|
z.ZodTypeDef,
|
|
3976
4020
|
Tools
|
|
3977
4021
|
> = z.object({
|
|
3978
|
-
id: z.string().default("
|
|
4022
|
+
id: z.string().default("01KWV652D81DT9073XPDK0P9B3"),
|
|
3979
4023
|
name: z.string(),
|
|
3980
4024
|
description: z.string().optional(),
|
|
3981
4025
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4551,6 +4595,7 @@ export function httpToolRunToJSON(httpToolRun: HTTPToolRun): string {
|
|
|
4551
4595
|
export type AgentToolInputRunCurrentDateTool$Outbound = {
|
|
4552
4596
|
type: "current_date";
|
|
4553
4597
|
requires_approval?: boolean | undefined;
|
|
4598
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4554
4599
|
};
|
|
4555
4600
|
|
|
4556
4601
|
/** @internal */
|
|
@@ -4561,6 +4606,7 @@ export const AgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<
|
|
|
4561
4606
|
> = z.object({
|
|
4562
4607
|
type: z.literal("current_date"),
|
|
4563
4608
|
requiresApproval: z.boolean().optional(),
|
|
4609
|
+
configuration: z.record(z.any()).optional(),
|
|
4564
4610
|
}).transform((v) => {
|
|
4565
4611
|
return remap$(v, {
|
|
4566
4612
|
requiresApproval: "requires_approval",
|
|
@@ -4581,6 +4627,7 @@ export function agentToolInputRunCurrentDateToolToJSON(
|
|
|
4581
4627
|
export type AgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
4582
4628
|
type: "query_knowledge_base";
|
|
4583
4629
|
requires_approval?: boolean | undefined;
|
|
4630
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4584
4631
|
};
|
|
4585
4632
|
|
|
4586
4633
|
/** @internal */
|
|
@@ -4591,6 +4638,7 @@ export const AgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<
|
|
|
4591
4638
|
> = z.object({
|
|
4592
4639
|
type: z.literal("query_knowledge_base"),
|
|
4593
4640
|
requiresApproval: z.boolean().optional(),
|
|
4641
|
+
configuration: z.record(z.any()).optional(),
|
|
4594
4642
|
}).transform((v) => {
|
|
4595
4643
|
return remap$(v, {
|
|
4596
4644
|
requiresApproval: "requires_approval",
|
|
@@ -4612,6 +4660,7 @@ export function agentToolInputRunQueryKnowledgeBaseToolToJSON(
|
|
|
4612
4660
|
export type AgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
4613
4661
|
type: "retrieve_knowledge_bases";
|
|
4614
4662
|
requires_approval?: boolean | undefined;
|
|
4663
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4615
4664
|
};
|
|
4616
4665
|
|
|
4617
4666
|
/** @internal */
|
|
@@ -4623,6 +4672,7 @@ export const AgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema:
|
|
|
4623
4672
|
> = z.object({
|
|
4624
4673
|
type: z.literal("retrieve_knowledge_bases"),
|
|
4625
4674
|
requiresApproval: z.boolean().optional(),
|
|
4675
|
+
configuration: z.record(z.any()).optional(),
|
|
4626
4676
|
}).transform((v) => {
|
|
4627
4677
|
return remap$(v, {
|
|
4628
4678
|
requiresApproval: "requires_approval",
|
|
@@ -4644,6 +4694,7 @@ export function agentToolInputRunRetrieveKnowledgeBasesToolToJSON(
|
|
|
4644
4694
|
export type AgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
4645
4695
|
type: "delete_memory_document";
|
|
4646
4696
|
requires_approval?: boolean | undefined;
|
|
4697
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4647
4698
|
};
|
|
4648
4699
|
|
|
4649
4700
|
/** @internal */
|
|
@@ -4655,6 +4706,7 @@ export const AgentToolInputRunDeleteMemoryDocumentTool$outboundSchema:
|
|
|
4655
4706
|
> = z.object({
|
|
4656
4707
|
type: z.literal("delete_memory_document"),
|
|
4657
4708
|
requiresApproval: z.boolean().optional(),
|
|
4709
|
+
configuration: z.record(z.any()).optional(),
|
|
4658
4710
|
}).transform((v) => {
|
|
4659
4711
|
return remap$(v, {
|
|
4660
4712
|
requiresApproval: "requires_approval",
|
|
@@ -4676,6 +4728,7 @@ export function agentToolInputRunDeleteMemoryDocumentToolToJSON(
|
|
|
4676
4728
|
export type AgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
4677
4729
|
type: "retrieve_memory_stores";
|
|
4678
4730
|
requires_approval?: boolean | undefined;
|
|
4731
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4679
4732
|
};
|
|
4680
4733
|
|
|
4681
4734
|
/** @internal */
|
|
@@ -4687,6 +4740,7 @@ export const AgentToolInputRunRetrieveMemoryStoresTool$outboundSchema:
|
|
|
4687
4740
|
> = z.object({
|
|
4688
4741
|
type: z.literal("retrieve_memory_stores"),
|
|
4689
4742
|
requiresApproval: z.boolean().optional(),
|
|
4743
|
+
configuration: z.record(z.any()).optional(),
|
|
4690
4744
|
}).transform((v) => {
|
|
4691
4745
|
return remap$(v, {
|
|
4692
4746
|
requiresApproval: "requires_approval",
|
|
@@ -4708,6 +4762,7 @@ export function agentToolInputRunRetrieveMemoryStoresToolToJSON(
|
|
|
4708
4762
|
export type AgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
4709
4763
|
type: "write_memory_store";
|
|
4710
4764
|
requires_approval?: boolean | undefined;
|
|
4765
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4711
4766
|
};
|
|
4712
4767
|
|
|
4713
4768
|
/** @internal */
|
|
@@ -4718,6 +4773,7 @@ export const AgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4718
4773
|
> = z.object({
|
|
4719
4774
|
type: z.literal("write_memory_store"),
|
|
4720
4775
|
requiresApproval: z.boolean().optional(),
|
|
4776
|
+
configuration: z.record(z.any()).optional(),
|
|
4721
4777
|
}).transform((v) => {
|
|
4722
4778
|
return remap$(v, {
|
|
4723
4779
|
requiresApproval: "requires_approval",
|
|
@@ -4738,6 +4794,7 @@ export function agentToolInputRunWriteMemoryStoreToolToJSON(
|
|
|
4738
4794
|
export type AgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
4739
4795
|
type: "query_memory_store";
|
|
4740
4796
|
requires_approval?: boolean | undefined;
|
|
4797
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4741
4798
|
};
|
|
4742
4799
|
|
|
4743
4800
|
/** @internal */
|
|
@@ -4748,6 +4805,7 @@ export const AgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4748
4805
|
> = z.object({
|
|
4749
4806
|
type: z.literal("query_memory_store"),
|
|
4750
4807
|
requiresApproval: z.boolean().optional(),
|
|
4808
|
+
configuration: z.record(z.any()).optional(),
|
|
4751
4809
|
}).transform((v) => {
|
|
4752
4810
|
return remap$(v, {
|
|
4753
4811
|
requiresApproval: "requires_approval",
|
|
@@ -4768,6 +4826,7 @@ export function agentToolInputRunQueryMemoryStoreToolToJSON(
|
|
|
4768
4826
|
export type AgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
4769
4827
|
type: "retrieve_agents";
|
|
4770
4828
|
requires_approval?: boolean | undefined;
|
|
4829
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4771
4830
|
};
|
|
4772
4831
|
|
|
4773
4832
|
/** @internal */
|
|
@@ -4778,6 +4837,7 @@ export const AgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<
|
|
|
4778
4837
|
> = z.object({
|
|
4779
4838
|
type: z.literal("retrieve_agents"),
|
|
4780
4839
|
requiresApproval: z.boolean().optional(),
|
|
4840
|
+
configuration: z.record(z.any()).optional(),
|
|
4781
4841
|
}).transform((v) => {
|
|
4782
4842
|
return remap$(v, {
|
|
4783
4843
|
requiresApproval: "requires_approval",
|
|
@@ -4798,6 +4858,7 @@ export function agentToolInputRunRetrieveAgentsToolToJSON(
|
|
|
4798
4858
|
export type AgentToolInputRunCallSubAgentTool$Outbound = {
|
|
4799
4859
|
type: "call_sub_agent";
|
|
4800
4860
|
requires_approval?: boolean | undefined;
|
|
4861
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4801
4862
|
};
|
|
4802
4863
|
|
|
4803
4864
|
/** @internal */
|
|
@@ -4808,6 +4869,7 @@ export const AgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<
|
|
|
4808
4869
|
> = z.object({
|
|
4809
4870
|
type: z.literal("call_sub_agent"),
|
|
4810
4871
|
requiresApproval: z.boolean().optional(),
|
|
4872
|
+
configuration: z.record(z.any()).optional(),
|
|
4811
4873
|
}).transform((v) => {
|
|
4812
4874
|
return remap$(v, {
|
|
4813
4875
|
requiresApproval: "requires_approval",
|
|
@@ -4828,6 +4890,7 @@ export function agentToolInputRunCallSubAgentToolToJSON(
|
|
|
4828
4890
|
export type AgentToolInputRunWebScraperTool$Outbound = {
|
|
4829
4891
|
type: "web_scraper";
|
|
4830
4892
|
requires_approval?: boolean | undefined;
|
|
4893
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4831
4894
|
};
|
|
4832
4895
|
|
|
4833
4896
|
/** @internal */
|
|
@@ -4838,6 +4901,7 @@ export const AgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<
|
|
|
4838
4901
|
> = z.object({
|
|
4839
4902
|
type: z.literal("web_scraper"),
|
|
4840
4903
|
requiresApproval: z.boolean().optional(),
|
|
4904
|
+
configuration: z.record(z.any()).optional(),
|
|
4841
4905
|
}).transform((v) => {
|
|
4842
4906
|
return remap$(v, {
|
|
4843
4907
|
requiresApproval: "requires_approval",
|
|
@@ -4858,6 +4922,7 @@ export function agentToolInputRunWebScraperToolToJSON(
|
|
|
4858
4922
|
export type AgentToolInputRunGoogleSearchTool$Outbound = {
|
|
4859
4923
|
type: "google_search";
|
|
4860
4924
|
requires_approval?: boolean | undefined;
|
|
4925
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4861
4926
|
};
|
|
4862
4927
|
|
|
4863
4928
|
/** @internal */
|
|
@@ -4868,6 +4933,7 @@ export const AgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<
|
|
|
4868
4933
|
> = z.object({
|
|
4869
4934
|
type: z.literal("google_search"),
|
|
4870
4935
|
requiresApproval: z.boolean().optional(),
|
|
4936
|
+
configuration: z.record(z.any()).optional(),
|
|
4871
4937
|
}).transform((v) => {
|
|
4872
4938
|
return remap$(v, {
|
|
4873
4939
|
requiresApproval: "requires_approval",
|
|
@@ -1596,6 +1596,10 @@ export type StreamRunAgentAgentToolInputRunCurrentDateTool = {
|
|
|
1596
1596
|
* Whether this tool requires approval before execution
|
|
1597
1597
|
*/
|
|
1598
1598
|
requiresApproval?: boolean | undefined;
|
|
1599
|
+
/**
|
|
1600
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1601
|
+
*/
|
|
1602
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1599
1603
|
};
|
|
1600
1604
|
|
|
1601
1605
|
/**
|
|
@@ -1607,6 +1611,10 @@ export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool = {
|
|
|
1607
1611
|
* Whether this tool requires approval before execution
|
|
1608
1612
|
*/
|
|
1609
1613
|
requiresApproval?: boolean | undefined;
|
|
1614
|
+
/**
|
|
1615
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1616
|
+
*/
|
|
1617
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1610
1618
|
};
|
|
1611
1619
|
|
|
1612
1620
|
/**
|
|
@@ -1618,6 +1626,10 @@ export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
|
1618
1626
|
* Whether this tool requires approval before execution
|
|
1619
1627
|
*/
|
|
1620
1628
|
requiresApproval?: boolean | undefined;
|
|
1629
|
+
/**
|
|
1630
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1631
|
+
*/
|
|
1632
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1621
1633
|
};
|
|
1622
1634
|
|
|
1623
1635
|
/**
|
|
@@ -1629,6 +1641,10 @@ export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool = {
|
|
|
1629
1641
|
* Whether this tool requires approval before execution
|
|
1630
1642
|
*/
|
|
1631
1643
|
requiresApproval?: boolean | undefined;
|
|
1644
|
+
/**
|
|
1645
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1646
|
+
*/
|
|
1647
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1632
1648
|
};
|
|
1633
1649
|
|
|
1634
1650
|
/**
|
|
@@ -1640,6 +1656,10 @@ export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool = {
|
|
|
1640
1656
|
* Whether this tool requires approval before execution
|
|
1641
1657
|
*/
|
|
1642
1658
|
requiresApproval?: boolean | undefined;
|
|
1659
|
+
/**
|
|
1660
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1661
|
+
*/
|
|
1662
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1643
1663
|
};
|
|
1644
1664
|
|
|
1645
1665
|
/**
|
|
@@ -1651,6 +1671,10 @@ export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool = {
|
|
|
1651
1671
|
* Whether this tool requires approval before execution
|
|
1652
1672
|
*/
|
|
1653
1673
|
requiresApproval?: boolean | undefined;
|
|
1674
|
+
/**
|
|
1675
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1676
|
+
*/
|
|
1677
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1654
1678
|
};
|
|
1655
1679
|
|
|
1656
1680
|
/**
|
|
@@ -1662,6 +1686,10 @@ export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool = {
|
|
|
1662
1686
|
* Whether this tool requires approval before execution
|
|
1663
1687
|
*/
|
|
1664
1688
|
requiresApproval?: boolean | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1691
|
+
*/
|
|
1692
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1665
1693
|
};
|
|
1666
1694
|
|
|
1667
1695
|
/**
|
|
@@ -1673,6 +1701,10 @@ export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool = {
|
|
|
1673
1701
|
* Whether this tool requires approval before execution
|
|
1674
1702
|
*/
|
|
1675
1703
|
requiresApproval?: boolean | undefined;
|
|
1704
|
+
/**
|
|
1705
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1706
|
+
*/
|
|
1707
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1676
1708
|
};
|
|
1677
1709
|
|
|
1678
1710
|
/**
|
|
@@ -1684,6 +1716,10 @@ export type StreamRunAgentAgentToolInputRunCallSubAgentTool = {
|
|
|
1684
1716
|
* Whether this tool requires approval before execution
|
|
1685
1717
|
*/
|
|
1686
1718
|
requiresApproval?: boolean | undefined;
|
|
1719
|
+
/**
|
|
1720
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1721
|
+
*/
|
|
1722
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1687
1723
|
};
|
|
1688
1724
|
|
|
1689
1725
|
/**
|
|
@@ -1695,6 +1731,10 @@ export type StreamRunAgentAgentToolInputRunWebScraperTool = {
|
|
|
1695
1731
|
* Whether this tool requires approval before execution
|
|
1696
1732
|
*/
|
|
1697
1733
|
requiresApproval?: boolean | undefined;
|
|
1734
|
+
/**
|
|
1735
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1736
|
+
*/
|
|
1737
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1698
1738
|
};
|
|
1699
1739
|
|
|
1700
1740
|
/**
|
|
@@ -1706,6 +1746,10 @@ export type StreamRunAgentAgentToolInputRunGoogleSearchTool = {
|
|
|
1706
1746
|
* Whether this tool requires approval before execution
|
|
1707
1747
|
*/
|
|
1708
1748
|
requiresApproval?: boolean | undefined;
|
|
1749
|
+
/**
|
|
1750
|
+
* Static tool configuration set at design time. Merged over LLM-provided arguments at execution time.
|
|
1751
|
+
*/
|
|
1752
|
+
configuration?: { [k: string]: any } | undefined;
|
|
1709
1753
|
};
|
|
1710
1754
|
|
|
1711
1755
|
/**
|
|
@@ -4031,7 +4075,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4031
4075
|
z.ZodTypeDef,
|
|
4032
4076
|
AgentToolInputRunTools
|
|
4033
4077
|
> = z.object({
|
|
4034
|
-
id: z.string().default("
|
|
4078
|
+
id: z.string().default("01KWV652F9PJB3C8W15SBV4BPV"),
|
|
4035
4079
|
name: z.string(),
|
|
4036
4080
|
description: z.string().optional(),
|
|
4037
4081
|
schema: z.lazy(() =>
|
|
@@ -4713,6 +4757,7 @@ export function agentToolInputRunHTTPToolRunToJSON(
|
|
|
4713
4757
|
export type StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound = {
|
|
4714
4758
|
type: "current_date";
|
|
4715
4759
|
requires_approval?: boolean | undefined;
|
|
4760
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4716
4761
|
};
|
|
4717
4762
|
|
|
4718
4763
|
/** @internal */
|
|
@@ -4724,6 +4769,7 @@ export const StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema:
|
|
|
4724
4769
|
> = z.object({
|
|
4725
4770
|
type: z.literal("current_date"),
|
|
4726
4771
|
requiresApproval: z.boolean().optional(),
|
|
4772
|
+
configuration: z.record(z.any()).optional(),
|
|
4727
4773
|
}).transform((v) => {
|
|
4728
4774
|
return remap$(v, {
|
|
4729
4775
|
requiresApproval: "requires_approval",
|
|
@@ -4745,6 +4791,7 @@ export function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(
|
|
|
4745
4791
|
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
4746
4792
|
type: "query_knowledge_base";
|
|
4747
4793
|
requires_approval?: boolean | undefined;
|
|
4794
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4748
4795
|
};
|
|
4749
4796
|
|
|
4750
4797
|
/** @internal */
|
|
@@ -4756,6 +4803,7 @@ export const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchem
|
|
|
4756
4803
|
> = z.object({
|
|
4757
4804
|
type: z.literal("query_knowledge_base"),
|
|
4758
4805
|
requiresApproval: z.boolean().optional(),
|
|
4806
|
+
configuration: z.record(z.any()).optional(),
|
|
4759
4807
|
}).transform((v) => {
|
|
4760
4808
|
return remap$(v, {
|
|
4761
4809
|
requiresApproval: "requires_approval",
|
|
@@ -4778,6 +4826,7 @@ export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound =
|
|
|
4778
4826
|
{
|
|
4779
4827
|
type: "retrieve_knowledge_bases";
|
|
4780
4828
|
requires_approval?: boolean | undefined;
|
|
4829
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4781
4830
|
};
|
|
4782
4831
|
|
|
4783
4832
|
/** @internal */
|
|
@@ -4789,6 +4838,7 @@ export const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundS
|
|
|
4789
4838
|
> = z.object({
|
|
4790
4839
|
type: z.literal("retrieve_knowledge_bases"),
|
|
4791
4840
|
requiresApproval: z.boolean().optional(),
|
|
4841
|
+
configuration: z.record(z.any()).optional(),
|
|
4792
4842
|
}).transform((v) => {
|
|
4793
4843
|
return remap$(v, {
|
|
4794
4844
|
requiresApproval: "requires_approval",
|
|
@@ -4809,6 +4859,7 @@ export function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(
|
|
|
4809
4859
|
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
4810
4860
|
type: "delete_memory_document";
|
|
4811
4861
|
requires_approval?: boolean | undefined;
|
|
4862
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4812
4863
|
};
|
|
4813
4864
|
|
|
4814
4865
|
/** @internal */
|
|
@@ -4820,6 +4871,7 @@ export const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSch
|
|
|
4820
4871
|
> = z.object({
|
|
4821
4872
|
type: z.literal("delete_memory_document"),
|
|
4822
4873
|
requiresApproval: z.boolean().optional(),
|
|
4874
|
+
configuration: z.record(z.any()).optional(),
|
|
4823
4875
|
}).transform((v) => {
|
|
4824
4876
|
return remap$(v, {
|
|
4825
4877
|
requiresApproval: "requires_approval",
|
|
@@ -4840,6 +4892,7 @@ export function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(
|
|
|
4840
4892
|
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
4841
4893
|
type: "retrieve_memory_stores";
|
|
4842
4894
|
requires_approval?: boolean | undefined;
|
|
4895
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4843
4896
|
};
|
|
4844
4897
|
|
|
4845
4898
|
/** @internal */
|
|
@@ -4851,6 +4904,7 @@ export const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSch
|
|
|
4851
4904
|
> = z.object({
|
|
4852
4905
|
type: z.literal("retrieve_memory_stores"),
|
|
4853
4906
|
requiresApproval: z.boolean().optional(),
|
|
4907
|
+
configuration: z.record(z.any()).optional(),
|
|
4854
4908
|
}).transform((v) => {
|
|
4855
4909
|
return remap$(v, {
|
|
4856
4910
|
requiresApproval: "requires_approval",
|
|
@@ -4871,6 +4925,7 @@ export function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(
|
|
|
4871
4925
|
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
4872
4926
|
type: "write_memory_store";
|
|
4873
4927
|
requires_approval?: boolean | undefined;
|
|
4928
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4874
4929
|
};
|
|
4875
4930
|
|
|
4876
4931
|
/** @internal */
|
|
@@ -4882,6 +4937,7 @@ export const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema:
|
|
|
4882
4937
|
> = z.object({
|
|
4883
4938
|
type: z.literal("write_memory_store"),
|
|
4884
4939
|
requiresApproval: z.boolean().optional(),
|
|
4940
|
+
configuration: z.record(z.any()).optional(),
|
|
4885
4941
|
}).transform((v) => {
|
|
4886
4942
|
return remap$(v, {
|
|
4887
4943
|
requiresApproval: "requires_approval",
|
|
@@ -4903,6 +4959,7 @@ export function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(
|
|
|
4903
4959
|
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
4904
4960
|
type: "query_memory_store";
|
|
4905
4961
|
requires_approval?: boolean | undefined;
|
|
4962
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4906
4963
|
};
|
|
4907
4964
|
|
|
4908
4965
|
/** @internal */
|
|
@@ -4914,6 +4971,7 @@ export const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema:
|
|
|
4914
4971
|
> = z.object({
|
|
4915
4972
|
type: z.literal("query_memory_store"),
|
|
4916
4973
|
requiresApproval: z.boolean().optional(),
|
|
4974
|
+
configuration: z.record(z.any()).optional(),
|
|
4917
4975
|
}).transform((v) => {
|
|
4918
4976
|
return remap$(v, {
|
|
4919
4977
|
requiresApproval: "requires_approval",
|
|
@@ -4935,6 +4993,7 @@ export function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(
|
|
|
4935
4993
|
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
4936
4994
|
type: "retrieve_agents";
|
|
4937
4995
|
requires_approval?: boolean | undefined;
|
|
4996
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4938
4997
|
};
|
|
4939
4998
|
|
|
4940
4999
|
/** @internal */
|
|
@@ -4946,6 +5005,7 @@ export const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema:
|
|
|
4946
5005
|
> = z.object({
|
|
4947
5006
|
type: z.literal("retrieve_agents"),
|
|
4948
5007
|
requiresApproval: z.boolean().optional(),
|
|
5008
|
+
configuration: z.record(z.any()).optional(),
|
|
4949
5009
|
}).transform((v) => {
|
|
4950
5010
|
return remap$(v, {
|
|
4951
5011
|
requiresApproval: "requires_approval",
|
|
@@ -4967,6 +5027,7 @@ export function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(
|
|
|
4967
5027
|
export type StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound = {
|
|
4968
5028
|
type: "call_sub_agent";
|
|
4969
5029
|
requires_approval?: boolean | undefined;
|
|
5030
|
+
configuration?: { [k: string]: any } | undefined;
|
|
4970
5031
|
};
|
|
4971
5032
|
|
|
4972
5033
|
/** @internal */
|
|
@@ -4978,6 +5039,7 @@ export const StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema:
|
|
|
4978
5039
|
> = z.object({
|
|
4979
5040
|
type: z.literal("call_sub_agent"),
|
|
4980
5041
|
requiresApproval: z.boolean().optional(),
|
|
5042
|
+
configuration: z.record(z.any()).optional(),
|
|
4981
5043
|
}).transform((v) => {
|
|
4982
5044
|
return remap$(v, {
|
|
4983
5045
|
requiresApproval: "requires_approval",
|
|
@@ -4999,6 +5061,7 @@ export function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(
|
|
|
4999
5061
|
export type StreamRunAgentAgentToolInputRunWebScraperTool$Outbound = {
|
|
5000
5062
|
type: "web_scraper";
|
|
5001
5063
|
requires_approval?: boolean | undefined;
|
|
5064
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5002
5065
|
};
|
|
5003
5066
|
|
|
5004
5067
|
/** @internal */
|
|
@@ -5010,6 +5073,7 @@ export const StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema:
|
|
|
5010
5073
|
> = z.object({
|
|
5011
5074
|
type: z.literal("web_scraper"),
|
|
5012
5075
|
requiresApproval: z.boolean().optional(),
|
|
5076
|
+
configuration: z.record(z.any()).optional(),
|
|
5013
5077
|
}).transform((v) => {
|
|
5014
5078
|
return remap$(v, {
|
|
5015
5079
|
requiresApproval: "requires_approval",
|
|
@@ -5031,6 +5095,7 @@ export function streamRunAgentAgentToolInputRunWebScraperToolToJSON(
|
|
|
5031
5095
|
export type StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound = {
|
|
5032
5096
|
type: "google_search";
|
|
5033
5097
|
requires_approval?: boolean | undefined;
|
|
5098
|
+
configuration?: { [k: string]: any } | undefined;
|
|
5034
5099
|
};
|
|
5035
5100
|
|
|
5036
5101
|
/** @internal */
|
|
@@ -5042,6 +5107,7 @@ export const StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema:
|
|
|
5042
5107
|
> = z.object({
|
|
5043
5108
|
type: z.literal("google_search"),
|
|
5044
5109
|
requiresApproval: z.boolean().optional(),
|
|
5110
|
+
configuration: z.record(z.any()).optional(),
|
|
5045
5111
|
}).transform((v) => {
|
|
5046
5112
|
return remap$(v, {
|
|
5047
5113
|
requiresApproval: "requires_approval",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type TracesGetRequest = {
|
|
9
|
+
traceId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type TracesGetRequest$Outbound = {
|
|
14
|
+
trace_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const TracesGetRequest$outboundSchema: z.ZodType<
|
|
19
|
+
TracesGetRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
TracesGetRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
traceId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
traceId: "trace_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function tracesGetRequestToJSON(
|
|
31
|
+
tracesGetRequest: TracesGetRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
TracesGetRequest$outboundSchema.parse(tracesGetRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type TracesGetSpanRequest = {
|
|
9
|
+
traceId: string;
|
|
10
|
+
spanId: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type TracesGetSpanRequest$Outbound = {
|
|
15
|
+
trace_id: string;
|
|
16
|
+
span_id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const TracesGetSpanRequest$outboundSchema: z.ZodType<
|
|
21
|
+
TracesGetSpanRequest$Outbound,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
TracesGetSpanRequest
|
|
24
|
+
> = z.object({
|
|
25
|
+
traceId: z.string(),
|
|
26
|
+
spanId: z.string(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
traceId: "trace_id",
|
|
30
|
+
spanId: "span_id",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export function tracesGetSpanRequestToJSON(
|
|
35
|
+
tracesGetSpanRequest: TracesGetSpanRequest,
|
|
36
|
+
): string {
|
|
37
|
+
return JSON.stringify(
|
|
38
|
+
TracesGetSpanRequest$outboundSchema.parse(tracesGetSpanRequest),
|
|
39
|
+
);
|
|
40
|
+
}
|