From 0629d60bf41dd4622d9cd53ae10daba28fbacdac Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Sun, 7 Jun 2026 19:12:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20Sort=20imports=20to=20s?= =?UTF-8?q?atisfy=20dev=20lint=20gate=20(HITL)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/api/src/agents/hitl/policy.ts | 2 +- .../stream/__tests__/RedisJobStore.stream_integration.spec.ts | 2 +- packages/api/src/stream/__tests__/pendingAction.spec.ts | 2 +- packages/api/src/types/stream.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/api/src/agents/hitl/policy.ts b/packages/api/src/agents/hitl/policy.ts index 43013a6f5b..fb5fdefbcc 100644 --- a/packages/api/src/agents/hitl/policy.ts +++ b/packages/api/src/agents/hitl/policy.ts @@ -1,6 +1,6 @@ import { randomUUID } from 'crypto'; -import type { ToolPolicyConfig } from '@librechat/agents'; import type { Agents, TToolApprovalPolicy } from 'librechat-data-provider'; +import type { ToolPolicyConfig } from '@librechat/agents'; /** * Default decisions offered to the user for a paused tool call. diff --git a/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts b/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts index da42c37265..ca97566620 100644 --- a/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts +++ b/packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts @@ -1,7 +1,7 @@ +import { StandardGraph } from '@librechat/agents'; import { StepTypes } from 'librechat-data-provider'; import type { Agents } from 'librechat-data-provider'; import type { Redis, Cluster } from 'ioredis'; -import { StandardGraph } from '@librechat/agents'; /** Suppress winston Console transport output (survives jest.resetModules) */ jest.spyOn(console, 'log').mockImplementation(); diff --git a/packages/api/src/stream/__tests__/pendingAction.spec.ts b/packages/api/src/stream/__tests__/pendingAction.spec.ts index e81137c39c..ddf80657a4 100644 --- a/packages/api/src/stream/__tests__/pendingAction.spec.ts +++ b/packages/api/src/stream/__tests__/pendingAction.spec.ts @@ -1,8 +1,8 @@ import type { Agents } from 'librechat-data-provider'; import { InMemoryEventTransport } from '~/stream/implementations/InMemoryEventTransport'; +import { buildPendingAction, buildToolApprovalPayload } from '~/agents/hitl/policy'; import { InMemoryJobStore } from '~/stream/implementations/InMemoryJobStore'; import { GenerationJobManagerClass } from '~/stream/GenerationJobManager'; -import { buildPendingAction, buildToolApprovalPayload } from '~/agents/hitl/policy'; jest.spyOn(console, 'log').mockImplementation(); diff --git a/packages/api/src/types/stream.ts b/packages/api/src/types/stream.ts index c93d99d506..d43a1112f1 100644 --- a/packages/api/src/types/stream.ts +++ b/packages/api/src/types/stream.ts @@ -1,5 +1,5 @@ -import type { EventEmitter } from 'events'; import type { Agents } from 'librechat-data-provider'; +import type { EventEmitter } from 'events'; import type { ServerSentEvent } from '~/types'; export interface GenerationJobMetadata {