@orq-ai/node 4.16.0-rc.11 → 4.16.0-rc.13

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 (129) hide show
  1. package/funcs/projectsCreate.d.ts +1 -1
  2. package/funcs/projectsCreate.js +1 -1
  3. package/funcs/projectsDelete.d.ts +1 -1
  4. package/funcs/projectsDelete.js +1 -1
  5. package/funcs/projectsUpdate.d.ts +1 -1
  6. package/funcs/projectsUpdate.js +1 -1
  7. package/jsr.json +1 -1
  8. package/lib/config.d.ts +2 -2
  9. package/lib/config.js +2 -2
  10. package/models/components/datasource.d.ts +2 -2
  11. package/models/components/datasourcesservicecreaterequest.d.ts +2 -2
  12. package/models/components/extendedmessage.d.ts +1 -1
  13. package/models/components/filesystem.d.ts +4 -4
  14. package/models/components/filesystem.d.ts.map +1 -1
  15. package/models/components/filesystem.js +2 -1
  16. package/models/components/filesystem.js.map +1 -1
  17. package/models/components/hubitem.d.ts +1 -1
  18. package/models/components/hubitem.d.ts.map +1 -1
  19. package/models/components/hubitem.js +1 -1
  20. package/models/components/hubitem.js.map +1 -1
  21. package/models/components/hubitemsummary.d.ts +1 -1
  22. package/models/components/knowledge.d.ts +2 -2
  23. package/models/components/knowledgechunk.d.ts +1 -1
  24. package/models/components/memory.d.ts +2 -5
  25. package/models/components/memory.d.ts.map +1 -1
  26. package/models/components/memory.js.map +1 -1
  27. package/models/components/reasoningpart.js +1 -1
  28. package/models/components/toolexecutionfailedstreamingevent.d.ts +3 -3
  29. package/models/components/toolexecutionfailedstreamingevent.js +1 -1
  30. package/models/components/toolexecutionfinishedstreamingevent.d.ts +3 -3
  31. package/models/components/toolexecutionfinishedstreamingevent.js +1 -1
  32. package/models/components/toolexecutionstartedstreamingevent.d.ts +3 -3
  33. package/models/components/toolexecutionstartedstreamingevent.js +1 -1
  34. package/models/components/wiki.d.ts +1 -1
  35. package/models/components/wiki.d.ts.map +1 -1
  36. package/models/components/wiki.js +2 -2
  37. package/models/components/wiki.js.map +1 -1
  38. package/models/operations/createagentrequest.d.ts +7 -7
  39. package/models/operations/createagentrequest.js +1 -1
  40. package/models/operations/createchatcompletion.d.ts +2 -2
  41. package/models/operations/createcompletion.d.ts +3 -3
  42. package/models/operations/createimage.d.ts +2 -2
  43. package/models/operations/createimageedit.d.ts +2 -2
  44. package/models/operations/createimagevariation.d.ts +2 -2
  45. package/models/operations/creatererank.d.ts +2 -2
  46. package/models/operations/createspeech.d.ts +2 -2
  47. package/models/operations/createtool.js +4 -4
  48. package/models/operations/createtranscription.d.ts +2 -2
  49. package/models/operations/createtranslation.d.ts +2 -2
  50. package/models/operations/filelist.d.ts +3 -3
  51. package/models/operations/getallmemories.d.ts +1 -1
  52. package/models/operations/getallmemorydocuments.d.ts +1 -1
  53. package/models/operations/getallmemorystores.d.ts +1 -1
  54. package/models/operations/getalltools.js +4 -4
  55. package/models/operations/getv2humanevalsets.js +2 -2
  56. package/models/operations/getv2humanevalsetsid.js +2 -2
  57. package/models/operations/listagents.d.ts +5 -5
  58. package/models/operations/listagents.js +1 -1
  59. package/models/operations/listchunks.d.ts +1 -1
  60. package/models/operations/listdatasources.d.ts +1 -1
  61. package/models/operations/modelcataloglist.d.ts +2 -2
  62. package/models/operations/modelcataloglistofferings.d.ts +2 -2
  63. package/models/operations/patchv2humanevalsetsid.js +2 -2
  64. package/models/operations/postv2feedbackevaluation.js +4 -4
  65. package/models/operations/postv2humanevalsets.js +2 -2
  66. package/models/operations/retrieveagentrequest.d.ts +5 -5
  67. package/models/operations/retrieveagentrequest.js +1 -1
  68. package/models/operations/retrievetool.js +4 -4
  69. package/models/operations/runagent.d.ts +2 -2
  70. package/models/operations/runagent.js +1 -1
  71. package/models/operations/streamrunagent.d.ts +2 -2
  72. package/models/operations/streamrunagent.js +1 -1
  73. package/models/operations/updateagent.d.ts +7 -7
  74. package/models/operations/updateagent.js +1 -1
  75. package/models/operations/updatetool.js +4 -4
  76. package/package.json +8 -8
  77. package/sdk/projects.d.ts +3 -3
  78. package/sdk/projects.js +3 -3
  79. package/src/funcs/projectsCreate.ts +1 -1
  80. package/src/funcs/projectsDelete.ts +1 -1
  81. package/src/funcs/projectsUpdate.ts +1 -1
  82. package/src/lib/config.ts +2 -2
  83. package/src/models/components/datasource.ts +2 -2
  84. package/src/models/components/datasourcesservicecreaterequest.ts +2 -2
  85. package/src/models/components/extendedmessage.ts +1 -1
  86. package/src/models/components/filesystem.ts +6 -5
  87. package/src/models/components/hubitem.ts +2 -2
  88. package/src/models/components/hubitemsummary.ts +1 -1
  89. package/src/models/components/knowledge.ts +2 -2
  90. package/src/models/components/knowledgechunk.ts +1 -1
  91. package/src/models/components/memory.ts +2 -5
  92. package/src/models/components/reasoningpart.ts +1 -1
  93. package/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
  94. package/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
  95. package/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
  96. package/src/models/components/wiki.ts +3 -3
  97. package/src/models/operations/createagentrequest.ts +7 -7
  98. package/src/models/operations/createchatcompletion.ts +2 -2
  99. package/src/models/operations/createcompletion.ts +3 -3
  100. package/src/models/operations/createimage.ts +2 -2
  101. package/src/models/operations/createimageedit.ts +2 -2
  102. package/src/models/operations/createimagevariation.ts +2 -2
  103. package/src/models/operations/creatererank.ts +2 -2
  104. package/src/models/operations/createspeech.ts +2 -2
  105. package/src/models/operations/createtool.ts +4 -4
  106. package/src/models/operations/createtranscription.ts +2 -2
  107. package/src/models/operations/createtranslation.ts +2 -2
  108. package/src/models/operations/filelist.ts +3 -3
  109. package/src/models/operations/getallmemories.ts +1 -1
  110. package/src/models/operations/getallmemorydocuments.ts +1 -1
  111. package/src/models/operations/getallmemorystores.ts +1 -1
  112. package/src/models/operations/getalltools.ts +4 -4
  113. package/src/models/operations/getv2humanevalsets.ts +2 -2
  114. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  115. package/src/models/operations/listagents.ts +5 -5
  116. package/src/models/operations/listchunks.ts +1 -1
  117. package/src/models/operations/listdatasources.ts +1 -1
  118. package/src/models/operations/modelcataloglist.ts +2 -2
  119. package/src/models/operations/modelcataloglistofferings.ts +2 -2
  120. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  121. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  122. package/src/models/operations/postv2humanevalsets.ts +2 -2
  123. package/src/models/operations/retrieveagentrequest.ts +5 -5
  124. package/src/models/operations/retrievetool.ts +4 -4
  125. package/src/models/operations/runagent.ts +3 -3
  126. package/src/models/operations/streamrunagent.ts +3 -3
  127. package/src/models/operations/updateagent.ts +7 -7
  128. package/src/models/operations/updatetool.ts +4 -4
  129. package/src/sdk/projects.ts +3 -3
