feat(tui): refresh agents after update events

This commit is contained in:
Dax Raad
2026-06-30 00:18:26 -04:00
parent 4ce830a919
commit 02cb350880
17 changed files with 576 additions and 30 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ const registry = ToolRegistry.layer.pipe(
Layer.provide(applications),
Layer.provide(ToolOutputStore.defaultLayer),
)
const agents = AgentV2.layer
const agents = AgentV2.layer.pipe(Layer.provide(EventV2.defaultLayer))
const echo = Layer.effectDiscard(
ToolRegistry.Service.use((registry) =>
registry.register({