mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-11 01:37:31 +00:00
fix(agent-core-v2): import LifecycleScope from the L3 scopes module (#2703)
The L3 unit layer refactor moved LifecycleScope out of the _base DI kernel into the app tier, leaving the session outcome mirror with a stale import that broke typecheck and import-time evaluation on main.
This commit is contained in:
parent
03aa66ca0c
commit
fa3325404b
2 changed files with 3 additions and 2 deletions
|
|
@ -14,7 +14,8 @@
|
|||
*/
|
||||
|
||||
import { Disposable, DisposableStore } from '#/_base/di/lifecycle';
|
||||
import { LifecycleScope, ScopeActivation, registerScopedService } from '#/_base/di/scope';
|
||||
import { LifecycleScope } from '#/app/scopes';
|
||||
import { ScopeActivation, registerScopedService } from '#/_base/di/scope';
|
||||
import { IEventBus } from '#/app/event/eventBus';
|
||||
import {
|
||||
IAgentLifecycleService,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
|
||||
|
||||
import { DisposableStore } from '#/_base/di/lifecycle';
|
||||
import { LifecycleScope } from '#/app/scopes';
|
||||
import {
|
||||
_clearScopedRegistryForTests,
|
||||
LifecycleScope,
|
||||
ScopeActivation,
|
||||
registerScopedService,
|
||||
type IAgentScopeHandle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue