Lightweight coding agent that runs in your terminal
Rust
Re-enable SDK image forwarding test (#5934)
pakrym-oaibf35105af684
diff --git a/sdk/typescript/samples/helpers.ts b/sdk/typescript/samples/helpers.tsindex c9d851c8ae..c4643091c7 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.tsindex df82893480..182878f55b 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 =| AgentMessageItemdiff --git a/sdk/typescript/src/outputSchemaFile.ts b/sdk/typescript/src/outputSchemaFile.tsindex 55d2c41526..13adb4c721 100644--- a/sdk/typescript/src/outputSchemaFile.ts+++ b/sdk/typescript/src/outputSchemaFile.ts@@ -21,8 +21,7 @@ export async function createOutputSchemaFile(schema: unknown): Promise<OutputSchconst cleanup = async () => {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.tsindex a8a9c7fbe8..f495b1e6ec 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: [