@lssm/example.agent-console 0.0.0-canary-20251223214424 → 0.0.0-canary-20251225042407

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 (55) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +29 -29
  2. package/.turbo/turbo-build.log +32 -32
  3. package/CHANGELOG.md +6 -6
  4. package/dist/agent/agent.event.d.ts.map +1 -1
  5. package/dist/agent/agent.event.js +41 -12
  6. package/dist/agent/agent.event.js.map +1 -1
  7. package/dist/agent/agent.operation.d.ts +5 -39
  8. package/dist/agent/agent.operation.d.ts.map +1 -1
  9. package/dist/agent/agent.operation.js +12 -9
  10. package/dist/agent/agent.operation.js.map +1 -1
  11. package/dist/agent/agent.presentation.d.ts.map +1 -1
  12. package/dist/agent/agent.presentation.js +19 -6
  13. package/dist/agent/agent.presentation.js.map +1 -1
  14. package/dist/agent.feature.js +76 -69
  15. package/dist/agent.feature.js.map +1 -1
  16. package/dist/run/run.entity.d.ts +56 -56
  17. package/dist/run/run.enum.d.ts +5 -5
  18. package/dist/run/run.event.d.ts +70 -70
  19. package/dist/run/run.event.d.ts.map +1 -1
  20. package/dist/run/run.event.js +69 -21
  21. package/dist/run/run.event.js.map +1 -1
  22. package/dist/run/run.operation.d.ts +182 -176
  23. package/dist/run/run.operation.d.ts.map +1 -1
  24. package/dist/run/run.operation.js +16 -10
  25. package/dist/run/run.operation.js.map +1 -1
  26. package/dist/run/run.presentation.d.ts.map +1 -1
  27. package/dist/run/run.presentation.js +13 -4
  28. package/dist/run/run.presentation.js.map +1 -1
  29. package/dist/run/run.schema.d.ts +99 -99
  30. package/dist/tool/tool.entity.d.ts +24 -24
  31. package/dist/tool/tool.enum.d.ts +4 -4
  32. package/dist/tool/tool.event.d.ts +24 -24
  33. package/dist/tool/tool.event.d.ts.map +1 -1
  34. package/dist/tool/tool.event.js +25 -9
  35. package/dist/tool/tool.event.js.map +1 -1
  36. package/dist/tool/tool.handler.d.ts.map +1 -1
  37. package/dist/tool/tool.operation.d.ts +108 -102
  38. package/dist/tool/tool.operation.d.ts.map +1 -1
  39. package/dist/tool/tool.operation.js +14 -8
  40. package/dist/tool/tool.operation.js.map +1 -1
  41. package/dist/tool/tool.presentation.d.ts.map +1 -1
  42. package/dist/tool/tool.presentation.js +13 -4
  43. package/dist/tool/tool.presentation.js.map +1 -1
  44. package/package.json +8 -8
  45. package/src/agent/agent.event.ts +34 -12
  46. package/src/agent/agent.operation.ts +12 -9
  47. package/src/agent/agent.presentation.ts +16 -3
  48. package/src/agent.feature.ts +58 -56
  49. package/src/run/run.event.ts +58 -21
  50. package/src/run/run.operation.ts +16 -10
  51. package/src/run/run.presentation.ts +11 -2
  52. package/src/tool/tool.event.ts +27 -10
  53. package/src/tool/tool.operation.ts +14 -8
  54. package/src/tool/tool.presentation.ts +11 -2
  55. package/tsconfig.tsbuildinfo +1 -1
@@ -10,14 +10,14 @@ import {
10
10
  TimelineDataPointModel,
11
11
  } from './run.schema';
12
12
 
13
- const OWNERS = ['agent-console-team'] as const;
13
+ const OWNERS = ['@agent-console-team'] as const;
14
14
 
15
15
  /**
16
16
  * ExecuteAgentCommand - Starts a new agent run.
17
17
  */
