@lssm/example.agent-console 0.0.0-canary-20251225052113 → 0.0.0-canary-20251225071908
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$bundle.log +8 -8
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +18 -6
- package/README.md +3 -0
- package/dist/agent/agent.entity.d.ts +36 -36
- package/dist/agent/agent.entity.d.ts.map +1 -1
- package/dist/agent/agent.enum.d.ts +4 -4
- package/dist/agent/agent.event.d.ts +30 -30
- package/dist/agent/agent.operation.d.ts +115 -115
- package/dist/agent/agent.operation.d.ts.map +1 -1
- package/dist/agent/agent.operation.js.map +1 -1
- package/dist/run/run.operation.d.ts +174 -174
- package/dist/run/run.operation.d.ts.map +1 -1
- package/dist/run/run.operation.js.map +1 -1
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.event.d.ts +24 -24
- package/dist/tool/tool.operation.d.ts +100 -100
- package/dist/tool/tool.operation.d.ts.map +1 -1
- package/dist/tool/tool.operation.js.map +1 -1
- package/dist/tool/tool.presentation.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/agent/agent.operation.ts +38 -7
- package/src/run/run.operation.ts +16 -2
- package/src/tool/tool.operation.ts +24 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema773 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts27 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/tool/tool.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* CreateToolCommand - Creates a new tool definition.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateToolCommand: _lssm_lib_contracts27.OperationSpec<
|
|
8
|
+
declare const CreateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_schema773.SchemaModel<{
|
|
9
9
|
organizationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
slug: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
description: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
category: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
parametersSchema: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
outputSchema: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
implementationType: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string]>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
implementationConfig: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
maxInvocationsPerMinute: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
47
47
|
isOptional: true;
|
|
48
48
|
};
|
|
49
49
|
timeoutMs: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
tags: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
55
55
|
isArray: true;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
|
-
}>,
|
|
58
|
+
}>, _lssm_lib_schema773.SchemaModel<{
|
|
59
59
|
id: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
name: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
slug: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
status: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
}>, {
|
|
@@ -79,37 +79,37 @@ declare const CreateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_s
|
|
|
79
79
|
owners: "@agent-console-team"[];
|
|
80
80
|
tags: string[];
|
|
81
81
|
when: string;
|
|
82
|
-
payload:
|
|
82
|
+
payload: _lssm_lib_schema773.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
name: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
slug: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
category: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
status: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
version: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
createdAt: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
@@ -117,63 +117,63 @@ declare const CreateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_s
|
|
|
117
117
|
/**
|
|
118
118
|
* UpdateToolCommand - Updates an existing tool.
|
|
119
119
|
*/
|
|
120
|
-
declare const UpdateToolCommand: _lssm_lib_contracts27.OperationSpec<
|
|
120
|
+
declare const UpdateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_schema773.SchemaModel<{
|
|
121
121
|
toolId: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
name: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
description: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
status: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
parametersSchema: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
139
139
|
isOptional: true;
|
|
140
140
|
};
|
|
141
141
|
outputSchema: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
implementationConfig: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
maxInvocationsPerMinute: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
151
151
|
isOptional: true;
|
|
152
152
|
};
|
|
153
153
|
timeoutMs: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
tags: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
159
159
|
isArray: true;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
|
-
}>,
|
|
162
|
+
}>, _lssm_lib_schema773.SchemaModel<{
|
|
163
163
|
id: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
name: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
status: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
updatedAt: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
}>, {
|
|
@@ -183,37 +183,37 @@ declare const UpdateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_s
|
|
|
183
183
|
owners: "@agent-console-team"[];
|
|
184
184
|
tags: string[];
|
|
185
185
|
when: string;
|
|
186
|
-
payload:
|
|
186
|
+
payload: _lssm_lib_schema773.SchemaModel<{
|
|
187
187
|
id: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
name: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
slug: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
description: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
category: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
205
205
|
isOptional: false;
|
|
206
206
|
};
|
|
207
207
|
status: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
version: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
createdAt: {
|
|
216
|
-
type:
|
|
216
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
217
217
|
isOptional: false;
|
|
218
218
|
};
|
|
219
219
|
}>;
|
|
@@ -221,146 +221,146 @@ declare const UpdateToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_s
|
|
|
221
221
|
/**
|
|
222
222
|
* GetToolQuery - Retrieves a tool by ID.
|
|
223
223
|
*/
|
|
224
|
-
declare const GetToolQuery: _lssm_lib_contracts27.OperationSpec<
|
|
224
|
+
declare const GetToolQuery: _lssm_lib_contracts27.OperationSpec<_lssm_lib_schema773.SchemaModel<{
|
|
225
225
|
toolId: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
|
-
}>,
|
|
229
|
+
}>, _lssm_lib_schema773.SchemaModel<{
|
|
230
230
|
id: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
organizationId: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
name: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
slug: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
description: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
category: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
status: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
parametersSchema: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
outputSchema: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
264
264
|
isOptional: true;
|
|
265
265
|
};
|
|
266
266
|
implementationType: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string]>;
|
|
268
268
|
isOptional: false;
|
|
269
269
|
};
|
|
270
270
|
implementationConfig: {
|
|
271
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
272
272
|
isOptional: false;
|
|
273
273
|
};
|
|
274
274
|
maxInvocationsPerMinute: {
|
|
275
|
-
type:
|
|
275
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
276
276
|
isOptional: true;
|
|
277
277
|
};
|
|
278
278
|
timeoutMs: {
|
|
279
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
280
280
|
isOptional: false;
|
|
281
281
|
defaultValue: number;
|
|
282
282
|
};
|
|
283
283
|
version: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
tags: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
289
289
|
isArray: true;
|
|
290
290
|
isOptional: true;
|
|
291
291
|
};
|
|
292
292
|
createdAt: {
|
|
293
|
-
type:
|
|
293
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
294
294
|
isOptional: false;
|
|
295
295
|
};
|
|
296
296
|
updatedAt: {
|
|
297
|
-
type:
|
|
297
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
298
298
|
isOptional: false;
|
|
299
299
|
};
|
|
300
300
|
}>, undefined>;
|
|
301
301
|
/**
|
|
302
302
|
* ListToolsQuery - Lists tools for an organization.
|
|
303
303
|
*/
|
|
304
|
-
declare const ListToolsQuery: _lssm_lib_contracts27.OperationSpec<
|
|
304
|
+
declare const ListToolsQuery: _lssm_lib_contracts27.OperationSpec<_lssm_lib_schema773.SchemaModel<{
|
|
305
305
|
organizationId: {
|
|
306
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
category: {
|
|
310
|
-
type:
|
|
310
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
311
311
|
isOptional: true;
|
|
312
312
|
};
|
|
313
313
|
status: {
|
|
314
|
-
type:
|
|
314
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
315
315
|
isOptional: true;
|
|
316
316
|
};
|
|
317
317
|
search: {
|
|
318
|
-
type:
|
|
318
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
319
319
|
isOptional: true;
|
|
320
320
|
};
|
|
321
321
|
limit: {
|
|
322
|
-
type:
|
|
322
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
323
323
|
isOptional: true;
|
|
324
324
|
defaultValue: number;
|
|
325
325
|
};
|
|
326
326
|
offset: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
328
328
|
isOptional: true;
|
|
329
329
|
defaultValue: number;
|
|
330
330
|
};
|
|
331
|
-
}>,
|
|
331
|
+
}>, _lssm_lib_schema773.SchemaModel<{
|
|
332
332
|
items: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema773.SchemaModel<{
|
|
334
334
|
id: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
name: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
340
340
|
isOptional: false;
|
|
341
341
|
};
|
|
342
342
|
slug: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
344
344
|
isOptional: false;
|
|
345
345
|
};
|
|
346
346
|
description: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
category: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string, string, string]>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
status: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema773.EnumType<[string, string, string, string]>;
|
|
356
356
|
isOptional: false;
|
|
357
357
|
};
|
|
358
358
|
version: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
createdAt: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema773.FieldType<Date, string>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
}>;
|
|
@@ -368,41 +368,41 @@ declare const ListToolsQuery: _lssm_lib_contracts27.OperationSpec<_lssm_lib_sche
|
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
total: {
|
|
371
|
-
type:
|
|
371
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
372
372
|
isOptional: false;
|
|
373
373
|
};
|
|
374
374
|
hasMore: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema773.FieldType<boolean, boolean>;
|
|
376
376
|
isOptional: false;
|
|
377
377
|
};
|
|
378
378
|
}>, undefined>;
|
|
379
379
|
/**
|
|
380
380
|
* TestToolCommand - Tests a tool with sample input.
|
|
381
381
|
*/
|
|
382
|
-
declare const TestToolCommand: _lssm_lib_contracts27.OperationSpec<
|
|
382
|
+
declare const TestToolCommand: _lssm_lib_contracts27.OperationSpec<_lssm_lib_schema773.SchemaModel<{
|
|
383
383
|
toolId: {
|
|
384
|
-
type:
|
|
384
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
385
385
|
isOptional: false;
|
|
386
386
|
};
|
|
387
387
|
testInput: {
|
|
388
|
-
type:
|
|
388
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
389
389
|
isOptional: false;
|
|
390
390
|
};
|
|
391
|
-
}>,
|
|
391
|
+
}>, _lssm_lib_schema773.SchemaModel<{
|
|
392
392
|
success: {
|
|
393
|
-
type:
|
|
393
|
+
type: _lssm_lib_schema773.FieldType<boolean, boolean>;
|
|
394
394
|
isOptional: false;
|
|
395
395
|
};
|
|
396
396
|
output: {
|
|
397
|
-
type:
|
|
397
|
+
type: _lssm_lib_schema773.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
398
398
|
isOptional: true;
|
|
399
399
|
};
|
|
400
400
|
error: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema773.FieldType<string, string>;
|
|
402
402
|
isOptional: true;
|
|
403
403
|
};
|
|
404
404
|
durationMs: {
|
|
405
|
-
type:
|
|
405
|
+
type: _lssm_lib_schema773.FieldType<number, number>;
|
|
406
406
|
isOptional: false;
|
|
407
407
|
};
|
|
408
408
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.operation.d.ts","names":[],"sources":["../../src/tool/tool.operation.ts"],"sourcesContent":[],"mappings":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyEjB,oCAAY,kCAAA;;UAmDvB,mBAAA,CAAA;;;;;UAnDuB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwDZ,sCAAc,kCAAA;;UA6DzB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA7DyB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkEd,uCAAe,kCAAA;;UAoE1B,mBAAA,CAAA;;;;;;;;;UApE0B,mBAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.operation.js","names":[],"sources":["../../src/tool/tool.operation.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport { ToolCategoryEnum, ToolStatusEnum } from './tool.enum';\nimport {\n CreateToolInputModel,\n ToolModel,\n ToolSummaryModel,\n UpdateToolInputModel,\n} from './tool.schema';\n\nconst OWNERS = ['@agent-console-team'] as const;\n\n/**\n * CreateToolCommand - Creates a new tool definition.\n */\nexport const CreateToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'create'],\n description: 'Creates a new AI tool definition.',\n goal: 'Allow users to define new tools that agents can use.',\n context: 'Called from the tool builder UI when creating a new tool.',\n },\n io: {\n input: CreateToolInputModel,\n output: defineSchemaModel({\n name: 'CreateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n },\n }),\n errors: {\n SLUG_EXISTS: {\n description: 'A tool with this slug already exists in the organization',\n http: 409,\n gqlCode: 'SLUG_EXISTS',\n when: 'Slug is already taken',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'tool.created',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'created'],\n when: 'Tool is successfully created',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.created'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'create-tool-happy-path',\n given: ['User is authenticated', 'Organization exists'],\n when: ['User submits valid tool configuration'],\n then: ['New tool is created', 'ToolCreated event is emitted'],\n },\n {\n key: 'create-tool-slug-conflict',\n given: ['Tool with same slug exists'],\n when: ['User submits tool with duplicate slug'],\n then: ['SLUG_EXISTS error is returned'],\n },\n ],\n examples: [\n {\n key: 'create-api-tool',\n input: { name: 'Weather API', slug: 'weather-api', category: 'api', description: 'Fetches weather data' },\n output: { id: 'tool-123', name: 'Weather API', slug: 'weather-api', status: 'draft' },\n },\n ],\n },\n});\n\n/**\n * UpdateToolCommand - Updates an existing tool.\n */\nexport const UpdateToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.update',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'update'],\n description: 'Updates an existing AI tool definition.',\n goal: 'Allow users to modify tool settings and configuration.',\n context: 'Called from the tool settings UI.',\n },\n io: {\n input: UpdateToolInputModel,\n output: defineSchemaModel({\n name: 'UpdateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'tool.updated',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'updated'],\n when: 'Tool is updated',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.updated'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'update-tool-happy-path',\n given: ['Tool exists', 'User owns the tool'],\n when: ['User submits updated configuration'],\n then: ['Tool is updated', 'ToolUpdated event is emitted'],\n },\n ],\n examples: [\n {\n key: 'update-description',\n input: { toolId: 'tool-123', description: 'Updated weather API tool' },\n output: { id: 'tool-123', name: 'Weather API', status: 'draft', updatedAt: '2025-01-01T00:00:00Z' },\n },\n ],\n },\n});\n\n/**\n * GetToolQuery - Retrieves a tool by ID.\n */\nexport const GetToolQuery = defineQuery({\n meta: {\n key: 'agent.tool.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'get'],\n description: 'Retrieves a tool by its ID.',\n goal: 'View detailed tool configuration.',\n context: 'Called when viewing tool details or editing.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n }),\n output: ToolModel,\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'get-tool-happy-path',\n given: ['Tool exists'],\n when: ['User requests tool by ID'],\n then: ['Tool details are returned'],\n },\n ],\n examples: [\n {\n key: 'get-basic',\n input: { toolId: 'tool-123' },\n output: { id: 'tool-123', name: 'Weather API', status: 'active', category: 'api' },\n },\n ],\n },\n});\n\n/**\n * ListToolsQuery - Lists tools for an organization.\n */\nexport const ListToolsQuery = defineQuery({\n meta: {\n key: 'agent.tool.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'list'],\n description: 'Lists tools for an organization with optional filtering.',\n goal: 'Browse and search available tools.',\n context: 'Tool list/dashboard view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListToolsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n category: { type: ToolCategoryEnum, isOptional: true },\n status: { type: ToolStatusEnum, isOptional: true },\n search: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListToolsOutput',\n fields: {\n items: { type: ToolSummaryModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'list-tools-happy-path',\n given: ['Organization has tools'],\n when: ['User lists tools'],\n then: ['Paginated list of tools is returned'],\n },\n ],\n examples: [\n {\n key: 'list-by-category',\n input: { organizationId: 'org-123', category: 'api', limit: 10 },\n output: { items: [], total: 0, hasMore: false },\n },\n ],\n },\n});\n\n/**\n * TestToolCommand - Tests a tool with sample input.\n */\nexport const TestToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.test',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'test'],\n description: 'Tests a tool with sample input to verify it works correctly.',\n goal: 'Validate tool configuration before deployment.',\n context: 'Tool builder UI - test panel.',\n },\n io: {\n input: defineSchemaModel({\n name: 'TestToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n testInput: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n }),\n output: defineSchemaModel({\n name: 'TestToolOutput',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n output: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n error: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n durationMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n TOOL_EXECUTION_ERROR: {\n description: 'Tool execution failed',\n http: 500,\n gqlCode: 'TOOL_EXECUTION_ERROR',\n when: 'Tool returns an error',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: { audit: ['tool.tested'] },\n acceptance: {\n scenarios: [\n {\n key: 'test-tool-success',\n given: ['Tool exists', 'Tool is configured correctly'],\n when: ['User runs test with valid input'],\n then: ['Tool executes successfully', 'Output is returned'],\n },\n {\n key: 'test-tool-failure',\n given: ['Tool exists', 'Tool has configuration error'],\n when: ['User runs test'],\n then: ['TOOL_EXECUTION_ERROR is returned'],\n },\n ],\n examples: [\n {\n key: 'test-weather-api',\n input: { toolId: 'tool-123', testInput: { city: 'Paris' } },\n output: { success: true, output: { temperature: 22 }, durationMs: 150 },\n },\n ],\n },\n});\n"],"mappings":";;;;;;AAUA,MAAM,SAAS,CAAC,sBAAsB;;;;AAKtC,MAAa,oBAAoB,cAAc;CAC7C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM,CAAC,QAAQ,SAAS;EACxB,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ,kBAAkB;GACxB,MAAM;GACN,QAAQ;IACN,IAAI;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACjE,MAAM;KAAE,MAAM,eAAe,gBAAgB;KAAE,YAAY;KAAO;IAClE,MAAM;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACnE,QAAQ;KAAE,MAAM;KAAgB,YAAY;KAAO;IACpD;G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GACxE,CACF;EACF;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"tool.operation.js","names":[],"sources":["../../src/tool/tool.operation.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operations';\nimport { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport { ToolCategoryEnum, ToolStatusEnum } from './tool.enum';\nimport {\n CreateToolInputModel,\n ToolModel,\n ToolSummaryModel,\n UpdateToolInputModel,\n} from './tool.schema';\n\nconst OWNERS = ['@agent-console-team'] as const;\n\n/**\n * CreateToolCommand - Creates a new tool definition.\n */\nexport const CreateToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'create'],\n description: 'Creates a new AI tool definition.',\n goal: 'Allow users to define new tools that agents can use.',\n context: 'Called from the tool builder UI when creating a new tool.',\n },\n io: {\n input: CreateToolInputModel,\n output: defineSchemaModel({\n name: 'CreateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n },\n }),\n errors: {\n SLUG_EXISTS: {\n description: 'A tool with this slug already exists in the organization',\n http: 409,\n gqlCode: 'SLUG_EXISTS',\n when: 'Slug is already taken',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'tool.created',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'created'],\n when: 'Tool is successfully created',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.created'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'create-tool-happy-path',\n given: ['User is authenticated', 'Organization exists'],\n when: ['User submits valid tool configuration'],\n then: ['New tool is created', 'ToolCreated event is emitted'],\n },\n {\n key: 'create-tool-slug-conflict',\n given: ['Tool with same slug exists'],\n when: ['User submits tool with duplicate slug'],\n then: ['SLUG_EXISTS error is returned'],\n },\n ],\n examples: [\n {\n key: 'create-api-tool',\n input: {\n name: 'Weather API',\n slug: 'weather-api',\n category: 'api',\n description: 'Fetches weather data',\n },\n output: {\n id: 'tool-123',\n name: 'Weather API',\n slug: 'weather-api',\n status: 'draft',\n },\n },\n ],\n },\n});\n\n/**\n * UpdateToolCommand - Updates an existing tool.\n */\nexport const UpdateToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.update',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'update'],\n description: 'Updates an existing AI tool definition.',\n goal: 'Allow users to modify tool settings and configuration.',\n context: 'Called from the tool settings UI.',\n },\n io: {\n input: UpdateToolInputModel,\n output: defineSchemaModel({\n name: 'UpdateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n key: 'tool.updated',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'updated'],\n when: 'Tool is updated',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.updated'],\n },\n acceptance: {\n scenarios: [\n {\n key: 'update-tool-happy-path',\n given: ['Tool exists', 'User owns the tool'],\n when: ['User submits updated configuration'],\n then: ['Tool is updated', 'ToolUpdated event is emitted'],\n },\n ],\n examples: [\n {\n key: 'update-description',\n input: { toolId: 'tool-123', description: 'Updated weather API tool' },\n output: {\n id: 'tool-123',\n name: 'Weather API',\n status: 'draft',\n updatedAt: '2025-01-01T00:00:00Z',\n },\n },\n ],\n },\n});\n\n/**\n * GetToolQuery - Retrieves a tool by ID.\n */\nexport const GetToolQuery = defineQuery({\n meta: {\n key: 'agent.tool.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'get'],\n description: 'Retrieves a tool by its ID.',\n goal: 'View detailed tool configuration.',\n context: 'Called when viewing tool details or editing.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n }),\n output: ToolModel,\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'get-tool-happy-path',\n given: ['Tool exists'],\n when: ['User requests tool by ID'],\n then: ['Tool details are returned'],\n },\n ],\n examples: [\n {\n key: 'get-basic',\n input: { toolId: 'tool-123' },\n output: {\n id: 'tool-123',\n name: 'Weather API',\n status: 'active',\n category: 'api',\n },\n },\n ],\n },\n});\n\n/**\n * ListToolsQuery - Lists tools for an organization.\n */\nexport const ListToolsQuery = defineQuery({\n meta: {\n key: 'agent.tool.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'list'],\n description: 'Lists tools for an organization with optional filtering.',\n goal: 'Browse and search available tools.',\n context: 'Tool list/dashboard view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListToolsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n category: { type: ToolCategoryEnum, isOptional: true },\n status: { type: ToolStatusEnum, isOptional: true },\n search: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListToolsOutput',\n fields: {\n items: { type: ToolSummaryModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n acceptance: {\n scenarios: [\n {\n key: 'list-tools-happy-path',\n given: ['Organization has tools'],\n when: ['User lists tools'],\n then: ['Paginated list of tools is returned'],\n },\n ],\n examples: [\n {\n key: 'list-by-category',\n input: { organizationId: 'org-123', category: 'api', limit: 10 },\n output: { items: [], total: 0, hasMore: false },\n },\n ],\n },\n});\n\n/**\n * TestToolCommand - Tests a tool with sample input.\n */\nexport const TestToolCommand = defineCommand({\n meta: {\n key: 'agent.tool.test',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'test'],\n description: 'Tests a tool with sample input to verify it works correctly.',\n goal: 'Validate tool configuration before deployment.',\n context: 'Tool builder UI - test panel.',\n },\n io: {\n input: defineSchemaModel({\n name: 'TestToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n testInput: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n }),\n output: defineSchemaModel({\n name: 'TestToolOutput',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n output: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n error: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n durationMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n TOOL_EXECUTION_ERROR: {\n description: 'Tool execution failed',\n http: 500,\n gqlCode: 'TOOL_EXECUTION_ERROR',\n when: 'Tool returns an error',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: { audit: ['tool.tested'] },\n acceptance: {\n scenarios: [\n {\n key: 'test-tool-success',\n given: ['Tool exists', 'Tool is configured correctly'],\n when: ['User runs test with valid input'],\n then: ['Tool executes successfully', 'Output is returned'],\n },\n {\n key: 'test-tool-failure',\n given: ['Tool exists', 'Tool has configuration error'],\n when: ['User runs test'],\n then: ['TOOL_EXECUTION_ERROR is returned'],\n },\n ],\n examples: [\n {\n key: 'test-weather-api',\n input: { toolId: 'tool-123', testInput: { city: 'Paris' } },\n output: { success: true, output: { temperature: 22 }, durationMs: 150 },\n },\n ],\n },\n});\n"],"mappings":";;;;;;AAUA,MAAM,SAAS,CAAC,sBAAsB;;;;AAKtC,MAAa,oBAAoB,cAAc;CAC7C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM,CAAC,QAAQ,SAAS;EACxB,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ,kBAAkB;GACxB,MAAM;GACN,QAAQ;IACN,IAAI;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACjE,MAAM;KAAE,MAAM,eAAe,gBAAgB;KAAE,YAAY;KAAO;IAClE,MAAM;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAO;IACnE,QAAQ;KAAE,MAAM;KAAgB,YAAY;KAAO;IACpD;GACF,CAAC;EACF,QAAQ,EACN,aAAa;GACX,aAAa;GACb,MAAM;GACN,SAAS;GACT,MAAM;GACP,EACF;EACF;CACD,QAAQ,EAAE,MAAM,QAAQ;CACxB,aAAa;EACX,OAAO,CACL;GACE,KAAK;GACL,SAAS;GACT,WAAW;GACX,QAAQ,CAAC,GAAG,OAAO;GACnB,MAAM,CAAC,QAAQ,UAAU;GACzB,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,eAAe;EACxB;CACD,YAAY;EACV,WAAW,CACT;GACE,KAAK;GACL,OAAO,CAAC,yBAAyB,sBAAsB;GACvD,MAAM,CAAC,wCAAw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Q;KAAE,MAAM,eAAe,YAAY;KAAE,YAAY;KAAM;IAC/D,OAAO;KAAE,MAAM,eAAe,iBAAiB;KAAE,YAAY;KAAM;IACnE,YAAY;KAAE,MAAM,eAAe,cAAc;KAAE,YAAY;KAAO;IACvE;GACF,CAAC;EACF,QAAQ;GACN,gBAAgB;IACd,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,sBAAsB;IACpB,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACF;EACF;CACD,QAAQ,EAAE,MAAM,QAAQ;CACxB,aAAa,EAAE,OAAO,CAAC,cAAc,EAAE;CACvC,YAAY;EACV,WAAW,CACT;GACE,KAAK;GACL,OAAO,CAAC,eAAe,+BAA+B;GACtD,MAAM,CAAC,kCAAkC;GACzC,MAAM,CAAC,8BAA8B,qBAAqB;GAC3D,EACD;GACE,KAAK;GACL,OAAO,CAAC,eAAe,+BAA+B;GACtD,MAAM,CAAC,iBAAiB;GACxB,MAAM,CAAC,mCAAmC;GAC3C,CACF;EACD,UAAU,CACR;GACE,KAAK;GACL,OAAO;IAAE,QAAQ;IAAY,WAAW,EAAE,MAAM,SAAS;IAAE;GAC3D,QAAQ;IAAE,SAAS;IAAM,QAAQ,EAAE,aAAa,IAAI;IAAE,YAAY;IAAK;GACxE,CACF;EACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.presentation.d.ts","names":[],"sources":["../../src/tool/tool.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;AA2Ba,cA3BA,
|
|
1
|
+
{"version":3,"file":"tool.presentation.d.ts","names":[],"sources":["../../src/tool/tool.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAOA;AA2Ba,cA3BA,oBAgDZ,EAhDkC,gBAgDlC;;;;cArBY,wBAAwB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.agent-console",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251225071908",
|
|
4
4
|
"description": "Agent Console example - AI agent orchestration with tools, runs, and logs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"test": "bun run"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
61
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
62
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
63
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
64
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
60
|
+
"@lssm/lib.schema": "0.0.0-canary-20251225071908",
|
|
61
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251225071908",
|
|
62
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251225071908",
|
|
63
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251225071908",
|
|
64
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251225071908",
|
|
65
65
|
"zod": "^4.1.13"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
69
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
68
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251225071908",
|
|
69
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251225071908",
|
|
70
70
|
"tsdown": "^0.18.3",
|
|
71
71
|
"typescript": "^5.9.3"
|
|
72
72
|
},
|