Skip to content

The agent that grows with you

fix(ci): sort desktop imports and stub skill display in TUI test

Brooklyn Nicholson42fc6227f6b9
diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts
index ccbdac0c408..ad30e30cae6 100644
--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts
+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts
@@ -1,6 +1,5 @@
-import { type MutableRefObject, useCallback, useRef } from 'react'
-
import { skillInvocationText } from '@hermes/shared'
+import { type MutableRefObject, useCallback, useRef } from 'react'
import { getProfiles } from '@/hermes'
import type { Translations } from '@/i18n'
diff --git a/ui-tui/src/__tests__/createSlashHandler.test.ts b/ui-tui/src/__tests__/createSlashHandler.test.ts
index b5949362add..d4c8f6c44ce 100644
--- a/ui-tui/src/__tests__/createSlashHandler.test.ts
+++ b/ui-tui/src/__tests__/createSlashHandler.test.ts
@@ -825,7 +825,12 @@ describe('createSlashHandler', () => {
}
if (method === 'command.dispatch') {
- return Promise.resolve({ type: 'skill', message: skillMessage, name: 'hermes-agent-dev' })
+ return Promise.resolve({
+ type: 'skill',
+ message: skillMessage,
+ name: 'hermes-agent-dev',
+ display: '/hermes-agent-dev'
+ })
}
return Promise.resolve({})