Release v1.01 Enhanced: Vi Control, TUI Gen5, Core Stability

This commit is contained in:
Gemini AI
2025-12-20 01:12:45 +04:00
Unverified
parent 2407c42eb9
commit 142aaeee1e
254 changed files with 44888 additions and 31025 deletions

View File

@@ -9,6 +9,7 @@ import { getSessionMemory } from './session-memory.mjs';
import { getContextManager } from './context-manager.mjs';
import { getAllSkills, getSkill, executeSkill, getSkillListDisplay } from './skills.mjs';
import { getDebugLogger } from './debug-logger.mjs';
import { THEMES, getTheme, getThemeNames } from '../bin/themes.mjs';
/**
* Process a slash command
@@ -167,6 +168,38 @@ export async function processCommand(input) {
};
}
// ═══════════════════════════════════════════════════════════════
// THEME (Vibe Upgrade)
// ═══════════════════════════════════════════════════════════════
case '/theme': {
if (!args) {
// List themes
const themeList = getThemeNames();
const display = themeList.map(t => `${t.id} - ${t.description}`).join('\n');
return {
handled: true,
response: `🎨 **Available Themes**\n${display}\n\nUsage: /theme <name>`,
action: 'show_themes'
};
}
const themeId = args.toLowerCase().trim();
if (!THEMES[themeId]) {
const themeList = getThemeNames();
const names = themeList.map(t => t.id).join(', ');
return {
handled: true,
response: `❌ Unknown theme: "${themeId}"\nAvailable: ${names}`
};
}
const theme = getTheme(themeId);
return {
handled: true,
response: `🎨 **Theme Changed: ${theme.name}**\n${theme.description}`,
action: 'set_theme',
themeId: themeId
};
}
// ═══════════════════════════════════════════════════════════════
// HELP
// ═══════════════════════════════════════════════════════════════