From 380b8a18a8f4a80426b383cf2496b9991cc746ad Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Tue, 11 Aug 2026 20:45:36 +0800 Subject: [PATCH] fix(commands): declare the zod runtime dependency of the generated faces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exporting `./typert` and `./remote` ships two generated modules that `import { z } from 'zod'`, and the package declared no runtime dependency at all. Under pnpm's isolated layout nothing resolves zod for it — there is no root `node_modules/zod` to walk up to — so loading the plugin tree failed with ERR_MODULE_NOT_FOUND the moment a composition mounted the commands typert face. The two other packages exporting `./typert` both declare it; this matches them. --- packages/interaction/commands/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/interaction/commands/package.json b/packages/interaction/commands/package.json index 1b377bebce..b654451b37 100644 --- a/packages/interaction/commands/package.json +++ b/packages/interaction/commands/package.json @@ -62,6 +62,9 @@ "@deepseek-ai/dsh-type-meta": "workspace:^", "@deepseek-ai/cordis": "workspace:^" }, + "dependencies": { + "zod": "^4.4.3" + }, "devDependencies": { "@deepseek-ai/dsh-agent": "workspace:^", "@deepseek-ai/dsh-brand": "workspace:^",