fix(types): preserve Responses transform options (#9119)

Validated in local merge-train (devbox-vm-06-dev002) @ combined-tip (FAST gates: typecheck/complexity/cognitive/changelog/vitest — only pre-existing audit.test.ts flake). Evidence: /home/diegosouzapw/dev/proxys/OmniRoute/.claude/worktrees/merge-train-20260805-222248-suite.log
This commit is contained in:
backryun
2026-08-06 10:30:42 +09:00
committed by GitHub
parent ab6e99d7c7
commit c2ae7be0f6
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
- Preserve the Responses API transform options contract under TypeScript 7.

View File

@@ -87,7 +87,7 @@ export function createResponsesLogger(model, logsDir = null) {
export function createResponsesApiTransformStream(
logger = null,
keepaliveIntervalMs = 3000,
options = {}
options: { customToolNames?: Iterable<string> } = {}
) {
const customToolNames = new Set(options.customToolNames || []);
const state = {