fix(pi): expose native skills through $ completion (#1286)

This commit is contained in:
SSU-WEI HUANG
2026-08-02 08:49:46 +08:00
committed by GitHub
parent 2556729ba8
commit 545af9b4e0
4 changed files with 125 additions and 25 deletions
+4
View File
@@ -27,6 +27,10 @@ describe('getBuiltinSlashCommands', () => {
)
})
it.each(['pi', 'kimi'])('does not fall back to Claude commands for %s', (flavor) => {
expect(getBuiltinSlashCommands(flavor)).toEqual([])
})
it('includes debug only in Cursor permission modes', () => {
expect(getPermissionModesForFlavor('cursor')).toContain('debug')
expect(getPermissionModesForFlavor('claude')).not.toContain('debug')