aboutsummaryrefslogtreecommitdiff
path: root/crates/system_action/action_macros
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add JSON-based action invocation to ActionPool魏曹先生2025-10-132-15/+23
| | | | | | | | - 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
* refactor: Update action macros and error types魏曹先生2025-10-121-4/+4
| | | | | - Enhance action_gen macro functionality - Add new error variants for TCP connection
* 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-062-0/+164
- 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