aboutsummaryrefslogtreecommitdiff
path: root/crates/system_action
Commit message (Collapse)AuthorAgeFilesLines
* 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
* refactor: optimize procedural macros in action_system魏曹先生2025-10-061-3/+31
| | | | | | - Add register_to_pool and process_at_pool helper methods to generated structs - Improve documentation with usage examples - Enhance macro-generated code structure
* Fix macro to properly extract and use parameter names from function signature魏曹先生2025-10-061-8/+26
| | | | | | | - 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
* Fix macro expansion type errors in action_system macros魏曹先生2025-10-061-2/+2
| | | | | | | - 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
* Rename vcs_service to action_system for better naming clarity魏曹先生2025-10-066-0/+326
- 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