@lssm/example.agent-console 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
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 +81 -0
- package/CHANGELOG.md +6 -36
- package/dist/agent/agent.contracts.d.ts +504 -0
- package/dist/agent/agent.entity.d.ts +54 -0
- package/dist/agent/agent.enum.d.ts +17 -0
- package/dist/agent/agent.event.d.ts +127 -0
- package/dist/agent/agent.handler.d.ts +99 -0
- package/dist/agent/agent.presentation.d.ts +18 -0
- package/dist/agent/agent.schema.d.ts +400 -0
- package/dist/agent/index.d.ts +8 -0
- package/dist/agent.feature.d.ts +11 -0
- package/dist/docs/agent-console.docblock.d.ts +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/example.d.ts +39 -0
- package/dist/handlers/index.d.ts +4 -0
- package/dist/index.d.ts +30 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/run/index.d.ts +8 -0
- package/dist/run/run.contracts.d.ts +713 -0
- package/dist/run/run.entity.d.ts +81 -0
- package/dist/run/run.enum.d.ts +21 -0
- package/dist/run/run.event.d.ts +289 -0
- package/dist/run/run.handler.d.ts +202 -0
- package/dist/run/run.presentation.d.ts +14 -0
- package/dist/run/run.schema.d.ts +415 -0
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/mock-agents.d.ts +87 -0
- package/dist/shared/mock-runs.d.ts +119 -0
- package/dist/shared/mock-tools.d.ts +243 -0
- package/dist/tool/index.d.ts +8 -0
- package/dist/tool/tool.contracts.d.ts +404 -0
- package/dist/tool/tool.entity.d.ts +41 -0
- package/dist/tool/tool.enum.d.ts +17 -0
- package/dist/tool/tool.event.d.ts +102 -0
- package/dist/tool/tool.handler.d.ts +314 -0
- package/dist/tool/tool.presentation.d.ts +14 -0
- package/dist/tool/tool.schema.d.ts +217 -0
- package/package.json +43 -43
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as _lssm_lib_schema632 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts22 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/tool/tool.event.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* ToolCreatedEvent - A new tool was created.
|
|
7
|
+
*/
|
|
8
|
+
declare const ToolCreatedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema632.SchemaModel<{
|
|
9
|
+
id: {
|
|
10
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
organizationId: {
|
|
14
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
name: {
|
|
18
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
slug: {
|
|
22
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
23
|
+
isOptional: false;
|
|
24
|
+
};
|
|
25
|
+
category: {
|
|
26
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
29
|
+
implementationType: {
|
|
30
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
31
|
+
isOptional: false;
|
|
32
|
+
};
|
|
33
|
+
createdById: {
|
|
34
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
35
|
+
isOptional: true;
|
|
36
|
+
};
|
|
37
|
+
createdAt: {
|
|
38
|
+
type: _lssm_lib_schema632.FieldType<Date, string>;
|
|
39
|
+
isOptional: false;
|
|
40
|
+
};
|
|
41
|
+
}>>;
|
|
42
|
+
/**
|
|
43
|
+
* ToolUpdatedEvent - A tool was updated.
|
|
44
|
+
*/
|
|
45
|
+
declare const ToolUpdatedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema632.SchemaModel<{
|
|
46
|
+
id: {
|
|
47
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
organizationId: {
|
|
51
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
status: {
|
|
59
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
updatedFields: {
|
|
63
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
64
|
+
isArray: true;
|
|
65
|
+
isOptional: false;
|
|
66
|
+
};
|
|
67
|
+
updatedAt: {
|
|
68
|
+
type: _lssm_lib_schema632.FieldType<Date, string>;
|
|
69
|
+
isOptional: false;
|
|
70
|
+
};
|
|
71
|
+
}>>;
|
|
72
|
+
/**
|
|
73
|
+
* ToolStatusChangedEvent - A tool's status was changed.
|
|
74
|
+
*/
|
|
75
|
+
declare const ToolStatusChangedEvent: _lssm_lib_contracts22.EventSpec<_lssm_lib_schema632.SchemaModel<{
|
|
76
|
+
id: {
|
|
77
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
organizationId: {
|
|
81
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
name: {
|
|
85
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
previousStatus: {
|
|
89
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
newStatus: {
|
|
93
|
+
type: _lssm_lib_schema632.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
changedAt: {
|
|
97
|
+
type: _lssm_lib_schema632.FieldType<Date, string>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
}>>;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { ToolCreatedEvent, ToolStatusChangedEvent, ToolUpdatedEvent };
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
//#region src/tool/tool.handler.d.ts
|
|
2
|
+
interface ListToolsInput {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
category?: 'RETRIEVAL' | 'COMPUTATION' | 'COMMUNICATION' | 'INTEGRATION' | 'UTILITY' | 'CUSTOM';
|
|
5
|
+
status?: 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'DISABLED';
|
|
6
|
+
search?: string;
|
|
7
|
+
limit?: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
}
|
|
10
|
+
interface ToolSummary {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
slug: string;
|
|
14
|
+
description: string;
|
|
15
|
+
category: 'RETRIEVAL' | 'COMPUTATION' | 'COMMUNICATION' | 'INTEGRATION' | 'UTILITY' | 'CUSTOM';
|
|
16
|
+
status: 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'DISABLED';
|
|
17
|
+
version: string;
|
|
18
|
+
createdAt: Date;
|
|
19
|
+
}
|
|
20
|
+
interface ListToolsOutput {
|
|
21
|
+
items: ToolSummary[];
|
|
22
|
+
total: number;
|
|
23
|
+
hasMore: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Mock handler for ListToolsQuery.
|
|
27
|
+
*/
|
|
28
|
+
declare function mockListToolsHandler(input: ListToolsInput): Promise<ListToolsOutput>;
|
|
29
|
+
/**
|
|
30
|
+
* Mock handler for GetToolQuery.
|
|
31
|
+
*/
|
|
32
|
+
declare function mockGetToolHandler(input: {
|
|
33
|
+
toolId: string;
|
|
34
|
+
}): Promise<{
|
|
35
|
+
id: string;
|
|
36
|
+
organizationId: string;
|
|
37
|
+
name: string;
|
|
38
|
+
slug: string;
|
|
39
|
+
description: string;
|
|
40
|
+
category: "RETRIEVAL";
|
|
41
|
+
status: "ACTIVE";
|
|
42
|
+
parametersSchema: {
|
|
43
|
+
type: string;
|
|
44
|
+
properties: {
|
|
45
|
+
query: {
|
|
46
|
+
type: string;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
numResults: {
|
|
50
|
+
type: string;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
maxRows?: undefined;
|
|
54
|
+
to?: undefined;
|
|
55
|
+
subject?: undefined;
|
|
56
|
+
body?: undefined;
|
|
57
|
+
action?: undefined;
|
|
58
|
+
repo?: undefined;
|
|
59
|
+
params?: undefined;
|
|
60
|
+
expression?: undefined;
|
|
61
|
+
};
|
|
62
|
+
required: string[];
|
|
63
|
+
};
|
|
64
|
+
outputSchema: {
|
|
65
|
+
type: string;
|
|
66
|
+
items: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
properties?: undefined;
|
|
70
|
+
};
|
|
71
|
+
implementationType: "http";
|
|
72
|
+
implementationConfig: {
|
|
73
|
+
url: string;
|
|
74
|
+
method: string;
|
|
75
|
+
handler?: undefined;
|
|
76
|
+
auth?: undefined;
|
|
77
|
+
};
|
|
78
|
+
maxInvocationsPerMinute: number;
|
|
79
|
+
timeoutMs: number;
|
|
80
|
+
version: string;
|
|
81
|
+
tags: string[];
|
|
82
|
+
createdAt: Date;
|
|
83
|
+
updatedAt: Date;
|
|
84
|
+
} | {
|
|
85
|
+
id: string;
|
|
86
|
+
organizationId: string;
|
|
87
|
+
name: string;
|
|
88
|
+
slug: string;
|
|
89
|
+
description: string;
|
|
90
|
+
category: "RETRIEVAL";
|
|
91
|
+
status: "ACTIVE";
|
|
92
|
+
parametersSchema: {
|
|
93
|
+
type: string;
|
|
94
|
+
properties: {
|
|
95
|
+
query: {
|
|
96
|
+
type: string;
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
maxRows: {
|
|
100
|
+
type: string;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
numResults?: undefined;
|
|
104
|
+
to?: undefined;
|
|
105
|
+
subject?: undefined;
|
|
106
|
+
body?: undefined;
|
|
107
|
+
action?: undefined;
|
|
108
|
+
repo?: undefined;
|
|
109
|
+
params?: undefined;
|
|
110
|
+
expression?: undefined;
|
|
111
|
+
};
|
|
112
|
+
required: string[];
|
|
113
|
+
};
|
|
114
|
+
outputSchema: {
|
|
115
|
+
type: string;
|
|
116
|
+
items?: undefined;
|
|
117
|
+
properties?: undefined;
|
|
118
|
+
};
|
|
119
|
+
implementationType: "function";
|
|
120
|
+
implementationConfig: {
|
|
121
|
+
handler: string;
|
|
122
|
+
url?: undefined;
|
|
123
|
+
method?: undefined;
|
|
124
|
+
auth?: undefined;
|
|
125
|
+
};
|
|
126
|
+
maxInvocationsPerMinute: number;
|
|
127
|
+
timeoutMs: number;
|
|
128
|
+
version: string;
|
|
129
|
+
tags: string[];
|
|
130
|
+
createdAt: Date;
|
|
131
|
+
updatedAt: Date;
|
|
132
|
+
} | {
|
|
133
|
+
id: string;
|
|
134
|
+
organizationId: string;
|
|
135
|
+
name: string;
|
|
136
|
+
slug: string;
|
|
137
|
+
description: string;
|
|
138
|
+
category: "COMMUNICATION";
|
|
139
|
+
status: "ACTIVE";
|
|
140
|
+
parametersSchema: {
|
|
141
|
+
type: string;
|
|
142
|
+
properties: {
|
|
143
|
+
to: {
|
|
144
|
+
type: string;
|
|
145
|
+
};
|
|
146
|
+
subject: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
body: {
|
|
150
|
+
type: string;
|
|
151
|
+
};
|
|
152
|
+
query?: undefined;
|
|
153
|
+
numResults?: undefined;
|
|
154
|
+
maxRows?: undefined;
|
|
155
|
+
action?: undefined;
|
|
156
|
+
repo?: undefined;
|
|
157
|
+
params?: undefined;
|
|
158
|
+
expression?: undefined;
|
|
159
|
+
};
|
|
160
|
+
required: string[];
|
|
161
|
+
};
|
|
162
|
+
implementationType: "http";
|
|
163
|
+
implementationConfig: {
|
|
164
|
+
url: string;
|
|
165
|
+
method: string;
|
|
166
|
+
handler?: undefined;
|
|
167
|
+
auth?: undefined;
|
|
168
|
+
};
|
|
169
|
+
maxInvocationsPerMinute: number;
|
|
170
|
+
timeoutMs: number;
|
|
171
|
+
version: string;
|
|
172
|
+
tags: string[];
|
|
173
|
+
createdAt: Date;
|
|
174
|
+
updatedAt: Date;
|
|
175
|
+
outputSchema?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
id: string;
|
|
178
|
+
organizationId: string;
|
|
179
|
+
name: string;
|
|
180
|
+
slug: string;
|
|
181
|
+
description: string;
|
|
182
|
+
category: "INTEGRATION";
|
|
183
|
+
status: "ACTIVE";
|
|
184
|
+
parametersSchema: {
|
|
185
|
+
type: string;
|
|
186
|
+
properties: {
|
|
187
|
+
action: {
|
|
188
|
+
type: string;
|
|
189
|
+
enum: string[];
|
|
190
|
+
};
|
|
191
|
+
repo: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
params: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
query?: undefined;
|
|
198
|
+
numResults?: undefined;
|
|
199
|
+
maxRows?: undefined;
|
|
200
|
+
to?: undefined;
|
|
201
|
+
subject?: undefined;
|
|
202
|
+
body?: undefined;
|
|
203
|
+
expression?: undefined;
|
|
204
|
+
};
|
|
205
|
+
required: string[];
|
|
206
|
+
};
|
|
207
|
+
implementationType: "http";
|
|
208
|
+
implementationConfig: {
|
|
209
|
+
url: string;
|
|
210
|
+
auth: string;
|
|
211
|
+
method?: undefined;
|
|
212
|
+
handler?: undefined;
|
|
213
|
+
};
|
|
214
|
+
maxInvocationsPerMinute: number;
|
|
215
|
+
timeoutMs: number;
|
|
216
|
+
version: string;
|
|
217
|
+
tags: string[];
|
|
218
|
+
createdAt: Date;
|
|
219
|
+
updatedAt: Date;
|
|
220
|
+
outputSchema?: undefined;
|
|
221
|
+
} | {
|
|
222
|
+
id: string;
|
|
223
|
+
organizationId: string;
|
|
224
|
+
name: string;
|
|
225
|
+
slug: string;
|
|
226
|
+
description: string;
|
|
227
|
+
category: "COMPUTATION";
|
|
228
|
+
status: "ACTIVE";
|
|
229
|
+
parametersSchema: {
|
|
230
|
+
type: string;
|
|
231
|
+
properties: {
|
|
232
|
+
expression: {
|
|
233
|
+
type: string;
|
|
234
|
+
description: string;
|
|
235
|
+
};
|
|
236
|
+
query?: undefined;
|
|
237
|
+
numResults?: undefined;
|
|
238
|
+
maxRows?: undefined;
|
|
239
|
+
to?: undefined;
|
|
240
|
+
subject?: undefined;
|
|
241
|
+
body?: undefined;
|
|
242
|
+
action?: undefined;
|
|
243
|
+
repo?: undefined;
|
|
244
|
+
params?: undefined;
|
|
245
|
+
};
|
|
246
|
+
required: string[];
|
|
247
|
+
};
|
|
248
|
+
outputSchema: {
|
|
249
|
+
type: string;
|
|
250
|
+
properties: {
|
|
251
|
+
result: {
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
items?: undefined;
|
|
256
|
+
};
|
|
257
|
+
implementationType: "function";
|
|
258
|
+
implementationConfig: {
|
|
259
|
+
handler: string;
|
|
260
|
+
url?: undefined;
|
|
261
|
+
method?: undefined;
|
|
262
|
+
auth?: undefined;
|
|
263
|
+
};
|
|
264
|
+
timeoutMs: number;
|
|
265
|
+
version: string;
|
|
266
|
+
tags: string[];
|
|
267
|
+
createdAt: Date;
|
|
268
|
+
updatedAt: Date;
|
|
269
|
+
maxInvocationsPerMinute?: undefined;
|
|
270
|
+
}>;
|
|
271
|
+
/**
|
|
272
|
+
* Mock handler for CreateToolCommand.
|
|
273
|
+
*/
|
|
274
|
+
declare function mockCreateToolHandler(input: {
|
|
275
|
+
organizationId: string;
|
|
276
|
+
name: string;
|
|
277
|
+
slug: string;
|
|
278
|
+
description: string;
|
|
279
|
+
implementationType: 'http' | 'function' | 'workflow';
|
|
280
|
+
}): Promise<{
|
|
281
|
+
id: string;
|
|
282
|
+
name: string;
|
|
283
|
+
slug: string;
|
|
284
|
+
status: "DRAFT";
|
|
285
|
+
}>;
|
|
286
|
+
/**
|
|
287
|
+
* Mock handler for UpdateToolCommand.
|
|
288
|
+
*/
|
|
289
|
+
declare function mockUpdateToolHandler(input: {
|
|
290
|
+
toolId: string;
|
|
291
|
+
name?: string;
|
|
292
|
+
status?: 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'DISABLED';
|
|
293
|
+
}): Promise<{
|
|
294
|
+
id: string;
|
|
295
|
+
name: string;
|
|
296
|
+
status: "ACTIVE" | "DRAFT" | "DEPRECATED" | "DISABLED";
|
|
297
|
+
updatedAt: Date;
|
|
298
|
+
}>;
|
|
299
|
+
/**
|
|
300
|
+
* Mock handler for TestToolCommand.
|
|
301
|
+
*/
|
|
302
|
+
declare function mockTestToolHandler(input: {
|
|
303
|
+
toolId: string;
|
|
304
|
+
testInput: Record<string, unknown>;
|
|
305
|
+
}): Promise<{
|
|
306
|
+
success: boolean;
|
|
307
|
+
output: {
|
|
308
|
+
result: string;
|
|
309
|
+
input: Record<string, unknown>;
|
|
310
|
+
};
|
|
311
|
+
durationMs: number;
|
|
312
|
+
}>;
|
|
313
|
+
//#endregion
|
|
314
|
+
export { ListToolsInput, ListToolsOutput, ToolSummary, mockCreateToolHandler, mockGetToolHandler, mockListToolsHandler, mockTestToolHandler, mockUpdateToolHandler };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.presentation.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Presentation for displaying a list of tools.
|
|
7
|
+
*/
|
|
8
|
+
declare const ToolListPresentation: PresentationDescriptorV2;
|
|
9
|
+
/**
|
|
10
|
+
* Presentation for tool detail view.
|
|
11
|
+
*/
|
|
12
|
+
declare const ToolDetailPresentation: PresentationDescriptorV2;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ToolDetailPresentation, ToolListPresentation };
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import * as _lssm_lib_schema831 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/tool/tool.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* AI tool definition.
|
|
6
|
+
*/
|
|
7
|
+
declare const ToolModel: _lssm_lib_schema831.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
organizationId: {
|
|
13
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
slug: {
|
|
21
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
description: {
|
|
25
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
category: {
|
|
29
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string, string, string]>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
status: {
|
|
33
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string]>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
parametersSchema: {
|
|
37
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
38
|
+
isOptional: false;
|
|
39
|
+
};
|
|
40
|
+
outputSchema: {
|
|
41
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
42
|
+
isOptional: true;
|
|
43
|
+
};
|
|
44
|
+
implementationType: {
|
|
45
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string]>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
implementationConfig: {
|
|
49
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
50
|
+
isOptional: false;
|
|
51
|
+
};
|
|
52
|
+
maxInvocationsPerMinute: {
|
|
53
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
54
|
+
isOptional: true;
|
|
55
|
+
};
|
|
56
|
+
timeoutMs: {
|
|
57
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
58
|
+
isOptional: false;
|
|
59
|
+
defaultValue: number;
|
|
60
|
+
};
|
|
61
|
+
version: {
|
|
62
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
63
|
+
isOptional: false;
|
|
64
|
+
};
|
|
65
|
+
tags: {
|
|
66
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
67
|
+
isArray: true;
|
|
68
|
+
isOptional: true;
|
|
69
|
+
};
|
|
70
|
+
createdAt: {
|
|
71
|
+
type: _lssm_lib_schema831.FieldType<Date, string>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
updatedAt: {
|
|
75
|
+
type: _lssm_lib_schema831.FieldType<Date, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
}>;
|
|
79
|
+
/**
|
|
80
|
+
* Summary of a tool for list views.
|
|
81
|
+
*/
|
|
82
|
+
declare const ToolSummaryModel: _lssm_lib_schema831.SchemaModel<{
|
|
83
|
+
id: {
|
|
84
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
85
|
+
isOptional: false;
|
|
86
|
+
};
|
|
87
|
+
name: {
|
|
88
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
89
|
+
isOptional: false;
|
|
90
|
+
};
|
|
91
|
+
slug: {
|
|
92
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
93
|
+
isOptional: false;
|
|
94
|
+
};
|
|
95
|
+
description: {
|
|
96
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
97
|
+
isOptional: false;
|
|
98
|
+
};
|
|
99
|
+
category: {
|
|
100
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string, string, string]>;
|
|
101
|
+
isOptional: false;
|
|
102
|
+
};
|
|
103
|
+
status: {
|
|
104
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string]>;
|
|
105
|
+
isOptional: false;
|
|
106
|
+
};
|
|
107
|
+
version: {
|
|
108
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
109
|
+
isOptional: false;
|
|
110
|
+
};
|
|
111
|
+
createdAt: {
|
|
112
|
+
type: _lssm_lib_schema831.FieldType<Date, string>;
|
|
113
|
+
isOptional: false;
|
|
114
|
+
};
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* Input for creating a tool.
|
|
118
|
+
*/
|
|
119
|
+
declare const CreateToolInputModel: _lssm_lib_schema831.SchemaModel<{
|
|
120
|
+
organizationId: {
|
|
121
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
122
|
+
isOptional: false;
|
|
123
|
+
};
|
|
124
|
+
name: {
|
|
125
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
126
|
+
isOptional: false;
|
|
127
|
+
};
|
|
128
|
+
slug: {
|
|
129
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
130
|
+
isOptional: false;
|
|
131
|
+
};
|
|
132
|
+
description: {
|
|
133
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
134
|
+
isOptional: false;
|
|
135
|
+
};
|
|
136
|
+
category: {
|
|
137
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string, string, string]>;
|
|
138
|
+
isOptional: true;
|
|
139
|
+
};
|
|
140
|
+
parametersSchema: {
|
|
141
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
};
|
|
144
|
+
outputSchema: {
|
|
145
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
146
|
+
isOptional: true;
|
|
147
|
+
};
|
|
148
|
+
implementationType: {
|
|
149
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string]>;
|
|
150
|
+
isOptional: false;
|
|
151
|
+
};
|
|
152
|
+
implementationConfig: {
|
|
153
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
154
|
+
isOptional: false;
|
|
155
|
+
};
|
|
156
|
+
maxInvocationsPerMinute: {
|
|
157
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
158
|
+
isOptional: true;
|
|
159
|
+
};
|
|
160
|
+
timeoutMs: {
|
|
161
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
162
|
+
isOptional: true;
|
|
163
|
+
};
|
|
164
|
+
tags: {
|
|
165
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
166
|
+
isArray: true;
|
|
167
|
+
isOptional: true;
|
|
168
|
+
};
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Input for updating a tool.
|
|
172
|
+
*/
|
|
173
|
+
declare const UpdateToolInputModel: _lssm_lib_schema831.SchemaModel<{
|
|
174
|
+
toolId: {
|
|
175
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
176
|
+
isOptional: false;
|
|
177
|
+
};
|
|
178
|
+
name: {
|
|
179
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
180
|
+
isOptional: true;
|
|
181
|
+
};
|
|
182
|
+
description: {
|
|
183
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
184
|
+
isOptional: true;
|
|
185
|
+
};
|
|
186
|
+
status: {
|
|
187
|
+
type: _lssm_lib_schema831.EnumType<[string, string, string, string]>;
|
|
188
|
+
isOptional: true;
|
|
189
|
+
};
|
|
190
|
+
parametersSchema: {
|
|
191
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
192
|
+
isOptional: true;
|
|
193
|
+
};
|
|
194
|
+
outputSchema: {
|
|
195
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
196
|
+
isOptional: true;
|
|
197
|
+
};
|
|
198
|
+
implementationConfig: {
|
|
199
|
+
type: _lssm_lib_schema831.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
200
|
+
isOptional: true;
|
|
201
|
+
};
|
|
202
|
+
maxInvocationsPerMinute: {
|
|
203
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
204
|
+
isOptional: true;
|
|
205
|
+
};
|
|
206
|
+
timeoutMs: {
|
|
207
|
+
type: _lssm_lib_schema831.FieldType<number, number>;
|
|
208
|
+
isOptional: true;
|
|
209
|
+
};
|
|
210
|
+
tags: {
|
|
211
|
+
type: _lssm_lib_schema831.FieldType<string, string>;
|
|
212
|
+
isArray: true;
|
|
213
|
+
isOptional: true;
|
|
214
|
+
};
|
|
215
|
+
}>;
|
|
216
|
+
//#endregion
|
|
217
|
+
export { CreateToolInputModel, ToolModel, ToolSummaryModel, UpdateToolInputModel };
|