@lssm/example.agent-console 0.0.0-canary-20251220030446 → 0.0.0-canary-20251221114240

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 (74) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +52 -49
  2. package/.turbo/turbo-build.log +60 -57
  3. package/CHANGELOG.md +6 -6
  4. package/dist/agent/agent.entity.d.ts +36 -36
  5. package/dist/agent/agent.enum.d.ts +4 -4
  6. package/dist/agent/agent.event.d.ts +31 -31
  7. package/dist/agent/agent.event.d.ts.map +1 -1
  8. package/dist/agent/agent.operation.d.ts +505 -0
  9. package/dist/agent/agent.operation.d.ts.map +1 -0
  10. package/dist/agent/{agent.contracts.js → agent.operation.js} +3 -3
  11. package/dist/agent/agent.operation.js.map +1 -0
  12. package/dist/agent/agent.schema.d.ts +95 -95
  13. package/dist/agent/index.d.ts +1 -1
  14. package/dist/agent/index.js +1 -1
  15. package/dist/index.d.ts +3 -3
  16. package/dist/index.js +3 -3
  17. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +6 -6
  18. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
  19. package/dist/libs/contracts/dist/index.js +3 -1
  20. package/dist/libs/contracts/dist/integrations/contracts.js +1 -1
  21. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
  22. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -1
  23. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
  24. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -1
  25. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
  26. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -1
  27. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
  28. package/dist/libs/contracts/dist/knowledge/contracts.js +1 -1
  29. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
  30. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
  31. package/dist/libs/contracts/dist/onboarding-base.js +1 -1
  32. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
  33. package/dist/libs/contracts/dist/{spec.js → operation.js} +2 -2
  34. package/dist/libs/contracts/dist/operation.js.map +1 -0
  35. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +98 -0
  36. package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -0
  37. package/dist/libs/contracts/dist/workspace-config/index.js +1 -0
  38. package/dist/run/index.d.ts +1 -1
  39. package/dist/run/index.js +1 -1
  40. package/dist/run/run.entity.d.ts +56 -56
  41. package/dist/run/run.enum.d.ts +5 -5
  42. package/dist/run/run.enum.d.ts.map +1 -1
  43. package/dist/run/run.event.d.ts +71 -71
  44. package/dist/run/run.event.d.ts.map +1 -1
  45. package/dist/run/run.operation.d.ts +714 -0
  46. package/dist/run/{run.contracts.d.ts.map → run.operation.d.ts.map} +1 -1
  47. package/dist/run/{run.contracts.js → run.operation.js} +3 -3
  48. package/dist/run/run.operation.js.map +1 -0
  49. package/dist/run/run.schema.d.ts +99 -99
  50. package/dist/tool/index.d.ts +1 -1
  51. package/dist/tool/index.js +1 -1
  52. package/dist/tool/tool.entity.d.ts +24 -24
  53. package/dist/tool/tool.enum.d.ts +4 -4
  54. package/dist/tool/tool.operation.d.ts +405 -0
  55. package/dist/tool/{tool.contracts.d.ts.map → tool.operation.d.ts.map} +1 -1
  56. package/dist/tool/{tool.contracts.js → tool.operation.js} +3 -3
  57. package/dist/tool/tool.operation.js.map +1 -0
  58. package/dist/tool/tool.presentation.d.ts.map +1 -1
  59. package/package.json +14 -14
  60. package/src/agent/{agent.contracts.ts → agent.operation.ts} +1 -1
  61. package/src/agent/index.ts +1 -1
  62. package/src/run/index.ts +1 -1
  63. package/src/run/{run.contracts.ts → run.operation.ts} +4 -4
  64. package/src/tool/index.ts +1 -1
  65. package/src/tool/{tool.contracts.ts → tool.operation.ts} +2 -2
  66. package/tsconfig.tsbuildinfo +1 -1
  67. package/dist/agent/agent.contracts.d.ts +0 -505
  68. package/dist/agent/agent.contracts.d.ts.map +0 -1
  69. package/dist/agent/agent.contracts.js.map +0 -1
  70. package/dist/libs/contracts/dist/spec.js.map +0 -1
  71. package/dist/run/run.contracts.d.ts +0 -714
  72. package/dist/run/run.contracts.js.map +0 -1
  73. package/dist/tool/tool.contracts.d.ts +0 -405
  74. package/dist/tool/tool.contracts.js.map +0 -1
@@ -1,18 +1,18 @@
1
- import * as _lssm_lib_schema734 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema801 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/tool/tool.enum.d.ts
4
4
  /**
5
5
  * Tool category enum.
6
6
  */
