Cursor rule Cursor
Do not use raw Promise.resolve, Promise.all, or Promise.race in plugin code—NotePlan's JSContext may not have them. Use polyfills from @helpers/promisePolyfill.js: initPromisePolyfills(), promiseResolve(), promiseAll(), promiseRace(), waitForCondition(), setTimeoutPolyfill(). After creating/modifying notes, call…