@lssm/example.agent-console 0.0.0-canary-20251217080011 → 1.41.0

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 (196) hide show
  1. package/.turbo/turbo-build.log +46 -48
  2. package/dist/agent/agent.contracts.js +1 -336
  3. package/dist/agent/agent.entity.js +1 -136
  4. package/dist/agent/agent.enum.js +1 -34
  5. package/dist/agent/agent.event.js +1 -183
  6. package/dist/agent/agent.handler.js +1 -83
  7. package/dist/agent/agent.presentation.js +1 -75
  8. package/dist/agent/agent.schema.js +1 -407
  9. package/dist/agent/index.js +1 -9
  10. package/dist/agent.feature.js +1 -295
  11. package/dist/docs/agent-console.docblock.js +5 -69
  12. package/dist/docs/index.js +1 -1
  13. package/dist/example.js +1 -50
  14. package/dist/handlers/index.js +1 -5
  15. package/dist/index.js +1 -32
  16. package/dist/presentations/index.js +1 -5
  17. package/dist/run/index.js +1 -9
  18. package/dist/run/run.contracts.js +1 -469
  19. package/dist/run/run.entity.js +1 -205
  20. package/dist/run/run.enum.js +1 -45
  21. package/dist/run/run.event.js +1 -389
  22. package/dist/run/run.handler.js +1 -82
  23. package/dist/run/run.presentation.js +1 -55
  24. package/dist/run/run.schema.js +1 -339
  25. package/dist/shared/index.js +1 -5
  26. package/dist/shared/mock-agents.js +1 -93
  27. package/dist/shared/mock-runs.js +1 -117
  28. package/dist/shared/mock-tools.js +1 -180
  29. package/dist/tool/index.js +1 -9
  30. package/dist/tool/tool.contracts.js +1 -288
  31. package/dist/tool/tool.entity.js +1 -105
  32. package/dist/tool/tool.enum.js +1 -35
  33. package/dist/tool/tool.event.js +1 -145
  34. package/dist/tool/tool.handler.js +1 -86
  35. package/dist/tool/tool.presentation.js +1 -55
  36. package/dist/tool/tool.schema.js +1 -237
  37. package/package.json +43 -45
  38. package/tsconfig.tsbuildinfo +1 -1
  39. package/.turbo/turbo-build$colon$bundle.log +0 -272
  40. package/CHANGELOG.md +0 -16
  41. package/dist/agent/agent.contracts.d.ts +0 -504
  42. package/dist/agent/agent.entity.d.ts +0 -54
  43. package/dist/agent/agent.enum.d.ts +0 -17
  44. package/dist/agent/agent.event.d.ts +0 -127
  45. package/dist/agent/agent.handler.d.ts +0 -99
  46. package/dist/agent/agent.presentation.d.ts +0 -18
  47. package/dist/agent/agent.schema.d.ts +0 -400
  48. package/dist/agent/index.d.ts +0 -8
  49. package/dist/agent.feature.d.ts +0 -11
  50. package/dist/docs/agent-console.docblock.d.ts +0 -1
  51. package/dist/docs/index.d.ts +0 -1
  52. package/dist/example.d.ts +0 -39
  53. package/dist/handlers/index.d.ts +0 -4
  54. package/dist/index.d.ts +0 -27
  55. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
  56. package/dist/libs/contracts/dist/client/index.js +0 -5
  57. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  58. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  59. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  60. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  61. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
  62. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  63. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  64. package/dist/libs/contracts/dist/docs/index.js +0 -29
  65. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  66. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  67. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  68. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  69. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  70. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  71. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  72. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  73. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  74. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  75. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  76. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  77. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  78. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  79. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  80. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  81. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  82. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  83. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  84. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  85. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  86. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  87. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  88. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  89. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  90. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  91. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  92. package/dist/libs/contracts/dist/events.js +0 -10
  93. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  94. package/dist/libs/contracts/dist/index.js +0 -71
  95. package/dist/libs/contracts/dist/install.js +0 -2
  96. package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
  97. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  98. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
  99. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
  100. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  101. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
  102. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
  103. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
  104. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  105. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  106. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  107. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  108. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  109. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  110. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  111. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  112. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  113. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  114. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  115. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  116. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  117. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
  118. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  119. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  120. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  121. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  122. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  123. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  124. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  125. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  126. package/dist/libs/contracts/dist/llm/exporters.js +0 -19
  127. package/dist/libs/contracts/dist/llm/index.js +0 -2
  128. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  129. package/dist/libs/contracts/dist/onboarding-base.js +0 -196
  130. package/dist/libs/contracts/dist/openapi.js +0 -1
  131. package/dist/libs/contracts/dist/ownership.js +0 -21
  132. package/dist/libs/contracts/dist/presentations.js +0 -1
  133. package/dist/libs/contracts/dist/presentations.v2.js +0 -11
  134. package/dist/libs/contracts/dist/prompt.js +0 -1
  135. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  136. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  137. package/dist/libs/contracts/dist/regenerator/service.js +0 -6
  138. package/dist/libs/contracts/dist/registry.js +0 -2
  139. package/dist/libs/contracts/dist/resources.js +0 -1
  140. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  141. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  142. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  143. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -39
  144. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  145. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  146. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  147. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  148. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  149. package/dist/libs/contracts/dist/server/index.js +0 -8
  150. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  151. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  152. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  153. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  154. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  155. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  156. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  157. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  158. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  159. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  160. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  161. package/dist/libs/contracts/dist/spec.js +0 -34
  162. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  163. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  164. package/dist/libs/contracts/dist/tests/index.js +0 -1
  165. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  166. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  167. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  168. package/dist/libs/schema/dist/EnumType.js +0 -56
  169. package/dist/libs/schema/dist/FieldType.js +0 -49
  170. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  171. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  172. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  173. package/dist/libs/schema/dist/entity/index.js +0 -2
  174. package/dist/libs/schema/dist/entity/types.js +0 -1
  175. package/dist/libs/schema/dist/index.js +0 -6
  176. package/dist/presentations/index.d.ts +0 -4
  177. package/dist/run/index.d.ts +0 -8
  178. package/dist/run/run.contracts.d.ts +0 -713
  179. package/dist/run/run.entity.d.ts +0 -81
  180. package/dist/run/run.enum.d.ts +0 -21
  181. package/dist/run/run.event.d.ts +0 -289
  182. package/dist/run/run.handler.d.ts +0 -202
  183. package/dist/run/run.presentation.d.ts +0 -14
  184. package/dist/run/run.schema.d.ts +0 -415
  185. package/dist/shared/index.d.ts +0 -4
  186. package/dist/shared/mock-agents.d.ts +0 -87
  187. package/dist/shared/mock-runs.d.ts +0 -119
  188. package/dist/shared/mock-tools.d.ts +0 -243
  189. package/dist/tool/index.d.ts +0 -8
  190. package/dist/tool/tool.contracts.d.ts +0 -404
  191. package/dist/tool/tool.entity.d.ts +0 -41
  192. package/dist/tool/tool.enum.d.ts +0 -17
  193. package/dist/tool/tool.event.d.ts +0 -102
  194. package/dist/tool/tool.handler.d.ts +0 -314
  195. package/dist/tool/tool.presentation.d.ts +0 -14
  196. package/dist/tool/tool.schema.d.ts +0 -217
@@ -1,713 +0,0 @@
1
- import * as _lssm_lib_contracts18 from "@lssm/lib.contracts";
2
- import * as _lssm_lib_schema640 from "@lssm/lib.schema";
3
-
4
- //#region src/run/run.contracts.d.ts
5
- /**
6
- * ExecuteAgentCommand - Starts a new agent run.
7
- */
8
- declare const ExecuteAgentCommand: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
9
- agentId: {
10
- type: _lssm_lib_schema640.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- input: {
14
- type: _lssm_lib_schema640.SchemaModel<{
15
- message: {
16
- type: _lssm_lib_schema640.FieldType<string, string>;
17
- isOptional: false;
18
- };
19
- context: {
20
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
21
- isOptional: true;
22
- };
23
- }>;
24
- isOptional: false;
25
- };
26
- sessionId: {
27
- type: _lssm_lib_schema640.FieldType<string, string>;
28
- isOptional: true;
29
- };
30
- metadata: {
31
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
32
- isOptional: true;
33
- };
34
- stream: {
35
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
36
- isOptional: true;
37
- };
38
- maxIterations: {
39
- type: _lssm_lib_schema640.FieldType<number, number>;
40
- isOptional: true;
41
- };
42
- timeoutMs: {
43
- type: _lssm_lib_schema640.FieldType<number, number>;
44
- isOptional: true;
45
- };
46
- }>, _lssm_lib_schema640.SchemaModel<{
47
- runId: {
48
- type: _lssm_lib_schema640.FieldType<string, string>;
49
- isOptional: false;
50
- };
51
- status: {
52
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
53
- isOptional: false;
54
- };
55
- estimatedWaitMs: {
56
- type: _lssm_lib_schema640.FieldType<number, number>;
57
- isOptional: true;
58
- };
59
- }>, {
60
- name: string;
61
- version: number;
62
- when: string;
63
- payload: _lssm_lib_schema640.SchemaModel<{
64
- id: {
65
- type: _lssm_lib_schema640.FieldType<string, string>;
66
- isOptional: false;
67
- };
68
- agentId: {
69
- type: _lssm_lib_schema640.FieldType<string, string>;
70
- isOptional: false;
71
- };
72
- agentName: {
73
- type: _lssm_lib_schema640.FieldType<string, string>;
74
- isOptional: false;
75
- };
76
- status: {
77
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
78
- isOptional: false;
79
- };
80
- totalTokens: {
81
- type: _lssm_lib_schema640.FieldType<number, number>;
82
- isOptional: false;
83
- };
84
- durationMs: {
85
- type: _lssm_lib_schema640.FieldType<number, number>;
86
- isOptional: true;
87
- };
88
- estimatedCostUsd: {
89
- type: _lssm_lib_schema640.FieldType<number, number>;
90
- isOptional: true;
91
- };
92
- queuedAt: {
93
- type: _lssm_lib_schema640.FieldType<Date, string>;
94
- isOptional: false;
95
- };
96
- completedAt: {
97
- type: _lssm_lib_schema640.FieldType<Date, string>;
98
- isOptional: true;
99
- };
100
- }>;
101
- }[]>;
102
- /**
103
- * CancelRunCommand - Cancels an in-progress run.
104
- */
105
- declare const CancelRunCommand: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
106
- runId: {
107
- type: _lssm_lib_schema640.FieldType<string, string>;
108
- isOptional: false;
109
- };
110
- reason: {
111
- type: _lssm_lib_schema640.FieldType<string, string>;
112
- isOptional: true;
113
- };
114
- }>, _lssm_lib_schema640.SchemaModel<{
115
- success: {
116
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
117
- isOptional: false;
118
- };
119
- status: {
120
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
121
- isOptional: false;
122
- };
123
- }>, {
124
- name: string;
125
- version: number;
126
- when: string;
127
- payload: _lssm_lib_schema640.SchemaModel<{
128
- id: {
129
- type: _lssm_lib_schema640.FieldType<string, string>;
130
- isOptional: false;
131
- };
132
- agentId: {
133
- type: _lssm_lib_schema640.FieldType<string, string>;
134
- isOptional: false;
135
- };
136
- agentName: {
137
- type: _lssm_lib_schema640.FieldType<string, string>;
138
- isOptional: false;
139
- };
140
- status: {
141
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
142
- isOptional: false;
143
- };
144
- totalTokens: {
145
- type: _lssm_lib_schema640.FieldType<number, number>;
146
- isOptional: false;
147
- };
148
- durationMs: {
149
- type: _lssm_lib_schema640.FieldType<number, number>;
150
- isOptional: true;
151
- };
152
- estimatedCostUsd: {
153
- type: _lssm_lib_schema640.FieldType<number, number>;
154
- isOptional: true;
155
- };
156
- queuedAt: {
157
- type: _lssm_lib_schema640.FieldType<Date, string>;
158
- isOptional: false;
159
- };
160
- completedAt: {
161
- type: _lssm_lib_schema640.FieldType<Date, string>;
162
- isOptional: true;
163
- };
164
- }>;
165
- }[]>;
166
- /**
167
- * GetRunQuery - Retrieves a run by ID.
168
- */
169
- declare const GetRunQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
170
- runId: {
171
- type: _lssm_lib_schema640.FieldType<string, string>;
172
- isOptional: false;
173
- };
174
- includeSteps: {
175
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
176
- isOptional: true;
177
- };
178
- includeLogs: {
179
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
180
- isOptional: true;
181
- };
182
- }>, _lssm_lib_schema640.SchemaModel<{
183
- id: {
184
- type: _lssm_lib_schema640.FieldType<string, string>;
185
- isOptional: false;
186
- };
187
- organizationId: {
188
- type: _lssm_lib_schema640.FieldType<string, string>;
189
- isOptional: false;
190
- };
191
- agentId: {
192
- type: _lssm_lib_schema640.FieldType<string, string>;
193
- isOptional: false;
194
- };
195
- userId: {
196
- type: _lssm_lib_schema640.FieldType<string, string>;
197
- isOptional: true;
198
- };
199
- sessionId: {
200
- type: _lssm_lib_schema640.FieldType<string, string>;
201
- isOptional: true;
202
- };
203
- input: {
204
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
205
- isOptional: false;
206
- };
207
- output: {
208
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
209
- isOptional: true;
210
- };
211
- status: {
212
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
213
- isOptional: false;
214
- };
215
- errorMessage: {
216
- type: _lssm_lib_schema640.FieldType<string, string>;
217
- isOptional: true;
218
- };
219
- errorCode: {
220
- type: _lssm_lib_schema640.FieldType<string, string>;
221
- isOptional: true;
222
- };
223
- totalTokens: {
224
- type: _lssm_lib_schema640.FieldType<number, number>;
225
- isOptional: false;
226
- defaultValue: number;
227
- };
228
- promptTokens: {
229
- type: _lssm_lib_schema640.FieldType<number, number>;
230
- isOptional: false;
231
- defaultValue: number;
232
- };
233
- completionTokens: {
234
- type: _lssm_lib_schema640.FieldType<number, number>;
235
- isOptional: false;
236
- defaultValue: number;
237
- };
238
- totalIterations: {
239
- type: _lssm_lib_schema640.FieldType<number, number>;
240
- isOptional: false;
241
- defaultValue: number;
242
- };
243
- durationMs: {
244
- type: _lssm_lib_schema640.FieldType<number, number>;
245
- isOptional: true;
246
- };
247
- estimatedCostUsd: {
248
- type: _lssm_lib_schema640.FieldType<number, number>;
249
- isOptional: true;
250
- };
251
- queuedAt: {
252
- type: _lssm_lib_schema640.FieldType<Date, string>;
253
- isOptional: false;
254
- };
255
- startedAt: {
256
- type: _lssm_lib_schema640.FieldType<Date, string>;
257
- isOptional: true;
258
- };
259
- completedAt: {
260
- type: _lssm_lib_schema640.FieldType<Date, string>;
261
- isOptional: true;
262
- };
263
- metadata: {
264
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
265
- isOptional: true;
266
- };
267
- steps: {
268
- type: _lssm_lib_schema640.SchemaModel<{
269
- id: {
270
- type: _lssm_lib_schema640.FieldType<string, string>;
271
- isOptional: false;
272
- };
273
- stepNumber: {
274
- type: _lssm_lib_schema640.FieldType<number, number>;
275
- isOptional: false;
276
- };
277
- type: {
278
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
279
- isOptional: false;
280
- };
281
- toolId: {
282
- type: _lssm_lib_schema640.FieldType<string, string>;
283
- isOptional: true;
284
- };
285
- toolName: {
286
- type: _lssm_lib_schema640.FieldType<string, string>;
287
- isOptional: true;
288
- };
289
- input: {
290
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
291
- isOptional: true;
292
- };
293
- output: {
294
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
295
- isOptional: true;
296
- };
297
- status: {
298
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
299
- isOptional: false;
300
- };
301
- errorMessage: {
302
- type: _lssm_lib_schema640.FieldType<string, string>;
303
- isOptional: true;
304
- };
305
- tokensUsed: {
306
- type: _lssm_lib_schema640.FieldType<number, number>;
307
- isOptional: false;
308
- defaultValue: number;
309
- };
310
- durationMs: {
311
- type: _lssm_lib_schema640.FieldType<number, number>;
312
- isOptional: true;
313
- };
314
- startedAt: {
315
- type: _lssm_lib_schema640.FieldType<Date, string>;
316
- isOptional: false;
317
- };
318
- completedAt: {
319
- type: _lssm_lib_schema640.FieldType<Date, string>;
320
- isOptional: true;
321
- };
322
- }>;
323
- isArray: true;
324
- isOptional: true;
325
- };
326
- logs: {
327
- type: _lssm_lib_schema640.SchemaModel<{
328
- id: {
329
- type: _lssm_lib_schema640.FieldType<string, string>;
330
- isOptional: false;
331
- };
332
- stepId: {
333
- type: _lssm_lib_schema640.FieldType<string, string>;
334
- isOptional: true;
335
- };
336
- level: {
337
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
338
- isOptional: false;
339
- };
340
- message: {
341
- type: _lssm_lib_schema640.FieldType<string, string>;
342
- isOptional: false;
343
- };
344
- data: {
345
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
346
- isOptional: true;
347
- };
348
- source: {
349
- type: _lssm_lib_schema640.FieldType<string, string>;
350
- isOptional: true;
351
- };
352
- traceId: {
353
- type: _lssm_lib_schema640.FieldType<string, string>;
354
- isOptional: true;
355
- };
356
- spanId: {
357
- type: _lssm_lib_schema640.FieldType<string, string>;
358
- isOptional: true;
359
- };
360
- timestamp: {
361
- type: _lssm_lib_schema640.FieldType<Date, string>;
362
- isOptional: false;
363
- };
364
- }>;
365
- isArray: true;
366
- isOptional: true;
367
- };
368
- agent: {
369
- type: _lssm_lib_schema640.SchemaModel<{
370
- id: {
371
- type: _lssm_lib_schema640.FieldType<string, string>;
372
- isOptional: false;
373
- };
374
- name: {
375
- type: _lssm_lib_schema640.FieldType<string, string>;
376
- isOptional: false;
377
- };
378
- modelProvider: {
379
- type: _lssm_lib_schema640.FieldType<string, string>;
380
- isOptional: false;
381
- };
382
- modelName: {
383
- type: _lssm_lib_schema640.FieldType<string, string>;
384
- isOptional: false;
385
- };
386
- }>;
387
- isOptional: true;
388
- };
389
- }>, undefined>;
390
- /**
391
- * ListRunsQuery - Lists runs for an organization or agent.
392
- */
393
- declare const ListRunsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
394
- organizationId: {
395
- type: _lssm_lib_schema640.FieldType<string, string>;
396
- isOptional: true;
397
- };
398
- agentId: {
399
- type: _lssm_lib_schema640.FieldType<string, string>;
400
- isOptional: true;
401
- };
402
- userId: {
403
- type: _lssm_lib_schema640.FieldType<string, string>;
404
- isOptional: true;
405
- };
406
- sessionId: {
407
- type: _lssm_lib_schema640.FieldType<string, string>;
408
- isOptional: true;
409
- };
410
- status: {
411
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
412
- isOptional: true;
413
- };
414
- startDate: {
415
- type: _lssm_lib_schema640.FieldType<Date, string>;
416
- isOptional: true;
417
- };
418
- endDate: {
419
- type: _lssm_lib_schema640.FieldType<Date, string>;
420
- isOptional: true;
421
- };
422
- limit: {
423
- type: _lssm_lib_schema640.FieldType<number, number>;
424
- isOptional: true;
425
- defaultValue: number;
426
- };
427
- offset: {
428
- type: _lssm_lib_schema640.FieldType<number, number>;
429
- isOptional: true;
430
- defaultValue: number;
431
- };
432
- }>, _lssm_lib_schema640.SchemaModel<{
433
- items: {
434
- type: _lssm_lib_schema640.SchemaModel<{
435
- id: {
436
- type: _lssm_lib_schema640.FieldType<string, string>;
437
- isOptional: false;
438
- };
439
- agentId: {
440
- type: _lssm_lib_schema640.FieldType<string, string>;
441
- isOptional: false;
442
- };
443
- agentName: {
444
- type: _lssm_lib_schema640.FieldType<string, string>;
445
- isOptional: false;
446
- };
447
- status: {
448
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
449
- isOptional: false;
450
- };
451
- totalTokens: {
452
- type: _lssm_lib_schema640.FieldType<number, number>;
453
- isOptional: false;
454
- };
455
- durationMs: {
456
- type: _lssm_lib_schema640.FieldType<number, number>;
457
- isOptional: true;
458
- };
459
- estimatedCostUsd: {
460
- type: _lssm_lib_schema640.FieldType<number, number>;
461
- isOptional: true;
462
- };
463
- queuedAt: {
464
- type: _lssm_lib_schema640.FieldType<Date, string>;
465
- isOptional: false;
466
- };
467
- completedAt: {
468
- type: _lssm_lib_schema640.FieldType<Date, string>;
469
- isOptional: true;
470
- };
471
- }>;
472
- isArray: true;
473
- isOptional: false;
474
- };
475
- total: {
476
- type: _lssm_lib_schema640.FieldType<number, number>;
477
- isOptional: false;
478
- };
479
- hasMore: {
480
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
481
- isOptional: false;
482
- };
483
- }>, undefined>;
484
- /**
485
- * GetRunStepsQuery - Retrieves steps for a run.
486
- */
487
- declare const GetRunStepsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
488
- runId: {
489
- type: _lssm_lib_schema640.FieldType<string, string>;
490
- isOptional: false;
491
- };
492
- }>, _lssm_lib_schema640.SchemaModel<{
493
- steps: {
494
- type: _lssm_lib_schema640.SchemaModel<{
495
- id: {
496
- type: _lssm_lib_schema640.FieldType<string, string>;
497
- isOptional: false;
498
- };
499
- stepNumber: {
500
- type: _lssm_lib_schema640.FieldType<number, number>;
501
- isOptional: false;
502
- };
503
- type: {
504
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
505
- isOptional: false;
506
- };
507
- toolId: {
508
- type: _lssm_lib_schema640.FieldType<string, string>;
509
- isOptional: true;
510
- };
511
- toolName: {
512
- type: _lssm_lib_schema640.FieldType<string, string>;
513
- isOptional: true;
514
- };
515
- input: {
516
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
517
- isOptional: true;
518
- };
519
- output: {
520
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
521
- isOptional: true;
522
- };
523
- status: {
524
- type: _lssm_lib_schema640.EnumType<[string, string, string, string, string, string]>;
525
- isOptional: false;
526
- };
527
- errorMessage: {
528
- type: _lssm_lib_schema640.FieldType<string, string>;
529
- isOptional: true;
530
- };
531
- tokensUsed: {
532
- type: _lssm_lib_schema640.FieldType<number, number>;
533
- isOptional: false;
534
- defaultValue: number;
535
- };
536
- durationMs: {
537
- type: _lssm_lib_schema640.FieldType<number, number>;
538
- isOptional: true;
539
- };
540
- startedAt: {
541
- type: _lssm_lib_schema640.FieldType<Date, string>;
542
- isOptional: false;
543
- };
544
- completedAt: {
545
- type: _lssm_lib_schema640.FieldType<Date, string>;
546
- isOptional: true;
547
- };
548
- }>;
549
- isArray: true;
550
- isOptional: false;
551
- };
552
- }>, undefined>;
553
- /**
554
- * GetRunLogsQuery - Retrieves logs for a run.
555
- */
556
- declare const GetRunLogsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
557
- runId: {
558
- type: _lssm_lib_schema640.FieldType<string, string>;
559
- isOptional: false;
560
- };
561
- level: {
562
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
563
- isOptional: true;
564
- };
565
- stepId: {
566
- type: _lssm_lib_schema640.FieldType<string, string>;
567
- isOptional: true;
568
- };
569
- limit: {
570
- type: _lssm_lib_schema640.FieldType<number, number>;
571
- isOptional: true;
572
- defaultValue: number;
573
- };
574
- offset: {
575
- type: _lssm_lib_schema640.FieldType<number, number>;
576
- isOptional: true;
577
- defaultValue: number;
578
- };
579
- }>, _lssm_lib_schema640.SchemaModel<{
580
- items: {
581
- type: _lssm_lib_schema640.SchemaModel<{
582
- id: {
583
- type: _lssm_lib_schema640.FieldType<string, string>;
584
- isOptional: false;
585
- };
586
- stepId: {
587
- type: _lssm_lib_schema640.FieldType<string, string>;
588
- isOptional: true;
589
- };
590
- level: {
591
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
592
- isOptional: false;
593
- };
594
- message: {
595
- type: _lssm_lib_schema640.FieldType<string, string>;
596
- isOptional: false;
597
- };
598
- data: {
599
- type: _lssm_lib_schema640.FieldType<Record<string, unknown>, Record<string, unknown>>;
600
- isOptional: true;
601
- };
602
- source: {
603
- type: _lssm_lib_schema640.FieldType<string, string>;
604
- isOptional: true;
605
- };
606
- traceId: {
607
- type: _lssm_lib_schema640.FieldType<string, string>;
608
- isOptional: true;
609
- };
610
- spanId: {
611
- type: _lssm_lib_schema640.FieldType<string, string>;
612
- isOptional: true;
613
- };
614
- timestamp: {
615
- type: _lssm_lib_schema640.FieldType<Date, string>;
616
- isOptional: false;
617
- };
618
- }>;
619
- isArray: true;
620
- isOptional: false;
621
- };
622
- total: {
623
- type: _lssm_lib_schema640.FieldType<number, number>;
624
- isOptional: false;
625
- };
626
- hasMore: {
627
- type: _lssm_lib_schema640.FieldType<boolean, boolean>;
628
- isOptional: false;
629
- };
630
- }>, undefined>;
631
- /**
632
- * GetRunMetricsQuery - Retrieves aggregated metrics for runs.
633
- */
634
- declare const GetRunMetricsQuery: _lssm_lib_contracts18.ContractSpec<_lssm_lib_schema640.SchemaModel<{
635
- organizationId: {
636
- type: _lssm_lib_schema640.FieldType<string, string>;
637
- isOptional: false;
638
- };
639
- agentId: {
640
- type: _lssm_lib_schema640.FieldType<string, string>;
641
- isOptional: true;
642
- };
643
- startDate: {
644
- type: _lssm_lib_schema640.FieldType<Date, string>;
645
- isOptional: false;
646
- };
647
- endDate: {
648
- type: _lssm_lib_schema640.FieldType<Date, string>;
649
- isOptional: false;
650
- };
651
- granularity: {
652
- type: _lssm_lib_schema640.EnumType<[string, string, string, string]>;
653
- isOptional: true;
654
- defaultValue: string;
655
- };
656
- }>, _lssm_lib_schema640.SchemaModel<{
657
- totalRuns: {
658
- type: _lssm_lib_schema640.FieldType<number, number>;
659
- isOptional: false;
660
- };
661
- completedRuns: {
662
- type: _lssm_lib_schema640.FieldType<number, number>;
663
- isOptional: false;
664
- };
665
- failedRuns: {
666
- type: _lssm_lib_schema640.FieldType<number, number>;
667
- isOptional: false;
668
- };
669
- totalTokens: {
670
- type: _lssm_lib_schema640.FieldType<number, number>;
671
- isOptional: false;
672
- };
673
- totalCostUsd: {
674
- type: _lssm_lib_schema640.FieldType<number, number>;
675
- isOptional: false;
676
- };
677
- averageDurationMs: {
678
- type: _lssm_lib_schema640.FieldType<number, number>;
679
- isOptional: false;
680
- };
681
- successRate: {
682
- type: _lssm_lib_schema640.FieldType<number, number>;
683
- isOptional: false;
684
- };
685
- timeline: {
686
- type: _lssm_lib_schema640.SchemaModel<{
687
- period: {
688
- type: _lssm_lib_schema640.FieldType<string, string>;
689
- isOptional: false;
690
- };
691
- runs: {
692
- type: _lssm_lib_schema640.FieldType<number, number>;
693
- isOptional: false;
694
- };
695
- tokens: {
696
- type: _lssm_lib_schema640.FieldType<number, number>;
697
- isOptional: false;
698
- };
699
- costUsd: {
700
- type: _lssm_lib_schema640.FieldType<number, number>;
701
- isOptional: false;
702
- };
703
- avgDurationMs: {
704
- type: _lssm_lib_schema640.FieldType<number, number>;
705
- isOptional: false;
706
- };
707
- }>;
708
- isArray: true;
709
- isOptional: false;
710
- };
711
- }>, undefined>;
712
- //#endregion
713
- export { CancelRunCommand, ExecuteAgentCommand, GetRunLogsQuery, GetRunMetricsQuery, GetRunQuery, GetRunStepsQuery, ListRunsQuery };