From 30cda487eafd17ee5ee1d77b294f3e3fd7642e59 Mon Sep 17 00:00:00 2001 From: Turtle Date: Thu, 30 Jul 2026 21:34:15 +0800 Subject: [PATCH] fix(cli): map @deepseek-ai/dsh-tui/prompt to source in tsconfig paths The tui.cordis.yml entry for @deepseek-ai/dsh-tui/prompt had no tsconfig paths mapping: the @deepseek-ai/dsh-* wildcard substitutes tui/prompt whole into nonexistent candidates, so the tsx source launch fell back to package exports and required built lib/prompt.js. pnpm dsh failed at startup on every clean tree (fresh worktrees) with 'plugin(s) failed to load'. --- tsconfig.base.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.base.json b/tsconfig.base.json index 527dc44758..801ed2dc66 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -58,6 +58,7 @@ "@deepseek-ai/dsh-llm/brand": ["./packages/llm/llm/src/brand.ts"], "@deepseek-ai/dsh-llm/message": ["./packages/llm/llm/src/message.ts"], "@deepseek-ai/dsh-commands/brand": ["./packages/ui/commands/src/brand.ts"], + "@deepseek-ai/dsh-tui/prompt": ["./packages/ui/tui/src/prompt.ts"], "@deepseek-ai/dsh-tools/presentation": ["./packages/core/tools/src/presentation.ts"], "@deepseek-ai/dsh-user-approval/types": ["./packages/ui/user-approval/src/types.ts"], "@deepseek-ai/dsh-user-interaction/types": ["./packages/ui/user-interaction/src/types.ts"],