@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
package/dist/run/run.entity.d.ts
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema241 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/run/run.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Run status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const RunStatusEntityEnum:
|
|
7
|
+
declare const RunStatusEntityEnum: _lssm_lib_schema241.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Run step type enum for entities.
|
|
10
10
|
*/
|
|
11
|
-
declare const RunStepTypeEntityEnum:
|
|
11
|
+
declare const RunStepTypeEntityEnum: _lssm_lib_schema241.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Log level enum for entities.
|
|
14
14
|
*/
|
|
15
|
-
declare const LogLevelEntityEnum:
|
|
15
|
+
declare const LogLevelEntityEnum: _lssm_lib_schema241.EntityEnumDef;
|
|
16
16
|
/**
|
|
17
17
|
* Run entity - Represents an agent execution.
|
|
18
18
|
*/
|
|
19
|
-
declare const RunEntity:
|
|
20
|
-
id:
|
|
21
|
-
organizationId:
|
|
22
|
-
agentId:
|
|
23
|
-
userId:
|
|
24
|
-
sessionId:
|
|
25
|
-
input:
|
|
26
|
-
output:
|
|
27
|
-
status:
|
|
28
|
-
errorMessage:
|
|
29
|
-
errorCode:
|
|
30
|
-
totalTokens:
|
|
31
|
-
promptTokens:
|
|
32
|
-
completionTokens:
|
|
33
|
-
totalIterations:
|
|
34
|
-
durationMs:
|
|
35
|
-
estimatedCostUsd:
|
|
36
|
-
queuedAt:
|
|
37
|
-
startedAt:
|
|
38
|
-
completedAt:
|
|
39
|
-
metadata:
|
|
40
|
-
agent:
|
|
41
|
-
steps:
|
|
42
|
-
logs:
|
|
19
|
+
declare const RunEntity: _lssm_lib_schema241.EntitySpec<{
|
|
20
|
+
id: _lssm_lib_schema241.EntityScalarField;
|
|
21
|
+
organizationId: _lssm_lib_schema241.EntityScalarField;
|
|
22
|
+
agentId: _lssm_lib_schema241.EntityScalarField;
|
|
23
|
+
userId: _lssm_lib_schema241.EntityScalarField;
|
|
24
|
+
sessionId: _lssm_lib_schema241.EntityScalarField;
|
|
25
|
+
input: _lssm_lib_schema241.EntityScalarField;
|
|
26
|
+
output: _lssm_lib_schema241.EntityScalarField;
|
|
27
|
+
status: _lssm_lib_schema241.EntityEnumField;
|
|
28
|
+
errorMessage: _lssm_lib_schema241.EntityScalarField;
|
|
29
|
+
errorCode: _lssm_lib_schema241.EntityScalarField;
|
|
30
|
+
totalTokens: _lssm_lib_schema241.EntityScalarField;
|
|
31
|
+
promptTokens: _lssm_lib_schema241.EntityScalarField;
|
|
32
|
+
completionTokens: _lssm_lib_schema241.EntityScalarField;
|
|
33
|
+
totalIterations: _lssm_lib_schema241.EntityScalarField;
|
|
34
|
+
durationMs: _lssm_lib_schema241.EntityScalarField;
|
|
35
|
+
estimatedCostUsd: _lssm_lib_schema241.EntityScalarField;
|
|
36
|
+
queuedAt: _lssm_lib_schema241.EntityScalarField;
|
|
37
|
+
startedAt: _lssm_lib_schema241.EntityScalarField;
|
|
38
|
+
completedAt: _lssm_lib_schema241.EntityScalarField;
|
|
39
|
+
metadata: _lssm_lib_schema241.EntityScalarField;
|
|
40
|
+
agent: _lssm_lib_schema241.EntityRelationField;
|
|
41
|
+
steps: _lssm_lib_schema241.EntityRelationField;
|
|
42
|
+
logs: _lssm_lib_schema241.EntityRelationField;
|
|
43
43
|
}>;
|
|
44
44
|
/**
|
|
45
45
|
* RunStep entity - Individual step in a run.
|
|
46
46
|
*/
|
|
47
|
-
declare const RunStepEntity:
|
|
48
|
-
id:
|
|
49
|
-
runId:
|
|
50
|
-
stepNumber:
|
|
51
|
-
type:
|
|
52
|
-
toolId:
|
|
53
|
-
toolName:
|
|
54
|
-
input:
|
|
55
|
-
output:
|
|
56
|
-
status:
|
|
57
|
-
errorMessage:
|
|
58
|
-
tokensUsed:
|
|
59
|
-
durationMs:
|
|
60
|
-
startedAt:
|
|
61
|
-
completedAt:
|
|
62
|
-
run:
|
|
47
|
+
declare const RunStepEntity: _lssm_lib_schema241.EntitySpec<{
|
|
48
|
+
id: _lssm_lib_schema241.EntityScalarField;
|
|
49
|
+
runId: _lssm_lib_schema241.EntityScalarField;
|
|
50
|
+
stepNumber: _lssm_lib_schema241.EntityScalarField;
|
|
51
|
+
type: _lssm_lib_schema241.EntityEnumField;
|
|
52
|
+
toolId: _lssm_lib_schema241.EntityScalarField;
|
|
53
|
+
toolName: _lssm_lib_schema241.EntityScalarField;
|
|
54
|
+
input: _lssm_lib_schema241.EntityScalarField;
|
|
55
|
+
output: _lssm_lib_schema241.EntityScalarField;
|
|
56
|
+
status: _lssm_lib_schema241.EntityEnumField;
|
|
57
|
+
errorMessage: _lssm_lib_schema241.EntityScalarField;
|
|
58
|
+
tokensUsed: _lssm_lib_schema241.EntityScalarField;
|
|
59
|
+
durationMs: _lssm_lib_schema241.EntityScalarField;
|
|
60
|
+
startedAt: _lssm_lib_schema241.EntityScalarField;
|
|
61
|
+
completedAt: _lssm_lib_schema241.EntityScalarField;
|
|
62
|
+
run: _lssm_lib_schema241.EntityRelationField;
|
|
63
63
|
}>;
|
|
64
64
|
/**
|
|
65
65
|
* RunLog entity - Log entry for a run.
|
|
66
66
|
*/
|
|
67
|
-
declare const RunLogEntity:
|
|
68
|
-
id:
|
|
69
|
-
runId:
|
|
70
|
-
stepId:
|
|
71
|
-
level:
|
|
72
|
-
message:
|
|
73
|
-
data:
|
|
74
|
-
source:
|
|
75
|
-
traceId:
|
|
76
|
-
spanId:
|
|
77
|
-
timestamp:
|
|
78
|
-
run:
|
|
67
|
+
declare const RunLogEntity: _lssm_lib_schema241.EntitySpec<{
|
|
68
|
+
id: _lssm_lib_schema241.EntityScalarField;
|
|
69
|
+
runId: _lssm_lib_schema241.EntityScalarField;
|
|
70
|
+
stepId: _lssm_lib_schema241.EntityScalarField;
|
|
71
|
+
level: _lssm_lib_schema241.EntityEnumField;
|
|
72
|
+
message: _lssm_lib_schema241.EntityScalarField;
|
|
73
|
+
data: _lssm_lib_schema241.EntityScalarField;
|
|
74
|
+
source: _lssm_lib_schema241.EntityScalarField;
|
|
75
|
+
traceId: _lssm_lib_schema241.EntityScalarField;
|
|
76
|
+
spanId: _lssm_lib_schema241.EntityScalarField;
|
|
77
|
+
timestamp: _lssm_lib_schema241.EntityScalarField;
|
|
78
|
+
run: _lssm_lib_schema241.EntityRelationField;
|
|
79
79
|
}>;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { LogLevelEntityEnum, RunEntity, RunLogEntity, RunStatusEntityEnum, RunStepEntity, RunStepTypeEntityEnum };
|
package/dist/run/run.enum.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema296 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/run/run.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Run status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const RunStatusEnum:
|
|
7
|
+
declare const RunStatusEnum: _lssm_lib_schema296.EnumType<[string, string, string, string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Run step type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const RunStepTypeEnum:
|
|
11
|
+
declare const RunStepTypeEnum: _lssm_lib_schema296.EnumType<[string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Log level enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const LogLevelEnum:
|
|
15
|
+
declare const LogLevelEnum: _lssm_lib_schema296.EnumType<[string, string, string, string]>;
|
|
16
16
|
/**
|
|
17
17
|
* Granularity enum for metrics.
|
|
18
18
|
*/
|
|
19
|
-
declare const GranularityEnum:
|
|
19
|
+
declare const GranularityEnum: _lssm_lib_schema296.EnumType<[string, string, string, string]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { GranularityEnum, LogLevelEnum, RunStatusEnum, RunStepTypeEnum };
|
|
22
22
|
//# sourceMappingURL=run.enum.d.ts.map
|
package/dist/run/run.event.d.ts
CHANGED
|
@@ -1,287 +1,287 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_contracts10 from "@lssm/lib.contracts";
|
|
2
|
+
import * as _lssm_lib_schema300 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/run/run.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* RunStartedEvent - An agent run was started.
|
|
7
7
|
*/
|
|
8
|
-
declare const RunStartedEvent:
|
|
8
|
+
declare const RunStartedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
9
9
|
runId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
organizationId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
agentId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
agentName: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
userId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
sessionId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
33
|
input: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema300.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
startedAt: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
}>>;
|
|
42
42
|
/**
|
|
43
43
|
* RunCompletedEvent - An agent run completed successfully.
|
|
44
44
|
*/
|
|
45
|
-
declare const RunCompletedEvent:
|
|
45
|
+
declare const RunCompletedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
46
46
|
runId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
organizationId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
agentId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
agentName: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
userId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
output: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema300.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
totalTokens: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
promptTokens: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
completionTokens: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
totalIterations: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
durationMs: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
estimatedCostUsd: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
92
92
|
isOptional: true;
|
|
93
93
|
};
|
|
94
94
|
completedAt: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
96
96
|
isOptional: false;
|
|
97
97
|
};
|
|
98
98
|
}>>;
|
|
99
99
|
/**
|
|
100
100
|
* RunFailedEvent - An agent run failed.
|
|
101
101
|
*/
|
|
102
|
-
declare const RunFailedEvent:
|
|
102
|
+
declare const RunFailedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
103
103
|
runId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
organizationId: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
agentId: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
agentName: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
userId: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
errorMessage: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
errorCode: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
totalTokens: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
totalIterations: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
durationMs: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
};
|
|
143
143
|
failedAt: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
}>>;
|
|
148
148
|
/**
|
|
149
149
|
* RunCancelledEvent - An agent run was cancelled.
|
|
150
150
|
*/
|
|
151
|
-
declare const RunCancelledEvent:
|
|
151
|
+
declare const RunCancelledEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
152
152
|
runId: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
154
154
|
isOptional: false;
|
|
155
155
|
};
|
|
156
156
|
organizationId: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
158
158
|
isOptional: false;
|
|
159
159
|
};
|
|
160
160
|
agentId: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
162
162
|
isOptional: false;
|
|
163
163
|
};
|
|
164
164
|
userId: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
166
166
|
isOptional: true;
|
|
167
167
|
};
|
|
168
168
|
cancelledBy: {
|
|
169
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
170
170
|
isOptional: true;
|
|
171
171
|
};
|
|
172
172
|
reason: {
|
|
173
|
-
type:
|
|
173
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
174
174
|
isOptional: true;
|
|
175
175
|
};
|
|
176
176
|
totalTokens: {
|
|
177
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
178
178
|
isOptional: false;
|
|
179
179
|
};
|
|
180
180
|
totalIterations: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
cancelledAt: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
186
186
|
isOptional: false;
|
|
187
187
|
};
|
|
188
188
|
}>>;
|
|
189
189
|
/**
|
|
190
190
|
* ToolInvokedEvent - A tool was invoked during a run.
|
|
191
191
|
*/
|
|
192
|
-
declare const ToolInvokedEvent:
|
|
192
|
+
declare const ToolInvokedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
193
193
|
runId: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
stepId: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
toolId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
toolName: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
input: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema300.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
invokedAt: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
}>>;
|
|
218
218
|
/**
|
|
219
219
|
* ToolCompletedEvent - A tool invocation completed.
|
|
220
220
|
*/
|
|
221
|
-
declare const ToolCompletedEvent:
|
|
221
|
+
declare const ToolCompletedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
222
222
|
runId: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
stepId: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
228
228
|
isOptional: false;
|
|
229
229
|
};
|
|
230
230
|
toolId: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
toolName: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
success: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema300.FieldType<boolean, boolean>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
output: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema300.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
244
244
|
isOptional: true;
|
|
245
245
|
};
|
|
246
246
|
errorMessage: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
248
248
|
isOptional: true;
|
|
249
249
|
};
|
|
250
250
|
durationMs: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
completedAt: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
}>>;
|
|
259
259
|
/**
|
|
260
260
|
* MessageGeneratedEvent - Agent generated a message.
|
|
261
261
|
*/
|
|
262
|
-
declare const MessageGeneratedEvent:
|
|
262
|
+
declare const MessageGeneratedEvent: _lssm_lib_contracts10.EventSpec<_lssm_lib_schema300.SchemaModel<{
|
|
263
263
|
runId: {
|
|
264
|
-
type:
|
|
264
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
265
265
|
isOptional: false;
|
|
266
266
|
};
|
|
267
267
|
stepId: {
|
|
268
|
-
type:
|
|
268
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
269
269
|
isOptional: false;
|
|
270
270
|
};
|
|
271
271
|
messageType: {
|
|
272
|
-
type:
|
|
272
|
+
type: _lssm_lib_schema300.EnumType<[string, string]>;
|
|
273
273
|
isOptional: false;
|
|
274
274
|
};
|
|
275
275
|
content: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema300.FieldType<string, string>;
|
|
277
277
|
isOptional: false;
|
|
278
278
|
};
|
|
279
279
|
tokensUsed: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema300.FieldType<number, number>;
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
generatedAt: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema300.FieldType<Date, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
}>>;
|