Addon registry with runtime introspection API #253
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
Expose a runtime addon registry that tracks loaded addons, their versions, status, and registered contexts. This is the data layer that a future Addon Manager UI (ROADMAP Tier 2) will consume.
Proposed API
Implementation
FreeCADAppmodule namespace so it's globally accessibleAffected files
src/Mod/Create/Init.py— populate registry during loadsrc/Mod/Create/InitGui.py— populate GUI-side registry entriesmods/sdk/kindred_sdk/registry.py— AddonInfo dataclass, registry classAcceptance criteria
FreeCAD.getAddonRegistry()returns registry object after startupFreeCAD.getAddonRegistry())Dependencies
Notes
This is the foundation for the Theme & Addon Manager UI on the ROADMAP Tier 2. The UI will read from this registry to display addon status, versions, and allow enable/disable toggling in a future iteration.