viettranx
8b8da3a3dd
fix(mcp): unified grant revocation with per-agent tool group isolation
...
- Add GrantChecker interface with cache + event-bus invalidation for revalidating MCP tool grants at execution time (not just dispatch)
- Move toolGroups from package-level global to per-Registry field; Clone() gives each agent Loop isolated tool groups, eliminating cross-agent race condition
- BridgeTool.Execute rechecks grant validity before executing MCP methods; uses serverID field for cache key
- Wire MCPGrantChecker through ResolverDeps to MCP Manager and LoopConfig
- Add integration test for grant revocation scenarios
- Update policy functions to accept *Registry parameter
2026-04-16 17:07:56 +07:00
..
2026-04-16 14:17:48 +07:00
2026-04-12 21:23:21 +07:00
2026-04-12 08:55:20 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-04-11 21:22:23 +07:00
2026-04-15 11:24:57 +07:00
2026-04-15 11:24:57 +07:00
2026-04-04 23:07:42 +07:00
2026-04-02 09:53:01 +07:00
2026-04-02 09:35:21 +07:00
2026-04-02 09:35:21 +07:00
2026-04-14 18:28:31 +07:00
2026-04-04 23:07:42 +07:00
2026-04-02 10:33:35 +07:00
2026-04-02 10:33:35 +07:00
2026-04-02 10:33:35 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 10:46:53 +07:00
2026-04-15 11:24:57 +07:00
2026-04-16 14:17:48 +07:00
2026-04-16 14:17:47 +07:00
2026-04-16 14:17:48 +07:00
2026-04-12 19:56:15 +07:00
2026-04-02 19:28:04 +07:00
2026-04-09 21:15:19 +07:00
2026-03-28 17:25:59 +07:00
2026-04-09 21:15:19 +07:00
2026-03-21 07:29:48 +07:00
2026-03-21 07:29:48 +07:00
2026-04-14 18:28:31 +07:00
2026-04-12 21:23:21 +07:00
2026-03-19 17:21:38 +07:00
2026-04-01 13:59:56 +07:00
2026-04-09 21:15:19 +07:00
2026-04-09 21:15:19 +07:00
2026-03-25 13:40:44 +07:00
2026-04-12 09:00:58 +07:00
2026-04-15 11:24:57 +07:00
2026-04-09 21:15:19 +07:00
2026-03-29 22:33:17 +07:00
2026-03-27 22:45:40 +07:00
2026-04-10 13:32:02 +07:00
2026-04-01 11:59:21 +07:00
2026-04-01 11:55:48 +07:00
2026-04-16 17:07:56 +07:00
2026-03-20 09:14:28 +07:00
2026-04-16 17:07:56 +07:00
2026-04-16 17:07:56 +07:00
2026-04-16 14:17:48 +07:00
2026-03-23 08:08:23 +07:00
2026-04-11 21:39:47 +07:00
2026-04-11 21:39:47 +07:00
2026-04-11 21:39:47 +07:00
2026-03-23 08:08:23 +07:00
2026-04-15 11:24:57 +07:00
2026-03-24 21:09:16 +07:00
2026-04-16 17:07:56 +07:00
2026-03-20 07:32:23 +07:00
2026-03-20 07:32:23 +07:00
2026-03-20 07:32:23 +07:00
2026-03-20 07:32:23 +07:00
2026-04-12 21:05:10 +07:00
2026-04-13 11:04:19 +07:00
2026-04-13 11:04:19 +07:00
2026-04-13 11:04:19 +07:00
2026-04-16 14:17:48 +07:00
2026-03-30 22:28:00 +07:00
2026-04-13 11:04:19 +07:00
2026-04-15 11:24:57 +07:00
2026-04-02 18:58:24 +07:00
2026-04-08 13:35:19 +07:00
2026-04-08 13:38:30 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 18:28:31 +07:00
2026-04-14 18:28:31 +07:00
2026-04-16 14:17:48 +07:00
2026-03-24 20:40:59 +07:00
2026-03-31 11:45:16 +07:00
2026-03-31 11:45:16 +07:00
2026-04-16 14:17:48 +07:00
2026-03-31 11:45:16 +07:00
2026-03-31 11:44:54 +07:00
2026-03-31 11:45:16 +07:00
2026-03-31 11:45:16 +07:00
2026-04-16 14:17:48 +07:00
2026-03-23 08:08:23 +07:00
2026-04-16 14:17:48 +07:00
2026-03-27 09:28:42 +07:00
2026-03-23 13:51:28 +07:00
2026-04-12 19:03:47 +07:00
2026-03-20 17:51:40 +07:00
2026-04-16 14:17:48 +07:00
2026-04-11 21:22:23 +07:00
2026-03-29 19:41:35 +07:00
2026-04-12 19:03:47 +07:00
2026-03-24 08:56:10 +07:00
2026-03-27 22:26:36 +07:00
2026-04-16 14:17:48 +07:00
2026-03-27 22:26:36 +07:00
2026-04-16 14:17:48 +07:00
2026-03-27 22:26:36 +07:00
2026-03-28 17:25:59 +07:00
2026-03-27 22:26:36 +07:00
2026-03-28 17:25:59 +07:00
2026-03-27 22:26:36 +07:00
2026-03-28 17:25:59 +07:00
2026-03-27 22:26:36 +07:00
2026-03-27 22:26:36 +07:00
2026-04-09 21:15:19 +07:00
2026-03-27 22:26:36 +07:00
2026-04-16 14:17:48 +07:00
2026-04-16 14:17:48 +07:00
2026-04-12 17:05:57 +07:00
2026-04-12 17:05:57 +07:00
2026-03-27 22:26:36 +07:00
2026-04-12 19:03:47 +07:00
2026-03-31 12:10:55 +07:00
2026-03-31 12:10:55 +07:00
2026-03-27 21:03:34 +07:00
2026-04-15 11:24:57 +07:00
2026-04-16 14:17:48 +07:00
2026-04-15 11:24:57 +07:00
2026-03-25 13:23:46 +07:00
2026-04-11 21:22:23 +07:00
2026-04-09 21:15:19 +07:00
2026-03-20 14:21:46 +07:00
2026-04-12 11:19:00 +07:00
2026-03-20 14:21:46 +07:00
2026-03-20 22:26:48 +07:00
2026-04-12 11:19:00 +07:00
2026-04-12 11:19:00 +07:00
2026-04-12 11:09:32 +07:00
2026-04-12 09:01:01 +07:00
2026-04-12 09:01:01 +07:00
2026-04-12 11:09:32 +07:00
2026-04-15 11:24:57 +07:00
2026-04-12 11:09:32 +07:00
2026-04-12 11:09:32 +07:00
2026-04-12 11:09:32 +07:00
2026-04-12 11:09:32 +07:00
2026-03-24 23:17:51 +07:00
2026-03-23 08:08:23 +07:00
2026-03-18 13:02:07 +07:00
2026-03-25 16:03:31 +07:00
2026-03-25 16:03:31 +07:00