From f661fc65e8131b344531d9cab40982a002515757 Mon Sep 17 00:00:00 2001 From: Razvan Placintar Date: Thu, 2 Apr 2026 09:35:10 +0300 Subject: [PATCH 1/2] fix(apollo-vertex): choices type --- apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts b/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts index 78b750af6..a9d8ceb90 100644 --- a/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts +++ b/apps/apollo-vertex/registry/ai-chat/examples/choices-tool.ts @@ -35,7 +35,7 @@ const presentChoicesDef = toolDefinition({ }); const presentChoices = presentChoicesDef.client((input) => - Object.assign({ type: "choices" }, input), + Object.assign({ type: "choices" as const }, input), ); export const choicesTools = clientTools(presentChoices); From b60c83f3dfc831c5eebdacf0e53ac32a5249ece1 Mon Sep 17 00:00:00 2001 From: Razvan Placintar Date: Thu, 2 Apr 2026 09:35:33 +0300 Subject: [PATCH 2/2] chore(apollo-vertex): add typecheck --- apps/apollo-vertex/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/apollo-vertex/package.json b/apps/apollo-vertex/package.json index 52cc986f6..b5654236f 100644 --- a/apps/apollo-vertex/package.json +++ b/apps/apollo-vertex/package.json @@ -15,7 +15,8 @@ "format:check": "biome format", "lint": "oxlint", "lint:fix": "oxlint --fix", - "lint:deps": "depcruise registry --config .dependency-cruiser.js" + "lint:deps": "depcruise registry --config .dependency-cruiser.js", + "typecheck": "tsc --noEmit" }, "keywords": [], "author": "",