Commit 038d838
committed
refactor(index): extract config loading and handlers to reduce file size
Reduce index.ts from 724 to 458 lines (37% reduction):
- Extract config loading to plugin-config.ts
- Extract ModelCacheState to plugin-state.ts
- Extract config handler to plugin-handlers/config-handler.ts
All 408 tests pass, TypeScript typecheck clean.
🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)1 parent dc057e9 commit 038d838
File tree
5 files changed
+546
-272
lines changed- src
- plugin-handlers
5 files changed
+546
-272
lines changed
0 commit comments