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:
qer 2026-08-06 20:56:54 +08:00 committed by GitHub
parent 03aa66ca0c
commit fa3325404b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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,

View file

@ -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,