7
- declare const ToolCategoryEnum: _lssm_lib_schema734.EnumType<[string, string, string, string, string, string]>;
7
+ declare const ToolCategoryEnum: _lssm_lib_schema801.EnumType<[string, string, string, string, string, string]>;
8
8
  /**
9
9
  * Tool status enum.
10
10
  */
11
- declare const ToolStatusEnum: _lssm_lib_schema734.EnumType<[string, string, string, string]>;
11
+ declare const ToolStatusEnum: _lssm_lib_schema801.EnumType<[string, string, string, string]>;
12
12
  /**
13
13
  * Implementation type enum.
14
14
  */
15
- declare const ImplementationTypeEnum: _lssm_lib_schema734.EnumType<[string, string, string]>;
15
+ declare const ImplementationTypeEnum: _lssm_lib_schema801.EnumType<[string, string, string]>;
16
16
  //#endregion
17
17
  export { ImplementationTypeEnum, ToolCategoryEnum, ToolStatusEnum };
18
18
  //# sourceMappingURL=tool.enum.d.ts.map
@@ -0,0 +1,405 @@
1
+ import * as _lssm_lib_contracts24 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema679 from "@lssm/lib.schema";
3
+
4
+ //#region src/tool/tool.operation.d.ts
5
+ /**
6
+ * CreateToolCommand - Creates a new tool definition.
7
+ */
8
+ declare const CreateToolCommand: _lssm_lib_contracts24.OperationSpec<_lssm_lib_schema679.SchemaModel<{
9
+ organizationId: {
10
+ type: _lssm_lib_schema679.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ name: {
14
+ type: _lssm_lib_schema679.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ slug: {
18
+ type: _lssm_lib_schema679.FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ description: {
22
+ type: _lssm_lib_schema679.FieldType<string, string>;
23
+ isOptional: false;
24
+ };
25
+ category: {
26
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
27
+ isOptional: true;
28
+ };
29
+ parametersSchema: {
30
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
31
+ isOptional: false;
32
+ };
33
+ outputSchema: {
34
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
35
+ isOptional: true;
36
+ };
37
+ implementationType: {
38
+ type: _lssm_lib_schema679.EnumType<[string, string, string]>;
39
+ isOptional: false;
40
+ };
41
+ implementationConfig: {
42
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
43
+ isOptional: false;
44
+ };
45
+ maxInvocationsPerMinute: {
46
+ type: _lssm_lib_schema679.FieldType<number, number>;
47
+ isOptional: true;
48
+ };
49
+ timeoutMs: {
50
+ type: _lssm_lib_schema679.FieldType<number, number>;
51
+ isOptional: true;
52
+ };
53
+ tags: {
54
+ type: _lssm_lib_schema679.FieldType<string, string>;
55
+ isArray: true;
56
+ isOptional: true;
57
+ };
58
+ }>, _lssm_lib_schema679.SchemaModel<{
59
+ id: {
60
+ type: _lssm_lib_schema679.FieldType<string, string>;
61
+ isOptional: false;
62
+ };
63
+ name: {
64
+ type: _lssm_lib_schema679.FieldType<string, string>;
65
+ isOptional: false;
66
+ };
67
+ slug: {
68
+ type: _lssm_lib_schema679.FieldType<string, string>;
69
+ isOptional: false;
70
+ };
71
+ status: {
72
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
73
+ isOptional: false;
74
+ };
75
+ }>, {
76
+ name: string;
77
+ version: number;
78
+ when: string;
79
+ payload: _lssm_lib_schema679.SchemaModel<{
80
+ id: {
81
+ type: _lssm_lib_schema679.FieldType<string, string>;
82
+ isOptional: false;
83
+ };
84
+ name: {
85
+ type: _lssm_lib_schema679.FieldType<string, string>;
86
+ isOptional: false;
87
+ };
88
+ slug: {
89
+ type: _lssm_lib_schema679.FieldType<string, string>;
90
+ isOptional: false;
91
+ };
92
+ description: {
93
+ type: _lssm_lib_schema679.FieldType<string, string>;
94
+ isOptional: false;
95
+ };
96
+ category: {
97
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
98
+ isOptional: false;
99
+ };
100
+ status: {
101
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
102
+ isOptional: false;
103
+ };
104
+ version: {
105
+ type: _lssm_lib_schema679.FieldType<string, string>;
106
+ isOptional: false;
107
+ };
108
+ createdAt: {
109
+ type: _lssm_lib_schema679.FieldType<Date, string>;
110
+ isOptional: false;
111
+ };
112
+ }>;
113
+ }[]>;
114
+ /**
115
+ * UpdateToolCommand - Updates an existing tool.
116
+ */
117
+ declare const UpdateToolCommand: _lssm_lib_contracts24.OperationSpec<_lssm_lib_schema679.SchemaModel<{
118
+ toolId: {
119
+ type: _lssm_lib_schema679.FieldType<string, string>;
120
+ isOptional: false;
121
+ };
122
+ name: {
123
+ type: _lssm_lib_schema679.FieldType<string, string>;
124
+ isOptional: true;
125
+ };
126
+ description: {
127
+ type: _lssm_lib_schema679.FieldType<string, string>;
128
+ isOptional: true;
129
+ };
130
+ status: {
131
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
132
+ isOptional: true;
133
+ };
134
+ parametersSchema: {
135
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
136
+ isOptional: true;
137
+ };
138
+ outputSchema: {
139
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
140
+ isOptional: true;
141
+ };
142
+ implementationConfig: {
143
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
144
+ isOptional: true;
145
+ };
146
+ maxInvocationsPerMinute: {
147
+ type: _lssm_lib_schema679.FieldType<number, number>;
148
+ isOptional: true;
149
+ };
150
+ timeoutMs: {
151
+ type: _lssm_lib_schema679.FieldType<number, number>;
152
+ isOptional: true;
153
+ };
154
+ tags: {
155
+ type: _lssm_lib_schema679.FieldType<string, string>;
156
+ isArray: true;
157
+ isOptional: true;
158
+ };
159
+ }>, _lssm_lib_schema679.SchemaModel<{
160
+ id: {
161
+ type: _lssm_lib_schema679.FieldType<string, string>;
162
+ isOptional: false;
163
+ };
164
+ name: {
165
+ type: _lssm_lib_schema679.FieldType<string, string>;
166
+ isOptional: false;
167
+ };
168
+ status: {
169
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
170
+ isOptional: false;
171
+ };
172
+ updatedAt: {
173
+ type: _lssm_lib_schema679.FieldType<Date, string>;
174
+ isOptional: false;
175
+ };
176
+ }>, {
177
+ name: string;
178
+ version: number;
179
+ when: string;
180
+ payload: _lssm_lib_schema679.SchemaModel<{
181
+ id: {
182
+ type: _lssm_lib_schema679.FieldType<string, string>;
183
+ isOptional: false;
184
+ };
185
+ name: {
186
+ type: _lssm_lib_schema679.FieldType<string, string>;
187
+ isOptional: false;
188
+ };
189
+ slug: {
190
+ type: _lssm_lib_schema679.FieldType<string, string>;
191
+ isOptional: false;
192
+ };
193
+ description: {
194
+ type: _lssm_lib_schema679.FieldType<string, string>;
195
+ isOptional: false;
196
+ };
197
+ category: {
198
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
199
+ isOptional: false;
200
+ };
201
+ status: {
202
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
203
+ isOptional: false;
204
+ };
205
+ version: {
206
+ type: _lssm_lib_schema679.FieldType<string, string>;
207
+ isOptional: false;
208
+ };
209
+ createdAt: {
210
+ type: _lssm_lib_schema679.FieldType<Date, string>;
211
+ isOptional: false;
212
+ };
213
+ }>;
214
+ }[]>;
215
+ /**
216
+ * GetToolQuery - Retrieves a tool by ID.
217
+ */
218
+ declare const GetToolQuery: _lssm_lib_contracts24.OperationSpec<_lssm_lib_schema679.SchemaModel<{
219
+ toolId: {
220
+ type: _lssm_lib_schema679.FieldType<string, string>;
221
+ isOptional: false;
222
+ };
223
+ }>, _lssm_lib_schema679.SchemaModel<{
224
+ id: {
225
+ type: _lssm_lib_schema679.FieldType<string, string>;
226
+ isOptional: false;
227
+ };
228
+ organizationId: {
229
+ type: _lssm_lib_schema679.FieldType<string, string>;
230
+ isOptional: false;
231
+ };
232
+ name: {
233
+ type: _lssm_lib_schema679.FieldType<string, string>;
234
+ isOptional: false;
235
+ };
236
+ slug: {
237
+ type: _lssm_lib_schema679.FieldType<string, string>;
238
+ isOptional: false;
239
+ };
240
+ description: {
241
+ type: _lssm_lib_schema679.FieldType<string, string>;
242
+ isOptional: false;
243
+ };
244
+ category: {
245
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
246
+ isOptional: false;
247
+ };
248
+ status: {
249
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
250
+ isOptional: false;
251
+ };
252
+ parametersSchema: {
253
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
254
+ isOptional: false;
255
+ };
256
+ outputSchema: {
257
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
258
+ isOptional: true;
259
+ };
260
+ implementationType: {
261
+ type: _lssm_lib_schema679.EnumType<[string, string, string]>;
262
+ isOptional: false;
263
+ };
264
+ implementationConfig: {
265
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
266
+ isOptional: false;
267
+ };
268
+ maxInvocationsPerMinute: {
269
+ type: _lssm_lib_schema679.FieldType<number, number>;
270
+ isOptional: true;
271
+ };
272
+ timeoutMs: {
273
+ type: _lssm_lib_schema679.FieldType<number, number>;
274
+ isOptional: false;
275
+ defaultValue: number;
276
+ };
277
+ version: {
278
+ type: _lssm_lib_schema679.FieldType<string, string>;
279
+ isOptional: false;
280
+ };
281
+ tags: {
282
+ type: _lssm_lib_schema679.FieldType<string, string>;
283
+ isArray: true;
284
+ isOptional: true;
285
+ };
286
+ createdAt: {
287
+ type: _lssm_lib_schema679.FieldType<Date, string>;
288
+ isOptional: false;
289
+ };
290
+ updatedAt: {
291
+ type: _lssm_lib_schema679.FieldType<Date, string>;
292
+ isOptional: false;
293
+ };
294
+ }>, undefined>;
295
+ /**
296
+ * ListToolsQuery - Lists tools for an organization.
297
+ */
298
+ declare const ListToolsQuery: _lssm_lib_contracts24.OperationSpec<_lssm_lib_schema679.SchemaModel<{
299
+ organizationId: {
300
+ type: _lssm_lib_schema679.FieldType<string, string>;
301
+ isOptional: false;
302
+ };
303
+ category: {
304
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
305
+ isOptional: true;
306
+ };
307
+ status: {
308
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
309
+ isOptional: true;
310
+ };
311
+ search: {
312
+ type: _lssm_lib_schema679.FieldType<string, string>;
313
+ isOptional: true;
314
+ };
315
+ limit: {
316
+ type: _lssm_lib_schema679.FieldType<number, number>;
317
+ isOptional: true;
318
+ defaultValue: number;
319
+ };
320
+ offset: {
321
+ type: _lssm_lib_schema679.FieldType<number, number>;
322
+ isOptional: true;
323
+ defaultValue: number;
324
+ };
325
+ }>, _lssm_lib_schema679.SchemaModel<{
326
+ items: {
327
+ type: _lssm_lib_schema679.SchemaModel<{
328
+ id: {
329
+ type: _lssm_lib_schema679.FieldType<string, string>;
330
+ isOptional: false;
331
+ };
332
+ name: {
333
+ type: _lssm_lib_schema679.FieldType<string, string>;
334
+ isOptional: false;
335
+ };
336
+ slug: {
337
+ type: _lssm_lib_schema679.FieldType<string, string>;
338
+ isOptional: false;
339
+ };
340
+ description: {
341
+ type: _lssm_lib_schema679.FieldType<string, string>;
342
+ isOptional: false;
343
+ };
344
+ category: {
345
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string, string, string]>;
346
+ isOptional: false;
347
+ };
348
+ status: {
349
+ type: _lssm_lib_schema679.EnumType<[string, string, string, string]>;
350
+ isOptional: false;
351
+ };
352
+ version: {
353
+ type: _lssm_lib_schema679.FieldType<string, string>;
354
+ isOptional: false;
355
+ };
356
+ createdAt: {
357
+ type: _lssm_lib_schema679.FieldType<Date, string>;
358
+ isOptional: false;
359
+ };
360
+ }>;
361
+ isArray: true;
362
+ isOptional: false;
363
+ };
364
+ total: {
365
+ type: _lssm_lib_schema679.FieldType<number, number>;
366
+ isOptional: false;
367
+ };
368
+ hasMore: {
369
+ type: _lssm_lib_schema679.FieldType<boolean, boolean>;
370
+ isOptional: false;
371
+ };
372
+ }>, undefined>;
373
+ /**
374
+ * TestToolCommand - Tests a tool with sample input.
375
+ */
376
+ declare const TestToolCommand: _lssm_lib_contracts24.OperationSpec<_lssm_lib_schema679.SchemaModel<{
377
+ toolId: {
378
+ type: _lssm_lib_schema679.FieldType<string, string>;
379
+ isOptional: false;
380
+ };
381
+ testInput: {
382
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
383
+ isOptional: false;
384
+ };
385
+ }>, _lssm_lib_schema679.SchemaModel<{
386
+ success: {
387
+ type: _lssm_lib_schema679.FieldType<boolean, boolean>;
388
+ isOptional: false;
389
+ };
390
+ output: {
391
+ type: _lssm_lib_schema679.FieldType<Record<string, unknown>, Record<string, unknown>>;
392
+ isOptional: true;
393
+ };
394
+ error: {
395
+ type: _lssm_lib_schema679.FieldType<string, string>;
396
+ isOptional: true;
397
+ };
398
+ durationMs: {
399
+ type: _lssm_lib_schema679.FieldType<number, number>;
400
+ isOptional: false;
401
+ };
402
+ }>, undefined>;
403
+ //#endregion
404
+ export { CreateToolCommand, GetToolQuery, ListToolsQuery, TestToolCommand, UpdateToolCommand };
405
+ //# sourceMapp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AAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDjB,oCAAY,kCAAA;;UA6BvB,mBAAA,CAAA;;;;;UA7BuB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCZ,sCAAc,kCAAA;;UA4CzB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA5CyB,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiDd,uCAAe,kCAAA;;UA6C1B,mBAAA,CAAA;;;;;;;;;UA7C0B,mBAAA,CAAA"}
@@ -1,9 +1,9 @@
1
1
  import { E5, K5 } from "../libs/schema/dist/index.js";
2
- import { defineCommand, defineQuery } from "../libs/contracts/dist/spec.js";
2
+ import { defineCommand, defineQuery } from "../libs/contracts/dist/operation.js";
3
3
  import { ToolCategoryEnum, ToolStatusEnum } from "./tool.enum.js";
4
4
  import { CreateToolInputModel, ToolModel, ToolSummaryModel, UpdateToolInputModel } from "./tool.schema.js";
5
5
 
6
- //#region src/tool/tool.contracts.ts
6
+ //#region src/tool/tool.operation.ts
7
7
  const OWNERS = ["agent-console-team"];
8
8
  /**
9
9
  * CreateToolCommand - Creates a new tool definition.
@@ -284,4 +284,4 @@ const TestToolCommand = defineCommand({
284
284
 
285
285
  //#endregion
286
286
  export { CreateToolCommand, GetToolQuery, ListToolsQuery, TestToolCommand, UpdateToolCommand };
287
- //# sourceMappingURL=tool.contracts.js.map
287
+ //# sourceMappingURL=tool.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.operation.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/tool/tool.operation.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operation';\nimport { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport { ToolCategoryEnum, ToolStatusEnum } from './tool.enum';\nimport {\n CreateToolInputModel,\n ToolModel,\n ToolSummaryModel,\n UpdateToolInputModel,\n} from './tool.schema';\n\nconst OWNERS = ['agent-console-team'] as const;\n\n/**\n * CreateToolCommand - Creates a new tool definition.\n */\nexport const CreateToolCommand = defineCommand({\n meta: {\n name: 'agent.tool.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'create'],\n description: 'Creates a new AI tool definition.',\n goal: 'Allow users to define new tools that agents can use.',\n context: 'Called from the tool builder UI when creating a new tool.',\n },\n io: {\n input: CreateToolInputModel,\n output: defineSchemaModel({\n name: 'CreateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n },\n }),\n errors: {\n SLUG_EXISTS: {\n description: 'A tool with this slug already exists in the organization',\n http: 409,\n gqlCode: 'SLUG_EXISTS',\n when: 'Slug is already taken',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'tool.created',\n version: 1,\n when: 'Tool is successfully created',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.created'],\n },\n});\n\n/**\n * UpdateToolCommand - Updates an existing tool.\n */\nexport const UpdateToolCommand = defineCommand({\n meta: {\n name: 'agent.tool.update',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'update'],\n description: 'Updates an existing AI tool definition.',\n goal: 'Allow users to modify tool settings and configuration.',\n context: 'Called from the tool settings UI.',\n },\n io: {\n input: UpdateToolInputModel,\n output: defineSchemaModel({\n name: 'UpdateToolOutput',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n status: { type: ToolStatusEnum, isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'tool.updated',\n version: 1,\n when: 'Tool is updated',\n payload: ToolSummaryModel,\n },\n ],\n audit: ['tool.updated'],\n },\n});\n\n/**\n * GetToolQuery - Retrieves a tool by ID.\n */\nexport const GetToolQuery = defineQuery({\n meta: {\n name: 'agent.tool.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'get'],\n description: 'Retrieves a tool by its ID.',\n goal: 'View detailed tool configuration.',\n context: 'Called when viewing tool details or editing.',\n },\n io: {\n input: defineSchemaModel({\n name: 'GetToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n }),\n output: ToolModel,\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n },\n },\n policy: { auth: 'user' },\n});\n\n/**\n * ListToolsQuery - Lists tools for an organization.\n */\nexport const ListToolsQuery = defineQuery({\n meta: {\n name: 'agent.tool.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'list'],\n description: 'Lists tools for an organization with optional filtering.',\n goal: 'Browse and search available tools.',\n context: 'Tool list/dashboard view.',\n },\n io: {\n input: defineSchemaModel({\n name: 'ListToolsInput',\n fields: {\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n category: { type: ToolCategoryEnum, isOptional: true },\n status: { type: ToolStatusEnum, isOptional: true },\n search: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n limit: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 20,\n },\n offset: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: true,\n defaultValue: 0,\n },\n },\n }),\n output: defineSchemaModel({\n name: 'ListToolsOutput',\n fields: {\n items: { type: ToolSummaryModel, isArray: true, isOptional: false },\n total: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n hasMore: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n }),\n },\n policy: { auth: 'user' },\n});\n\n/**\n * TestToolCommand - Tests a tool with sample input.\n */\nexport const TestToolCommand = defineCommand({\n meta: {\n name: 'agent.tool.test',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['tool', 'test'],\n description: 'Tests a tool with sample input to verify it works correctly.',\n goal: 'Validate tool configuration before deployment.',\n context: 'Tool builder UI - test panel.',\n },\n io: {\n input: defineSchemaModel({\n name: 'TestToolInput',\n fields: {\n toolId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n testInput: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n }),\n output: defineSchemaModel({\n name: 'TestToolOutput',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n output: { type: ScalarTypeEnum.JSONObject(), isOptional: true },\n error: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n durationMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n }),\n errors: {\n TOOL_NOT_FOUND: {\n description: 'The specified tool does not exist',\n http: 404,\n gqlCode: 'TOOL_NOT_FOUND',\n when: 'Tool ID is invalid',\n },\n TOOL_EXECUTION_ERROR: {\n description: 'Tool execution failed',\n http: 500,\n gqlCode: 'TOOL_EXECUTION_ERROR',\n when: 'Tool returns an error',\n },\n },\n },\n policy: { auth: 'user' },\n sideEffects: { audit: ['tool.tested'] },\n});\n"],"mappings":";;;;;;AAUA,MAAM,SAAS,CAAC,qBAAqB;;;;AAKrC,MAAa,oBAAoB,cAAc;CAC7C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;E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,YAAY;KAAO;IACjE,SAAS;KAAE,MAAMA,GAAe,SAAS;KAAE,YAAY;KAAO;IAC/D;GACF,CAAC;EACH;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC;;;;AAKF,MAAa,kBAAkB,cAAc;CAC3C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM,CAAC,QAAQ,OAAO;EACtB,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAOD,GAAkB;GACvB,MAAM;GACN,QAAQ;IACN,QAAQ;KAAE,MAAMC,GAAe,iBAAiB;KAAE,YAAY;KAAO;IACrE,WAAW;KAAE,MAAMA,GAAe,YAAY;KAAE,YAAY;KAAO;IACpE;GACF,CAAC;EACF,QAAQD,GAAkB;GACxB,MAAM;GACN,QAAQ;IACN,SAAS;KAAE,MAAMC,GAAe,SAAS;KAAE,YAAY;KAAO;IAC9D,QAAQ;KAAE,MAAMA,GAAe,YAAY;KAAE,YAAY;KAAM;IAC/D,OAAO;KAAE,MAAMA,GAAe,iBAAiB;KAAE,YAAY;KAAM;IACnE,YAAY;KAAE,MAAMA,GAAe,cAAc;KAAE,YAAY;KAAO;IACvE;GACF,CAAC;EACF,QAAQ;GACN,gBAAgB;IACd,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,sBAAsB;IACpB,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACF;EACF;CACD,QAAQ,EAAE,MAAM,QAAQ;CACxB,aAAa,EAAE,OAAO,CAAC,cAAc,EAAE;CACxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tool.presentation.d.ts","names":[],"sources":["../../src/tool/tool.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAMA;AAuBa,cAvBA,oBAwCZ,EAxCkC,wBAwClC;;;;cAjBY,wBAAwB"}
1
+ {"version":3,"file":"tool.presentation.d.ts","names":[],"sources":["../../src/tool/tool.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAMA;AAuBa,cAvBA,oBAuBwB,EAvBF,wBAwClC;;;;cAjBY,wBAAwB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.agent-console",
3
- "version": "0.0.0-canary-20251220030446",
3
+ "version": "0.0.0-canary-20251221114240",
4
4
  "description": "Agent Console example - AI agent orchestration with tools, runs, and logs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -9,11 +9,11 @@
9
9
  ".": "./dist/index.js",
10
10
  "./agent": "./dist/agent/index.js",
11
11
  "./agent.feature": "./dist/agent.feature.js",
12
- "./agent/agent.contracts": "./dist/agent/agent.contracts.js",
13
12
  "./agent/agent.entity": "./dist/agent/agent.entity.js",
14
13
  "./agent/agent.enum": "./dist/agent/agent.enum.js",
15
14
  "./agent/agent.event": "./dist/agent/agent.event.js",
16
15
  "./agent/agent.handler": "./dist/agent/agent.handler.js",
16
+ "./agent/agent.operation": "./dist/agent/agent.operation.js",
17
17
  "./agent/agent.presentation": "./dist/agent/agent.presentation.js",
18
18
  "./agent/agent.schema": "./dist/agent/agent.schema.js",
19
19
  "./docs": "./dist/docs/index.js",
@@ -22,11 +22,11 @@
22
22
  "./handlers": "./dist/handlers/index.js",
23
23
  "./presentations": "./dist/presentations/index.js",
24
24
  "./run": "./dist/run/index.js",
25
- "./run/run.contracts": "./dist/run/run.contracts.js",
26
25
  "./run/run.entity": "./dist/run/run.entity.js",
27
26
  "./run/run.enum": "./dist/run/run.enum.js",
28
27
  "./run/run.event": "./dist/run/run.event.js",
29
28
  "./run/run.handler": "./dist/run/run.handler.js",
29
+ "./run/run.operation": "./dist/run/run.operation.js",
30
30
  "./run/run.presentation": "./dist/run/run.presentation.js",
31
31
  "./run/run.schema": "./dist/run/run.schema.js",
32
32
  "./shared": "./dist/shared/index.js",
@@ -34,11 +34,11 @@
34
34
  "./shared/mock-runs": "./dist/shared/mock-runs.js",
35
35
  "./shared/mock-tools": "./dist/shared/mock-tools.js",
36
36
  "./tool": "./dist/tool/index.js",
37
- "./tool/tool.contracts": "./dist/tool/tool.contracts.js",
38
37
  "./tool/tool.entity": "./dist/tool/tool.entity.js",
39
38
  "./tool/tool.enum": "./dist/tool/tool.enum.js",
40
39
  "./tool/tool.event": "./dist/tool/tool.event.js",
41
40
  "./tool/tool.handler": "./dist/tool/tool.handler.js",
41
+ "./tool/tool.operation": "./dist/tool/tool.operation.js",
42
42
  "./tool/tool.presentation": "./dist/tool/tool.presentation.js",
43
43
  "./tool/tool.schema": "./dist/tool/tool.schema.js",
44
44
  "./*": "./*"
@@ -57,16 +57,16 @@
57
57
  "test": "bun run"
58
58
  },
59
59
  "dependencies": {
60
- "@lssm/lib.schema": "0.0.0-canary-20251220030446",
61
- "@lssm/lib.contracts": "0.0.0-canary-20251220030446",
62
- "@lssm/lib.identity-rbac": "0.0.0-canary-20251220030446",
63
- "@lssm/module.audit-trail": "0.0.0-canary-20251220030446",
64
- "@lssm/lib.jobs": "0.0.0-canary-20251220030446",
60
+ "@lssm/lib.schema": "0.0.0-canary-20251221114240",
61
+ "@lssm/lib.contracts": "0.0.0-canary-20251221114240",
62
+ "@lssm/lib.identity-rbac": "0.0.0-canary-20251221114240",
63
+ "@lssm/module.audit-trail": "0.0.0-canary-20251221114240",
64
+ "@lssm/lib.jobs": "0.0.0-canary-20251221114240",
65
65
  "zod": "^4.1.13"
66
66
  },
67
67
  "devDependencies": {
68
- "@lssm/tool.tsdown": "0.0.0-canary-20251220030446",
69
- "@lssm/tool.typescript": "0.0.0-canary-20251220030446",
68
+ "@lssm/tool.tsdown": "0.0.0-canary-20251221114240",
69
+ "@lssm/tool.typescript": "0.0.0-canary-20251221114240",
70
70
  "tsdown": "^0.18.1",
71
71
  "typescript": "^5.9.3"
72
72
  },
@@ -76,7 +76,7 @@
76
76
  ".": "./dist/index.js",
77
77
  "./agent": "./dist/agent/index.js",
78
78
  "./agent.feature": "./dist/agent.feature.js",
79
- "./agent/agent.contracts": "./dist/agent/agent.contracts.js",
79
+ "./agent/agent.contracts": "./dist/agent/agent.operations.js",
80
80
  "./agent/agent.entity": "./dist/agent/agent.entity.js",
81
81
  "./agent/agent.enum": "./dist/agent/agent.enum.js",
82
82
  "./agent/agent.event": "./dist/agent/agent.event.js",
@@ -89,7 +89,7 @@
89
89
  "./handlers": "./dist/handlers/index.js",
90
90
  "./presentations": "./dist/presentations/index.js",
91
91
  "./run": "./dist/run/index.js",
92
- "./run/run.contracts": "./dist/run/run.contracts.js",
92
+ "./run/run.contracts": "./dist/run/run.operations.js",
93
93
  "./run/run.entity": "./dist/run/run.entity.js",
94
94
  "./run/run.enum": "./dist/run/run.enum.js",
95
95
  "./run/run.event": "./dist/run/run.event.js",
@@ -101,7 +101,7 @@
101
101
  "./shared/mock-runs": "./dist/shared/mock-runs.js",
102
102
  "./shared/mock-tools": "./dist/shared/mock-tools.js",
103
103
  "./tool": "./dist/tool/index.js",
104
- "./tool/tool.contracts": "./dist/tool/tool.contracts.js",
104
+ "./tool/tool.contracts": "./dist/tool/tool.operations.js",
105
105
  "./tool/tool.entity": "./dist/tool/tool.entity.js",
106
106
  "./tool/tool.enum": "./dist/tool/tool.enum.js",
107
107
  "./tool/tool.event": "./dist/tool/tool.event.js",
@@ -1,4 +1,4 @@
1
- import { defineCommand, defineQuery } from '@lssm/lib.contracts/spec';
1
+ import { defineCommand, defineQuery } from '@lssm/lib.contracts/operation';
2
2
  import { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';
3
3
  import { AgentStatusEnum, ModelProviderEnum } from './agent.enum';
4
4
  import {
@@ -27,7 +27,7 @@ export {
27
27
  ListAgentsQuery,
28
28
  AssignToolToAgentCommand,
29
29
  RemoveToolFromAgentCommand,
30
- } from './agent.contracts';
30
+ } from './agent.operation';
31
31
 
32
32
  // Events
33
33
  export {
package/src/run/index.ts CHANGED
@@ -30,7 +30,7 @@ export {
30
30
  GetRunStepsQuery,
31
31
  GetRunLogsQuery,
32
32
  GetRunMetricsQuery,
33
- } from './run.contracts';
33
+ } from './run.operation';
34
34
 
35
35
  // Events
36
36
  export {
@@ -1,12 +1,12 @@
1
- import { defineCommand, defineQuery } from '@lssm/lib.contracts/spec';
1
+ import { defineCommand, defineQuery } from '@lssm/lib.contracts/operation';
2
2
  import { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';
3
- import { RunStatusEnum, LogLevelEnum, GranularityEnum } from './run.enum';
3
+ import { GranularityEnum, LogLevelEnum, RunStatusEnum } from './run.enum';
4
4
  import {
5
5
  RunInputModel,
6
+ RunLogModel,
6
7
  RunModel,
7
- RunSummaryModel,
8
8
  RunStepModel,
9
- RunLogModel,
9
+ RunSummaryModel,
10
10
  TimelineDataPointModel,
11
11
  } from './run.schema';
12
12
 
package/src/tool/index.ts CHANGED
@@ -24,7 +24,7 @@ export {
24
24
  GetToolQuery,
25
25
  ListToolsQuery,
26
26
  TestToolCommand,
27
- } from './tool.contracts';
27
+ } from './tool.operation';
28
28
 
29
29
  // Events
30
30
  export {
@@ -1,10 +1,10 @@
1
- import { defineCommand, defineQuery } from '@lssm/lib.contracts/spec';
1
+ import { defineCommand, defineQuery } from '@lssm/lib.contracts/operation';
2
2
  import { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';
3
3
  import { ToolCategoryEnum, ToolStatusEnum } from './tool.enum';
4
4
  import {
5
+ CreateToolInputModel,
5
6
  ToolModel,
6
7
  ToolSummaryModel,
7
- CreateToolInputModel,
8
8
  UpdateToolInputModel,
9
9
  } from './tool.schema';
10
10