Introduce pkg/events with filtered channels, subscription policies, backpressure, and stats. Wire AgentLoop to dual-publish legacy agent events into runtime events while preserving old event APIs. Validation: go test ./pkg/events/... ./pkg/agent; go test -race ./pkg/events/...; make lint
3 lines
174 B
Go
3 lines
174 B
Go
// Package events provides the process-local runtime event bus used to observe
|
|
// PicoClaw components without coupling them to agent-specific event envelopes.
|
|
package events
|