yao/agent/assistant/hook
Max 5f803ef4d4 Implement authorized script execution and enhance context handling
- Added ExecuteWithAuthorized method to the Script struct, allowing scripts to be executed with user authorization information.
- Updated existing Execute method to utilize ExecuteWithAuthorized for improved authorization handling.
- Enhanced script execution tests to verify behavior with and without authorized information, ensuring accurate context management.
- Implemented authorized information conversion to a map for easier integration with runtime environments.
- Refactored context handling in script execution to ensure authorized data is correctly passed and utilized.
2025-12-08 11:42:01 +08:00
..
create.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
create_bench_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_mem_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_nested_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
create_test.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
goroutine_leak_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
hook.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
next.go Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
next_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
realworld_next_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
REALWORLD_PERFORMANCE_REPORT.md Enhance memory leak tests and performance reporting in stress tests 2025-11-28 21:09:27 +08:00
realworld_stress_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
script.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
types.go Refactor Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00