@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.
- package/.turbo/turbo-build$colon$bundle.log +29 -29
- package/.turbo/turbo-build.log +32 -32
- package/CHANGELOG.md +6 -6
- package/dist/agent/agent.event.d.ts.map +1 -1
- package/dist/agent/agent.event.js +41 -12
- package/dist/agent/agent.event.js.map +1 -1
- package/dist/agent/agent.operation.d.ts +5 -39
- package/dist/agent/agent.operation.d.ts.map +1 -1
- package/dist/agent/agent.operation.js +12 -9
- package/dist/agent/agent.operation.js.map +1 -1
- package/dist/agent/agent.presentation.d.ts.map +1 -1
- package/dist/agent/agent.presentation.js +19 -6
- package/dist/agent/agent.presentation.js.map +1 -1
- package/dist/agent.feature.js +76 -69
- package/dist/agent.feature.js.map +1 -1
- package/dist/run/run.entity.d.ts +56 -56
- package/dist/run/run.enum.d.ts +5 -5
- package/dist/run/run.event.d.ts +70 -70
- package/dist/run/run.event.d.ts.map +1 -1
- package/dist/run/run.event.js +69 -21
- package/dist/run/run.event.js.map +1 -1
- package/dist/run/run.operation.d.ts +182 -176
- package/dist/run/run.operation.d.ts.map +1 -1
- package/dist/run/run.operation.js +16 -10
- package/dist/run/run.operation.js.map +1 -1
- package/dist/run/run.presentation.d.ts.map +1 -1
- package/dist/run/run.presentation.js +13 -4
- package/dist/run/run.presentation.js.map +1 -1
- package/dist/run/run.schema.d.ts +99 -99
- package/dist/tool/tool.entity.d.ts +24 -24
- package/dist/tool/tool.enum.d.ts +4 -4
- package/dist/tool/tool.event.d.ts +24 -24
- package/dist/tool/tool.event.d.ts.map +1 -1
- package/dist/tool/tool.event.js +25 -9
- package/dist/tool/tool.event.js.map +1 -1
- package/dist/tool/tool.handler.d.ts.map +1 -1
- package/dist/tool/tool.operation.d.ts +108 -102
- package/dist/tool/tool.operation.d.ts.map +1 -1
- package/dist/tool/tool.operation.js +14 -8
- package/dist/tool/tool.operation.js.map +1 -1
- package/dist/tool/tool.presentation.d.ts.map +1 -1
- package/dist/tool/tool.presentation.js +13 -4
- package/dist/tool/tool.presentation.js.map +1 -1
- package/package.json +8 -8
- package/src/agent/agent.event.ts +34 -12
- package/src/agent/agent.operation.ts +12 -9
- package/src/agent/agent.presentation.ts +16 -3
- package/src/agent.feature.ts +58 -56
- package/src/run/run.event.ts +58 -21
- package/src/run/run.operation.ts +16 -10
- package/src/run/run.presentation.ts +11 -2
- package/src/tool/tool.event.ts +27 -10
- package/src/tool/tool.operation.ts +14 -8
- package/src/tool/tool.presentation.ts +11 -2
- package/tsconfig.tsbuildinfo +1 -1
package/src/run/run.operation.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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',
|
package/src/tool/tool.event.ts
CHANGED
|
@@ -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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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',
|