@orq-ai/node 4.18.0-rc.23 → 4.18.0-rc.25

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 (109) hide show
  1. package/funcs/routerClassifyCreate.d.ts +1 -1
  2. package/funcs/routerClassifyCreate.js +1 -1
  3. package/funcs/routerDecisionsCreate.d.ts +1 -1
  4. package/funcs/routerDecisionsCreate.js +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +2 -2
  7. package/lib/config.js +2 -2
  8. package/models/components/agentstartedstreamingevent.d.ts +4 -4
  9. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  10. package/models/components/agentstartedstreamingevent.js +7 -7
  11. package/models/components/agentstartedstreamingevent.js.map +1 -1
  12. package/models/components/agenttaskconfig.d.ts +6 -11
  13. package/models/components/agenttaskconfig.d.ts.map +1 -1
  14. package/models/components/agenttaskconfig.js +3 -17
  15. package/models/components/agenttaskconfig.js.map +1 -1
  16. package/models/components/cell.d.ts +17 -17
  17. package/models/components/cell.d.ts.map +1 -1
  18. package/models/components/cell.js +6 -12
  19. package/models/components/cell.js.map +1 -1
  20. package/models/components/externalagent.d.ts +3 -5
  21. package/models/components/externalagent.d.ts.map +1 -1
  22. package/models/components/externalagent.js +2 -8
  23. package/models/components/externalagent.js.map +1 -1
  24. package/models/components/mcptoolexposure.d.ts +5 -0
  25. package/models/components/mcptoolexposure.d.ts.map +1 -1
  26. package/models/components/mcptoolexposure.js +4 -0
  27. package/models/components/mcptoolexposure.js.map +1 -1
  28. package/models/components/memorystoreembeddingconfig.d.ts +1 -1
  29. package/models/components/metricsummary.d.ts +4 -1
  30. package/models/components/metricsummary.d.ts.map +1 -1
  31. package/models/components/metricsummary.js +1 -1
  32. package/models/components/metricsummary.js.map +1 -1
  33. package/models/components/patchevalcellrequest.d.ts +6 -8
  34. package/models/components/patchevalcellrequest.d.ts.map +1 -1
  35. package/models/components/patchevalcellrequest.js +2 -8
  36. package/models/components/patchevalcellrequest.js.map +1 -1
  37. package/models/components/patchreviewcellrequest.d.ts +6 -8
  38. package/models/components/patchreviewcellrequest.d.ts.map +1 -1
  39. package/models/components/patchreviewcellrequest.js +2 -8
  40. package/models/components/patchreviewcellrequest.js.map +1 -1
  41. package/models/components/patchtaskcellrequest.d.ts +6 -8
  42. package/models/components/patchtaskcellrequest.d.ts.map +1 -1
  43. package/models/components/patchtaskcellrequest.js +2 -8
  44. package/models/components/patchtaskcellrequest.js.map +1 -1
  45. package/models/components/prompttaskconfig.d.ts +30 -55
  46. package/models/components/prompttaskconfig.d.ts.map +1 -1
  47. package/models/components/prompttaskconfig.js +11 -76
  48. package/models/components/prompttaskconfig.js.map +1 -1
  49. package/models/components/queryrow.d.ts +5 -2
  50. package/models/components/queryrow.d.ts.map +1 -1
  51. package/models/components/queryrow.js +2 -4
  52. package/models/components/queryrow.js.map +1 -1
  53. package/models/components/reasoningpart.js +1 -1
  54. package/models/components/redactedreasoningpartschema.d.ts +1 -1
  55. package/models/components/run.d.ts +9 -3
  56. package/models/components/run.d.ts.map +1 -1
  57. package/models/components/run.js +3 -3
  58. package/models/components/run.js.map +1 -1
  59. package/models/components/testexternalagentconnectionresponse.d.ts +3 -5
  60. package/models/components/testexternalagentconnectionresponse.d.ts.map +1 -1
  61. package/models/components/testexternalagentconnectionresponse.js +2 -9
  62. package/models/components/testexternalagentconnectionresponse.js.map +1 -1
  63. package/models/components/updateruncellrequest.d.ts +6 -8
  64. package/models/components/updateruncellrequest.d.ts.map +1 -1
  65. package/models/components/updateruncellrequest.js +2 -8
  66. package/models/components/updateruncellrequest.js.map +1 -1
  67. package/models/operations/createimagevariation.d.ts +1 -1
  68. package/models/operations/createtool.js +4 -4
  69. package/models/operations/getalltools.js +4 -4
  70. package/models/operations/listdeploymentversions.js +1 -1
  71. package/models/operations/retrievetool.js +4 -4
  72. package/models/operations/runagent.js +1 -1
  73. package/models/operations/streamrunagent.js +1 -1
  74. package/models/operations/updatetool.js +4 -4
  75. package/package.json +1 -1
  76. package/sdk/classify.d.ts +1 -1
  77. package/sdk/classify.js +1 -1
  78. package/sdk/decisions.d.ts +1 -1
  79. package/sdk/decisions.js +1 -1
  80. package/src/funcs/routerClassifyCreate.ts +1 -1
  81. package/src/funcs/routerDecisionsCreate.ts +1 -1
  82. package/src/lib/config.ts +2 -2
  83. package/src/models/components/agentstartedstreamingevent.ts +30 -34
  84. package/src/models/components/agenttaskconfig.ts +4 -41
  85. package/src/models/components/cell.ts +22 -39
  86. package/src/models/components/externalagent.ts +2 -21
  87. package/src/models/components/mcptoolexposure.ts +9 -0
  88. package/src/models/components/memorystoreembeddingconfig.ts +1 -1
  89. package/src/models/components/metricsummary.ts +5 -2
  90. package/src/models/components/patchevalcellrequest.ts +3 -19
  91. package/src/models/components/patchreviewcellrequest.ts +3 -25
  92. package/src/models/components/patchtaskcellrequest.ts +3 -23
  93. package/src/models/components/prompttaskconfig.ts +20 -184
  94. package/src/models/components/queryrow.ts +11 -6
  95. package/src/models/components/reasoningpart.ts +1 -1
  96. package/src/models/components/redactedreasoningpartschema.ts +1 -1
  97. package/src/models/components/run.ts +14 -8
  98. package/src/models/components/testexternalagentconnectionresponse.ts +2 -18
  99. package/src/models/components/updateruncellrequest.ts +3 -23
  100. package/src/models/operations/createimagevariation.ts +1 -1
  101. package/src/models/operations/createtool.ts +4 -4
  102. package/src/models/operations/getalltools.ts +4 -4
  103. package/src/models/operations/listdeploymentversions.ts +1 -1
  104. package/src/models/operations/retrievetool.ts +4 -4
  105. package/src/models/operations/runagent.ts +1 -1
  106. package/src/models/operations/streamrunagent.ts +1 -1
  107. package/src/models/operations/updatetool.ts +4 -4
  108. package/src/sdk/classify.ts +1 -1
  109. package/src/sdk/decisions.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../src/models/components/run.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,kCAQC;AA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AE,EAAE,CAAC,yBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7C,iCAAiC,CAClC,CAAC;AACJ,CAAC"}
