Fix Pi provider display name

AI-assisted change.
This commit is contained in:
Paul Bakaus
2026-07-29 14:28:14 -07:00
parent 6c1aff7d1f
commit 1132e7fff0
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const PROVIDER_DISPLAY = {
'.grok': { name: 'Grok Build', input: 'grok' },
'.kiro': { name: 'Kiro', input: 'kiro' },
'.opencode': { name: 'OpenCode', input: 'opencode' },
'.pi': { name: 'Project Indigo', input: 'pi' },
'.pi': { name: 'Pi Coding Agent', input: 'pi' },
'.qoder': { name: 'Qoder', input: 'qoder' },
'.rovodev': { name: 'Rovo Dev', input: 'rovo-dev' },
'.trae': { name: 'Trae', input: 'trae' },
+10 -2
View File
@@ -737,13 +737,21 @@ describe('skills install/update: local universal bundle e2e', () => {
installRoot: home,
installPath: join(home, '.agents', 'skills'),
},
{
provider: '.pi',
scope: 'user',
foundPath: join(home, '.pi'),
installRoot: home,
installPath: join(home, '.pi', 'agent', 'skills'),
},
];
const lines = formatInstallDetectionLines(tmp, detections, home);
expect(lines).toEqual([
'Detected harnesses:',
' Claude Code ~/.claude',
' Codex CLI ~/.codex',
' Claude Code ~/.claude',
' Codex CLI ~/.codex',
' Pi Coding Agent ~/.pi',
]);
rmSync(tmp, { recursive: true, force: true });