@@ -269,7 +269,7 @@ export type StreamRunAgentModelConfigurationCacheControl = {
269
269
  ttl?: StreamRunAgentModelConfigurationTtl | undefined;
270
270
  };
271
271
  /**
272
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
272
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
273
273
  */
274
274
  export type StreamRunAgentModelConfigurationParameters = {
275
275
  /**
@@ -409,7 +409,7 @@ export type StreamRunAgentModelConfiguration2 = {
409
409
  */
410
410
  id: string;
411
411
  /**
412
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
412
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
413
413
  */
414
414
  parameters?: StreamRunAgentModelConfigurationParameters | undefined;
415
415
  /**
@@ -1064,7 +1064,7 @@ function streamRunAgentAgentToolInputRunAgentsSchemaToJSON(streamRunAgentAgentTo
1064
1064
  }
1065
1065
  /** @internal */
1066
1066
  exports.AgentToolInputRunTools$outboundSchema = z.object({
1067
- id: z.string().default("01M337FG89BAT3M1VCT7CE9G1Q"),
1067
+ id: z.string().default("01M36FZEAF5WE29P0HE6E4F8VY"),
1068
1068
  name: z.string(),
1069
1069
  description: z.string().optional(),
1070
1070
  schema: z.lazy(() => exports.StreamRunAgentAgentToolInputRunAgentsSchema$outboundSchema),
@@ -269,7 +269,7 @@ export type UpdateAgentModelConfigurationCacheControl = {
269
269
  ttl?: UpdateAgentModelConfigurationTtl | undefined;
270
270
  };
271
271
  /**
272
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
272
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
273
273
  */
274
274
  export type ModelConfigurationParameters = {
275
275
  /**
@@ -409,7 +409,7 @@ export type UpdateAgentModelConfiguration2 = {
409
409
  */
410
410
  id: string;
411
411
  /**
412
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
412
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
413
413
  */
414
414
  parameters?: ModelConfigurationParameters | undefined;
415
415
  /**
@@ -1072,14 +1072,14 @@ export declare const UpdateAgentAgentsEngine: {
1072
1072
  };
1073
1073
  export type UpdateAgentAgentsEngine = ClosedEnum<typeof UpdateAgentAgentsEngine>;
1074
1074
  /**
1075
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1075
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
1076
1076
  */
1077
1077
  export declare const UpdateAgentType: {
1078
1078
  readonly Internal: "internal";
1079
1079
  readonly A2a: "a2a";
1080
1080
  };
1081
1081
  /**
1082
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1082
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
1083
1083
  */
1084
1084
  export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
1085
1085
  /**
@@ -1499,7 +1499,7 @@ export type UpdateAgentCacheControl = {
1499
1499
  ttl: UpdateAgentTtl;
1500
1500
  };
1501
1501
  /**
1502
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1502
+ * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1503
1503
  */
1504
1504
  export type UpdateAgentParameters = {
1505
1505
  /**
@@ -2054,7 +2054,7 @@ export type UpdateAgentModel = {
2054
2054
  */
2055
2055
  integrationId?: string | null | undefined;
2056
2056
  /**
2057
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2057
+ * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2058
2058
  */
2059
2059
  parameters?: UpdateAgentParameters | null | undefined;
2060
2060
  /**
@@ -2125,7 +2125,7 @@ export type UpdateAgentResponseBody = {
2125
2125
  source?: UpdateAgentSource | undefined;
2126
2126
  engine: UpdateAgentAgentsEngine;
2127
2127
  /**
2128
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
2128
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
2129
2129
  */
2130
2130
  type: UpdateAgentType;
2131
2131
  role: string;
@@ -364,7 +364,7 @@ exports.UpdateAgentAgentsEngine = {
364
364
  Mustache: "mustache",
365
365
  };
366
366
  /**
367
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
367
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
368
368
  */
369
369
  exports.UpdateAgentType = {
370
370
  Internal: "internal",
@@ -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_01M337FG9F2V1TTXHNW37JFSKE"),
539
+ _id: z.string().default("tool_01M36FZECJKVNDVZ201CV5WDNZ"),
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_01M337FG9E3HTNZADXNR2AMXPE"),
628
+ _id: z.string().default("tool_01M36FZECH97PZ2NK02460NE52"),
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_01M337FG9ERJ69CCRZ8SF8C63A"),
678
+ _id: z.string().default("tool_01M36FZECHK6BYCX8VM8JG8PPZ"),
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_01M337FG9E1WNSNZ3RY2GYDFH9"),
732
+ _id: z.string().default("tool_01M36FZECGJMVH0D4QEFZM65XN"),
733
733
  path: z.string(),
734
734
  key: z.string(),
735
735
  display_name: z.string().optional(),
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@orq-ai/node",
3
- "version": "4.16.0-rc.11",
3
+ "version": "4.16.0-rc.13",
4
4
  "author": "Orq",
5
5
  "exports": {
6
+ ".": {
7
+ "import": "./index.js",
8
+ "require": "./index.js",
9
+ "types": "./index.d.ts"
10
+ },
11
+ "./*": "./*",
6
12
  "./langchain": {
7
13
  "import": "./langchain/index.mjs",
8
14
  "require": "./langchain/index.js",
9
15
  "types": "./langchain/index.d.mts"
10
- },
11
- ".": {
12
- "require": "./index.js",
13
- "types": "./index.d.ts",
14
- "import": "./index.js"
15
- },
16
- "./*": "./*"
16
+ }
17
17
  },
18
18
  "main": "./index.js",
19
19
  "sideEffects": false,
package/sdk/projects.d.ts CHANGED
@@ -13,7 +13,7 @@ export declare class Projects extends ClientSDK {
13
13
  * Create a new project
14
14
  *
15
15
  * @remarks
16
- * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
16
+ * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
17
17
  */
18
18
  create(request: components.CreateProjectRequest, options?: RequestOptions): Promise<components.CreateProjectResponse>;
19
19
  /**
@@ -27,14 +27,14 @@ export declare class Projects extends ClientSDK {
27
27
  * Delete a project
28
28
  *
29
29
  * @remarks
30
- * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
30
+ * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
31
31
  */
32
32
  delete(request: operations.ProjectDeleteRequest, options?: RequestOptions): Promise<components.DeleteProjectResponse>;
33
33
  /**
34
34
  * Update a project
35
35
  *
36
36
  * @remarks
37
- * Updates the specified project by setting the values of the parameters passed. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
37
+ * Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
38
38
  */
39
39
  update(request: operations.ProjectUpdateRequest, options?: RequestOptions): Promise<components.UpdateProjectResponse>;
40
40
  }
package/sdk/projects.js CHANGED
@@ -25,7 +25,7 @@ class Projects extends sdks_js_1.ClientSDK {
25
25
  * Create a new project
26
26
  *
27
27
  * @remarks
28
- * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
28
+ * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
29
29
  */
30
30
  async create(request, options) {
31
31
  return (0, fp_js_1.unwrapAsync)((0, projectsCreate_js_1.projectsCreate)(this, request, options));
@@ -43,7 +43,7 @@ class Projects extends sdks_js_1.ClientSDK {
43
43
  * Delete a project
44
44
  *
45
45
  * @remarks
46
- * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
46
+ * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
47
47
  */
48
48
  async delete(request, options) {
49
49
  return (0, fp_js_1.unwrapAsync)((0, projectsDelete_js_1.projectsDelete)(this, request, options));
@@ -52,7 +52,7 @@ class Projects extends sdks_js_1.ClientSDK {
52
52
  * Update a project
53
53
  *
54
54
  * @remarks
55
- * Updates the specified project by setting the values of the parameters passed. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
55
+ * Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
56
56
  */
57
57
  async update(request, options) {
58
58
  return (0, fp_js_1.unwrapAsync)((0, projectsUpdate_js_1.projectsUpdate)(this, request, options));
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * Create a new project
30
30
  *
31
31
  * @remarks
32
- * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
32
+ * Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
33
33
  */
34
34
  export function projectsCreate(
35
35
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Delete a project
31
31
  *
32
32
  * @remarks
33
- * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
33
+ * Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
34
34
  */
35
35
  export function projectsDelete(
36
36
  client: OrqCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Update a project
31
31
  *
32
32
  * @remarks
33
- * Updates the specified project by setting the values of the parameters passed. Requires a key with write access to Projects (management key or API key), or an admin session. Project-scoped API keys are rejected.
33
+ * Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
34
34
  */
35
35
  export function projectsUpdate(
36
36
  client: OrqCore,
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.16.0-rc.11",
61
+ sdkVersion: "4.16.0-rc.13",
62
62
  genVersion: "2.938.0",
63
- userAgent: "speakeasy-sdk/typescript 4.16.0-rc.11 2.938.0 2.0 @orq-ai/node",
63
+ userAgent: "speakeasy-sdk/typescript 4.16.0-rc.13 2.938.0 2.0 @orq-ai/node",
64
64
  } as const;
@@ -30,7 +30,7 @@ export type DatasourceStatus = ClosedEnum<typeof DatasourceStatus>;
30
30
  export type Datasource = {
31
31
  displayName: string;
32
32
  /**
33
- * The description of the knowledge base
33
+ * The description of the datasource
34
34
  */
35
35
  description?: string | null | undefined;
36
36
  status: DatasourceStatus;
@@ -51,7 +51,7 @@ export type Datasource = {
51
51
  knowledgeId: string;
52
52
  chunksCount: number;
53
53
  /**
54
- * Additive compatibility fields formerly available only from database-shaped responses.
54
+ * Processing attempts recorded for the datasource.
55
55
  */
56
56
  processingAttempts?: Array<ProcessingAttempt> | undefined;
57
57
  metadata?: CountMetadata | undefined;
@@ -23,13 +23,13 @@ import {
23
23
  export type DatasourcesServiceCreateRequest = {
24
24
  displayName?: string | undefined;
25
25
  /**
26
- * The description of the knowledge base
26
+ * The description of the datasource
27
27
  */
28
28
  description?: string | null | undefined;
29
29
  fileId?: string | undefined;
30
30
  chunkingOptions?: DatasourceChunkingOptions | undefined;
31
31
  /**
32
- * Compatibility fields used by the former datasource shell/legacy route.
32
+ * Optional datasource ID. When omitted, the server generates one.
33
33
  */
34
34
  id?: string | undefined;
35
35
  attachment?: DatasourceAttachment | undefined;
@@ -45,7 +45,7 @@ export type ExtendedMessageParts =
45
45
  | ToolResultPart;
46
46
 
47
47
  /**
48
- * Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with Orquesta-specific features.
48
+ * Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with orq.ai-specific features.
49
49
  */
50
50
  export type ExtendedMessage = {
51
51
  kind: ExtendedMessageKind;
@@ -14,10 +14,6 @@ import {
14
14
  import { Sharing, Sharing$inboundSchema } from "./sharing.js";
15
15
 
16
16
  export type FileSystem = {
17
- /**
18
- * The unique identifier of the file system
19
- */
20
- id?: string | undefined;
21
17
  /**
22
18
  * The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
23
19
  */
@@ -70,6 +66,10 @@ export type FileSystem = {
70
66
  * When usage was last measured. Absent until first metered.
71
67
  */
72
68
  lastMeteredAt?: string | null | undefined;
69
+ /**
70
+ * The unique identifier of the file system
71
+ */
72
+ id: string;
73
73
  };
74
74
 
75
75
  /** @internal */
@@ -78,7 +78,6 @@ export const FileSystem$inboundSchema: z.ZodType<
78
78
  z.ZodTypeDef,
79
79
  unknown
80
80
  > = z.object({
81
- id: z.string().optional(),
82
81
  key: z.string(),
83
82
  display_name: z.string(),
84
83
  description: z.string(),
@@ -92,6 +91,7 @@ export const FileSystem$inboundSchema: z.ZodType<
92
91
  used_bytes: z.nullable(z.string()).optional(),
93
92
  used_inodes: z.nullable(z.string()).optional(),
94
93
  last_metered_at: z.nullable(z.string()).optional(),
94
+ _id: z.string(),
95
95
  }).transform((v) => {
96
96
  return remap$(v, {
97
97
  "display_name": "displayName",
@@ -102,6 +102,7 @@ export const FileSystem$inboundSchema: z.ZodType<
102
102
  "used_bytes": "usedBytes",
103
103
  "used_inodes": "usedInodes",
104
104
  "last_metered_at": "lastMeteredAt",
105
+ "_id": "id",
105
106
  });
106
107
  });
107
108
 
@@ -22,7 +22,7 @@ export type HubItem = {
22
22
  /**
23
23
  * Unique hub item ID.
24
24
  */
25
- id?: string | undefined;
25
+ id: string;
26
26
  /**
27
27
  * ID of the workspace entity represented by this hub item.
28
28
  */
@@ -103,7 +103,7 @@ export function promptFromJSON(
103
103
  /** @internal */
104
104
  export const HubItem$inboundSchema: z.ZodType<HubItem, z.ZodTypeDef, unknown> =
105
105
  z.object({
106
- id: z.string().optional(),
106
+ id: z.string(),
107
107
  entity_id: z.string(),
108
108
  display_name: z.string(),
109
109
  description: z.string(),
@@ -14,7 +14,7 @@ export type HubItemSummary = {
14
14
  */
15
15
  id: string;
16
16
  /**
17
- * ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the Typesense index.
17
+ * ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the search index.
18
18
  */
19
19
  entityId?: string | undefined;
20
20
  /**
@@ -127,7 +127,7 @@ export type Knowledge2 = {
127
127
  retrievalSettings?: KnowledgeRetrievalSettings | undefined;
128
128
  externalConfig: ExternalConfig;
129
129
  /**
130
- * Additive compatibility fields formerly available only from private internal endpoints.
130
+ * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
131
131
  */
132
132
  settings?: KnowledgeSettings | undefined;
133
133
  metadata?: KnowledgeMetadata | undefined;
@@ -252,7 +252,7 @@ export type Knowledge1 = {
252
252
  */
253
253
  model: string;
254
254
  /**
255
- * Additive compatibility fields formerly available only from private internal endpoints.
255
+ * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
256
256
  */
257
257
  settings?: KnowledgeSettings | undefined;
258
258
  metadata?: KnowledgeMetadata | undefined;
@@ -53,7 +53,7 @@ export type KnowledgeChunk = {
53
53
  */
54
54
  updateById?: string | null | undefined;
55
55
  /**
56
- * Additive compatibility fields from the database document.
56
+ * Processing attempts recorded for the chunk.
57
57
  */
58
58
  processingAttempts?: Array<ProcessingAttempt> | undefined;
59
59
  countMetadata?: CountMetadata | undefined;
@@ -22,14 +22,11 @@ export type Memory = {
22
22
  storeId: string;
23
23
  workspaceId: string;
24
24
  /**
25
- * The number of memories in the entity
25
+ * The number of documents in the entity
26
26
  */
27
27
  documentsCount: number;
28
28
  /**
29
- * Present on update responses in the live TypeScript implementation even
30
- *
31
- * @remarks
32
- * though the legacy generated OpenAPI schema omitted it.
29
+ * Key-value metadata for the memory.
33
30
  */
34
31
  metadata?: { [k: string]: string } | undefined;
35
32
  /**
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m337fg6xwrwet1n3qqy5w2hn"),
43
+ _id: z.string().default("reasoning_01m36fze80dmpdh3yehn775t27"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -15,7 +15,7 @@ export type ErrorT = {
15
15
  };
16
16
 
17
17
  /**
18
- * Orquesta product
18
+ * orq.ai product
19
19
  */
20
20
  export const ToolExecutionFailedStreamingEventProduct = {
21
21
  Remoteconfigs: "remoteconfigs",
@@ -38,7 +38,7 @@ export const ToolExecutionFailedStreamingEventProduct = {
38
38
  McpGateway: "mcp_gateway",
39
39
  } as const;
40
40
  /**
41
- * Orquesta product
41
+ * orq.ai product
42
42
  */
43
43
  export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<
44
44
  typeof ToolExecutionFailedStreamingEventProduct
@@ -55,7 +55,7 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
55
55
  agentManifestId: string;
56
56
  agentExecutionId: string;
57
57
  /**
58
- * Orquesta product
58
+ * orq.ai product
59
59
  */
60
60
  product: ToolExecutionFailedStreamingEventProduct;
61
61
  memory?: ToolExecutionFailedStreamingEventMemory | undefined;
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * Orquesta product
13
+ * orq.ai product
14
14
  */
15
15
  export const ToolExecutionFinishedStreamingEventProduct = {
16
16
  Remoteconfigs: "remoteconfigs",
@@ -33,7 +33,7 @@ export const ToolExecutionFinishedStreamingEventProduct = {
33
33
  McpGateway: "mcp_gateway",
34
34
  } as const;
35
35
  /**
36
- * Orquesta product
36
+ * orq.ai product
37
37
  */
38
38
  export type ToolExecutionFinishedStreamingEventProduct = ClosedEnum<
39
39
  typeof ToolExecutionFinishedStreamingEventProduct
@@ -50,7 +50,7 @@ export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
50
50
  agentManifestId: string;
51
51
  agentExecutionId: string;
52
52
  /**
53
- * Orquesta product
53
+ * orq.ai product
54
54
  */
55
55
  product: ToolExecutionFinishedStreamingEventProduct;
56
56
  memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * Orquesta product
13
+ * orq.ai product
14
14
  */
15
15
  export const Product = {
16
16
  Remoteconfigs: "remoteconfigs",
@@ -33,7 +33,7 @@ export const Product = {
33
33
  McpGateway: "mcp_gateway",
34
34
  } as const;
35
35
  /**
36
- * Orquesta product
36
+ * orq.ai product
37
37
  */
38
38
  export type Product = ClosedEnum<typeof Product>;
39
39
 
@@ -48,7 +48,7 @@ export type ToolExecutionContext = {
48
48
  agentManifestId: string;
49
49
  agentExecutionId: string;
50
50
  /**
51
- * Orquesta product
51
+ * orq.ai product
52
52
  */
53
53
  product: Product;
54
54
  memory?: ToolExecutionStartedStreamingEventMemory | undefined;
@@ -23,7 +23,7 @@ export type Wiki = {
23
23
  branch?: string | undefined;
24
24
  scmConnectionId?: string | undefined;
25
25
  settings?: WikiSettings | undefined;
26
- automationId?: string | undefined;
26
+ loopId?: string | undefined;
27
27
  status?: string | undefined;
28
28
  currentRunId?: string | undefined;
29
29
  lastGeneratedCommit?: string | undefined;
@@ -46,7 +46,7 @@ export const Wiki$inboundSchema: z.ZodType<Wiki, z.ZodTypeDef, unknown> = z
46
46
  branch: z.string().optional(),
47
47
  scm_connection_id: z.string().optional(),
48
48
  settings: WikiSettings$inboundSchema.optional(),
49
- automation_id: z.string().optional(),
49
+ loop_id: z.string().optional(),
50
50
  status: z.string().optional(),
51
51
  current_run_id: z.string().optional(),
52
52
  last_generated_commit: z.string().optional(),
@@ -69,7 +69,7 @@ export const Wiki$inboundSchema: z.ZodType<Wiki, z.ZodTypeDef, unknown> = z
69
69
  "display_name": "displayName",
70
70
  "repository_key": "repositoryKey",
71
71
  "scm_connection_id": "scmConnectionId",
72
- "automation_id": "automationId",
72
+ "loop_id": "loopId",
73
73
  "current_run_id": "currentRunId",
74
74
  "last_generated_commit": "lastGeneratedCommit",
75
75
  "last_generated_at": "lastGeneratedAt",
@@ -312,7 +312,7 @@ export type ModelConfigurationCacheControl = {
312
312
  };
313
313
 
314
314
  /**
315
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
315
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
316
316
  */
317
317
  export type ParametersT = {
318
318
  /**
@@ -462,7 +462,7 @@ export type ModelConfiguration2 = {
462
462
  */
463
463
  id: string;
464
464
  /**
465
- * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-1, randomness), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
465
+ * Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
466
466
  */
467
467
  parameters?: ParametersT | undefined;
468
468
  /**
@@ -1241,14 +1241,14 @@ export type CreateAgentRequestEngine = ClosedEnum<
1241
1241
  >;
1242
1242
 
1243
1243
  /**
1244
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1244
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
1245
1245
  */
1246
1246
  export const CreateAgentRequestType = {
1247
1247
  Internal: "internal",
1248
1248
  A2a: "a2a",
1249
1249
  } as const;
1250
1250
  /**
1251
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
1251
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
1252
1252
  */
1253
1253
  export type CreateAgentRequestType = ClosedEnum<typeof CreateAgentRequestType>;
1254
1254
 
@@ -1736,7 +1736,7 @@ export type CreateAgentRequestCacheControl = {
1736
1736
  };
1737
1737
 
1738
1738
  /**
1739
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1739
+ * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
1740
1740
  */
1741
1741
  export type CreateAgentRequestParameters = {
1742
1742
  /**
@@ -2411,7 +2411,7 @@ export type Model = {
2411
2411
  */
2412
2412
  integrationId?: string | null | undefined;
2413
2413
  /**
2414
- * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2414
+ * Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
2415
2415
  */
2416
2416
  parameters?: CreateAgentRequestParameters | null | undefined;
2417
2417
  /**
@@ -2484,7 +2484,7 @@ export type CreateAgentRequestResponseBody = {
2484
2484
  source?: CreateAgentRequestSource | undefined;
2485
2485
  engine: CreateAgentRequestEngine;
2486
2486
  /**
2487
- * Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
2487
+ * Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
2488
2488
  */
2489
2489
  type: CreateAgentRequestType;
2490
2490
  role: string;
@@ -1379,7 +1379,7 @@ export type CreateChatCompletionLoadBalancerRouterChatCompletions1 = {
1379
1379
  };
1380
1380
 
1381
1381
  /**
1382
- * Array of models with weights for load balancing requests
1382
+ * Load balancer configuration for the request.
1383
1383
  */
1384
1384
  export type CreateChatCompletionRouterChatCompletionsLoadBalancer =
1385
1385
  CreateChatCompletionLoadBalancerRouterChatCompletions1;
@@ -1444,7 +1444,7 @@ export type Orq = {
1444
1444
  cache?: CreateChatCompletionRouterChatCompletionsCache | undefined;
1445
1445
  knowledgeBases?: Array<CreateChatCompletionKnowledgeBases> | undefined;
1446
1446
  /**
1447
- * Array of models with weights for load balancing requests
1447
+ * Load balancer configuration for the request.
1448
1448
  */
1449
1449
  loadBalancer?:
1450
1450
  | CreateChatCompletionLoadBalancerRouterChatCompletions1