@@ -1,15 +1,13 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type Card = {};
5
4
  export type TestExternalAgentConnectionResponse = {
6
5
  reachable?: boolean | undefined;
7
- card?: Card | undefined;
6
+ card?: {
7
+ [k: string]: any;
8
+ } | undefined;
8
9
  };
9
10
  /** @internal */
10
- export declare const Card$inboundSchema: z.ZodType<Card, z.ZodTypeDef, unknown>;
11
- export declare function cardFromJSON(jsonString: string): SafeParseResult<Card, SDKValidationError>;
12
- /** @internal */
13
11
  export declare const TestExternalAgentConnectionResponse$inboundSchema: z.ZodType<TestExternalAgentConnectionResponse, z.ZodTypeDef, unknown>;
14
12
  export declare function testExternalAgentConnectionResponseFromJSON(jsonString: string): SafeParseResult<TestExternalAgentConnectionResponse, SDKValidationError>;
15
13
  //# sourceMappingURL=testexternalagentconnectionresponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testexternalagentconnectionresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/testexternalagentconnectionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,IAAI,GAAG,EAAE,CAAC;AAEtB,MAAM,MAAM,mCAAmC,GAAG;IAChD,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CACzD,CAAC;AAEd,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C;AAED,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
1
+ {"version":3,"file":"testexternalagentconnectionresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/testexternalagentconnectionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mCAAmC,GAAG;IAChD,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -36,21 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TestExternalAgentConnectionResponse$inboundSchema = exports.Card$inboundSchema = void 0;
40
- exports.cardFromJSON = cardFromJSON;
39
+ exports.TestExternalAgentConnectionResponse$inboundSchema = void 0;
41
40
  exports.testExternalAgentConnectionResponseFromJSON = testExternalAgentConnectionResponseFromJSON;
42
41
  const z = __importStar(require("zod/v3"));
43
42
  const schemas_js_1 = require("../../lib/schemas.js");
44
43
  /** @internal */
45
- exports.Card$inboundSchema = z
46
- .object({});
47
- function cardFromJSON(jsonString) {
48
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Card$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Card' from JSON`);
49
- }
50
- /** @internal */
51
44
  exports.TestExternalAgentConnectionResponse$inboundSchema = z.object({
52
45
  reachable: z.boolean().optional(),
53
- card: z.lazy(() => exports.Card$inboundSchema).optional(),
46
+ card: z.record(z.any()).optional(),
54
47
  });
55
48
  function testExternalAgentConnectionResponseFromJSON(jsonString) {
56
49
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TestExternalAgentConnectionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TestExternalAgentConnectionResponse' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"testexternalagentconnectionresponse.js","sourceRoot":"","sources":["../../src/models/components/testexternalagentconnectionresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBH,oCAQC;AAYD,kGASC;AA7CD,0CAA4B;AAC5B,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,MAAM,CAAC,EAAE,CAAC,CAAC;AAEd,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"testexternalagentconnectionresponse.js","sourceRoot":"","sources":["../../src/models/components/testexternalagentconnectionresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,kGASC;AA7BD,0CAA4B;AAC5B,qDAAiD;AASjD,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
@@ -1,16 +1,14 @@
1
1
  import * as z from "zod/v3";
2
- export type UpdateRunCellRequestValue = {};
3
2
  export type UpdateRunCellRequest = {
4
- value?: UpdateRunCellRequestValue | undefined;
3
+ value?: {
4
+ [k: string]: any;
5
+ } | undefined;
5
6
  };
6
7
  /** @internal */
7
- export type UpdateRunCellRequestValue$Outbound = {};
8
- /** @internal */
9
- export declare const UpdateRunCellRequestValue$outboundSchema: z.ZodType<UpdateRunCellRequestValue$Outbound, z.ZodTypeDef, UpdateRunCellRequestValue>;
10
- export declare function updateRunCellRequestValueToJSON(updateRunCellRequestValue: UpdateRunCellRequestValue): string;
11
- /** @internal */
12
8
  export type UpdateRunCellRequest$Outbound = {
13
- value?: UpdateRunCellRequestValue$Outbound | undefined;
9
+ value?: {
10
+ [k: string]: any;
11
+ } | undefined;
14
12
  };
15
13
  /** @internal */
16
14
  export declare const UpdateRunCellRequest$outboundSchema: z.ZodType<UpdateRunCellRequest$Outbound, z.ZodTypeDef, UpdateRunCellRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"updateruncellrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/updateruncellrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE3C,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG,EAAE,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CACX,CAAC;AAEjB,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,CAAC,EAAE,kCAAkC,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAGpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
1
+ {"version":3,"file":"updateruncellrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/updateruncellrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAGpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
@@ -36,18 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.UpdateRunCellRequest$outboundSchema = exports.UpdateRunCellRequestValue$outboundSchema = void 0;
40
- exports.updateRunCellRequestValueToJSON = updateRunCellRequestValueToJSON;
39
+ exports.UpdateRunCellRequest$outboundSchema = void 0;
41
40
  exports.updateRunCellRequestToJSON = updateRunCellRequestToJSON;
42
41
  const z = __importStar(require("zod/v3"));
43
42
  /** @internal */
44
- exports.UpdateRunCellRequestValue$outboundSchema = z.object({});
45
- function updateRunCellRequestValueToJSON(updateRunCellRequestValue) {
46
- return JSON.stringify(exports.UpdateRunCellRequestValue$outboundSchema.parse(updateRunCellRequestValue));
47
- }
48
- /** @internal */
49
43
  exports.UpdateRunCellRequest$outboundSchema = z.object({
50
- value: z.lazy(() => exports.UpdateRunCellRequestValue$outboundSchema).optional(),
44
+ value: z.record(z.any()).optional(),
51
45
  });
52
46
  function updateRunCellRequestToJSON(updateRunCellRequest) {
53
47
  return JSON.stringify(exports.UpdateRunCellRequest$outboundSchema.parse(updateRunCellRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"updateruncellrequest.js","sourceRoot":"","sources":["../../src/models/components/updateruncellrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBH,0EAMC;AAgBD,gEAMC;AA9CD,0CAA4B;AAW5B,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,gDAAwC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"updateruncellrequest.js","sourceRoot":"","sources":["../../src/models/components/updateruncellrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,gEAMC;AA1BD,0CAA4B;AAW5B,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
@@ -230,7 +230,7 @@ export type CreateImageVariationOrq = {
230
230
  */
231
231
  export type CreateImageVariationRequestBody = {
232
232
  /**
233
- * The image to edit. Must be a supported image file. It should be a png, webp, or jpg file less than 50MB.
233
+ * The image to vary. Must be a supported image file. It should be a png, webp, or jpg file less than 50MB.
234
234
  */
235
235
  image?: CreateImageVariationImage | Blob | undefined;
236
236
  /**
@@ -472,7 +472,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
472
472
  }
473
473
  /** @internal */
474
474
  exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
475
- _id: z.string().default("tool_01M6DQTDS2NBSZS3K22CE38JKC"),
475
+ _id: z.string().default("tool_01M6FXGGAQWYD4XRVCN49JHN1S"),
476
476
  path: z.string(),
477
477
  key: z.string(),
478
478
  display_name: z.string().optional(),
@@ -562,7 +562,7 @@ function responseBodyHttpFromJSON(jsonString) {
562
562
  }
563
563
  /** @internal */
564
564
  exports.ResponseBodyHTTPTool$inboundSchema = z.object({
565
- _id: z.string().default("tool_01M6DQTDS1SGWAG087RMBWYENH"),
565
+ _id: z.string().default("tool_01M6FXGGAPKT3SMNZ9FW7096B8"),
566
566
  path: z.string(),
567
567
  key: z.string(),
568
568
  display_name: z.string().optional(),
@@ -612,7 +612,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
612
612
  }
613
613
  /** @internal */
614
614
  exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
615
- _id: z.string().default("tool_01M6DQTDS1VAFHNWBM91TTNFAA"),
615
+ _id: z.string().default("tool_01M6FXGGAPA1ZJYTWE5KMMB468"),
616
616
  path: z.string(),
617
617
  key: z.string(),
618
618
  display_name: z.string().optional(),
@@ -665,7 +665,7 @@ function responseBodyFunctionFromJSON(jsonString) {
665
665
  }
666
666
  /** @internal */
667
667
  exports.ResponseBodyFunctionTool$inboundSchema = z.object({
668
- _id: z.string().default("tool_01M6DQTDS15K65YGV3RWRFJP9N"),
668
+ _id: z.string().default("tool_01M6FXGGAPF9R013Y73EWFKX8Z"),
669
669
  path: z.string(),
670
670
  key: z.string(),
671
671
  display_name: z.string().optional(),
@@ -172,7 +172,7 @@ function dataCodeToolFromJSON(jsonString) {
172
172
  }
173
173
  /** @internal */
174
174
  exports.DataCodeExecutionTool$inboundSchema = z.object({
175
- _id: z.string().default("tool_01M6DQTDRYJRGZ23PV6MY568XA"),
175
+ _id: z.string().default("tool_01M6FXGGAN1CCDET343C5AH9DC"),
176
176
  path: z.string(),
177
177
  key: z.string(),
178
178
  display_name: z.string().optional(),
@@ -261,7 +261,7 @@ function dataHttpFromJSON(jsonString) {
261
261
  }
262
262
  /** @internal */
263
263
  exports.DataHTTPTool$inboundSchema = z.object({
264
- _id: z.string().default("tool_01M6DQTDRYD1DJFWRJQGBHQ2BK"),
264
+ _id: z.string().default("tool_01M6FXGGAMST2TWE77E7W00T5G"),
265
265
  path: z.string(),
266
266
  key: z.string(),
267
267
  display_name: z.string().optional(),
@@ -311,7 +311,7 @@ function dataJsonSchemaFromJSON(jsonString) {
311
311
  }
312
312
  /** @internal */
313
313
  exports.DataJSONSchemaTool$inboundSchema = z.object({
314
- _id: z.string().default("tool_01M6DQTDRXZK24CR85TBS4AVND"),
314
+ _id: z.string().default("tool_01M6FXGGAMEF6W1FY5Z09A5AKP"),
315
315
  path: z.string(),
316
316
  key: z.string(),
317
317
  display_name: z.string().optional(),
@@ -366,7 +366,7 @@ function dataFunctionFromJSON(jsonString) {
366
366
  }
367
367
  /** @internal */
368
368
  exports.DataFunctionTool$inboundSchema = z.object({
369
- _id: z.string().default("tool_01M6DQTDRXTB4PET1390M7DBZY"),
369
+ _id: z.string().default("tool_01M6FXGGAMQ96KQ7ZNBBY9W59K"),
370
370
  path: z.string(),
371
371
  key: z.string(),
372
372
  display_name: z.string().optional(),
@@ -1017,7 +1017,7 @@ function knowledgeBaseConfigurationFromJSON(jsonString) {
1017
1017
  }
1018
1018
  /** @internal */
1019
1019
  exports.ListDeploymentVersionsKnowledgeBases$inboundSchema = z.object({
1020
- id: z.string().default("01M6DQTDNWFRQZFX67TDGT24PT"),
1020
+ id: z.string().default("01M6FXGG7YRWTR564RD95W67RG"),
1021
1021
  knowledge_id: z.string(),
1022
1022
  configuration: z.union([
1023
1023
  z.lazy(() => exports.KnowledgeBaseLastUserMessage$inboundSchema),
@@ -164,7 +164,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
164
164
  }
165
165
  /** @internal */
166
166
  exports.RetrieveToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
167
- _id: z.string().default("tool_01M6DQTDS8JWPHA3ZAHP8NB64Z"),
167
+ _id: z.string().default("tool_01M6FXGGAVWVXZEXMVM2F0YH6M"),
168
168
  path: z.string(),
169
169
  key: z.string(),
170
170
  display_name: z.string().optional(),
@@ -253,7 +253,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
253
253
  }
254
254
  /** @internal */
255
255
  exports.RetrieveToolResponseBodyHTTPTool$inboundSchema = z.object({
256
- _id: z.string().default("tool_01M6DQTDS84C2NRREMX0YY9NK5"),
256
+ _id: z.string().default("tool_01M6FXGGAVPHR2XC1YHCQBZB7J"),
257
257
  path: z.string(),
258
258
  key: z.string(),
259
259
  display_name: z.string().optional(),
@@ -303,7 +303,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
303
303
  }
304
304
  /** @internal */
305
305
  exports.RetrieveToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
306
- _id: z.string().default("tool_01M6DQTDS73NWYTKC12C1BN9V4"),
306
+ _id: z.string().default("tool_01M6FXGGAT0GK138HCF35XX7F0"),
307
307
  path: z.string(),
308
308
  key: z.string(),
309
309
  display_name: z.string().optional(),
@@ -357,7 +357,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
357
357
  }
358
358
  /** @internal */
359
359
  exports.RetrieveToolResponseBodyFunctionTool$inboundSchema = z.object({
360
- _id: z.string().default("tool_01M6DQTDS7NP5GWWKWXP98R5J0"),
360
+ _id: z.string().default("tool_01M6FXGGATT3FBRMR86GQCCWXY"),
361
361
  path: z.string(),
362
362
  key: z.string(),
363
363
  display_name: z.string().optional(),
@@ -1108,7 +1108,7 @@ function agentToolInputRunSchemaToJSON(agentToolInputRunSchema) {
1108
1108
  }
1109
1109
  /** @internal */
1110
1110
  exports.Tools$outboundSchema = z.object({
1111
- id: z.string().default("01M6DQTDQNJQHZC03BZSDTYX55"),
1111
+ id: z.string().default("01M6FXGG9KF08R86C7601NJTEP"),
1112
1112
  name: z.string(),
1113
1113
  description: z.string().optional(),
1114
1114
  schema: z.lazy(() => exports.AgentToolInputRunSchema$outboundSchema),
@@ -1074,7 +1074,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
1074
1074
  }
1075
1075
  /** @internal */
1076
1076
  exports.AgentToolInputRunTools$outboundSchema = z.object({
1077
- id: z.string().default("01M6DQTDR1RZW23C74FF5R5DBN"),
1077
+ id: z.string().default("01M6FXGG9XAADWM4MZ7D76BDSQ"),
1078
1078
  name: z.string(),
1079
1079
  description: z.string().optional(),
1080
1080
  schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
@@ -536,7 +536,7 @@ function updateToolResponseBodyCodeToolFromJSON(jsonString) {
536
536
  }
537
537
  /** @internal */
538
538
  exports.UpdateToolResponseBodyCodeExecutionTool$inboundSchema = z.object({
539
- _id: z.string().default("tool_01M6DQTDS4EKSEG9DF6ACV0TR1"),
539
+ _id: z.string().default("tool_01M6FXGGARDWTVWYT0M6XAJTB2"),
540
540
  path: z.string(),
541
541
  key: z.string(),
542
542
  display_name: z.string().optional(),
@@ -625,7 +625,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
625
625
  }
626
626
  /** @internal */
627
627
  exports.UpdateToolResponseBodyHTTPTool$inboundSchema = z.object({
628
- _id: z.string().default("tool_01M6DQTDS3HSW54DQDD6H54NJS"),
628
+ _id: z.string().default("tool_01M6FXGGARDNNN37DAV09VDN1H"),
629
629
  path: z.string(),
630
630
  key: z.string(),
631
631
  display_name: z.string().optional(),
@@ -675,7 +675,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
675
675
  }
676
676
  /** @internal */
677
677
  exports.UpdateToolResponseBodyJSONSchemaTool$inboundSchema = z.object({
678
- _id: z.string().default("tool_01M6DQTDS3X7A79W022SF7BXQQ"),
678
+ _id: z.string().default("tool_01M6FXGGARYEE2Q9GTH39NV5ZW"),
679
679
  path: z.string(),
680
680
  key: z.string(),
681
681
  display_name: z.string().optional(),
@@ -729,7 +729,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
729
729
  }
730
730
  /** @internal */
731
731
  exports.UpdateToolResponseBodyFunctionTool$inboundSchema = z.object({
732
- _id: z.string().default("tool_01M6DQTDS34HQRX234WN17HJBV"),
732
+ _id: z.string().default("tool_01M6FXGGAQMRXH984ZGWFTRP54"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.18.0-rc.23",
3
+ "version": "4.18.0-rc.25",
4
4
  "author": "Orq",
5
5
  "exports": {
6
6
  ".": {
package/sdk/classify.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare class Classify extends ClientSDK {
16
16
  *
17
17
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
18
18
  *
19
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
19
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
20
20
  *
21
21
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
22
22
  *
package/sdk/classify.js CHANGED
@@ -23,7 +23,7 @@ class Classify extends sdks_js_1.ClientSDK {
23
23
  *
24
24
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
25
25
  *
26
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
26
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
27
27
  *
28
28
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
29
29
  *
@@ -14,7 +14,7 @@ export declare class Decisions extends ClientSDK {
14
14
  *
15
15
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
16
16
  *
17
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
17
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
18
18
  *
19
19
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
20
20
  */
package/sdk/decisions.js CHANGED
@@ -21,7 +21,7 @@ class Decisions extends sdks_js_1.ClientSDK {
21
21
  *
22
22
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
23
23
  *
24
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
24
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
25
25
  *
26
26
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
27
27
  */
@@ -41,7 +41,7 @@ import { Result } from "../types/fp.js";
41
41
  *
42
42
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
43
43
  *
44
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
44
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
45
45
  *
46
46
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
47
47
  *
@@ -39,7 +39,7 @@ import { Result } from "../types/fp.js";
39
39
  *
40
40
  * Instructions and criteria accept strings or structured JSON. TypeSafe models also accept inline images through `assets` (beta).
41
41
  *
42
- * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
42
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; when `retry` is omitted, the gateway retries twice before moving to the next fallback. The response identifies the model that answered.
43
43
  *
44
44
  * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
45
45
  */
package/src/lib/config.ts CHANGED
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "2.0",
61
- sdkVersion: "4.18.0-rc.23",
61
+ sdkVersion: "4.18.0-rc.25",
62
62
  genVersion: "2.954.8",
63
- userAgent: "speakeasy-sdk/typescript 4.18.0-rc.23 2.954.8 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.18.0-rc.25 2.954.8 2.0 @orq-ai/node",
64
64
  } as const;
@@ -82,7 +82,7 @@ export type AgentStartedStreamingEventConditions = {
82
82
  value: string;
83
83
  };
84
84
 
85
- export type AgentStartedStreamingEventTools = {
85
+ export type Tools = {
86
86
  /**
87
87
  * The id of the resource
88
88
  */
@@ -204,7 +204,7 @@ export type Settings = {
204
204
  * When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
205
205
  */
206
206
  chatExposed?: boolean | undefined;
207
- tools?: Array<AgentStartedStreamingEventTools> | undefined;
207
+ tools?: Array<Tools> | undefined;
208
208
  /**
209
209
  * Configuration for an evaluator applied to the agent
210
210
  */
@@ -341,41 +341,38 @@ export function agentStartedStreamingEventConditionsFromJSON(
341
341
  }
342
342
 
343
343
  /** @internal */
344
- export const AgentStartedStreamingEventTools$inboundSchema: z.ZodType<
345
- AgentStartedStreamingEventTools,
346
- z.ZodTypeDef,
347
- unknown
348
- > = z.object({
349
- id: z.string(),
350
- key: z.string().optional(),
351
- action_type: z.string(),
352
- display_name: z.string().optional(),
353
- description: z.string().optional(),
354
- configuration: z.record(z.any()).optional(),
355
- requires_approval: z.boolean().default(false),
356
- tool_id: z.string().optional(),
357
- whole_server: z.boolean().optional(),
358
- conditions: z.array(
359
- z.lazy(() => AgentStartedStreamingEventConditions$inboundSchema),
360
- ).optional(),
361
- timeout: z.number().optional(),
362
- }).transform((v) => {
363
- return remap$(v, {
364
- "action_type": "actionType",
365
- "display_name": "displayName",
366
- "requires_approval": "requiresApproval",
367
- "tool_id": "toolId",
368
- "whole_server": "wholeServer",
344
+ export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
345
+ .object({
346
+ id: z.string(),
347
+ key: z.string().optional(),
348
+ action_type: z.string(),
349
+ display_name: z.string().optional(),
350
+ description: z.string().optional(),
351
+ configuration: z.record(z.any()).optional(),
352
+ requires_approval: z.boolean().default(false),
353
+ tool_id: z.string().optional(),
354
+ whole_server: z.boolean().optional(),
355
+ conditions: z.array(
356
+ z.lazy(() => AgentStartedStreamingEventConditions$inboundSchema),
357
+ ).optional(),
358
+ timeout: z.number().optional(),
359
+ }).transform((v) => {
360
+ return remap$(v, {
361
+ "action_type": "actionType",
362
+ "display_name": "displayName",
363
+ "requires_approval": "requiresApproval",
364
+ "tool_id": "toolId",
365
+ "whole_server": "wholeServer",
366
+ });
369
367
  });
370
- });
371
368
 
372
- export function agentStartedStreamingEventToolsFromJSON(
369
+ export function toolsFromJSON(
373
370
  jsonString: string,
374
- ): SafeParseResult<AgentStartedStreamingEventTools, SDKValidationError> {
371
+ ): SafeParseResult<Tools, SDKValidationError> {
375
372
  return safeParse(
376
373
  jsonString,
377
- (x) => AgentStartedStreamingEventTools$inboundSchema.parse(JSON.parse(x)),
378
- `Failed to parse 'AgentStartedStreamingEventTools' from JSON`,
374
+ (x) => Tools$inboundSchema.parse(JSON.parse(x)),
375
+ `Failed to parse 'Tools' from JSON`,
379
376
  );
380
377
  }
381
378
 
@@ -456,8 +453,7 @@ export const Settings$inboundSchema: z.ZodType<
456
453
  "respect_tool",
457
454
  ),
458
455
  chat_exposed: z.boolean().optional(),
459
- tools: z.array(z.lazy(() => AgentStartedStreamingEventTools$inboundSchema))
460
- .optional(),
456
+ tools: z.array(z.lazy(() => Tools$inboundSchema)).optional(),
461
457
  evaluators: z.array(z.lazy(() => Evaluators$inboundSchema)).optional(),
462
458
  guardrails: z.array(z.lazy(() => Guardrails$inboundSchema)).optional(),
463
459
  }).transform((v) => {
@@ -13,50 +13,15 @@ import {
13
13
  MessagesSource$outboundSchema,
14
14
  } from "./messagessource.js";
15
15
 
16
- export type AgentTaskConfigMessages = {};
17
-
18
16
  export type AgentTaskConfig = {
19
17
  agentKey?: string | undefined;
20
18
  messagesSource?: MessagesSource | undefined;
21
- messages?: Array<AgentTaskConfigMessages> | undefined;
19
+ messages?: Array<{ [k: string]: any }> | undefined;
22
20
  engine?: string | undefined;
23
21
  parentId?: string | undefined;
24
22
  agentTag?: string | undefined;
25
23
  };
26
24
 
27
- /** @internal */
28
- export const AgentTaskConfigMessages$inboundSchema: z.ZodType<
29
- AgentTaskConfigMessages,
30
- z.ZodTypeDef,
31
- unknown
32
- > = z.object({});
33
- /** @internal */
34
- export type AgentTaskConfigMessages$Outbound = {};
35
-
36
- /** @internal */
37
- export const AgentTaskConfigMessages$outboundSchema: z.ZodType<
38
- AgentTaskConfigMessages$Outbound,
39
- z.ZodTypeDef,
40
- AgentTaskConfigMessages
41
- > = z.object({});
42
-
43
- export function agentTaskConfigMessagesToJSON(
44
- agentTaskConfigMessages: AgentTaskConfigMessages,
45
- ): string {
46
- return JSON.stringify(
47
- AgentTaskConfigMessages$outboundSchema.parse(agentTaskConfigMessages),
48
- );
49
- }
50
- export function agentTaskConfigMessagesFromJSON(
51
- jsonString: string,
52
- ): SafeParseResult<AgentTaskConfigMessages, SDKValidationError> {
53
- return safeParse(
54
- jsonString,
55
- (x) => AgentTaskConfigMessages$inboundSchema.parse(JSON.parse(x)),
56
- `Failed to parse 'AgentTaskConfigMessages' from JSON`,
57
- );
58
- }
59
-
60
25
  /** @internal */
61
26
  export const AgentTaskConfig$inboundSchema: z.ZodType<
62
27
  AgentTaskConfig,
@@ -65,8 +30,7 @@ export const AgentTaskConfig$inboundSchema: z.ZodType<
65
30
  > = z.object({
66
31
  agent_key: z.string().optional(),
67
32
  messages_source: MessagesSource$inboundSchema.optional(),
68
- messages: z.array(z.lazy(() => AgentTaskConfigMessages$inboundSchema))
69
- .optional(),
33
+ messages: z.array(z.record(z.any())).optional(),
70
34
  engine: z.string().optional(),
71
35
  parent_id: z.string().optional(),
72
36
  agent_tag: z.string().optional(),
@@ -82,7 +46,7 @@ export const AgentTaskConfig$inboundSchema: z.ZodType<
82
46
  export type AgentTaskConfig$Outbound = {
83
47
  agent_key?: string | undefined;
84
48
  messages_source?: string | undefined;
85
- messages?: Array<AgentTaskConfigMessages$Outbound> | undefined;
49
+ messages?: Array<{ [k: string]: any }> | undefined;
86
50
  engine?: string | undefined;
87
51
  parent_id?: string | undefined;
88
52
  agent_tag?: string | undefined;
@@ -96,8 +60,7 @@ export const AgentTaskConfig$outboundSchema: z.ZodType<
96
60
  > = z.object({
97
61
  agentKey: z.string().optional(),
98
62
  messagesSource: MessagesSource$outboundSchema.optional(),
99
- messages: z.array(z.lazy(() => AgentTaskConfigMessages$outboundSchema))
100
- .optional(),
63
+ messages: z.array(z.record(z.any())).optional(),
101
64
  engine: z.string().optional(),
102
65
  parentId: z.string().optional(),
103
66
  agentTag: z.string().optional(),