mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-01 20:44:53 +00:00
Implement the M6 milestone: all live maps, journals, subscriptions, activity and cache keys inside kap-server are now keyed by the full SessionRef, while the /api/v1/ws wire stays byte-identical. - Resolve bare session ids once at attach time through the v1 resolver, pin the ref on the subscription, and address every broadcaster, transcript, fs-watch, and replay operation by ref; ambiguous or unavailable ids get a compatible ack error and no subscription. - Re-key the transcript stores, op journals, event journals (now per-runtime directories), snapshot caches, and the lifecycle tracked map by sessionRefKey; bare-id lookups answer only on a unique match. - Route internal session events by an internal runtimeId payload field (never projected onto the wire) with resolver fallback; keep the active-state queue append synchronous to preserve frame ordering. - Add multi-runtime isolation tests (same sessionId on two runtimes never crosses transcript/prompt/journal streams) and a repeatable black-box comparison harness that diffs a base-commit server against this build over REST, WS, and export scenarios. - Widen node-sdk PlanInfo.path to string|null to match the engine type and fix the stale resolver-fallback comment in the broadcaster. |
||
|---|---|---|
| .. | ||
| auth-facade.test.ts | ||
| catalog.test.ts | ||
| config.test.ts | ||
| create-session-transport.test.ts | ||
| export-session.test.ts | ||
| kimi-code-model-provider.test.ts | ||
| kimi-harness.test.ts | ||
| list-sessions.test.ts | ||
| local-logging.test.ts | ||
| mcp-config.test.ts | ||
| rename-session.test.ts | ||
| runtime-provider-identity.test.ts | ||
| runtime-provider-oauth.test.ts | ||
| sdk-rpc-client-v2.test.ts | ||
| session-approval-handler.test.ts | ||
| session-background-tasks.test.ts | ||
| session-cancel.test.ts | ||
| session-context.test.ts | ||
| session-event-types.test.ts | ||
| session-goal.test.ts | ||
| session-plan-compact-usage-resume.test.ts | ||
| session-prompt-events.test.ts | ||
| session-prompt-input.test.ts | ||
| session-question-handler.test.ts | ||
| session-runtime-helpers.ts | ||
| session-set-model.test.ts | ||
| session-set-permission.test.ts | ||
| session-set-thinking.test.ts | ||
| session-skills.test.ts | ||
| session-steer.test.ts | ||
| telemetry.ts | ||
| test-identity.ts | ||
| v1-v2-parity.test.ts | ||