[codex] Enforce canonical Node namespace imports (#3238)

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex authored and GitHub committed 2026-06-20 01:06:37 -07:00
1 parent db27502aff
commit 2fa37ec183
71 files changed
+1205 -952

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { pathToFileURL } from "node:url";
import * as NodeURL from "node:url";
import type { ChatAttachment, ProviderApprovalDecision, RuntimeMode } from "@t3tools/contracts";
import {
@@ -206,7 +206,7 @@ export function toOpenCodeFileParts(input: {
type: "file",
mime: attachment.mimeType,
filename: attachment.name,
url: pathToFileURL(attachmentPath).href,
url: NodeURL.pathToFileURL(attachmentPath).href,
});
}