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