feat(modules): module registry with metadata, dependencies, and defaults #96
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?
Ref: docs/MODULES.md §2, §11 step 3
Implement the in-memory module registry as a Go package (e.g.,
internal/modules/).Module definition struct:
Registry (10 modules):
coreschemasstorageauthprojectsauditodoofreecadjobsdagFunctions:
IsEnabled(id string) boolSetEnabled(id string, enabled bool) error— validates dependenciesAll() []ModuleInfoGet(id string) *ModuleInfoValidateDependencies() errorThe registry loads state from
module_statetable on startup and is updated at runtime via admin API.Depends on #94, #95.