@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.
Files changed (38) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +81 -0
  2. package/CHANGELOG.md +6 -36
  3. package/dist/agent/agent.contracts.d.ts +504 -0
  4. package/dist/agent/agent.entity.d.ts +54 -0
  5. package/dist/agent/agent.enum.d.ts +17 -0
  6. package/dist/agent/agent.event.d.ts +127 -0
  7. package/dist/agent/agent.handler.d.ts +99 -0
  8. package/dist/agent/agent.presentation.d.ts +18 -0
  9. package/dist/agent/agent.schema.d.ts +400 -0
  10. package/dist/agent/index.d.ts +8 -0
  11. package/dist/agent.feature.d.ts +11 -0
  12. package/dist/docs/agent-console.docblock.d.ts +1 -0
  13. package/dist/docs/index.d.ts +1 -0
  14. package/dist/example.d.ts +39 -0
  15. package/dist/handlers/index.d.ts +4 -0
  16. package/dist/index.d.ts +30 -0
  17. package/dist/presentations/index.d.ts +4 -0
  18. package/dist/run/index.d.ts +8 -0
  19. package/dist/run/run.contracts.d.ts +713 -0
  20. package/dist/run/run.entity.d.ts +81 -0
  21. package/dist/run/run.enum.d.ts +21 -0
  22. package/dist/run/run.event.d.ts +289 -0
  23. package/dist/run/run.handler.d.ts +202 -0
  24. package/dist/run/run.presentation.d.ts +14 -0
  25. package/dist/run/run.schema.d.ts +415 -0
  26. package/dist/shared/index.d.ts +4 -0
  27. package/dist/shared/mock-agents.d.ts +87 -0
  28. package/dist/shared/mock-runs.d.ts +119 -0
  29. package/dist/shared/mock-tools.d.ts +243 -0
  30. package/dist/tool/index.d.ts +8 -0
  31. package/dist/tool/tool.contracts.d.ts +404 -0
  32. package/dist/tool/tool.entity.d.ts +41 -0
  33. package/dist/tool/tool.enum.d.ts +17 -0
  34. package/dist/tool/tool.event.d.ts +102 -0
  35. package/dist/tool/tool.handler.d.ts +314 -0
  36. package/dist/tool/tool.presentation.d.ts +14 -0
  37. package/dist/tool/tool.schema.d.ts +217 -0
  38. package/package.json +43 -43
