18 Commits
Author SHA1 Message Date
adnaan ba52a64b10 feat: Optimize the core components of the proxy chat interface, message rendering logic, and related icon resources. 2026-02-26 22:32:04 +08:00
adnaan fb83f411b8 feat(uiux): expand UI/UX database with comprehensive design resources
- Add icons.json with 1100+ icon definitions from Lucide library including navigation, action, and status categories
- Add react-performance.json with React optimization patterns and best practices
- Add UI reasoning framework (ui-reasoning.json) for design decision documentation
- Add web interface guidelines (web-interface.json) for consistent web UI patterns
- Add technology stack configurations for Jetpack Compose, Nuxt UI, NuxtJS, and shadcn
- Update prompts.json with enhanced prompt templates for UI/UX agent
- Refactor UiuxDatabase.ts to support new data structure and improved type safety
- Update types.ts with comprehensive type definitions for new UI/UX resources
- Enhance convert-uiux-data.js script to handle new data formats and validation
- Update unified LLM provider to support UI/UX specific model configurations
- Improve ChatMessage component rendering for UI/UX agent responses
- Update tools configuration to expose new UI/UX capabilities
2026-01-16 20:07:53 +08:00
adnaan 5834718793 feat(settings): add API import wizard and provider configuration parser
- Add ApiImportWizard component for guided provider setup workflow
- Create test-api-parser script with interactive CLI for API configuration
- Update CustomProviderEditor with improved provider management
- Support multiple authentication methods (Bearer, API Key, custom headers)
- Include streaming response parsing and tool call validation
- Add comprehensive API testing suite (streaming, tools, multi-turn, JSON output)
- Streamline provider onboarding with field-by-field configuration guidance
2026-01-11 20:49:17 +08:00
adnaan ed8afbdc04 feat: add auto-update system with UI indicator 2026-01-10 16:30:39 +08:00
adnaan da88665df8 feat(tree-sitter): add extended language parser support with wasm binaries
- Add tree-sitter WASM binaries for 11 additional languages (Bash, CSS, Elixir, HTML, Kotlin, Lua, Scala, Swift, TOML, Vue, YAML)
- Expand language parser coverage to support web, configuration, and functional programming languages
- Update download-wasm.js script with organized language categories and comments for unavailable parsers
- Add adm-zip dependency for WASM binary extraction and management
- Update package.json and package-lock.json to version 1.3.7
- Refactor LSP IPC handlers to use centralized installer utility
- Improve smartReplace utility with enhanced pattern matching capabilities
- Extend language definitions to support newly added parsers
2026-01-06 21:29:56 +08:00
adnaan 87b2583ccf chore: replace github token with placeholder in sync script
- Replace hardcoded GitHub token with placeholder value "999"
- Prevent accidental exposure of sensitive credentials in version control
- Improve security by removing personal access token from repository
2026-01-02 00:20:22 +08:00
adnaan ff0bf7a4d7 refactor: optimize indexing, security, and agent architecture
- Add progress throttling to indexService to reduce IPC message frequency
- Implement safe file path sanitization in vectorStore to prevent SQL injection
- Add batch delete operation for improved performance when removing multiple files
- Enhance GitHub release sync script with token authentication support
- Consolidate renderer hooks into centralized index.ts for better organization
- Remove deprecated chatSlice in favor of agent-based state management
- Improve LSP manager crash recovery with enhanced restart logic
- Optimize TerminalManager and TerminalPanel for better performance
- Add PerformanceMonitor utility enhancements for better metrics tracking
- Refactor agent services to improve context building and tool execution
- Update ChatContextStats and CommandPalette components for consistency
- Migrate from chat-based to agent-based architecture for improved scalability
2026-01-02 00:19:34 +08:00
adnaan e2e43b17f8 feat(uiux): add UI/UX design system database and tool integration
- Add comprehensive UI/UX design data resources including charts, colors, typography, styles, and component stacks (Flutter, React, Vue, Svelte, Next.js, React Native, SwiftUI, HTML/Tailwind)
- Implement BM25 search engine for efficient UI/UX design pattern retrieval and querying
- Create UiuxDatabase class to manage and index design system data with full-text search capabilities
- Add uiux tool provider and integrate into agent tool registry for design-related queries
- Implement IPC resources endpoint to expose UI/UX data to renderer process
- Add conversion script to process and transform UI/UX data into optimized JSON format
- Update electron preload and IPC configuration to support new resources module
- Configure resource bundling in package.json to include uiux directory in distribution
- Add tool group configuration for organizing UI/UX tools alongside other agent capabilities
- Update agent settings UI to reflect new tool availability
- Enables AI agent to provide intelligent design recommendations and UI/UX guidance based on comprehensive design system knowledge
2026-01-01 23:11:26 +08:00
adnaan 062f8137c3 fix:1. Toast System Replacement
Replaced old Toast.tsx with new InlineToast.tsx - a compact, animated toast that appears above the status bar
Updated API to support both toast.success(message, duration) and toast.success(title, detail) patterns for backward compatibility
Removed old Toast export from ui/index.ts
2. Monaco Editor Worker Error

