mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-31 20:14:53 +00:00
Rebasing onto main pulled in the global message search feature, which predates the multi-runtime rework and conflicts with it in three places: - start.ts wired TranscriptService straight into the search service's LiveTranscriptSource, but the transcript service is now keyed by full SessionRef while the search query container carries a bare session id. Wire a composition-root adapter instead: resolve the bare id against the runtime host's live scopes (unique match only, mirroring the v1 resolver's projection semantics) and delegate by ref. - The search index scans on-disk wire.jsonl files and enumerates sessions through ISessionIndex, tripping the v1 compatibility guard's layout and index bans. Exempt search/searchService.ts with a documented reason on both rules: the feature is local-layout-only by design, multi-runtime search indexing is future work. Stale exemptions now fail the guard. - Extend the frozen /api/v1 wire baseline with the /api/v1/search route the branch predates. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.dev.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||