@orq-ai/node 3.13.3 → 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 +216 -246
- package/bin/mcp-server.js.map +42 -42
- package/docs/sdks/agents/README.md +3 -3
- package/examples/package-lock.json +1 -1
- package/funcs/agentsRetrieveTask.js +2 -2
- package/funcs/agentsRetrieveTask.js.map +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.d.ts +5 -2
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -12
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +2 -2
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +4 -2
- package/models/operations/getagenttask.js.map +1 -1
- 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.d.ts +5 -2
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -12
- package/models/operations/listagents.js.map +1 -1
- 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.d.ts +5 -2
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +4 -12
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +5 -2
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -12
- package/models/operations/streamrunagent.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 +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +102 -93
- package/packages/orq-rc/docs/sdks/agents/README.md +97 -22
- package/packages/orq-rc/docs/sdks/knowledge/README.md +228 -0
- package/packages/orq-rc/docs/sdks/tools/README.md +14 -16
- 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/funcs/agentsRetrieveTask.ts +2 -2
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +171 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +2 -2
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +3 -3
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +3 -3
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +2 -2
- 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 +10 -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/mcp-server/tools/knowledgeDeleteChunks.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/knowledgeGetChunksCount.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunksPaginated.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.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/createprompt.ts +8 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -22
- package/packages/orq-rc/src/models/operations/deletechunks.ts +243 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +4 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +23 -15
- 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 +30 -27
- package/packages/orq-rc/src/models/operations/getagenttask.ts +6 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +4 -0
- 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/getchunkscount.ts +230 -0
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +4 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +4 -0
- package/packages/orq-rc/src/models/operations/index.ts +4 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +17 -22
- 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/listchunkspaginated.ts +507 -0
- 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/listpromptversions.ts +4 -0
- 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 +16 -16
- package/packages/orq-rc/src/models/operations/runagent.ts +7 -18
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +7 -18
- 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/updateprompt.ts +8 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +44 -28
- package/packages/orq-rc/src/sdk/agents.ts +25 -7
- package/packages/orq-rc/src/sdk/knowledge.ts +45 -0
- package/packages/orq-rc/src/sdk/tools.ts +2 -2
- package/src/funcs/agentsRetrieveTask.ts +2 -2
- 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 +9 -14
- package/src/models/operations/getagenttask.ts +6 -4
- 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 +9 -14
- 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 +9 -14
- package/src/models/operations/streamrunagent.ts +9 -14
- 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),
|
|
@@ -83,6 +83,7 @@ export type UpdatePrompt1Type = ClosedEnum<typeof UpdatePrompt1Type>;
|
|
|
83
83
|
|
|
84
84
|
export type OneJsonSchema = {
|
|
85
85
|
name: string;
|
|
86
|
+
description?: string | undefined;
|
|
86
87
|
strict?: boolean | undefined;
|
|
87
88
|
schema: { [k: string]: any };
|
|
88
89
|
};
|
|
@@ -653,6 +654,7 @@ export type UpdatePrompt1PromptsResponseType = ClosedEnum<
|
|
|
653
654
|
|
|
654
655
|
export type UpdatePrompt1JsonSchema = {
|
|
655
656
|
name: string;
|
|
657
|
+
description?: string | undefined;
|
|
656
658
|
strict?: boolean | undefined;
|
|
657
659
|
schema: { [k: string]: any };
|
|
658
660
|
};
|
|
@@ -1382,6 +1384,7 @@ export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
|
1382
1384
|
unknown
|
|
1383
1385
|
> = z.object({
|
|
1384
1386
|
name: z.string(),
|
|
1387
|
+
description: z.string().optional(),
|
|
1385
1388
|
strict: z.boolean().optional(),
|
|
1386
1389
|
schema: z.record(z.any()),
|
|
1387
1390
|
});
|
|
@@ -1389,6 +1392,7 @@ export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
|
1389
1392
|
/** @internal */
|
|
1390
1393
|
export type OneJsonSchema$Outbound = {
|
|
1391
1394
|
name: string;
|
|
1395
|
+
description?: string | undefined;
|
|
1392
1396
|
strict?: boolean | undefined;
|
|
1393
1397
|
schema: { [k: string]: any };
|
|
1394
1398
|
};
|
|
@@ -1400,6 +1404,7 @@ export const OneJsonSchema$outboundSchema: z.ZodType<
|
|
|
1400
1404
|
OneJsonSchema
|
|
1401
1405
|
> = z.object({
|
|
1402
1406
|
name: z.string(),
|
|
1407
|
+
description: z.string().optional(),
|
|
1403
1408
|
strict: z.boolean().optional(),
|
|
1404
1409
|
schema: z.record(z.any()),
|
|
1405
1410
|
});
|
|
@@ -3304,6 +3309,7 @@ export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
|
3304
3309
|
unknown
|
|
3305
3310
|
> = z.object({
|
|
3306
3311
|
name: z.string(),
|
|
3312
|
+
description: z.string().optional(),
|
|
3307
3313
|
strict: z.boolean().optional(),
|
|
3308
3314
|
schema: z.record(z.any()),
|
|
3309
3315
|
});
|
|
@@ -3311,6 +3317,7 @@ export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
|
3311
3317
|
/** @internal */
|
|
3312
3318
|
export type UpdatePrompt1JsonSchema$Outbound = {
|
|
3313
3319
|
name: string;
|
|
3320
|
+
description?: string | undefined;
|
|
3314
3321
|
strict?: boolean | undefined;
|
|
3315
3322
|
schema: { [k: string]: any };
|
|
3316
3323
|
};
|
|
@@ -3322,6 +3329,7 @@ export const UpdatePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
|
3322
3329
|
UpdatePrompt1JsonSchema
|
|
3323
3330
|
> = z.object({
|
|
3324
3331
|
name: z.string(),
|
|
3332
|
+
description: z.string().optional(),
|
|
3325
3333
|
strict: z.boolean().optional(),
|
|
3326
3334
|
schema: z.record(z.any()),
|
|
3327
3335
|
});
|
|
@@ -162,6 +162,10 @@ export type UpdateToolRequestBody4 = {
|
|
|
162
162
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
163
163
|
*/
|
|
164
164
|
path?: string | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
167
|
+
*/
|
|
168
|
+
key?: string | undefined;
|
|
165
169
|
/**
|
|
166
170
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
167
171
|
*/
|
|
@@ -290,11 +294,14 @@ export type UpdateToolRequestBodyHttp = {
|
|
|
290
294
|
};
|
|
291
295
|
|
|
292
296
|
export type UpdateToolRequestBody3 = {
|
|
293
|
-
id?: string | undefined;
|
|
294
297
|
/**
|
|
295
298
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
296
299
|
*/
|
|
297
300
|
path?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
303
|
+
*/
|
|
304
|
+
key?: string | undefined;
|
|
298
305
|
/**
|
|
299
306
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
300
307
|
*/
|
|
@@ -354,11 +361,14 @@ export type UpdateToolRequestBodyJsonSchema = {
|
|
|
354
361
|
};
|
|
355
362
|
|
|
356
363
|
export type UpdateToolRequestBody2 = {
|
|
357
|
-
id?: string | undefined;
|
|
358
364
|
/**
|
|
359
365
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
360
366
|
*/
|
|
361
367
|
path?: string | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
370
|
+
*/
|
|
371
|
+
key?: string | undefined;
|
|
362
372
|
/**
|
|
363
373
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
364
374
|
*/
|
|
@@ -422,6 +432,10 @@ export type UpdateToolRequestBody1 = {
|
|
|
422
432
|
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
423
433
|
*/
|
|
424
434
|
path?: string | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
437
|
+
*/
|
|
438
|
+
key?: string | undefined;
|
|
425
439
|
/**
|
|
426
440
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
427
441
|
*/
|
|
@@ -449,7 +463,7 @@ export type UpdateToolRequestBody =
|
|
|
449
463
|
| UpdateToolRequestBody3;
|
|
450
464
|
|
|
451
465
|
export type UpdateToolRequest = {
|
|
452
|
-
|
|
466
|
+
toolId: string;
|
|
453
467
|
/**
|
|
454
468
|
* The tool to update
|
|
455
469
|
*/
|
|
@@ -1500,6 +1514,7 @@ export const UpdateToolRequestBody4$inboundSchema: z.ZodType<
|
|
|
1500
1514
|
unknown
|
|
1501
1515
|
> = z.object({
|
|
1502
1516
|
path: z.string().optional(),
|
|
1517
|
+
key: z.string().optional(),
|
|
1503
1518
|
display_name: z.string(),
|
|
1504
1519
|
description: z.string().optional(),
|
|
1505
1520
|
status: UpdateToolRequestBodyToolsRequest4Status$inboundSchema.default(
|
|
@@ -1516,6 +1531,7 @@ export const UpdateToolRequestBody4$inboundSchema: z.ZodType<
|
|
|
1516
1531
|
/** @internal */
|
|
1517
1532
|
export type UpdateToolRequestBody4$Outbound = {
|
|
1518
1533
|
path?: string | undefined;
|
|
1534
|
+
key?: string | undefined;
|
|
1519
1535
|
display_name: string;
|
|
1520
1536
|
description?: string | undefined;
|
|
1521
1537
|
status: string;
|
|
@@ -1530,6 +1546,7 @@ export const UpdateToolRequestBody4$outboundSchema: z.ZodType<
|
|
|
1530
1546
|
UpdateToolRequestBody4
|
|
1531
1547
|
> = z.object({
|
|
1532
1548
|
path: z.string().optional(),
|
|
1549
|
+
key: z.string().optional(),
|
|
1533
1550
|
displayName: z.string(),
|
|
1534
1551
|
description: z.string().optional(),
|
|
1535
1552
|
status: UpdateToolRequestBodyToolsRequest4Status$outboundSchema.default(
|
|
@@ -1929,8 +1946,8 @@ export const UpdateToolRequestBody3$inboundSchema: z.ZodType<
|
|
|
1929
1946
|
z.ZodTypeDef,
|
|
1930
1947
|
unknown
|
|
1931
1948
|
> = z.object({
|
|
1932
|
-
_id: z.string().default("01K6J0GC59QVAMCZZ2MBHY7CYJ"),
|
|
1933
1949
|
path: z.string().optional(),
|
|
1950
|
+
key: z.string().optional(),
|
|
1934
1951
|
display_name: z.string().optional(),
|
|
1935
1952
|
description: z.string().optional(),
|
|
1936
1953
|
status: UpdateToolRequestBodyToolsRequestStatus$inboundSchema.default("live"),
|
|
@@ -1938,15 +1955,14 @@ export const UpdateToolRequestBody3$inboundSchema: z.ZodType<
|
|
|
1938
1955
|
http: z.lazy(() => UpdateToolRequestBodyHttp$inboundSchema).optional(),
|
|
1939
1956
|
}).transform((v) => {
|
|
1940
1957
|
return remap$(v, {
|
|
1941
|
-
"_id": "id",
|
|
1942
1958
|
"display_name": "displayName",
|
|
1943
1959
|
});
|
|
1944
1960
|
});
|
|
1945
1961
|
|
|
1946
1962
|
/** @internal */
|
|
1947
1963
|
export type UpdateToolRequestBody3$Outbound = {
|
|
1948
|
-
_id: string;
|
|
1949
1964
|
path?: string | undefined;
|
|
1965
|
+
key?: string | undefined;
|
|
1950
1966
|
display_name?: string | undefined;
|
|
1951
1967
|
description?: string | undefined;
|
|
1952
1968
|
status: string;
|
|
@@ -1960,8 +1976,8 @@ export const UpdateToolRequestBody3$outboundSchema: z.ZodType<
|
|
|
1960
1976
|
z.ZodTypeDef,
|
|
1961
1977
|
UpdateToolRequestBody3
|
|
1962
1978
|
> = z.object({
|
|
1963
|
-
id: z.string().default("01K6J0GC59QVAMCZZ2MBHY7CYJ"),
|
|
1964
1979
|
path: z.string().optional(),
|
|
1980
|
+
key: z.string().optional(),
|
|
1965
1981
|
displayName: z.string().optional(),
|
|
1966
1982
|
description: z.string().optional(),
|
|
1967
1983
|
status: UpdateToolRequestBodyToolsRequestStatus$outboundSchema.default(
|
|
@@ -1971,7 +1987,6 @@ export const UpdateToolRequestBody3$outboundSchema: z.ZodType<
|
|
|
1971
1987
|
http: z.lazy(() => UpdateToolRequestBodyHttp$outboundSchema).optional(),
|
|
1972
1988
|
}).transform((v) => {
|
|
1973
1989
|
return remap$(v, {
|
|
1974
|
-
id: "_id",
|
|
1975
1990
|
displayName: "display_name",
|
|
1976
1991
|
});
|
|
1977
1992
|
});
|
|
@@ -2120,8 +2135,8 @@ export const UpdateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2120
2135
|
z.ZodTypeDef,
|
|
2121
2136
|
unknown
|
|
2122
2137
|
> = z.object({
|
|
2123
|
-
_id: z.string().default("01K6J0GC59R6X261KSFE5AB71N"),
|
|
2124
2138
|
path: z.string().optional(),
|
|
2139
|
+
key: z.string().optional(),
|
|
2125
2140
|
display_name: z.string().optional(),
|
|
2126
2141
|
description: z.string().optional(),
|
|
2127
2142
|
status: UpdateToolRequestBodyToolsStatus$inboundSchema.default("live"),
|
|
@@ -2130,7 +2145,6 @@ export const UpdateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2130
2145
|
.optional(),
|
|
2131
2146
|
}).transform((v) => {
|
|
2132
2147
|
return remap$(v, {
|
|
2133
|
-
"_id": "id",
|
|
2134
2148
|
"display_name": "displayName",
|
|
2135
2149
|
"json_schema": "jsonSchema",
|
|
2136
2150
|
});
|
|
@@ -2138,8 +2152,8 @@ export const UpdateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2138
2152
|
|
|
2139
2153
|
/** @internal */
|
|
2140
2154
|
export type UpdateToolRequestBody2$Outbound = {
|
|
2141
|
-
_id: string;
|
|
2142
2155
|
path?: string | undefined;
|
|
2156
|
+
key?: string | undefined;
|
|
2143
2157
|
display_name?: string | undefined;
|
|
2144
2158
|
description?: string | undefined;
|
|
2145
2159
|
status: string;
|
|
@@ -2153,8 +2167,8 @@ export const UpdateToolRequestBody2$outboundSchema: z.ZodType<
|
|
|
2153
2167
|
z.ZodTypeDef,
|
|
2154
2168
|
UpdateToolRequestBody2
|
|
2155
2169
|
> = z.object({
|
|
2156
|
-
id: z.string().default("01K6J0GC59R6X261KSFE5AB71N"),
|
|
2157
2170
|
path: z.string().optional(),
|
|
2171
|
+
key: z.string().optional(),
|
|
2158
2172
|
displayName: z.string().optional(),
|
|
2159
2173
|
description: z.string().optional(),
|
|
2160
2174
|
status: UpdateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
@@ -2163,7 +2177,6 @@ export const UpdateToolRequestBody2$outboundSchema: z.ZodType<
|
|
|
2163
2177
|
.optional(),
|
|
2164
2178
|
}).transform((v) => {
|
|
2165
2179
|
return remap$(v, {
|
|
2166
|
-
id: "_id",
|
|
2167
2180
|
displayName: "display_name",
|
|
2168
2181
|
jsonSchema: "json_schema",
|
|
2169
2182
|
});
|
|
@@ -2314,6 +2327,7 @@ export const UpdateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2314
2327
|
unknown
|
|
2315
2328
|
> = z.object({
|
|
2316
2329
|
path: z.string().optional(),
|
|
2330
|
+
key: z.string().optional(),
|
|
2317
2331
|
display_name: z.string().optional(),
|
|
2318
2332
|
description: z.string().optional(),
|
|
2319
2333
|
status: UpdateToolRequestBodyStatus$inboundSchema.default("live"),
|
|
@@ -2329,6 +2343,7 @@ export const UpdateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2329
2343
|
/** @internal */
|
|
2330
2344
|
export type UpdateToolRequestBody1$Outbound = {
|
|
2331
2345
|
path?: string | undefined;
|
|
2346
|
+
key?: string | undefined;
|
|
2332
2347
|
display_name?: string | undefined;
|
|
2333
2348
|
description?: string | undefined;
|
|
2334
2349
|
status: string;
|
|
@@ -2343,6 +2358,7 @@ export const UpdateToolRequestBody1$outboundSchema: z.ZodType<
|
|
|
2343
2358
|
UpdateToolRequestBody1
|
|
2344
2359
|
> = z.object({
|
|
2345
2360
|
path: z.string().optional(),
|
|
2361
|
+
key: z.string().optional(),
|
|
2346
2362
|
displayName: z.string().optional(),
|
|
2347
2363
|
description: z.string().optional(),
|
|
2348
2364
|
status: UpdateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
@@ -2457,7 +2473,7 @@ export const UpdateToolRequest$inboundSchema: z.ZodType<
|
|
|
2457
2473
|
z.ZodTypeDef,
|
|
2458
2474
|
unknown
|
|
2459
2475
|
> = z.object({
|
|
2460
|
-
|
|
2476
|
+
tool_id: z.string(),
|
|
2461
2477
|
RequestBody: z.union([
|
|
2462
2478
|
z.lazy(() => UpdateToolRequestBody4$inboundSchema),
|
|
2463
2479
|
z.lazy(() => UpdateToolRequestBody5$inboundSchema),
|
|
@@ -2467,14 +2483,14 @@ export const UpdateToolRequest$inboundSchema: z.ZodType<
|
|
|
2467
2483
|
]).optional(),
|
|
2468
2484
|
}).transform((v) => {
|
|
2469
2485
|
return remap$(v, {
|
|
2470
|
-
"
|
|
2486
|
+
"tool_id": "toolId",
|
|
2471
2487
|
"RequestBody": "requestBody",
|
|
2472
2488
|
});
|
|
2473
2489
|
});
|
|
2474
2490
|
|
|
2475
2491
|
/** @internal */
|
|
2476
2492
|
export type UpdateToolRequest$Outbound = {
|
|
2477
|
-
|
|
2493
|
+
tool_id: string;
|
|
2478
2494
|
RequestBody?:
|
|
2479
2495
|
| UpdateToolRequestBody4$Outbound
|
|
2480
2496
|
| UpdateToolRequestBody5$Outbound
|
|
@@ -2490,7 +2506,7 @@ export const UpdateToolRequest$outboundSchema: z.ZodType<
|
|
|
2490
2506
|
z.ZodTypeDef,
|
|
2491
2507
|
UpdateToolRequest
|
|
2492
2508
|
> = z.object({
|
|
2493
|
-
|
|
2509
|
+
toolId: z.string(),
|
|
2494
2510
|
requestBody: z.union([
|
|
2495
2511
|
z.lazy(() => UpdateToolRequestBody4$outboundSchema),
|
|
2496
2512
|
z.lazy(() => UpdateToolRequestBody5$outboundSchema),
|
|
@@ -2500,7 +2516,7 @@ export const UpdateToolRequest$outboundSchema: z.ZodType<
|
|
|
2500
2516
|
]).optional(),
|
|
2501
2517
|
}).transform((v) => {
|
|
2502
2518
|
return remap$(v, {
|
|
2503
|
-
|
|
2519
|
+
toolId: "tool_id",
|
|
2504
2520
|
requestBody: "RequestBody",
|
|
2505
2521
|
});
|
|
2506
2522
|
});
|
|
@@ -2675,7 +2691,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2675
2691
|
z.ZodTypeDef,
|
|
2676
2692
|
unknown
|
|
2677
2693
|
> = z.object({
|
|
2678
|
-
_id: z.string().default("
|
|
2694
|
+
_id: z.string().default("01K6N5KY417C1CDV6FHBGHVVK2"),
|
|
2679
2695
|
path: z.string(),
|
|
2680
2696
|
key: z.string(),
|
|
2681
2697
|
display_name: z.string(),
|
|
@@ -2730,7 +2746,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2730
2746
|
z.ZodTypeDef,
|
|
2731
2747
|
UpdateToolResponseBody5
|
|
2732
2748
|
> = z.object({
|
|
2733
|
-
id: z.string().default("
|
|
2749
|
+
id: z.string().default("01K6N5KY417C1CDV6FHBGHVVK2"),
|
|
2734
2750
|
path: z.string(),
|
|
2735
2751
|
key: z.string(),
|
|
2736
2752
|
displayName: z.string(),
|
|
@@ -3104,7 +3120,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3104
3120
|
z.ZodTypeDef,
|
|
3105
3121
|
unknown
|
|
3106
3122
|
> = z.object({
|
|
3107
|
-
_id: z.string().default("
|
|
3123
|
+
_id: z.string().default("01K6N5KY41MARFRZDSS6W6P5CN"),
|
|
3108
3124
|
path: z.string(),
|
|
3109
3125
|
key: z.string(),
|
|
3110
3126
|
display_name: z.string(),
|
|
@@ -3158,7 +3174,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3158
3174
|
z.ZodTypeDef,
|
|
3159
3175
|
UpdateToolResponseBody4
|
|
3160
3176
|
> = z.object({
|
|
3161
|
-
id: z.string().default("
|
|
3177
|
+
id: z.string().default("01K6N5KY41MARFRZDSS6W6P5CN"),
|
|
3162
3178
|
path: z.string(),
|
|
3163
3179
|
key: z.string(),
|
|
3164
3180
|
displayName: z.string(),
|
|
@@ -3576,7 +3592,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3576
3592
|
z.ZodTypeDef,
|
|
3577
3593
|
unknown
|
|
3578
3594
|
> = z.object({
|
|
3579
|
-
_id: z.string().default("
|
|
3595
|
+
_id: z.string().default("01K6N5KY40Q32XGK0HAR0BPDVF"),
|
|
3580
3596
|
path: z.string(),
|
|
3581
3597
|
key: z.string(),
|
|
3582
3598
|
display_name: z.string(),
|
|
@@ -3630,7 +3646,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3630
3646
|
z.ZodTypeDef,
|
|
3631
3647
|
UpdateToolResponseBody3
|
|
3632
3648
|
> = z.object({
|
|
3633
|
-
id: z.string().default("
|
|
3649
|
+
id: z.string().default("01K6N5KY40Q32XGK0HAR0BPDVF"),
|
|
3634
3650
|
path: z.string(),
|
|
3635
3651
|
key: z.string(),
|
|
3636
3652
|
displayName: z.string(),
|
|
@@ -3804,7 +3820,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3804
3820
|
z.ZodTypeDef,
|
|
3805
3821
|
unknown
|
|
3806
3822
|
> = z.object({
|
|
3807
|
-
_id: z.string().default("
|
|
3823
|
+
_id: z.string().default("01K6N5KY3ZV9KF371TQN0DPC9G"),
|
|
3808
3824
|
path: z.string(),
|
|
3809
3825
|
key: z.string(),
|
|
3810
3826
|
display_name: z.string(),
|
|
@@ -3857,7 +3873,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3857
3873
|
z.ZodTypeDef,
|
|
3858
3874
|
UpdateToolResponseBody2
|
|
3859
3875
|
> = z.object({
|
|
3860
|
-
id: z.string().default("
|
|
3876
|
+
id: z.string().default("01K6N5KY3ZV9KF371TQN0DPC9G"),
|
|
3861
3877
|
path: z.string(),
|
|
3862
3878
|
key: z.string(),
|
|
3863
3879
|
displayName: z.string(),
|
|
@@ -4029,7 +4045,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4029
4045
|
z.ZodTypeDef,
|
|
4030
4046
|
unknown
|
|
4031
4047
|
> = z.object({
|
|
4032
|
-
_id: z.string().default("
|
|
4048
|
+
_id: z.string().default("01K6N5KY3ZT1S32GHSQH4EJKBD"),
|
|
4033
4049
|
path: z.string(),
|
|
4034
4050
|
key: z.string(),
|
|
4035
4051
|
display_name: z.string(),
|
|
@@ -4081,7 +4097,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4081
4097
|
z.ZodTypeDef,
|
|
4082
4098
|
UpdateToolResponseBody1
|
|
4083
4099
|
> = z.object({
|
|
4084
|
-
id: z.string().default("
|
|
4100
|
+
id: z.string().default("01K6N5KY3ZT1S32GHSQH4EJKBD"),
|
|
4085
4101
|
path: z.string(),
|
|
4086
4102
|
key: z.string(),
|
|
4087
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,
|
|
@@ -7,9 +7,12 @@ import { knowledgeCreateChunks } from "../funcs/knowledgeCreateChunks.js";
|
|
|
7
7
|
import { knowledgeCreateDatasource } from "../funcs/knowledgeCreateDatasource.js";
|
|
8
8
|
import { knowledgeDelete } from "../funcs/knowledgeDelete.js";
|
|
9
9
|
import { knowledgeDeleteChunk } from "../funcs/knowledgeDeleteChunk.js";
|
|
10
|
+
import { knowledgeDeleteChunks } from "../funcs/knowledgeDeleteChunks.js";
|
|
10
11
|
import { knowledgeDeleteDatasource } from "../funcs/knowledgeDeleteDatasource.js";
|
|
12
|
+
import { knowledgeGetChunksCount } from "../funcs/knowledgeGetChunksCount.js";
|
|
11
13
|
import { knowledgeList } from "../funcs/knowledgeList.js";
|
|
12
14
|
import { knowledgeListChunks } from "../funcs/knowledgeListChunks.js";
|
|
15
|
+
import { knowledgeListChunksPaginated } from "../funcs/knowledgeListChunksPaginated.js";
|
|
13
16
|
import { knowledgeListDatasources } from "../funcs/knowledgeListDatasources.js";
|
|
14
17
|
import { knowledgeRetrieve } from "../funcs/knowledgeRetrieve.js";
|
|
15
18
|
import { knowledgeRetrieveChunk } from "../funcs/knowledgeRetrieveChunk.js";
|
|
@@ -220,6 +223,48 @@ export class Knowledge extends ClientSDK {
|
|
|
220
223
|
));
|
|
221
224
|
}
|
|
222
225
|
|
|
226
|
+
/**
|
|
227
|
+
* Delete multiple chunks
|
|
228
|
+
*/
|
|
229
|
+
async deleteChunks(
|
|
230
|
+
request: operations.DeleteChunksRequest,
|
|
231
|
+
options?: RequestOptions,
|
|
232
|
+
): Promise<operations.DeleteChunksResponseBody> {
|
|
233
|
+
return unwrapAsync(knowledgeDeleteChunks(
|
|
234
|
+
this,
|
|
235
|
+
request,
|
|
236
|
+
options,
|
|
237
|
+
));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* List chunks with offset-based pagination
|
|
242
|
+
*/
|
|
243
|
+
async listChunksPaginated(
|
|
244
|
+
request: operations.ListChunksPaginatedRequest,
|
|
245
|
+
options?: RequestOptions,
|
|
246
|
+
): Promise<operations.ListChunksPaginatedResponseBody> {
|
|
247
|
+
return unwrapAsync(knowledgeListChunksPaginated(
|
|
248
|
+
this,
|
|
249
|
+
request,
|
|
250
|
+
options,
|
|
251
|
+
));
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Get chunks total count
|
|
256
|
+
*/
|
|
257
|
+
async getChunksCount(
|
|
258
|
+
request: operations.GetChunksCountRequest,
|
|
259
|
+
options?: RequestOptions,
|
|
260
|
+
): Promise<operations.GetChunksCountResponseBody> {
|
|
261
|
+
return unwrapAsync(knowledgeGetChunksCount(
|
|
262
|
+
this,
|
|
263
|
+
request,
|
|
264
|
+
options,
|
|
265
|
+
));
|
|
266
|
+
}
|
|
267
|
+
|
|
223
268
|
/**
|
|
224
269
|
* Update a chunk
|
|
225
270
|
*/
|
|
@@ -85,7 +85,7 @@ export class Tools extends ClientSDK {
|
|
|
85
85
|
* Retrieve tool
|
|
86
86
|
*
|
|
87
87
|
* @remarks
|
|
88
|
-
* Retrieves a tool by
|
|
88
|
+
* Retrieves a tool by id.
|
|
89
89
|
*/
|
|
90
90
|
async retrieve(
|
|
91
91
|
request: operations.RetrieveToolRequest,
|
|
@@ -102,7 +102,7 @@ export class Tools extends ClientSDK {
|
|
|
102
102
|
* Duplicate tool
|
|
103
103
|
*
|
|
104
104
|
* @remarks
|
|
105
|
-
* Creates a copy of an existing tool with a new
|
|
105
|
+
* Creates a copy of an existing tool with a new id and ID.
|
|
106
106
|
*/
|
|
107
107
|
async duplicate(
|
|
108
108
|
request: operations.DuplicateToolRequest,
|