@orq-ai/node 3.12.9 → 3.12.11

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.
Files changed (132) hide show
  1. package/bin/mcp-server.js +112 -112
  2. package/bin/mcp-server.js.map +30 -30
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/lib/config.js.map +1 -1
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/mcp-server.js.map +1 -1
  10. package/mcp-server/server.js +1 -1
  11. package/mcp-server/server.js.map +1 -1
  12. package/models/operations/createbudget.js +2 -2
  13. package/models/operations/createcontact.js +2 -2
  14. package/models/operations/createdataset.js +2 -2
  15. package/models/operations/createdatasetitem.js +2 -2
  16. package/models/operations/createdatasource.js +2 -2
  17. package/models/operations/createeval.js +16 -16
  18. package/models/operations/fileget.js +2 -2
  19. package/models/operations/filelist.js +2 -2
  20. package/models/operations/fileupload.js +2 -2
  21. package/models/operations/getbudget.js +2 -2
  22. package/models/operations/getevals.js +28 -28
  23. package/models/operations/listbudgets.js +2 -2
  24. package/models/operations/listcontacts.js +2 -2
  25. package/models/operations/listdatasetdatapoints.js +2 -2
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/retrievecontact.js +2 -2
  29. package/models/operations/retrievedatapoint.js +2 -2
  30. package/models/operations/retrievedataset.js +2 -2
  31. package/models/operations/retrievedatasource.js +2 -2
  32. package/models/operations/updatebudget.js +2 -2
  33. package/models/operations/updatecontact.js +2 -2
  34. package/models/operations/updatedatapoint.js +2 -2
  35. package/models/operations/updatedataset.js +2 -2
  36. package/models/operations/updatedatasource.js +2 -2
  37. package/models/operations/updateeval.js +16 -16
  38. package/package.json +1 -1
  39. package/packages/orq-rc/FUNCTIONS.md +19 -9
  40. package/packages/orq-rc/README.md +179 -123
  41. package/packages/orq-rc/docs/sdks/agents/README.md +2 -2
  42. package/packages/orq-rc/docs/sdks/knowledge/README.md +12 -0
  43. package/packages/orq-rc/docs/sdks/orq/README.md +0 -81
  44. package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
  45. package/packages/orq-rc/examples/package-lock.json +1 -1
  46. package/packages/orq-rc/jsr.json +1 -1
  47. package/packages/orq-rc/package-lock.json +2 -2
  48. package/packages/orq-rc/package.json +1 -1
  49. package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
  50. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
  51. package/packages/orq-rc/src/lib/config.ts +3 -3
  52. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  53. package/packages/orq-rc/src/mcp-server/server.ts +1 -3
  54. package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +1 -1
  55. package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +1 -1
  56. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  57. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  58. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  59. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
  60. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  61. package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
  62. package/packages/orq-rc/src/models/operations/creatememory.ts +17 -8
  63. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +13 -10
  64. package/packages/orq-rc/src/models/operations/creatememorystore.ts +17 -17
  65. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  66. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  67. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  68. package/packages/orq-rc/src/models/operations/getagent.ts +139 -117
  69. package/packages/orq-rc/src/models/operations/getallmemories.ts +7 -4
  70. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +7 -4
  71. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  72. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  73. package/packages/orq-rc/src/models/operations/index.ts +0 -1
  74. package/packages/orq-rc/src/models/operations/listagents.ts +5 -5
  75. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  79. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  81. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/retrievememory.ts +7 -4
  85. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +7 -4
  86. package/packages/orq-rc/src/models/operations/runagent.ts +577 -122
  87. package/packages/orq-rc/src/models/operations/searchknowledge.ts +29 -259
  88. package/packages/orq-rc/src/models/operations/streamrunagent.ts +606 -109
  89. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  91. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
  95. package/packages/orq-rc/src/models/operations/updatememory.ts +17 -8
  96. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +13 -10
  97. package/packages/orq-rc/src/models/operations/updatememorystore.ts +21 -17
  98. package/packages/orq-rc/src/sdk/agents.ts +2 -2
  99. package/packages/orq-rc/src/sdk/sdk.ts +1 -15
  100. package/src/lib/config.ts +3 -3
  101. package/src/mcp-server/mcp-server.ts +1 -1
  102. package/src/mcp-server/server.ts +1 -1
  103. package/src/models/operations/createbudget.ts +2 -2
  104. package/src/models/operations/createcontact.ts +2 -2
  105. package/src/models/operations/createdataset.ts +2 -2
  106. package/src/models/operations/createdatasetitem.ts +2 -2
  107. package/src/models/operations/createdatasource.ts +2 -2
  108. package/src/models/operations/createeval.ts +16 -16
  109. package/src/models/operations/fileget.ts +2 -2
  110. package/src/models/operations/filelist.ts +2 -2
  111. package/src/models/operations/fileupload.ts +2 -2
  112. package/src/models/operations/getbudget.ts +2 -2
  113. package/src/models/operations/getevals.ts +28 -28
  114. package/src/models/operations/listbudgets.ts +2 -2
  115. package/src/models/operations/listcontacts.ts +2 -2
  116. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  117. package/src/models/operations/listdatasets.ts +2 -2
  118. package/src/models/operations/listdatasources.ts +2 -2
  119. package/src/models/operations/retrievecontact.ts +2 -2
  120. package/src/models/operations/retrievedatapoint.ts +2 -2
  121. package/src/models/operations/retrievedataset.ts +2 -2
  122. package/src/models/operations/retrievedatasource.ts +2 -2
  123. package/src/models/operations/updatebudget.ts +2 -2
  124. package/src/models/operations/updatecontact.ts +2 -2
  125. package/src/models/operations/updatedatapoint.ts +2 -2
  126. package/src/models/operations/updatedataset.ts +2 -2
  127. package/src/models/operations/updatedatasource.ts +2 -2
  128. package/src/models/operations/updateeval.ts +16 -16
  129. package/packages/orq-rc/examples/postV2AgentsInternal.example.ts +0 -30
  130. package/packages/orq-rc/src/funcs/postV2AgentsInternal.ts +0 -159
  131. package/packages/orq-rc/src/mcp-server/tools/postV2AgentsInternal.ts +0 -33
  132. package/packages/orq-rc/src/models/operations/postv2agentsinternal.ts +0 -103
