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)
This commit is contained in:
YeonGyu-Kim
2026-01-02 11:35:56 +09:00
parent 72cafdf250
commit 4bb01edab4
5 changed files with 545 additions and 271 deletions
+1
View File
@@ -0,0 +1 @@
export { createConfigHandler, type ConfigHandlerDeps } from "./config-handler";