@or-sdk/agents 4.23.0 → 4.23.1-beta.4364.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/dist/types/types.d.ts +0 -502
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +23 -24
package/dist/types/types.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -529,29 +180,14 @@ export type Template = {
|
|
|
529
180
|
type: TemplateTypeEnum;
|
|
530
181
|
version: string;
|
|
531
182
|
data: {
|
|
532
|
-
/**
|
|
533
|
-
* Original request that was used to create the template
|
|
534
|
-
*/
|
|
535
183
|
originalRequest: CreateTemplateParams;
|
|
536
|
-
/**
|
|
537
|
-
* Agent that was used to create the template
|
|
538
|
-
*/
|
|
539
184
|
agent: Agent;
|
|
540
|
-
/**
|
|
541
|
-
* Auxiliary agents that were used to create the template
|
|
542
|
-
*/
|
|
543
185
|
auxiliaryAgents: Agent[];
|
|
544
|
-
/**
|
|
545
|
-
* Bots that were used to create the template
|
|
546
|
-
*/
|
|
547
186
|
bots: {
|
|
548
187
|
id: string;
|
|
549
188
|
bot: Bot;
|
|
550
189
|
flows: Flow[];
|
|
551
190
|
}[];
|
|
552
|
-
/**
|
|
553
|
-
* Lookups that were used to create the template
|
|
554
|
-
*/
|
|
555
191
|
lookup: {
|
|
556
192
|
collectionId: string;
|
|
557
193
|
collection: Record<string, unknown>;
|
|
@@ -561,9 +197,6 @@ export type Template = {
|
|
|
561
197
|
passages: Record<string, unknown>[];
|
|
562
198
|
}[];
|
|
563
199
|
}[];
|
|
564
|
-
/**
|
|
565
|
-
* Postgres data that was used to create the template
|
|
566
|
-
*/
|
|
567
200
|
postgres: {
|
|
568
201
|
sql: string;
|
|
569
202
|
data: Record<string, unknown>[];
|
|
@@ -574,50 +207,19 @@ export type Template = {
|
|
|
574
207
|
};
|
|
575
208
|
};
|
|
576
209
|
export type CreateTemplateParams = {
|
|
577
|
-
/**
|
|
578
|
-
* Agent ID from sandbox account
|
|
579
|
-
* all data must be created in sandbox account
|
|
580
|
-
*/
|
|
581
210
|
agentId: string;
|
|
582
|
-
/**
|
|
583
|
-
* Agent version ID
|
|
584
|
-
*/
|
|
585
211
|
agentVersionId?: string;
|
|
586
|
-
/**
|
|
587
|
-
* Auxiliary agents IDs
|
|
588
|
-
*/
|
|
589
212
|
auxiliaryAgentsIds: {
|
|
590
213
|
id: string;
|
|
591
214
|
versionId?: string;
|
|
592
215
|
}[];
|
|
593
|
-
/**
|
|
594
|
-
* Bot IDs
|
|
595
|
-
*/
|
|
596
216
|
botIds: string[];
|
|
597
|
-
/**
|
|
598
|
-
* Flow IDs
|
|
599
|
-
*/
|
|
600
217
|
flowIds?: string[];
|
|
601
|
-
/**
|
|
602
|
-
* Collection IDs
|
|
603
|
-
*/
|
|
604
218
|
collectionIds?: string[];
|
|
605
|
-
/**
|
|
606
|
-
* Document IDs
|
|
607
|
-
*/
|
|
608
219
|
documentIds?: string[];
|
|
609
|
-
/**
|
|
610
|
-
* Postgres data
|
|
611
|
-
*/
|
|
612
220
|
postgres: Template['data']['postgres'];
|
|
613
|
-
/**
|
|
614
|
-
* Template type
|
|
615
|
-
*/
|
|
616
221
|
type: TemplateTypeEnum;
|
|
617
222
|
};
|
|
618
|
-
/**
|
|
619
|
-
* Represents a node in a scenario graph.
|
|
620
|
-
*/
|
|
621
223
|
export type Node = {
|
|
622
224
|
id: string;
|
|
623
225
|
label: string;
|
|
@@ -633,9 +235,6 @@ export type Node = {
|
|
|
633
235
|
y: number;
|
|
634
236
|
};
|
|
635
237
|
};
|
|
636
|
-
/**
|
|
637
|
-
* Represents a connection between two nodes in a scenario graph.
|
|
638
|
-
*/
|
|
639
238
|
export type Connection = {
|
|
640
239
|
id: string;
|
|
641
240
|
source: string;
|
|
@@ -643,110 +242,40 @@ export type Connection = {
|
|
|
643
242
|
target: string;
|
|
644
243
|
targetInput: string;
|
|
645
244
|
};
|
|
646
|
-
/**
|
|
647
|
-
* Represents a scenario graph, consisting of nodes and connections.
|
|
648
|
-
*/
|
|
649
245
|
export type ScenarioGraph = {
|
|
650
246
|
nodes?: Node[];
|
|
651
247
|
connections?: Connection[];
|
|
652
248
|
};
|
|
653
|
-
/**
|
|
654
|
-
* Represents required meta information for the version to be released
|
|
655
|
-
*/
|
|
656
249
|
export type ReleaseVersion = {
|
|
657
|
-
/**
|
|
658
|
-
* Released version label
|
|
659
|
-
*/
|
|
660
250
|
label: string;
|
|
661
|
-
/**
|
|
662
|
-
* Release notes
|
|
663
|
-
*/
|
|
664
251
|
notes: string;
|
|
665
252
|
};
|
|
666
253
|
export type GetAgentParams = {
|
|
667
|
-
/**
|
|
668
|
-
* Id of agent version, if absent, development version will be used.
|
|
669
|
-
*/
|
|
670
254
|
versionId?: string;
|
|
671
|
-
/**
|
|
672
|
-
* Available accounts to switch to if agent is found there
|
|
673
|
-
*/
|
|
674
255
|
availableAccounts?: string[];
|
|
675
256
|
};
|
|
676
257
|
export type AgentVersion = {
|
|
677
|
-
/**
|
|
678
|
-
* Agent version's ID
|
|
679
|
-
*/
|
|
680
258
|
versionId: string;
|
|
681
|
-
/**
|
|
682
|
-
* Agent version's release date
|
|
683
|
-
*/
|
|
684
259
|
releasedAt: string | null;
|
|
685
|
-
/**
|
|
686
|
-
* Agent version's label
|
|
687
|
-
*/
|
|
688
260
|
versionLabel: string;
|
|
689
|
-
/**
|
|
690
|
-
* Release notes for the agent version
|
|
691
|
-
*/
|
|
692
261
|
releaseNotes: string;
|
|
693
|
-
/**
|
|
694
|
-
* Agent version's date of creation
|
|
695
|
-
*/
|
|
696
262
|
versionUpdatedAt: string;
|
|
697
|
-
/**
|
|
698
|
-
* Updated by user
|
|
699
|
-
*/
|
|
700
263
|
updatedBy: string | null;
|
|
701
264
|
};
|
|
702
265
|
export type TestCase = {
|
|
703
|
-
/**
|
|
704
|
-
* Unique identifier for the test case.
|
|
705
|
-
*/
|
|
706
266
|
id: string;
|
|
707
|
-
/**
|
|
708
|
-
* Created date
|
|
709
|
-
*/
|
|
710
267
|
updatedAt?: Date;
|
|
711
|
-
/**
|
|
712
|
-
* Updated date
|
|
713
|
-
*/
|
|
714
268
|
createdAt?: Date;
|
|
715
|
-
/**
|
|
716
|
-
* The ID of the agent associated with the test case.
|
|
717
|
-
*/
|
|
718
269
|
agentId: string;
|
|
719
|
-
/**
|
|
720
|
-
* The ID of the agent version associated with the test case.
|
|
721
|
-
*/
|
|
722
270
|
agentVersionId: string;
|
|
723
|
-
/**
|
|
724
|
-
* estimated history example
|
|
725
|
-
*/
|
|
726
271
|
steps: AgentActivity[];
|
|
727
|
-
/**
|
|
728
|
-
* short summary of the test case
|
|
729
|
-
*/
|
|
730
272
|
summary: string;
|
|
731
|
-
/**
|
|
732
|
-
* detailed description of the test case
|
|
733
|
-
*/
|
|
734
273
|
description: string;
|
|
735
|
-
/**
|
|
736
|
-
* number of retries for the test case
|
|
737
|
-
*/
|
|
738
274
|
retries: number;
|
|
739
|
-
/**
|
|
740
|
-
* context for the test case
|
|
741
|
-
* this context will be used to run the test case
|
|
742
|
-
*/
|
|
743
275
|
context?: {
|
|
744
276
|
memory?: Record<string, unknown>;
|
|
745
277
|
task?: Record<string, unknown>;
|
|
746
278
|
};
|
|
747
|
-
/**
|
|
748
|
-
* The expected output of the test case.
|
|
749
|
-
*/
|
|
750
279
|
testResults?: TestResult[];
|
|
751
280
|
};
|
|
752
281
|
export type CreateTestCase = Omit<TestCase, 'id' | 'createdAt' | 'updatedAt' | 'testResults'>;
|
|
@@ -761,41 +290,13 @@ export declare enum TestResultVerdict {
|
|
|
761
290
|
TERMINATED = "TERMINATED"
|
|
762
291
|
}
|
|
763
292
|
export type TestResult = {
|
|
764
|
-
/**
|
|
765
|
-
* Unique identifier for the test result.
|
|
766
|
-
*/
|
|
767
293
|
id: string;
|
|
768
|
-
/**
|
|
769
|
-
* The ID of the test case associated with the test result.
|
|
770
|
-
*/
|
|
771
294
|
testCaseId: string;
|
|
772
|
-
/**
|
|
773
|
-
* Created date
|
|
774
|
-
*/
|
|
775
295
|
updatedAt?: Date;
|
|
776
|
-
/**
|
|
777
|
-
* Updated date
|
|
778
|
-
*/
|
|
779
296
|
createdAt?: Date;
|
|
780
|
-
/**
|
|
781
|
-
* execution ID of the test case
|
|
782
|
-
*/
|
|
783
297
|
executionId?: string;
|
|
784
|
-
/**
|
|
785
|
-
* Current status of the test result.
|
|
786
|
-
* Possible values include 'PENDING', 'PASSED', and 'FAILED'.
|
|
787
|
-
* 'PENDING' indicates that the test case is still running.
|
|
788
|
-
* 'PASSED' indicates that the test case has passed successfully.
|
|
789
|
-
* 'FAILED' indicates that the test case has failed.
|
|
790
|
-
*/
|
|
791
298
|
status: TestResultVerdict;
|
|
792
|
-
/**
|
|
793
|
-
* Prompt that will be used for agent improvements based on testing results.
|
|
794
|
-
*/
|
|
795
299
|
improvePrompt?: string;
|
|
796
|
-
/**
|
|
797
|
-
* The expected output of the test case.
|
|
798
|
-
*/
|
|
799
300
|
result?: {
|
|
800
301
|
executions: {
|
|
801
302
|
executionId: string;
|
|
@@ -813,9 +314,6 @@ export type TestResult = {
|
|
|
813
314
|
overallVerdict: TestResultVerdict;
|
|
814
315
|
overallScore: number;
|
|
815
316
|
};
|
|
816
|
-
/**
|
|
817
|
-
* The actual output of the test case.
|
|
818
|
-
*/
|
|
819
317
|
error?: Record<string, unknown>;
|
|
820
318
|
};
|
|
821
319
|
//# 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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AAU,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.23.0",
|
|
3
|
+
"version": "4.23.1-beta.4364.0",
|
|
4
4
|
"description": "OneReach SDK client for Agents",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -12,6 +12,26 @@
|
|
|
12
12
|
"README.md",
|
|
13
13
|
"CHANGELOG.md"
|
|
14
14
|
],
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@graphql-tools/merge": "^9.0.7",
|
|
17
|
+
"@graphql-tools/schema": "^10.0.6",
|
|
18
|
+
"dedent": "^1.5.3",
|
|
19
|
+
"graphql": "^16.9.0",
|
|
20
|
+
"graphql-tag": "^2.12.6",
|
|
21
|
+
"openai": "^6.45.0",
|
|
22
|
+
"@or-sdk/bots": "^1.9.1-beta.4364.0",
|
|
23
|
+
"@or-sdk/deployer": "^1.9.1-beta.4364.0",
|
|
24
|
+
"@or-sdk/base": "^0.45.1-beta.4364.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"concurrently": "^9.2.0",
|
|
28
|
+
"msw": "^2.11.3",
|
|
29
|
+
"typescript": "^5.6.2",
|
|
30
|
+
"vitest": "^4.1.10"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
15
35
|
"scripts": {
|
|
16
36
|
"build": "concurrently 'pnpm:build:*(!watch|docs)'",
|
|
17
37
|
"build:cjs": "tsc --project tsconfig.json",
|
|
@@ -25,26 +45,5 @@
|
|
|
25
45
|
"clean": "rm -rf ./dist ./.docs",
|
|
26
46
|
"coverage": "vitest run --coverage",
|
|
27
47
|
"dev": "pnpm build:watch:esm"
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
"@graphql-tools/merge": "^9.0.7",
|
|
31
|
-
"@graphql-tools/schema": "^10.0.6",
|
|
32
|
-
"@or-sdk/base": "^0.45.0",
|
|
33
|
-
"@or-sdk/bots": "^1.9.0",
|
|
34
|
-
"@or-sdk/deployer": "^1.9.0",
|
|
35
|
-
"dedent": "^1.5.3",
|
|
36
|
-
"graphql": "^16.9.0",
|
|
37
|
-
"graphql-tag": "^2.12.6",
|
|
38
|
-
"openai": "^6.45.0"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"concurrently": "catalog:",
|
|
42
|
-
"msw": "catalog:",
|
|
43
|
-
"typescript": "catalog:",
|
|
44
|
-
"vitest": "catalog:"
|
|
45
|
-
},
|
|
46
|
-
"publishConfig": {
|
|
47
|
-
"access": "public"
|
|
48
|
-
},
|
|
49
|
-
"gitHead": "8eaa35a7b5a2f0f86e0f18b5abd42ad3218a6b14"
|
|
50
|
-
}
|
|
48
|
+
}
|
|
49
|
+
}
|