[codex] Enforce canonical Node namespace imports (#3238)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
db27502aff
commit
2fa37ec183
71 files changed
+1205
-952
No files matched your search
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user