aboutsummaryrefslogtreecommitdiff
path: root/crates/system_action/src
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add JSON-based action invocation to ActionPool魏曹先生2025-10-131-1/+3
| | | | | | | | - 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
* feat: Add callback mechanism to ActionPool魏曹先生2025-10-121-6/+53
| | | | | | | - 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
* feat: Add Clone implementation for ActionContext魏曹先生2025-10-121-2/+20
| | | | | This enables ActionContext to be cloned when setting up process begin callbacks, resolving lifetime issues in callback registration.
* feat: add default implementation and convenience methods to ActionContext魏曹先生2025-10-061-2/+19
| | | | | | - Implement Default trait for ActionContext - Add local() and remote() constructor methods - Make instance field optional for better flexibility
* Rename vcs_service to action_system for better naming clarity魏曹先生2025-10-063-0/+151
- 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