From 4d0ba2b0db71b838bf81b1748247cb1852cb7095 Mon Sep 17 00:00:00 2001 From: Baptiste Leproux Date: Mon, 5 Oct 2026 16:13:06 +0200 Subject: [PATCH] fix(ci): pin h3 version to v1 --- layer/modules/assistant/runtime/server/utils/assistant.ts | 3 +-- layer/package.json | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/layer/modules/assistant/runtime/server/utils/assistant.ts b/layer/modules/assistant/runtime/server/utils/assistant.ts index 208352f71..514c61591 100644 --- a/layer/modules/assistant/runtime/server/utils/assistant.ts +++ b/layer/modules/assistant/runtime/server/utils/assistant.ts @@ -1,8 +1,7 @@ import { toUIMessageStream, createUIMessageStreamResponse, isStepCount, smoothStream } from 'ai' import type { streamText, ToolSet } from 'ai' import { createMCPClient } from '@ai-sdk/mcp' - -type H3Event = Parameters[0] +import type { H3Event } from 'h3' type StreamTextOptions = Parameters[0] diff --git a/layer/package.json b/layer/package.json index b7e27d880..6ff7d7704 100644 --- a/layer/package.json +++ b/layer/package.json @@ -52,6 +52,7 @@ "defu": "^6.1.7", "exsolve": "^1.1.1", "git-url-parse": "^16.1.0", + "h3": "^1.15.11", "motion-v": "^2.5.1", "nuxt-agent-discovery": "^0.7.0", "nuxt-llms": "^0.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75ba74573..9fb58b281 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -351,6 +351,9 @@ importers: git-url-parse: specifier: ^16.1.0 version: 16.1.0 + h3: + specifier: 1.15.11 + version: 1.15.11 motion-v: specifier: ^2.5.1 version: 2.5.1(@vueuse/core@15.0.0(vue@3.5.43(typescript@6.0.3)))(vue@3.5.43(typescript@6.0.3))