From 758ea3c5a18043715d8bf12e1cc09b81c806866a Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 19 Feb 2026 14:38:49 +0100 Subject: [PATCH] style: apply oxfmt import ordering for check --- src/gateway/server-http.ts | 12 ++++++------ src/gateway/server.canvas-auth.e2e.test.ts | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gateway/server-http.ts b/src/gateway/server-http.ts index 78d16d870e..c4cc575434 100644 --- a/src/gateway/server-http.ts +++ b/src/gateway/server-http.ts @@ -1,5 +1,3 @@ -import type { TlsOptions } from "node:tls"; -import type { WebSocketServer } from "ws"; import { createServer as createHttpServer, type Server as HttpServer, @@ -7,10 +5,8 @@ import { type ServerResponse, } from "node:http"; import { createServer as createHttpsServer } from "node:https"; -import type { CanvasHostHandler } from "../canvas-host/server.js"; -import type { createSubsystemLogger } from "../logging/subsystem.js"; -import type { AuthRateLimiter } from "./auth-rate-limit.js"; -import type { GatewayWsClient } from "./server/ws-types.js"; +import type { TlsOptions } from "node:tls"; +import type { WebSocketServer } from "ws"; import { resolveAgentAvatar } from "../agents/identity-avatar.js"; import { A2UI_PATH, @@ -18,9 +14,12 @@ import { CANVAS_WS_PATH, handleA2uiHttpRequest, } from "../canvas-host/a2ui.js"; +import type { CanvasHostHandler } from "../canvas-host/server.js"; import { loadConfig } from "../config/config.js"; +import type { createSubsystemLogger } from "../logging/subsystem.js"; import { safeEqualSecret } from "../security/secret-equal.js"; import { handleSlackHttpRequest } from "../slack/http/index.js"; +import type { AuthRateLimiter } from "./auth-rate-limit.js"; import { authorizeGatewayConnect, isLocalDirectRequest, @@ -59,6 +58,7 @@ import { import { handleOpenAiHttpRequest } from "./openai-http.js"; import { handleOpenResponsesHttpRequest } from "./openresponses-http.js"; import { GATEWAY_CLIENT_MODES, normalizeGatewayClientMode } from "./protocol/client-info.js"; +import type { GatewayWsClient } from "./server/ws-types.js"; import { handleToolsInvokeHttpRequest } from "./tools-invoke-http.js"; type SubsystemLogger = ReturnType; diff --git a/src/gateway/server.canvas-auth.e2e.test.ts b/src/gateway/server.canvas-auth.e2e.test.ts index a48f905311..932fceb239 100644 --- a/src/gateway/server.canvas-auth.e2e.test.ts +++ b/src/gateway/server.canvas-auth.e2e.test.ts @@ -1,11 +1,11 @@ import { describe, expect, test } from "vitest"; import { WebSocket, WebSocketServer } from "ws"; -import type { CanvasHostHandler } from "../canvas-host/server.js"; -import type { ResolvedGatewayAuth } from "./auth.js"; -import type { GatewayWsClient } from "./server/ws-types.js"; import { A2UI_PATH, CANVAS_HOST_PATH, CANVAS_WS_PATH } from "../canvas-host/a2ui.js"; +import type { CanvasHostHandler } from "../canvas-host/server.js"; import { createAuthRateLimiter } from "./auth-rate-limit.js"; +import type { ResolvedGatewayAuth } from "./auth.js"; import { attachGatewayUpgradeHandler, createGatewayHttpServer } from "./server-http.js"; +import type { GatewayWsClient } from "./server/ws-types.js"; import { withTempConfig } from "./test-temp-config.js"; async function listen(server: ReturnType): Promise<{