81 Commits

Author SHA1 Message Date
b940cfd70d 优化终端 2025-08-15 00:38:25 +08:00
4588c89557 增加终端 2025-08-15 00:29:57 +08:00
96eb05856e 增加 opusplan 模式
Some checks are pending
Build Linux / Build Linux x86_64 (push) Waiting to run
Build Test / Build Test (${{ matrix.platform.name }}) (map[name:Linux os:ubuntu-latest rust-target:x86_64-unknown-linux-gnu]) (push) Waiting to run
Build Test / Build Test (${{ matrix.platform.name }}) (map[name:Windows os:windows-latest rust-target:x86_64-pc-windows-msvc]) (push) Waiting to run
Build Test / Build Test (${{ matrix.platform.name }}) (map[name:macOS os:macos-latest rust-target:x86_64-apple-darwin]) (push) Waiting to run
Build Test / Build Test Summary (push) Blocked by required conditions
2025-08-14 00:21:11 +08:00
780fd9dd35 删除无用内容 2025-08-13 22:28:47 +08:00
d7c34d54bd 修改文件监控逻辑以及UI 2025-08-13 22:04:18 +08:00
bb23a3a21b 修复剪贴板错误 2025-08-13 20:37:01 +08:00
997423d7e9 修复打包后文件展示问题 2025-08-13 14:42:22 +08:00
bb148f4106 重构项目详情页面 2025-08-13 00:38:54 +08:00
ef0c895f1e 修复文件编辑bug 2025-08-12 22:56:01 +08:00
b1cd9f9098 优化页面布局 2025-08-10 21:44:48 +08:00
4fa9f93f46 修复时区展示 2025-08-10 17:00:59 +08:00
36f8ec14fe 调整计费 2025-08-10 15:27:09 +08:00
c7d5ce3f0a 优化数据加载 2025-08-10 07:10:47 +08:00
4d9004526d 优化数据加载 2025-08-10 07:07:26 +08:00
002433512b 优化数据加载 2025-08-10 06:50:38 +08:00
36ba54d051 删除debug 2025-08-10 05:03:05 +08:00
6898f10d3f 增加允许本地中转 2025-08-10 03:57:56 +08:00
d8995bfe36 修改计算规则以及数据库 2025-08-10 02:46:52 +08:00
dcd6b42a66 完善UI 2025-08-10 01:46:10 +08:00
272ea62bee 文件管理器以及文件编辑器 2025-08-09 18:31:17 +08:00
3bf68960a1 git状态以及文化管理器优化 2025-08-09 18:01:59 +08:00
1f13548039 增加文件管理器,增加文件编辑 2025-08-09 13:44:52 +08:00
5e532ad83f 增加文件管理器 2025-08-09 13:22:54 +08:00
f5e326bde7 增加测速 2025-08-08 21:03:01 +08:00
8f633d97d4 增加额度查询 2025-08-08 13:19:06 +08:00
5016c1d9d6 修改计算规则 2025-08-08 12:27:56 +08:00
f3324b1107 修改计算规则 2025-08-08 09:12:35 +08:00
ef2e30401e 美化页面 2025-08-08 00:21:10 +08:00
ca56cc83f0 增加配置转换 2025-08-07 23:46:55 +08:00
5910362683 美化 2025-08-07 12:28:47 +08:00
6798be3b42 汉化 2025-08-06 15:39:05 +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
7b700331cb build: add macOS-specific configuration and cross-compilation support
- Add Info.plist for macOS app metadata
  - Configure bundle identifier as claudia.asterisk.so
  - Set minimum macOS version to 10.15
  - Register .claudia.json file type association
  - Add usage descriptions for camera and microphone access

- Add entitlements.plist for macOS app permissions
  - Disable app sandbox for Homebrew compatibility
  - Enable network access for API communications
  - Allow file system access and subprocess spawning
  - Configure hardened runtime exceptions for JIT and library validation
  - Enable automation for Apple Events

- Add .cargo/config.toml for cross-compilation
  - Configure aarch64-unknown-linux-gnu target
  - Enable PKG_CONFIG_ALLOW_CROSS for cross-platform builds
2025-08-01 17:36:06 +05:30
Vivek R
9c253baec8 feat(analytics): configure analytics initialization and app integration
- Initialize analytics service on app startup in main.tsx
- Integrate analytics consent management in App.tsx
- Track app lifecycle events (start, screen changes)
- Update Tauri configuration for production build
- Set up proper analytics shutdown on app close
- Ensure analytics is initialized before other services

This completes the analytics integration setup with proper
initialization and lifecycle management.
2025-07-31 14:22:58 +05:30
Vivek R
16acda5644 refactor(registry): simplify process registration
- Remove unused child parameter from register_agent_process()
- Simplify ProcessInfo structure by removing unnecessary process handle
2025-07-28 21:31:58 +05:30
Vivek R
7d34da3783 chore(claude): remove unused sidecar execution code
- Remove unused imports (tauri_plugin_shell modules)
- Delete should_use_sidecar() function
- Delete create_sidecar_command() function
- Clean up dead code related to sidecar process execution
2025-07-28 21:31:58 +05:30
Vivek R
fd49a9e2ab refactor(agents): clean up agent command implementation
- Remove unused imports (regex, Arc)
- Fix receiver/child tuple order from spawn() call
- Convert CommandEvent bytes to strings properly
- Remove unused variables (_start_time, mut from installations)
- Update function signatures to match new API
- Simplify child process registration by removing child parameter
2025-07-28 21:31:58 +05:30
Catherine
32a197100a feat: add proxy configuration support
- Add proxy settings UI component with enable/disable toggle
  - Support HTTP, HTTPS, NO_PROXY, and ALL_PROXY environment variables
  - Store proxy settings in app database for persistence
  - Apply proxy settings on app startup and when saved
  - Pass proxy environment variables to Claude command execution
  - Integrate proxy settings into main Settings page with unified save
  - Add proxy support for both system binary and sidecar execution

  This allows users to configure proxy settings for Claude API requests,
  which is essential for users behind corporate firewalls or in regions
  requiring proxy access.

  Fixes network connectivity issues in restricted environments.
