@lssm/example.agent-console 0.0.0-canary-20251206160926

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 (175) hide show
  1. package/.turbo/turbo-build.log +202 -0
  2. package/CHANGELOG.md +13 -0
  3. package/README.md +83 -0
  4. package/dist/contracts/agent.d.ts +886 -0
  5. package/dist/contracts/agent.js +1 -0
  6. package/dist/contracts/index.d.ts +4 -0
  7. package/dist/contracts/index.js +1 -0
  8. package/dist/contracts/run.d.ts +1106 -0
  9. package/dist/contracts/run.js +1 -0
  10. package/dist/contracts/tool.d.ts +607 -0
  11. package/dist/contracts/tool.js +1 -0
  12. package/dist/entities/agent.d.ts +54 -0
  13. package/dist/entities/agent.js +1 -0
  14. package/dist/entities/index.d.ts +4 -0
  15. package/dist/entities/index.js +1 -0
  16. package/dist/entities/log.d.ts +31 -0
  17. package/dist/entities/log.js +1 -0
  18. package/dist/entities/run.d.ts +85 -0
  19. package/dist/entities/run.js +1 -0
  20. package/dist/entities/tool.d.ts +36 -0
  21. package/dist/entities/tool.js +1 -0
  22. package/dist/events.d.ts +965 -0
  23. package/dist/events.js +1 -0
  24. package/dist/feature.d.ts +11 -0
  25. package/dist/feature.js +1 -0
  26. package/dist/handlers/agent.handlers.d.ts +99 -0
  27. package/dist/handlers/agent.handlers.js +1 -0
  28. package/dist/handlers/index.d.ts +5 -0
  29. package/dist/handlers/index.js +1 -0
  30. package/dist/handlers/mock-data.d.ts +533 -0
  31. package/dist/handlers/mock-data.js +1 -0
  32. package/dist/handlers/run.handlers.d.ts +145 -0
  33. package/dist/handlers/run.handlers.js +1 -0
  34. package/dist/handlers/tool.handlers.d.ts +86 -0
  35. package/dist/handlers/tool.handlers.js +1 -0
  36. package/dist/index.d.ts +18 -0
  37. package/dist/index.js +1 -0
  38. package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
  39. package/dist/libs/contracts/dist/client/index.js +1 -0
  40. package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
  41. package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
  42. package/dist/libs/contracts/dist/client/react/index.js +1 -0
  43. package/dist/libs/contracts/dist/events.js +1 -0
  44. package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
  45. package/dist/libs/contracts/dist/graphql-federation/dist/index.js +1 -0
  46. package/dist/libs/contracts/dist/index.js +1 -0
  47. package/dist/libs/contracts/dist/install.js +1 -0
  48. package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
  49. package/dist/libs/contracts/dist/integrations/index.js +1 -0
  50. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
  51. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
  52. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
  53. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
  54. package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
  55. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
  56. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
  57. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
  58. package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
  59. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
  60. package/dist/libs/contracts/dist/integrations/providers/impls/elevenlabs-voice.js +1 -0
  61. package/dist/libs/contracts/dist/integrations/providers/impls/gcs-storage.js +1 -0
  62. package/dist/libs/contracts/dist/integrations/providers/impls/gmail-inbound.js +1 -0
  63. package/dist/libs/contracts/dist/integrations/providers/impls/gmail-outbound.js +1 -0
  64. package/dist/libs/contracts/dist/integrations/providers/impls/google-calendar.js +1 -0
  65. package/dist/libs/contracts/dist/integrations/providers/impls/index.js +1 -0
  66. package/dist/libs/contracts/dist/integrations/providers/impls/mistral-embedding.js +1 -0
  67. package/dist/libs/contracts/dist/integrations/providers/impls/mistral-llm.js +1 -0
  68. package/dist/libs/contracts/dist/integrations/providers/impls/postmark-email.js +1 -0
  69. package/dist/libs/contracts/dist/integrations/providers/impls/powens-client.js +1 -0
  70. package/dist/libs/contracts/dist/integrations/providers/impls/powens-openbanking.js +1 -0
  71. package/dist/libs/contracts/dist/integrations/providers/impls/provider-factory.js +1 -0
  72. package/dist/libs/contracts/dist/integrations/providers/impls/qdrant-vector.js +1 -0
  73. package/dist/libs/contracts/dist/integrations/providers/impls/stripe-payments.js +1 -0
  74. package/dist/libs/contracts/dist/integrations/providers/impls/twilio-sms.js +1 -0
  75. package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
  76. package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
  77. package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
  78. package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
  79. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
  80. package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
  81. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
  82. package/dist/libs/contracts/dist/integrations/runtime.js +1 -0
  83. package/dist/libs/contracts/dist/integrations/secrets/env-secret-provider.js +1 -0
  84. package/dist/libs/contracts/dist/integrations/secrets/gcp-secret-manager.js +1 -0
  85. package/dist/libs/contracts/dist/integrations/secrets/index.js +1 -0
  86. package/dist/libs/contracts/dist/integrations/secrets/manager.js +1 -0
  87. package/dist/libs/contracts/dist/integrations/secrets/provider.js +1 -0
  88. package/dist/libs/contracts/dist/jsonschema.js +1 -0
  89. package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
  90. package/dist/libs/contracts/dist/knowledge/index.js +1 -0
  91. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
  92. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
  93. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
  94. package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
  95. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
  96. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
  97. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
  98. package/dist/libs/contracts/dist/onboarding-base.js +1 -0
  99. package/dist/libs/contracts/dist/ownership.js +1 -0
  100. package/dist/libs/contracts/dist/presentations.js +1 -0
  101. package/dist/libs/contracts/dist/presentations.v2.js +1 -0
  102. package/dist/libs/contracts/dist/prompt.js +1 -0
  103. package/dist/libs/contracts/dist/promptRegistry.js +1 -0
  104. package/dist/libs/contracts/dist/regenerator/index.js +1 -0
  105. package/dist/libs/contracts/dist/regenerator/service.js +1 -0
  106. package/dist/libs/contracts/dist/registry.js +1 -0
  107. package/dist/libs/contracts/dist/resources.js +1 -0
  108. package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
  109. package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
  110. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
  111. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
  112. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
  113. package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
  114. package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
  115. package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
  116. package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
  117. package/dist/libs/contracts/dist/server/graphql-schema-export.js +1 -0
  118. package/dist/libs/contracts/dist/server/index.js +1 -0
  119. package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
  120. package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
  121. package/dist/libs/contracts/dist/server/rest-express.js +1 -0
  122. package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
  123. package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
  124. package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
  125. package/dist/libs/contracts/dist/spec.js +1 -0
  126. package/dist/libs/contracts/dist/telemetry/index.js +1 -0
  127. package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
  128. package/dist/libs/contracts/dist/tests/index.js +1 -0
  129. package/dist/libs/contracts/dist/tests/runner.js +1 -0
  130. package/dist/libs/contracts/dist/workflow/index.js +1 -0
  131. package/dist/libs/contracts/dist/workflow/runner.js +1 -0
  132. package/dist/libs/schema/dist/EnumType.js +1 -0
  133. package/dist/libs/schema/dist/FieldType.js +1 -0
  134. package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
  135. package/dist/libs/schema/dist/SchemaModel.js +1 -0
  136. package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
  137. package/dist/libs/schema/dist/entity/index.js +1 -0
  138. package/dist/libs/schema/dist/entity/types.js +1 -0
  139. package/dist/libs/schema/dist/index.js +1 -0
  140. package/dist/presentations/agent-list.d.ts +15 -0
  141. package/dist/presentations/agent-list.js +1 -0
  142. package/dist/presentations/dashboard.d.ts +11 -0
  143. package/dist/presentations/dashboard.js +1 -0
  144. package/dist/presentations/index.d.ts +11 -0
  145. package/dist/presentations/index.js +1 -0
  146. package/dist/presentations/run-list.d.ts +18 -0
  147. package/dist/presentations/run-list.js +1 -0
  148. package/dist/presentations/tool-registry.d.ts +14 -0
  149. package/dist/presentations/tool-registry.js +1 -0
  150. package/package.json +86 -0
  151. package/src/contracts/agent.ts +501 -0
  152. package/src/contracts/index.ts +29 -0
  153. package/src/contracts/run.ts +561 -0
  154. package/src/contracts/tool.ts +392 -0
  155. package/src/entities/agent.ts +151 -0
  156. package/src/entities/index.ts +20 -0
  157. package/src/entities/log.ts +76 -0
  158. package/src/entities/run.ts +240 -0
  159. package/src/entities/tool.ts +105 -0
  160. package/src/events.ts +419 -0
  161. package/src/feature.ts +144 -0
  162. package/src/handlers/agent.handlers.ts +203 -0
  163. package/src/handlers/index.ts +55 -0
  164. package/src/handlers/mock-data.ts +413 -0
  165. package/src/handlers/run.handlers.ts +331 -0
  166. package/src/handlers/tool.handlers.ts +188 -0
  167. package/src/index.ts +34 -0
  168. package/src/presentations/agent-list.ts +55 -0
  169. package/src/presentations/dashboard.ts +29 -0
  170. package/src/presentations/index.ts +48 -0
  171. package/src/presentations/run-list.ts +76 -0
  172. package/src/presentations/tool-registry.ts +52 -0
  173. package/tsconfig.json +10 -0
  174. package/tsconfig.tsbuildinfo +1 -0
  175. package/tsdown.config.js +7 -0
