From 495931be792371d7be9d66591d952398b8931d3d Mon Sep 17 00:00:00 2001 From: Mahima Shanware Date: Tue, 7 Apr 2026 05:53:38 +0000 Subject: [PATCH] fix(core): remove duplicate isSubpath import Moved the isSubpath and resolveToRealPath imports to the top of the file to satisfy the static analysis bot, which failed to detect the existing import statement further down in the file. --- packages/core/src/config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 71d427b56e..092effd275 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -7,6 +7,7 @@ import * as fs from 'node:fs'; import * as path from 'node:path'; import { SecurityError } from '../core/errors.js'; +import { isSubpath, resolveToRealPath } from '../utils/paths.js'; import { SandboxPolicyManager } from '../policy/sandboxPolicyManager.js'; import { inspect } from 'node:util'; import process from 'node:process'; @@ -169,7 +170,6 @@ import { SkillManager, type SkillDefinition } from '../skills/skillManager.js'; import { startupProfiler } from '../telemetry/startupProfiler.js'; import type { AgentDefinition } from '../agents/types.js'; import { fetchAdminControls } from '../code_assist/admin/admin_controls.js'; -import { isSubpath, resolveToRealPath } from '../utils/paths.js'; import { InjectionService } from './injectionService.js'; import { ExecutionLifecycleService } from '../services/executionLifecycleService.js'; import { WORKSPACE_POLICY_TIER } from '../policy/config.js';