Add help view and core memory styles

- Introduced styles for the help view including tab transitions, accordion animations, search highlighting, and responsive design.
- Implemented core memory styles with modal base styles, memory card designs, and knowledge graph visualization.
- Enhanced dark mode support across various components.
- Added loading states and empty state designs for better user experience.
This commit is contained in:
catlog22
2025-12-18 18:29:45 +08:00
parent 4577be71ce
commit 17af615fe2
46 changed files with 4941 additions and 4326 deletions

View File

@@ -758,11 +758,12 @@ async function executeCliTool(
const startTime = Date.now();
return new Promise((resolve, reject) => {
// Direct spawn without shell - CLI tools (codex/gemini/qwen) don't need shell wrapper
// This avoids Windows cmd.exe ENOENT errors and simplifies argument handling
// Windows requires shell: true for npm global commands (.cmd files)
// Unix-like systems can use shell: false for direct execution
const isWindows = process.platform === 'win32';
const child = spawn(command, args, {
cwd: workingDir,
shell: false,
shell: isWindows, // Enable shell on Windows for .cmd files
stdio: [useStdin ? 'pipe' : 'ignore', 'pipe', 'pipe']
});