💄 style: Sort imports in HITL hook spec files (CI sort-imports:check)

This commit is contained in:
Danny Avila 2026-06-30 08:31:09 -04:00
parent 7f91a8a2aa
commit 760546945d
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import { logger } from '@librechat/data-schemas';
import { loadToolApprovalHooks } from './hookLoader';
import { getRegisteredToolApprovalHookCount, clearToolApprovalHooks } from './hooks';
import { loadToolApprovalHooks } from './hookLoader';
/** A conforming hook module: (options) => (context) => (input) => decision. */
const goodModule = (options?: Record<string, unknown>) => () => async () => ({

View file

@ -1,10 +1,10 @@
import type { ToolApprovalHook } from './hooks';
import {
registerToolApprovalHook,
getRegisteredToolApprovalHookCount,
clearToolApprovalHooks,
buildToolApprovalHooks,
} from './hooks';
import type { ToolApprovalHook } from './hooks';
const denyHook: ToolApprovalHook = async () => ({ decision: 'deny' });

View file

@ -1,6 +1,6 @@
import { HookRegistry } from '@librechat/agents';
import { buildHITLRunWiring } from './runtime';
import { registerToolApprovalHook, clearToolApprovalHooks } from './hooks';
import { buildHITLRunWiring } from './runtime';
describe('buildHITLRunWiring', () => {
test('returns undefined when HITL is disabled (the default)', () => {