mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-25 08:34:39 +00:00
Move config-section registration out of Service constructors and into import-time contributions, mirroring the existing registerScopedService pattern so a section is available as soon as its domain barrel is imported. - add configSectionContributions collector (module-level, no DI) with registerConfigSection / get / _clearForTests - ConfigRegistry drains the collected contributions on construction - each owner configSection.ts calls registerConfigSection at top level (providers, models, modelCatalog, experimental, thinking/defaultThinking, loopControl, permission, hooks, background, microCompaction, cron) - domain barrels import their configSection to guarantee the side effect - remove registerSection calls and the now-unused IConfigRegistry injection from the 11 owning Services The KIMI_MODEL_* effective overlay is still registered by modelService and left for a follow-up. |
||
|---|---|---|
| .. | ||
| acp-adapter | ||
| agent-core | ||
| agent-core-v2 | ||
| kaos | ||
| kimi-migration-legacy | ||
| kosong | ||
| migration-legacy | ||
| minidb | ||
| node-sdk | ||
| oauth | ||
| protocol | ||
| server | ||
| server-e2e | ||
| server-v2 | ||
| telemetry | ||