From f69e076fba87677ea7bddb0e661dd9b691ace2ae Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 29 Mar 2026 13:10:00 +0000 Subject: [PATCH] fix(studio): correct studio dist path resolution for published package The bundled studio path candidate used `../studio` which resolved outside the dist/ directory. Fixed to `./studio` so globally installed `agentv studio` finds dist/studio/ correctly. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/cli/src/commands/results/serve.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cli/src/commands/results/serve.ts b/apps/cli/src/commands/results/serve.ts index 35eb58ae..ec39f2cc 100644 --- a/apps/cli/src/commands/results/serve.ts +++ b/apps/cli/src/commands/results/serve.ts @@ -733,8 +733,8 @@ function resolveStudioDistDir(): string | undefined { path.resolve(currentDir, '../../../../studio/dist'), // From dist/ → sibling apps/studio/dist (monorepo dev) path.resolve(currentDir, '../../studio/dist'), - // Bundled inside CLI dist (published package) - path.resolve(currentDir, '../studio'), + // Bundled inside CLI dist (published package: dist/studio/) + path.resolve(currentDir, 'studio'), // From dist/ in monorepo root context path.resolve(currentDir, '../../../apps/studio/dist'), ];