Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix(tui): SlashCommand not found

douran02df02a1efdf
diff --git a/jiuwenclaw/channels/tui/frontend/src/ui/app-screen.ts b/jiuwenclaw/channels/tui/frontend/src/ui/app-screen.ts
index 8a048e8db6..7d656ba997 100644
--- a/jiuwenclaw/channels/tui/frontend/src/ui/app-screen.ts
+++ b/jiuwenclaw/channels/tui/frontend/src/ui/app-screen.ts
@@ -25,7 +25,12 @@ import {
isSupportedAttachment,
syncComposerImageTokens,
} from "../core/attachments.js";
-import { CommandService, parseSlashCommand, type InstalledSkillEntry } from "../core/commands/CommandService.js";
+import {
+ CommandService,
+ parseSlashCommand,
+ type InstalledSkillEntry,
+} from "../core/commands/CommandService.js";
+import type { SlashCommand } from "../core/commands/types.js";
import { addCommandEcho, addError, addInfo } from "../core/commands/helpers.js";
import type { FileAttachment } from "../core/protocol.js";
import {