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