Polish setup output formatting

This commit is contained in:
Andrey Avtomonov 2026-05-16 01:04:44 +02:00
parent 0361449c8a
commit e98d1db39f
2 changed files with 7 additions and 3 deletions

View file

@ -947,7 +947,7 @@ export async function runKtxSetupAgentsStep(
'',
bold('2. Install the KTX plugin'),
' Open Claude Desktop → Settings → Plugins and install from file:',
` ${dim(pluginPath)}`,
` 📦 ${dim(pluginPath)}`,
].join('\n');
}
}
@ -963,7 +963,9 @@ export async function runKtxSetupAgentsStep(
io,
);
if (claudeDesktopTutorial) {
setupUi.note(claudeDesktopTutorial, 'Finish Claude Desktop setup', io);
setupUi.note(claudeDesktopTutorial, 'Finish Claude Desktop setup', io, {
format: (line) => line,
});
}
const nextStepBlocks: string[] = [];
for (const notice of notices) nextStepBlocks.push(notice);

View file

@ -708,9 +708,11 @@ async function runKtxSetupInner(args: KtxSetupArgs, io: KtxCliIo, deps: KtxSetup
await commitSetupConfigChanges(projectResult.projectDir);
const status = await readKtxSetupStatus(projectResult.projectDir);
io.stdout.write(formatKtxSetupStatus(status));
const focusedOnAgents = args.agents || entryAction === 'agents';
if (!focusedOnAgents) {
setupUi.note(formatKtxSetupStatus(status).trimEnd(), 'Project status', io, {
format: (line) => line,
});
setupUi.note(
formatSetupNextStepLines({
setupReady: setupStatusReady(status),