@@ -0,0 +1,886 @@
1
+ import * as _lssm_lib_schema801 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts26 from "@lssm/lib.contracts";
3
+
4
+ //#region src/contracts/agent.d.ts
5
+ declare const AgentStatusEnum: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
6
+ declare const ModelProviderEnum: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
7
+ declare const ToolChoiceEnum: _lssm_lib_schema801.EnumType<[string, string, string]>;
8
+ declare const AgentModel: _lssm_lib_schema801.SchemaModel<{
9
+ id: {
10
+ type: _lssm_lib_schema801.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ organizationId: {
14
+ type: _lssm_lib_schema801.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ name: {
18
+ type: _lssm_lib_schema801.FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ slug: {
22
+ type: _lssm_lib_schema801.FieldType<string, string>;
23
+ isOptional: false;
24
+ };
25
+ description: {
26
+ type: _lssm_lib_schema801.FieldType<string, string>;
27
+ isOptional: true;
28
+ };
29
+ status: {
30
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
31
+ isOptional: false;
32
+ };
33
+ modelProvider: {
34
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
35
+ isOptional: false;
36
+ };
37
+ modelName: {
38
+ type: _lssm_lib_schema801.FieldType<string, string>;
39
+ isOptional: false;
40
+ };
41
+ modelConfig: {
42
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
43
+ isOptional: true;
44
+ };
45
+ systemPrompt: {
46
+ type: _lssm_lib_schema801.FieldType<string, string>;
47
+ isOptional: false;
48
+ };
49
+ userPromptTemplate: {
50
+ type: _lssm_lib_schema801.FieldType<string, string>;
51
+ isOptional: true;
52
+ };
53
+ toolIds: {
54
+ type: _lssm_lib_schema801.FieldType<string, string>;
55
+ isArray: true;
56
+ isOptional: true;
57
+ };
58
+ toolChoice: {
59
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
60
+ isOptional: false;
61
+ defaultValue: string;
62
+ };
63
+ maxIterations: {
64
+ type: _lssm_lib_schema801.FieldType<number, number>;
65
+ isOptional: false;
66
+ defaultValue: number;
67
+ };
68
+ maxTokensPerRun: {
69
+ type: _lssm_lib_schema801.FieldType<number, number>;
70
+ isOptional: true;
71
+ };
72
+ timeoutMs: {
73
+ type: _lssm_lib_schema801.FieldType<number, number>;
74
+ isOptional: false;
75
+ defaultValue: number;
76
+ };
77
+ version: {
78
+ type: _lssm_lib_schema801.FieldType<string, string>;
79
+ isOptional: false;
80
+ };
81
+ tags: {
82
+ type: _lssm_lib_schema801.FieldType<string, string>;
83
+ isArray: true;
84
+ isOptional: true;
85
+ };
86
+ createdAt: {
87
+ type: _lssm_lib_schema801.FieldType<Date, string>;
88
+ isOptional: false;
89
+ };
90
+ updatedAt: {
91
+ type: _lssm_lib_schema801.FieldType<Date, string>;
92
+ isOptional: false;
93
+ };
94
+ }>;
95
+ declare const AgentSummaryModel: _lssm_lib_schema801.SchemaModel<{
96
+ id: {
97
+ type: _lssm_lib_schema801.FieldType<string, string>;
98
+ isOptional: false;
99
+ };
100
+ name: {
101
+ type: _lssm_lib_schema801.FieldType<string, string>;
102
+ isOptional: false;
103
+ };
104
+ slug: {
105
+ type: _lssm_lib_schema801.FieldType<string, string>;
106
+ isOptional: false;
107
+ };
108
+ description: {
109
+ type: _lssm_lib_schema801.FieldType<string, string>;
110
+ isOptional: true;
111
+ };
112
+ status: {
113
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
114
+ isOptional: false;
115
+ };
116
+ modelProvider: {
117
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
118
+ isOptional: false;
119
+ };
120
+ modelName: {
121
+ type: _lssm_lib_schema801.FieldType<string, string>;
122
+ isOptional: false;
123
+ };
124
+ version: {
125
+ type: _lssm_lib_schema801.FieldType<string, string>;
126
+ isOptional: false;
127
+ };
128
+ createdAt: {
129
+ type: _lssm_lib_schema801.FieldType<Date, string>;
130
+ isOptional: false;
131
+ };
132
+ }>;
133
+ declare const AgentToolRefModel: _lssm_lib_schema801.SchemaModel<{
134
+ id: {
135
+ type: _lssm_lib_schema801.FieldType<string, string>;
136
+ isOptional: false;
137
+ };
138
+ name: {
139
+ type: _lssm_lib_schema801.FieldType<string, string>;
140
+ isOptional: false;
141
+ };
142
+ slug: {
143
+ type: _lssm_lib_schema801.FieldType<string, string>;
144
+ isOptional: false;
145
+ };
146
+ description: {
147
+ type: _lssm_lib_schema801.FieldType<string, string>;
148
+ isOptional: false;
149
+ };
150
+ category: {
151
+ type: _lssm_lib_schema801.FieldType<string, string>;
152
+ isOptional: false;
153
+ };
154
+ }>;
155
+ declare const AgentWithToolsModel: _lssm_lib_schema801.SchemaModel<{
156
+ id: {
157
+ type: _lssm_lib_schema801.FieldType<string, string>;
158
+ isOptional: false;
159
+ };
160
+ organizationId: {
161
+ type: _lssm_lib_schema801.FieldType<string, string>;
162
+ isOptional: false;
163
+ };
164
+ name: {
165
+ type: _lssm_lib_schema801.FieldType<string, string>;
166
+ isOptional: false;
167
+ };
168
+ slug: {
169
+ type: _lssm_lib_schema801.FieldType<string, string>;
170
+ isOptional: false;
171
+ };
172
+ description: {
173
+ type: _lssm_lib_schema801.FieldType<string, string>;
174
+ isOptional: true;
175
+ };
176
+ status: {
177
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
178
+ isOptional: false;
179
+ };
180
+ modelProvider: {
181
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
182
+ isOptional: false;
183
+ };
184
+ modelName: {
185
+ type: _lssm_lib_schema801.FieldType<string, string>;
186
+ isOptional: false;
187
+ };
188
+ modelConfig: {
189
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
190
+ isOptional: true;
191
+ };
192
+ systemPrompt: {
193
+ type: _lssm_lib_schema801.FieldType<string, string>;
194
+ isOptional: false;
195
+ };
196
+ userPromptTemplate: {
197
+ type: _lssm_lib_schema801.FieldType<string, string>;
198
+ isOptional: true;
199
+ };
200
+ toolIds: {
201
+ type: _lssm_lib_schema801.FieldType<string, string>;
202
+ isArray: true;
203
+ isOptional: true;
204
+ };
205
+ toolChoice: {
206
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
207
+ isOptional: false;
208
+ };
209
+ maxIterations: {
210
+ type: _lssm_lib_schema801.FieldType<number, number>;
211
+ isOptional: false;
212
+ };
213
+ maxTokensPerRun: {
214
+ type: _lssm_lib_schema801.FieldType<number, number>;
215
+ isOptional: true;
216
+ };
217
+ timeoutMs: {
218
+ type: _lssm_lib_schema801.FieldType<number, number>;
219
+ isOptional: false;
220
+ };
221
+ version: {
222
+ type: _lssm_lib_schema801.FieldType<string, string>;
223
+ isOptional: false;
224
+ };
225
+ tags: {
226
+ type: _lssm_lib_schema801.FieldType<string, string>;
227
+ isArray: true;
228
+ isOptional: true;
229
+ };
230
+ createdAt: {
231
+ type: _lssm_lib_schema801.FieldType<Date, string>;
232
+ isOptional: false;
233
+ };
234
+ updatedAt: {
235
+ type: _lssm_lib_schema801.FieldType<Date, string>;
236
+ isOptional: false;
237
+ };
238
+ tools: {
239
+ type: _lssm_lib_schema801.SchemaModel<{
240
+ id: {
241
+ type: _lssm_lib_schema801.FieldType<string, string>;
242
+ isOptional: false;
243
+ };
244
+ name: {
245
+ type: _lssm_lib_schema801.FieldType<string, string>;
246
+ isOptional: false;
247
+ };
248
+ slug: {
249
+ type: _lssm_lib_schema801.FieldType<string, string>;
250
+ isOptional: false;
251
+ };
252
+ description: {
253
+ type: _lssm_lib_schema801.FieldType<string, string>;
254
+ isOptional: false;
255
+ };
256
+ category: {
257
+ type: _lssm_lib_schema801.FieldType<string, string>;
258
+ isOptional: false;
259
+ };
260
+ }>;
261
+ isArray: true;
262
+ isOptional: true;
263
+ };
264
+ }>;
265
+ declare const CreateAgentInputModel: _lssm_lib_schema801.SchemaModel<{
266
+ organizationId: {
267
+ type: _lssm_lib_schema801.FieldType<string, string>;
268
+ isOptional: false;
269
+ };
270
+ name: {
271
+ type: _lssm_lib_schema801.FieldType<string, string>;
272
+ isOptional: false;
273
+ };
274
+ slug: {
275
+ type: _lssm_lib_schema801.FieldType<string, string>;
276
+ isOptional: false;
277
+ };
278
+ description: {
279
+ type: _lssm_lib_schema801.FieldType<string, string>;
280
+ isOptional: true;
281
+ };
282
+ modelProvider: {
283
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
284
+ isOptional: false;
285
+ };
286
+ modelName: {
287
+ type: _lssm_lib_schema801.FieldType<string, string>;
288
+ isOptional: false;
289
+ };
290
+ modelConfig: {
291
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
292
+ isOptional: true;
293
+ };
294
+ systemPrompt: {
295
+ type: _lssm_lib_schema801.FieldType<string, string>;
296
+ isOptional: false;
297
+ };
298
+ userPromptTemplate: {
299
+ type: _lssm_lib_schema801.FieldType<string, string>;
300
+ isOptional: true;
301
+ };
302
+ toolIds: {
303
+ type: _lssm_lib_schema801.FieldType<string, string>;
304
+ isArray: true;
305
+ isOptional: true;
306
+ };
307
+ toolChoice: {
308
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
309
+ isOptional: true;
310
+ };
311
+ maxIterations: {
312
+ type: _lssm_lib_schema801.FieldType<number, number>;
313
+ isOptional: true;
314
+ };
315
+ maxTokensPerRun: {
316
+ type: _lssm_lib_schema801.FieldType<number, number>;
317
+ isOptional: true;
318
+ };
319
+ timeoutMs: {
320
+ type: _lssm_lib_schema801.FieldType<number, number>;
321
+ isOptional: true;
322
+ };
323
+ tags: {
324
+ type: _lssm_lib_schema801.FieldType<string, string>;
325
+ isArray: true;
326
+ isOptional: true;
327
+ };
328
+ }>;
329
+ declare const UpdateAgentInputModel: _lssm_lib_schema801.SchemaModel<{
330
+ agentId: {
331
+ type: _lssm_lib_schema801.FieldType<string, string>;
332
+ isOptional: false;
333
+ };
334
+ name: {
335
+ type: _lssm_lib_schema801.FieldType<string, string>;
336
+ isOptional: true;
337
+ };
338
+ description: {
339
+ type: _lssm_lib_schema801.FieldType<string, string>;
340
+ isOptional: true;
341
+ };
342
+ status: {
343
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
344
+ isOptional: true;
345
+ };
346
+ modelConfig: {
347
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
348
+ isOptional: true;
349
+ };
350
+ systemPrompt: {
351
+ type: _lssm_lib_schema801.FieldType<string, string>;
352
+ isOptional: true;
353
+ };
354
+ userPromptTemplate: {
355
+ type: _lssm_lib_schema801.FieldType<string, string>;
356
+ isOptional: true;
357
+ };
358
+ toolIds: {
359
+ type: _lssm_lib_schema801.FieldType<string, string>;
360
+ isArray: true;
361
+ isOptional: true;
362
+ };
363
+ toolChoice: {
364
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
365
+ isOptional: true;
366
+ };
367
+ maxIterations: {
368
+ type: _lssm_lib_schema801.FieldType<number, number>;
369
+ isOptional: true;
370
+ };
371
+ maxTokensPerRun: {
372
+ type: _lssm_lib_schema801.FieldType<number, number>;
373
+ isOptional: true;
374
+ };
375
+ timeoutMs: {
376
+ type: _lssm_lib_schema801.FieldType<number, number>;
377
+ isOptional: true;
378
+ };
379
+ tags: {
380
+ type: _lssm_lib_schema801.FieldType<string, string>;
381
+ isArray: true;
382
+ isOptional: true;
383
+ };
384
+ }>;
385
+ /**
386
+ * CreateAgentCommand - Creates a new agent configuration
387
+ */
388
+ declare const CreateAgentCommand: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
389
+ organizationId: {
390
+ type: _lssm_lib_schema801.FieldType<string, string>;
391
+ isOptional: false;
392
+ };
393
+ name: {
394
+ type: _lssm_lib_schema801.FieldType<string, string>;
395
+ isOptional: false;
396
+ };
397
+ slug: {
398
+ type: _lssm_lib_schema801.FieldType<string, string>;
399
+ isOptional: false;
400
+ };
401
+ description: {
402
+ type: _lssm_lib_schema801.FieldType<string, string>;
403
+ isOptional: true;
404
+ };
405
+ modelProvider: {
406
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
407
+ isOptional: false;
408
+ };
409
+ modelName: {
410
+ type: _lssm_lib_schema801.FieldType<string, string>;
411
+ isOptional: false;
412
+ };
413
+ modelConfig: {
414
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
415
+ isOptional: true;
416
+ };
417
+ systemPrompt: {
418
+ type: _lssm_lib_schema801.FieldType<string, string>;
419
+ isOptional: false;
420
+ };
421
+ userPromptTemplate: {
422
+ type: _lssm_lib_schema801.FieldType<string, string>;
423
+ isOptional: true;
424
+ };
425
+ toolIds: {
426
+ type: _lssm_lib_schema801.FieldType<string, string>;
427
+ isArray: true;
428
+ isOptional: true;
429
+ };
430
+ toolChoice: {
431
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
432
+ isOptional: true;
433
+ };
434
+ maxIterations: {
435
+ type: _lssm_lib_schema801.FieldType<number, number>;
436
+ isOptional: true;
437
+ };
438
+ maxTokensPerRun: {
439
+ type: _lssm_lib_schema801.FieldType<number, number>;
440
+ isOptional: true;
441
+ };
442
+ timeoutMs: {
443
+ type: _lssm_lib_schema801.FieldType<number, number>;
444
+ isOptional: true;
445
+ };
446
+ tags: {
447
+ type: _lssm_lib_schema801.FieldType<string, string>;
448
+ isArray: true;
449
+ isOptional: true;
450
+ };
451
+ }>, _lssm_lib_schema801.SchemaModel<{
452
+ id: {
453
+ type: _lssm_lib_schema801.FieldType<string, string>;
454
+ isOptional: false;
455
+ };
456
+ name: {
457
+ type: _lssm_lib_schema801.FieldType<string, string>;
458
+ isOptional: false;
459
+ };
460
+ slug: {
461
+ type: _lssm_lib_schema801.FieldType<string, string>;
462
+ isOptional: false;
463
+ };
464
+ status: {
465
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
466
+ isOptional: false;
467
+ };
468
+ }>, {
469
+ name: string;
470
+ version: number;
471
+ when: string;
472
+ payload: _lssm_lib_schema801.SchemaModel<{
473
+ id: {
474
+ type: _lssm_lib_schema801.FieldType<string, string>;
475
+ isOptional: false;
476
+ };
477
+ name: {
478
+ type: _lssm_lib_schema801.FieldType<string, string>;
479
+ isOptional: false;
480
+ };
481
+ slug: {
482
+ type: _lssm_lib_schema801.FieldType<string, string>;
483
+ isOptional: false;
484
+ };
485
+ description: {
486
+ type: _lssm_lib_schema801.FieldType<string, string>;
487
+ isOptional: true;
488
+ };
489
+ status: {
490
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
491
+ isOptional: false;
492
+ };
493
+ modelProvider: {
494
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
495
+ isOptional: false;
496
+ };
497
+ modelName: {
498
+ type: _lssm_lib_schema801.FieldType<string, string>;
499
+ isOptional: false;
500
+ };
501
+ version: {
502
+ type: _lssm_lib_schema801.FieldType<string, string>;
503
+ isOptional: false;
504
+ };
505
+ createdAt: {
506
+ type: _lssm_lib_schema801.FieldType<Date, string>;
507
+ isOptional: false;
508
+ };
509
+ }>;
510
+ }[]>;
511
+ /**
512
+ * UpdateAgentCommand - Updates an existing agent
513
+ */
514
+ declare const UpdateAgentCommand: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
515
+ agentId: {
516
+ type: _lssm_lib_schema801.FieldType<string, string>;
517
+ isOptional: false;
518
+ };
519
+ name: {
520
+ type: _lssm_lib_schema801.FieldType<string, string>;
521
+ isOptional: true;
522
+ };
523
+ description: {
524
+ type: _lssm_lib_schema801.FieldType<string, string>;
525
+ isOptional: true;
526
+ };
527
+ status: {
528
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
529
+ isOptional: true;
530
+ };
531
+ modelConfig: {
532
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
533
+ isOptional: true;
534
+ };
535
+ systemPrompt: {
536
+ type: _lssm_lib_schema801.FieldType<string, string>;
537
+ isOptional: true;
538
+ };
539
+ userPromptTemplate: {
540
+ type: _lssm_lib_schema801.FieldType<string, string>;
541
+ isOptional: true;
542
+ };
543
+ toolIds: {
544
+ type: _lssm_lib_schema801.FieldType<string, string>;
545
+ isArray: true;
546
+ isOptional: true;
547
+ };
548
+ toolChoice: {
549
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
550
+ isOptional: true;
551
+ };
552
+ maxIterations: {
553
+ type: _lssm_lib_schema801.FieldType<number, number>;
554
+ isOptional: true;
555
+ };
556
+ maxTokensPerRun: {
557
+ type: _lssm_lib_schema801.FieldType<number, number>;
558
+ isOptional: true;
559
+ };
560
+ timeoutMs: {
561
+ type: _lssm_lib_schema801.FieldType<number, number>;
562
+ isOptional: true;
563
+ };
564
+ tags: {
565
+ type: _lssm_lib_schema801.FieldType<string, string>;
566
+ isArray: true;
567
+ isOptional: true;
568
+ };
569
+ }>, _lssm_lib_schema801.SchemaModel<{
570
+ id: {
571
+ type: _lssm_lib_schema801.FieldType<string, string>;
572
+ isOptional: false;
573
+ };
574
+ name: {
575
+ type: _lssm_lib_schema801.FieldType<string, string>;
576
+ isOptional: false;
577
+ };
578
+ status: {
579
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
580
+ isOptional: false;
581
+ };
582
+ updatedAt: {
583
+ type: _lssm_lib_schema801.FieldType<Date, string>;
584
+ isOptional: false;
585
+ };
586
+ }>, {
587
+ name: string;
588
+ version: number;
589
+ when: string;
590
+ payload: _lssm_lib_schema801.SchemaModel<{
591
+ id: {
592
+ type: _lssm_lib_schema801.FieldType<string, string>;
593
+ isOptional: false;
594
+ };
595
+ name: {
596
+ type: _lssm_lib_schema801.FieldType<string, string>;
597
+ isOptional: false;
598
+ };
599
+ slug: {
600
+ type: _lssm_lib_schema801.FieldType<string, string>;
601
+ isOptional: false;
602
+ };
603
+ description: {
604
+ type: _lssm_lib_schema801.FieldType<string, string>;
605
+ isOptional: true;
606
+ };
607
+ status: {
608
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
609
+ isOptional: false;
610
+ };
611
+ modelProvider: {
612
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
613
+ isOptional: false;
614
+ };
615
+ modelName: {
616
+ type: _lssm_lib_schema801.FieldType<string, string>;
617
+ isOptional: false;
618
+ };
619
+ version: {
620
+ type: _lssm_lib_schema801.FieldType<string, string>;
621
+ isOptional: false;
622
+ };
623
+ createdAt: {
624
+ type: _lssm_lib_schema801.FieldType<Date, string>;
625
+ isOptional: false;
626
+ };
627
+ }>;
628
+ }[]>;
629
+ /**
630
+ * GetAgentQuery - Retrieves an agent by ID
631
+ */
632
+ declare const GetAgentQuery: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
633
+ agentId: {
634
+ type: _lssm_lib_schema801.FieldType<string, string>;
635
+ isOptional: false;
636
+ };
637
+ includeTools: {
638
+ type: _lssm_lib_schema801.FieldType<boolean, boolean>;
639
+ isOptional: true;
640
+ };
641
+ }>, _lssm_lib_schema801.SchemaModel<{
642
+ id: {
643
+ type: _lssm_lib_schema801.FieldType<string, string>;
644
+ isOptional: false;
645
+ };
646
+ organizationId: {
647
+ type: _lssm_lib_schema801.FieldType<string, string>;
648
+ isOptional: false;
649
+ };
650
+ name: {
651
+ type: _lssm_lib_schema801.FieldType<string, string>;
652
+ isOptional: false;
653
+ };
654
+ slug: {
655
+ type: _lssm_lib_schema801.FieldType<string, string>;
656
+ isOptional: false;
657
+ };
658
+ description: {
659
+ type: _lssm_lib_schema801.FieldType<string, string>;
660
+ isOptional: true;
661
+ };
662
+ status: {
663
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
664
+ isOptional: false;
665
+ };
666
+ modelProvider: {
667
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
668
+ isOptional: false;
669
+ };
670
+ modelName: {
671
+ type: _lssm_lib_schema801.FieldType<string, string>;
672
+ isOptional: false;
673
+ };
674
+ modelConfig: {
675
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
676
+ isOptional: true;
677
+ };
678
+ systemPrompt: {
679
+ type: _lssm_lib_schema801.FieldType<string, string>;
680
+ isOptional: false;
681
+ };
682
+ userPromptTemplate: {
683
+ type: _lssm_lib_schema801.FieldType<string, string>;
684
+ isOptional: true;
685
+ };
686
+ toolIds: {
687
+ type: _lssm_lib_schema801.FieldType<string, string>;
688
+ isArray: true;
689
+ isOptional: true;
690
+ };
691
+ toolChoice: {
692
+ type: _lssm_lib_schema801.EnumType<[string, string, string]>;
693
+ isOptional: false;
694
+ };
695
+ maxIterations: {
696
+ type: _lssm_lib_schema801.FieldType<number, number>;
697
+ isOptional: false;
698
+ };
699
+ maxTokensPerRun: {
700
+ type: _lssm_lib_schema801.FieldType<number, number>;
701
+ isOptional: true;
702
+ };
703
+ timeoutMs: {
704
+ type: _lssm_lib_schema801.FieldType<number, number>;
705
+ isOptional: false;
706
+ };
707
+ version: {
708
+ type: _lssm_lib_schema801.FieldType<string, string>;
709
+ isOptional: false;
710
+ };
711
+ tags: {
712
+ type: _lssm_lib_schema801.FieldType<string, string>;
713
+ isArray: true;
714
+ isOptional: true;
715
+ };
716
+ createdAt: {
717
+ type: _lssm_lib_schema801.FieldType<Date, string>;
718
+ isOptional: false;
719
+ };
720
+ updatedAt: {
721
+ type: _lssm_lib_schema801.FieldType<Date, string>;
722
+ isOptional: false;
723
+ };
724
+ tools: {
725
+ type: _lssm_lib_schema801.SchemaModel<{
726
+ id: {
727
+ type: _lssm_lib_schema801.FieldType<string, string>;
728
+ isOptional: false;
729
+ };
730
+ name: {
731
+ type: _lssm_lib_schema801.FieldType<string, string>;
732
+ isOptional: false;
733
+ };
734
+ slug: {
735
+ type: _lssm_lib_schema801.FieldType<string, string>;
736
+ isOptional: false;
737
+ };
738
+ description: {
739
+ type: _lssm_lib_schema801.FieldType<string, string>;
740
+ isOptional: false;
741
+ };
742
+ category: {
743
+ type: _lssm_lib_schema801.FieldType<string, string>;
744
+ isOptional: false;
745
+ };
746
+ }>;
747
+ isArray: true;
748
+ isOptional: true;
749
+ };
750
+ }>, undefined>;
751
+ /**
752
+ * ListAgentsQuery - Lists agents for an organization
753
+ */
754
+ declare const ListAgentsQuery: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
755
+ organizationId: {
756
+ type: _lssm_lib_schema801.FieldType<string, string>;
757
+ isOptional: false;
758
+ };
759
+ status: {
760
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
761
+ isOptional: true;
762
+ };
763
+ modelProvider: {
764
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
765
+ isOptional: true;
766
+ };
767
+ search: {
768
+ type: _lssm_lib_schema801.FieldType<string, string>;
769
+ isOptional: true;
770
+ };
771
+ limit: {
772
+ type: _lssm_lib_schema801.FieldType<number, number>;
773
+ isOptional: true;
774
+ defaultValue: number;
775
+ };
776
+ offset: {
777
+ type: _lssm_lib_schema801.FieldType<number, number>;
778
+ isOptional: true;
779
+ defaultValue: number;
780
+ };
781
+ }>, _lssm_lib_schema801.SchemaModel<{
782
+ items: {
783
+ type: _lssm_lib_schema801.SchemaModel<{
784
+ id: {
785
+ type: _lssm_lib_schema801.FieldType<string, string>;
786
+ isOptional: false;
787
+ };
788
+ name: {
789
+ type: _lssm_lib_schema801.FieldType<string, string>;
790
+ isOptional: false;
791
+ };
792
+ slug: {
793
+ type: _lssm_lib_schema801.FieldType<string, string>;
794
+ isOptional: false;
795
+ };
796
+ description: {
797
+ type: _lssm_lib_schema801.FieldType<string, string>;
798
+ isOptional: true;
799
+ };
800
+ status: {
801
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
802
+ isOptional: false;
803
+ };
804
+ modelProvider: {
805
+ type: _lssm_lib_schema801.EnumType<[string, string, string, string, string]>;
806
+ isOptional: false;
807
+ };
808
+ modelName: {
809
+ type: _lssm_lib_schema801.FieldType<string, string>;
810
+ isOptional: false;
811
+ };
812
+ version: {
813
+ type: _lssm_lib_schema801.FieldType<string, string>;
814
+ isOptional: false;
815
+ };
816
+ createdAt: {
817
+ type: _lssm_lib_schema801.FieldType<Date, string>;
818
+ isOptional: false;
819
+ };
820
+ }>;
821
+ isArray: true;
822
+ isOptional: false;
823
+ };
824
+ total: {
825
+ type: _lssm_lib_schema801.FieldType<number, number>;
826
+ isOptional: false;
827
+ };
828
+ hasMore: {
829
+ type: _lssm_lib_schema801.FieldType<boolean, boolean>;
830
+ isOptional: false;
831
+ };
832
+ }>, undefined>;
833
+ /**
834
+ * AssignToolToAgentCommand - Assigns a tool to an agent
835
+ */
836
+ declare const AssignToolToAgentCommand: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
837
+ agentId: {
838
+ type: _lssm_lib_schema801.FieldType<string, string>;
839
+ isOptional: false;
840
+ };
841
+ toolId: {
842
+ type: _lssm_lib_schema801.FieldType<string, string>;
843
+ isOptional: false;
844
+ };
845
+ config: {
846
+ type: _lssm_lib_schema801.FieldType<Record<string, unknown>, Record<string, unknown>>;
847
+ isOptional: true;
848
+ };
849
+ order: {
850
+ type: _lssm_lib_schema801.FieldType<number, number>;
851
+ isOptional: true;
852
+ };
853
+ }>, _lssm_lib_schema801.SchemaModel<{
854
+ agentToolId: {
855
+ type: _lssm_lib_schema801.FieldType<string, string>;
856
+ isOptional: false;
857
+ };
858
+ agentId: {
859
+ type: _lssm_lib_schema801.FieldType<string, string>;
860
+ isOptional: false;
861
+ };
862
+ toolId: {
863
+ type: _lssm_lib_schema801.FieldType<string, string>;
864
+ isOptional: false;
865
+ };
866
+ }>, undefined>;
867
+ /**
868
+ * RemoveToolFromAgentCommand - Removes a tool from an agent
869
+ */
870
+ declare const RemoveToolFromAgentCommand: _lssm_lib_contracts26.ContractSpec<_lssm_lib_schema801.SchemaModel<{
871
+ agentId: {
872
+ type: _lssm_lib_schema801.FieldType<string, string>;
873
+ isOptional: false;
874
+ };
875
+ toolId: {
876
+ type: _lssm_lib_schema801.FieldType<string, string>;
877
+ isOptional: false;
878
+ };
879
+ }>, _lssm_lib_schema801.SchemaModel<{
880
+ success: {
881
+ type: _lssm_lib_schema801.FieldType<boolean, boolean>;
882
+ isOptional: false;
883
+ };
884
+ }>, undefined>;
885
+ //#endregion
886
+ export { AgentModel, AgentStatusEnum, AgentSummaryModel, AgentToolRefModel, AgentWithToolsModel, AssignToolToAgentCommand, CreateAgentCommand, CreateAgentInputModel, GetAgentQuery, ListAgentsQuery, ModelProviderEnum, RemoveToolFromAgentCommand, ToolChoiceEnum, UpdateAgentCommand, UpdateAgentInputModel };