xiaoen
0ff78fa53f
test(tools): add delegate tool unit tests
...
12 test cases covering:
- success path with result attribution
- agent_id validation (missing, empty, whitespace, wrong type)
- task validation (missing, empty, whitespace)
- permission denied / allowed via allowlist checker
- self-delegation blocked
- nil spawner, spawner error, nil result from spawner
- open access when no allowlist checker is set
Ref: #2148
2026-04-15 21:28:54 +08:00
..
2026-03-30 16:31:34 +08:00
2026-03-29 22:52:34 +08:00
2026-03-29 22:52:34 +08:00
2026-04-15 21:28:54 +08:00
2026-04-15 21:28:31 +08:00
2026-02-23 20:09:53 +11:00
2026-04-08 14:19:11 +09:00
2026-04-04 17:56:49 +08:00
2026-04-08 14:19:11 +09:00
2026-02-20 22:35:16 +02:00
2026-02-18 21:48:23 +02:00
2026-02-24 21:52:25 +08:00
2026-04-01 21:32:10 +08:00
2026-04-01 21:32:10 +08:00
2026-04-04 01:30:36 +08:00
2026-04-04 01:30:36 +08:00
2026-03-30 16:31:34 +08:00
2026-04-08 21:40:12 +08:00
2026-03-22 12:05:28 +01:00
2026-03-30 16:31:34 +08:00
2026-03-30 16:31:34 +08:00
2026-03-30 16:31:34 +08:00
2026-04-01 23:26:49 +08:00
2026-03-22 12:05:28 +01:00
2026-03-22 23:08:27 +01:00
2026-03-09 18:21:49 +01:00
2026-03-09 18:21:49 +01:00
2026-03-23 13:16:23 +01:00
2026-03-23 13:16:23 +01:00
2026-03-25 21:02:49 +08:00
2026-03-25 21:02:49 +08:00
2026-03-25 21:02:49 +08:00
2026-03-25 21:02:49 +08:00
2026-02-18 02:01:29 +08:00
2026-02-18 02:01:29 +08:00
2026-03-25 21:02:49 +08:00
2026-03-25 21:02:49 +08:00
2026-04-08 18:15:42 +08:00
2026-02-20 20:03:11 +02:00
2026-02-24 23:57:13 +08:00
2026-02-20 20:03:11 +02:00
2026-02-20 20:03:11 +02:00
2026-03-17 14:41:43 +08:00
2026-03-17 14:41:43 +08:00
2026-03-19 13:51:11 +08:00
2026-03-21 17:12:45 +08:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-24 21:52:25 +08:00
2026-03-19 13:51:11 +08:00
2026-04-15 21:27:13 +08:00
2026-03-25 21:02:49 +08:00
2026-03-25 21:02:49 +08:00
2026-04-01 21:32:10 +08:00
2026-04-01 12:21:21 +08:00
2026-03-25 21:02:49 +08:00
2026-03-24 18:35:56 +08:00
2026-03-24 18:35:56 +08:00
2026-03-26 21:02:46 +01:00
2026-03-26 21:33:43 +01:00