@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/contracts/run.d.ts
CHANGED
|
@@ -1,270 +1,270 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema491 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts18 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/run.d.ts
|
|
5
|
-
declare const RunStatusEnum:
|
|
6
|
-
declare const RunStepTypeEnum:
|
|
7
|
-
declare const LogLevelEnum:
|
|
8
|
-
declare const GranularityEnum:
|
|
9
|
-
declare const RunInputModel:
|
|
5
|
+
declare const RunStatusEnum: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
6
|
+
declare const RunStepTypeEnum: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
7
|
+
declare const LogLevelEnum: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
8
|
+
declare const GranularityEnum: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
9
|
+
declare const RunInputModel: _lssm_lib_schema491.SchemaModel<{
|
|
10
10
|
message: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
context: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
19
|
-
declare const RunStepModel:
|
|
19
|
+
declare const RunStepModel: _lssm_lib_schema491.SchemaModel<{
|
|
20
20
|
id: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
stepNumber: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
type: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
toolId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
toolName: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
input: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
output: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
status: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
errorMessage: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
54
54
|
isOptional: true;
|
|
55
55
|
};
|
|
56
56
|
tokensUsed: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
defaultValue: number;
|
|
60
60
|
};
|
|
61
61
|
durationMs: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
startedAt: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
completedAt: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
}>;
|
|
74
|
-
declare const RunLogModel:
|
|
74
|
+
declare const RunLogModel: _lssm_lib_schema491.SchemaModel<{
|
|
75
75
|
id: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
stepId: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
level: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
message: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
data: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
source: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
traceId: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
spanId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
timestamp: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
declare const RunAgentRefModel:
|
|
112
|
+
declare const RunAgentRefModel: _lssm_lib_schema491.SchemaModel<{
|
|
113
113
|
id: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
name: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
modelProvider: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
modelName: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
127
127
|
isOptional: false;
|
|
128
128
|
};
|
|
129
129
|
}>;
|
|
130
|
-
declare const RunModel:
|
|
130
|
+
declare const RunModel: _lssm_lib_schema491.SchemaModel<{
|
|
131
131
|
id: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
organizationId: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
agentId: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
userId: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
sessionId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
input: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
output: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
status: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
errorMessage: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
165
165
|
isOptional: true;
|
|
166
166
|
};
|
|
167
167
|
errorCode: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
totalTokens: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
defaultValue: number;
|
|
175
175
|
};
|
|
176
176
|
promptTokens: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
defaultValue: number;
|
|
180
180
|
};
|
|
181
181
|
completionTokens: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
defaultValue: number;
|
|
185
185
|
};
|
|
186
186
|
totalIterations: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
defaultValue: number;
|
|
190
190
|
};
|
|
191
191
|
durationMs: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
estimatedCostUsd: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
197
197
|
isOptional: true;
|
|
198
198
|
};
|
|
199
199
|
queuedAt: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
startedAt: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
completedAt: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
209
209
|
isOptional: true;
|
|
210
210
|
};
|
|
211
211
|
metadata: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
213
213
|
isOptional: true;
|
|
214
214
|
};
|
|
215
215
|
steps: {
|
|
216
|
-
type:
|
|
216
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
217
217
|
id: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
stepNumber: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
type: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
toolId: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
231
231
|
isOptional: true;
|
|
232
232
|
};
|
|
233
233
|
toolName: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
input: {
|
|
238
|
-
type:
|
|
238
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
239
239
|
isOptional: true;
|
|
240
240
|
};
|
|
241
241
|
output: {
|
|
242
|
-
type:
|
|
242
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
243
243
|
isOptional: true;
|
|
244
244
|
};
|
|
245
245
|
status: {
|
|
246
|
-
type:
|
|
246
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
errorMessage: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
251
251
|
isOptional: true;
|
|
252
252
|
};
|
|
253
253
|
tokensUsed: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
defaultValue: number;
|
|
257
257
|
};
|
|
258
258
|
durationMs: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
260
260
|
isOptional: true;
|
|
261
261
|
};
|
|
262
262
|
startedAt: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
completedAt: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
268
268
|
isOptional: true;
|
|
269
269
|
};
|
|
270
270
|
}>;
|
|
@@ -272,41 +272,41 @@ declare const RunModel: _lssm_lib_schema242.SchemaModel<{
|
|
|
272
272
|
isOptional: true;
|
|
273
273
|
};
|
|
274
274
|
logs: {
|
|
275
|
-
type:
|
|
275
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
276
276
|
id: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
278
278
|
isOptional: false;
|
|
279
279
|
};
|
|
280
280
|
stepId: {
|
|
281
|
-
type:
|
|
281
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
282
282
|
isOptional: true;
|
|
283
283
|
};
|
|
284
284
|
level: {
|
|
285
|
-
type:
|
|
285
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
286
286
|
isOptional: false;
|
|
287
287
|
};
|
|
288
288
|
message: {
|
|
289
|
-
type:
|
|
289
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
290
290
|
isOptional: false;
|
|
291
291
|
};
|
|
292
292
|
data: {
|
|
293
|
-
type:
|
|
293
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
294
294
|
isOptional: true;
|
|
295
295
|
};
|
|
296
296
|
source: {
|
|
297
|
-
type:
|
|
297
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
298
298
|
isOptional: true;
|
|
299
299
|
};
|
|
300
300
|
traceId: {
|
|
301
|
-
type:
|
|
301
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
302
302
|
isOptional: true;
|
|
303
303
|
};
|
|
304
304
|
spanId: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
306
306
|
isOptional: true;
|
|
307
307
|
};
|
|
308
308
|
timestamp: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
}>;
|
|
@@ -314,180 +314,180 @@ declare const RunModel: _lssm_lib_schema242.SchemaModel<{
|
|
|
314
314
|
isOptional: true;
|
|
315
315
|
};
|
|
316
316
|
agent: {
|
|
317
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
318
318
|
id: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
name: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
modelProvider: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
modelName: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
332
332
|
isOptional: false;
|
|
333
333
|
};
|
|
334
334
|
}>;
|
|
335
335
|
isOptional: true;
|
|
336
336
|
};
|
|
337
337
|
}>;
|
|
338
|
-
declare const RunSummaryModel:
|
|
338
|
+
declare const RunSummaryModel: _lssm_lib_schema491.SchemaModel<{
|
|
339
339
|
id: {
|
|
340
|
-
type:
|
|
340
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
341
341
|
isOptional: false;
|
|
342
342
|
};
|
|
343
343
|
agentId: {
|
|
344
|
-
type:
|
|
344
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
345
345
|
isOptional: false;
|
|
346
346
|
};
|
|
347
347
|
agentName: {
|
|
348
|
-
type:
|
|
348
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
349
349
|
isOptional: false;
|
|
350
350
|
};
|
|
351
351
|
status: {
|
|
352
|
-
type:
|
|
352
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
353
353
|
isOptional: false;
|
|
354
354
|
};
|
|
355
355
|
totalTokens: {
|
|
356
|
-
type:
|
|
356
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
357
357
|
isOptional: false;
|
|
358
358
|
};
|
|
359
359
|
durationMs: {
|
|
360
|
-
type:
|
|
360
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
361
361
|
isOptional: true;
|
|
362
362
|
};
|
|
363
363
|
estimatedCostUsd: {
|
|
364
|
-
type:
|
|
364
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
365
365
|
isOptional: true;
|
|
366
366
|
};
|
|
367
367
|
queuedAt: {
|
|
368
|
-
type:
|
|
368
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
369
369
|
isOptional: false;
|
|
370
370
|
};
|
|
371
371
|
completedAt: {
|
|
372
|
-
type:
|
|
372
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
373
373
|
isOptional: true;
|
|
374
374
|
};
|
|
375
375
|
}>;
|
|
376
|
-
declare const TimelineDataPointModel:
|
|
376
|
+
declare const TimelineDataPointModel: _lssm_lib_schema491.SchemaModel<{
|
|
377
377
|
period: {
|
|
378
|
-
type:
|
|
378
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
379
379
|
isOptional: false;
|
|
380
380
|
};
|
|
381
381
|
runs: {
|
|
382
|
-
type:
|
|
382
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
383
383
|
isOptional: false;
|
|
384
384
|
};
|
|
385
385
|
tokens: {
|
|
386
|
-
type:
|
|
386
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
387
387
|
isOptional: false;
|
|
388
388
|
};
|
|
389
389
|
costUsd: {
|
|
390
|
-
type:
|
|
390
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
391
391
|
isOptional: false;
|
|
392
392
|
};
|
|
393
393
|
avgDurationMs: {
|
|
394
|
-
type:
|
|
394
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
395
395
|
isOptional: false;
|
|
396
396
|
};
|
|
397
397
|
}>;
|
|
398
398
|
/**
|
|
399
399
|
* ExecuteAgentCommand - Starts a new agent run
|
|
400
400
|
*/
|
|
401
|
-
declare const ExecuteAgentCommand:
|
|
401
|
+
declare const ExecuteAgentCommand: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
402
402
|
agentId: {
|
|
403
|
-
type:
|
|
403
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
404
404
|
isOptional: false;
|
|
405
405
|
};
|
|
406
406
|
input: {
|
|
407
|
-
type:
|
|
407
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
408
408
|
message: {
|
|
409
|
-
type:
|
|
409
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
410
410
|
isOptional: false;
|
|
411
411
|
};
|
|
412
412
|
context: {
|
|
413
|
-
type:
|
|
413
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
414
414
|
isOptional: true;
|
|
415
415
|
};
|
|
416
416
|
}>;
|
|
417
417
|
isOptional: false;
|
|
418
418
|
};
|
|
419
419
|
sessionId: {
|
|
420
|
-
type:
|
|
420
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
421
421
|
isOptional: true;
|
|
422
422
|
};
|
|
423
423
|
metadata: {
|
|
424
|
-
type:
|
|
424
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
425
425
|
isOptional: true;
|
|
426
426
|
};
|
|
427
427
|
stream: {
|
|
428
|
-
type:
|
|
428
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
429
429
|
isOptional: true;
|
|
430
430
|
};
|
|
431
431
|
maxIterations: {
|
|
432
|
-
type:
|
|
432
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
433
433
|
isOptional: true;
|
|
434
434
|
};
|
|
435
435
|
timeoutMs: {
|
|
436
|
-
type:
|
|
436
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
437
437
|
isOptional: true;
|
|
438
438
|
};
|
|
439
|
-
}>,
|
|
439
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
440
440
|
runId: {
|
|
441
|
-
type:
|
|
441
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
442
442
|
isOptional: false;
|
|
443
443
|
};
|
|
444
444
|
status: {
|
|
445
|
-
type:
|
|
445
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
446
446
|
isOptional: false;
|
|
447
447
|
};
|
|
448
448
|
estimatedWaitMs: {
|
|
449
|
-
type:
|
|
449
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
450
450
|
isOptional: true;
|
|
451
451
|
};
|
|
452
452
|
}>, {
|
|
453
453
|
name: string;
|
|
454
454
|
version: number;
|
|
455
455
|
when: string;
|
|
456
|
-
payload:
|
|
456
|
+
payload: _lssm_lib_schema491.SchemaModel<{
|
|
457
457
|
id: {
|
|
458
|
-
type:
|
|
458
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
459
459
|
isOptional: false;
|
|
460
460
|
};
|
|
461
461
|
agentId: {
|
|
462
|
-
type:
|
|
462
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
463
463
|
isOptional: false;
|
|
464
464
|
};
|
|
465
465
|
agentName: {
|
|
466
|
-
type:
|
|
466
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
467
467
|
isOptional: false;
|
|
468
468
|
};
|
|
469
469
|
status: {
|
|
470
|
-
type:
|
|
470
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
471
471
|
isOptional: false;
|
|
472
472
|
};
|
|
473
473
|
totalTokens: {
|
|
474
|
-
type:
|
|
474
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
475
475
|
isOptional: false;
|
|
476
476
|
};
|
|
477
477
|
durationMs: {
|
|
478
|
-
type:
|
|
478
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
479
479
|
isOptional: true;
|
|
480
480
|
};
|
|
481
481
|
estimatedCostUsd: {
|
|
482
|
-
type:
|
|
482
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
483
483
|
isOptional: true;
|
|
484
484
|
};
|
|
485
485
|
queuedAt: {
|
|
486
|
-
type:
|
|
486
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
487
487
|
isOptional: false;
|
|
488
488
|
};
|
|
489
489
|
completedAt: {
|
|
490
|
-
type:
|
|
490
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
491
491
|
isOptional: true;
|
|
492
492
|
};
|
|
493
493
|
}>;
|
|
@@ -495,63 +495,63 @@ declare const ExecuteAgentCommand: _lssm_lib_contracts14.ContractSpec<_lssm_lib_
|
|
|
495
495
|
/**
|
|
496
496
|
* CancelRunCommand - Cancels an in-progress run
|
|
497
497
|
*/
|
|
498
|
-
declare const CancelRunCommand:
|
|
498
|
+
declare const CancelRunCommand: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
499
499
|
runId: {
|
|
500
|
-
type:
|
|
500
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
501
501
|
isOptional: false;
|
|
502
502
|
};
|
|
503
503
|
reason: {
|
|
504
|
-
type:
|
|
504
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
505
505
|
isOptional: true;
|
|
506
506
|
};
|
|
507
|
-
}>,
|
|
507
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
508
508
|
success: {
|
|
509
|
-
type:
|
|
509
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
510
510
|
isOptional: false;
|
|
511
511
|
};
|
|
512
512
|
status: {
|
|
513
|
-
type:
|
|
513
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
514
514
|
isOptional: false;
|
|
515
515
|
};
|
|
516
516
|
}>, {
|
|
517
517
|
name: string;
|
|
518
518
|
version: number;
|
|
519
519
|
when: string;
|
|
520
|
-
payload:
|
|
520
|
+
payload: _lssm_lib_schema491.SchemaModel<{
|
|
521
521
|
id: {
|
|
522
|
-
type:
|
|
522
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
523
523
|
isOptional: false;
|
|
524
524
|
};
|
|
525
525
|
agentId: {
|
|
526
|
-
type:
|
|
526
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
527
527
|
isOptional: false;
|
|
528
528
|
};
|
|
529
529
|
agentName: {
|
|
530
|
-
type:
|
|
530
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
531
531
|
isOptional: false;
|
|
532
532
|
};
|
|
533
533
|
status: {
|
|
534
|
-
type:
|
|
534
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
535
535
|
isOptional: false;
|
|
536
536
|
};
|
|
537
537
|
totalTokens: {
|
|
538
|
-
type:
|
|
538
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
539
539
|
isOptional: false;
|
|
540
540
|
};
|
|
541
541
|
durationMs: {
|
|
542
|
-
type:
|
|
542
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
543
543
|
isOptional: true;
|
|
544
544
|
};
|
|
545
545
|
estimatedCostUsd: {
|
|
546
|
-
type:
|
|
546
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
547
547
|
isOptional: true;
|
|
548
548
|
};
|
|
549
549
|
queuedAt: {
|
|
550
|
-
type:
|
|
550
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
551
551
|
isOptional: false;
|
|
552
552
|
};
|
|
553
553
|
completedAt: {
|
|
554
|
-
type:
|
|
554
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
555
555
|
isOptional: true;
|
|
556
556
|
};
|
|
557
557
|
}>;
|
|
@@ -559,157 +559,157 @@ declare const CancelRunCommand: _lssm_lib_contracts14.ContractSpec<_lssm_lib_sch
|
|
|
559
559
|
/**
|
|
560
560
|
* GetRunQuery - Retrieves a run by ID
|
|
561
561
|
*/
|
|
562
|
-
declare const GetRunQuery:
|
|
562
|
+
declare const GetRunQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
563
563
|
runId: {
|
|
564
|
-
type:
|
|
564
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
565
565
|
isOptional: false;
|
|
566
566
|
};
|
|
567
567
|
includeSteps: {
|
|
568
|
-
type:
|
|
568
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
569
569
|
isOptional: true;
|
|
570
570
|
};
|
|
571
571
|
includeLogs: {
|
|
572
|
-
type:
|
|
572
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
573
573
|
isOptional: true;
|
|
574
574
|
};
|
|
575
|
-
}>,
|
|
575
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
576
576
|
id: {
|
|
577
|
-
type:
|
|
577
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
578
578
|
isOptional: false;
|
|
579
579
|
};
|
|
580
580
|
organizationId: {
|
|
581
|
-
type:
|
|
581
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
582
582
|
isOptional: false;
|
|
583
583
|
};
|
|
584
584
|
agentId: {
|
|
585
|
-
type:
|
|
585
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
586
586
|
isOptional: false;
|
|
587
587
|
};
|
|
588
588
|
userId: {
|
|
589
|
-
type:
|
|
589
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
590
590
|
isOptional: true;
|
|
591
591
|
};
|
|
592
592
|
sessionId: {
|
|
593
|
-
type:
|
|
593
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
594
594
|
isOptional: true;
|
|
595
595
|
};
|
|
596
596
|
input: {
|
|
597
|
-
type:
|
|
597
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
598
598
|
isOptional: false;
|
|
599
599
|
};
|
|
600
600
|
output: {
|
|
601
|
-
type:
|
|
601
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
602
602
|
isOptional: true;
|
|
603
603
|
};
|
|
604
604
|
status: {
|
|
605
|
-
type:
|
|
605
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
606
606
|
isOptional: false;
|
|
607
607
|
};
|
|
608
608
|
errorMessage: {
|
|
609
|
-
type:
|
|
609
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
610
610
|
isOptional: true;
|
|
611
611
|
};
|
|
612
612
|
errorCode: {
|
|
613
|
-
type:
|
|
613
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
614
614
|
isOptional: true;
|
|
615
615
|
};
|
|
616
616
|
totalTokens: {
|
|
617
|
-
type:
|
|
617
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
618
618
|
isOptional: false;
|
|
619
619
|
defaultValue: number;
|
|
620
620
|
};
|
|
621
621
|
promptTokens: {
|
|
622
|
-
type:
|
|
622
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
623
623
|
isOptional: false;
|
|
624
624
|
defaultValue: number;
|
|
625
625
|
};
|
|
626
626
|
completionTokens: {
|
|
627
|
-
type:
|
|
627
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
628
628
|
isOptional: false;
|
|
629
629
|
defaultValue: number;
|
|
630
630
|
};
|
|
631
631
|
totalIterations: {
|
|
632
|
-
type:
|
|
632
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
633
633
|
isOptional: false;
|
|
634
634
|
defaultValue: number;
|
|
635
635
|
};
|
|
636
636
|
durationMs: {
|
|
637
|
-
type:
|
|
637
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
638
638
|
isOptional: true;
|
|
639
639
|
};
|
|
640
640
|
estimatedCostUsd: {
|
|
641
|
-
type:
|
|
641
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
642
642
|
isOptional: true;
|
|
643
643
|
};
|
|
644
644
|
queuedAt: {
|
|
645
|
-
type:
|
|
645
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
646
646
|
isOptional: false;
|
|
647
647
|
};
|
|
648
648
|
startedAt: {
|
|
649
|
-
type:
|
|
649
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
650
650
|
isOptional: true;
|
|
651
651
|
};
|
|
652
652
|
completedAt: {
|
|
653
|
-
type:
|
|
653
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
654
654
|
isOptional: true;
|
|
655
655
|
};
|
|
656
656
|
metadata: {
|
|
657
|
-
type:
|
|
657
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
658
658
|
isOptional: true;
|
|
659
659
|
};
|
|
660
660
|
steps: {
|
|
661
|
-
type:
|
|
661
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
662
662
|
id: {
|
|
663
|
-
type:
|
|
663
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
664
664
|
isOptional: false;
|
|
665
665
|
};
|
|
666
666
|
stepNumber: {
|
|
667
|
-
type:
|
|
667
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
668
668
|
isOptional: false;
|
|
669
669
|
};
|
|
670
670
|
type: {
|
|
671
|
-
type:
|
|
671
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
672
672
|
isOptional: false;
|
|
673
673
|
};
|
|
674
674
|
toolId: {
|
|
675
|
-
type:
|
|
675
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
676
676
|
isOptional: true;
|
|
677
677
|
};
|
|
678
678
|
toolName: {
|
|
679
|
-
type:
|
|
679
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
680
680
|
isOptional: true;
|
|
681
681
|
};
|
|
682
682
|
input: {
|
|
683
|
-
type:
|
|
683
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
684
684
|
isOptional: true;
|
|
685
685
|
};
|
|
686
686
|
output: {
|
|
687
|
-
type:
|
|
687
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
688
688
|
isOptional: true;
|
|
689
689
|
};
|
|
690
690
|
status: {
|
|
691
|
-
type:
|
|
691
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
692
692
|
isOptional: false;
|
|
693
693
|
};
|
|
694
694
|
errorMessage: {
|
|
695
|
-
type:
|
|
695
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
696
696
|
isOptional: true;
|
|
697
697
|
};
|
|
698
698
|
tokensUsed: {
|
|
699
|
-
type:
|
|
699
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
700
700
|
isOptional: false;
|
|
701
701
|
defaultValue: number;
|
|
702
702
|
};
|
|
703
703
|
durationMs: {
|
|
704
|
-
type:
|
|
704
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
705
705
|
isOptional: true;
|
|
706
706
|
};
|
|
707
707
|
startedAt: {
|
|
708
|
-
type:
|
|
708
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
709
709
|
isOptional: false;
|
|
710
710
|
};
|
|
711
711
|
completedAt: {
|
|
712
|
-
type:
|
|
712
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
713
713
|
isOptional: true;
|
|
714
714
|
};
|
|
715
715
|
}>;
|
|
@@ -717,41 +717,41 @@ declare const GetRunQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema24
|
|
|
717
717
|
isOptional: true;
|
|
718
718
|
};
|
|
719
719
|
logs: {
|
|
720
|
-
type:
|
|
720
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
721
721
|
id: {
|
|
722
|
-
type:
|
|
722
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
723
723
|
isOptional: false;
|
|
724
724
|
};
|
|
725
725
|
stepId: {
|
|
726
|
-
type:
|
|
726
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
727
727
|
isOptional: true;
|
|
728
728
|
};
|
|
729
729
|
level: {
|
|
730
|
-
type:
|
|
730
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
731
731
|
isOptional: false;
|
|
732
732
|
};
|
|
733
733
|
message: {
|
|
734
|
-
type:
|
|
734
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
735
735
|
isOptional: false;
|
|
736
736
|
};
|
|
737
737
|
data: {
|
|
738
|
-
type:
|
|
738
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
739
739
|
isOptional: true;
|
|
740
740
|
};
|
|
741
741
|
source: {
|
|
742
|
-
type:
|
|
742
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
743
743
|
isOptional: true;
|
|
744
744
|
};
|
|
745
745
|
traceId: {
|
|
746
|
-
type:
|
|
746
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
747
747
|
isOptional: true;
|
|
748
748
|
};
|
|
749
749
|
spanId: {
|
|
750
|
-
type:
|
|
750
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
751
751
|
isOptional: true;
|
|
752
752
|
};
|
|
753
753
|
timestamp: {
|
|
754
|
-
type:
|
|
754
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
755
755
|
isOptional: false;
|
|
756
756
|
};
|
|
757
757
|
}>;
|
|
@@ -759,21 +759,21 @@ declare const GetRunQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema24
|
|
|
759
759
|
isOptional: true;
|
|
760
760
|
};
|
|
761
761
|
agent: {
|
|
762
|
-
type:
|
|
762
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
763
763
|
id: {
|
|
764
|
-
type:
|
|
764
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
765
765
|
isOptional: false;
|
|
766
766
|
};
|
|
767
767
|
name: {
|
|
768
|
-
type:
|
|
768
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
769
769
|
isOptional: false;
|
|
770
770
|
};
|
|
771
771
|
modelProvider: {
|
|
772
|
-
type:
|
|
772
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
773
773
|
isOptional: false;
|
|
774
774
|
};
|
|
775
775
|
modelName: {
|
|
776
|
-
type:
|
|
776
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
777
777
|
isOptional: false;
|
|
778
778
|
};
|
|
779
779
|
}>;
|
|
@@ -783,82 +783,82 @@ declare const GetRunQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema24
|
|
|
783
783
|
/**
|
|
784
784
|
* ListRunsQuery - Lists runs for an organization or agent
|
|
785
785
|
*/
|
|
786
|
-
declare const ListRunsQuery:
|
|
786
|
+
declare const ListRunsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
787
787
|
organizationId: {
|
|
788
|
-
type:
|
|
788
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
789
789
|
isOptional: true;
|
|
790
790
|
};
|
|
791
791
|
agentId: {
|
|
792
|
-
type:
|
|
792
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
793
793
|
isOptional: true;
|
|
794
794
|
};
|
|
795
795
|
userId: {
|
|
796
|
-
type:
|
|
796
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
797
797
|
isOptional: true;
|
|
798
798
|
};
|
|
799
799
|
sessionId: {
|
|
800
|
-
type:
|
|
800
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
801
801
|
isOptional: true;
|
|
802
802
|
};
|
|
803
803
|
status: {
|
|
804
|
-
type:
|
|
804
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
805
805
|
isOptional: true;
|
|
806
806
|
};
|
|
807
807
|
startDate: {
|
|
808
|
-
type:
|
|
808
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
809
809
|
isOptional: true;
|
|
810
810
|
};
|
|
811
811
|
endDate: {
|
|
812
|
-
type:
|
|
812
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
813
813
|
isOptional: true;
|
|
814
814
|
};
|
|
815
815
|
limit: {
|
|
816
|
-
type:
|
|
816
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
817
817
|
isOptional: true;
|
|
818
818
|
defaultValue: number;
|
|
819
819
|
};
|
|
820
820
|
offset: {
|
|
821
|
-
type:
|
|
821
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
822
822
|
isOptional: true;
|
|
823
823
|
defaultValue: number;
|
|
824
824
|
};
|
|
825
|
-
}>,
|
|
825
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
826
826
|
items: {
|
|
827
|
-
type:
|
|
827
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
828
828
|
id: {
|
|
829
|
-
type:
|
|
829
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
830
830
|
isOptional: false;
|
|
831
831
|
};
|
|
832
832
|
agentId: {
|
|
833
|
-
type:
|
|
833
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
834
834
|
isOptional: false;
|
|
835
835
|
};
|
|
836
836
|
agentName: {
|
|
837
|
-
type:
|
|
837
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
838
838
|
isOptional: false;
|
|
839
839
|
};
|
|
840
840
|
status: {
|
|
841
|
-
type:
|
|
841
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
842
842
|
isOptional: false;
|
|
843
843
|
};
|
|
844
844
|
totalTokens: {
|
|
845
|
-
type:
|
|
845
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
846
846
|
isOptional: false;
|
|
847
847
|
};
|
|
848
848
|
durationMs: {
|
|
849
|
-
type:
|
|
849
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
850
850
|
isOptional: true;
|
|
851
851
|
};
|
|
852
852
|
estimatedCostUsd: {
|
|
853
|
-
type:
|
|
853
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
854
854
|
isOptional: true;
|
|
855
855
|
};
|
|
856
856
|
queuedAt: {
|
|
857
|
-
type:
|
|
857
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
858
858
|
isOptional: false;
|
|
859
859
|
};
|
|
860
860
|
completedAt: {
|
|
861
|
-
type:
|
|
861
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
862
862
|
isOptional: true;
|
|
863
863
|
};
|
|
864
864
|
}>;
|
|
@@ -866,76 +866,76 @@ declare const ListRunsQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema
|
|
|
866
866
|
isOptional: false;
|
|
867
867
|
};
|
|
868
868
|
total: {
|
|
869
|
-
type:
|
|
869
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
870
870
|
isOptional: false;
|
|
871
871
|
};
|
|
872
872
|
hasMore: {
|
|
873
|
-
type:
|
|
873
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
874
874
|
isOptional: false;
|
|
875
875
|
};
|
|
876
876
|
}>, undefined>;
|
|
877
877
|
/**
|
|
878
878
|
* GetRunStepsQuery - Retrieves steps for a run
|
|
879
879
|
*/
|
|
880
|
-
declare const GetRunStepsQuery:
|
|
880
|
+
declare const GetRunStepsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
881
881
|
runId: {
|
|
882
|
-
type:
|
|
882
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
883
883
|
isOptional: false;
|
|
884
884
|
};
|
|
885
|
-
}>,
|
|
885
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
886
886
|
steps: {
|
|
887
|
-
type:
|
|
887
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
888
888
|
id: {
|
|
889
|
-
type:
|
|
889
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
890
890
|
isOptional: false;
|
|
891
891
|
};
|
|
892
892
|
stepNumber: {
|
|
893
|
-
type:
|
|
893
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
894
894
|
isOptional: false;
|
|
895
895
|
};
|
|
896
896
|
type: {
|
|
897
|
-
type:
|
|
897
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
898
898
|
isOptional: false;
|
|
899
899
|
};
|
|
900
900
|
toolId: {
|
|
901
|
-
type:
|
|
901
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
902
902
|
isOptional: true;
|
|
903
903
|
};
|
|
904
904
|
toolName: {
|
|
905
|
-
type:
|
|
905
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
906
906
|
isOptional: true;
|
|
907
907
|
};
|
|
908
908
|
input: {
|
|
909
|
-
type:
|
|
909
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
910
910
|
isOptional: true;
|
|
911
911
|
};
|
|
912
912
|
output: {
|
|
913
|
-
type:
|
|
913
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
914
914
|
isOptional: true;
|
|
915
915
|
};
|
|
916
916
|
status: {
|
|
917
|
-
type:
|
|
917
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string, string, string]>;
|
|
918
918
|
isOptional: false;
|
|
919
919
|
};
|
|
920
920
|
errorMessage: {
|
|
921
|
-
type:
|
|
921
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
922
922
|
isOptional: true;
|
|
923
923
|
};
|
|
924
924
|
tokensUsed: {
|
|
925
|
-
type:
|
|
925
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
926
926
|
isOptional: false;
|
|
927
927
|
defaultValue: number;
|
|
928
928
|
};
|
|
929
929
|
durationMs: {
|
|
930
|
-
type:
|
|
930
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
931
931
|
isOptional: true;
|
|
932
932
|
};
|
|
933
933
|
startedAt: {
|
|
934
|
-
type:
|
|
934
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
935
935
|
isOptional: false;
|
|
936
936
|
};
|
|
937
937
|
completedAt: {
|
|
938
|
-
type:
|
|
938
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
939
939
|
isOptional: true;
|
|
940
940
|
};
|
|
941
941
|
}>;
|
|
@@ -946,66 +946,66 @@ declare const GetRunStepsQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_sch
|
|
|
946
946
|
/**
|
|
947
947
|
* GetRunLogsQuery - Retrieves logs for a run
|
|
948
948
|
*/
|
|
949
|
-
declare const GetRunLogsQuery:
|
|
949
|
+
declare const GetRunLogsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
950
950
|
runId: {
|
|
951
|
-
type:
|
|
951
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
952
952
|
isOptional: false;
|
|
953
953
|
};
|
|
954
954
|
level: {
|
|
955
|
-
type:
|
|
955
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
956
956
|
isOptional: true;
|
|
957
957
|
};
|
|
958
958
|
stepId: {
|
|
959
|
-
type:
|
|
959
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
960
960
|
isOptional: true;
|
|
961
961
|
};
|
|
962
962
|
limit: {
|
|
963
|
-
type:
|
|
963
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
964
964
|
isOptional: true;
|
|
965
965
|
defaultValue: number;
|
|
966
966
|
};
|
|
967
967
|
offset: {
|
|
968
|
-
type:
|
|
968
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
969
969
|
isOptional: true;
|
|
970
970
|
defaultValue: number;
|
|
971
971
|
};
|
|
972
|
-
}>,
|
|
972
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
973
973
|
items: {
|
|
974
|
-
type:
|
|
974
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
975
975
|
id: {
|
|
976
|
-
type:
|
|
976
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
977
977
|
isOptional: false;
|
|
978
978
|
};
|
|
979
979
|
stepId: {
|
|
980
|
-
type:
|
|
980
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
981
981
|
isOptional: true;
|
|
982
982
|
};
|
|
983
983
|
level: {
|
|
984
|
-
type:
|
|
984
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
985
985
|
isOptional: false;
|
|
986
986
|
};
|
|
987
987
|
message: {
|
|
988
|
-
type:
|
|
988
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
989
989
|
isOptional: false;
|
|
990
990
|
};
|
|
991
991
|
data: {
|
|
992
|
-
type:
|
|
992
|
+
type: _lssm_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
993
993
|
isOptional: true;
|
|
994
994
|
};
|
|
995
995
|
source: {
|
|
996
|
-
type:
|
|
996
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
997
997
|
isOptional: true;
|
|
998
998
|
};
|
|
999
999
|
traceId: {
|
|
1000
|
-
type:
|
|
1000
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
1001
1001
|
isOptional: true;
|
|
1002
1002
|
};
|
|
1003
1003
|
spanId: {
|
|
1004
|
-
type:
|
|
1004
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
1005
1005
|
isOptional: true;
|
|
1006
1006
|
};
|
|
1007
1007
|
timestamp: {
|
|
1008
|
-
type:
|
|
1008
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
1009
1009
|
isOptional: false;
|
|
1010
1010
|
};
|
|
1011
1011
|
}>;
|
|
@@ -1013,88 +1013,88 @@ declare const GetRunLogsQuery: _lssm_lib_contracts14.ContractSpec<_lssm_lib_sche
|
|
|
1013
1013
|
isOptional: false;
|
|
1014
1014
|
};
|
|
1015
1015
|
total: {
|
|
1016
|
-
type:
|
|
1016
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1017
1017
|
isOptional: false;
|
|
1018
1018
|
};
|
|
1019
1019
|
hasMore: {
|
|
1020
|
-
type:
|
|
1020
|
+
type: _lssm_lib_schema491.FieldType<boolean, boolean>;
|
|
1021
1021
|
isOptional: false;
|
|
1022
1022
|
};
|
|
1023
1023
|
}>, undefined>;
|
|
1024
1024
|
/**
|
|
1025
1025
|
* GetRunMetricsQuery - Retrieves aggregated metrics for runs
|
|
1026
1026
|
*/
|
|
1027
|
-
declare const GetRunMetricsQuery:
|
|
1027
|
+
declare const GetRunMetricsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema491.SchemaModel<{
|
|
1028
1028
|
organizationId: {
|
|
1029
|
-
type:
|
|
1029
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
1030
1030
|
isOptional: false;
|
|
1031
1031
|
};
|
|
1032
1032
|
agentId: {
|
|
1033
|
-
type:
|
|
1033
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
1034
1034
|
isOptional: true;
|
|
1035
1035
|
};
|
|
1036
1036
|
startDate: {
|
|
1037
|
-
type:
|
|
1037
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
1038
1038
|
isOptional: false;
|
|
1039
1039
|
};
|
|
1040
1040
|
endDate: {
|
|
1041
|
-
type:
|
|
1041
|
+
type: _lssm_lib_schema491.FieldType<Date, string>;
|
|
1042
1042
|
isOptional: false;
|
|
1043
1043
|
};
|
|
1044
1044
|
granularity: {
|
|
1045
|
-
type:
|
|
1045
|
+
type: _lssm_lib_schema491.EnumType<[string, string, string, string]>;
|
|
1046
1046
|
isOptional: true;
|
|
1047
1047
|
defaultValue: string;
|
|
1048
1048
|
};
|
|
1049
|
-
}>,
|
|
1049
|
+
}>, _lssm_lib_schema491.SchemaModel<{
|
|
1050
1050
|
totalRuns: {
|
|
1051
|
-
type:
|
|
1051
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1052
1052
|
isOptional: false;
|
|
1053
1053
|
};
|
|
1054
1054
|
completedRuns: {
|
|
1055
|
-
type:
|
|
1055
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1056
1056
|
isOptional: false;
|
|
1057
1057
|
};
|
|
1058
1058
|
failedRuns: {
|
|
1059
|
-
type:
|
|
1059
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1060
1060
|
isOptional: false;
|
|
1061
1061
|
};
|
|
1062
1062
|
totalTokens: {
|
|
1063
|
-
type:
|
|
1063
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1064
1064
|
isOptional: false;
|
|
1065
1065
|
};
|
|
1066
1066
|
totalCostUsd: {
|
|
1067
|
-
type:
|
|
1067
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1068
1068
|
isOptional: false;
|
|
1069
1069
|
};
|
|
1070
1070
|
averageDurationMs: {
|
|
1071
|
-
type:
|
|
1071
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1072
1072
|
isOptional: false;
|
|
1073
1073
|
};
|
|
1074
1074
|
successRate: {
|
|
1075
|
-
type:
|
|
1075
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1076
1076
|
isOptional: false;
|
|
1077
1077
|
};
|
|
1078
1078
|
timeline: {
|
|
1079
|
-
type:
|
|
1079
|
+
type: _lssm_lib_schema491.SchemaModel<{
|
|
1080
1080
|
period: {
|
|
1081
|
-
type:
|
|
1081
|
+
type: _lssm_lib_schema491.FieldType<string, string>;
|
|
1082
1082
|
isOptional: false;
|
|
1083
1083
|
};
|
|
1084
1084
|
runs: {
|
|
1085
|
-
type:
|
|
1085
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1086
1086
|
isOptional: false;
|
|
1087
1087
|
};
|
|
1088
1088
|
tokens: {
|
|
1089
|
-
type:
|
|
1089
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1090
1090
|
isOptional: false;
|
|
1091
1091
|
};
|
|
1092
1092
|
costUsd: {
|
|
1093
|
-
type:
|
|
1093
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1094
1094
|
isOptional: false;
|
|
1095
1095
|
};
|
|
1096
1096
|
avgDurationMs: {
|
|
1097
|
-
type:
|
|
1097
|
+
type: _lssm_lib_schema491.FieldType<number, number>;
|
|
1098
1098
|
isOptional: false;
|
|
1099
1099
|
};
|
|
1100
1100
|
}>;
|