@@ -0,0 +1,81 @@
1
+
2
+ $ tsdown
3
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
+ ℹ config file: /Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/agent-console/tsdown.config.js (unrun)
5
+ ℹ entry: src/agent.feature.ts, src/example.ts, src/index.ts, src/agent/agent.contracts.ts, src/agent/agent.entity.ts, src/agent/agent.enum.ts, src/agent/agent.event.ts, src/agent/agent.handler.ts, src/agent/agent.presentation.ts, src/agent/agent.schema.ts, src/agent/index.ts, src/docs/agent-console.docblock.ts, src/docs/index.ts, src/handlers/index.ts, src/presentations/index.ts, src/shared/index.ts, src/shared/mock-agents.ts, src/shared/mock-runs.ts, src/shared/mock-tools.ts, src/run/index.ts, src/run/run.contracts.ts, src/run/run.entity.ts, src/run/run.enum.ts, src/run/run.event.ts, src/run/run.handler.ts, src/run/run.presentation.ts, src/run/run.schema.ts, src/tool/index.ts, src/tool/tool.contracts.ts, src/tool/tool.entity.ts, src/tool/tool.enum.ts, src/tool/tool.event.ts, src/tool/tool.handler.ts, src/tool/tool.presentation.ts, src/tool/tool.schema.ts
6
+ ℹ target: esnext
7
+ ℹ tsconfig: tsconfig.json
8
+ ℹ Build start
9
+ ℹ Cleaning 77 files
10
+ ℹ dist/run/run.contracts.js  6.37 kB │ gzip: 1.63 kB
11
+ ℹ dist/index.js  5.65 kB │ gzip: 1.48 kB
12
+ ℹ dist/agent/agent.contracts.js  5.04 kB │ gzip: 1.42 kB
13
+ ℹ dist/agent/agent.schema.js  4.85 kB │ gzip: 0.71 kB
14
+ ℹ dist/run/run.event.js  4.73 kB │ gzip: 0.81 kB
15
+ ℹ dist/tool/tool.contracts.js  4.25 kB │ gzip: 1.30 kB
16
+ ℹ dist/run/run.schema.js  3.90 kB │ gzip: 0.83 kB
17
+ ℹ dist/run/run.entity.js  3.69 kB │ gzip: 1.16 kB
18
+ ℹ dist/docs/agent-console.docblock.js  3.37 kB │ gzip: 1.36 kB
19
+ ℹ dist/shared/mock-tools.js  3.09 kB │ gzip: 1.00 kB
20
+ ℹ dist/agent.feature.js  2.88 kB │ gzip: 0.62 kB
21
+ ℹ dist/agent/agent.entity.js  2.87 kB │ gzip: 1.12 kB
22
+ ℹ dist/tool/tool.schema.js  2.85 kB │ gzip: 0.57 kB
23
+ ℹ dist/shared/mock-runs.js  2.35 kB │ gzip: 0.72 kB
24
+ ℹ dist/agent/agent.event.js  2.25 kB │ gzip: 0.51 kB
25
+ ℹ dist/shared/mock-agents.js  2.03 kB │ gzip: 0.81 kB
26
+ ℹ dist/tool/tool.entity.js  1.88 kB │ gzip: 0.79 kB
27
+ ℹ dist/run/index.js  1.84 kB │ gzip: 0.60 kB
28
+ ℹ dist/tool/tool.event.js  1.81 kB │ gzip: 0.47 kB
29
+ ℹ dist/agent/index.js  1.74 kB │ gzip: 0.53 kB
30
+ ℹ dist/tool/index.js  1.47 kB │ gzip: 0.46 kB
31
+ ℹ dist/agent/agent.handler.js  1.47 kB │ gzip: 0.67 kB
32
+ ℹ dist/tool/tool.handler.js  1.41 kB │ gzip: 0.66 kB
33
+ ℹ dist/run/run.handler.js  1.40 kB │ gzip: 0.68 kB
34
+ ℹ dist/agent/agent.presentation.js  1.27 kB │ gzip: 0.44 kB
35
+ ℹ dist/tool/tool.presentation.js  0.85 kB │ gzip: 0.39 kB
36
+ ℹ dist/run/run.presentation.js  0.84 kB │ gzip: 0.38 kB
37
+ ℹ dist/example.js  0.78 kB │ gzip: 0.41 kB
38
+ ℹ dist/presentations/index.js  0.59 kB │ gzip: 0.21 kB
39
+ ℹ dist/handlers/index.js  0.59 kB │ gzip: 0.21 kB
40
+ ℹ dist/run/run.enum.js  0.40 kB │ gzip: 0.28 kB
41
+ ℹ dist/tool/tool.enum.js  0.34 kB │ gzip: 0.25 kB
42
+ ℹ dist/agent/agent.enum.js  0.30 kB │ gzip: 0.23 kB
43
+ ℹ dist/shared/index.js  0.19 kB │ gzip: 0.12 kB
44
+ ℹ dist/docs/index.js  0.04 kB │ gzip: 0.06 kB
45
+ ℹ dist/run/run.contracts.d.ts 19.73 kB │ gzip: 1.49 kB
46
+ ℹ dist/agent/agent.contracts.d.ts 13.65 kB │ gzip: 1.16 kB
47
+ ℹ dist/tool/tool.contracts.d.ts 11.06 kB │ gzip: 1.00 kB
48
+ ℹ dist/run/run.schema.d.ts 11.03 kB │ gzip: 1.03 kB
49
+ ℹ dist/agent/agent.schema.d.ts 10.33 kB │ gzip: 0.80 kB
50
+ ℹ dist/run/run.event.d.ts  7.76 kB │ gzip: 0.76 kB
51
+ ℹ dist/tool/tool.handler.d.ts  6.72 kB │ gzip: 1.07 kB
52
+ ℹ dist/tool/tool.schema.d.ts  5.92 kB │ gzip: 0.61 kB
53
+ ℹ dist/index.d.ts  5.26 kB │ gzip: 1.11 kB
54
+ ℹ dist/shared/mock-tools.d.ts  4.85 kB │ gzip: 0.68 kB
55
+ ℹ dist/run/run.handler.d.ts  4.47 kB │ gzip: 0.87 kB
56
+ ℹ dist/agent/agent.event.d.ts  3.42 kB │ gzip: 0.48 kB
57
+ ℹ dist/run/run.entity.d.ts  3.39 kB │ gzip: 0.58 kB
58
+ ℹ dist/tool/tool.event.d.ts  2.72 kB │ gzip: 0.43 kB
59
+ ℹ dist/agent/agent.handler.d.ts  2.63 kB │ gzip: 0.74 kB
60
+ ℹ dist/shared/mock-runs.d.ts  2.37 kB │ gzip: 0.48 kB
61
+ ℹ dist/agent/agent.entity.d.ts  2.29 kB │ gzip: 0.51 kB
62
+ ℹ dist/agent/index.d.ts  1.75 kB │ gzip: 0.44 kB
63
+ ℹ dist/shared/mock-agents.d.ts  1.69 kB │ gzip: 0.38 kB
64
+ ℹ dist/tool/tool.entity.d.ts  1.69 kB │ gzip: 0.43 kB
65
+ ℹ dist/run/index.d.ts  1.68 kB │ gzip: 0.46 kB
66
+ ℹ dist/tool/index.d.ts  1.41 kB │ gzip: 0.37 kB
67
+ ℹ dist/example.d.ts  1.33 kB │ gzip: 0.49 kB
68
+ ℹ dist/run/run.enum.d.ts  0.68 kB │ gzip: 0.25 kB
69
+ ℹ dist/handlers/index.d.ts  0.63 kB │ gzip: 0.20 kB
70
+ ℹ dist/agent/agent.presentation.d.ts  0.62 kB │ gzip: 0.26 kB
71
+ ℹ dist/presentations/index.d.ts  0.60 kB │ gzip: 0.18 kB
72
+ ℹ dist/tool/tool.enum.d.ts  0.56 kB │ gzip: 0.23 kB
73
+ ℹ dist/agent/agent.enum.d.ts  0.55 kB │ gzip: 0.24 kB
74
+ ℹ dist/tool/tool.presentation.d.ts  0.41 kB │ gzip: 0.21 kB
75
+ ℹ dist/run/run.presentation.d.ts  0.40 kB │ gzip: 0.21 kB
76
+ ℹ dist/agent.feature.d.ts  0.34 kB │ gzip: 0.22 kB
77
+ ℹ dist/shared/index.d.ts  0.18 kB │ gzip: 0.10 kB
78
+ ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
79
+ ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
80
+ ℹ 70 files, total: 211.50 kB
81
+ ✔ Build complete in 11952ms
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lssm/example.agent-console
2
2
 