Added setEagerModelSync(false) to monacoWorker.ts to reduce race conditions where TypeScript worker tries to access disposed in-memory models
3. Release Script Fix

Changed git push --tags to git push origin v${newVersion} to avoid conflicts with existing remote tags
4. File Watcher Dependency

Removed chokidar from dependencies - code already uses @parcel/watcher which has better performance (native C++ bindings vs Node.js polling)
5. Production Build MIME Type Error

Removed <link rel="modulepreload" href="/src/renderer/main.tsx" /> from index.html - Vite was incorrectly converting it to a base64 data URL with application/octet-stream MIME type, which browsers reject for ES modules
2025-12-31 00:33:49 +08:00
adnaan 730ac8b7fb fix: convert full paths to relative paths in tool results 2025-12-29 22:20:12 +08:00
adnaan b87fb1095d ci: add GitHub Actions release workflow 2025-12-29 21:07:23 +08:00
adnaan 1cd7276083 chore: clean up unused code and update project analysis documentation
- Delete unused type unification scripts (unify-types.js, update-type-imports.js)
- Remove agent core compatibility layer (src/renderer/agent/core/index.ts)
- Remove unused services (codeApplyService.ts, contextService.ts)
- Delete unused prompt configuration file (src/shared/config/promptConfig.ts)
- Remove duplicate CustomProviderConfig from renderer types
- Update PROJECT_ANALYSIS.md to mark type unification as completed
- Document remaining unused code for future reference
- Consolidate type definitions and improve codebase maintainability
2025-12-27 00:27:45 +08:00
adnaan add6a53845 refactor(types): unify type definitions and consolidate LLM configuration
- Create centralized LLM type definitions in src/shared/types/llm.ts
- Move all shared types (ToolCall, LLMConfig, ToolDefinition) to src/shared/types/
- Consolidate Provider configuration into unified structure
- Update all LLM provider implementations to use unified types
- Remove duplicate type definitions from renderer and main process
- Delete src/renderer/agent/tools/types.ts in favor of shared types
- Add utility scripts for type unification and import updates
- Add comprehensive PROJECT_ANALYSIS.md documenting architecture and refactoring priorities
- Update type imports across all modules to reference single source of truth
- Improve type consistency and maintainability across codebase
2025-12-27 00:12:19 +08:00
adnaan 0c97589f17 refactor(components): reorganize component structure and fix import paths
- Add refactoring scripts to automate import path fixes and component organization
- Reorganize components into logical subdirectories (common, dialogs, editor, layout, panels, tree)
- Move 30+ components to new modular structure with proper categorization
- Update all import paths across codebase to reflect new component locations
- Fix relative imports in moved components to maintain correct module resolution
- Update documentation with refactoring progress and unified type definitions count
- Improve code organization for better maintainability and scalability
2025-12-25 22:02:45 +08:00
adnaan e06e07d5e7 refactor(sidebar): split monolithic Sidebar component into modular structure
- Extract Sidebar.tsx (1938 lines) into 10 focused components
- Create sidebar/panels/ directory with ExplorerView, SearchView, GitView, ProblemsView, OutlineView, and HistoryView
- Create sidebar/components/ directory with FileTreeItem and InlineCreateInput subcomponents
- Add sidebar/utils.ts for shared utility functions
- Create sidebar/index.ts for clean exports
- Implement new minimal Sidebar.tsx (30 lines) as composition root
- Add refactor scripts (split-sidebar.js, split-sidebar-full.js) for future component extraction
- Update App.tsx imports to use new sidebar module structure
- Update Logger.ts with improved logging capabilities
- Update REFACTORING_PLAN.md to mark Phase 4 complete and plan Phase 5
- Improves code maintainability, testability, and reduces cognitive complexity per file
2025-12-25 20:13:28 +08:00
adnaan 59ba40a130 feat: refactor project architecture with modular structure and unified logging
- Add comprehensive refactoring plan documentation (REFACTORING_PLAN.md)
- Create automated refactoring scripts for imports, types, and logger migration
- Reorganize renderer components into functional groups (layout, sidebar, settings, editor)
- Split large monolithic files (Sidebar.tsx, SettingsModal.tsx, AgentService.ts) into smaller modules
- Migrate all console.log/warn/error calls to centralized Logger utility across 60+ files
- Standardize import paths from relative paths to @/ alias throughout codebase
- Create shared Logger utility in src/shared/utils for cross-process logging
- Update TypeScript and Vite configurations to support new module structure
- Restructure services directory with functional categorization (lsp, completion, storage, file)
- Reorganize agent features into core, tools, context, and store subdirectories
- Improve code maintainability and reduce circular dependencies through better separation of concerns
2025-12-25 19:58:05 +08:00
adnaan 3a02c8b300 feat: integrate Tree-sitter for enhanced code chunking and add WASM support 2025-12-18 12:11:30 +08:00
adnaan 51c0104848 feat:打包的一些优化 2025-12-15 15:28:59 +08:00