@orq-ai/node 3.13.4 → 3.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +202 -202
- package/bin/mcp-server.js.map +39 -39
- 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/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 +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.js +2 -2
- 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/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +96 -93
- package/packages/orq-rc/docs/sdks/agents/README.md +95 -20
- 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/agentsListTasks.ts +183 -0
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +3 -3
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +4 -2
- package/packages/orq-rc/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/errors/listagenttasks.ts +80 -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/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- 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 +23 -15
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- 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 +1 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +1099 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- 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 +29 -22
- 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/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/agents.ts +25 -7
- 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/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 +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- 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/getagent.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +2 -2
- 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/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -3636,8 +3636,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3636
3636
|
> = z.object({
|
|
3637
3637
|
_id: z.string(),
|
|
3638
3638
|
description: z.string(),
|
|
3639
|
-
created: z.string().default("2025-10-
|
|
3640
|
-
updated: z.string().default("2025-10-
|
|
3639
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3640
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3641
3641
|
guardrail_config: z.union([
|
|
3642
3642
|
z.lazy(() =>
|
|
3643
3643
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-10-
|
|
3684
|
-
updated: z.string().default("2025-10-
|
|
3683
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3684
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3685
3685
|
guardrailConfig: z.union([
|
|
3686
3686
|
z.lazy(() =>
|
|
3687
3687
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -4107,8 +4107,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
4107
4107
|
> = z.object({
|
|
4108
4108
|
_id: z.string(),
|
|
4109
4109
|
description: z.string(),
|
|
4110
|
-
created: z.string().default("2025-10-
|
|
4111
|
-
updated: z.string().default("2025-10-
|
|
4110
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
4111
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
4112
4112
|
guardrail_config: z.union([
|
|
4113
4113
|
z.lazy(() =>
|
|
4114
4114
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4154,8 +4154,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4154
4154
|
> = z.object({
|
|
4155
4155
|
id: z.string(),
|
|
4156
4156
|
description: z.string(),
|
|
4157
|
-
created: z.string().default("2025-10-
|
|
4158
|
-
updated: z.string().default("2025-10-
|
|
4157
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
4158
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
4159
4159
|
guardrailConfig: z.union([
|
|
4160
4160
|
z.lazy(() =>
|
|
4161
4161
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7662,8 +7662,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7662
7662
|
> = z.object({
|
|
7663
7663
|
_id: z.string(),
|
|
7664
7664
|
description: z.string(),
|
|
7665
|
-
created: z.string().default("2025-10-
|
|
7666
|
-
updated: z.string().default("2025-10-
|
|
7665
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7666
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7667
7667
|
guardrail_config: z.union([
|
|
7668
7668
|
z.lazy(() =>
|
|
7669
7669
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7777,8 +7777,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7777
7777
|
> = z.object({
|
|
7778
7778
|
id: z.string(),
|
|
7779
7779
|
description: z.string(),
|
|
7780
|
-
created: z.string().default("2025-10-
|
|
7781
|
-
updated: z.string().default("2025-10-
|
|
7780
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7781
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7782
7782
|
guardrailConfig: z.union([
|
|
7783
7783
|
z.lazy(() =>
|
|
7784
7784
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8220,8 +8220,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8220
8220
|
> = z.object({
|
|
8221
8221
|
_id: z.string(),
|
|
8222
8222
|
description: z.string(),
|
|
8223
|
-
created: z.string().default("2025-10-
|
|
8224
|
-
updated: z.string().default("2025-10-
|
|
8223
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8224
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8225
8225
|
guardrail_config: z.union([
|
|
8226
8226
|
z.lazy(() =>
|
|
8227
8227
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8263,8 +8263,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8263
8263
|
> = z.object({
|
|
8264
8264
|
id: z.string(),
|
|
8265
8265
|
description: z.string(),
|
|
8266
|
-
created: z.string().default("2025-10-
|
|
8267
|
-
updated: z.string().default("2025-10-
|
|
8266
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8267
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8268
8268
|
guardrailConfig: z.union([
|
|
8269
8269
|
z.lazy(() =>
|
|
8270
8270
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8685,8 +8685,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8685
8685
|
> = z.object({
|
|
8686
8686
|
_id: z.string(),
|
|
8687
8687
|
description: z.string(),
|
|
8688
|
-
created: z.string().default("2025-10-
|
|
8689
|
-
updated: z.string().default("2025-10-
|
|
8688
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8689
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8690
8690
|
guardrail_config: z.union([
|
|
8691
8691
|
z.lazy(() =>
|
|
8692
8692
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8734,8 +8734,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8734
8734
|
> = z.object({
|
|
8735
8735
|
id: z.string(),
|
|
8736
8736
|
description: z.string(),
|
|
8737
|
-
created: z.string().default("2025-10-
|
|
8738
|
-
updated: z.string().default("2025-10-
|
|
8737
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8738
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8739
8739
|
guardrailConfig: z.union([
|
|
8740
8740
|
z.lazy(() =>
|
|
8741
8741
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -9125,8 +9125,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
9125
9125
|
> = z.object({
|
|
9126
9126
|
_id: z.string(),
|
|
9127
9127
|
description: z.string(),
|
|
9128
|
-
created: z.string().default("2025-10-
|
|
9129
|
-
updated: z.string().default("2025-10-
|
|
9128
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9129
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9130
9130
|
guardrail_config: z.union([
|
|
9131
9131
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
9132
9132
|
z.lazy(() =>
|
|
@@ -9166,8 +9166,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9166
9166
|
> = z.object({
|
|
9167
9167
|
id: z.string(),
|
|
9168
9168
|
description: z.string(),
|
|
9169
|
-
created: z.string().default("2025-10-
|
|
9170
|
-
updated: z.string().default("2025-10-
|
|
9169
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9170
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9171
9171
|
guardrailConfig: z.union([
|
|
9172
9172
|
z.lazy(() =>
|
|
9173
9173
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9525,8 +9525,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9525
9525
|
> = z.object({
|
|
9526
9526
|
_id: z.string(),
|
|
9527
9527
|
description: z.string(),
|
|
9528
|
-
created: z.string().default("2025-10-
|
|
9529
|
-
updated: z.string().default("2025-10-
|
|
9528
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9529
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9530
9530
|
guardrail_config: z.union([
|
|
9531
9531
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9532
9532
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9566,8 +9566,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9566
9566
|
> = z.object({
|
|
9567
9567
|
id: z.string(),
|
|
9568
9568
|
description: z.string(),
|
|
9569
|
-
created: z.string().default("2025-10-
|
|
9570
|
-
updated: z.string().default("2025-10-
|
|
9569
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9570
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9571
9571
|
guardrailConfig: z.union([
|
|
9572
9572
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9573
9573
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -2691,7 +2691,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2691
2691
|
z.ZodTypeDef,
|
|
2692
2692
|
unknown
|
|
2693
2693
|
> = z.object({
|
|
2694
|
-
_id: z.string().default("
|
|
2694
|
+
_id: z.string().default("01K6N5KY417C1CDV6FHBGHVVK2"),
|
|
2695
2695
|
path: z.string(),
|
|
2696
2696
|
key: z.string(),
|
|
2697
2697
|
display_name: z.string(),
|
|
@@ -2746,7 +2746,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2746
2746
|
z.ZodTypeDef,
|
|
2747
2747
|
UpdateToolResponseBody5
|
|
2748
2748
|
> = z.object({
|
|
2749
|
-
id: z.string().default("
|
|
2749
|
+
id: z.string().default("01K6N5KY417C1CDV6FHBGHVVK2"),
|
|
2750
2750
|
path: z.string(),
|
|
2751
2751
|
key: z.string(),
|
|
2752
2752
|
displayName: z.string(),
|
|
@@ -3120,7 +3120,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3120
3120
|
z.ZodTypeDef,
|
|
3121
3121
|
unknown
|
|
3122
3122
|
> = z.object({
|
|
3123
|
-
_id: z.string().default("
|
|
3123
|
+
_id: z.string().default("01K6N5KY41MARFRZDSS6W6P5CN"),
|
|
3124
3124
|
path: z.string(),
|
|
3125
3125
|
key: z.string(),
|
|
3126
3126
|
display_name: z.string(),
|
|
@@ -3174,7 +3174,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3174
3174
|
z.ZodTypeDef,
|
|
3175
3175
|
UpdateToolResponseBody4
|
|
3176
3176
|
> = z.object({
|
|
3177
|
-
id: z.string().default("
|
|
3177
|
+
id: z.string().default("01K6N5KY41MARFRZDSS6W6P5CN"),
|
|
3178
3178
|
path: z.string(),
|
|
3179
3179
|
key: z.string(),
|
|
3180
3180
|
displayName: z.string(),
|
|
@@ -3592,7 +3592,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3592
3592
|
z.ZodTypeDef,
|
|
3593
3593
|
unknown
|
|
3594
3594
|
> = z.object({
|
|
3595
|
-
_id: z.string().default("
|
|
3595
|
+
_id: z.string().default("01K6N5KY40Q32XGK0HAR0BPDVF"),
|
|
3596
3596
|
path: z.string(),
|
|
3597
3597
|
key: z.string(),
|
|
3598
3598
|
display_name: z.string(),
|
|
@@ -3646,7 +3646,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3646
3646
|
z.ZodTypeDef,
|
|
3647
3647
|
UpdateToolResponseBody3
|
|
3648
3648
|
> = z.object({
|
|
3649
|
-
id: z.string().default("
|
|
3649
|
+
id: z.string().default("01K6N5KY40Q32XGK0HAR0BPDVF"),
|
|
3650
3650
|
path: z.string(),
|
|
3651
3651
|
key: z.string(),
|
|
3652
3652
|
displayName: z.string(),
|
|
@@ -3820,7 +3820,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3820
3820
|
z.ZodTypeDef,
|
|
3821
3821
|
unknown
|
|
3822
3822
|
> = z.object({
|
|
3823
|
-
_id: z.string().default("
|
|
3823
|
+
_id: z.string().default("01K6N5KY3ZV9KF371TQN0DPC9G"),
|
|
3824
3824
|
path: z.string(),
|
|
3825
3825
|
key: z.string(),
|
|
3826
3826
|
display_name: z.string(),
|
|
@@ -3873,7 +3873,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3873
3873
|
z.ZodTypeDef,
|
|
3874
3874
|
UpdateToolResponseBody2
|
|
3875
3875
|
> = z.object({
|
|
3876
|
-
id: z.string().default("
|
|
3876
|
+
id: z.string().default("01K6N5KY3ZV9KF371TQN0DPC9G"),
|
|
3877
3877
|
path: z.string(),
|
|
3878
3878
|
key: z.string(),
|
|
3879
3879
|
displayName: z.string(),
|
|
@@ -4045,7 +4045,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4045
4045
|
z.ZodTypeDef,
|
|
4046
4046
|
unknown
|
|
4047
4047
|
> = z.object({
|
|
4048
|
-
_id: z.string().default("
|
|
4048
|
+
_id: z.string().default("01K6N5KY3ZT1S32GHSQH4EJKBD"),
|
|
4049
4049
|
path: z.string(),
|
|
4050
4050
|
key: z.string(),
|
|
4051
4051
|
display_name: z.string(),
|
|
@@ -4097,7 +4097,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4097
4097
|
z.ZodTypeDef,
|
|
4098
4098
|
UpdateToolResponseBody1
|
|
4099
4099
|
> = z.object({
|
|
4100
|
-
id: z.string().default("
|
|
4100
|
+
id: z.string().default("01K6N5KY3ZT1S32GHSQH4EJKBD"),
|
|
4101
4101
|
path: z.string(),
|
|
4102
4102
|
key: z.string(),
|
|
4103
4103
|
displayName: z.string(),
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { agentsList } from "../funcs/agentsList.js";
|
|
6
6
|
import { agentsListActions } from "../funcs/agentsListActions.js";
|
|
7
|
+
import { agentsListTasks } from "../funcs/agentsListTasks.js";
|
|
7
8
|
import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
|
|
8
9
|
import { agentsRetrieveAction } from "../funcs/agentsRetrieveAction.js";
|
|
9
10
|
import { agentsRetrieveTask } from "../funcs/agentsRetrieveTask.js";
|
|
@@ -15,6 +16,23 @@ import * as operations from "../models/operations/index.js";
|
|
|
15
16
|
import { unwrapAsync } from "../types/fp.js";
|
|
16
17
|
|
|
17
18
|
export class Agents extends ClientSDK {
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a specific agent task
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Retrieves detailed information about a specific task for a given agent, including execution status and results.
|
|
24
|
+
*/
|
|
25
|
+
async retrieveTask(
|
|
26
|
+
request: operations.GetAgentTaskRequest,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<operations.GetAgentTaskResponseBody> {
|
|
29
|
+
return unwrapAsync(agentsRetrieveTask(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
18
36
|
/**
|
|
19
37
|
* List all agents
|
|
20
38
|
*
|
|
@@ -36,7 +54,7 @@ export class Agents extends ClientSDK {
|
|
|
36
54
|
* Get an agent
|
|
37
55
|
*
|
|
38
56
|
* @remarks
|
|
39
|
-
* Retrieves a single agent by
|
|
57
|
+
* Retrieves a single agent by its unique key, including its full configuration with primary and fallback model settings.
|
|
40
58
|
*/
|
|
41
59
|
async retrieve(
|
|
42
60
|
request: operations.GetAgentRequest,
|
|
@@ -50,16 +68,16 @@ export class Agents extends ClientSDK {
|
|
|
50
68
|
}
|
|
51
69
|
|
|
52
70
|
/**
|
|
53
|
-
*
|
|
71
|
+
* List all tasks for an agent
|
|
54
72
|
*
|
|
55
73
|
* @remarks
|
|
56
|
-
* Retrieves
|
|
74
|
+
* Retrieves a paginated list of all tasks associated with a specific agent, optionally filtered by status.
|
|
57
75
|
*/
|
|
58
|
-
async
|
|
59
|
-
request: operations.
|
|
76
|
+
async listTasks(
|
|
77
|
+
request: operations.ListAgentTasksRequest,
|
|
60
78
|
options?: RequestOptions,
|
|
61
|
-
): Promise<operations.
|
|
62
|
-
return unwrapAsync(
|
|
79
|
+
): Promise<operations.ListAgentTasksResponseBody> {
|
|
80
|
+
return unwrapAsync(agentsListTasks(
|
|
63
81
|
this,
|
|
64
82
|
request,
|
|
65
83
|
options,
|
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.13.
|
|
72
|
-
genVersion: "2.721.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.13.
|
|
71
|
+
sdkVersion: "3.13.5",
|
|
72
|
+
genVersion: "2.721.3",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.13.5 2.721.3 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
658
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
659
659
|
.optional(),
|
|
660
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
661
|
-
"2025-10-
|
|
661
|
+
"2025-10-05T17:14:24.663Z",
|
|
662
662
|
).transform(v => new Date(v)),
|
|
663
663
|
}).transform((v) => {
|
|
664
664
|
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-10-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-10-05T17:14:24.663Z"))
|
|
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-10-
|
|
185
|
+
"2025-10-05T17:14:24.663Z",
|
|
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-10-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-10-05T17:14:24.663Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-10-
|
|
214
|
+
"2025-10-05T17:14:24.663Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-10-05T17:14:24.663Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6083,7 +6083,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6083
6083
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6084
6084
|
.optional(),
|
|
6085
6085
|
updated: z.string().datetime({ offset: true }).default(
|
|
6086
|
-
"2025-10-
|
|
6086
|
+
"2025-10-05T17:14:24.663Z",
|
|
6087
6087
|
).transform(v => new Date(v)),
|
|
6088
6088
|
}).transform((v) => {
|
|
6089
6089
|
return remap$(v, {
|
|
@@ -6147,7 +6147,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6147
6147
|
createdById: z.string().optional(),
|
|
6148
6148
|
updatedById: z.string().optional(),
|
|
6149
6149
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6150
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6150
|
+
updated: z.date().default(() => new Date("2025-10-05T17:14:24.663Z"))
|
|
6151
6151
|
.transform(v => v.toISOString()),
|
|
6152
6152
|
}).transform((v) => {
|
|
6153
6153
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K6TNWDA6ARQJKCC4EQ521FCM"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K6TNWDA6ARQJKCC4EQ521FCM"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -3347,8 +3347,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3347
3347
|
> = z.object({
|
|
3348
3348
|
_id: z.string(),
|
|
3349
3349
|
description: z.string(),
|
|
3350
|
-
created: z.string().default("2025-10-
|
|
3351
|
-
updated: z.string().default("2025-10-
|
|
3350
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3351
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3352
3352
|
guardrail_config: z.union([
|
|
3353
3353
|
z.lazy(() =>
|
|
3354
3354
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3391,8 +3391,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3391
3391
|
> = z.object({
|
|
3392
3392
|
id: z.string(),
|
|
3393
3393
|
description: z.string(),
|
|
3394
|
-
created: z.string().default("2025-10-
|
|
3395
|
-
updated: z.string().default("2025-10-
|
|
3394
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3395
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3396
3396
|
guardrailConfig: z.union([
|
|
3397
3397
|
z.lazy(() =>
|
|
3398
3398
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3809,8 +3809,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3809
3809
|
.object({
|
|
3810
3810
|
_id: z.string(),
|
|
3811
3811
|
description: z.string(),
|
|
3812
|
-
created: z.string().default("2025-10-
|
|
3813
|
-
updated: z.string().default("2025-10-
|
|
3812
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3813
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3814
3814
|
guardrail_config: z.union([
|
|
3815
3815
|
z.lazy(() =>
|
|
3816
3816
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3856,8 +3856,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3856
3856
|
> = z.object({
|
|
3857
3857
|
id: z.string(),
|
|
3858
3858
|
description: z.string(),
|
|
3859
|
-
created: z.string().default("2025-10-
|
|
3860
|
-
updated: z.string().default("2025-10-
|
|
3859
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3860
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
3861
3861
|
guardrailConfig: z.union([
|
|
3862
3862
|
z.lazy(() =>
|
|
3863
3863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7281,8 +7281,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7281
7281
|
> = z.object({
|
|
7282
7282
|
_id: z.string(),
|
|
7283
7283
|
description: z.string(),
|
|
7284
|
-
created: z.string().default("2025-10-
|
|
7285
|
-
updated: z.string().default("2025-10-
|
|
7284
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7285
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7286
7286
|
guardrail_config: z.union([
|
|
7287
7287
|
z.lazy(() =>
|
|
7288
7288
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7396,8 +7396,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7396
7396
|
> = z.object({
|
|
7397
7397
|
id: z.string(),
|
|
7398
7398
|
description: z.string(),
|
|
7399
|
-
created: z.string().default("2025-10-
|
|
7400
|
-
updated: z.string().default("2025-10-
|
|
7399
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7400
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7401
7401
|
guardrailConfig: z.union([
|
|
7402
7402
|
z.lazy(() =>
|
|
7403
7403
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7836,8 +7836,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7836
7836
|
> = z.object({
|
|
7837
7837
|
_id: z.string(),
|
|
7838
7838
|
description: z.string(),
|
|
7839
|
-
created: z.string().default("2025-10-
|
|
7840
|
-
updated: z.string().default("2025-10-
|
|
7839
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7840
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7841
7841
|
guardrail_config: z.union([
|
|
7842
7842
|
z.lazy(() =>
|
|
7843
7843
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7879,8 +7879,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7879
7879
|
> = z.object({
|
|
7880
7880
|
id: z.string(),
|
|
7881
7881
|
description: z.string(),
|
|
7882
|
-
created: z.string().default("2025-10-
|
|
7883
|
-
updated: z.string().default("2025-10-
|
|
7882
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7883
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
7884
7884
|
guardrailConfig: z.union([
|
|
7885
7885
|
z.lazy(() =>
|
|
7886
7886
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8293,8 +8293,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8293
8293
|
> = z.object({
|
|
8294
8294
|
_id: z.string(),
|
|
8295
8295
|
description: z.string(),
|
|
8296
|
-
created: z.string().default("2025-10-
|
|
8297
|
-
updated: z.string().default("2025-10-
|
|
8296
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8297
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8298
8298
|
guardrail_config: z.union([
|
|
8299
8299
|
z.lazy(() =>
|
|
8300
8300
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8342,8 +8342,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8342
8342
|
> = z.object({
|
|
8343
8343
|
id: z.string(),
|
|
8344
8344
|
description: z.string(),
|
|
8345
|
-
created: z.string().default("2025-10-
|
|
8346
|
-
updated: z.string().default("2025-10-
|
|
8345
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8346
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8347
8347
|
guardrailConfig: z.union([
|
|
8348
8348
|
z.lazy(() =>
|
|
8349
8349
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8720,8 +8720,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8720
8720
|
> = z.object({
|
|
8721
8721
|
_id: z.string(),
|
|
8722
8722
|
description: z.string(),
|
|
8723
|
-
created: z.string().default("2025-10-
|
|
8724
|
-
updated: z.string().default("2025-10-
|
|
8723
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8724
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8725
8725
|
guardrail_config: z.union([
|
|
8726
8726
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8727
8727
|
z.lazy(() =>
|
|
@@ -8761,8 +8761,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8761
8761
|
> = z.object({
|
|
8762
8762
|
id: z.string(),
|
|
8763
8763
|
description: z.string(),
|
|
8764
|
-
created: z.string().default("2025-10-
|
|
8765
|
-
updated: z.string().default("2025-10-
|
|
8764
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8765
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
8766
8766
|
guardrailConfig: z.union([
|
|
8767
8767
|
z.lazy(() =>
|
|
8768
8768
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9117,8 +9117,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9117
9117
|
> = z.object({
|
|
9118
9118
|
_id: z.string(),
|
|
9119
9119
|
description: z.string(),
|
|
9120
|
-
created: z.string().default("2025-10-
|
|
9121
|
-
updated: z.string().default("2025-10-
|
|
9120
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
9121
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
9122
9122
|
guardrail_config: z.union([
|
|
9123
9123
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9124
9124
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9158,8 +9158,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9158
9158
|
> = z.object({
|
|
9159
9159
|
id: z.string(),
|
|
9160
9160
|
description: z.string(),
|
|
9161
|
-
created: z.string().default("2025-10-
|
|
9162
|
-
updated: z.string().default("2025-10-
|
|
9161
|
+
created: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
9162
|
+
updated: z.string().default("2025-10-05T17:14:27.148Z"),
|
|
9163
9163
|
guardrailConfig: z.union([
|
|
9164
9164
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9165
9165
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|