This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-06 17:56:47 -05:00
1 parent fe70685d68
commit 64f90bd1b7
1 file changed
+8 -2
@@ -929,8 +929,14 @@
if (oncompact && '/compact'.startsWith(slashCommandQuery)) ids.push('compact');
if (onplan && '/plan'.startsWith(slashCommandQuery)) ids.push('plan');
if (onstatus && '/status'.startsWith(slashCommandQuery)) ids.push('status');
if (onskillslist && '/skills:list'.startsWith(slashCommandQuery)) ids.push('skills:list');
if ('/skills:create'.startsWith(slashCommandQuery)) ids.push('skills:create');
if (
onskillslist &&
slashCommandQuery !== '/skills:list' &&
'/skills:list'.startsWith(slashCommandQuery)
)
ids.push('skills:list');
if (slashCommandQuery !== '/skills:create' && '/skills:create'.startsWith(slashCommandQuery))
ids.push('skills:create');
return ids;
});
const showSlashCommands = $derived(slashCommandIds.length > 0);