fix: second work-over

This commit is contained in:
2026-02-27 09:06:56 +01:00
parent 00cf30a8f8
commit 467ef10e77
11 changed files with 1040 additions and 8 deletions

View File

@@ -772,6 +772,9 @@ export function registerIpcHandlers(): void {
return engine.getAllScripts();
});
// Internal: used by the editor macro plugin to detect known Python macros.
// Intentionally excluded from the Python API contract and API.md because
// it is an internal renderer helper, not a user-facing scripting API.
safeHandle('scripts:getEnabledMacroSlugs', async () => {
const engine = getScriptEngine();
const scripts = await engine.getEnabledMacroScripts();