@lssm/example.agent-console 0.0.0-canary-20251220041653 → 0.0.0-canary-20251221114240

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