@contractspec/example.agent-console 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,215 +1,216 @@
1
- $ contractspec-bun-build prebuild
2
- $ bun run prebuild && bun run build:bundle && bun run build:types
3
- $ contractspec-bun-build prebuild
4
- $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=66
6
- Bundled 66 modules in 103ms
7
-
8
- ./agent.capability.js 442 bytes (entry point)
9
- tool/tool.test-spec.js 1.38 KB (entry point)
10
- shared/overlay-types.js 8 bytes (entry point)
11
- run/run.test-spec.js 1.37 KB (entry point)
12
- seeders/index.js 0.64 KB (entry point)
13
- ./index.js 200.84 KB (entry point)
14
- ui/index.js 77.35 KB (entry point)
15
- ui/views/index.js 22.0 KB (entry point)
16
- ui/renderers/index.js 14.75 KB (entry point)
17
- ui/renderers/agent-list.markdown.js 1.49 KB (entry point)
18
- ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
19
- ui/renderers/dashboard.markdown.js 4.30 KB (entry point)
20
- ui/renderers/run-list.markdown.js 1.39 KB (entry point)
21
- ui/renderers/tool-registry.markdown.js 1.64 KB (entry point)
22
- ui/views/AgentListView.js 5.35 KB (entry point)
23
- ui/modals/index.js 22.38 KB (entry point)
24
- ui/overlays/index.js 1.46 KB (entry point)
25
- ui/overlays/demo-overlays.js 1.46 KB (entry point)
26
- ui/AgentDashboard.js 62.32 KB (entry point)
27
- ui/modals/AgentActionsModal.js 12.32 KB (entry point)
28
- ui/modals/CreateAgentModal.js 9.99 KB (entry point)
29
- ui/AgentRunList.js 9.39 KB (entry point)
30
- ui/views/RunListView.js 9.33 KB (entry point)
31
- ui/AgentToolRegistry.js 6.99 KB (entry point)
32
- ui/views/ToolRegistryView.js 6.92 KB (entry point)
33
- ui/hooks/index.js 8.61 KB (entry point)
34
- ui/hooks/useRunList.js 1.69 KB (entry point)
35
- ui/hooks/useToolList.js 2.52 KB (entry point)
36
- ui/hooks/useAgentList.js 1.69 KB (entry point)
37
- ui/hooks/useAgentMutations.js 2.50 KB (entry point)
38
- tool/index.js 28.61 KB (entry point)
39
- tool/tool.entity.js 2.65 KB (entry point)
40
- tool/tool.event.js 3.25 KB (entry point)
41
- tool/tool.operation.js 14.62 KB (entry point)
42
- shared/index.js 9.67 KB (entry point)
43
- presentations/index.js 25.20 KB (entry point)
44
- tool/tool.presentation.js 6.41 KB (entry point)
45
- tool/tool.schema.js 4.94 KB (entry point)
46
- tool/tool.enum.js 0.52 KB (entry point)
47
- run/index.js 43.50 KB (entry point)
48
- run/run.presentation.js 8.0 KB (entry point)
49
- run/run.entity.js 5.11 KB (entry point)
50
- run/run.event.js 8.26 KB (entry point)
51
- run/run.operation.js 20.69 KB (entry point)
52
- run/run.schema.js 6.62 KB (entry point)
53
- run/run.enum.js 0.60 KB (entry point)
54
- agent/agent.test-spec.js 1.46 KB (entry point)
55
- agent/index.js 39.69 KB (entry point)
56
- docs/index.js 3.74 KB (entry point)
57
- docs/agent-console.docblock.js 3.74 KB (entry point)
58
- ./example.js 1.25 KB (entry point)
59
- handlers/index.js 24.39 KB (entry point)
60
- tool/tool.handler.js 6.38 KB (entry point)
61
- run/run.handler.js 7.61 KB (entry point)
62
- shared/mock-runs.js 3.0 KB (entry point)
63
- handlers/agent.handlers.js 8.30 KB (entry point)
64
- ./agent.feature.js 4.37 KB (entry point)
65
- agent/agent.entity.js 3.92 KB (entry point)
66
- agent/agent.handler.js 8.88 KB (entry point)
67
- shared/mock-tools.js 4.15 KB (entry point)
68
- shared/mock-agents.js 2.54 KB (entry point)
69
- agent/agent.operation.js 24.28 KB (entry point)
70
- agent/agent.event.js 4.1 KB (entry point)
71
- agent/agent.presentation.js 10.36 KB (entry point)
72
- agent/agent.schema.js 8.13 KB (entry point)
73
- agent/agent.enum.js 467 bytes (entry point)
74
-
75
- [contractspec-bun-build] transpile target=node root=src entries=66
76
- Bundled 66 modules in 130ms
77
-
78
- ./agent.capability.js 434 bytes (entry point)
79
- tool/tool.test-spec.js 1.38 KB (entry point)
80
- shared/overlay-types.js 0 KB (entry point)
81
- run/run.test-spec.js 1.36 KB (entry point)
82
- seeders/index.js 0.63 KB (entry point)
83
- ./index.js 200.78 KB (entry point)
84
- ui/index.js 77.30 KB (entry point)
85
- ui/views/index.js 22.00 KB (entry point)
86
- ui/renderers/index.js 14.73 KB (entry point)
87
- ui/renderers/agent-list.markdown.js 1.48 KB (entry point)
88
- ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
89
- ui/renderers/dashboard.markdown.js 4.29 KB (entry point)
90
- ui/renderers/run-list.markdown.js 1.39 KB (entry point)
91
- ui/renderers/tool-registry.markdown.js 1.62 KB (entry point)
92
- ui/views/AgentListView.js 5.34 KB (entry point)
93
- ui/modals/index.js 22.36 KB (entry point)
94
- ui/overlays/index.js 1.45 KB (entry point)
95
- ui/overlays/demo-overlays.js 1.45 KB (entry point)
96
- ui/AgentDashboard.js 62.29 KB (entry point)
97
- ui/modals/AgentActionsModal.js 12.29 KB (entry point)
98
- ui/modals/CreateAgentModal.js 9.99 KB (entry point)
99
- ui/AgentRunList.js 9.38 KB (entry point)
100
- ui/views/RunListView.js 9.32 KB (entry point)
101
- ui/AgentToolRegistry.js 6.97 KB (entry point)
102
- ui/views/ToolRegistryView.js 6.91 KB (entry point)
103
- ui/hooks/index.js 8.60 KB (entry point)
104
- ui/hooks/useRunList.js 1.69 KB (entry point)
105
- ui/hooks/useToolList.js 2.51 KB (entry point)
106
- ui/hooks/useAgentList.js 1.68 KB (entry point)
107
- ui/hooks/useAgentMutations.js 2.49 KB (entry point)
108
- tool/index.js 28.60 KB (entry point)
109
- tool/tool.entity.js 2.64 KB (entry point)
110
- tool/tool.event.js 3.24 KB (entry point)
111
- tool/tool.operation.js 14.62 KB (entry point)
112
- shared/index.js 9.67 KB (entry point)
113
- presentations/index.js 25.19 KB (entry point)
114
- tool/tool.presentation.js 6.40 KB (entry point)
115
- tool/tool.schema.js 4.93 KB (entry point)
116
- tool/tool.enum.js 0.51 KB (entry point)
117
- run/index.js 43.49 KB (entry point)
118
- run/run.presentation.js 8.0 KB (entry point)
119
- run/run.entity.js 5.1 KB (entry point)
120
- run/run.event.js 8.25 KB (entry point)
121
- run/run.operation.js 20.68 KB (entry point)
122
- run/run.schema.js 6.61 KB (entry point)
123
- run/run.enum.js 0.59 KB (entry point)
124
- agent/agent.test-spec.js 1.46 KB (entry point)
125
- agent/index.js 39.68 KB (entry point)
126
- docs/index.js 3.72 KB (entry point)
127
- docs/agent-console.docblock.js 3.72 KB (entry point)
128
- ./example.js 1.24 KB (entry point)
129
- handlers/index.js 24.39 KB (entry point)
130
- tool/tool.handler.js 6.37 KB (entry point)
131
- run/run.handler.js 7.60 KB (entry point)
132
- shared/mock-runs.js 3.0 KB (entry point)
133
- handlers/agent.handlers.js 8.29 KB (entry point)
134
- ./agent.feature.js 4.36 KB (entry point)
135
- agent/agent.entity.js 3.92 KB (entry point)
136
- agent/agent.handler.js 8.88 KB (entry point)
137
- shared/mock-tools.js 4.14 KB (entry point)
138
- shared/mock-agents.js 2.54 KB (entry point)
139
- agent/agent.operation.js 24.28 KB (entry point)
140
- agent/agent.event.js 4.1 KB (entry point)
141
- agent/agent.presentation.js 10.35 KB (entry point)
142
- agent/agent.schema.js 8.13 KB (entry point)
143
- agent/agent.enum.js 459 bytes (entry point)
144
-
145
- [contractspec-bun-build] transpile target=browser root=src entries=66
146
- Bundled 66 modules in 87ms
147
-
148
- ./agent.capability.js 434 bytes (entry point)
149
- tool/tool.test-spec.js 1.38 KB (entry point)
150
- shared/overlay-types.js 0 KB (entry point)
151
- run/run.test-spec.js 1.36 KB (entry point)
152
- seeders/index.js 0.63 KB (entry point)
153
- ./index.js 200.78 KB (entry point)
154
- ui/index.js 77.30 KB (entry point)
155
- ui/views/index.js 22.00 KB (entry point)
156
- ui/renderers/index.js 14.73 KB (entry point)
157
- ui/renderers/agent-list.markdown.js 1.48 KB (entry point)
158
- ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
159
- ui/renderers/dashboard.markdown.js 4.29 KB (entry point)
160
- ui/renderers/run-list.markdown.js 1.39 KB (entry point)
161
- ui/renderers/tool-registry.markdown.js 1.62 KB (entry point)
162
- ui/views/AgentListView.js 5.34 KB (entry point)
163
- ui/modals/index.js 22.36 KB (entry point)
164
- ui/overlays/index.js 1.45 KB (entry point)
165
- ui/overlays/demo-overlays.js 1.45 KB (entry point)
166
- ui/AgentDashboard.js 62.29 KB (entry point)
167
- ui/modals/AgentActionsModal.js 12.29 KB (entry point)
168
- ui/modals/CreateAgentModal.js 9.99 KB (entry point)
169
- ui/AgentRunList.js 9.38 KB (entry point)
170
- ui/views/RunListView.js 9.32 KB (entry point)
171
- ui/AgentToolRegistry.js 6.97 KB (entry point)
172
- ui/views/ToolRegistryView.js 6.91 KB (entry point)
173
- ui/hooks/index.js 8.60 KB (entry point)
174
- ui/hooks/useRunList.js 1.69 KB (entry point)
175
- ui/hooks/useToolList.js 2.51 KB (entry point)
176
- ui/hooks/useAgentList.js 1.68 KB (entry point)
177
- ui/hooks/useAgentMutations.js 2.49 KB (entry point)
178
- tool/index.js 28.60 KB (entry point)
179
- tool/tool.entity.js 2.64 KB (entry point)
180
- tool/tool.event.js 3.24 KB (entry point)
181
- tool/tool.operation.js 14.62 KB (entry point)
182
- shared/index.js 9.67 KB (entry point)
183
- presentations/index.js 25.19 KB (entry point)
184
- tool/tool.presentation.js 6.40 KB (entry point)
185
- tool/tool.schema.js 4.93 KB (entry point)
186
- tool/tool.enum.js 0.51 KB (entry point)
187
- run/index.js 43.49 KB (entry point)
188
- run/run.presentation.js 8.0 KB (entry point)
189
- run/run.entity.js 5.1 KB (entry point)
190
- run/run.event.js 8.25 KB (entry point)
191
- run/run.operation.js 20.68 KB (entry point)
192
- run/run.schema.js 6.61 KB (entry point)
193
- run/run.enum.js 0.59 KB (entry point)
194
- agent/agent.test-spec.js 1.46 KB (entry point)
195
- agent/index.js 39.68 KB (entry point)
196
- docs/index.js 3.72 KB (entry point)
197
- docs/agent-console.docblock.js 3.72 KB (entry point)
198
- ./example.js 1.24 KB (entry point)
199
- handlers/index.js 24.39 KB (entry point)
200
- tool/tool.handler.js 6.37 KB (entry point)
201
- run/run.handler.js 7.60 KB (entry point)
202
- shared/mock-runs.js 3.0 KB (entry point)
203
- handlers/agent.handlers.js 8.29 KB (entry point)
204
- ./agent.feature.js 4.36 KB (entry point)
205
- agent/agent.entity.js 3.92 KB (entry point)
206
- agent/agent.handler.js 8.88 KB (entry point)
207
- shared/mock-tools.js 4.14 KB (entry point)
208
- shared/mock-agents.js 2.54 KB (entry point)
209
- agent/agent.operation.js 24.28 KB (entry point)
210
- agent/agent.event.js 4.1 KB (entry point)
211
- agent/agent.presentation.js 10.35 KB (entry point)
212
- agent/agent.schema.js 8.13 KB (entry point)
213
- agent/agent.enum.js 459 bytes (entry point)
214
-
215
- $ contractspec-bun-build types
1
+
2
+ $ contractspec-bun-build prebuild
3
+ $ bun run prebuild && bun run build:bundle && bun run build:types
4
+ $ contractspec-bun-build prebuild
5
+ $ contractspec-bun-build transpile
6
+ [contractspec-bun-build] transpile target=bun root=src entries=66
7
+ Bundled 66 modules in 42ms
8
+
9
+ ./agent.capability.js 442 bytes (entry point)
10
+ tool/tool.test-spec.js 1.38 KB (entry point)
11
+ shared/overlay-types.js 8 bytes (entry point)
12
+ run/run.test-spec.js 1.37 KB (entry point)
13
+ seeders/index.js 0.64 KB (entry point)
14
+ ./index.js 202.80 KB (entry point)
15
+ ui/index.js 78.0 KB (entry point)
16
+ ui/views/index.js 22.0 KB (entry point)
17
+ ui/renderers/index.js 14.75 KB (entry point)
18
+ ui/renderers/agent-list.markdown.js 1.49 KB (entry point)
19
+ ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
20
+ ui/renderers/dashboard.markdown.js 4.30 KB (entry point)
21
+ ui/renderers/run-list.markdown.js 1.39 KB (entry point)
22
+ ui/renderers/tool-registry.markdown.js 1.64 KB (entry point)
23
+ ui/views/AgentListView.js 5.35 KB (entry point)
24
+ ui/modals/index.js 22.38 KB (entry point)
25
+ ui/overlays/index.js 1.46 KB (entry point)
26
+ ui/overlays/demo-overlays.js 1.46 KB (entry point)
27
+ ui/AgentDashboard.js 63.0 KB (entry point)
28
+ ui/modals/AgentActionsModal.js 12.32 KB (entry point)
29
+ ui/modals/CreateAgentModal.js 9.99 KB (entry point)
30
+ ui/AgentRunList.js 9.39 KB (entry point)
31
+ ui/views/RunListView.js 9.33 KB (entry point)
32
+ ui/AgentToolRegistry.js 6.99 KB (entry point)
33
+ ui/views/ToolRegistryView.js 6.92 KB (entry point)
34
+ ui/hooks/index.js 9.30 KB (entry point)
35
+ ui/hooks/useRunList.js 1.69 KB (entry point)
36
+ ui/hooks/useToolList.js 2.52 KB (entry point)
37
+ ui/hooks/useAgentList.js 1.69 KB (entry point)
38
+ ui/hooks/useAgentMutations.js 3.18 KB (entry point)
39
+ tool/index.js 28.61 KB (entry point)
40
+ tool/tool.entity.js 2.65 KB (entry point)
41
+ tool/tool.event.js 3.25 KB (entry point)
42
+ tool/tool.operation.js 14.62 KB (entry point)
43
+ shared/index.js 9.67 KB (entry point)
44
+ presentations/index.js 25.20 KB (entry point)
45
+ tool/tool.presentation.js 6.41 KB (entry point)
46
+ tool/tool.schema.js 4.94 KB (entry point)
47
+ tool/tool.enum.js 0.52 KB (entry point)
48
+ run/index.js 43.50 KB (entry point)
49
+ run/run.presentation.js 8.0 KB (entry point)
50
+ run/run.entity.js 5.11 KB (entry point)
51
+ run/run.event.js 8.26 KB (entry point)
52
+ run/run.operation.js 20.69 KB (entry point)
53
+ run/run.schema.js 6.62 KB (entry point)
54
+ run/run.enum.js 0.60 KB (entry point)
55
+ agent/agent.test-spec.js 1.46 KB (entry point)
56
+ agent/index.js 39.69 KB (entry point)
57
+ docs/index.js 3.74 KB (entry point)
58
+ docs/agent-console.docblock.js 3.74 KB (entry point)
59
+ ./example.js 1.25 KB (entry point)
60
+ handlers/index.js 25.34 KB (entry point)
61
+ tool/tool.handler.js 6.38 KB (entry point)
62
+ run/run.handler.js 7.61 KB (entry point)
63
+ shared/mock-runs.js 3.0 KB (entry point)
64
+ handlers/agent.handlers.js 9.24 KB (entry point)
65
+ ./agent.feature.js 4.70 KB (entry point)
66
+ agent/agent.entity.js 3.92 KB (entry point)
67
+ agent/agent.handler.js 8.88 KB (entry point)
68
+ shared/mock-tools.js 4.15 KB (entry point)
69
+ shared/mock-agents.js 2.54 KB (entry point)
70
+ agent/agent.operation.js 24.28 KB (entry point)
71
+ agent/agent.event.js 4.1 KB (entry point)
72
+ agent/agent.presentation.js 10.36 KB (entry point)
73
+ agent/agent.schema.js 8.13 KB (entry point)
74
+ agent/agent.enum.js 467 bytes (entry point)
75
+
76
+ [contractspec-bun-build] transpile target=node root=src entries=66
77
+ Bundled 66 modules in 66ms
78
+
79
+ ./agent.capability.js 434 bytes (entry point)
80
+ tool/tool.test-spec.js 1.38 KB (entry point)
81
+ shared/overlay-types.js 0 KB (entry point)
82
+ run/run.test-spec.js 1.36 KB (entry point)
83
+ seeders/index.js 0.63 KB (entry point)
84
+ ./index.js 202.74 KB (entry point)
85
+ ui/index.js 77.99 KB (entry point)
86
+ ui/views/index.js 22.00 KB (entry point)
87
+ ui/renderers/index.js 14.73 KB (entry point)
88
+ ui/renderers/agent-list.markdown.js 1.48 KB (entry point)
89
+ ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
90
+ ui/renderers/dashboard.markdown.js 4.29 KB (entry point)
91
+ ui/renderers/run-list.markdown.js 1.39 KB (entry point)
92
+ ui/renderers/tool-registry.markdown.js 1.62 KB (entry point)
93
+ ui/views/AgentListView.js 5.34 KB (entry point)
94
+ ui/modals/index.js 22.36 KB (entry point)
95
+ ui/overlays/index.js 1.45 KB (entry point)
96
+ ui/overlays/demo-overlays.js 1.45 KB (entry point)
97
+ ui/AgentDashboard.js 62.97 KB (entry point)
98
+ ui/modals/AgentActionsModal.js 12.29 KB (entry point)
99
+ ui/modals/CreateAgentModal.js 9.99 KB (entry point)
100
+ ui/AgentRunList.js 9.38 KB (entry point)
101
+ ui/views/RunListView.js 9.32 KB (entry point)
102
+ ui/AgentToolRegistry.js 6.97 KB (entry point)
103
+ ui/views/ToolRegistryView.js 6.91 KB (entry point)
104
+ ui/hooks/index.js 9.29 KB (entry point)
105
+ ui/hooks/useRunList.js 1.69 KB (entry point)
106
+ ui/hooks/useToolList.js 2.51 KB (entry point)
107
+ ui/hooks/useAgentList.js 1.68 KB (entry point)
108
+ ui/hooks/useAgentMutations.js 3.18 KB (entry point)
109
+ tool/index.js 28.60 KB (entry point)
110
+ tool/tool.entity.js 2.64 KB (entry point)
111
+ tool/tool.event.js 3.24 KB (entry point)
112
+ tool/tool.operation.js 14.62 KB (entry point)
113
+ shared/index.js 9.67 KB (entry point)
114
+ presentations/index.js 25.19 KB (entry point)
115
+ tool/tool.presentation.js 6.40 KB (entry point)
116
+ tool/tool.schema.js 4.93 KB (entry point)
117
+ tool/tool.enum.js 0.51 KB (entry point)
118
+ run/index.js 43.49 KB (entry point)
119
+ run/run.presentation.js 8.0 KB (entry point)
120
+ run/run.entity.js 5.1 KB (entry point)
121
+ run/run.event.js 8.25 KB (entry point)
122
+ run/run.operation.js 20.68 KB (entry point)
123
+ run/run.schema.js 6.61 KB (entry point)
124
+ run/run.enum.js 0.59 KB (entry point)
125
+ agent/agent.test-spec.js 1.46 KB (entry point)
126
+ agent/index.js 39.68 KB (entry point)
127
+ docs/index.js 3.72 KB (entry point)
128
+ docs/agent-console.docblock.js 3.72 KB (entry point)
129
+ ./example.js 1.24 KB (entry point)
130
+ handlers/index.js 25.33 KB (entry point)
131
+ tool/tool.handler.js 6.37 KB (entry point)
132
+ run/run.handler.js 7.60 KB (entry point)
133
+ shared/mock-runs.js 3.0 KB (entry point)
134
+ handlers/agent.handlers.js 9.24 KB (entry point)
135
+ ./agent.feature.js 4.69 KB (entry point)
136
+ agent/agent.entity.js 3.92 KB (entry point)
137
+ agent/agent.handler.js 8.88 KB (entry point)
138
+ shared/mock-tools.js 4.14 KB (entry point)
139
+ shared/mock-agents.js 2.54 KB (entry point)
140
+ agent/agent.operation.js 24.28 KB (entry point)
141
+ agent/agent.event.js 4.1 KB (entry point)
142
+ agent/agent.presentation.js 10.35 KB (entry point)
143
+ agent/agent.schema.js 8.13 KB (entry point)
144
+ agent/agent.enum.js 459 bytes (entry point)
145
+
146
+ [contractspec-bun-build] transpile target=browser root=src entries=66
147
+ Bundled 66 modules in 38ms
148
+
149
+ ./agent.capability.js 434 bytes (entry point)
150
+ tool/tool.test-spec.js 1.38 KB (entry point)
151
+ shared/overlay-types.js 0 KB (entry point)
152
+ run/run.test-spec.js 1.36 KB (entry point)
153
+ seeders/index.js 0.63 KB (entry point)
154
+ ./index.js 202.74 KB (entry point)
155
+ ui/index.js 77.99 KB (entry point)
156
+ ui/views/index.js 22.00 KB (entry point)
157
+ ui/renderers/index.js 14.73 KB (entry point)
158
+ ui/renderers/agent-list.markdown.js 1.48 KB (entry point)
159
+ ui/renderers/agent-list.renderer.js 5.91 KB (entry point)
160
+ ui/renderers/dashboard.markdown.js 4.29 KB (entry point)
161
+ ui/renderers/run-list.markdown.js 1.39 KB (entry point)
162
+ ui/renderers/tool-registry.markdown.js 1.62 KB (entry point)
163
+ ui/views/AgentListView.js 5.34 KB (entry point)
164
+ ui/modals/index.js 22.36 KB (entry point)
165
+ ui/overlays/index.js 1.45 KB (entry point)
166
+ ui/overlays/demo-overlays.js 1.45 KB (entry point)
167
+ ui/AgentDashboard.js 62.97 KB (entry point)
168
+ ui/modals/AgentActionsModal.js 12.29 KB (entry point)
169
+ ui/modals/CreateAgentModal.js 9.99 KB (entry point)
170
+ ui/AgentRunList.js 9.38 KB (entry point)
171
+ ui/views/RunListView.js 9.32 KB (entry point)
172
+ ui/AgentToolRegistry.js 6.97 KB (entry point)
173
+ ui/views/ToolRegistryView.js 6.91 KB (entry point)
174
+ ui/hooks/index.js 9.29 KB (entry point)
175
+ ui/hooks/useRunList.js 1.69 KB (entry point)
176
+ ui/hooks/useToolList.js 2.51 KB (entry point)
177
+ ui/hooks/useAgentList.js 1.68 KB (entry point)
178
+ ui/hooks/useAgentMutations.js 3.18 KB (entry point)
179
+ tool/index.js 28.60 KB (entry point)
180
+ tool/tool.entity.js 2.64 KB (entry point)
181
+ tool/tool.event.js 3.24 KB (entry point)
182
+ tool/tool.operation.js 14.62 KB (entry point)
183
+ shared/index.js 9.67 KB (entry point)
184
+ presentations/index.js 25.19 KB (entry point)
185
+ tool/tool.presentation.js 6.40 KB (entry point)
186
+ tool/tool.schema.js 4.93 KB (entry point)
187
+ tool/tool.enum.js 0.51 KB (entry point)
188
+ run/index.js 43.49 KB (entry point)
189
+ run/run.presentation.js 8.0 KB (entry point)
190
+ run/run.entity.js 5.1 KB (entry point)
191
+ run/run.event.js 8.25 KB (entry point)
192
+ run/run.operation.js 20.68 KB (entry point)
193
+ run/run.schema.js 6.61 KB (entry point)
194
+ run/run.enum.js 0.59 KB (entry point)
195
+ agent/agent.test-spec.js 1.46 KB (entry point)
196
+ agent/index.js 39.68 KB (entry point)
197
+ docs/index.js 3.72 KB (entry point)
198
+ docs/agent-console.docblock.js 3.72 KB (entry point)
199
+ ./example.js 1.24 KB (entry point)
200
+ handlers/index.js 25.33 KB (entry point)
201
+ tool/tool.handler.js 6.37 KB (entry point)
202
+ run/run.handler.js 7.60 KB (entry point)
203
+ shared/mock-runs.js 3.0 KB (entry point)
204
+ handlers/agent.handlers.js 9.24 KB (entry point)
205
+ ./agent.feature.js 4.69 KB (entry point)
206
+ agent/agent.entity.js 3.92 KB (entry point)
207
+ agent/agent.handler.js 8.88 KB (entry point)
208
+ shared/mock-tools.js 4.14 KB (entry point)
209
+ shared/mock-agents.js 2.54 KB (entry point)
210
+ agent/agent.operation.js 24.28 KB (entry point)
211
+ agent/agent.event.js 4.1 KB (entry point)
212
+ agent/agent.presentation.js 10.35 KB (entry point)
213
+ agent/agent.schema.js 8.13 KB (entry point)
214
+ agent/agent.enum.js 459 bytes (entry point)
215
+
216
+ $ contractspec-bun-build types
@@ -1 +1,2 @@
1
- $ contractspec-bun-build prebuild
1
+
2
+ $ contractspec-bun-build prebuild
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @contractspec/example.agent-console
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0ee467a: feat: improve ai and customization
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0ee467a]
12
+ - Updated dependencies [56ee8e6]
13
+ - @contractspec/lib.example-shared-ui@3.4.0
14
+ - @contractspec/lib.runtime-sandbox@2.4.0
15
+ - @contractspec/lib.contracts-spec@3.4.0
16
+ - @contractspec/lib.design-system@3.4.0
17
+ - @contractspec/lib.schema@3.4.0
18
+
19
+ ## 3.3.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 890a0da: fix: stability improvements
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [890a0da]
28
+ - @contractspec/lib.example-shared-ui@3.3.0
29
+ - @contractspec/lib.runtime-sandbox@2.3.0
30
+ - @contractspec/lib.contracts-spec@3.3.0
31
+ - @contractspec/lib.design-system@3.3.0
32
+ - @contractspec/lib.schema@3.3.0
33
+
3
34
  ## 3.2.0
