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