3
- ## 0.0.0-canary-20251217054315
3
+ ## 0.0.0-canary-20251217060804
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,38 +9,8 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [66a5dfd]
12
- - @lssm/lib.contracts@0.0.0-canary-20251217054315
13
- - @lssm/lib.identity-rbac@0.0.0-canary-20251217054315
14
- - @lssm/lib.jobs@0.0.0-canary-20251217054315
15
- - @lssm/lib.schema@0.0.0-canary-20251217054315
16
- - @lssm/module.audit-trail@0.0.0-canary-20251217054315
17
-
18
- ## 1.42.0
19
-
20
- ### Minor Changes
21
-
22
- - 66a5dfd: initial release
23
-
24
- ### Patch Changes
25
-
26
- - Updated dependencies [66a5dfd]
27
- - @lssm/lib.contracts@1.42.0
28
- - @lssm/lib.identity-rbac@1.42.0
29
- - @lssm/lib.jobs@1.42.0
30
- - @lssm/lib.schema@1.42.0
31
- - @lssm/module.audit-trail@1.42.0
32
-
33
- ## 0.0.0-canary-20251217053014
34
-
35
- ### Minor Changes
36
-
37
- - 66a5dfd: initial release
38
-
39
- ### Patch Changes
40
-
41
- - Updated dependencies [66a5dfd]
42
- - @lssm/lib.contracts@0.0.0-canary-20251217053014
43
- - @lssm/lib.identity-rbac@0.0.0-canary-20251217053014
44
- - @lssm/lib.jobs@0.0.0-canary-20251217053014
45
- - @lssm/lib.schema@0.0.0-canary-20251217053014
46
- - @lssm/module.audit-trail@0.0.0-canary-20251217053014
12
+ - @lssm/lib.contracts@0.0.0-canary-20251217060804
13
+ - @lssm/lib.identity-rbac@0.0.0-canary-20251217060804
14
+ - @lssm/lib.jobs@0.0.0-canary-20251217060804
15
+ - @lssm/lib.schema@0.0.0-canary-20251217060804
16
+ - @lssm/module.audit-trail@0.0.0-canary-20251217060804
@@ -0,0 +1,504 @@
1
+ import * as _lssm_lib_schema169 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts8 from "@lssm/lib.contracts";
3
+
4
+ //#region src/agent/agent.contracts.d.ts
5
+ /**
6
+ * CreateAgentCommand - Creates a new agent configuration.
7
+ */
8
+ declare const CreateAgentCommand: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
9
+ organizationId: {
10
+ type: _lssm_lib_schema169.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ name: {
14
+ type: _lssm_lib_schema169.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ slug: {
18
+ type: _lssm_lib_schema169.FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ description: {
22
+ type: _lssm_lib_schema169.FieldType<string, string>;
23
+ isOptional: true;
24
+ };
25
+ modelProvider: {
26
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string, string]>;
27
+ isOptional: false;
28
+ };
29
+ modelName: {
30
+ type: _lssm_lib_schema169.FieldType<string, string>;
31
+ isOptional: false;
32
+ };
33
+ modelConfig: {
34
+ type: _lssm_lib_schema169.FieldType<Record<string, unknown>, Record<string, unknown>>;
35
+ isOptional: true;
36
+ };
37
+ systemPrompt: {
38
+ type: _lssm_lib_schema169.FieldType<string, string>;
39
+ isOptional: false;
40
+ };
41
+ userPromptTemplate: {
42
+ type: _lssm_lib_schema169.FieldType<string, string>;
43
+ isOptional: true;
44
+ };
45
+ toolIds: {
46
+ type: _lssm_lib_schema169.FieldType<string, string>;
47
+ isArray: true;
48
+ isOptional: true;
49
+ };
50
+ toolChoice: {
51
+ type: _lssm_lib_schema169.EnumType<[string, string, string]>;
52
+ isOptional: true;
53
+ };
54
+ maxIterations: {
55
+ type: _lssm_lib_schema169.FieldType<number, number>;
56
+ isOptional: true;
57
+ };
58
+ maxTokensPerRun: {
59
+ type: _lssm_lib_schema169.FieldType<number, number>;
60
+ isOptional: true;
61
+ };
62
+ timeoutMs: {
63
+ type: _lssm_lib_schema169.FieldType<number, number>;
64
+ isOptional: true;
65
+ };
66
+ tags: {
67
+ type: _lssm_lib_schema169.FieldType<string, string>;
68
+ isArray: true;
69
+ isOptional: true;
70
+ };
71
+ }>, _lssm_lib_schema169.SchemaModel<{
72
+ id: {
73
+ type: _lssm_lib_schema169.FieldType<string, string>;
74
+ isOptional: false;
75
+ };
76
+ name: {
77
+ type: _lssm_lib_schema169.FieldType<string, string>;
78
+ isOptional: false;
79
+ };
80
+ slug: {
81
+ type: _lssm_lib_schema169.FieldType<string, string>;
82
+ isOptional: false;
83
+ };
84
+ status: {
85
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
86
+ isOptional: false;
87
+ };
88
+ }>, {
89
+ ref: _lssm_lib_contracts8.EventSpec<_lssm_lib_schema169.SchemaModel<{
90
+ id: {
91
+ type: _lssm_lib_schema169.FieldType<string, string>;
92
+ isOptional: false;
93
+ };
94
+ organizationId: {
95
+ type: _lssm_lib_schema169.FieldType<string, string>;
96
+ isOptional: false;
97
+ };
98
+ name: {
99
+ type: _lssm_lib_schema169.FieldType<string, string>;
100
+ isOptional: false;
101
+ };
102
+ slug: {
103
+ type: _lssm_lib_schema169.FieldType<string, string>;
104
+ isOptional: false;
105
+ };
106
+ modelProvider: {
107
+ type: _lssm_lib_schema169.FieldType<string, string>;
108
+ isOptional: false;
109
+ };
110
+ modelName: {
111
+ type: _lssm_lib_schema169.FieldType<string, string>;
112
+ isOptional: false;
113
+ };
114
+ toolCount: {
115
+ type: _lssm_lib_schema169.FieldType<number, number>;
116
+ isOptional: false;
117
+ };
118
+ createdById: {
119
+ type: _lssm_lib_schema169.FieldType<string, string>;
120
+ isOptional: true;
121
+ };
122
+ createdAt: {
123
+ type: _lssm_lib_schema169.FieldType<Date, string>;
124
+ isOptional: false;
125
+ };
126
+ }>>;
127
+ when: string;
128
+ }[]>;
129
+ /**
130
+ * UpdateAgentCommand - Updates an existing agent.
131
+ */
132
+ declare const UpdateAgentCommand: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
133
+ agentId: {
134
+ type: _lssm_lib_schema169.FieldType<string, string>;
135
+ isOptional: false;
136
+ };
137
+ name: {
138
+ type: _lssm_lib_schema169.FieldType<string, string>;
139
+ isOptional: true;
140
+ };
141
+ description: {
142
+ type: _lssm_lib_schema169.FieldType<string, string>;
143
+ isOptional: true;
144
+ };
145
+ status: {
146
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
147
+ isOptional: true;
148
+ };
149
+ modelConfig: {
150
+ type: _lssm_lib_schema169.FieldType<Record<string, unknown>, Record<string, unknown>>;
151
+ isOptional: true;
152
+ };
153
+ systemPrompt: {
154
+ type: _lssm_lib_schema169.FieldType<string, string>;
155
+ isOptional: true;
156
+ };
157
+ userPromptTemplate: {
158
+ type: _lssm_lib_schema169.FieldType<string, string>;
159
+ isOptional: true;
160
+ };
161
+ toolIds: {
162
+ type: _lssm_lib_schema169.FieldType<string, string>;
163
+ isArray: true;
164
+ isOptional: true;
165
+ };
166
+ toolChoice: {
167
+ type: _lssm_lib_schema169.EnumType<[string, string, string]>;
168
+ isOptional: true;
169
+ };
170
+ maxIterations: {
171
+ type: _lssm_lib_schema169.FieldType<number, number>;
172
+ isOptional: true;
173
+ };
174
+ maxTokensPerRun: {
175
+ type: _lssm_lib_schema169.FieldType<number, number>;
176
+ isOptional: true;
177
+ };
178
+ timeoutMs: {
179
+ type: _lssm_lib_schema169.FieldType<number, number>;
180
+ isOptional: true;
181
+ };
182
+ tags: {
183
+ type: _lssm_lib_schema169.FieldType<string, string>;
184
+ isArray: true;
185
+ isOptional: true;
186
+ };
187
+ }>, _lssm_lib_schema169.SchemaModel<{
188
+ id: {
189
+ type: _lssm_lib_schema169.FieldType<string, string>;
190
+ isOptional: false;
191
+ };
192
+ name: {
193
+ type: _lssm_lib_schema169.FieldType<string, string>;
194
+ isOptional: false;
195
+ };
196
+ status: {
197
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
198
+ isOptional: false;
199
+ };
200
+ updatedAt: {
201
+ type: _lssm_lib_schema169.FieldType<Date, string>;
202
+ isOptional: false;
203
+ };
204
+ }>, {
205
+ name: string;
206
+ version: number;
207
+ when: string;
208
+ payload: _lssm_lib_schema169.SchemaModel<{
209
+ id: {
210
+ type: _lssm_lib_schema169.FieldType<string, string>;
211
+ isOptional: false;
212
+ };
213
+ name: {
214
+ type: _lssm_lib_schema169.FieldType<string, string>;
215
+ isOptional: false;
216
+ };
217
+ slug: {
218
+ type: _lssm_lib_schema169.FieldType<string, string>;
219
+ isOptional: false;
220
+ };
221
+ description: {
222
+ type: _lssm_lib_schema169.FieldType<string, string>;
223
+ isOptional: true;
224
+ };
225
+ status: {
226
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
227
+ isOptional: false;
228
+ };
229
+ modelProvider: {
230
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string, string]>;
231
+ isOptional: false;
232
+ };
233
+ modelName: {
234
+ type: _lssm_lib_schema169.FieldType<string, string>;
235
+ isOptional: false;
236
+ };
237
+ version: {
238
+ type: _lssm_lib_schema169.FieldType<string, string>;
239
+ isOptional: false;
240
+ };
241
+ createdAt: {
242
+ type: _lssm_lib_schema169.FieldType<Date, string>;
243
+ isOptional: false;
244
+ };
245
+ }>;
246
+ }[]>;
247
+ /**
248
+ * GetAgentQuery - Retrieves an agent by ID.
249
+ */
250
+ declare const GetAgentQuery: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
251
+ agentId: {
252
+ type: _lssm_lib_schema169.FieldType<string, string>;
253
+ isOptional: false;
254
+ };
255
+ includeTools: {
256
+ type: _lssm_lib_schema169.FieldType<boolean, boolean>;
257
+ isOptional: true;
258
+ };
259
+ }>, _lssm_lib_schema169.SchemaModel<{
260
+ id: {
261
+ type: _lssm_lib_schema169.FieldType<string, string>;
262
+ isOptional: false;
263
+ };
264
+ organizationId: {
265
+ type: _lssm_lib_schema169.FieldType<string, string>;
266
+ isOptional: false;
267
+ };
268
+ name: {
269
+ type: _lssm_lib_schema169.FieldType<string, string>;
270
+ isOptional: false;
271
+ };
272
+ slug: {
273
+ type: _lssm_lib_schema169.FieldType<string, string>;
274
+ isOptional: false;
275
+ };
276
+ description: {
277
+ type: _lssm_lib_schema169.FieldType<string, string>;
278
+ isOptional: true;
279
+ };
280
+ status: {
281
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
282
+ isOptional: false;
283
+ };
284
+ modelProvider: {
285
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string, string]>;
286
+ isOptional: false;
287
+ };
288
+ modelName: {
289
+ type: _lssm_lib_schema169.FieldType<string, string>;
290
+ isOptional: false;
291
+ };
292
+ modelConfig: {
293
+ type: _lssm_lib_schema169.FieldType<Record<string, unknown>, Record<string, unknown>>;
294
+ isOptional: true;
295
+ };
296
+ systemPrompt: {
297
+ type: _lssm_lib_schema169.FieldType<string, string>;
298
+ isOptional: false;
299
+ };
300
+ userPromptTemplate: {
301
+ type: _lssm_lib_schema169.FieldType<string, string>;
302
+ isOptional: true;
303
+ };
304
+ toolIds: {
305
+ type: _lssm_lib_schema169.FieldType<string, string>;
306
+ isArray: true;
307
+ isOptional: true;
308
+ };
309
+ toolChoice: {
310
+ type: _lssm_lib_schema169.EnumType<[string, string, string]>;
311
+ isOptional: false;
312
+ };
313
+ maxIterations: {
314
+ type: _lssm_lib_schema169.FieldType<number, number>;
315
+ isOptional: false;
316
+ };
317
+ maxTokensPerRun: {
318
+ type: _lssm_lib_schema169.FieldType<number, number>;
319
+ isOptional: true;
320
+ };
321
+ timeoutMs: {
322
+ type: _lssm_lib_schema169.FieldType<number, number>;
323
+ isOptional: false;
324
+ };
325
+ version: {
326
+ type: _lssm_lib_schema169.FieldType<string, string>;
327
+ isOptional: false;
328
+ };
329
+ tags: {
330
+ type: _lssm_lib_schema169.FieldType<string, string>;
331
+ isArray: true;
332
+ isOptional: true;
333
+ };
334
+ createdAt: {
335
+ type: _lssm_lib_schema169.FieldType<Date, string>;
336
+ isOptional: false;
337
+ };
338
+ updatedAt: {
339
+ type: _lssm_lib_schema169.FieldType<Date, string>;
340
+ isOptional: false;
341
+ };
342
+ tools: {
343
+ type: _lssm_lib_schema169.SchemaModel<{
344
+ id: {
345
+ type: _lssm_lib_schema169.FieldType<string, string>;
346
+ isOptional: false;
347
+ };
348
+ name: {
349
+ type: _lssm_lib_schema169.FieldType<string, string>;
350
+ isOptional: false;
351
+ };
352
+ slug: {
353
+ type: _lssm_lib_schema169.FieldType<string, string>;
354
+ isOptional: false;
355
+ };
356
+ description: {
357
+ type: _lssm_lib_schema169.FieldType<string, string>;
358
+ isOptional: false;
359
+ };
360
+ category: {
361
+ type: _lssm_lib_schema169.FieldType<string, string>;
362
+ isOptional: false;
363
+ };
364
+ }>;
365
+ isArray: true;
366
+ isOptional: true;
367
+ };
368
+ }>, undefined>;
369
+ /**
370
+ * ListAgentsQuery - Lists agents for an organization.
371
+ */
372
+ declare const ListAgentsQuery: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
373
+ organizationId: {
374
+ type: _lssm_lib_schema169.FieldType<string, string>;
375
+ isOptional: false;
376
+ };
377
+ status: {
378
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
379
+ isOptional: true;
380
+ };
381
+ modelProvider: {
382
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string, string]>;
383
+ isOptional: true;
384
+ };
385
+ search: {
386
+ type: _lssm_lib_schema169.FieldType<string, string>;
387
+ isOptional: true;
388
+ };
389
+ limit: {
390
+ type: _lssm_lib_schema169.FieldType<number, number>;
391
+ isOptional: true;
392
+ defaultValue: number;
393
+ };
394
+ offset: {
395
+ type: _lssm_lib_schema169.FieldType<number, number>;
396
+ isOptional: true;
397
+ defaultValue: number;
398
+ };
399
+ }>, _lssm_lib_schema169.SchemaModel<{
400
+ items: {
401
+ type: _lssm_lib_schema169.SchemaModel<{
402
+ id: {
403
+ type: _lssm_lib_schema169.FieldType<string, string>;
404
+ isOptional: false;
405
+ };
406
+ name: {
407
+ type: _lssm_lib_schema169.FieldType<string, string>;
408
+ isOptional: false;
409
+ };
410
+ slug: {
411
+ type: _lssm_lib_schema169.FieldType<string, string>;
412
+ isOptional: false;
413
+ };
414
+ description: {
415
+ type: _lssm_lib_schema169.FieldType<string, string>;
416
+ isOptional: true;
417
+ };
418
+ status: {
419
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string]>;
420
+ isOptional: false;
421
+ };
422
+ modelProvider: {
423
+ type: _lssm_lib_schema169.EnumType<[string, string, string, string, string]>;
424
+ isOptional: false;
425
+ };
426
+ modelName: {
427
+ type: _lssm_lib_schema169.FieldType<string, string>;
428
+ isOptional: false;
429
+ };
430
+ version: {
431
+ type: _lssm_lib_schema169.FieldType<string, string>;
432
+ isOptional: false;
433
+ };
434
+ createdAt: {
435
+ type: _lssm_lib_schema169.FieldType<Date, string>;
436
+ isOptional: false;
437
+ };
438
+ }>;
439
+ isArray: true;
440
+ isOptional: false;
441
+ };
442
+ total: {
443
+ type: _lssm_lib_schema169.FieldType<number, number>;
444
+ isOptional: false;
445
+ };
446
+ hasMore: {
447
+ type: _lssm_lib_schema169.FieldType<boolean, boolean>;
448
+ isOptional: false;
449
+ };
450
+ }>, undefined>;
451
+ /**
452
+ * AssignToolToAgentCommand - Assigns a tool to an agent.
453
+ */
454
+ declare const AssignToolToAgentCommand: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
455
+ agentId: {
456
+ type: _lssm_lib_schema169.FieldType<string, string>;
457
+ isOptional: false;
458
+ };
459
+ toolId: {
460
+ type: _lssm_lib_schema169.FieldType<string, string>;
461
+ isOptional: false;
462
+ };
463
+ config: {
464
+ type: _lssm_lib_schema169.FieldType<Record<string, unknown>, Record<string, unknown>>;
465
+ isOptional: true;
466
+ };
467
+ order: {
468
+ type: _lssm_lib_schema169.FieldType<number, number>;
469
+ isOptional: true;
470
+ };
471
+ }>, _lssm_lib_schema169.SchemaModel<{
472
+ agentToolId: {
473
+ type: _lssm_lib_schema169.FieldType<string, string>;
474
+ isOptional: false;
475
+ };
476
+ agentId: {
477
+ type: _lssm_lib_schema169.FieldType<string, string>;
478
+ isOptional: false;
479
+ };
480
+ toolId: {
481
+ type: _lssm_lib_schema169.FieldType<string, string>;
482
+ isOptional: false;
483
+ };
484
+ }>, undefined>;
485
+ /**
486
+ * RemoveToolFromAgentCommand - Removes a tool from an agent.
487
+ */
488
+ declare const RemoveToolFromAgentCommand: _lssm_lib_contracts8.ContractSpec<_lssm_lib_schema169.SchemaModel<{
489
+ agentId: {
490
+ type: _lssm_lib_schema169.FieldType<string, string>;
491
+ isOptional: false;
492
+ };
493
+ toolId: {
494
+ type: _lssm_lib_schema169.FieldType<string, string>;
495
+ isOptional: false;
496
+ };
497
+ }>, _lssm_lib_schema169.SchemaModel<{
498
+ success: {
499
+ type: _lssm_lib_schema169.FieldType<boolean, boolean>;
500
+ isOptional: false;
501
+ };
502
+ }>, undefined>;
503
+ //#endregion
504
+ export { AssignToolToAgentCommand, CreateAgentCommand, GetAgentQuery, ListAgentsQuery, RemoveToolFromAgentCommand, UpdateAgentCommand };
@@ -0,0 +1,54 @@
1
+ import * as _lssm_lib_schema105 from "@lssm/lib.schema";
2
+
3
+ //#region src/agent/agent.entity.d.ts
4
+ /**
5
+ * Agent status for lifecycle management.
6
+ */
7
+ declare const AgentStatusEntityEnum: _lssm_lib_schema105.EntityEnumDef;
8
+ /**
9
+ * Agent model provider.
10
+ */
11
+ declare const ModelProviderEntityEnum: _lssm_lib_schema105.EntityEnumDef;
12
+ /**
13
+ * Agent entity - Represents an AI agent configuration.
14
+ */
15
+ declare const AgentEntity: _lssm_lib_schema105.EntitySpec<{
16
+ id: _lssm_lib_schema105.EntityScalarField;
17
+ organizationId: _lssm_lib_schema105.EntityScalarField;
18
+ name: _lssm_lib_schema105.EntityScalarField;
19
+ slug: _lssm_lib_schema105.EntityScalarField;
20
+ description: _lssm_lib_schema105.EntityScalarField;
21
+ status: _lssm_lib_schema105.EntityEnumField;
22
+ modelProvider: _lssm_lib_schema105.EntityEnumField;
23
+ modelName: _lssm_lib_schema105.EntityScalarField;
24
+ modelConfig: _lssm_lib_schema105.EntityScalarField;
25
+ systemPrompt: _lssm_lib_schema105.EntityScalarField;
26
+ userPromptTemplate: _lssm_lib_schema105.EntityScalarField;
27
+ toolIds: _lssm_lib_schema105.EntityScalarField;
28
+ toolChoice: _lssm_lib_schema105.EntityScalarField;
29
+ maxIterations: _lssm_lib_schema105.EntityScalarField;
30
+ maxTokensPerRun: _lssm_lib_schema105.EntityScalarField;
31
+ timeoutMs: _lssm_lib_schema105.EntityScalarField;
32
+ version: _lssm_lib_schema105.EntityScalarField;
33
+ tags: _lssm_lib_schema105.EntityScalarField;
34
+ createdAt: _lssm_lib_schema105.EntityScalarField;
35
+ updatedAt: _lssm_lib_schema105.EntityScalarField;
36
+ createdById: _lssm_lib_schema105.EntityScalarField;
37
+ tools: _lssm_lib_schema105.EntityRelationField;
38
+ }>;
39
+ /**
40
+ * AgentTool join entity - Links agents to their assigned tools.
41
+ */
42
+ declare const AgentToolEntity: _lssm_lib_schema105.EntitySpec<{
43
+ id: _lssm_lib_schema105.EntityScalarField;
44
+ agentId: _lssm_lib_schema105.EntityScalarField;
45
+ toolId: _lssm_lib_schema105.EntityScalarField;
46
+ config: _lssm_lib_schema105.EntityScalarField;
47
+ order: _lssm_lib_schema105.EntityScalarField;
48
+ isEnabled: _lssm_lib_schema105.EntityScalarField;
49
+ createdAt: _lssm_lib_schema105.EntityScalarField;
50
+ agent: _lssm_lib_schema105.EntityRelationField;
51
+ tool: _lssm_lib_schema105.EntityRelationField;
52
+ }>;
53
+ //#endregion
54
+ export { AgentEntity, AgentStatusEntityEnum, AgentToolEntity, ModelProviderEntityEnum };