feat(sdk): event bus — lightweight publish-subscribe for inter-addon messaging #382
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a centralized event bus so addons can communicate without importing each other directly. Avoids circular dependencies and keeps addons loosely coupled.
Current state (MISSING)
No pub/sub, no named event channels, no
emit()/on()API. Addons are fully isolated — confirmed that no addon imports another (import silo,from gears, etc. do not appear anywhere inmods/). The only shared state is through the context and origin systems.Proposed API
silo.document_locked,gears.generation_complete, etc.Implementation notes
kindred_sdk/events.pyevent_name -> [callbacks]kindred_sdk.__init__Roadmap
v0.2.0 — SDK Core