Commit Graph
32 Commits
Author SHA1 Message Date
kerwin2046 d2ee1daa3a chore: update Node.js and pnpm version requirements, enforce pnpm usage, and enhance documentation
- Added .node-version and .nvmrc files to specify Node.js version 22.x.
- Updated .npmrc to enforce strict engine and package manager versions.
- Introduced mise.toml for consistent versioning across tools.
- Revised CONTRIBUTING.md, README.md, and other documentation to reflect new Node.js and pnpm requirements.
- Implemented ensure-pnpm.js script to ensure pnpm is used for installations.
- Updated CI workflows to reference .nvmrc for Node.js versioning.
2026-08-21 12:01:30 +08:00
adnaan bd4c8b5da1 refactor: optimize metadata signature handling to improve performance and reduce unnecessary serialization 2026-08-21 12:01:30 +08:00
adnaan 64570f681a feat: add support for bundled Node-API prebuilds in node-pty during native module rebuild 2026-08-21 12:01:29 +08:00
adnaan bdcf8c243b feat: enhance AI attribution and session file management
- Introduced caching for commit reports in AiAttributionService to optimize read operations.
- Improved session file handling in SessionFileStore with concurrent read and write capabilities.
- Added utility functions for managing read concurrency and pending operations.
- Updated model routing to support multimodal configurations and fallback mechanisms.
- Enhanced image reading services with dedicated tests for visual analysis and routing.
- Implemented sanitization for tool outputs to ensure clean and safe content delivery.
- Added comprehensive tests for new features and existing functionalities across various services.
2026-08-21 12:01:28 +08:00
adnaan 209c8a7145 feat: add plan board path and related functionality
- Introduced PLAN_BOARD_PATH constant and isPlanBoardPath function in planBoard.ts.
- Implemented tests for task tool execution planning, ensuring proper handling of parallel execution and batching of independent sub-agents.
- Added tests for planWorkflowGuard to validate state transitions and reminders based on user interactions.
- Enhanced PromptBuilder tests to ensure correct template resolution for different modes.
- Created tests for fileSlice to verify behavior of pinned plan boards during open and close operations.
- Updated vite.config.ts to include 'web-tree-sitter' as an external dependency.
2026-08-21 12:01:27 +08:00
adnaan 280fbd03cc feat: add pnpm workspace configuration and postinstall script for Electron native module rebuilding 2026-08-21 12:01:25 +08:00
kerwin cc638695e0 chore: update postinstall script for improved WASM asset handling
- Replaced the existing postinstall command in package.json with a new script located in scripts/postinstall.js.
- Added functionality to handle WASM assets and native module rebuilds for Electron in the new postinstall script.
2026-07-20 17:34:02 +08:00
adnaan 84a9745bec perf: use native npm prune and only reinstall builder dependencies to completely bypass node_modules scanning OOM 2026-07-10 23:14:10 +08:00
adnaan 5376e317b8 perf: change prune-dev-deps to blacklist strategy to preserve packager utility dependencies like debug 2026-07-10 23:05:01 +08:00
adnaan d780a2c200 perf: configure prune false in electron-builder and use custom prune-dev-deps script to completely bypass scanning OOM 2026-07-10 23:01:37 +08:00
adnaan 4f6fee94e6 chore: remove legacy build and migration scripts
- Remove convert-uiux-data.js CSV conversion utility
- Remove generate-platform-icons.js icon generation script
- Remove test-api-parser.js and test-deps.js test utilities
- Remove scripts/refactor directory with all migration helpers
* fix-all-imports.js
* fix-main-imports.js
* fix-relative-imports.js
* fix-types-alias.js
* migrate-console-to-logger.js
* migrate-imports.js
* migrate-main-only.js
* organize-components.js
* run-all.js
* split-sidebar.js
* split-sidebar-full.js
* update-component-imports.js
* README.md documentation
- Clean up obsolete tooling no longer needed for project maintenance
2026-05-22 21:35:01 +08:00
adnaan 7190686635 chore: update GitHub username from adnaan-worker to ad-naan
- Update repository URLs across all documentation and configuration files
- Migrate GitHub profile references in CHANGELOG, README, and CONTRIBUTING
- Update GitHub Actions workflow release URL configuration
- Correct GitHub profile links in LICENSE and NOTICE files
- Update contributor profile URL in project documentation
- Ensure consistent branding across all project references
2026-05-08 20:46:44 +08:00
adnaan afa7c36b52 feat: optimize About dialog, implement branding assets, and consolidate project icons 2026-04-25 23:14:49 +08:00
adnaan ca89f50b66 chore: consolidate brand assets into public/brand directory
- Reorganize brand assets into centralized public/brand/ structure with icons/, logos/, ip/, and welcome/ subdirectories
- Move app icons (app.ico, app.icns, app.png) and light variants to public/brand/icons/
- Move in-app logos to public/brand/logos/ and IP avatar to public/brand/ip/
- Move loader logo to public/brand/welcome/
- Update favicon and loader image references in index.html to new asset paths
- Update electron-builder configuration in package.json to reference new icon locations
- Remove legacy icon generation script (scripts/generate-icons.js) and old resource directories
- Add ASSET_REPLACEMENT.md documentation with directory map and replacement checklist
- Update README.md and README_EN.md build instructions to reflect new asset organization
- Simplifies brand asset management by consolidating scattered assets into a single, well-organized directory structure
2026-04-25 15:10:51 +08:00
adnaan 58011eccfb 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