diff --git a/sdk/typescript/samples/helpers.ts b/sdk/typescript/samples/helpers.ts index c9d851c8a..c4643091c 100644 --- a/sdk/typescript/samples/helpers.ts +++ b/sdk/typescript/samples/helpers.ts @@ -1,6 +1,8 @@ import path from "node:path"; export function codexPathOverride() { - return process.env.CODEX_EXECUTABLE ?? - path.join(process.cwd(), "..", "..", "codex-rs", "target", "debug", "codex"); + return ( + process.env.CODEX_EXECUTABLE ?? + path.join(process.cwd(), "..", "..", "codex-rs", "target", "debug", "codex") + ); } diff --git a/sdk/typescript/src/items.ts b/sdk/typescript/src/items.ts index df8289348..182878f55 100644 --- a/sdk/typescript/src/items.ts +++ b/sdk/typescript/src/items.ts @@ -115,7 +115,6 @@ export type TodoListItem = { items: TodoItem[]; }; - /** Canonical union of thread items and their type-specific payloads. */ export type ThreadItem = | AgentMessageItem diff --git a/sdk/typescript/src/outputSchemaFile.ts b/sdk/typescript/src/outputSchemaFile.ts index 55d2c4152..13adb4c72 100644 --- a/sdk/typescript/src/outputSchemaFile.ts +++ b/sdk/typescript/src/outputSchemaFile.ts @@ -21,8 +21,7 @@ export async function createOutputSchemaFile(schema: unknown): Promise { try { await fs.rm(schemaDir, { recursive: true, force: true }); - } - catch { + } catch { // suppress } }; diff --git a/sdk/typescript/tests/run.test.ts b/sdk/typescript/tests/run.test.ts index a8a9c7fbe..f495b1e6e 100644 --- a/sdk/typescript/tests/run.test.ts +++ b/sdk/typescript/tests/run.test.ts @@ -3,7 +3,7 @@ import os from "node:os"; import path from "node:path"; import { codexExecSpy } from "./codexExecSpy"; -import { describe, expect, it, xit } from "@jest/globals"; +import { describe, expect, it } from "@jest/globals"; import { Codex } from "../src/codex"; @@ -308,8 +308,7 @@ describe("Codex", () => { await close(); } }); - // TODO(pakrym): unskip the test - xit("forwards images to exec", async () => { + it("forwards images to exec", async () => { const { url, close } = await startResponsesTestProxy({ statusCode: 200, responseBodies: [