@lssm/example.agent-console 0.0.0-canary-20251207012602 → 0.0.0-canary-20251207013726
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +6 -6
- package/dist/contracts/agent.d.ts +223 -223
- package/dist/contracts/run.d.ts +277 -277
- package/dist/contracts/tool.d.ts +155 -155
- package/dist/entities/agent.d.ts +36 -36
- package/dist/entities/log.d.ts +17 -17
- package/dist/entities/run.d.ts +60 -60
- package/dist/entities/tool.d.ts +22 -22
- package/dist/events.d.ts +245 -245
- package/dist/handlers/agent.handlers.d.ts +1 -1
- package/dist/presentations/index.d.ts +2 -2
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/events.d.ts
CHANGED
|
@@ -1,963 +1,963 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema152 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const ToolCreatedPayload:
|
|
5
|
+
declare const ToolCreatedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
6
6
|
id: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
organizationId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
name: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
slug: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
category: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
implementationType: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
createdById: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
createdAt: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
39
39
|
/**
|
|
40
40
|
* ToolCreatedEvent - A new tool was created
|
|
41
41
|
*/
|
|
42
|
-
declare const ToolCreatedEvent:
|
|
42
|
+
declare const ToolCreatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
43
43
|
id: {
|
|
44
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
organizationId: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
name: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
slug: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
category: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
implementationType: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
createdById: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
69
69
|
isOptional: true;
|
|
70
70
|
};
|
|
71
71
|
createdAt: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
}>>;
|
|
76
|
-
declare const ToolUpdatedPayload:
|
|
76
|
+
declare const ToolUpdatedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
77
77
|
id: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
organizationId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
name: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
status: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
updatedFields: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
95
95
|
isArray: true;
|
|
96
96
|
isOptional: false;
|
|
97
97
|
};
|
|
98
98
|
updatedAt: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
}>;
|
|
103
103
|
/**
|
|
104
104
|
* ToolUpdatedEvent - A tool was updated
|
|
105
105
|
*/
|
|
106
|
-
declare const ToolUpdatedEvent:
|
|
106
|
+
declare const ToolUpdatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
107
107
|
id: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
organizationId: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
name: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
status: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
updatedFields: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
125
125
|
isArray: true;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
updatedAt: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
}>>;
|
|
133
|
-
declare const ToolStatusChangedPayload:
|
|
133
|
+
declare const ToolStatusChangedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
134
134
|
id: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
organizationId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
name: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
previousStatus: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
newStatus: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
changedAt: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
}>;
|
|
159
159
|
/**
|
|
160
160
|
* ToolStatusChangedEvent - A tool's status was changed
|
|
161
161
|
*/
|
|
162
|
-
declare const ToolStatusChangedEvent:
|
|
162
|
+
declare const ToolStatusChangedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
163
163
|
id: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
organizationId: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
name: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
previousStatus: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
newStatus: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
changedAt: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
}>>;
|
|
188
|
-
declare const AgentCreatedPayload:
|
|
188
|
+
declare const AgentCreatedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
189
189
|
id: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
192
192
|
};
|
|
193
193
|
organizationId: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
name: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
slug: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
modelProvider: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
modelName: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
toolCount: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
createdById: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
219
219
|
isOptional: true;
|
|
220
220
|
};
|
|
221
221
|
createdAt: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
}>;
|
|
226
226
|
/**
|
|
227
227
|
* AgentCreatedEvent - A new agent was created
|
|
228
228
|
*/
|
|
229
|
-
declare const AgentCreatedEvent:
|
|
229
|
+
declare const AgentCreatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
230
230
|
id: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
organizationId: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
name: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
slug: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
modelProvider: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
modelName: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
toolCount: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
createdById: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
260
260
|
isOptional: true;
|
|
261
261
|
};
|
|
262
262
|
createdAt: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
}>>;
|
|
267
|
-
declare const AgentUpdatedPayload:
|
|
267
|
+
declare const AgentUpdatedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
268
268
|
id: {
|
|
269
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
organizationId: {
|
|
273
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
274
274
|
isOptional: false;
|
|
275
275
|
};
|
|
276
276
|
name: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
278
278
|
isOptional: false;
|
|
279
279
|
};
|
|
280
280
|
status: {
|
|
281
|
-
type:
|
|
281
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
282
282
|
isOptional: false;
|
|
283
283
|
};
|
|
284
284
|
updatedFields: {
|
|
285
|
-
type:
|
|
285
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
286
286
|
isArray: true;
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
updatedAt: {
|
|
290
|
-
type:
|
|
290
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
291
291
|
isOptional: false;
|
|
292
292
|
};
|
|
293
293
|
}>;
|
|
294
294
|
/**
|
|
295
295
|
* AgentUpdatedEvent - An agent was updated
|
|
296
296
|
*/
|
|
297
|
-
declare const AgentUpdatedEvent:
|
|
297
|
+
declare const AgentUpdatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
298
298
|
id: {
|
|
299
|
-
type:
|
|
299
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
300
300
|
isOptional: false;
|
|
301
301
|
};
|
|
302
302
|
organizationId: {
|
|
303
|
-
type:
|
|
303
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
name: {
|
|
307
|
-
type:
|
|
307
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
308
308
|
isOptional: false;
|
|
309
309
|
};
|
|
310
310
|
status: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
updatedFields: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
316
316
|
isArray: true;
|
|
317
317
|
isOptional: false;
|
|
318
318
|
};
|
|
319
319
|
updatedAt: {
|
|
320
|
-
type:
|
|
320
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
321
321
|
isOptional: false;
|
|
322
322
|
};
|
|
323
323
|
}>>;
|
|
324
|
-
declare const AgentToolAssignedPayload:
|
|
324
|
+
declare const AgentToolAssignedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
325
325
|
agentId: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
toolId: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
331
331
|
isOptional: false;
|
|
332
332
|
};
|
|
333
333
|
agentName: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
335
335
|
isOptional: false;
|
|
336
336
|
};
|
|
337
337
|
toolName: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
339
339
|
isOptional: false;
|
|
340
340
|
};
|
|
341
341
|
assignedAt: {
|
|
342
|
-
type:
|
|
342
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
343
343
|
isOptional: false;
|
|
344
344
|
};
|
|
345
345
|
}>;
|
|
346
346
|
/**
|
|
347
347
|
* AgentToolAssignedEvent - A tool was assigned to an agent
|
|
348
348
|
*/
|
|
349
|
-
declare const AgentToolAssignedEvent:
|
|
349
|
+
declare const AgentToolAssignedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
350
350
|
agentId: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
toolId: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
356
356
|
isOptional: false;
|
|
357
357
|
};
|
|
358
358
|
agentName: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
toolName: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
assignedAt: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
}>>;
|
|
371
|
-
declare const AgentToolRemovedPayload:
|
|
371
|
+
declare const AgentToolRemovedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
372
372
|
agentId: {
|
|
373
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
374
374
|
isOptional: false;
|
|
375
375
|
};
|
|
376
376
|
toolId: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
agentName: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
toolName: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
386
386
|
isOptional: false;
|
|
387
387
|
};
|
|
388
388
|
removedAt: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
390
390
|
isOptional: false;
|
|
391
391
|
};
|
|
392
392
|
}>;
|
|
393
393
|
/**
|
|
394
394
|
* AgentToolRemovedEvent - A tool was removed from an agent
|
|
395
395
|
*/
|
|
396
|
-
declare const AgentToolRemovedEvent:
|
|
396
|
+
declare const AgentToolRemovedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
397
397
|
agentId: {
|
|
398
|
-
type:
|
|
398
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
399
399
|
isOptional: false;
|
|
400
400
|
};
|
|
401
401
|
toolId: {
|
|
402
|
-
type:
|
|
402
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
403
403
|
isOptional: false;
|
|
404
404
|
};
|
|
405
405
|
agentName: {
|
|
406
|
-
type:
|
|
406
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
407
407
|
isOptional: false;
|
|
408
408
|
};
|
|
409
409
|
toolName: {
|
|
410
|
-
type:
|
|
410
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
411
411
|
isOptional: false;
|
|
412
412
|
};
|
|
413
413
|
removedAt: {
|
|
414
|
-
type:
|
|
414
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
415
415
|
isOptional: false;
|
|
416
416
|
};
|
|
417
417
|
}>>;
|
|
418
|
-
declare const RunStartedPayload:
|
|
418
|
+
declare const RunStartedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
419
419
|
runId: {
|
|
420
|
-
type:
|
|
420
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
421
421
|
isOptional: false;
|
|
422
422
|
};
|
|
423
423
|
organizationId: {
|
|
424
|
-
type:
|
|
424
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
425
425
|
isOptional: false;
|
|
426
426
|
};
|
|
427
427
|
agentId: {
|
|
428
|
-
type:
|
|
428
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
429
429
|
isOptional: false;
|
|
430
430
|
};
|
|
431
431
|
agentName: {
|
|
432
|
-
type:
|
|
432
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
433
433
|
isOptional: false;
|
|
434
434
|
};
|
|
435
435
|
userId: {
|
|
436
|
-
type:
|
|
436
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
437
437
|
isOptional: true;
|
|
438
438
|
};
|
|
439
439
|
sessionId: {
|
|
440
|
-
type:
|
|
440
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
441
441
|
isOptional: true;
|
|
442
442
|
};
|
|
443
443
|
input: {
|
|
444
|
-
type:
|
|
444
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
445
445
|
isOptional: false;
|
|
446
446
|
};
|
|
447
447
|
startedAt: {
|
|
448
|
-
type:
|
|
448
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
449
449
|
isOptional: false;
|
|
450
450
|
};
|
|
451
451
|
}>;
|
|
452
452
|
/**
|
|
453
453
|
* RunStartedEvent - An agent run was started
|
|
454
454
|
*/
|
|
455
|
-
declare const RunStartedEvent:
|
|
455
|
+
declare const RunStartedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
456
456
|
runId: {
|
|
457
|
-
type:
|
|
457
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
458
458
|
isOptional: false;
|
|
459
459
|
};
|
|
460
460
|
organizationId: {
|
|
461
|
-
type:
|
|
461
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
462
462
|
isOptional: false;
|
|
463
463
|
};
|
|
464
464
|
agentId: {
|
|
465
|
-
type:
|
|
465
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
agentName: {
|
|
469
|
-
type:
|
|
469
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
470
470
|
isOptional: false;
|
|
471
471
|
};
|
|
472
472
|
userId: {
|
|
473
|
-
type:
|
|
473
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
474
474
|
isOptional: true;
|
|
475
475
|
};
|
|
476
476
|
sessionId: {
|
|
477
|
-
type:
|
|
477
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
478
478
|
isOptional: true;
|
|
479
479
|
};
|
|
480
480
|
input: {
|
|
481
|
-
type:
|
|
481
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
startedAt: {
|
|
485
|
-
type:
|
|
485
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
486
486
|
isOptional: false;
|
|
487
487
|
};
|
|
488
488
|
}>>;
|
|
489
|
-
declare const RunCompletedPayload:
|
|
489
|
+
declare const RunCompletedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
490
490
|
runId: {
|
|
491
|
-
type:
|
|
491
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
492
492
|
isOptional: false;
|
|
493
493
|
};
|
|
494
494
|
organizationId: {
|
|
495
|
-
type:
|
|
495
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
498
|
agentId: {
|
|
499
|
-
type:
|
|
499
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
500
500
|
isOptional: false;
|
|
501
501
|
};
|
|
502
502
|
agentName: {
|
|
503
|
-
type:
|
|
503
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
userId: {
|
|
507
|
-
type:
|
|
507
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
508
508
|
isOptional: true;
|
|
509
509
|
};
|
|
510
510
|
output: {
|
|
511
|
-
type:
|
|
511
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
512
512
|
isOptional: false;
|
|
513
513
|
};
|
|
514
514
|
totalTokens: {
|
|
515
|
-
type:
|
|
515
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
516
516
|
isOptional: false;
|
|
517
517
|
};
|
|
518
518
|
promptTokens: {
|
|
519
|
-
type:
|
|
519
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
520
520
|
isOptional: false;
|
|
521
521
|
};
|
|
522
522
|
completionTokens: {
|
|
523
|
-
type:
|
|
523
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
524
524
|
isOptional: false;
|
|
525
525
|
};
|
|
526
526
|
totalIterations: {
|
|
527
|
-
type:
|
|
527
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
528
528
|
isOptional: false;
|
|
529
529
|
};
|
|
530
530
|
durationMs: {
|
|
531
|
-
type:
|
|
531
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
532
532
|
isOptional: false;
|
|
533
533
|
};
|
|
534
534
|
estimatedCostUsd: {
|
|
535
|
-
type:
|
|
535
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
536
536
|
isOptional: true;
|
|
537
537
|
};
|
|
538
538
|
completedAt: {
|
|
539
|
-
type:
|
|
539
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
540
540
|
isOptional: false;
|
|
541
541
|
};
|
|
542
542
|
}>;
|
|
543
543
|
/**
|
|
544
544
|
* RunCompletedEvent - An agent run completed successfully
|
|
545
545
|
*/
|
|
546
|
-
declare const RunCompletedEvent:
|
|
546
|
+
declare const RunCompletedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
547
547
|
runId: {
|
|
548
|
-
type:
|
|
548
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
549
549
|
isOptional: false;
|
|
550
550
|
};
|
|
551
551
|
organizationId: {
|
|
552
|
-
type:
|
|
552
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
553
553
|
isOptional: false;
|
|
554
554
|
};
|
|
555
555
|
agentId: {
|
|
556
|
-
type:
|
|
556
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
557
557
|
isOptional: false;
|
|
558
558
|
};
|
|
559
559
|
agentName: {
|
|
560
|
-
type:
|
|
560
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
561
561
|
isOptional: false;
|
|
562
562
|
};
|
|
563
563
|
userId: {
|
|
564
|
-
type:
|
|
564
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
565
565
|
isOptional: true;
|
|
566
566
|
};
|
|
567
567
|
output: {
|
|
568
|
-
type:
|
|
568
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
569
569
|
isOptional: false;
|
|
570
570
|
};
|
|
571
571
|
totalTokens: {
|
|
572
|
-
type:
|
|
572
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
573
573
|
isOptional: false;
|
|
574
574
|
};
|
|
575
575
|
promptTokens: {
|
|
576
|
-
type:
|
|
576
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
577
577
|
isOptional: false;
|
|
578
578
|
};
|
|
579
579
|
completionTokens: {
|
|
580
|
-
type:
|
|
580
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
581
581
|
isOptional: false;
|
|
582
582
|
};
|
|
583
583
|
totalIterations: {
|
|
584
|
-
type:
|
|
584
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
585
585
|
isOptional: false;
|
|
586
586
|
};
|
|
587
587
|
durationMs: {
|
|
588
|
-
type:
|
|
588
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
589
589
|
isOptional: false;
|
|
590
590
|
};
|
|
591
591
|
estimatedCostUsd: {
|
|
592
|
-
type:
|
|
592
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
593
593
|
isOptional: true;
|
|
594
594
|
};
|
|
595
595
|
completedAt: {
|
|
596
|
-
type:
|
|
596
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
597
597
|
isOptional: false;
|
|
598
598
|
};
|
|
599
599
|
}>>;
|
|
600
|
-
declare const RunFailedPayload:
|
|
600
|
+
declare const RunFailedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
601
601
|
runId: {
|
|
602
|
-
type:
|
|
602
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
603
603
|
isOptional: false;
|
|
604
604
|
};
|
|
605
605
|
organizationId: {
|
|
606
|
-
type:
|
|
606
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
607
607
|
isOptional: false;
|
|
608
608
|
};
|
|
609
609
|
agentId: {
|
|
610
|
-
type:
|
|
610
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
611
611
|
isOptional: false;
|
|
612
612
|
};
|
|
613
613
|
agentName: {
|
|
614
|
-
type:
|
|
614
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
615
615
|
isOptional: false;
|
|
616
616
|
};
|
|
617
617
|
userId: {
|
|
618
|
-
type:
|
|
618
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
619
619
|
isOptional: true;
|
|
620
620
|
};
|
|
621
621
|
errorMessage: {
|
|
622
|
-
type:
|
|
622
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
623
623
|
isOptional: false;
|
|
624
624
|
};
|
|
625
625
|
errorCode: {
|
|
626
|
-
type:
|
|
626
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
627
627
|
isOptional: true;
|
|
628
628
|
};
|
|
629
629
|
totalTokens: {
|
|
630
|
-
type:
|
|
630
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
631
631
|
isOptional: false;
|
|
632
632
|
};
|
|
633
633
|
totalIterations: {
|
|
634
|
-
type:
|
|
634
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
635
635
|
isOptional: false;
|
|
636
636
|
};
|
|
637
637
|
durationMs: {
|
|
638
|
-
type:
|
|
638
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
639
639
|
isOptional: true;
|
|
640
640
|
};
|
|
641
641
|
failedAt: {
|
|
642
|
-
type:
|
|
642
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
643
643
|
isOptional: false;
|
|
644
644
|
};
|
|
645
645
|
}>;
|
|
646
646
|
/**
|
|
647
647
|
* RunFailedEvent - An agent run failed
|
|
648
648
|
*/
|
|
649
|
-
declare const RunFailedEvent:
|
|
649
|
+
declare const RunFailedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
650
650
|
runId: {
|
|
651
|
-
type:
|
|
651
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
652
652
|
isOptional: false;
|
|
653
653
|
};
|
|
654
654
|
organizationId: {
|
|
655
|
-
type:
|
|
655
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
656
656
|
isOptional: false;
|
|
657
657
|
};
|
|
658
658
|
agentId: {
|
|
659
|
-
type:
|
|
659
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
660
660
|
isOptional: false;
|
|
661
661
|
};
|
|
662
662
|
agentName: {
|
|
663
|
-
type:
|
|
663
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
664
664
|
isOptional: false;
|
|
665
665
|
};
|
|
666
666
|
userId: {
|
|
667
|
-
type:
|
|
667
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
668
668
|
isOptional: true;
|
|
669
669
|
};
|
|
670
670
|
errorMessage: {
|
|
671
|
-
type:
|
|
671
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
672
672
|
isOptional: false;
|
|
673
673
|
};
|
|
674
674
|
errorCode: {
|
|
675
|
-
type:
|
|
675
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
676
676
|
isOptional: true;
|
|
677
677
|
};
|
|
678
678
|
totalTokens: {
|
|
679
|
-
type:
|
|
679
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
680
680
|
isOptional: false;
|
|
681
681
|
};
|
|
682
682
|
totalIterations: {
|
|
683
|
-
type:
|
|
683
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
684
684
|
isOptional: false;
|
|
685
685
|
};
|
|
686
686
|
durationMs: {
|
|
687
|
-
type:
|
|
687
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
688
688
|
isOptional: true;
|
|
689
689
|
};
|
|
690
690
|
failedAt: {
|
|
691
|
-
type:
|
|
691
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
692
692
|
isOptional: false;
|
|
693
693
|
};
|
|
694
694
|
}>>;
|
|
695
|
-
declare const RunCancelledPayload:
|
|
695
|
+
declare const RunCancelledPayload: _lssm_lib_schema152.SchemaModel<{
|
|
696
696
|
runId: {
|
|
697
|
-
type:
|
|
697
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
698
698
|
isOptional: false;
|
|
699
699
|
};
|
|
700
700
|
organizationId: {
|
|
701
|
-
type:
|
|
701
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
702
702
|
isOptional: false;
|
|
703
703
|
};
|
|
704
704
|
agentId: {
|
|
705
|
-
type:
|
|
705
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
706
706
|
isOptional: false;
|
|
707
707
|
};
|
|
708
708
|
userId: {
|
|
709
|
-
type:
|
|
709
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
710
710
|
isOptional: true;
|
|
711
711
|
};
|
|
712
712
|
cancelledBy: {
|
|
713
|
-
type:
|
|
713
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
714
714
|
isOptional: true;
|
|
715
715
|
};
|
|
716
716
|
reason: {
|
|
717
|
-
type:
|
|
717
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
718
718
|
isOptional: true;
|
|
719
719
|
};
|
|
720
720
|
totalTokens: {
|
|
721
|
-
type:
|
|
721
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
722
722
|
isOptional: false;
|
|
723
723
|
};
|
|
724
724
|
totalIterations: {
|
|
725
|
-
type:
|
|
725
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
726
726
|
isOptional: false;
|
|
727
727
|
};
|
|
728
728
|
cancelledAt: {
|
|
729
|
-
type:
|
|
729
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
730
730
|
isOptional: false;
|
|
731
731
|
};
|
|
732
732
|
}>;
|
|
733
733
|
/**
|
|
734
734
|
* RunCancelledEvent - An agent run was cancelled
|
|
735
735
|
*/
|
|
736
|
-
declare const RunCancelledEvent:
|
|
736
|
+
declare const RunCancelledEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
737
737
|
runId: {
|
|
738
|
-
type:
|
|
738
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
739
739
|
isOptional: false;
|
|
740
740
|
};
|
|
741
741
|
organizationId: {
|
|
742
|
-
type:
|
|
742
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
743
743
|
isOptional: false;
|
|
744
744
|
};
|
|
745
745
|
agentId: {
|
|
746
|
-
type:
|
|
746
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
747
747
|
isOptional: false;
|
|
748
748
|
};
|
|
749
749
|
userId: {
|
|
750
|
-
type:
|
|
750
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
751
751
|
isOptional: true;
|
|
752
752
|
};
|
|
753
753
|
cancelledBy: {
|
|
754
|
-
type:
|
|
754
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
755
755
|
isOptional: true;
|
|
756
756
|
};
|
|
757
757
|
reason: {
|
|
758
|
-
type:
|
|
758
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
759
759
|
isOptional: true;
|
|
760
760
|
};
|
|
761
761
|
totalTokens: {
|
|
762
|
-
type:
|
|
762
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
763
763
|
isOptional: false;
|
|
764
764
|
};
|
|
765
765
|
totalIterations: {
|
|
766
|
-
type:
|
|
766
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
767
767
|
isOptional: false;
|
|
768
768
|
};
|
|
769
769
|
cancelledAt: {
|
|
770
|
-
type:
|
|
770
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
771
771
|
isOptional: false;
|
|
772
772
|
};
|
|
773
773
|
}>>;
|
|
774
|
-
declare const ToolInvokedPayload:
|
|
774
|
+
declare const ToolInvokedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
775
775
|
runId: {
|
|
776
|
-
type:
|
|
776
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
777
777
|
isOptional: false;
|
|
778
778
|
};
|
|
779
779
|
stepId: {
|
|
780
|
-
type:
|
|
780
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
781
781
|
isOptional: false;
|
|
782
782
|
};
|
|
783
783
|
toolId: {
|
|
784
|
-
type:
|
|
784
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
785
785
|
isOptional: false;
|
|
786
786
|
};
|
|
787
787
|
toolName: {
|
|
788
|
-
type:
|
|
788
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
789
789
|
isOptional: false;
|
|
790
790
|
};
|
|
791
791
|
input: {
|
|
792
|
-
type:
|
|
792
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
793
793
|
isOptional: false;
|
|
794
794
|
};
|
|
795
795
|
invokedAt: {
|
|
796
|
-
type:
|
|
796
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
797
797
|
isOptional: false;
|
|
798
798
|
};
|
|
799
799
|
}>;
|
|
800
800
|
/**
|
|
801
801
|
* ToolInvokedEvent - A tool was invoked during a run
|
|
802
802
|
*/
|
|
803
|
-
declare const ToolInvokedEvent:
|
|
803
|
+
declare const ToolInvokedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
804
804
|
runId: {
|
|
805
|
-
type:
|
|
805
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
806
806
|
isOptional: false;
|
|
807
807
|
};
|
|
808
808
|
stepId: {
|
|
809
|
-
type:
|
|
809
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
810
810
|
isOptional: false;
|
|
811
811
|
};
|
|
812
812
|
toolId: {
|
|
813
|
-
type:
|
|
813
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
814
814
|
isOptional: false;
|
|
815
815
|
};
|
|
816
816
|
toolName: {
|
|
817
|
-
type:
|
|
817
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
818
818
|
isOptional: false;
|
|
819
819
|
};
|
|
820
820
|
input: {
|
|
821
|
-
type:
|
|
821
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
822
822
|
isOptional: false;
|
|
823
823
|
};
|
|
824
824
|
invokedAt: {
|
|
825
|
-
type:
|
|
825
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
826
826
|
isOptional: false;
|
|
827
827
|
};
|
|
828
828
|
}>>;
|
|
829
|
-
declare const ToolCompletedPayload:
|
|
829
|
+
declare const ToolCompletedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
830
830
|
runId: {
|
|
831
|
-
type:
|
|
831
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
832
832
|
isOptional: false;
|
|
833
833
|
};
|
|
834
834
|
stepId: {
|
|
835
|
-
type:
|
|
835
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
836
836
|
isOptional: false;
|
|
837
837
|
};
|
|
838
838
|
toolId: {
|
|
839
|
-
type:
|
|
839
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
840
840
|
isOptional: false;
|
|
841
841
|
};
|
|
842
842
|
toolName: {
|
|
843
|
-
type:
|
|
843
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
844
844
|
isOptional: false;
|
|
845
845
|
};
|
|
846
846
|
success: {
|
|
847
|
-
type:
|
|
847
|
+
type: _lssm_lib_schema152.FieldType<boolean, boolean>;
|
|
848
848
|
isOptional: false;
|
|
849
849
|
};
|
|
850
850
|
output: {
|
|
851
|
-
type:
|
|
851
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
852
852
|
isOptional: true;
|
|
853
853
|
};
|
|
854
854
|
errorMessage: {
|
|
855
|
-
type:
|
|
855
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
856
856
|
isOptional: true;
|
|
857
857
|
};
|
|
858
858
|
durationMs: {
|
|
859
|
-
type:
|
|
859
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
860
860
|
isOptional: false;
|
|
861
861
|
};
|
|
862
862
|
completedAt: {
|
|
863
|
-
type:
|
|
863
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
864
864
|
isOptional: false;
|
|
865
865
|
};
|
|
866
866
|
}>;
|
|
867
867
|
/**
|
|
868
868
|
* ToolCompletedEvent - A tool invocation completed
|
|
869
869
|
*/
|
|
870
|
-
declare const ToolCompletedEvent:
|
|
870
|
+
declare const ToolCompletedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
871
871
|
runId: {
|
|
872
|
-
type:
|
|
872
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
873
873
|
isOptional: false;
|
|
874
874
|
};
|
|
875
875
|
stepId: {
|
|
876
|
-
type:
|
|
876
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
877
877
|
isOptional: false;
|
|
878
878
|
};
|
|
879
879
|
toolId: {
|
|
880
|
-
type:
|
|
880
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
881
881
|
isOptional: false;
|
|
882
882
|
};
|
|
883
883
|
toolName: {
|
|
884
|
-
type:
|
|
884
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
885
885
|
isOptional: false;
|
|
886
886
|
};
|
|
887
887
|
success: {
|
|
888
|
-
type:
|
|
888
|
+
type: _lssm_lib_schema152.FieldType<boolean, boolean>;
|
|
889
889
|
isOptional: false;
|
|
890
890
|
};
|
|
891
891
|
output: {
|
|
892
|
-
type:
|
|
892
|
+
type: _lssm_lib_schema152.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
893
893
|
isOptional: true;
|
|
894
894
|
};
|
|
895
895
|
errorMessage: {
|
|
896
|
-
type:
|
|
896
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
897
897
|
isOptional: true;
|
|
898
898
|
};
|
|
899
899
|
durationMs: {
|
|
900
|
-
type:
|
|
900
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
901
901
|
isOptional: false;
|
|
902
902
|
};
|
|
903
903
|
completedAt: {
|
|
904
|
-
type:
|
|
904
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
905
905
|
isOptional: false;
|
|
906
906
|
};
|
|
907
907
|
}>>;
|
|
908
|
-
declare const MessageTypeEnum:
|
|
909
|
-
declare const MessageGeneratedPayload:
|
|
908
|
+
declare const MessageTypeEnum: _lssm_lib_schema152.EnumType<[string, string]>;
|
|
909
|
+
declare const MessageGeneratedPayload: _lssm_lib_schema152.SchemaModel<{
|
|
910
910
|
runId: {
|
|
911
|
-
type:
|
|
911
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
912
912
|
isOptional: false;
|
|
913
913
|
};
|
|
914
914
|
stepId: {
|
|
915
|
-
type:
|
|
915
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
916
916
|
isOptional: false;
|
|
917
917
|
};
|
|
918
918
|
messageType: {
|
|
919
|
-
type:
|
|
919
|
+
type: _lssm_lib_schema152.EnumType<[string, string]>;
|
|
920
920
|
isOptional: false;
|
|
921
921
|
};
|
|
922
922
|
content: {
|
|
923
|
-
type:
|
|
923
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
924
924
|
isOptional: false;
|
|
925
925
|
};
|
|
926
926
|
tokensUsed: {
|
|
927
|
-
type:
|
|
927
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
928
928
|
isOptional: false;
|
|
929
929
|
};
|
|
930
930
|
generatedAt: {
|
|
931
|
-
type:
|
|
931
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
932
932
|
isOptional: false;
|
|
933
933
|
};
|
|
934
934
|
}>;
|
|
935
935
|
/**
|
|
936
936
|
* MessageGeneratedEvent - Agent generated a message
|
|
937
937
|
*/
|
|
938
|
-
declare const MessageGeneratedEvent:
|
|
938
|
+
declare const MessageGeneratedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema152.SchemaModel<{
|
|
939
939
|
runId: {
|
|
940
|
-
type:
|
|
940
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
941
941
|
isOptional: false;
|
|
942
942
|
};
|
|
943
943
|
stepId: {
|
|
944
|
-
type:
|
|
944
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
945
945
|
isOptional: false;
|
|
946
946
|
};
|
|
947
947
|
messageType: {
|
|
948
|
-
type:
|
|
948
|
+
type: _lssm_lib_schema152.EnumType<[string, string]>;
|
|
949
949
|
isOptional: false;
|
|
950
950
|
};
|
|
951
951
|
content: {
|
|
952
|
-
type:
|
|
952
|
+
type: _lssm_lib_schema152.FieldType<string, string>;
|
|
953
953
|
isOptional: false;
|
|
954
954
|
};
|
|
955
955
|
tokensUsed: {
|
|
956
|
-
type:
|
|
956
|
+
type: _lssm_lib_schema152.FieldType<number, number>;
|
|
957
957
|
isOptional: false;
|
|
958
958
|
};
|
|
959
959
|
generatedAt: {
|
|
960
|
-
type:
|
|
960
|
+
type: _lssm_lib_schema152.FieldType<Date, string>;
|
|
961
961
|
isOptional: false;
|
|
962
962
|
};
|
|
963
963
|
}>>;
|