@lssm/example.agent-console 0.0.0-canary-20251225052113 → 0.0.0-canary-20251225071908
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$colon$bundle.log +8 -8
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +18 -6
- package/README.md +3 -0
- package/dist/agent/agent.entity.d.ts +36 -36
- package/dist/agent/agent.entity.d.ts.map +1 -1
- package/dist/agent/agent.enum.d.ts +4 -4
- package/dist/agent/agent.event.d.ts +30 -30
- package/dist/agent/agent.operation.d.ts +115 -115
- package/dist/agent/agent.operation.d.ts.map +1 -1
- package/dist/agent/agent.operation.js.map +1 -1
- package/dist/run/run.operation.d.ts +174 -174
- package/dist/run/run.operation.d.ts.map +1 -1
- package/dist/run/run.operation.js.map +1 -1
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.event.d.ts +24 -24
- package/dist/tool/tool.operation.d.ts +100 -100
- package/dist/tool/tool.operation.d.ts.map +1 -1
- package/dist/tool/tool.operation.js.map +1 -1
- package/dist/tool/tool.presentation.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/agent/agent.operation.ts +38 -7
- package/src/run/run.operation.ts +16 -2
- package/src/tool/tool.operation.ts +24 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema453 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts17 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/run/run.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* ExecuteAgentCommand - Starts a new agent run.
|
|
7
7
|
*/
|
|
8
|
-
declare const ExecuteAgentCommand: _lssm_lib_contracts17.OperationSpec<
|
|
8
|
+
declare const ExecuteAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
9
9
|
agentId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
input: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
15
15
|
message: {
|
|
16
|
-
type:
|
|
16
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
context: {
|
|
20
|
-
type:
|
|
20
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
21
21
|
isOptional: true;
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
sessionId: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
metadata: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
stream: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
maxIterations: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
42
|
timeoutMs: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
46
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
47
47
|
runId: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
status: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
estimatedWaitMs: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
57
57
|
isOptional: true;
|
|
58
58
|
};
|
|
59
59
|
}>, {
|
|
@@ -63,41 +63,41 @@ declare const ExecuteAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib
|
|
|
63
63
|
owners: "@agent-console-team"[];
|
|
64
64
|
tags: string[];
|
|
65
65
|
when: string;
|
|
66
|
-
payload:
|
|
66
|
+
payload: _lssm_lib_schema453.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
agentId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
agentName: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
status: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
totalTokens: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
durationMs: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
89
89
|
isOptional: true;
|
|
90
90
|
};
|
|
91
91
|
estimatedCostUsd: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
queuedAt: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
completedAt: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -105,22 +105,22 @@ declare const ExecuteAgentCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib
|
|
|
105
105
|
/**
|
|
106
106
|
* CancelRunCommand - Cancels an in-progress run.
|
|
107
107
|
*/
|
|
108
|
-
declare const CancelRunCommand: _lssm_lib_contracts17.OperationSpec<
|
|
108
|
+
declare const CancelRunCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
109
109
|
runId: {
|
|
110
|
-
type:
|
|
110
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
reason: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
115
115
|
isOptional: true;
|
|
116
116
|
};
|
|
117
|
-
}>,
|
|
117
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
118
118
|
success: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
status: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
}>, {
|
|
@@ -130,41 +130,41 @@ declare const CancelRunCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_sc
|
|
|
130
130
|
owners: "@agent-console-team"[];
|
|
131
131
|
tags: string[];
|
|
132
132
|
when: string;
|
|
133
|
-
payload:
|
|
133
|
+
payload: _lssm_lib_schema453.SchemaModel<{
|
|
134
134
|
id: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
agentId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
agentName: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
status: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
totalTokens: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
durationMs: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
estimatedCostUsd: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
queuedAt: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
completedAt: {
|
|
167
|
-
type:
|
|
167
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
}>;
|
|
@@ -172,157 +172,157 @@ declare const CancelRunCommand: _lssm_lib_contracts17.OperationSpec<_lssm_lib_sc
|
|
|
172
172
|
/**
|
|
173
173
|
* GetRunQuery - Retrieves a run by ID.
|
|
174
174
|
*/
|
|
175
|
-
declare const GetRunQuery: _lssm_lib_contracts17.OperationSpec<
|
|
175
|
+
declare const GetRunQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
176
176
|
runId: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
includeSteps: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
182
182
|
isOptional: true;
|
|
183
183
|
};
|
|
184
184
|
includeLogs: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
186
186
|
isOptional: true;
|
|
187
187
|
};
|
|
188
|
-
}>,
|
|
188
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
189
189
|
id: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
192
192
|
};
|
|
193
193
|
organizationId: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
agentId: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
userId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
203
203
|
isOptional: true;
|
|
204
204
|
};
|
|
205
205
|
sessionId: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
207
207
|
isOptional: true;
|
|
208
208
|
};
|
|
209
209
|
input: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
output: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
215
215
|
isOptional: true;
|
|
216
216
|
};
|
|
217
217
|
status: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
errorMessage: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
223
223
|
isOptional: true;
|
|
224
224
|
};
|
|
225
225
|
errorCode: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
totalTokens: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
defaultValue: number;
|
|
233
233
|
};
|
|
234
234
|
promptTokens: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
defaultValue: number;
|
|
238
238
|
};
|
|
239
239
|
completionTokens: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
defaultValue: number;
|
|
243
243
|
};
|
|
244
244
|
totalIterations: {
|
|
245
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
246
246
|
isOptional: false;
|
|
247
247
|
defaultValue: number;
|
|
248
248
|
};
|
|
249
249
|
durationMs: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
251
251
|
isOptional: true;
|
|
252
252
|
};
|
|
253
253
|
estimatedCostUsd: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
255
255
|
isOptional: true;
|
|
256
256
|
};
|
|
257
257
|
queuedAt: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
startedAt: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
263
263
|
isOptional: true;
|
|
264
264
|
};
|
|
265
265
|
completedAt: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
267
267
|
isOptional: true;
|
|
268
268
|
};
|
|
269
269
|
metadata: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
271
271
|
isOptional: true;
|
|
272
272
|
};
|
|
273
273
|
steps: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
275
275
|
id: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
277
277
|
isOptional: false;
|
|
278
278
|
};
|
|
279
279
|
stepNumber: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
type: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
toolId: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
289
289
|
isOptional: true;
|
|
290
290
|
};
|
|
291
291
|
toolName: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
293
293
|
isOptional: true;
|
|
294
294
|
};
|
|
295
295
|
input: {
|
|
296
|
-
type:
|
|
296
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
297
297
|
isOptional: true;
|
|
298
298
|
};
|
|
299
299
|
output: {
|
|
300
|
-
type:
|
|
300
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
301
301
|
isOptional: true;
|
|
302
302
|
};
|
|
303
303
|
status: {
|
|
304
|
-
type:
|
|
304
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
305
305
|
isOptional: false;
|
|
306
306
|
};
|
|
307
307
|
errorMessage: {
|
|
308
|
-
type:
|
|
308
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
309
309
|
isOptional: true;
|
|
310
310
|
};
|
|
311
311
|
tokensUsed: {
|
|
312
|
-
type:
|
|
312
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
313
313
|
isOptional: false;
|
|
314
314
|
defaultValue: number;
|
|
315
315
|
};
|
|
316
316
|
durationMs: {
|
|
317
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
318
318
|
isOptional: true;
|
|
319
319
|
};
|
|
320
320
|
startedAt: {
|
|
321
|
-
type:
|
|
321
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
322
322
|
isOptional: false;
|
|
323
323
|
};
|
|
324
324
|
completedAt: {
|
|
325
|
-
type:
|
|
325
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
326
326
|
isOptional: true;
|
|
327
327
|
};
|
|
328
328
|
}>;
|
|
@@ -330,41 +330,41 @@ declare const GetRunQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema4
|
|
|
330
330
|
isOptional: true;
|
|
331
331
|
};
|
|
332
332
|
logs: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
334
334
|
id: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
stepId: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
340
340
|
isOptional: true;
|
|
341
341
|
};
|
|
342
342
|
level: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
344
344
|
isOptional: false;
|
|
345
345
|
};
|
|
346
346
|
message: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
data: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
352
352
|
isOptional: true;
|
|
353
353
|
};
|
|
354
354
|
source: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
356
356
|
isOptional: true;
|
|
357
357
|
};
|
|
358
358
|
traceId: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
360
360
|
isOptional: true;
|
|
361
361
|
};
|
|
362
362
|
spanId: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
364
364
|
isOptional: true;
|
|
365
365
|
};
|
|
366
366
|
timestamp: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
}>;
|
|
@@ -372,21 +372,21 @@ declare const GetRunQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema4
|
|
|
372
372
|
isOptional: true;
|
|
373
373
|
};
|
|
374
374
|
agent: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
376
376
|
id: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
name: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
modelProvider: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
386
386
|
isOptional: false;
|
|
387
387
|
};
|
|
388
388
|
modelName: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
390
390
|
isOptional: false;
|
|
391
391
|
};
|
|
392
392
|
}>;
|
|
@@ -396,82 +396,82 @@ declare const GetRunQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema4
|
|
|
396
396
|
/**
|
|
397
397
|
* ListRunsQuery - Lists runs for an organization or agent.
|
|
398
398
|
*/
|
|
399
|
-
declare const ListRunsQuery: _lssm_lib_contracts17.OperationSpec<
|
|
399
|
+
declare const ListRunsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
400
400
|
organizationId: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
402
402
|
isOptional: true;
|
|
403
403
|
};
|
|
404
404
|
agentId: {
|
|
405
|
-
type:
|
|
405
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
406
406
|
isOptional: true;
|
|
407
407
|
};
|
|
408
408
|
userId: {
|
|
409
|
-
type:
|
|
409
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
410
410
|
isOptional: true;
|
|
411
411
|
};
|
|
412
412
|
sessionId: {
|
|
413
|
-
type:
|
|
413
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
414
414
|
isOptional: true;
|
|
415
415
|
};
|
|
416
416
|
status: {
|
|
417
|
-
type:
|
|
417
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
418
418
|
isOptional: true;
|
|
419
419
|
};
|
|
420
420
|
startDate: {
|
|
421
|
-
type:
|
|
421
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
422
422
|
isOptional: true;
|
|
423
423
|
};
|
|
424
424
|
endDate: {
|
|
425
|
-
type:
|
|
425
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
426
426
|
isOptional: true;
|
|
427
427
|
};
|
|
428
428
|
limit: {
|
|
429
|
-
type:
|
|
429
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
430
430
|
isOptional: true;
|
|
431
431
|
defaultValue: number;
|
|
432
432
|
};
|
|
433
433
|
offset: {
|
|
434
|
-
type:
|
|
434
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
435
435
|
isOptional: true;
|
|
436
436
|
defaultValue: number;
|
|
437
437
|
};
|
|
438
|
-
}>,
|
|
438
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
439
439
|
items: {
|
|
440
|
-
type:
|
|
440
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
441
441
|
id: {
|
|
442
|
-
type:
|
|
442
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
443
443
|
isOptional: false;
|
|
444
444
|
};
|
|
445
445
|
agentId: {
|
|
446
|
-
type:
|
|
446
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
447
447
|
isOptional: false;
|
|
448
448
|
};
|
|
449
449
|
agentName: {
|
|
450
|
-
type:
|
|
450
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
451
451
|
isOptional: false;
|
|
452
452
|
};
|
|
453
453
|
status: {
|
|
454
|
-
type:
|
|
454
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
455
455
|
isOptional: false;
|
|
456
456
|
};
|
|
457
457
|
totalTokens: {
|
|
458
|
-
type:
|
|
458
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
459
459
|
isOptional: false;
|
|
460
460
|
};
|
|
461
461
|
durationMs: {
|
|
462
|
-
type:
|
|
462
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
463
463
|
isOptional: true;
|
|
464
464
|
};
|
|
465
465
|
estimatedCostUsd: {
|
|
466
|
-
type:
|
|
466
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
467
467
|
isOptional: true;
|
|
468
468
|
};
|
|
469
469
|
queuedAt: {
|
|
470
|
-
type:
|
|
470
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
471
471
|
isOptional: false;
|
|
472
472
|
};
|
|
473
473
|
completedAt: {
|
|
474
|
-
type:
|
|
474
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
475
475
|
isOptional: true;
|
|
476
476
|
};
|
|
477
477
|
}>;
|
|
@@ -479,76 +479,76 @@ declare const ListRunsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schem
|
|
|
479
479
|
isOptional: false;
|
|
480
480
|
};
|
|
481
481
|
total: {
|
|
482
|
-
type:
|
|
482
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
483
483
|
isOptional: false;
|
|
484
484
|
};
|
|
485
485
|
hasMore: {
|
|
486
|
-
type:
|
|
486
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
487
487
|
isOptional: false;
|
|
488
488
|
};
|
|
489
489
|
}>, undefined>;
|
|
490
490
|
/**
|
|
491
491
|
* GetRunStepsQuery - Retrieves steps for a run.
|
|
492
492
|
*/
|
|
493
|
-
declare const GetRunStepsQuery: _lssm_lib_contracts17.OperationSpec<
|
|
493
|
+
declare const GetRunStepsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
494
494
|
runId: {
|
|
495
|
-
type:
|
|
495
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
|
-
}>,
|
|
498
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
499
499
|
steps: {
|
|
500
|
-
type:
|
|
500
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
501
501
|
id: {
|
|
502
|
-
type:
|
|
502
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
503
503
|
isOptional: false;
|
|
504
504
|
};
|
|
505
505
|
stepNumber: {
|
|
506
|
-
type:
|
|
506
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
507
507
|
isOptional: false;
|
|
508
508
|
};
|
|
509
509
|
type: {
|
|
510
|
-
type:
|
|
510
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
511
511
|
isOptional: false;
|
|
512
512
|
};
|
|
513
513
|
toolId: {
|
|
514
|
-
type:
|
|
514
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
515
515
|
isOptional: true;
|
|
516
516
|
};
|
|
517
517
|
toolName: {
|
|
518
|
-
type:
|
|
518
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
519
519
|
isOptional: true;
|
|
520
520
|
};
|
|
521
521
|
input: {
|
|
522
|
-
type:
|
|
522
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
523
523
|
isOptional: true;
|
|
524
524
|
};
|
|
525
525
|
output: {
|
|
526
|
-
type:
|
|
526
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
527
527
|
isOptional: true;
|
|
528
528
|
};
|
|
529
529
|
status: {
|
|
530
|
-
type:
|
|
530
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string, string, string]>;
|
|
531
531
|
isOptional: false;
|
|
532
532
|
};
|
|
533
533
|
errorMessage: {
|
|
534
|
-
type:
|
|
534
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
535
535
|
isOptional: true;
|
|
536
536
|
};
|
|
537
537
|
tokensUsed: {
|
|
538
|
-
type:
|
|
538
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
539
539
|
isOptional: false;
|
|
540
540
|
defaultValue: number;
|
|
541
541
|
};
|
|
542
542
|
durationMs: {
|
|
543
|
-
type:
|
|
543
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
544
544
|
isOptional: true;
|
|
545
545
|
};
|
|
546
546
|
startedAt: {
|
|
547
|
-
type:
|
|
547
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
548
548
|
isOptional: false;
|
|
549
549
|
};
|
|
550
550
|
completedAt: {
|
|
551
|
-
type:
|
|
551
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
552
552
|
isOptional: true;
|
|
553
553
|
};
|
|
554
554
|
}>;
|
|
@@ -559,66 +559,66 @@ declare const GetRunStepsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_sc
|
|
|
559
559
|
/**
|
|
560
560
|
* GetRunLogsQuery - Retrieves logs for a run.
|
|
561
561
|
*/
|
|
562
|
-
declare const GetRunLogsQuery: _lssm_lib_contracts17.OperationSpec<
|
|
562
|
+
declare const GetRunLogsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
563
563
|
runId: {
|
|
564
|
-
type:
|
|
564
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
565
565
|
isOptional: false;
|
|
566
566
|
};
|
|
567
567
|
level: {
|
|
568
|
-
type:
|
|
568
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
569
569
|
isOptional: true;
|
|
570
570
|
};
|
|
571
571
|
stepId: {
|
|
572
|
-
type:
|
|
572
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
573
573
|
isOptional: true;
|
|
574
574
|
};
|
|
575
575
|
limit: {
|
|
576
|
-
type:
|
|
576
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
577
577
|
isOptional: true;
|
|
578
578
|
defaultValue: number;
|
|
579
579
|
};
|
|
580
580
|
offset: {
|
|
581
|
-
type:
|
|
581
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
582
582
|
isOptional: true;
|
|
583
583
|
defaultValue: number;
|
|
584
584
|
};
|
|
585
|
-
}>,
|
|
585
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
586
586
|
items: {
|
|
587
|
-
type:
|
|
587
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
588
588
|
id: {
|
|
589
|
-
type:
|
|
589
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
590
590
|
isOptional: false;
|
|
591
591
|
};
|
|
592
592
|
stepId: {
|
|
593
|
-
type:
|
|
593
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
594
594
|
isOptional: true;
|
|
595
595
|
};
|
|
596
596
|
level: {
|
|
597
|
-
type:
|
|
597
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
598
598
|
isOptional: false;
|
|
599
599
|
};
|
|
600
600
|
message: {
|
|
601
|
-
type:
|
|
601
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
602
602
|
isOptional: false;
|
|
603
603
|
};
|
|
604
604
|
data: {
|
|
605
|
-
type:
|
|
605
|
+
type: _lssm_lib_schema453.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
606
606
|
isOptional: true;
|
|
607
607
|
};
|
|
608
608
|
source: {
|
|
609
|
-
type:
|
|
609
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
610
610
|
isOptional: true;
|
|
611
611
|
};
|
|
612
612
|
traceId: {
|
|
613
|
-
type:
|
|
613
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
614
614
|
isOptional: true;
|
|
615
615
|
};
|
|
616
616
|
spanId: {
|
|
617
|
-
type:
|
|
617
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
618
618
|
isOptional: true;
|
|
619
619
|
};
|
|
620
620
|
timestamp: {
|
|
621
|
-
type:
|
|
621
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
622
622
|
isOptional: false;
|
|
623
623
|
};
|
|
624
624
|
}>;
|
|
@@ -626,88 +626,88 @@ declare const GetRunLogsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_sch
|
|
|
626
626
|
isOptional: false;
|
|
627
627
|
};
|
|
628
628
|
total: {
|
|
629
|
-
type:
|
|
629
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
630
630
|
isOptional: false;
|
|
631
631
|
};
|
|
632
632
|
hasMore: {
|
|
633
|
-
type:
|
|
633
|
+
type: _lssm_lib_schema453.FieldType<boolean, boolean>;
|
|
634
634
|
isOptional: false;
|
|
635
635
|
};
|
|
636
636
|
}>, undefined>;
|
|
637
637
|
/**
|
|
638
638
|
* GetRunMetricsQuery - Retrieves aggregated metrics for runs.
|
|
639
639
|
*/
|
|
640
|
-
declare const GetRunMetricsQuery: _lssm_lib_contracts17.OperationSpec<
|
|
640
|
+
declare const GetRunMetricsQuery: _lssm_lib_contracts17.OperationSpec<_lssm_lib_schema453.SchemaModel<{
|
|
641
641
|
organizationId: {
|
|
642
|
-
type:
|
|
642
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
643
643
|
isOptional: false;
|
|
644
644
|
};
|
|
645
645
|
agentId: {
|
|
646
|
-
type:
|
|
646
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
647
647
|
isOptional: true;
|
|
648
648
|
};
|
|
649
649
|
startDate: {
|
|
650
|
-
type:
|
|
650
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
651
651
|
isOptional: false;
|
|
652
652
|
};
|
|
653
653
|
endDate: {
|
|
654
|
-
type:
|
|
654
|
+
type: _lssm_lib_schema453.FieldType<Date, string>;
|
|
655
655
|
isOptional: false;
|
|
656
656
|
};
|
|
657
657
|
granularity: {
|
|
658
|
-
type:
|
|
658
|
+
type: _lssm_lib_schema453.EnumType<[string, string, string, string]>;
|
|
659
659
|
isOptional: true;
|
|
660
660
|
defaultValue: string;
|
|
661
661
|
};
|
|
662
|
-
}>,
|
|
662
|
+
}>, _lssm_lib_schema453.SchemaModel<{
|
|
663
663
|
totalRuns: {
|
|
664
|
-
type:
|
|
664
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
665
665
|
isOptional: false;
|
|
666
666
|
};
|
|
667
667
|
completedRuns: {
|
|
668
|
-
type:
|
|
668
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
669
669
|
isOptional: false;
|
|
670
670
|
};
|
|
671
671
|
failedRuns: {
|
|
672
|
-
type:
|
|
672
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
673
673
|
isOptional: false;
|
|
674
674
|
};
|
|
675
675
|
totalTokens: {
|
|
676
|
-
type:
|
|
676
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
677
677
|
isOptional: false;
|
|
678
678
|
};
|
|
679
679
|
totalCostUsd: {
|
|
680
|
-
type:
|
|
680
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
681
681
|
isOptional: false;
|
|
682
682
|
};
|
|
683
683
|
averageDurationMs: {
|
|
684
|
-
type:
|
|
684
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
685
685
|
isOptional: false;
|
|
686
686
|
};
|
|
687
687
|
successRate: {
|
|
688
|
-
type:
|
|
688
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
689
689
|
isOptional: false;
|
|
690
690
|
};
|
|
691
691
|
timeline: {
|
|
692
|
-
type:
|
|
692
|
+
type: _lssm_lib_schema453.SchemaModel<{
|
|
693
693
|
period: {
|
|
694
|
-
type:
|
|
694
|
+
type: _lssm_lib_schema453.FieldType<string, string>;
|
|
695
695
|
isOptional: false;
|
|
696
696
|
};
|
|
697
697
|
runs: {
|
|
698
|
-
type:
|
|
698
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
699
699
|
isOptional: false;
|
|
700
700
|
};
|
|
701
701
|
tokens: {
|
|
702
|
-
type:
|
|
702
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
703
703
|
isOptional: false;
|
|
704
704
|
};
|
|
705
705
|
costUsd: {
|
|
706
|
-
type:
|
|
706
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
707
707
|
isOptional: false;
|
|
708
708
|
};
|
|
709
709
|
avgDurationMs: {
|
|
710
|
-
type:
|
|
710
|
+
type: _lssm_lib_schema453.FieldType<number, number>;
|
|
711
711
|
isOptional: false;
|
|
712
712
|
};
|
|
713
713
|
}>;
|