@lssm/example.agent-console 0.0.0-canary-20251223215909 → 0.0.0-canary-20251225044228

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 (62) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +33 -33
  2. package/.turbo/turbo-build.log +33 -33
  3. package/CHANGELOG.md +6 -6
  4. package/dist/agent/agent.entity.d.ts +36 -36
  5. package/dist/agent/agent.entity.d.ts.map +1 -1
  6. package/dist/agent/agent.enum.d.ts +4 -4
  7. package/dist/agent/agent.event.d.ts +30 -30
  8. package/dist/agent/agent.event.d.ts.map +1 -1
  9. package/dist/agent/agent.event.js +41 -12
  10. package/dist/agent/agent.event.js.map +1 -1
  11. package/dist/agent/agent.operation.d.ts +120 -154
  12. package/dist/agent/agent.operation.d.ts.map +1 -1
  13. package/dist/agent/agent.operation.js +12 -9
  14. package/dist/agent/agent.operation.js.map +1 -1
  15. package/dist/agent/agent.presentation.d.ts.map +1 -1
  16. package/dist/agent/agent.presentation.js +19 -6
  17. package/dist/agent/agent.presentation.js.map +1 -1
  18. package/dist/agent/agent.schema.d.ts +95 -95
  19. package/dist/agent.feature.js +76 -69
  20. package/dist/agent.feature.js.map +1 -1
  21. package/dist/run/run.entity.d.ts +56 -56
  22. package/dist/run/run.enum.d.ts +5 -5
  23. package/dist/run/run.event.d.ts +70 -70
  24. package/dist/run/run.event.d.ts.map +1 -1
  25. package/dist/run/run.event.js +69 -21
  26. package/dist/run/run.event.js.map +1 -1
  27. package/dist/run/run.operation.d.ts +182 -176
  28. package/dist/run/run.operation.d.ts.map +1 -1
  29. package/dist/run/run.operation.js +16 -10
  30. package/dist/run/run.operation.js.map +1 -1
  31. package/dist/run/run.presentation.d.ts.map +1 -1
  32. package/dist/run/run.presentation.js +13 -4
  33. package/dist/run/run.presentation.js.map +1 -1
  34. package/dist/run/run.schema.d.ts +99 -99
  35. package/dist/tool/tool.entity.d.ts +24 -24
  36. package/dist/tool/tool.enum.d.ts +4 -4
  37. package/dist/tool/tool.event.d.ts +24 -24
  38. package/dist/tool/tool.event.d.ts.map +1 -1
  39. package/dist/tool/tool.event.js +25 -9
  40. package/dist/tool/tool.event.js.map +1 -1
  41. package/dist/tool/tool.handler.d.ts.map +1 -1
  42. package/dist/tool/tool.operation.d.ts +108 -102
  43. package/dist/tool/tool.operation.d.ts.map +1 -1
  44. package/dist/tool/tool.operation.js +14 -8
  45. package/dist/tool/tool.operation.js.map +1 -1
  46. package/dist/tool/tool.presentation.d.ts.map +1 -1
  47. package/dist/tool/tool.presentation.js +13 -4
  48. package/dist/tool/tool.presentation.js.map +1 -1
  49. package/dist/tool/tool.schema.d.ts +52 -52
  50. package/dist/tool/tool.schema.d.ts.map +1 -1
  51. package/package.json +8 -8
  52. package/src/agent/agent.event.ts +34 -12
  53. package/src/agent/agent.operation.ts +12 -9
  54. package/src/agent/agent.presentation.ts +16 -3
  55. package/src/agent.feature.ts +58 -56
  56. package/src/run/run.event.ts +58 -21
  57. package/src/run/run.operation.ts +16 -10
  58. package/src/run/run.presentation.ts +11 -2
  59. package/src/tool/tool.event.ts +27 -10
  60. package/src/tool/tool.operation.ts +14 -8
  61. package/src/tool/tool.presentation.ts +11 -2
  62. package/tsconfig.tsbuildinfo +1 -1
