summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-10-19Update README.md魏曹先生
2025-10-19Update README.md魏曹先生
2025-10-19Update CONTRIBUTING.md魏曹先生
2025-10-19Add CONTRIBUTING.md魏曹先生
2025-10-19Fine-tuning content魏曹先生
2025-10-18Update `config.rs`魏曹先生
- If config file not exist, now return Error
2025-10-13Fix Clippy warnings and optimize code魏曹先生
- Fix let_underscore_future warning by properly awaiting async functions - Make accept_import function async to match add_mapping usage - Propagate errors properly with ? operator instead of ignoring them - Replace manual Default implementation with derive attribute - Replace vec! with array literal to avoid useless_vec warning - All tests pass and code is now Clippy clean
2025-10-13feat: implement asynchronous action call system魏曹先生
- Add async callback support with proper argument passing - Implement remote action invocation via TCP connection - Add hello_world_action example demonstrating async communication - Improve ActionPool with type-safe async processing - Update client registry for remote action handling - Enhance ActionContext with better instance management - Support both local and remote action execution modes
2025-10-13feat: Implement JSON-based type-erased action invocation魏曹先生
- Add process_json method to ActionPool for type-agnostic calls using JSON serialization - Extend ActionContext with action_name and action_args fields and setter methods - Update action_gen macro to use process_json instead of typed process method - Implement remote action invocation framework in client_registry and action_service - Add protocol definitions for remote action communication - Enable flexible action execution without explicit type specifications
2025-10-13feat: Add JSON-based action invocation to ActionPool魏曹先生
- Extend action_gen macro to generate JSON serialization logic - Implement generic action processing using JSON text for type-agnostic calls - Add callback mechanism with action name and arguments in ActionPool - Update client and server registries to use new callback system - Improve action system flexibility at the cost of serialization overhead
2025-10-12feat: Add connection infrastructure and documentation魏曹先生
- Implement action service for connection handling - Add error types for connection operations - Create todo.md for project tracking
2025-10-12chore: Update Cargo.lock with new dependencies魏曹先生
2025-10-12feat: Update data configuration structures魏曹先生
- Add new configuration fields for local and vault data - Remove outdated todo.txt file
2025-10-12refactor: Update action macros and error types魏曹先生
- Enhance action_gen macro functionality - Add new error variants for TCP connection
2025-10-12chore: Update dependencies and module exports魏曹先生
- Add required dependencies for action system - Export registry modules in vcs_actions library
2025-10-12feat: Implement SetUpstreamVaultAction魏曹先生
- Add local action for setting upstream vault - Use action_gen macro for automatic registration - Validate action is executed locally
2025-10-12feat: Add server action registry魏曹先生
- Create server_action_pool function - Register SetUpstreamVaultAction for server use
2025-10-12feat: Add callback mechanism to ActionPool魏曹先生
- Add ProcBeginCallback and ProcEndCallback types - Implement set_on_proc_begin and set_on_proc_end methods - Add callback execution in process method - Update trait bounds for better type safety
2025-10-12fix: Resolve callback type mismatch in client_registry魏曹先生
- Fix lifetime issue in on_proc_begin callback registration - Use cloned context in async closure to avoid lifetime conflicts - Rename unused variable to suppress warning
2025-10-12feat: Add Clone implementation for ActionContext魏曹先生
This enables ActionContext to be cloned when setting up process begin callbacks, resolving lifetime issues in callback registration.
2025-10-06chore: update workspace configuration and dependencies魏曹先生
- Add examples to workspace members - Update vcs_data dependencies structure - Fix library re-export paths in main lib.rs
2025-10-06feat: add examples demonstrating action system usage魏曹先生
- Create examples workspace member - Add example_action_system binary showcasing macro usage - Demonstrate action registration and processing workflow
2025-10-06feat: add new error variants to TcpTargetError魏曹先生
- Add NotLocal error for actions requiring local execution - Add NotRemote error for actions requiring remote execution
2025-10-06feat: add default implementation and convenience methods to ActionContext魏曹先生
- Implement Default trait for ActionContext - Add local() and remote() constructor methods - Make instance field optional for better flexibility
2025-10-06refactor: optimize procedural macros in action_system魏曹先生
- Add register_to_pool and process_at_pool helper methods to generated structs - Improve documentation with usage examples - Enhance macro-generated code structure
2025-10-06Enhance rust-analyzer configuration for better proc-macro support魏曹先生
- Enable procMacro.attributes for attribute macro support - Increase macroExpansion.maxDepth to 32 for complex macro chains - Enable both hir and tt macro expansion engines - Add experimental.procMacro.server for improved macro server support
2025-10-06Fix macro to properly extract and use parameter names from function signature魏曹先生
- Extract actual parameter names (ctx, upstream) from function signature - Use extracted parameter names in generated process method - Remove workaround that manually assigned context to ctx variable - Ensure generated code matches the original function parameter names exactly
2025-10-06Fix macro expansion type errors in action_system macros魏曹先生
- Update macro-generated code to use correct action_system crate name - Replace vcs_service references with action_system in generated implementations - Ensure Action trait implementations reference the correct module path - Fix ActionContext type references in generated process methods
2025-10-06Update main lib.rs for new crate architecture魏曹先生
- Remove old vcs module exports - Prepare for new vcs_data and vcs_actions integration - Update library structure to reflect architectural changes
2025-10-06Update workspace configuration for new crate structure魏曹先生
- Replace vcs with vcs_data and vcs_actions in workspace members - Update Cargo.lock dependencies to reflect new crate names - Maintain workspace structure with reorganized crates
2025-10-06Remove old vcs directory after migration to vcs_data魏曹先生
- Delete entire crates/vcs directory and its contents - Remove test files and configuration from old structure - Complete transition to new vcs_data and vcs_actions architecture
2025-10-06Create vcs_actions crate for client-server interaction logic魏曹先生
- Add new crate to combine action_system and vcs_data functionality - Define dependencies on both action_system and vcs_data crates - Prepare structure for implementing client-server communication logic
2025-10-06Move vcs crate to vcs_data for better separation of concerns魏曹先生
- Rename vcs crate to vcs_data to clearly define data layer - Maintain all existing data structures and functionality - Update dependencies to include action_system integration - Preserve test structure in vcs_data_test directory
2025-10-06Add documentation directory with framework diagram魏曹先生
- Create docs/images directory for project documentation - Include FRAMEWORK_CANVAS.png image file - Prepare structure for future documentation assets
2025-10-06Add framework diagram to README documentation魏曹先生
- Include FRAMEWORK_CANVAS.png in both English and Chinese README - Position diagram after introduction for better visual explanation - Enhance documentation with visual representation of system architecture
2025-10-06Redesign framework canvas with modular architecture魏曹先生
- Replace complex server-client diagram with clean modular structure - Organize components into Client, Protocols, Datas, File Storage, and Client/Server groups - Add core components: CORE, IPC, MCP, GUI, AI-Models, and CLI - Simplify relationships between virtual files, sheets, and local workspace
2025-10-06Update workspace configuration for action_system rename魏曹先生
- Replace vcs_service with action_system in workspace members - Update Cargo.lock dependencies to reflect new crate names - Maintain workspace structure with renamed crates
2025-10-06Remove old service directory and move todo.txt to vcs crate魏曹先生
- Delete entire crates/service directory with old vcs_service implementation - Move todo.txt to crates/vcs for better organization - Keep action list in main vcs crate where it belongs
2025-10-06Rename vcs_service to action_system for better naming clarity魏曹先生
- Create new action_system crate with action framework - Create action_system_macros crate for procedural macros - Update vcs crate dependencies to use action_system - Maintain same functionality with improved naming
2025-10-06Update README titles to reflect centralized version control system魏曹先生
- Change 'Parallel' to 'Centralized' in English README - Change '并行' to '集中式' in Chinese README - Better reflect the actual architecture of the system
2025-10-06Add rust-analyzer configuration for enhanced IDE support魏曹先生
- Enable proc-macro support for procedural macros - Configure enhanced completion and inlay hints - Enable workspace-wide symbol search - Set up clippy as default check command with all features - Configure linked projects and experimental features
2025-10-06Remove unused behaviour.rs file from tcp_connection魏曹先生
- Delete empty behaviour.rs file that was not being used
2025-10-06Fix config.toml formatting魏曹先生
- Add missing newline at end of file in .cargo/config.toml
2025-10-06Remove old service module and refactor lib structure魏曹先生
- Delete legacy service.rs and its submodules - Remove service module from lib.rs exports - Clean up unused service-related code
2025-10-06Enhance VaultConfig with server configuration魏曹先生
- Add VaultServerConfig struct with server settings - Include local bind address, port, LAN discovery, and auth strength - Add default server configuration with localhost binding and advanced auth - Update constants usage for port configuration
2025-10-06Update dependencies and workspace configuration魏曹先生
- Add vcs_service to workspace members in Cargo.toml - Update Cargo.lock with new vcs_service dependencies - Add vcs_service dependency to vcs crate
2025-10-06Add service module with macros and action framework魏曹先生
- Create new vcs_service crate for handling service actions - Add vcs_service_macros crate for procedural macros - Add vcs_test module with action framework integration - Implement Action and ActionPool traits for service operations
2025-09-29Fix test failures in sheet creation and management tests魏曹先生
- Add .await to all add_mapping async method calls - Adjust test logic to not check remove_mapping return value when virtual files don't exist - Clean up unused variable warnings - All 10 vcs_test integration tests now pass successfully
2025-09-29Update test files: remove obsolete test_incremental_transfer.rs and modify ↵魏曹先生
test suites
2025-09-29Add incremental transfer functionality and update core components魏曹先生
- Implement instance_incremental_transfer module for efficient file synchronization - Add support for chunk-based file transfer with hash comparison - Update TCP connection utilities to support incremental transfer protocol - Enhance error handling and version management for file synchronization - Update dependencies and integrate new functionality into main library