2025-07-28 21:31:58 +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
cee71343f5 feat: enhance project-specific slash commands management
- Add scopeFilter prop to SlashCommandsManager for filtering by scope
- Replace browser confirm() with proper delete confirmation dialog
- Fix slash_command_delete to handle project commands with project_path param
- Add Slash Commands tab to ProjectSettings as the default tab
- Add Commands button to ClaudeCodeSession for quick access
- Improve error handling and user feedback for delete operations
- Better UI text when showing project-specific commands only
2025-07-07 23:56:09 +05:30
Vivek R
e6662bf0c9 feat: add default slash commands and update UI to display them
- Add built-in slash commands: /add-dir, /init, /review
- Update slash_commands_list to include default commands
- Enhance SlashCommandPicker UI to show default commands in dedicated tab
- Improve empty state handling with search-aware messaging
- Add proper command display with icons, descriptions, and scope badges
2025-07-07 23:29:49 +05:30
Mufeed VH
8af922944b feat: implement custom slash commands system
Adds a comprehensive slash command system that allows users to create and manage custom commands:

- Backend implementation in Rust for discovering, loading, and managing slash commands
- Support for both user-level (~/.claude/commands/) and project-level (.claude/commands/) commands
- YAML frontmatter support for command metadata (description, allowed-tools)
- Command namespacing with directory structure (e.g., /namespace:command)
- Detection of special features: bash commands (\!), file references (@), and arguments ($ARGUMENTS)

Frontend enhancements:
- SlashCommandPicker component with autocomplete UI and keyboard navigation
- SlashCommandsManager component for CRUD operations on commands
- Integration with FloatingPromptInput to trigger picker on "/" input
- Visual indicators for command features (bash, files, arguments)
- Grouped display by namespace with search functionality

API additions:
- slash_commands_list: Discover all available commands
- slash_command_get: Retrieve specific command by ID
- slash_command_save: Create or update commands
- slash_command_delete: Remove commands

This implementation provides a foundation for users to create reusable command templates and workflows. Commands are stored as markdown files with optional YAML frontmatter for metadata.

Addresses #127 and #134
2025-07-06 22:51:08 +05:30
Vivek R
4cd104b1dd refactor: Store pasted images in memory as base64 data URLs
- Remove save_clipboard_image and cleanup_temp_images backend commands
- Update FloatingPromptInput to store pasted images as data URLs in the prompt
- Update ImagePreview component to handle both file paths and data URLs
- Update extractImagePaths to properly handle quoted data URLs
- Update handleRemoveImage to handle data URL removal

This eliminates file system operations for pasted images and stores them directly
in the prompt as base64 data URLs (e.g., @"data:image/png;base64,...").
Images are now fully self-contained within the session without creating temp files.
2025-07-06 16:45:12 +05:30
Vivek R
2009601dd9 feat: Add clipboard image paste support and fix image previews in CC sessions
- Add save_clipboard_image and cleanup_temp_images commands in Rust backend
- Implement paste event handler in FloatingPromptInput to capture pasted images
- Save pasted images to .claude_temp/session_id/ directory
- Add automatic cleanup of temp images when session ends

- Fix image preview display for file paths containing spaces
- Update regex patterns to handle both quoted (@"path with spaces") and unquoted (@path) mentions
- Automatically wrap paths with spaces in quotes when inserting
- Update remove handler to properly handle both quoted and unquoted paths

Users can now paste images directly from clipboard (e.g., screenshots) and see proper previews for all image files regardless of filename format.
2025-07-06 16:35:41 +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
6b9393f4d3 feat: implement hooks system for project configuration
- Add HooksEditor component for managing project hooks
- Add ProjectSettings component for project-specific configurations
- Create hooksManager utility for hook operations
- Add hooks type definitions
- Update backend commands to support hooks functionality
- Integrate hooks into main app, agent execution, and Claude sessions
- Update API and utilities to handle hooks data
2025-07-06 15:19:34 +05:30
bfmvsa
1922ffc145 Changes size of the icon according to apple design guidelines. 2025-07-06 15:19:26 +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
Mufeed VH
19cf623d64 feat(agents): enhance execution control with stop functionality and improved database handling
- Refactor database path handling in agents.rs to initialize paths earlier and make them available to all async tasks
- Add immediate session ID updates to the database when session IDs are extracted
- Implement stop/cancel functionality for running agent sessions in both AgentRunOutputViewer and AgentRunView
- Improve loading states and event listener management in AgentRunOutputViewer
- Add stop button UI controls with proper styling and positioning
- Enhance error handling and logging throughout the agent execution flow
2025-07-04 20:27:12 +05:30