feat(sdk): migrate editing context API to kcsdk #351
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?
Goal
Context/overlay registration goes through
SDKRegistry→EditingContextResolver, exposed via kcsdk pybind11.New files
src/Gui/SDK/Types.h—ContextDef,OverlayDefstructsModified files
src/Gui/SDK/SDKRegistry.h/.cpp— Addregister_context(),unregister_context(),register_overlay(),unregister_overlay(),inject_commands(),current_context(),refresh()src/Gui/SDK/bindings/kcsdk_py.cpp— Bind context functions with dict-based data exchangemods/sdk/kindred_sdk/context.py— Change from_gui().registerEditingContext(...)tokcsdk.register_context(...)with fallbackVerification
Silo addon still registers contexts.
kindred_sdk.current_context()returns correct dict.Depends on #350. Part of the KCSDK epic (#346). Phase 2 of 8.