@@ -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-12T04:39:34.577Z",
541
+ "2025-09-18T14:59:12.873Z",
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-12T04:39:34.577Z"))
576
+ updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
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-12T04:39:34.577Z",
247
+ "2025-09-18T14:59:12.873Z",
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-12T04:39:34.577Z"))
285
+ updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
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-12T04:39:34.577Z",
6021
+ "2025-09-18T14:59:12.873Z",
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-12T04:39:34.577Z"))
6083
+ updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
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-12T04:39:34.577Z",
305
+ "2025-09-18T14:59:12.873Z",
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-12T04:39:34.577Z"))
350
+ updated: z.date().default(() => new Date("2025-09-18T14:59:12.873Z"))
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("01K4Y3HQP569XWPDNBSWSKHZ0Q"),
247
+ _id: z.string().default("01K5ENCKXGXNBMN6B8VZHWP4MN"),
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("01K4Y3HQP569XWPDNBSWSKHZ0Q"),
291
+ id: z.string().default("01K5ENCKXGXNBMN6B8VZHWP4MN"),
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-12T04:39:37.055Z"),
3488
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
3487
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
3488
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
3532
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
3531
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
3532
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
3959
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
3958
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
3959
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
4006
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
4005
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
4006
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
7514
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
7513
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
7514
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
7629
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
7628
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
7629
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
8072
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
8071
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
8072
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
8115
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
8114
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
8115
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
8537
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
8536
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
8537
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
8586
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
8585
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
8586
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
8977
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
8976
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
8977
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
9018
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
9017
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
9018
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
9377
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
9376
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
9377
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
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-12T04:39:37.055Z"),
9418
- updated: z.string().default("2025-09-12T04:39:37.055Z"),
9417
+ created: z.string().default("2025-09-18T14:59:15.167Z"),
9418
+ updated: z.string().default("2025-09-18T14:59:15.167Z"),
9419
9419
  guardrailConfig: z.union([
9420
9420
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
9421
9421
  z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -9,8 +9,14 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type UpdateMemoryRequestBody = {
12
+ /**
13
+ * Unique identifier for the entity this memory is associated with (e.g., user ID, session ID, conversation ID)
14
+ */
12
15
  entityId: string;
13
- tags: { [k: string]: string };
16
+ /**
17
+ * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
18
+ */
19
+ metadata: { [k: string]: string };
14
20
  };
15
21
 
16
22
  export type UpdateMemoryRequest = {
@@ -36,7 +42,10 @@ export type UpdateMemoryResponseBody = {
36
42
  createdById?: string | null | undefined;
37
43
  updatedById?: string | null | undefined;
38
44
  storeId: string;
39
- tags: { [k: string]: string };
45
+ /**
46
+ * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
47
+ */
48
+ metadata: { [k: string]: string };
40
49
  workspaceId: string;
41
50
  };
42
51
 
@@ -47,7 +56,7 @@ export const UpdateMemoryRequestBody$inboundSchema: z.ZodType<
47
56
  unknown
48
57
  > = z.object({
49
58
  entity_id: z.string(),
50
- tags: z.record(z.string()),
59
+ metadata: z.record(z.string()),
51
60
  }).transform((v) => {
52
61
  return remap$(v, {
53
62
  "entity_id": "entityId",
@@ -57,7 +66,7 @@ export const UpdateMemoryRequestBody$inboundSchema: z.ZodType<
57
66
  /** @internal */
58
67
  export type UpdateMemoryRequestBody$Outbound = {
59
68
  entity_id: string;
60
- tags: { [k: string]: string };
69
+ metadata: { [k: string]: string };
61
70
  };
62
71
 
63
72
  /** @internal */
@@ -67,7 +76,7 @@ export const UpdateMemoryRequestBody$outboundSchema: z.ZodType<
67
76
  UpdateMemoryRequestBody
68
77
  > = z.object({
69
78
  entityId: z.string(),
70
- tags: z.record(z.string()),
79
+ metadata: z.record(z.string()),
71
80
  }).transform((v) => {
72
81
  return remap$(v, {
73
82
  entityId: "entity_id",
@@ -190,7 +199,7 @@ export const UpdateMemoryResponseBody$inboundSchema: z.ZodType<
190
199
  created_by_id: z.nullable(z.string()).optional(),
191
200
  updated_by_id: z.nullable(z.string()).optional(),
192
201
  store_id: z.string(),
193
- tags: z.record(z.string()),
202
+ metadata: z.record(z.string()),
194
203
  workspace_id: z.string(),
195
204
  }).transform((v) => {
196
205
  return remap$(v, {
@@ -212,7 +221,7 @@ export type UpdateMemoryResponseBody$Outbound = {
212
221
  created_by_id?: string | null | undefined;
213
222
  updated_by_id?: string | null | undefined;
214
223
  store_id: string;
215
- tags: { [k: string]: string };
224
+ metadata: { [k: string]: string };
216
225
  workspace_id: string;
217
226
  };
218
227
 
@@ -229,7 +238,7 @@ export const UpdateMemoryResponseBody$outboundSchema: z.ZodType<
229
238
  createdById: z.nullable(z.string()).optional(),
230
239
  updatedById: z.nullable(z.string()).optional(),
231
240
  storeId: z.string(),
232
- tags: z.record(z.string()),
241
+ metadata: z.record(z.string()),
233
242
  workspaceId: z.string(),
234
243
  }).transform((v) => {
235
244
  return remap$(v, {
@@ -10,13 +10,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type UpdateMemoryDocumentRequestBody = {
12
12
  /**
13
- * The content of the memory
13
+ * The content of the memory document
14
14
  */
15
15
  text: string;
16
16
  /**
17
- * Use the tags to categorize documents within a memory collection
17
+ * Flexible key-value pairs for custom filtering and categorization of documents within a memory collection. Clients can add arbitrary string metadata to enable future filtering based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy). This enables powerful querying and retrieval strategies.
18
18
  */
19
- tags: { [k: string]: string };
19
+ metadata: { [k: string]: string };
20
20
  };
21
21
 
22
22
  export type UpdateMemoryDocumentRequest = {
@@ -48,7 +48,10 @@ export type UpdateMemoryDocumentResponseBody = {
48
48
  createdById?: string | undefined;
49
49
  updatedById?: string | undefined;
50
50
  workspaceId: string;
51
- tags?: { [k: string]: string } | undefined;
51
+ /**
52
+ * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory documents based on their specific needs (e.g., document type, source, topic, relevance score, or any custom taxonomy).
53
+ */
54
+ metadata?: { [k: string]: string } | undefined;
52
55
  };
53
56
 
54
57
  /** @internal */
@@ -58,13 +61,13 @@ export const UpdateMemoryDocumentRequestBody$inboundSchema: z.ZodType<
58
61
  unknown
59
62
  > = z.object({
60
63
  text: z.string(),
61
- tags: z.record(z.string()),
64
+ metadata: z.record(z.string()),
62
65
  });
63
66
 
64
67
  /** @internal */
65
68
  export type UpdateMemoryDocumentRequestBody$Outbound = {
66
69
  text: string;
67
- tags: { [k: string]: string };
70
+ metadata: { [k: string]: string };
68
71
  };
69
72
 
70
73
  /** @internal */
@@ -74,7 +77,7 @@ export const UpdateMemoryDocumentRequestBody$outboundSchema: z.ZodType<
74
77
  UpdateMemoryDocumentRequestBody
75
78
  > = z.object({
76
79
  text: z.string(),
77
- tags: z.record(z.string()),
80
+ metadata: z.record(z.string()),
78
81
  });
79
82
 
80
83
  /**
@@ -206,7 +209,7 @@ export const UpdateMemoryDocumentResponseBody$inboundSchema: z.ZodType<
206
209
  created_by_id: z.string().optional(),
207
210
  updated_by_id: z.string().optional(),
208
211
  workspace_id: z.string(),
209
- tags: z.record(z.string()).optional(),
212
+ metadata: z.record(z.string()).optional(),
210
213
  }).transform((v) => {
211
214
  return remap$(v, {
212
215
  "_id": "id",
@@ -229,7 +232,7 @@ export type UpdateMemoryDocumentResponseBody$Outbound = {
229
232
  created_by_id?: string | undefined;
230
233
  updated_by_id?: string | undefined;
231
234
  workspace_id: string;
232
- tags?: { [k: string]: string } | undefined;
235
+ metadata?: { [k: string]: string } | undefined;
233
236
  };
234
237
 
235
238
  /** @internal */
@@ -247,7 +250,7 @@ export const UpdateMemoryDocumentResponseBody$outboundSchema: z.ZodType<
247
250
  createdById: z.string().optional(),
248
251
  updatedById: z.string().optional(),
249
252
  workspaceId: z.string(),
250
- tags: z.record(z.string()).optional(),
253
+ metadata: z.record(z.string()).optional(),
251
254
  }).transform((v) => {
252
255
  return remap$(v, {
253
256
  id: "_id",
@@ -54,10 +54,12 @@ export const Model14 = {
54
54
  } as const;
55
55
  export type Model14 = ClosedEnum<typeof Model14>;
56
56
 
57
- export const Model13 = {
57
+ export const UpdateMemoryStoreModel13 = {
58
58
  GoogleMultimodalembeddingAt001: "google/multimodalembedding@001",
59
59
  } as const;
60
- export type Model13 = ClosedEnum<typeof Model13>;
60
+ export type UpdateMemoryStoreModel13 = ClosedEnum<
61
+ typeof UpdateMemoryStoreModel13
62
+ >;
61
63
 
62
64
  export const UpdateMemoryStoreModel12 = {
63
65
  GoogleTextMultilingualEmbedding002: "google/text-multilingual-embedding-002",
@@ -156,7 +158,7 @@ export type UpdateMemoryStoreModel =
156
158
  | UpdateMemoryStoreModel10
157
159
  | UpdateMemoryStoreModel11
158
160
  | UpdateMemoryStoreModel12
159
- | Model13
161
+ | UpdateMemoryStoreModel13
160
162
  | Model14
161
163
  | Model15
162
164
  | Model16
@@ -181,7 +183,7 @@ export type UpdateMemoryStoreEmbeddingConfig = {
181
183
  | UpdateMemoryStoreModel10
182
184
  | UpdateMemoryStoreModel11
183
185
  | UpdateMemoryStoreModel12
184
- | Model13
186
+ | UpdateMemoryStoreModel13
185
187
  | Model14
186
188
  | Model15
187
189
  | Model16
@@ -479,22 +481,24 @@ export namespace Model14$ {
479
481
  }
480
482
 
481
483
  /** @internal */
482
- export const Model13$inboundSchema: z.ZodNativeEnum<typeof Model13> = z
483
- .nativeEnum(Model13);
484
+ export const UpdateMemoryStoreModel13$inboundSchema: z.ZodNativeEnum<
485
+ typeof UpdateMemoryStoreModel13
486
+ > = z.nativeEnum(UpdateMemoryStoreModel13);
484
487
 
485
488
  /** @internal */
486
- export const Model13$outboundSchema: z.ZodNativeEnum<typeof Model13> =
487
- Model13$inboundSchema;
489
+ export const UpdateMemoryStoreModel13$outboundSchema: z.ZodNativeEnum<
490
+ typeof UpdateMemoryStoreModel13
491
+ > = UpdateMemoryStoreModel13$inboundSchema;
488
492
 
489
493
  /**
490
494
  * @internal
491
495
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
492
496
  */
493
- export namespace Model13$ {
494
- /** @deprecated use `Model13$inboundSchema` instead. */
495
- export const inboundSchema = Model13$inboundSchema;
496
- /** @deprecated use `Model13$outboundSchema` instead. */
497
- export const outboundSchema = Model13$outboundSchema;
497
+ export namespace UpdateMemoryStoreModel13$ {
498
+ /** @deprecated use `UpdateMemoryStoreModel13$inboundSchema` instead. */
499
+ export const inboundSchema = UpdateMemoryStoreModel13$inboundSchema;
500
+ /** @deprecated use `UpdateMemoryStoreModel13$outboundSchema` instead. */
501
+ export const outboundSchema = UpdateMemoryStoreModel13$outboundSchema;
498
502
  }
499
503
 
500
504
  /** @internal */
@@ -767,7 +771,7 @@ export const UpdateMemoryStoreModel$inboundSchema: z.ZodType<
767
771
  UpdateMemoryStoreModel10$inboundSchema,
768
772
  UpdateMemoryStoreModel11$inboundSchema,
769
773
  UpdateMemoryStoreModel12$inboundSchema,
770
- Model13$inboundSchema,
774
+ UpdateMemoryStoreModel13$inboundSchema,
771
775
  Model14$inboundSchema,
772
776
  Model15$inboundSchema,
773
777
  Model16$inboundSchema,
@@ -822,7 +826,7 @@ export const UpdateMemoryStoreModel$outboundSchema: z.ZodType<
822
826
  UpdateMemoryStoreModel10$outboundSchema,
823
827
  UpdateMemoryStoreModel11$outboundSchema,
824
828
  UpdateMemoryStoreModel12$outboundSchema,
825
- Model13$outboundSchema,
829
+ UpdateMemoryStoreModel13$outboundSchema,
826
830
  Model14$outboundSchema,
827
831
  Model15$outboundSchema,
828
832
  Model16$outboundSchema,
@@ -884,7 +888,7 @@ export const UpdateMemoryStoreEmbeddingConfig$inboundSchema: z.ZodType<
884
888
  UpdateMemoryStoreModel10$inboundSchema,
885
889
  UpdateMemoryStoreModel11$inboundSchema,
886
890
  UpdateMemoryStoreModel12$inboundSchema,
887
- Model13$inboundSchema,
891
+ UpdateMemoryStoreModel13$inboundSchema,
888
892
  Model14$inboundSchema,
889
893
  Model15$inboundSchema,
890
894
  Model16$inboundSchema,
@@ -943,7 +947,7 @@ export const UpdateMemoryStoreEmbeddingConfig$outboundSchema: z.ZodType<
943
947
  UpdateMemoryStoreModel10$outboundSchema,
944
948
  UpdateMemoryStoreModel11$outboundSchema,
945
949
  UpdateMemoryStoreModel12$outboundSchema,
946
- Model13$outboundSchema,
950
+ UpdateMemoryStoreModel13$outboundSchema,
947
951
  Model14$outboundSchema,
948
952
  Model15$outboundSchema,
949
953
  Model16$outboundSchema,
@@ -71,7 +71,7 @@ export class Agents extends ClientSDK {
71
71
  * Run an agent
72
72
  *
73
73
  * @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.
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. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
75
75
  */
76
76
  async run(
77
77
  request?: operations.RunAgentRequestBody | undefined,
@@ -88,7 +88,7 @@ export class Agents extends ClientSDK {
88
88
  * Run and stream agent execution
89
89
  *
90
90
  * @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.
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. Memory stores can be associated with specific entities (users, sessions) using the memory.entity_id parameter.
92
92
  */
93
93
  async streamRun(
94
94
  request?: operations.StreamRunAgentRequestBody | undefined,
@@ -2,10 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { postV2AgentsInternal } from "../funcs/postV2AgentsInternal.js";
6
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
- import * as operations from "../models/operations/index.js";
8
- import { unwrapAsync } from "../types/fp.js";
5
+ import { ClientSDK } from "../lib/sdks.js";
9
6
  import { Agents } from "./agents.js";
10
7
  import { Budgets } from "./budgets.js";
11
8
  import { Chunking } from "./chunking.js";
@@ -91,15 +88,4 @@ export class Orq extends ClientSDK {
91
88
  get budgets(): Budgets {
92
89
  return (this._budgets ??= new Budgets(this._options));
93
90
  }
94
-
95
- async postV2AgentsInternal(
96
- request?: operations.PostV2AgentsInternalRequestBody | undefined,
97
- options?: RequestOptions,
98
- ): Promise<void> {
99
- return unwrapAsync(postV2AgentsInternal(
100
- this,
101
- request,
102
- options,
103
- ));
104
- }
105
91
  }
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.9",
72
- genVersion: "2.698.4",
73
- userAgent: "speakeasy-sdk/typescript 3.12.9 2.698.4 2.0 @orq-ai/node",
71
+ sdkVersion: "3.12.11",
72
+ genVersion: "2.706.0",
73
+ userAgent: "speakeasy-sdk/typescript 3.12.11 2.706.0 2.0 @orq-ai/node",
74
74
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "3.12.9",
22
+ currentVersion: "3.12.11",
23
23
  },
24
24
  });
25
25
 
@@ -125,7 +125,7 @@ export function createMCPServer(deps: {
125
125
  }) {
126
126
  const server = new McpServer({
127
127
  name: "Orq",
128
- version: "3.12.9",
128
+ version: "3.12.11",
129
129
  });
130
130
 
131
131
  const client = new OrqCore({
@@ -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-12T12:40:13.529Z",
658
+ "2025-09-18T16:20:48.743Z",
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-12T12:40:13.529Z"))
696
+ updated: z.date().default(() => new Date("2025-09-18T16:20:48.743Z"))
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-12T12:40:13.529Z",
185
+ "2025-09-18T16:20:48.743Z",
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-12T12:40:13.529Z"))
226
+ updated: z.date().default(() => new Date("2025-09-18T16:20:48.743Z"))
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-09-12T12:40:13.529Z",
214
+ "2025-09-18T16:20:48.743Z",
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-09-12T12:40:13.529Z"))
254
+ updated: z.date().default(() => new Date("2025-09-18T16:20:48.743Z"))
255
255
  .transform(v => v.toISOString()),
256
256
  }).transform((v) => {
257
257
  return remap$(v, {