22 Commits

Author SHA1 Message Date
830f6e42a8 优化终端 2025-08-15 01:17:53 +08:00
b940cfd70d 优化终端 2025-08-15 00:38:25 +08:00
4588c89557 增加终端 2025-08-15 00:29:57 +08:00
780fd9dd35 删除无用内容 2025-08-13 22:28:47 +08:00
997423d7e9 修复打包后文件展示问题 2025-08-13 14:42:22 +08:00
ef0c895f1e 修复文件编辑bug 2025-08-12 22:56:01 +08:00
1f13548039 增加文件管理器,增加文件编辑 2025-08-09 13:44:52 +08:00
5e532ad83f 增加文件管理器 2025-08-09 13:22:54 +08:00
351a79d54c 汉化 2025-08-06 11:32:29 +08:00
Vivek R
6a6392670d chore: update dependencies and clean up Windows icons
- Update package.json dependencies
  - Bump package version for consistency

- Update Cargo dependencies
  - Add new dependencies required for enhanced functionality
  - Update Cargo.lock with resolved versions

- Update tauri.conf.json with new build configurations
  - Add platform-specific settings
  - Configure bundle options for different targets

- Update .gitignore patterns
  - Add new build artifacts to ignore list

- Minor fix in claude.rs command implementation
2025-08-01 17:55:15 +05:30
Vivek R
091feaceeb feat: add PostHog analytics dependency 2025-07-30 19:43:04 +05:30
Mufeed VH
efdeff7a31 fix(build): resolve TypeScript errors and add missing dependencies
- Add missing zustand dependency to package.json
- Fix unused variable errors in ToolWidgets.tsx
- Remove invalid 'white' theme comparison in claudeSyntaxTheme.ts
- Add proper TypeScript types to stores using StateCreator pattern
- Add null checks and type casting in Settings.tsx filter operations
- Add onChange handler to Switch component to suppress React warning
- Add 'check' script for TypeScript validation

These changes ensure the TypeScript build passes without errors.
2025-07-28 15:28:07 +05:30
Vivek R
4ddb6a1995 refactor: remove bundled Claude Code binary support
- Remove all bundled/sidecar binary functionality
- Delete build scripts for fetching and building Claude executables
- Simplify binary detection to only support system installations
- Update UI to remove bundled installation options
- Update build configuration and documentation
2025-07-22 21:16:54 +05:30
Vivek R
b812d9ff05 feat: add Zustand state management
- Add Zustand (v5.0.6) for lightweight state management
- Create sessionStore for managing session-related state
- Create agentStore for managing agent runs with intelligent polling
- Eliminate prop drilling across component tree
- Add comprehensive documentation for store usage
2025-07-16 20:01:10 +05:30
Vivek R
10628fcc82 Add AGPL-3.0 license to package.json and Cargo.toml 2025-07-06 15:19:34 +05:30
Vivek R
8899defb97 feat: integrate Claude binary and improve build workflow
- Add predev script to build executables before starting dev server
- Configure Tauri to include claude-code as external binary
- Reorganize Tauri command handlers with clear section comments for better maintainability
- Add bun build temporary files to .gitignore

These changes enable proper Claude binary integration and ensure executables are built before development.

Fixes #136
2025-07-05 16:47:09 +05:30
Vivek R
55220ab1f3 feat(build): standardize Claude Code version and enhance build flexibility
- Pin Claude Code version to 1.0.41 across all build scripts for consistency
- Add version parameter support to fetch-and-build.js script
- Enhance build script with improved CLI argument parsing
- Add prebuild hook to automatically build current platform executables

Changes made:
• package.json: Add --version=1.0.41 to all build:executables scripts
• package.json: Add prebuild script to run build:executables:current
• scripts/fetch-and-build.js: Add parseArguments() function for CLI parsing
• scripts/fetch-and-build.js: Add determineClaudeCodeVersion() for version resolution
• scripts/fetch-and-build.js: Update fetchClaudeCodePackage() to accept version parameter
• scripts/fetch-and-build.js: Enhance usage documentation and error messages
2025-07-04 14:20:11 +05:30
Vivek R
526db2f925 feat(build): add comprehensive Claude Code executable build system
Add complete build infrastructure for creating single-file Claude Code executables
across all supported platforms using Bun's native compilation features.

- **Cross-platform builds**: Support for Linux (glibc/musl), macOS (Intel/ARM), Windows
- **CPU optimization variants**: Modern (AVX2+) and baseline (pre-2013) CPU support
- **Embedded assets**: All executables include yoga.wasm and ripgrep binaries
- **Optimized builds**: Minification and sourcemaps for production-ready binaries
2025-07-03 20:12:04 +05:30
Mufeed VH
c48a63f170 feat(claude-binary): implement robust version selector with enhanced binary detection
This commit provides a comprehensive solution to Claude binary detection issues
by implementing a user-friendly version selector UI and improving the binary
discovery logic. It addresses all concerns raised in multiple PRs and comments.

Changes:
- Add ClaudeVersionSelector component for selecting from multiple installations
- Update ClaudeBinaryDialog to use version selector instead of manual path input
- Fix unused variable warning in production builds (claude.rs:442)
- Improve select_best_installation to handle production build restrictions
- Add listClaudeInstallations API endpoint to fetch all available installations
- Make Claude version indicator clickable to navigate to Settings
- Move Claude installation selector to General tab in Settings (per user request)
- Enhance dialog UX with loading states and clear installation instructions
- Add Radix UI radio-group dependency for version selector

Fixes:
- Production build warning about unused claude_path variable
- Version detection failures in production builds due to process restrictions
- Poor UX when Claude binary is not found (now shows helpful dialog)
- Inability to easily switch between multiple Claude installations

This implementation takes inspiration from:
- PR #3: Version selector dropdown approach (preferred by users)
- PR #4: Binary detection improvements and path validation
- PR #39: Additional detection methods and error handling
- Commit 5a29f9a: Shared claude binary detection module architecture

Addresses feedback from:
- getAsterisk/claudia#4 (comment): User preference for dropdown selector
- Production build restrictions that prevent version detection
- Need for better error handling when Claude is not installed

The solution provides a seamless experience whether Claude is installed via:
- npm/yarn/bun global installation
- nvm-managed Node.js versions
- Homebrew on macOS
- System-wide installation
- Local user installation (~/.local/bin, etc.)

Refs: #3, #4, #39, 5a29f9a
2025-06-25 02:49:24 +05:30
Vivek R
c85caa7a47 feat(agents): Add GitHub agent import feature
- Implemented GitHub agent browser in CCAgents component
- Created GitHubAgentBrowser component for browsing and importing agents
- Added Rust commands for fetching and importing agents from GitHub
- Updated API layer with GitHub agent import methods
- Updated Cargo.toml with new dependencies
- Fixed Tauri configuration and capabilities
- Added dropdown menu for import options
- Implemented search and preview functionality for GitHub agents
2025-06-24 00:46:53 +05:30
Mufeed VH
0c6c089810 build: add dependencies for web preview and virtual scrolling
- Add headless_chrome for screenshot functionality
- Add @tanstack/react-virtual for performance optimization
- Add @radix-ui/react-tooltip for UI components
- Update Tailwind CSS to v4 with new build tools
2025-06-23 00:20:53 +05:30
Mufeed VH
8e76d016d4 init: push source 2025-06-19 19:24:01 +05:30