18
18
  export const ExecuteAgentCommand = defineCommand({
19
19
  meta: {
20
- name: 'agent.run.execute',
20
+ key: 'agent.run.execute',
21
21
  version: 1,
22
22
  stability: 'stable',
23
23
  owners: [...OWNERS],
@@ -72,8 +72,11 @@ export const ExecuteAgentCommand = defineCommand({
72
72
  sideEffects: {
73
73
  emits: [
74
74
  {
75
- name: 'run.started',
75
+ key: 'run.started',
76
76
  version: 1,
77
+ stability: 'stable',
78
+ owners: [...OWNERS],
79
+ tags: ['run', 'started'],
77
80
  when: 'Run is queued',
78
81
  payload: RunSummaryModel,
79
82
  },
@@ -87,7 +90,7 @@ export const ExecuteAgentCommand = defineCommand({
87
90
  */
88
91
  export const CancelRunCommand = defineCommand({
89
92
  meta: {
90
- name: 'agent.run.cancel',
93
+ key: 'agent.run.cancel',
91
94
  version: 1,
92
95
  stability: 'stable',
93
96
  owners: [...OWNERS],
@@ -130,8 +133,11 @@ export const CancelRunCommand = defineCommand({
130
133
  sideEffects: {
131
134
  emits: [
132
135
  {
133
- name: 'run.cancelled',
136
+ key: 'run.cancelled',
134
137
  version: 1,
138
+ stability: 'stable',
139
+ owners: [...OWNERS],
140
+ tags: ['run', 'cancelled'],
135
141
  when: 'Run is cancelled',
136
142
  payload: RunSummaryModel,
137
143
  },
@@ -145,7 +151,7 @@ export const CancelRunCommand = defineCommand({
145
151
  */
146
152
  export const GetRunQuery = defineQuery({
147
153
  meta: {
148
- name: 'agent.run.get',
154
+ key: 'agent.run.get',
149
155
  version: 1,
150
156
  stability: 'stable',
151
157
  owners: [...OWNERS],
@@ -181,7 +187,7 @@ export const GetRunQuery = defineQuery({
181
187
  */
182
188
  export const ListRunsQuery = defineQuery({
183
189
  meta: {
184
- name: 'agent.run.list',
190
+ key: 'agent.run.list',
185
191
  version: 1,
186
192
  stability: 'stable',
187
193
  owners: [...OWNERS],
@@ -233,7 +239,7 @@ export const ListRunsQuery = defineQuery({
233
239
  */
234
240
  export const GetRunStepsQuery = defineQuery({
235
241
  meta: {
236
- name: 'agent.run.getSteps',
242
+ key: 'agent.run.getSteps',
237
243
  version: 1,
238
244
  stability: 'stable',
239
245
  owners: [...OWNERS],
@@ -264,7 +270,7 @@ export const GetRunStepsQuery = defineQuery({
264
270
  */
265
271
  export const GetRunLogsQuery = defineQuery({
266
272
  meta: {
267
- name: 'agent.run.getLogs',
273
+ key: 'agent.run.getLogs',
268
274
  version: 1,
269
275
  stability: 'stable',
270
276
  owners: [...OWNERS],
@@ -309,7 +315,7 @@ export const GetRunLogsQuery = defineQuery({
309
315
  */
310
316
  export const GetRunMetricsQuery = defineQuery({
311
317
  meta: {
312
- name: 'agent.run.getMetrics',
318
+ key: 'agent.run.getMetrics',
313
319
  version: 1,
314
320
  stability: 'stable',
315
321
  owners: [...OWNERS],
@@ -1,4 +1,5 @@
1
1
  import type { PresentationSpec } from '@lssm/lib.contracts';
2
+ import { StabilityEnum } from '@lssm/lib.contracts';
2
3
  import { RunSummaryModel } from './run.schema';
3
4
 
4
5
  /**
@@ -6,13 +7,17 @@ import { RunSummaryModel } from './run.schema';
6
7
  */
7
8
  export const RunListPresentation: PresentationSpec = {
8
9
  meta: {
9
- name: 'agent-console.run.list',
10
+ key: 'agent-console.run.list',
10
11
  version: 1,
12
+ title: 'Run List',
11
13
  description:
12
14
  'List view of agent runs with status, tokens, and duration info',
15
+ goal: 'Provide an overview of agent execution history and performance.',
16
+ context: 'Run history dashboard.',
13
17
  domain: 'agent-console',
14
18
  owners: ['@agent-console-team'],
15
19
  tags: ['run', 'list', 'dashboard'],
20
+ stability: StabilityEnum.Experimental,
16
21
  },
17
22
  source: {
18
23
  type: 'component',
@@ -29,12 +34,16 @@ export const RunListPresentation: PresentationSpec = {
29
34
  */
30
35
  export const RunDetailPresentation: PresentationSpec = {
31
36
  meta: {
32
- name: 'agent-console.run.detail',
37
+ key: 'agent-console.run.detail',
33
38
  version: 1,
39
+ title: 'Run Details',
34
40
  description: 'Detailed view of an agent run with steps, logs, and metrics',
41
+ goal: 'Allow users to inspect and debug a specific agent run.',
42
+ context: 'Detailed view of an agent run.',
35
43
  domain: 'agent-console',
36
44
  owners: ['@agent-console-team'],
37
45
  tags: ['run', 'detail'],
46
+ stability: StabilityEnum.Experimental,
38
47
  },
39
48
  source: {
40
49
  type: 'component',
@@ -1,6 +1,8 @@
1
1
  import { defineEvent, defineSchemaModel } from '@lssm/lib.contracts';
2
2
  import { ScalarTypeEnum } from '@lssm/lib.schema';
3
3
 
4
+ const OWNERS = ['@agent-console-team'] as const;
5
+
4
6
  /**
5
7
  * Payload for tool created event.
6
8
  */
@@ -29,9 +31,14 @@ const ToolCreatedPayload = defineSchemaModel({
29
31
  * ToolCreatedEvent - A new tool was created.
30
32
  */
31
33
  export const ToolCreatedEvent = defineEvent({
32
- name: 'agent.tool.created',
33
- version: 1,
34
- description: 'A new AI tool was created.',
34
+ meta: {
35
+ key: 'agent.tool.created',
36
+ version: 1,
37
+ description: 'A new AI tool was created.',
38
+ stability: 'stable',
39
+ owners: [...OWNERS],
40
+ tags: ['tool', 'created'],
41
+ },
35
42
  payload: ToolCreatedPayload,
36
43
  });
37
44
 
@@ -62,9 +69,14 @@ const ToolUpdatedPayload = defineSchemaModel({
62
69
  * ToolUpdatedEvent - A tool was updated.
63
70
  */
64
71
  export const ToolUpdatedEvent = defineEvent({
65
- name: 'agent.tool.updated',
66
- version: 1,
67
- description: 'An AI tool configuration was updated.',
72
+ meta: {
73
+ key: 'agent.tool.updated',
74
+ version: 1,
75
+ description: 'An AI tool configuration was updated.',
76
+ stability: 'stable',
77
+ owners: [...OWNERS],
78
+ tags: ['tool', 'updated'],
79
+ },
68
80
  payload: ToolUpdatedPayload,
69
81
  });
70
82
 
@@ -94,9 +106,14 @@ const ToolStatusChangedPayload = defineSchemaModel({
94
106
  * ToolStatusChangedEvent - A tool's status was changed.
95
107
  */
96
108
  export const ToolStatusChangedEvent = defineEvent({
97
- name: 'agent.tool.statusChanged',
98
- version: 1,
99
- description:
100
- 'An AI tool status was changed (activated, deprecated, disabled).',
109
+ meta: {
110
+ key: 'agent.tool.statusChanged',
111
+ version: 1,
112
+ description:
113
+ 'An AI tool status was changed (activated, deprecated, disabled).',
114
+ stability: 'stable',
115
+ owners: [...OWNERS],
116
+ tags: ['tool', 'status'],
117
+ },
101
118
  payload: ToolStatusChangedPayload,
102
119
  });
@@ -8,14 +8,14 @@ import {
8
8
  UpdateToolInputModel,
9
9
  } from './tool.schema';
10
10
 
11
- const OWNERS = ['agent-console-team'] as const;
11
+ const OWNERS = ['@agent-console-team'] as const;
12
12
 
13
13
  /**
14
14
  * CreateToolCommand - Creates a new tool definition.
15
15
  */
16
16
  export const CreateToolCommand = defineCommand({
17
17
  meta: {
18
- name: 'agent.tool.create',
18
+ key: 'agent.tool.create',
19
19
  version: 1,
20
20
  stability: 'stable',
21
21
  owners: [...OWNERS],
@@ -48,8 +48,11 @@ export const CreateToolCommand = defineCommand({
48
48
  sideEffects: {
49
49
  emits: [
50
50
  {
51
- name: 'tool.created',
51
+ key: 'tool.created',
52
52
  version: 1,
53
+ stability: 'stable',
54
+ owners: [...OWNERS],
55
+ tags: ['tool', 'created'],
53
56
  when: 'Tool is successfully created',
54
57
  payload: ToolSummaryModel,
55
58
  },
@@ -63,7 +66,7 @@ export const CreateToolCommand = defineCommand({
63
66
  */
64
67
  export const UpdateToolCommand = defineCommand({
65
68
  meta: {
66
- name: 'agent.tool.update',
69
+ key: 'agent.tool.update',
67
70
  version: 1,
68
71
  stability: 'stable',
69
72
  owners: [...OWNERS],
@@ -96,8 +99,11 @@ export const UpdateToolCommand = defineCommand({
96
99
  sideEffects: {
97
100
  emits: [
98
101
  {
99
- name: 'tool.updated',
102
+ key: 'tool.updated',
100
103
  version: 1,
104
+ stability: 'stable',
105
+ owners: [...OWNERS],
106
+ tags: ['tool', 'updated'],
101
107
  when: 'Tool is updated',
102
108
  payload: ToolSummaryModel,
103
109
  },
@@ -111,7 +117,7 @@ export const UpdateToolCommand = defineCommand({
111
117
  */
112
118
  export const GetToolQuery = defineQuery({
113
119
  meta: {
114
- name: 'agent.tool.get',
120
+ key: 'agent.tool.get',
115
121
  version: 1,
116
122
  stability: 'stable',
117
123
  owners: [...OWNERS],
@@ -145,7 +151,7 @@ export const GetToolQuery = defineQuery({
145
151
  */
146
152
  export const ListToolsQuery = defineQuery({
147
153
  meta: {
148
- name: 'agent.tool.list',
154
+ key: 'agent.tool.list',
149
155
  version: 1,
150
156
  stability: 'stable',
151
157
  owners: [...OWNERS],
@@ -194,7 +200,7 @@ export const ListToolsQuery = defineQuery({
194
200
  */
195
201
  export const TestToolCommand = defineCommand({
196
202
  meta: {
197
- name: 'agent.tool.test',
203
+ key: 'agent.tool.test',
198
204
  version: 1,
199
205
  stability: 'stable',
200
206
  owners: [...OWNERS],
@@ -1,4 +1,5 @@
1
1
  import type { PresentationSpec } from '@lssm/lib.contracts';
2
+ import { StabilityEnum } from '@lssm/lib.contracts';
2
3
  import { ToolSummaryModel } from './tool.schema';
3
4
 
4
5
  /**
@@ -6,13 +7,17 @@ import { ToolSummaryModel } from './tool.schema';
6
7
  */
7
8
  export const ToolListPresentation: PresentationSpec = {
8
9
  meta: {
9
- name: 'agent-console.tool.list',
10
+ key: 'agent-console.tool.list',
10
11
  version: 1,
12
+ title: 'Tool List',
11
13
  description:
12
14
  'List view of AI tools with category, status, and version info',
15
+ goal: 'Provide an overview of all available tools for agents.',
16
+ context: 'Tool management dashboard.',
13
17
  domain: 'agent-console',
14
18
  owners: ['@agent-console-team'],
15
19
  tags: ['tool', 'list', 'dashboard'],
20
+ stability: StabilityEnum.Experimental,
16
21
  },
17
22
  source: {
18
23
  type: 'component',
@@ -29,13 +34,17 @@ export const ToolListPresentation: PresentationSpec = {
29
34
  */
30
35
  export const ToolDetailPresentation: PresentationSpec = {
31
36
  meta: {
32
- name: 'agent-console.tool.detail',
37
+ key: 'agent-console.tool.detail',
33
38
  version: 1,
39
+ title: 'Tool Details',
34
40
  description:
35
41
  'Detailed view of an AI tool with configuration and test panel',
42
+ goal: 'Allow users to inspect and test a specific tool.',
43
+ context: 'Detailed view of a tool.',
36
44
  domain: 'agent-console',
37
45
  owners: ['@agent-console-team'],
38
46
  tags: ['tool', 'detail'],
47
+ stability: StabilityEnum.Experimental,
39
48
  },
40
49
  source: {
41
50
  type: 'component',