From eab2d579c1b00a32a6a9b7af8a3f56f4bcfc8e6e Mon Sep 17 00:00:00 2001 From: _Kerman Date: Thu, 25 Jun 2026 17:41:17 +0800 Subject: [PATCH] fix: import paths --- packages/agent-core-v2/src/microCompaction/microCompaction.ts | 2 +- .../src/microCompaction/microCompactionService.ts | 4 ++-- packages/agent-core-v2/src/toolRegistry/toolRegistry.ts | 2 +- .../agent-core-v2/src/toolRegistry/toolRegistryService.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/agent-core-v2/src/microCompaction/microCompaction.ts b/packages/agent-core-v2/src/microCompaction/microCompaction.ts index 03f4fad5e..426c2ec4b 100644 --- a/packages/agent-core-v2/src/microCompaction/microCompaction.ts +++ b/packages/agent-core-v2/src/microCompaction/microCompaction.ts @@ -1,5 +1,5 @@ import { createDecorator } from "#/_base/di"; -import type { ExperimentalFlagResolver } from '../../../flags'; +import type { ExperimentalFlagResolver } from '#/flags'; import type { ContextMessage } from '../types'; diff --git a/packages/agent-core-v2/src/microCompaction/microCompactionService.ts b/packages/agent-core-v2/src/microCompaction/microCompactionService.ts index 600e198d8..592bc06d9 100644 --- a/packages/agent-core-v2/src/microCompaction/microCompactionService.ts +++ b/packages/agent-core-v2/src/microCompaction/microCompactionService.ts @@ -5,12 +5,12 @@ import { registerSingleton, SyncDescriptor, } from "#/_base/di"; -import { FlagResolver, type ExperimentalFlagResolver } from '../../../flags'; +import { FlagResolver, type ExperimentalFlagResolver } from '#/flags'; import { estimateTokensForContentParts, estimateTokensForMessages, } from "#/_base/utils/tokens"; -import type { TelemetryProperties } from '../../../telemetry'; +import type { TelemetryProperties } from '#/telemetry'; import { IContextMemory } from '../contextMemory/contextMemory'; import { IContextSizeService } from '../contextSize/contextSize'; import { IProfileService } from '../profile/profile'; diff --git a/packages/agent-core-v2/src/toolRegistry/toolRegistry.ts b/packages/agent-core-v2/src/toolRegistry/toolRegistry.ts index 16dfce255..b846af31e 100644 --- a/packages/agent-core-v2/src/toolRegistry/toolRegistry.ts +++ b/packages/agent-core-v2/src/toolRegistry/toolRegistry.ts @@ -1,5 +1,5 @@ import { createDecorator, type IDisposable } from "#/_base/di"; -import type { ExecutableTool } from '../../../loop'; +import type { ExecutableTool } from '#/loop'; import type { Hooks } from '../hooks'; import type { ToolInfo, ToolSource } from '../types'; diff --git a/packages/agent-core-v2/src/toolRegistry/toolRegistryService.ts b/packages/agent-core-v2/src/toolRegistry/toolRegistryService.ts index a1b22d3d1..59a47270c 100644 --- a/packages/agent-core-v2/src/toolRegistry/toolRegistryService.ts +++ b/packages/agent-core-v2/src/toolRegistry/toolRegistryService.ts @@ -5,7 +5,7 @@ import { toDisposable, type IDisposable, } from "#/_base/di"; -import type { ExecutableTool } from '../../../loop'; +import type { ExecutableTool } from '#/loop'; import { OrderedHookSlot } from '../hooks'; import type { ToolInfo, ToolSource } from '../types'; import { IToolRegistry, type ToolRegistrationOptions } from './toolRegistry';