@orq-ai/node 3.12.12 → 3.12.14
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/README.md +1 -1
- package/bin/mcp-server.js +126 -232
- package/bin/mcp-server.js.map +33 -33
- package/docs/sdks/knowledge/README.md +12 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +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/searchknowledge.d.ts +17 -246
- package/models/operations/searchknowledge.d.ts.map +1 -1
- package/models/operations/searchknowledge.js +16 -167
- package/models/operations/searchknowledge.js.map +1 -1
- 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/README.md +90 -92
- package/packages/orq-rc/docs/sdks/agents/README.md +94 -80
- 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 -3
- 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/errors/index.ts +1 -0
- 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/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 -9
- 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/index.ts +0 -1
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -9
- 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/retrieveaction.ts +14 -16
- 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/runagent.ts +183 -14
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +194 -14
- 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/sdk/agents.ts +2 -20
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- 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/searchknowledge.ts +29 -259
- 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
- package/packages/orq-rc/src/funcs/agentsReviewAction.ts +0 -177
- package/packages/orq-rc/src/mcp-server/tools/agentsReviewAction.ts +0 -37
- package/packages/orq-rc/src/models/operations/reviewaction.ts +0 -258
|
@@ -158,6 +158,50 @@ export type StreamRunAgentMessage = {
|
|
|
158
158
|
metadata?: { [k: string]: any } | undefined;
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
163
|
+
*/
|
|
164
|
+
export type StreamRunAgentContact = {
|
|
165
|
+
/**
|
|
166
|
+
* Unique identifier for the contact
|
|
167
|
+
*/
|
|
168
|
+
id: string;
|
|
169
|
+
/**
|
|
170
|
+
* Display name of the contact
|
|
171
|
+
*/
|
|
172
|
+
displayName?: string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Email address of the contact
|
|
175
|
+
*/
|
|
176
|
+
email?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* A hash of key/value pairs containing any other data about the contact
|
|
179
|
+
*/
|
|
180
|
+
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* URL to the contact's avatar or logo
|
|
183
|
+
*/
|
|
184
|
+
logoUrl?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* A list of tags associated with the contact
|
|
187
|
+
*/
|
|
188
|
+
tags?: Array<string> | undefined;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Thread information to group related requests
|
|
193
|
+
*/
|
|
194
|
+
export type StreamRunAgentThread = {
|
|
195
|
+
/**
|
|
196
|
+
* Unique thread identifier to group related invocations.
|
|
197
|
+
*/
|
|
198
|
+
id: string;
|
|
199
|
+
/**
|
|
200
|
+
* Optional tags to differentiate or categorize threads
|
|
201
|
+
*/
|
|
202
|
+
tags?: Array<string> | undefined;
|
|
203
|
+
};
|
|
204
|
+
|
|
161
205
|
/**
|
|
162
206
|
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
163
207
|
*/
|
|
@@ -590,9 +634,13 @@ export type StreamRunAgentRequestBody = {
|
|
|
590
634
|
*/
|
|
591
635
|
variables?: { [k: string]: any } | undefined;
|
|
592
636
|
/**
|
|
593
|
-
*
|
|
637
|
+
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
594
638
|
*/
|
|
595
|
-
|
|
639
|
+
contact?: StreamRunAgentContact | undefined;
|
|
640
|
+
/**
|
|
641
|
+
* Thread information to group related requests
|
|
642
|
+
*/
|
|
643
|
+
thread?: StreamRunAgentThread | undefined;
|
|
596
644
|
/**
|
|
597
645
|
* Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
|
|
598
646
|
*/
|
|
@@ -605,10 +653,6 @@ export type StreamRunAgentRequestBody = {
|
|
|
605
653
|
* A brief summary of the agent's purpose.
|
|
606
654
|
*/
|
|
607
655
|
description?: string | undefined;
|
|
608
|
-
/**
|
|
609
|
-
* Optional URL to an icon for the agent
|
|
610
|
-
*/
|
|
611
|
-
iconUrl?: string | undefined;
|
|
612
656
|
/**
|
|
613
657
|
* A custom system prompt template for the agent. If omitted, the default template is used.
|
|
614
658
|
*/
|
|
@@ -1501,6 +1545,142 @@ export function streamRunAgentMessageFromJSON(
|
|
|
1501
1545
|
);
|
|
1502
1546
|
}
|
|
1503
1547
|
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export const StreamRunAgentContact$inboundSchema: z.ZodType<
|
|
1550
|
+
StreamRunAgentContact,
|
|
1551
|
+
z.ZodTypeDef,
|
|
1552
|
+
unknown
|
|
1553
|
+
> = z.object({
|
|
1554
|
+
id: z.string(),
|
|
1555
|
+
display_name: z.string().optional(),
|
|
1556
|
+
email: z.string().optional(),
|
|
1557
|
+
metadata: z.array(z.record(z.any())).optional(),
|
|
1558
|
+
logo_url: z.string().optional(),
|
|
1559
|
+
tags: z.array(z.string()).optional(),
|
|
1560
|
+
}).transform((v) => {
|
|
1561
|
+
return remap$(v, {
|
|
1562
|
+
"display_name": "displayName",
|
|
1563
|
+
"logo_url": "logoUrl",
|
|
1564
|
+
});
|
|
1565
|
+
});
|
|
1566
|
+
|
|
1567
|
+
/** @internal */
|
|
1568
|
+
export type StreamRunAgentContact$Outbound = {
|
|
1569
|
+
id: string;
|
|
1570
|
+
display_name?: string | undefined;
|
|
1571
|
+
email?: string | undefined;
|
|
1572
|
+
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
1573
|
+
logo_url?: string | undefined;
|
|
1574
|
+
tags?: Array<string> | undefined;
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
/** @internal */
|
|
1578
|
+
export const StreamRunAgentContact$outboundSchema: z.ZodType<
|
|
1579
|
+
StreamRunAgentContact$Outbound,
|
|
1580
|
+
z.ZodTypeDef,
|
|
1581
|
+
StreamRunAgentContact
|
|
1582
|
+
> = z.object({
|
|
1583
|
+
id: z.string(),
|
|
1584
|
+
displayName: z.string().optional(),
|
|
1585
|
+
email: z.string().optional(),
|
|
1586
|
+
metadata: z.array(z.record(z.any())).optional(),
|
|
1587
|
+
logoUrl: z.string().optional(),
|
|
1588
|
+
tags: z.array(z.string()).optional(),
|
|
1589
|
+
}).transform((v) => {
|
|
1590
|
+
return remap$(v, {
|
|
1591
|
+
displayName: "display_name",
|
|
1592
|
+
logoUrl: "logo_url",
|
|
1593
|
+
});
|
|
1594
|
+
});
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* @internal
|
|
1598
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1599
|
+
*/
|
|
1600
|
+
export namespace StreamRunAgentContact$ {
|
|
1601
|
+
/** @deprecated use `StreamRunAgentContact$inboundSchema` instead. */
|
|
1602
|
+
export const inboundSchema = StreamRunAgentContact$inboundSchema;
|
|
1603
|
+
/** @deprecated use `StreamRunAgentContact$outboundSchema` instead. */
|
|
1604
|
+
export const outboundSchema = StreamRunAgentContact$outboundSchema;
|
|
1605
|
+
/** @deprecated use `StreamRunAgentContact$Outbound` instead. */
|
|
1606
|
+
export type Outbound = StreamRunAgentContact$Outbound;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export function streamRunAgentContactToJSON(
|
|
1610
|
+
streamRunAgentContact: StreamRunAgentContact,
|
|
1611
|
+
): string {
|
|
1612
|
+
return JSON.stringify(
|
|
1613
|
+
StreamRunAgentContact$outboundSchema.parse(streamRunAgentContact),
|
|
1614
|
+
);
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export function streamRunAgentContactFromJSON(
|
|
1618
|
+
jsonString: string,
|
|
1619
|
+
): SafeParseResult<StreamRunAgentContact, SDKValidationError> {
|
|
1620
|
+
return safeParse(
|
|
1621
|
+
jsonString,
|
|
1622
|
+
(x) => StreamRunAgentContact$inboundSchema.parse(JSON.parse(x)),
|
|
1623
|
+
`Failed to parse 'StreamRunAgentContact' from JSON`,
|
|
1624
|
+
);
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** @internal */
|
|
1628
|
+
export const StreamRunAgentThread$inboundSchema: z.ZodType<
|
|
1629
|
+
StreamRunAgentThread,
|
|
1630
|
+
z.ZodTypeDef,
|
|
1631
|
+
unknown
|
|
1632
|
+
> = z.object({
|
|
1633
|
+
id: z.string(),
|
|
1634
|
+
tags: z.array(z.string()).optional(),
|
|
1635
|
+
});
|
|
1636
|
+
|
|
1637
|
+
/** @internal */
|
|
1638
|
+
export type StreamRunAgentThread$Outbound = {
|
|
1639
|
+
id: string;
|
|
1640
|
+
tags?: Array<string> | undefined;
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
/** @internal */
|
|
1644
|
+
export const StreamRunAgentThread$outboundSchema: z.ZodType<
|
|
1645
|
+
StreamRunAgentThread$Outbound,
|
|
1646
|
+
z.ZodTypeDef,
|
|
1647
|
+
StreamRunAgentThread
|
|
1648
|
+
> = z.object({
|
|
1649
|
+
id: z.string(),
|
|
1650
|
+
tags: z.array(z.string()).optional(),
|
|
1651
|
+
});
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* @internal
|
|
1655
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1656
|
+
*/
|
|
1657
|
+
export namespace StreamRunAgentThread$ {
|
|
1658
|
+
/** @deprecated use `StreamRunAgentThread$inboundSchema` instead. */
|
|
1659
|
+
export const inboundSchema = StreamRunAgentThread$inboundSchema;
|
|
1660
|
+
/** @deprecated use `StreamRunAgentThread$outboundSchema` instead. */
|
|
1661
|
+
export const outboundSchema = StreamRunAgentThread$outboundSchema;
|
|
1662
|
+
/** @deprecated use `StreamRunAgentThread$Outbound` instead. */
|
|
1663
|
+
export type Outbound = StreamRunAgentThread$Outbound;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
export function streamRunAgentThreadToJSON(
|
|
1667
|
+
streamRunAgentThread: StreamRunAgentThread,
|
|
1668
|
+
): string {
|
|
1669
|
+
return JSON.stringify(
|
|
1670
|
+
StreamRunAgentThread$outboundSchema.parse(streamRunAgentThread),
|
|
1671
|
+
);
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
export function streamRunAgentThreadFromJSON(
|
|
1675
|
+
jsonString: string,
|
|
1676
|
+
): SafeParseResult<StreamRunAgentThread, SDKValidationError> {
|
|
1677
|
+
return safeParse(
|
|
1678
|
+
jsonString,
|
|
1679
|
+
(x) => StreamRunAgentThread$inboundSchema.parse(JSON.parse(x)),
|
|
1680
|
+
`Failed to parse 'StreamRunAgentThread' from JSON`,
|
|
1681
|
+
);
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1504
1684
|
/** @internal */
|
|
1505
1685
|
export const StreamRunAgentMemory$inboundSchema: z.ZodType<
|
|
1506
1686
|
StreamRunAgentMemory,
|
|
@@ -2404,7 +2584,7 @@ export function toolsHttpFromJSON(
|
|
|
2404
2584
|
/** @internal */
|
|
2405
2585
|
export const Tools12$inboundSchema: z.ZodType<Tools12, z.ZodTypeDef, unknown> =
|
|
2406
2586
|
z.object({
|
|
2407
|
-
_id: z.string().default("
|
|
2587
|
+
_id: z.string().default("01K5RWRYMHES6MPJH5HNX0Y052"),
|
|
2408
2588
|
path: z.string(),
|
|
2409
2589
|
key: z.string(),
|
|
2410
2590
|
display_name: z.string(),
|
|
@@ -2444,7 +2624,7 @@ export const Tools12$outboundSchema: z.ZodType<
|
|
|
2444
2624
|
z.ZodTypeDef,
|
|
2445
2625
|
Tools12
|
|
2446
2626
|
> = z.object({
|
|
2447
|
-
id: z.string().default("
|
|
2627
|
+
id: z.string().default("01K5RWRYMHES6MPJH5HNX0Y052"),
|
|
2448
2628
|
path: z.string(),
|
|
2449
2629
|
key: z.string(),
|
|
2450
2630
|
displayName: z.string(),
|
|
@@ -3684,11 +3864,11 @@ export const StreamRunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
3684
3864
|
instructions: z.string(),
|
|
3685
3865
|
message: z.lazy(() => StreamRunAgentMessage$inboundSchema),
|
|
3686
3866
|
variables: z.record(z.any()).optional(),
|
|
3687
|
-
|
|
3867
|
+
contact: z.lazy(() => StreamRunAgentContact$inboundSchema).optional(),
|
|
3868
|
+
thread: z.lazy(() => StreamRunAgentThread$inboundSchema).optional(),
|
|
3688
3869
|
memory: z.lazy(() => StreamRunAgentMemory$inboundSchema).optional(),
|
|
3689
3870
|
path: z.string(),
|
|
3690
3871
|
description: z.string().optional(),
|
|
3691
|
-
iconUrl: z.string().optional(),
|
|
3692
3872
|
system_prompt: z.string().optional(),
|
|
3693
3873
|
memory_stores: z.array(z.string()).optional(),
|
|
3694
3874
|
knowledge_bases: z.array(
|
|
@@ -3720,11 +3900,11 @@ export type StreamRunAgentRequestBody$Outbound = {
|
|
|
3720
3900
|
instructions: string;
|
|
3721
3901
|
message: StreamRunAgentMessage$Outbound;
|
|
3722
3902
|
variables?: { [k: string]: any } | undefined;
|
|
3723
|
-
|
|
3903
|
+
contact?: StreamRunAgentContact$Outbound | undefined;
|
|
3904
|
+
thread?: StreamRunAgentThread$Outbound | undefined;
|
|
3724
3905
|
memory?: StreamRunAgentMemory$Outbound | undefined;
|
|
3725
3906
|
path: string;
|
|
3726
3907
|
description?: string | undefined;
|
|
3727
|
-
iconUrl?: string | undefined;
|
|
3728
3908
|
system_prompt?: string | undefined;
|
|
3729
3909
|
memory_stores?: Array<string> | undefined;
|
|
3730
3910
|
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
@@ -3747,11 +3927,11 @@ export const StreamRunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
3747
3927
|
instructions: z.string(),
|
|
3748
3928
|
message: z.lazy(() => StreamRunAgentMessage$outboundSchema),
|
|
3749
3929
|
variables: z.record(z.any()).optional(),
|
|
3750
|
-
|
|
3930
|
+
contact: z.lazy(() => StreamRunAgentContact$outboundSchema).optional(),
|
|
3931
|
+
thread: z.lazy(() => StreamRunAgentThread$outboundSchema).optional(),
|
|
3751
3932
|
memory: z.lazy(() => StreamRunAgentMemory$outboundSchema).optional(),
|
|
3752
3933
|
path: z.string(),
|
|
3753
3934
|
description: z.string().optional(),
|
|
3754
|
-
iconUrl: z.string().optional(),
|
|
3755
3935
|
systemPrompt: z.string().optional(),
|
|
3756
3936
|
memoryStores: z.array(z.string()).optional(),
|
|
3757
3937
|
knowledgeBases: z.array(
|
|
@@ -538,7 +538,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
538
538
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
539
539
|
.optional(),
|
|
540
540
|
updated: z.string().datetime({ offset: true }).default(
|
|
541
|
-
"2025-09-
|
|
541
|
+
"2025-09-22T14:20:40.492Z",
|
|
542
542
|
).transform(v => new Date(v)),
|
|
543
543
|
}).transform((v) => {
|
|
544
544
|
return remap$(v, {
|
|
@@ -573,7 +573,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
573
573
|
isActive: z.boolean(),
|
|
574
574
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
575
575
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
576
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
576
|
+
updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
|
|
577
577
|
.transform(v => v.toISOString()),
|
|
578
578
|
}).transform((v) => {
|
|
579
579
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-09-
|
|
247
|
+
"2025-09-22T14:20:40.492Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -6018,7 +6018,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6018
6018
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6019
6019
|
.optional(),
|
|
6020
6020
|
updated: z.string().datetime({ offset: true }).default(
|
|
6021
|
-
"2025-09-
|
|
6021
|
+
"2025-09-22T14:20:40.492Z",
|
|
6022
6022
|
).transform(v => new Date(v)),
|
|
6023
6023
|
}).transform((v) => {
|
|
6024
6024
|
return remap$(v, {
|
|
@@ -6080,7 +6080,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6080
6080
|
createdById: z.string().optional(),
|
|
6081
6081
|
updatedById: z.string().optional(),
|
|
6082
6082
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6083
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6083
|
+
updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
|
|
6084
6084
|
.transform(v => v.toISOString()),
|
|
6085
6085
|
}).transform((v) => {
|
|
6086
6086
|
return remap$(v, {
|
|
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2025-09-
|
|
305
|
+
"2025-09-22T14:20:40.492Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
347
347
|
parentId: z.string().optional(),
|
|
348
348
|
version: z.string().optional(),
|
|
349
349
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
350
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
350
|
+
updated: z.date().default(() => new Date("2025-09-22T14:20:40.492Z"))
|
|
351
351
|
.transform(v => v.toISOString()),
|
|
352
352
|
}).transform((v) => {
|
|
353
353
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K5RWRYRD0DPR2Y26BAZ94GWV"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K5RWRYRD0DPR2Y26BAZ94GWV"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -3484,8 +3484,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3484
3484
|
> = z.object({
|
|
3485
3485
|
_id: z.string(),
|
|
3486
3486
|
description: z.string(),
|
|
3487
|
-
created: z.string().default("2025-09-
|
|
3488
|
-
updated: z.string().default("2025-09-
|
|
3487
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3488
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3489
3489
|
guardrail_config: z.union([
|
|
3490
3490
|
z.lazy(() =>
|
|
3491
3491
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3528,8 +3528,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3528
3528
|
> = z.object({
|
|
3529
3529
|
id: z.string(),
|
|
3530
3530
|
description: z.string(),
|
|
3531
|
-
created: z.string().default("2025-09-
|
|
3532
|
-
updated: z.string().default("2025-09-
|
|
3531
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3532
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3533
3533
|
guardrailConfig: z.union([
|
|
3534
3534
|
z.lazy(() =>
|
|
3535
3535
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3955,8 +3955,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
3955
3955
|
> = z.object({
|
|
3956
3956
|
_id: z.string(),
|
|
3957
3957
|
description: z.string(),
|
|
3958
|
-
created: z.string().default("2025-09-
|
|
3959
|
-
updated: z.string().default("2025-09-
|
|
3958
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
3959
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
3960
3960
|
guardrail_config: z.union([
|
|
3961
3961
|
z.lazy(() =>
|
|
3962
3962
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4002,8 +4002,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4002
4002
|
> = z.object({
|
|
4003
4003
|
id: z.string(),
|
|
4004
4004
|
description: z.string(),
|
|
4005
|
-
created: z.string().default("2025-09-
|
|
4006
|
-
updated: z.string().default("2025-09-
|
|
4005
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
4006
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
4007
4007
|
guardrailConfig: z.union([
|
|
4008
4008
|
z.lazy(() =>
|
|
4009
4009
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7510,8 +7510,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7510
7510
|
> = z.object({
|
|
7511
7511
|
_id: z.string(),
|
|
7512
7512
|
description: z.string(),
|
|
7513
|
-
created: z.string().default("2025-09-
|
|
7514
|
-
updated: z.string().default("2025-09-
|
|
7513
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
7514
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
7515
7515
|
guardrail_config: z.union([
|
|
7516
7516
|
z.lazy(() =>
|
|
7517
7517
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7625,8 +7625,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7625
7625
|
> = z.object({
|
|
7626
7626
|
id: z.string(),
|
|
7627
7627
|
description: z.string(),
|
|
7628
|
-
created: z.string().default("2025-09-
|
|
7629
|
-
updated: z.string().default("2025-09-
|
|
7628
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
7629
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
7630
7630
|
guardrailConfig: z.union([
|
|
7631
7631
|
z.lazy(() =>
|
|
7632
7632
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8068,8 +8068,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8068
8068
|
> = z.object({
|
|
8069
8069
|
_id: z.string(),
|
|
8070
8070
|
description: z.string(),
|
|
8071
|
-
created: z.string().default("2025-09-
|
|
8072
|
-
updated: z.string().default("2025-09-
|
|
8071
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8072
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8073
8073
|
guardrail_config: z.union([
|
|
8074
8074
|
z.lazy(() =>
|
|
8075
8075
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8111,8 +8111,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8111
8111
|
> = z.object({
|
|
8112
8112
|
id: z.string(),
|
|
8113
8113
|
description: z.string(),
|
|
8114
|
-
created: z.string().default("2025-09-
|
|
8115
|
-
updated: z.string().default("2025-09-
|
|
8114
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8115
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8116
8116
|
guardrailConfig: z.union([
|
|
8117
8117
|
z.lazy(() =>
|
|
8118
8118
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8533,8 +8533,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8533
8533
|
> = z.object({
|
|
8534
8534
|
_id: z.string(),
|
|
8535
8535
|
description: z.string(),
|
|
8536
|
-
created: z.string().default("2025-09-
|
|
8537
|
-
updated: z.string().default("2025-09-
|
|
8536
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8537
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8538
8538
|
guardrail_config: z.union([
|
|
8539
8539
|
z.lazy(() =>
|
|
8540
8540
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8582,8 +8582,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8582
8582
|
> = z.object({
|
|
8583
8583
|
id: z.string(),
|
|
8584
8584
|
description: z.string(),
|
|
8585
|
-
created: z.string().default("2025-09-
|
|
8586
|
-
updated: z.string().default("2025-09-
|
|
8585
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8586
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8587
8587
|
guardrailConfig: z.union([
|
|
8588
8588
|
z.lazy(() =>
|
|
8589
8589
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8973,8 +8973,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8973
8973
|
> = z.object({
|
|
8974
8974
|
_id: z.string(),
|
|
8975
8975
|
description: z.string(),
|
|
8976
|
-
created: z.string().default("2025-09-
|
|
8977
|
-
updated: z.string().default("2025-09-
|
|
8976
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
8977
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
8978
8978
|
guardrail_config: z.union([
|
|
8979
8979
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8980
8980
|
z.lazy(() =>
|
|
@@ -9014,8 +9014,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9014
9014
|
> = z.object({
|
|
9015
9015
|
id: z.string(),
|
|
9016
9016
|
description: z.string(),
|
|
9017
|
-
created: z.string().default("2025-09-
|
|
9018
|
-
updated: z.string().default("2025-09-
|
|
9017
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9018
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9019
9019
|
guardrailConfig: z.union([
|
|
9020
9020
|
z.lazy(() =>
|
|
9021
9021
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9373,8 +9373,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9373
9373
|
> = z.object({
|
|
9374
9374
|
_id: z.string(),
|
|
9375
9375
|
description: z.string(),
|
|
9376
|
-
created: z.string().default("2025-09-
|
|
9377
|
-
updated: z.string().default("2025-09-
|
|
9376
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9377
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9378
9378
|
guardrail_config: z.union([
|
|
9379
9379
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9380
9380
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9414,8 +9414,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9414
9414
|
> = z.object({
|
|
9415
9415
|
id: z.string(),
|
|
9416
9416
|
description: z.string(),
|
|
9417
|
-
created: z.string().default("2025-09-
|
|
9418
|
-
updated: z.string().default("2025-09-
|
|
9417
|
+
created: z.string().default("2025-09-22T14:20:43.147Z"),
|
|
9418
|
+
updated: z.string().default("2025-09-22T14:20:43.148Z"),
|
|
9419
9419
|
guardrailConfig: z.union([
|
|
9420
9420
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9421
9421
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -7,7 +7,6 @@ import { agentsListActions } from "../funcs/agentsListActions.js";
|
|
|
7
7
|
import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
|
|
8
8
|
import { agentsRetrieveAction } from "../funcs/agentsRetrieveAction.js";
|
|
9
9
|
import { agentsRetrieveTask } from "../funcs/agentsRetrieveTask.js";
|
|
10
|
-
import { agentsReviewAction } from "../funcs/agentsReviewAction.js";
|
|
11
10
|
import { agentsRun } from "../funcs/agentsRun.js";
|
|
12
11
|
import { agentsStreamRun } from "../funcs/agentsStreamRun.js";
|
|
13
12
|
import { EventStream } from "../lib/event-streams.js";
|
|
@@ -71,7 +70,7 @@ export class Agents extends ClientSDK {
|
|
|
71
70
|
* Run an agent
|
|
72
71
|
*
|
|
73
72
|
* @remarks
|
|
74
|
-
* Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
|
|
73
|
+
* Executes an agent with the provided configuration using A2A message format. If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The fallback model is configured at the agent level and will be used automatically if the primary model fails during execution.
|
|
75
74
|
*/
|
|
76
75
|
async run(
|
|
77
76
|
request?: operations.RunAgentRequestBody | undefined,
|
|
@@ -88,7 +87,7 @@ export class Agents extends ClientSDK {
|
|
|
88
87
|
* Run and stream agent execution
|
|
89
88
|
*
|
|
90
89
|
* @remarks
|
|
91
|
-
* Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
|
|
90
|
+
* Creates or updates an agent with the provided configuration, then streams execution events via Server-Sent Events (SSE). If the agent already exists with the same configuration, it will be reused. If the configuration differs, a new version is created. The stream will continue until the agent completes, errors, or reaches the configured timeout.
|
|
92
91
|
*/
|
|
93
92
|
async streamRun(
|
|
94
93
|
request?: operations.StreamRunAgentRequestBody | undefined,
|
|
@@ -128,21 +127,4 @@ export class Agents extends ClientSDK {
|
|
|
128
127
|
options,
|
|
129
128
|
));
|
|
130
129
|
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Review a tool execution
|
|
134
|
-
*
|
|
135
|
-
* @remarks
|
|
136
|
-
* Review a tool execution and approve, reject or mock it. This will trigger the next step in the agent execution.
|
|
137
|
-
*/
|
|
138
|
-
async reviewAction(
|
|
139
|
-
request: operations.ReviewActionRequest,
|
|
140
|
-
options?: RequestOptions,
|
|
141
|
-
): Promise<operations.ReviewActionResponseBody> {
|
|
142
|
-
return unwrapAsync(agentsReviewAction(
|
|
143
|
-
this,
|
|
144
|
-
request,
|
|
145
|
-
options,
|
|
146
|
-
));
|
|
147
|
-
}
|
|
148
130
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.12.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.12.
|
|
71
|
+
sdkVersion: "3.12.14",
|
|
72
|
+
genVersion: "2.709.0",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.12.14 2.709.0 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from "./getpromptversion.js";
|
|
|
48
48
|
export * from "./honoapierror.js";
|
|
49
49
|
export * from "./httpclienterrors.js";
|
|
50
50
|
export * from "./invokeeval.js";
|
|
51
|
+
export * from "./orqerror.js";
|
|
51
52
|
export * from "./responsevalidationerror.js";
|
|
52
53
|
export * from "./retrievecontact.js";
|
|
53
54
|
export * from "./sdkvalidationerror.js";
|
|
@@ -655,7 +655,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
655
655
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
656
656
|
.optional(),
|
|
657
657
|
updated: z.string().datetime({ offset: true }).default(
|
|
658
|
-
"2025-09-
|
|
658
|
+
"2025-09-22T21:25:50.768Z",
|
|
659
659
|
).transform(v => new Date(v)),
|
|
660
660
|
}).transform((v) => {
|
|
661
661
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-09-
|
|
185
|
+
"2025-09-22T21:25:50.768Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-09-22T21:25:50.768Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|