4
35
 
5
36
  ### Minor Changes
@@ -112,7 +112,15 @@ var AgentConsoleFeature = defineFeature({
112
112
  { key: "jobs", version: "1.0.0" }
113
113
  ],
114
114
  provides: [{ key: "agent", version: "1.0.0" }]
115
- }
115
+ },
116
+ telemetry: [{ key: "agent-console.telemetry", version: "1.0.0" }],
117
+ jobs: [{ key: "agent-console.job.run-execution", version: "1.0.0" }],
118
+ docs: [
119
+ "docs.examples.agent-console.goal",
120
+ "docs.examples.agent-console.usage",
121
+ "docs.examples.agent-console.reference",
122
+ "docs.examples.agent-console.constraints"
123
+ ]
116
124
  });
117
125
  export {
118
126
  AgentConsoleFeature
@@ -111,7 +111,15 @@ var AgentConsoleFeature = defineFeature({
111
111
  { key: "jobs", version: "1.0.0" }
112
112
  ],
113
113
  provides: [{ key: "agent", version: "1.0.0" }]
114
- }
114
+ },
115
+ telemetry: [{ key: "agent-console.telemetry", version: "1.0.0" }],
116
+ jobs: [{ key: "agent-console.job.run-execution", version: "1.0.0" }],
117
+ docs: [
118
+ "docs.examples.agent-console.goal",
119
+ "docs.examples.agent-console.usage",
120
+ "docs.examples.agent-console.reference",
121
+ "docs.examples.agent-console.constraints"
122
+ ]
115
123
  });
