@or-sdk/agents 4.20.0-beta.4074.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.20.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/agents@4.19.0...@or-sdk/agents@4.20.0) (2026-04-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * **@or-sdk/agents:** add guardrail identifier to AgentModelOptions type ([4986f19](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/4986f196d6efeb99620d71bc8d6e2ab3ecdbd49f))
12
+
13
+
14
+
6
15
  ## [4.19.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/agents@4.18.2...@or-sdk/agents@4.19.0) (2026-03-20)
7
16
 
8
17
 
@@ -9,80 +9,15 @@ export declare class Agents extends Base {
9
9
  constructor(params: AgentsConfig);
10
10
  private makeRequest;
11
11
  parseError(err: unknown): Error;
12
- /**
13
- * Create a new agent.
14
- * @param params - The agent creation parameters.
15
- * @param options - The API call options.
16
- * @returns The created agent.
17
- */
18
12
  createAgent(params: CreateAgent, options?: CallOptions): Promise<Agent>;
19
- /**
20
- * Find agents with optional pagination and query.
21
- * @param params - Optional find parameters.
22
- * @param options - The API call options.
23
- * @returns An array of agents.
24
- */
25
13
  findAgents(params?: FindAgentsOptions, options?: CallOptions): Promise<List<Agent>>;
26
- /**
27
- * Get an agent by its ID.
28
- * @param agentId - The ID of the agent to retrieve.
29
- * @param options - The API call options.
30
- * @returns The retrieved agent.
31
- */
32
14
  getAgent(agentId: string, params?: GetAgentParams, options?: CallOptions): Promise<Agent>;
33
- /**
34
- * Get an agent by its ID.
35
- * @param agentId - The ID of the agent to retrieve.
36
- * @param options - The API call options.
37
- * @returns The retrieved agent.
38
- */
39
15
  getAgentVersions(agentId: string, options?: CallOptions): Promise<AgentVersion[]>;
40
- /**
41
- * Update an agent by its ID.
42
- * @param agentId - The ID of the agent to update.
43
- * @param params - The update agent parameters.
44
- * @param options - The API call options.
45
- * @returns The updated agent.
46
- */
47
16
  updateAgent(agentId: string, params: UpdateAgent, options?: CallOptions): Promise<Agent>;
48
- /**
49
- * Delete an agent by its ID.
50
- * @param agentId - The ID of the agent to delete.
51
- * @param options - The API call options.
52
- * @returns The deleted agent.
53
- */
54
17
  deleteAgent(agentId: string, options?: CallOptions): Promise<Agent>;
55
- /**
56
- * Releases agent's development version by ID.
57
- * @param agentId - The ID of the agent to delete.
58
- * @param data - The release label and notes.
59
- * @param options - The API call options.
60
- */
61
18
  releaseAgent(agentId: string, data: ReleaseVersion, options?: CallOptions): Promise<void>;
62
- /**
63
- * Set an agent action.
64
- * @param agentId - The ID of the agent to delete.
65
- * @param params - Set action params.
66
- * @param options - The API call options.
67
- * @returns The deleted agent.
68
- */
69
19
  setAgentAction(agentId: string, params: AgentAction, options?: CallOptions): Promise<AgentAction>;
70
- /**
71
- * Delete an agent action.
72
- * @param agentId - The ID of the agent to delete.
73
- * @param actionName - Set action params.
74
- * @param options - The API call options.
75
- * @returns The deleted agent.
76
- */
77
20
  deleteAgentAction(agentId: string, actionName: string, options?: CallOptions): Promise<AgentAction>;
78
- /**
79
- * Retrieves a list of agent executions for a given agent.
80
- *
81
- * @param agentId - The ID of the agent.
82
- * @param params - Optional parameters for pagination (size, from etc).
83
- * @param options - Optional call options.
84
- * @returns A promise that resolves to an array of objects.
85
- */
86
21
  getAgentExecutionList(agentId: string, params?: {
87
22
  size?: number;
88
23
  from?: number;
@@ -96,169 +31,38 @@ export declare class Agents extends Base {
96
31
  to?: Date;
97
32
  };
98
33
  }, options?: CallOptions): Promise<ExecutionList>;
99
- /**
100
- * Retrieves the execution details of a specific agent.
101
- *
102
- * @param agentId - The ID of the agent.
103
- * @param executionId - The ID of the execution.
104
- * @param options - Additional options for the API call.
105
- * @returns A Promise that resolves to the AgentExecutionHistory object representing the execution details.
106
- */
107
34
  getAgentExecution(agentId: string, executionId: string, params?: {
108
35
  orderBy?: string;
109
36
  order?: 'ASC' | 'DESC';
110
37
  }, options?: CallOptions): Promise<Execution>;
111
- /**
112
- * Partially updates an execution belonging to an agent.
113
- *
114
- * This method performs a PATCH request and updates only the provided fields.
115
- * Currently, the API supports patching the `summary` field.
116
- *
117
- * @param agentId - The ID of the agent that owns the execution.
118
- * @param executionId - The ID of the execution to patch.
119
- * @param patch - Partial execution data to update (currently: `summary`).
120
- * @param options - Optional request options.
121
- * @returns A promise that resolves when the patch operation completes.
122
- */
123
38
  patchAgentExecution(agentId: string, executionId: string, patch: {
124
39
  summary?: string;
125
40
  }, options?: CallOptions): Promise<unknown>;
126
- /**
127
- * Deletes an agent execution.
128
- * @param agentId - The ID of the agent.
129
- * @param executionId - The ID of the execution.
130
- * @param options - Optional call options.
131
- * @returns A promise that resolves to the deleted agent action.
132
- */
133
41
  deleteAgentExecution(agentId: string, executionId: string, options?: CallOptions): Promise<unknown>;
134
- /**
135
- * Runs an agent with the specified agent ID and parameters.
136
- *
137
- * @param agentId - The ID of the agent to run.
138
- * @param executionId - The execution ID of the agent to run.
139
- * @param params - The parameters for running the agent.
140
- * @param options - The optional call options.
141
- * @returns A promise that resolves to the response of running the agent.
142
- */
143
42
  runAgent(agentId: string, executionId: string, params: RunAgentParams, options?: CallOptions): Promise<RunAgentResponse>;
144
- /**
145
- * Set the session ID.
146
- * @param sessionId - The session ID to set.
147
- * @returns The session ID.
148
- */
149
43
  setSessionId(sessionId: string): string;
150
- /**
151
- * Find agents with optional pagination and query.
152
- * @param params - Optional find parameters.
153
- * @param options - The API call options.
154
- * @returns An array of agents.
155
- */
156
44
  findTemplates(params?: FindTemplatesOptions, options?: CallOptions): Promise<List<Partial<Template>>>;
157
- /**
158
- * Get a template by its ID.
159
- * @param templateId - The ID of the template to retrieve.
160
- * @param options - The API call options.
161
- * @returns The retrieved template.
162
- */
163
45
  getTemplate(templateId: string, options?: CallOptions): Promise<Template>;
164
- /**
165
- * Create a new template.
166
- * @param params - The template creation parameters.
167
- * @param options - The API call options.
168
- * @returns The created template.
169
- */
170
46
  createTemplate(params: CreateTemplateParams, options?: CallOptions): Promise<Template>;
171
- /**
172
- * Delete a template by its ID.
173
- * @param templateId - The ID of the template to update.
174
- * @param params - The update template parameters.
175
- * @param options - The API call options.
176
- * @returns The updated template.
177
- */
178
47
  deleteTemplate(templateId: string, options?: CallOptions): Promise<Template>;
179
- /**
180
- * Get markdown for passed url
181
- * @param url - The web page url.
182
- * @param question - The question to search.
183
- * @param options - The API call options.
184
- * @returns The markdown page passages.
185
- */
186
48
  htmlToPassages(url: string, question: string, options?: CallOptions): Promise<string[]>;
187
- /**
188
- * Creates one or multiple agent test cases by sending a POST request to the 'agents/testing' endpoint.
189
- *
190
- * @param cases - A single test case or an array of test cases to be created.
191
- * @returns A promise that resolves to an array of created test cases.
192
- */
193
49
  createAgentTestCase(cases: CreateTestCase | CreateTestCase[]): Promise<TestCase | TestCase[]>;
194
- /**
195
- * Updates an existing agent test case with the specified parameters.
196
- *
197
- * @param testCaseId - The unique identifier of the test case to update.
198
- * @param params - The updated test case data.
199
- * @param options - Optional call options for the request.
200
- * @returns A promise that resolves to the updated test case.
201
- */
202
50
  updateAgentTestCase(testCaseId: string, params: Partial<CreateTestCase>, options?: CallOptions): Promise<TestCase>;
203
- /**
204
- * Deletes a specific agent test case by its ID.
205
- *
206
- * @param testCaseId - The unique identifier of the test case to delete.
207
- * @param options - Optional call options to customize the request.
208
- * @returns A promise that resolves to the deleted test case object.
209
- */
210
51
  deleteAgentTestCase(testCaseId: string, options?: CallOptions): Promise<TestCase>;
211
- /**
212
- * Fetches the test cases for a specific agent version.
213
- *
214
- * @param agentId - The unique identifier of the agent.
215
- * @param agentVersionId - The unique identifier of the agent version.
216
- * @param params - Optional query parameters to include in the request.
217
- * @param options - Optional call options for the request.
218
- * @returns A promise that resolves to an array of test cases.
219
- */
220
52
  fetchAgentTestCases(params: {
221
53
  agentId: string;
222
54
  agentVersionId: string;
223
55
  }, options?: CallOptions): Promise<TestCase[]>;
224
- /**
225
- * Executes a set of test cases for a specific agent and its version.
226
- *
227
- * @param data - The input data required to run the test cases.
228
- * @param data.agentId - The unique identifier of the agent.
229
- * @param data.agentVersionId - The unique identifier of the agent's version.
230
- * @param data.testCaseIds - An array of test case IDs to be executed.
231
- * @returns A promise that resolves to an array of `TestCase` objects representing the results of the executed test cases.
232
- */
233
56
  runAgentTestCase(data: {
234
57
  agentId: string;
235
58
  agentVersionId: string;
236
59
  testCaseIds: string[];
237
60
  }): Promise<TestCase[]>;
238
- /**
239
- * Terminates one or more agent test cases for a specific agent and version.
240
- *
241
- * @param data - An object containing the following properties:
242
- * - agentId: The unique identifier of the agent.
243
- * - agentVersionId: The unique identifier of the agent version.
244
- * - testCaseIds: An array of test case IDs to terminate.
245
- * @returns A promise that resolves to an array of terminated `TestCase` objects.
246
- */
247
61
  terminateAgentTestCase(data: {
248
62
  agentId: string;
249
63
  agentVersionId: string;
250
64
  testCaseIds: string[];
251
65
  }): Promise<TestCase[]>;
252
- /**
253
- *
254
- * @param agentId Id of an agent to configure
255
- * @param agentVersionId VersionId of the agent
256
- * @param executionId ExecutionId to create a session
257
- * @param flowId FlowId from where session was created
258
- * @param overrides Overrides to merge
259
- * @param option Call options
260
- * @returns Configured agent
261
- */
262
66
  configureAgent(agentId: string, agentVersionId: string, executionId: string, flowId: string, overrides: Partial<Agent>, options?: CallOptions): Promise<Agent>;
263
67
  createResponse(requestBody: OpenAI.Responses.ResponseCreateParamsNonStreaming & Record<string, unknown>): Promise<OpenAI.Responses.Response & {
264
68
  _request_id?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Agents.d.ts","sourceRoot":"","sources":["../../src/Agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAgB,IAAI,EAAY,MAAM,cAAc,CA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,MAAM,EACd,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,EACzB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,KAAK,CAAC;IAcX,cAAc,CAClB,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;CAgB3F"}
@@ -2,271 +2,84 @@ import { List, OrderDirection, Token } from '@or-sdk/base';
2
2
  import type { Bot } from '@or-sdk/bots';
3
3
  import type { Flow } from '@or-sdk/deployer';
4
4
  export declare enum ActivityKind {
5
- /** An observation made by the agent. */
6
5
  Observation = "OBSERVATION",
7
- /** A thought process of the agent. */
8
6
  Thought = "THOUGHT",
9
- /** An action taken by the agent. */
10
7
  Action = "ACTION"
11
8
  }
12
- /**
13
- * Represents an activity performed by the agent, such as an observation, thought, or action.
14
- */
15
9
  export type AgentActivity = {
16
- /**
17
- * The input or content of the activity.
18
- */
19
10
  input: string;
20
- /**
21
- * The kind of activity.
22
- */
23
11
  kind: ActivityKind;
24
12
  };
25
- /**
26
- * Defines call options for asynchronous operations, including the ability to cancel them.
27
- */
28
13
  export type CallOptions = {
29
- /**
30
- * An optional AbortSignal to cancel the request.
31
- */
32
14
  signal?: AbortSignal;
33
15
  };
34
- /**
35
- * Configuration options required for initializing agents, including authentication and service URLs.
36
- */
37
16
  export type AgentsConfig = {
38
- /**
39
- * Authentication token for service access.
40
- */
41
17
  token: Token;
42
- /**
43
- * Optional URL for the OneReach service discovery API.
44
- */
45
18
  discoveryUrl?: string;
46
- /**
47
- * Optional account ID for making cross-account requests. This is typically required for super admin users.
48
- */
49
19
  accountId?: string;
50
- /**
51
- * Optional URL of the OneReach lookup API.
52
- */
53
20
  serviceUrl?: string;
54
- /**
55
- * Optional feature name for the agent. Defaults to 'master' if not provided.
56
- */
57
21
  feature?: string;
58
- /**
59
- * Flow SessionID (Used for correct tracking)
60
- */
61
22
  sessionId?: string;
62
- /**
63
- * Flow beginningSessionId (Used for correct tracking)
64
- */
65
23
  beginningSessionId?: string;
66
24
  };
67
- /**
68
- * Options for configuring the behavior and output of the agent's underlying language model.
69
- */
70
25
  export type AgentModelOptions = {
71
- /**
72
- * Controls the randomness of the output. Higher values may lead to more creative responses.
73
- */
74
26
  temperature: number;
75
- /**
76
- * The maximum length of the output generated by the language model.
77
- */
78
27
  maxTokens: number;
79
- /**
80
- * Adjusts the likelihood of the model repeating the same line of thinking.
81
- */
82
28
  frequencyPenalty: number;
83
- /**
84
- * Discourages the model from using tokens already present in the text.
85
- */
86
29
  presencePenalty: number;
87
- /**
88
- * Specifies the name of the large language model to use.
89
- */
90
30
  modelName: string;
91
- /**
92
- * Specifies the name of the provider to use for the agent.
93
- */
94
31
  provider: string;
95
- /**
96
- * Specifies the name of the token to use for the agent.
97
- */
98
32
  tokenName?: string;
99
- /**
100
- * Specifies the API type to use for the agent.
101
- */
102
33
  apiType?: APIType;
103
- /**
104
- * Specifies the guardrail identifier to use for the agent.
105
- */
106
34
  guardrailIdentifier?: string;
107
35
  };
108
- /**
109
- * Describes an example of how an agent action could be used, including a description and relevant activities.
110
- */
111
36
  export type ActionExample = {
112
- /**
113
- * A brief description of what the example demonstrates.
114
- */
115
37
  description: string;
116
- /**
117
- * A series of activities associated with the example.
118
- */
119
38
  activities: AgentActivity[];
120
39
  };
121
- /**
122
- * Defines an action that an agent can perform, including querying and mutation operations.
123
- */
124
40
  export type AgentAction = {
125
- /**
126
- * The name of the action.
127
- */
128
41
  name: string;
129
- /**
130
- * A detailed description of the action.
131
- */
132
42
  description: string;
133
- /**
134
- * The type definitions associated with the action, described in a schema language.
135
- */
136
43
  typeDefs: string;
137
44
  typeDefsCodeMode?: boolean;
138
- /**
139
- * Optional examples that illustrate how the action can be used.
140
- */
141
45
  examples?: ActionExample[];
142
- /**
143
- * Allow to disable the action.
144
- */
145
46
  disabled?: boolean;
146
- /**
147
- * Json example of input and result of the action in JSON format
148
- */
149
47
  outputExample: {
150
48
  result: Record<string, unknown>;
151
49
  input: Record<string, unknown>;
152
50
  };
153
51
  };
154
- /**
155
- * Represents a digital agent capable of performing actions and processing information based on a given model.
156
- */
157
52
  export type Agent = {
158
- /**
159
- * Unique identifier for the agent.
160
- */
161
53
  id: string;
162
- /**
163
- * The account ID associated with the agent.
164
- */
165
54
  accountId: string;
166
- /**
167
- * The name of the agent, which must start with a capital letter.
168
- */
169
55
  name: string;
170
- /**
171
- * Optional description of the agent's purpose and capabilities.
172
- */
173
56
  description: string;
174
- /**
175
- * URL to an image representing the agent.
176
- */
177
57
  image: string;
178
- /**
179
- * Optional metadata associated with the agent.
180
- */
181
58
  meta?: Record<string, unknown>;
182
- /**
183
- * A list of actions the agent is capable of performing.
184
- */
185
59
  actions: AgentAction[];
186
- /**
187
- * The readonly definitions associated with the all the actions, described in a schema language.
188
- */
189
60
  typeDefs: string;
190
- /**
191
- * A description of the objective or goal the agent is designed to achieve.
192
- */
193
61
  objective: string;
194
- /**
195
- * Configuration options for the agent's model, affecting performance and output.
196
- */
197
62
  model: AgentModelOptions;
198
- /**
199
- * The date and time when the agent was created.
200
- */
201
63
  createdAt: string | Date;
202
- /**
203
- * The date and time when the agent was last updated.
204
- */
205
64
  updatedAt: string | Date;
206
- /**
207
- * A starter history of historical interactions or activities for the agent, which can influence its behavior.
208
- */
209
65
  starterHistory: AgentActivity[];
210
- /**
211
- * Knowledge lookup collections
212
- */
213
66
  collections?: {
214
67
  id: string;
215
68
  name: string;
216
69
  }[];
217
- /**
218
- * Allow to use web search
219
- */
220
70
  webSearch?: boolean;
221
- /**
222
- * Scenario Graph source
223
- */
224
71
  scenarioGraphSource: ScenarioGraph;
225
- /**
226
- * Scenario Graph code in GraphViz
227
- */
228
72
  scenarioGraphCode: string;
229
- /**
230
- * Agent's memory definitions
231
- */
232
73
  memoryDefs: string;
233
74
  memoryCodeMode: boolean;
234
- /**
235
- * Agent's memory example in JSON format, generated from memoryDefs
236
- */
237
75
  memoryExample: Record<string, unknown>;
238
- /**
239
- * Agent version's release notes
240
- */
241
76
  releaseNotes?: string;
242
- /**
243
- * Agent version's release date
244
- */
245
77
  releasedAt?: string | Date;
246
- /**
247
- * Agent version's date of creation
248
- */
249
78
  versionCreatedAt: string | Date;
250
- /**
251
- * Agent version's ID
252
- */
253
79
  versionId: string;
254
- /**
255
- * Agent version's label
256
- */
257
80
  versionLabel: string;
258
- /**
259
- * Agent version's date of update
260
- */
261
81
  versionUpdatedAt: string | Date;
262
- /**
263
- * List of available agent versions meta info
264
- */
265
82
  versions: VersionMeta[];
266
- /**
267
- * Collaboration agents
268
- * version ID is optional for use the latest development version
269
- */
270
83
  collaborationAgents: {
271
84
  id: string;
272
85
  name: string;
@@ -274,244 +87,82 @@ export type Agent = {
274
87
  flowId?: string;
275
88
  disabled: boolean;
276
89
  }[];
277
- /**
278
- * Collaboration definitions
279
- */
280
90
  collaborationDefs: string;
281
- /**
282
- * Collaboration example in JSON format, generated from collaborationDefs
283
- */
284
91
  collaborationExample: {
285
92
  result: Record<string, unknown>;
286
93
  input: Record<string, unknown>;
287
94
  };
288
- /**
289
- * The maximum number of iterations the agent can perform.
290
- */
291
95
  maxIterations?: number;
292
- /**
293
- * The maximum number of retries for actions.
294
- */
295
96
  maxRetries?: number;
296
- /**
297
- * The maximum number of activities present in LLM prompt.
298
- */
299
97
  historyLength?: number;
300
98
  };
301
99
  export type VersionMeta = {
302
- /**
303
- * Agent version's release date
304
- */
305
100
  releasedAt?: string | Date;
306
- /**
307
- * Agent version's release notes
308
- */
309
101
  releaseNotes?: string;
310
- /**
311
- * Agent version's date of update
312
- */
313
102
  updatedBy: string;
314
- /**
315
- * Agent version's ID
316
- */
317
103
  versionId: string;
318
- /**
319
- * Agent version's label
320
- */
321
104
  versionLabel: string;
322
- /**
323
- * Agent version's date of update
324
- */
325
105
  versionUpdatedAt: string | Date;
326
106
  };
327
- /**
328
- * Defines the properties that can be modified when updating an existing agent.
329
- */
330
107
  export type UpdateAgent = Partial<Omit<Agent, 'id' | 'createdAt' | 'updatedAt' | 'accountId' | 'typeDefs'>>;
331
- /**
332
- * Defines the properties required to create a new agent, excluding those automatically assigned upon creation.
333
- */
334
108
  export type CreateAgent = Pick<Agent, 'name'> & UpdateAgent;
335
- /**
336
- * Options for querying the list of agents, including search parameters and pagination controls.
337
- */
338
109
  export type FindAgentsOptions = {
339
- /**
340
- * Pagination offset for retrieving a subset of agents.
341
- */
342
110
  from?: number;
343
- /**
344
- * Maximum number of agents to retrieve per page.
345
- */
346
111
  size?: number;
347
- /**
348
- * Text query for searching agents by name, description, or other attributes.
349
- */
350
112
  query?: string | {
351
113
  meta: Record<string, unknown>;
352
114
  };
353
- /**
354
- * The property name by which to order the results.
355
- */
356
115
  orderProperty?: string;
357
- /**
358
- * The direction in which to order the results, either ascending or descending.
359
- */
360
116
  orderDirection?: OrderDirection;
361
117
  };
362
- /**
363
- * Represents a list of executions, including metadata for pagination and record retrieval.
364
- */
365
118
  export type ExecutionList = List<{
366
- /**
367
- * Unique identifier for the agent execution.
368
- */
369
119
  id: string;
370
- /**
371
- * Summary from first user message
372
- */
373
120
  summary?: string;
374
- /**
375
- * Flow ID
376
- */
377
121
  flowId?: string;
378
- /**
379
- * Agent ID
380
- */
381
122
  agentId: string;
382
- /**
383
- * Used completion tokens
384
- */
385
123
  totalCompletionTokens: number;
386
- /**
387
- * Used prompt tokens
388
- */
389
124
  totalPromptTokens: number;
390
- /**
391
- * Created date
392
- */
393
125
  createdAt: string;
394
- /**
395
- * Updated date
396
- */
397
126
  updatedAt: string;
398
127
  }>;
399
128
  export type Execution = {
400
129
  history: (AgentActivity & {
401
- /**
402
- * Sequence number of the activity in the execution.
403
- */
404
130
  id?: number;
405
- /**
406
- * Created date
407
- */
408
131
  createdAt: string;
409
- /**
410
- * Updated date
411
- */
412
132
  updatedAt: string;
413
- /**
414
- * Agent overrides
415
- */
416
133
  overrides: Partial<Agent> & {
417
134
  memory: Record<string, unknown>;
418
135
  task: Record<string, unknown>;
419
136
  };
420
- /**
421
- * Model params
422
- */
423
137
  model: Partial<AgentModelOptions>;
424
138
  })[];
425
- /**
426
- * Used completion tokens
427
- */
428
139
  totalCompletionTokens: number;
429
- /**
430
- * Used prompt tokens
431
- */
432
140
  totalPromptTokens: number;
433
- /**
434
- * Flow ID
435
- */
436
141
  flowId?: string;
437
142
  };
438
- /**
439
- * Parameters for running an agent, including optional agent properties and execution context.
440
- */
441
143
  export type RunAgentParams = Partial<Agent> & {
442
- /**
443
- * A list of activities or events that have occurred prior to running the agent, influencing its behavior.
444
- */
445
144
  history: AgentActivity[];
446
- /**
447
- * Optional identifier for the event triggering the agent execution.
448
- */
449
145
  eventId?: string;
450
- /**
451
- * Optional objective or goal for the agent to achieve during execution.
452
- */
453
146
  objective?: string;
454
- /**
455
- * Optional version ID of the agent to run.
456
- */
457
147
  versionId?: string;
458
- /**
459
- * Optional context for the agent execution.
460
- */
461
148
  memory?: Record<string, unknown>;
462
- /**
463
- * Optional context for collaboration.
464
- */
465
149
  task?: Record<string, unknown>;
466
150
  };
467
- /**
468
- * Response from running an agent, including execution results and metadata.
469
- */
470
151
  export type RunAgentResponse = {
471
- /**
472
- * Results of the agent execution, organized by action name and containing input data.
473
- */
474
152
  results: {
475
- /**
476
- * Data generated by the agent execution, keyed by action name.
477
- */
478
153
  data: {
479
154
  [actionName: string]: {
480
- /**
481
- * Name of the action performed by the agent.
482
- */
483
155
  action: string;
484
- /**
485
- * Input data provided to the agent for the action.
486
- */
487
156
  input: object;
488
157
  };
489
158
  };
490
159
  };
491
- /**
492
- * Unique identifier for the agent execution.
493
- */
494
160
  executionId: string;
495
- /**
496
- * Optional identifier for the event triggering the agent execution.
497
- */
498
161
  eventId?: string;
499
- /**
500
- * All history of run agent during execution
501
- **/
502
162
  history: Execution['history'];
503
163
  };
504
- /**
505
- * Defines the type of API to use for agent interactions.
506
- */
507
164
  export declare enum APIType {
508
- /**
509
- * Use the Responses API.
510
- */
511
165
  Responses = "Responses",
512
- /**
513
- * Use the ChatCompletion API.
514
- */
515
166
  ChatCompletion = "ChatCompletion"
516
167
  }
517
168
  export declare enum TemplateTypeEnum {
@@ -570,9 +221,6 @@ export type CreateTemplateParams = {
570
221
  }[];
571
222
  type?: TemplateTypeEnum;
572
223
  };
573
- /**
574
- * Represents a node in a scenario graph.
575
- */
576
224
  export type Node = {
577
225
  id: string;
578
226
  label: string;
@@ -588,9 +236,6 @@ export type Node = {
588
236
  y: number;
589
237
  };
590
238
  };
591
- /**
592
- * Represents a connection between two nodes in a scenario graph.
593
- */
594
239
  export type Connection = {
595
240
  id: string;
596
241
  source: string;
@@ -598,110 +243,40 @@ export type Connection = {
598
243
  target: string;
599
244
  targetInput: string;
600
245
  };
601
- /**
602
- * Represents a scenario graph, consisting of nodes and connections.
603
- */
604
246
  export type ScenarioGraph = {
605
247
  nodes?: Node[];
606
248
  connections?: Connection[];
607
249
  };
608
- /**
609
- * Represents required meta information for the version to be released
610
- */
611
250
  export type ReleaseVersion = {
612
- /**
613
- * Released version label
614
- */
615
251
  label: string;
616
- /**
617
- * Release notes
618
- */
619
252
  notes: string;
620
253
  };
621
254
  export type GetAgentParams = {
622
- /**
623
- * Id of agent version, if absent, development version will be used.
624
- */
625
255
  versionId?: string;
626
- /**
627
- * Available accounts to switch to if agent is found there
628
- */
629
256
  availableAccounts?: string[];
630
257
  };
631
258
  export type AgentVersion = {
632
- /**
633
- * Agent version's ID
634
- */
635
259
  versionId: string;
636
- /**
637
- * Agent version's release date
638
- */
639
260
  releasedAt: string | null;
640
- /**
641
- * Agent version's label
642
- */
643
261
  versionLabel: string;
644
- /**
645
- * Release notes for the agent version
646
- */
647
262
  releaseNotes: string;
648
- /**
649
- * Agent version's date of creation
650
- */
651
263
  versionUpdatedAt: string;
652
- /**
653
- * Updated by user
654
- */
655
264
  updatedBy: string | null;
656
265
  };
657
266
  export type TestCase = {
658
- /**
659
- * Unique identifier for the test case.
660
- */
661
267
  id: string;
662
- /**
663
- * Created date
664
- */
665
268
  updatedAt?: Date;
666
- /**
667
- * Updated date
668
- */
669
269
  createdAt?: Date;
670
- /**
671
- * The ID of the agent associated with the test case.
672
- */
673
270
  agentId: string;
674
- /**
675
- * The ID of the agent version associated with the test case.
676
- */
677
271
  agentVersionId: string;
678
- /**
679
- * estimated history example
680
- */
681
272
  steps: AgentActivity[];
682
- /**
683
- * short summary of the test case
684
- */
685
273
  summary: string;
686
- /**
687
- * detailed description of the test case
688
- */
689
274
  description: string;
690
- /**
691
- * number of retries for the test case
692
- */
693
275
  retries: number;
694
- /**
695
- * context for the test case
696
- * this context will be used to run the test case
697
- */
698
276
  context?: {
699
277
  memory?: Record<string, unknown>;
700
278
  task?: Record<string, unknown>;
701
279
  };
702
- /**
703
- * The expected output of the test case.
704
- */
705
280
  testResults?: TestResult[];
706
281
  };
707
282
  export type CreateTestCase = Omit<TestCase, 'id' | 'createdAt' | 'updatedAt' | 'testResults'>;
@@ -716,41 +291,13 @@ export declare enum TestResultVerdict {
716
291
  TERMINATED = "TERMINATED"
717
292
  }
718
293
  export type TestResult = {
719
- /**
720
- * Unique identifier for the test result.
721
- */
722
294
  id: string;
723
- /**
724
- * The ID of the test case associated with the test result.
725
- */
726
295
  testCaseId: string;
727
- /**
728
- * Created date
729
- */
730
296
  updatedAt?: Date;
731
- /**
732
- * Updated date
733
- */
734
297
  createdAt?: Date;
735
- /**
736
- * execution ID of the test case
737
- */
738
298
  executionId?: string;
739
- /**
740
- * Current status of the test result.
741
- * Possible values include 'PENDING', 'PASSED', and 'FAILED'.
742
- * 'PENDING' indicates that the test case is still running.
743
- * 'PASSED' indicates that the test case has passed successfully.
744
- * 'FAILED' indicates that the test case has failed.
745
- */
746
299
  status: TestResultVerdict;
747
- /**
748
- * Prompt that will be used for agent improvements based on testing results.
749
- */
750
300
  improvePrompt?: string;
751
- /**
752
- * The expected output of the test case.
753
- */
754
301
  result?: {
755
302
  executions: {
756
303
  executionId: string;
@@ -768,9 +315,6 @@ export type TestResult = {
768
315
  overallVerdict: TestResultVerdict;
769
316
  overallScore: number;
770
317
  };
771
- /**
772
- * The actual output of the test case.
773
- */
774
318
  error?: Record<string, unknown>;
775
319
  };
776
320
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,MAAM,CAAC,OAAO,MAAM,YAAY;IAC9B,wCAAwC;IACxC,WAAW,gBAAgB;IAC3B,sCAAsC;IACtC,OAAO,YAAY;IACnB,oCAAoC;IACpC,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH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iB,CAAC;IAK1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,MAAM,CAAC,EAAE;QAMP,UAAU,EAAE;YACV,WAAW,EAAE,MAAM,CAAC;YACpB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,KAAK,EAAE;gBACL,kBAAkB,EAAE,MAAM,CAAC;gBAC3B,OAAO,EAAE,iBAAiB,CAAC;gBAC3B,SAAS,EAAE,MAAM,CAAC;gBAClB,KAAK,EAAE,MAAM,CAAC;aACf,EAAE,CAAC;YAIJ,cAAc,EAAE,iBAAiB,CAAC;YAClC,YAAY,EAAE,MAAM,CAAC;YACrB,SAAS,CAAC,EAAE,MAAM,CAAA;SACnB,EAAE,CAAC;QAMJ,cAAc,EAAE,iBAAiB,CAAC;QAClC,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IAKF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/agents",
3
- "version": "4.20.0-beta.4074.0",
3
+ "version": "4.20.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -36,5 +36,6 @@
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
- }
39
+ },
40
+ "gitHead": "f9ac69c126ec4552e93fd88144582db0dc4c2840"
40
41
  }