mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 01:14:22 +00:00
Small follow-ups from the multi-agent review: - WORK_CONTEXT_CHANGE / ActiveWorkContext JSDoc spells out that taskIds is a snapshot at emit time; plugins should re-read via getActiveWorkContext or getTasks if they need the current value. (#15) - waitForPluginAPI is now bounded — 250 attempts at 20 ms each, so if the host never injects PluginAPI the iframe logs and bails instead of busy-polling forever. (#23) - Iframe-side Hooks enum is generated from the real PluginHooks source via JSON.stringify({...PluginHooks}). The previous hand-mirrored copy was an easy drift hazard when adding a new hook. (#24) - Named pipeline: prepareStoredDoc wraps ensureSubtasksInJSON(migrateStoredDoc(...)) so the order invariant (migrate first, then backfill) is explicit at the callsite. (#20) |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||