Skip to content

Commit 6ae4e70

Browse files
committed
refactor(plugin): delete plugin-singleton module after factory revert
The plugInOnce abstraction and its test file are no longer reachable — src/index.ts stopped importing them in the prior commit, and the consumer test files (plugin.test.ts and opencode.test.ts) dropped the _resetPluginSingleton reset calls. Deletes 227 lines of now-dead infrastructure: the singleton helper, its five test cases, and the module-level exports. The architectural rationale lives in docs/brainstorms/2026-05-10-multi-load-plugin-registration-requirements.md and the implementation plan at docs/plans/2026-05-10-002-refactor-multi-load-plugin-registration-plan.md.
1 parent 29fa5e5 commit 6ae4e70

2 files changed

Lines changed: 0 additions & 227 deletions

File tree

src/lib/plugin-singleton.ts

Lines changed: 0 additions & 109 deletions
This file was deleted.

tests/unit/plugin-singleton.test.ts

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)