@@ -6,6 +6,7 @@
6
6
  const AgentConsoleFeature = {
7
7
  meta: {
8
8
  key: "agent-console",
9
+ version: 1,
9
10
  title: "AI Agent Console",
10
11
  description: "AI agent orchestration with tools, runs, and logs management",
11
12
  domain: "ai-ops",
@@ -15,240 +16,240 @@ const AgentConsoleFeature = {
15
16
  "agents",
16
17
  "orchestration"
17
18
  ],
18
- stability: "experimental"
19
+ stability: "stable"
19
20
  },
20
21
  operations: [
21
22
  {
22
- name: "agent.agent.create",
23
+ key: "agent-console.agent.create",
23
24
  version: 1
24
25
  },
25
26
  {
26
- name: "agent.agent.update",
27
+ key: "agent-console.agent.update",
27
28
  version: 1
28
29
  },
29
30
  {
30
- name: "agent.agent.get",
31
+ key: "agent-console.agent.get",
31
32
  version: 1
32
33
  },
33
34
  {
34
- name: "agent.agent.list",
35
+ key: "agent-console.agent.list",
35
36
  version: 1
36
37
  },
37
38
  {
38
- name: "agent.agent.assignTool",
39
+ key: "agent-console.agent.assignTool",
39
40
  version: 1
40
41
  },
41
42
  {
42
- name: "agent.agent.removeTool",
43
+ key: "agent-console.agent.removeTool",
43
44
  version: 1
44
45
  },
45
46
  {
46
- name: "agent.tool.create",
47
+ key: "agent.tool.create",
47
48
  version: 1
48
49
  },
49
50
  {
50
- name: "agent.tool.update",
51
+ key: "agent.tool.update",
51
52
  version: 1
52
53
  },
53
54
  {
54
- name: "agent.tool.get",
55
+ key: "agent.tool.get",
55
56
  version: 1
56
57
  },
57
58
  {
58
- name: "agent.tool.list",
59
+ key: "agent.tool.list",
59
60
  version: 1
60
61
  },
61
62
  {
62
- name: "agent.tool.test",
63
+ key: "agent.tool.test",
63
64
  version: 1
64
65
  },
65
66
  {
66
- name: "agent.run.execute",
67
+ key: "agent.run.execute",
67
68
  version: 1
68
69
  },
69
70
  {
70
- name: "agent.run.cancel",
71
+ key: "agent.run.cancel",
71
72
  version: 1
72
73
  },
73
74
  {
74
- name: "agent.run.get",
75
+ key: "agent.run.get",
75
76
  version: 1
76
77
  },
77
78
  {
78
- name: "agent.run.list",
79
+ key: "agent.run.list",
79
80
  version: 1
80
81
  },
81
82
  {
82
- name: "agent.run.getSteps",
83
+ key: "agent.run.getSteps",
83
84
  version: 1
84
85
  },
85
86
  {
86
- name: "agent.run.getLogs",
87
+ key: "agent.run.getLogs",
87
88
  version: 1
88
89
  },
89
90
  {
90
- name: "agent.run.getMetrics",
91
+ key: "agent.run.getMetrics",
91
92
  version: 1
92
93
  }
93
94
  ],
94
95
  events: [
95
96
  {
96
- name: "agent.agent.created",
97
+ key: "agent-console.agent.created",
97
98
  version: 1
98
99
  },
99
100
  {
100
- name: "agent.agent.updated",
101
+ key: "agent-console.agent.updated",
101
102
  version: 1
102
103
  },
103
104
  {
104
- name: "agent.agent.toolAssigned",
105
+ key: "agent-console.agent.toolAssigned",
105
106
  version: 1
106
107
  },
107
108
  {
108
- name: "agent.agent.toolRemoved",
109
+ key: "agent-console.agent.toolRemoved",
109
110
  version: 1
110
111
  },
111
112
  {
112
- name: "agent.tool.created",
113
+ key: "agent.tool.created",
113
114
  version: 1
114
115
  },
115
116
  {
116
- name: "agent.tool.updated",
117
+ key: "agent.tool.updated",
117
118
  version: 1
118
119
  },
119
120
  {
120
- name: "agent.tool.statusChanged",
121
+ key: "agent.tool.statusChanged",
121
122
  version: 1
122
123
  },
123
124
  {
124
- name: "agent.run.started",
125
+ key: "agent.run.started",
125
126
  version: 1
126
127
  },
127
128
  {
128
- name: "agent.run.completed",
129
+ key: "agent.run.completed",
129
130
  version: 1
130
131
  },
131
132
  {
132
- name: "agent.run.failed",
133
+ key: "agent.run.failed",
133
134
  version: 1
134
135
  },
135
136
  {
136
- name: "agent.run.cancelled",
137
+ key: "agent.run.cancelled",
137
138
  version: 1
138
139
  },
139
140
  {
140
- name: "agent.run.toolInvoked",
141
+ key: "agent.run.toolInvoked",
141
142
  version: 1
142
143
  },
143
144
  {
144
- name: "agent.run.toolCompleted",
145
+ key: "agent.run.toolCompleted",
145
146
  version: 1
146
147
  },
147
148
  {
148
- name: "agent.run.messageGenerated",
149
+ key: "agent.run.messageGenerated",
149
150
  version: 1
150
151
  }
151
152
  ],
152
153
  presentations: [
153
154
  {
154
- name: "agent-console.dashboard",
155
+ key: "agent-console.dashboard",
155
156
  version: 1
156
157
  },
157
158
  {
158
- name: "agent-console.agent.list",
159
+ key: "agent-console.agent.list",
159
160
  version: 1
160
161
  },
161
162
  {
162
- name: "agent-console.agent.detail",
163
+ key: "agent-console.agent.detail",
163
164
  version: 1
164
165
  },
165
166
  {
166
- name: "agent-console.run.list",
167
+ key: "agent-console.run.list",
167
168
  version: 1
168
169
  },
169
170
  {
170
- name: "agent-console.run.detail",
171
+ key: "agent-console.run.detail",
171
172
  version: 1
172
173
  },
173
174
  {
174
- name: "agent-console.tool.list",
175
+ key: "agent-console.tool.list",
175
176
  version: 1
176
177
  },
177
178
  {
178
- name: "agent-console.tool.detail",
179
+ key: "agent-console.tool.detail",
179
180
  version: 1
180
181
  }
181
182
  ],
182
183
  opToPresentation: [
183
184
  {
184
185
  op: {
185
- name: "agent.agent.list",
186
+ key: "agent-console.agent.list",
186
187
  version: 1
187
188
  },
188
189
  pres: {
189
- name: "agent-console.agent.list",
190
+ key: "agent-console.agent.list",
190
191
  version: 1
191
192
  }
192
193
  },
193
194
  {
194
195
  op: {
195
- name: "agent.agent.get",
196
+ key: "agent-console.agent.get",
196
197
  version: 1
197
198
  },
198
199
  pres: {
199
- name: "agent-console.agent.detail",
200
+ key: "agent-console.agent.detail",
200
201
  version: 1
201
202
  }
202
203
  },
203
204
  {
204
205
  op: {
205
- name: "agent.run.list",
206
+ key: "agent.run.list",
206
207
  version: 1
207
208
  },
208
209
  pres: {
209
- name: "agent-console.run.list",
210
+ key: "agent-console.run.list",
210
211
  version: 1
211
212
  }
212
213
  },
213
214
  {
214
215
  op: {
215
- name: "agent.run.get",
216
+ key: "agent.run.get",
216
217
  version: 1
217
218
  },
218
219
  pres: {
219
- name: "agent-console.run.detail",
220
+ key: "agent-console.run.detail",
220
221
  version: 1
221
222
  }
222
223
  },
223
224
  {
224
225
  op: {
225
- name: "agent.tool.list",
226
+ key: "agent.tool.list",
226
227
  version: 1
227
228
  },
228
229
  pres: {
229
- name: "agent-console.tool.list",
230
+ key: "agent-console.tool.list",
230
231
  version: 1
231
232
  }
232
233
  },
233
234
  {
234
235
  op: {
235
- name: "agent.tool.get",
236
+ key: "agent.tool.get",
236
237
  version: 1
237
238
  },
238
239
  pres: {
239
- name: "agent-console.tool.detail",
240
+ key: "agent-console.tool.detail",
240
241
  version: 1
241
242
  }
242
243
  }
243
244
  ],
244
245
  presentationsTargets: [
245
246
  {
246
- name: "agent-console.dashboard",
247
+ key: "agent-console.dashboard",
247
248
  version: 1,
248
249
  targets: ["react", "markdown"]
249
250
  },
250
251
  {
251
- name: "agent-console.agent.list",
252
+ key: "agent-console.agent.list",
252
253
  version: 1,
253
254
  targets: [
254
255
  "react",
@@ -257,7 +258,7 @@ const AgentConsoleFeature = {
257
258
  ]
258
259
  },
259
260
  {
260
- name: "agent-console.run.list",
261
+ key: "agent-console.run.list",
261
262
  version: 1,
262
263
  targets: [
263
264
  "react",
@@ -266,7 +267,7 @@ const AgentConsoleFeature = {
266
267
  ]
267
268
  },
268
269
  {
269
- name: "agent-console.tool.list",
270
+ key: "agent-console.tool.list",
270
271
  version: 1,
271
272
  targets: [
272
273
  "react",
@@ -275,20 +276,26 @@ const AgentConsoleFeature = {
275
276
  ]
276
277
  }
277
278
  ],
278
- capabilities: { requires: [
279
- {
280
- key: "identity",
281
- version: 1
282
- },
283
- {
284
- key: "audit-trail",
285
- version: 1
286
- },
287
- {
288
- key: "jobs",
279
+ capabilities: {
280
+ requires: [
281
+ {
282
+ key: "identity",
283
+ version: 1
284
+ },
285
+ {
286
+ key: "audit-trail",
287
+ version: 1
288
+ },
289
+ {
290
+ key: "jobs",
291
+ version: 1
292
+ }
293
+ ],
294
+ provides: [{
295
+ key: "agent",
289
296
  version: 1
290
- }
291
- ] }
297
+ }]
298
+ }
292
299
  };
293
300
 
294
301
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"agent.feature.js","names":["AgentConsoleFeature: FeatureModuleSpec"],"sources":["../src/agent.feature.ts"],"sourcesContent":["/**\n * Agent Console Feature Module Specification\n *\n * Defines the feature module for agent orchestration capabilities.\n */\nimport type { FeatureModuleSpec } from '@lssm/lib.contracts';\n\n/**\n * Agent Console feature module that bundles all agent, tool, and run\n * operations, events, and presentations into an installable feature.\n */\nexport const AgentConsoleFeature: FeatureModuleSpec = {\n meta: {\n key: 'agent-console',\n title: 'AI Agent Console',\n description: 'AI agent orchestration with tools, runs, and logs management',\n domain: 'ai-ops',\n owners: ['@agent-console-team'],\n tags: ['ai', 'agents', 'orchestration'],\n stability: 'experimental',\n },\n\n // All contract operations included in this feature\n operations: [\n // Agent operations\n { name: 'agent.agent.create', version: 1 },\n { name: 'agent.agent.update', version: 1 },\n { name: 'agent.agent.get', version: 1 },\n { name: 'agent.agent.list', version: 1 },\n { name: 'agent.agent.assignTool', version: 1 },\n { name: 'agent.agent.removeTool', version: 1 },\n\n // Tool operations\n { name: 'agent.tool.create', version: 1 },\n { name: 'agent.tool.update', version: 1 },\n { name: 'agent.tool.get', version: 1 },\n { name: 'agent.tool.list', version: 1 },\n { name: 'agent.tool.test', version: 1 },\n\n // Run operations\n { name: 'agent.run.execute', version: 1 },\n { name: 'agent.run.cancel', version: 1 },\n { name: 'agent.run.get', version: 1 },\n { name: 'agent.run.list', version: 1 },\n { name: 'agent.run.getSteps', version: 1 },\n { name: 'agent.run.getLogs', version: 1 },\n { name: 'agent.run.getMetrics', version: 1 },\n ],\n\n // Events emitted by this feature\n events: [\n // Agent events\n { name: 'agent.agent.created', version: 1 },\n { name: 'agent.agent.updated', version: 1 },\n { name: 'agent.agent.toolAssigned', version: 1 },\n { name: 'agent.agent.toolRemoved', version: 1 },\n\n // Tool events\n { name: 'agent.tool.created', version: 1 },\n { name: 'agent.tool.updated', version: 1 },\n { name: 'agent.tool.statusChanged', version: 1 },\n\n // Run events\n { name: 'agent.run.started', version: 1 },\n { name: 'agent.run.completed', version: 1 },\n { name: 'agent.run.failed', version: 1 },\n { name: 'agent.run.cancelled', version: 1 },\n { name: 'agent.run.toolInvoked', version: 1 },\n { name: 'agent.run.toolCompleted', version: 1 },\n { name: 'agent.run.messageGenerated', version: 1 },\n ],\n\n // Presentations associated with this feature\n presentations: [\n { name: 'agent-console.dashboard', version: 1 },\n { name: 'agent-console.agent.list', version: 1 },\n { name: 'agent-console.agent.detail', version: 1 },\n { name: 'agent-console.run.list', version: 1 },\n { name: 'agent-console.run.detail', version: 1 },\n { name: 'agent-console.tool.list', version: 1 },\n { name: 'agent-console.tool.detail', version: 1 },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { name: 'agent.agent.list', version: 1 },\n pres: { name: 'agent-console.agent.list', version: 1 },\n },\n {\n op: { name: 'agent.agent.get', version: 1 },\n pres: { name: 'agent-console.agent.detail', version: 1 },\n },\n {\n op: { name: 'agent.run.list', version: 1 },\n pres: { name: 'agent-console.run.list', version: 1 },\n },\n {\n op: { name: 'agent.run.get', version: 1 },\n pres: { name: 'agent-console.run.detail', version: 1 },\n },\n {\n op: { name: 'agent.tool.list', version: 1 },\n pres: { name: 'agent-console.tool.list', version: 1 },\n },\n {\n op: { name: 'agent.tool.get', version: 1 },\n pres: { name: 'agent-console.tool.detail', version: 1 },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n {\n name: 'agent-console.dashboard',\n version: 1,\n targets: ['react', 'markdown'],\n },\n {\n name: 'agent-console.agent.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n name: 'agent-console.run.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n name: 'agent-console.tool.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: 1 },\n { key: 'audit-trail', version: 1 },\n { key: 'jobs', version: 1 },\n ],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,sBAAyC;CACpD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,sBAAsB;EAC/B,MAAM;GAAC;GAAM;GAAU;GAAgB;EACvC,WAAW;EACZ;CAGD,YAAY;EAEV;GAAE,MAAM;GAAsB,SAAS;GAAG;EAC1C;GAAE,MAAM;GAAsB,SAAS;GAAG;EAC1C;GAAE,MAAM;GAAmB,SAAS;GAAG;EACvC;GAAE,MAAM;GAAoB,SAAS;GAAG;EACxC;GAAE,MAAM;GAA0B,SAAS;GAAG;EAC9C;GAAE,MAAM;GAA0B,SAAS;G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M;GAA2B,SAAS;GAAG;EAC/C;GAAE,MAAM;GAA6B,SAAS;GAAG;EAClD;CAGD,kBAAkB;EAChB;GACE,IAAI;IAAE,MAAM;IAAoB,SAAS;IAAG;GAC5C,MAAM;IAAE,MAAM;IAA4B,SAAS;IAAG;GACvD;EACD;GACE,IAAI;IAAE,MAAM;IAAmB,SAAS;IAAG;GAC3C,MAAM;IAAE,MAAM;IAA8B,SAAS;IAAG;GACzD;EACD;GACE,IAAI;IAAE,MAAM;IAAkB,SAAS;IAAG;GAC1C,MAAM;IAAE,MAAM;IAA0B,SAAS;IAAG;GACrD;EACD;GACE,IAAI;IAAE,MAAM;IAAiB,SAAS;IAAG;GACzC,MAAM;IAAE,MAAM;IAA4B,SAAS;IAAG;GACvD;EACD;GACE,IAAI;IAAE,MAAM;IAAmB,SAAS;IAAG;GAC3C,MAAM;IAAE,MAAM;IAA2B,SAAS;IAAG;GACtD;EACD;GACE,IAAI;IAAE,MAAM;IAAkB,SAAS;IAAG;GAC1C,MAAM;IAAE,MAAM;IAA6B,SAAS;IAAG;GACxD;EACF;CAGD,sBAAsB;EACpB;GACE,MAAM;GACN,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,MAAM;GACN,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACD;GACE,MAAM;GACN,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACD;GACE,MAAM;GACN,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACF;CAGD,cAAc,EACZ,UAAU;EACR;GAAE,KAAK;GAAY,SAAS;GAAG;EAC/B;GAAE,KAAK;GAAe,SAAS;GAAG;EAClC;GAAE,KAAK;GAAQ,SAAS;GAAG;EAC5B,EACF;CACF"}
1
+ {"version":3,"file":"agent.feature.js","names":["AgentConsoleFeature: FeatureModuleSpec"],"sources":["../src/agent.feature.ts"],"sourcesContent":["/**\n * Agent Console Feature Module Specification\n *\n * Defines the feature module for agent orchestration capabilities.\n */\nimport type { FeatureModuleSpec } from '@lssm/lib.contracts';\n\n/**\n * Agent Console feature module that bundles all agent, tool, and run\n * operations, events, and presentations into an installable feature.\n */\nexport const AgentConsoleFeature: FeatureModuleSpec = {\n meta: {\n key: 'agent-console',\n version: 1,\n title: 'AI Agent Console',\n description: 'AI agent orchestration with tools, runs, and logs management',\n domain: 'ai-ops',\n owners: ['@agent-console-team'],\n tags: ['ai', 'agents', 'orchestration'],\n stability: 'stable',\n },\n\n // All contract operations included in this feature\n operations: [\n // Agent operations\n { key: 'agent-console.agent.create', version: 1 },\n { key: 'agent-console.agent.update', version: 1 },\n { key: 'agent-console.agent.get', version: 1 },\n { key: 'agent-console.agent.list', version: 1 },\n { key: 'agent-console.agent.assignTool', version: 1 },\n { key: 'agent-console.agent.removeTool', version: 1 },\n\n // Tool operations\n { key: 'agent.tool.create', version: 1 },\n { key: 'agent.tool.update', version: 1 },\n { key: 'agent.tool.get', version: 1 },\n { key: 'agent.tool.list', version: 1 },\n { key: 'agent.tool.test', version: 1 },\n\n // Run operations\n { key: 'agent.run.execute', version: 1 },\n { key: 'agent.run.cancel', version: 1 },\n { key: 'agent.run.get', version: 1 },\n { key: 'agent.run.list', version: 1 },\n { key: 'agent.run.getSteps', version: 1 },\n { key: 'agent.run.getLogs', version: 1 },\n { key: 'agent.run.getMetrics', version: 1 },\n ],\n\n // Events emitted by this feature\n events: [\n // Agent events\n { key: 'agent-console.agent.created', version: 1 },\n { key: 'agent-console.agent.updated', version: 1 },\n { key: 'agent-console.agent.toolAssigned', version: 1 },\n { key: 'agent-console.agent.toolRemoved', version: 1 },\n\n // Tool events\n { key: 'agent.tool.created', version: 1 },\n { key: 'agent.tool.updated', version: 1 },\n { key: 'agent.tool.statusChanged', version: 1 },\n\n // Run events\n { key: 'agent.run.started', version: 1 },\n { key: 'agent.run.completed', version: 1 },\n { key: 'agent.run.failed', version: 1 },\n { key: 'agent.run.cancelled', version: 1 },\n { key: 'agent.run.toolInvoked', version: 1 },\n { key: 'agent.run.toolCompleted', version: 1 },\n { key: 'agent.run.messageGenerated', version: 1 },\n ],\n\n // Presentations associated with this feature\n presentations: [\n { key: 'agent-console.dashboard', version: 1 },\n { key: 'agent-console.agent.list', version: 1 },\n { key: 'agent-console.agent.detail', version: 1 },\n { key: 'agent-console.run.list', version: 1 },\n { key: 'agent-console.run.detail', version: 1 },\n { key: 'agent-console.tool.list', version: 1 },\n { key: 'agent-console.tool.detail', version: 1 },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { key: 'agent-console.agent.list', version: 1 },\n pres: { key: 'agent-console.agent.list', version: 1 },\n },\n {\n op: { key: 'agent-console.agent.get', version: 1 },\n pres: { key: 'agent-console.agent.detail', version: 1 },\n },\n {\n op: { key: 'agent.run.list', version: 1 },\n pres: { key: 'agent-console.run.list', version: 1 },\n },\n {\n op: { key: 'agent.run.get', version: 1 },\n pres: { key: 'agent-console.run.detail', version: 1 },\n },\n {\n op: { key: 'agent.tool.list', version: 1 },\n pres: { key: 'agent-console.tool.list', version: 1 },\n },\n {\n op: { key: 'agent.tool.get', version: 1 },\n pres: { key: 'agent-console.tool.detail', version: 1 },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n {\n key: 'agent-console.dashboard',\n version: 1,\n targets: ['react', 'markdown'],\n },\n {\n key: 'agent-console.agent.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'agent-console.run.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n {\n key: 'agent-console.tool.list',\n version: 1,\n targets: ['react', 'markdown', 'application/json'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: 1 },\n { key: 'audit-trail', version: 1 },\n { key: 'jobs', version: 1 },\n ],\n provides: [{ key: 'agent', version: 1 }],\n },\n};\n"],"mappings":";;;;;AAWA,MAAaA,sBAAyC;CACpD,MAAM;EACJ,KAAK;EACL,SAAS;EACT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,KAAK;GACL,SAAS;GACT,SAAS;IAAC;IAAS;IAAY;IAAmB;GACnD;EACF;CAGD,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAG;GAC/B;IAAE,KAAK;IAAe,SAAS;IAAG;GAClC;IAAE,KAAK;IAAQ,SAAS;IAAG;GAC5B;EACD,UAAU,CAAC;GAAE,KAAK;GAAS,SAAS;GAAG,CAAC;EACzC;CACF"}
@@ -1,81 +1,81 @@
1
- import * as _lssm_lib_schema190 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema567 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/run/run.entity.d.ts
4
4
  /**
5
5
  * Run status enum for entities.
6
6
  */
7
- declare const RunStatusEntityEnum: _lssm_lib_schema190.EntityEnumDef;
7
+ declare const RunStatusEntityEnum: _lssm_lib_schema567.EntityEnumDef;
8
8
  /**
9
9
  * Run step type enum for entities.
10
10
  */
11
- declare const RunStepTypeEntityEnum: _lssm_lib_schema190.EntityEnumDef;
11
+ declare const RunStepTypeEntityEnum: _lssm_lib_schema567.EntityEnumDef;
12
12
  /**
13
13
  * Log level enum for entities.
14
14
  */
15
- declare const LogLevelEntityEnum: _lssm_lib_schema190.EntityEnumDef;
15
+ declare const LogLevelEntityEnum: _lssm_lib_schema567.EntityEnumDef;
16
16
  /**
17
17
  * Run entity - Represents an agent execution.
18
18
  */
19
- declare const RunEntity: _lssm_lib_schema190.EntitySpec<{
20
- id: _lssm_lib_schema190.EntityScalarField;
21
- organizationId: _lssm_lib_schema190.EntityScalarField;
22
- agentId: _lssm_lib_schema190.EntityScalarField;
23
- userId: _lssm_lib_schema190.EntityScalarField;
24
- sessionId: _lssm_lib_schema190.EntityScalarField;
25
- input: _lssm_lib_schema190.EntityScalarField;
26
- output: _lssm_lib_schema190.EntityScalarField;
27
- status: _lssm_lib_schema190.EntityEnumField;
28
- errorMessage: _lssm_lib_schema190.EntityScalarField;
29
- errorCode: _lssm_lib_schema190.EntityScalarField;
30
- totalTokens: _lssm_lib_schema190.EntityScalarField;
31
- promptTokens: _lssm_lib_schema190.EntityScalarField;
32
- completionTokens: _lssm_lib_schema190.EntityScalarField;
33
- totalIterations: _lssm_lib_schema190.EntityScalarField;
34
- durationMs: _lssm_lib_schema190.EntityScalarField;
35
- estimatedCostUsd: _lssm_lib_schema190.EntityScalarField;
36
- queuedAt: _lssm_lib_schema190.EntityScalarField;
37
- startedAt: _lssm_lib_schema190.EntityScalarField;
38
- completedAt: _lssm_lib_schema190.EntityScalarField;
39
- metadata: _lssm_lib_schema190.EntityScalarField;
40
- agent: _lssm_lib_schema190.EntityRelationField;
41
- steps: _lssm_lib_schema190.EntityRelationField;
42
- logs: _lssm_lib_schema190.EntityRelationField;
19
+ declare const RunEntity: _lssm_lib_schema567.EntitySpec<{
20
+ id: _lssm_lib_schema567.EntityScalarField;
21
+ organizationId: _lssm_lib_schema567.EntityScalarField;
22
+ agentId: _lssm_lib_schema567.EntityScalarField;
23
+ userId: _lssm_lib_schema567.EntityScalarField;
24
+ sessionId: _lssm_lib_schema567.EntityScalarField;
25
+ input: _lssm_lib_schema567.EntityScalarField;
26
+ output: _lssm_lib_schema567.EntityScalarField;
27
+ status: _lssm_lib_schema567.EntityEnumField;
28
+ errorMessage: _lssm_lib_schema567.EntityScalarField;
29
+ errorCode: _lssm_lib_schema567.EntityScalarField;
30
+ totalTokens: _lssm_lib_schema567.EntityScalarField;
31
+ promptTokens: _lssm_lib_schema567.EntityScalarField;
32
+ completionTokens: _lssm_lib_schema567.EntityScalarField;
33
+ totalIterations: _lssm_lib_schema567.EntityScalarField;
34
+ durationMs: _lssm_lib_schema567.EntityScalarField;
35
+ estimatedCostUsd: _lssm_lib_schema567.EntityScalarField;
36
+ queuedAt: _lssm_lib_schema567.EntityScalarField;
37
+ startedAt: _lssm_lib_schema567.EntityScalarField;
38
+ completedAt: _lssm_lib_schema567.EntityScalarField;
39
+ metadata: _lssm_lib_schema567.EntityScalarField;
40
+ agent: _lssm_lib_schema567.EntityRelationField;
41
+ steps: _lssm_lib_schema567.EntityRelationField;
42
+ logs: _lssm_lib_schema567.EntityRelationField;
43
43
  }>;
44
44
  /**
45
45
  * RunStep entity - Individual step in a run.
46
46
  */
47
- declare const RunStepEntity: _lssm_lib_schema190.EntitySpec<{
48
- id: _lssm_lib_schema190.EntityScalarField;
49
- runId: _lssm_lib_schema190.EntityScalarField;
50
- stepNumber: _lssm_lib_schema190.EntityScalarField;
51
- type: _lssm_lib_schema190.EntityEnumField;
52
- toolId: _lssm_lib_schema190.EntityScalarField;
53
- toolName: _lssm_lib_schema190.EntityScalarField;
54
- input: _lssm_lib_schema190.EntityScalarField;
55
- output: _lssm_lib_schema190.EntityScalarField;
56
- status: _lssm_lib_schema190.EntityEnumField;
57
- errorMessage: _lssm_lib_schema190.EntityScalarField;
58
- tokensUsed: _lssm_lib_schema190.EntityScalarField;
59
- durationMs: _lssm_lib_schema190.EntityScalarField;
60
- startedAt: _lssm_lib_schema190.EntityScalarField;
61
- completedAt: _lssm_lib_schema190.EntityScalarField;
62
- run: _lssm_lib_schema190.EntityRelationField;
47
+ declare const RunStepEntity: _lssm_lib_schema567.EntitySpec<{
48
+ id: _lssm_lib_schema567.EntityScalarField;
49
+ runId: _lssm_lib_schema567.EntityScalarField;
50
+ stepNumber: _lssm_lib_schema567.EntityScalarField;
51
+ type: _lssm_lib_schema567.EntityEnumField;
52
+ toolId: _lssm_lib_schema567.EntityScalarField;
53
+ toolName: _lssm_lib_schema567.EntityScalarField;
54
+ input: _lssm_lib_schema567.EntityScalarField;
55
+ output: _lssm_lib_schema567.EntityScalarField;
56
+ status: _lssm_lib_schema567.EntityEnumField;
57
+ errorMessage: _lssm_lib_schema567.EntityScalarField;
58
+ tokensUsed: _lssm_lib_schema567.EntityScalarField;
59
+ durationMs: _lssm_lib_schema567.EntityScalarField;
60
+ startedAt: _lssm_lib_schema567.EntityScalarField;
61
+ completedAt: _lssm_lib_schema567.EntityScalarField;
62
+ run: _lssm_lib_schema567.EntityRelationField;
63
63
  }>;
64
64
  /**
65
65
  * RunLog entity - Log entry for a run.
66
66
  */
67
- declare const RunLogEntity: _lssm_lib_schema190.EntitySpec<{
68
- id: _lssm_lib_schema190.EntityScalarField;
69
- runId: _lssm_lib_schema190.EntityScalarField;
70
- stepId: _lssm_lib_schema190.EntityScalarField;
71
- level: _lssm_lib_schema190.EntityEnumField;
72
- message: _lssm_lib_schema190.EntityScalarField;
73
- data: _lssm_lib_schema190.EntityScalarField;
74
- source: _lssm_lib_schema190.EntityScalarField;
75
- traceId: _lssm_lib_schema190.EntityScalarField;
76
- spanId: _lssm_lib_schema190.EntityScalarField;
77
- timestamp: _lssm_lib_schema190.EntityScalarField;
78
- run: _lssm_lib_schema190.EntityRelationField;
67
+ declare const RunLogEntity: _lssm_lib_schema567.EntitySpec<{
68
+ id: _lssm_lib_schema567.EntityScalarField;
69
+ runId: _lssm_lib_schema567.EntityScalarField;
70
+ stepId: _lssm_lib_schema567.EntityScalarField;
71
+ level: _lssm_lib_schema567.EntityEnumField;
72
+ message: _lssm_lib_schema567.EntityScalarField;
73
+ data: _lssm_lib_schema567.EntityScalarField;
74
+ source: _lssm_lib_schema567.EntityScalarField;
75
+ traceId: _lssm_lib_schema567.EntityScalarField;
76
+ spanId: _lssm_lib_schema567.EntityScalarField;
77
+ timestamp: _lssm_lib_schema567.EntityScalarField;
78
+ run: _lssm_lib_schema567.EntityRelationField;
79
79
  }>;
80
80
  //#endregion
81
81
  export { LogLevelEntityEnum, RunEntity, RunLogEntity, RunStatusEntityEnum, RunStepEntity, RunStepTypeEntityEnum };
@@ -1,22 +1,22 @@
1
- import * as _lssm_lib_schema245 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema720 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/run/run.enum.d.ts
4
4
  /**
5
5
  * Run status enum.
6
6
  */
7
- declare const RunStatusEnum: _lssm_lib_schema245.EnumType<[string, string, string, string, string, string]>;
7
+ declare const RunStatusEnum: _lssm_lib_schema720.EnumType<[string, string, string, string, string, string]>;
8
8
  /**
9
9
  * Run step type enum.
10
10
  */
11
- declare const RunStepTypeEnum: _lssm_lib_schema245.EnumType<[string, string, string, string]>;
11
+ declare const RunStepTypeEnum: _lssm_lib_schema720.EnumType<[string, string, string, string]>;
12
12
  /**
13
13
  * Log level enum.
14
14
  */
15
- declare const LogLevelEnum: _lssm_lib_schema245.EnumType<[string, string, string, string]>;
15
+ declare const LogLevelEnum: _lssm_lib_schema720.EnumType<[string, string, string, string]>;
16
16
  /**
17
17
  * Granularity enum for metrics.
18
18
  */
19
- declare const GranularityEnum: _lssm_lib_schema245.EnumType<[string, string, string, string]>;
19
+ declare const GranularityEnum: _lssm_lib_schema720.EnumType<[string, string, string, string]>;
20
20
  //#endregion
21
21
  export { GranularityEnum, LogLevelEnum, RunStatusEnum, RunStepTypeEnum };
22
22
  //# sourceMappingURL=run.enum.d.ts.map