116
124
  export {
117
125
  AgentConsoleFeature
@@ -237,11 +237,28 @@ function createAgentHandlers(db) {
237
237
  totalCostUsd: data?.totalCost ?? 0
238
238
  };
239
239
  }
240
+ async function executeAgent(input) {
241
+ const agent = await getAgent(input.agentId);
242
+ if (!agent)
243
+ throw new Error("AGENT_NOT_FOUND");
244
+ if (agent.status !== "ACTIVE")
245
+ throw new Error("AGENT_NOT_ACTIVE");
246
+ const id = generateId("run");
247
+ const now = new Date().toISOString();
248
+ const pid = input.context?.projectId ?? agent.projectId;
249
+ await db.execute(`INSERT INTO agent_run (id, projectId, agentId, status, input, totalTokens, promptTokens, completionTokens, estimatedCostUsd, queuedAt)
250
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, [id, pid, input.agentId, "QUEUED", input.message, 0, 0, 0, 0, now]);
251
+ const rows = (await db.query(`SELECT r.*, a.name as agentName FROM agent_run r LEFT JOIN agent_definition a ON r.agentId = a.id WHERE r.id = ?`, [id])).rows;
252
+ if (!rows[0])
253
+ throw new Error("Failed to retrieve created run");
254
+ return rowToRun(rows[0], rows[0].agentName);
255
+ }
240
256
  return {
241
257
  listAgents,
242
258
  getAgent,
243
259
  createAgent,
244
260
  updateAgent,
261
+ executeAgent,
245
262
  listTools,
246
263
  listRuns,
247
264
  getRunMetrics