summaryrefslogtreecommitdiff
path: root/crates/system_action
AgeCommit message (Collapse)Author
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-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-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-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-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