jacobzhou-oai
56b82e676c
Enforce Agent Plugin runtime boundaries ( #37027 )
...
## What changed
- Track Agent Plugin manifests through plugin, skill, and MCP loading so their capabilities use format-specific behavior without changing legacy plugins.
- Discover only direct-child skills, exclude app and hook capabilities, isolate MCP data, and reject MCP configuration files that are non-regular or resolve outside the plugin root.
- Bound model-visible skill instructions, plugin instructions, MCP descriptions, schemas, individual tools, and the aggregate Agent Plugin MCP tool set.
- Stop MCP and OAuth redirects when Agent Plugins send configured or authorization headers, while retaining existing redirect behavior for legacy MCP servers.
## Testing
- Add coverage for capability filtering, skill discovery, isolated MCP data and reserved-path expansion, unsafe MCP configuration files, context limits, and redirect handling.
GitOrigin-RevId: c9af66b051269f3226628ca280a58d32c808c38f
2026-08-05 04:54:33 +00:00
..
2026-08-05 04:54:33 +00:00
2026-08-04 19:18:03 +00:00
2026-08-05 04:54:33 +00:00
2026-08-05 04:54:33 +00:00
2026-07-20 14:44:25 +00:00
2026-08-01 14:33:12 +00:00
2026-07-29 23:24:43 +00:00
2026-07-11 01:15:48 +00:00
2026-07-17 23:19:12 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 14:01:31 +00:00
2026-08-04 19:48:21 +00:00
2026-07-29 18:40:38 +00:00
2026-07-29 13:53:15 +00:00
2026-07-31 18:58:32 +00:00
2026-08-04 19:12:46 +00:00
2026-07-30 21:49:53 +00:00
2026-07-20 13:50:06 +00:00
2026-08-04 03:49:53 +00:00
2026-07-21 19:17:18 +00:00
2026-08-04 19:12:46 +00:00
2026-07-21 14:25:18 +00:00
2026-07-15 01:07:29 +00:00
2026-08-04 19:18:03 +00:00
2026-07-22 23:45:45 +00:00
2026-06-15 19:25:54 -07:00
2026-08-04 19:18:03 +00:00
2026-08-04 19:18:03 +00:00
2026-06-17 19:52:43 +02:00
2026-07-23 23:13:59 +00:00
2026-08-04 16:53:33 +00:00
2026-08-04 18:59:32 +00:00
2026-08-04 22:23:40 +00:00
2026-06-01 18:01:52 +02:00
2026-06-05 08:32:07 -07:00
2026-06-05 08:32:07 -07:00
2026-08-01 14:33:12 +00:00
2026-08-01 14:33:12 +00:00
2026-08-03 17:29:42 +00:00
2026-07-29 13:53:15 +00:00
2026-08-04 16:53:33 +00:00
2026-06-05 08:34:34 -07:00
2026-07-29 03:50:00 +00:00
2026-06-12 17:14:27 -07:00
2026-07-29 13:53:15 +00:00
2026-07-18 18:00:51 +00:00
2026-07-29 13:53:15 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-08-04 22:23:40 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-06-24 03:10:20 +00:00
2026-08-04 22:23:40 +00:00
2026-06-26 19:27:31 +00:00
2026-06-26 19:27:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-19 16:50:54 +00:00
2026-06-08 17:02:36 -07:00
2026-07-18 18:00:51 +00:00
2026-07-12 19:18:37 +00:00
2026-08-01 14:33:12 +00:00
2026-07-17 23:07:40 +00:00
2026-07-29 13:53:15 +00:00
2026-08-04 19:12:46 +00:00
2026-07-21 19:17:18 +00:00
2026-08-04 19:05:45 +00:00
2026-07-29 13:53:15 +00:00
2026-05-20 15:57:50 -07:00
2026-08-03 23:05:35 +00:00
2026-08-04 22:23:40 +00:00
2026-07-21 20:13:08 +00:00
2026-07-23 19:19:35 +00:00
2026-06-18 15:06:23 -07:00
2026-07-20 15:44:37 +00:00
2026-07-29 22:24:39 +00:00
2026-06-10 11:24:29 -07:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-07-29 13:53:15 +00:00
2026-07-29 14:01:31 +00:00
2026-07-27 17:59:06 +00:00
2026-06-16 09:09:24 -07:00
2026-06-05 17:23:45 -07:00
2026-07-29 13:53:15 +00:00
2026-06-10 17:55:49 -07:00
2026-07-29 14:01:31 +00:00
2026-05-26 20:59:47 -07:00
2026-08-04 19:05:45 +00:00
2026-07-28 20:12:13 +00:00
2026-08-04 19:05:45 +00:00
2026-08-01 14:33:12 +00:00
2026-07-06 16:33:13 -04:00
2026-07-08 12:17:58 -04:00
2026-08-01 14:33:12 +00:00
2026-06-12 09:26:08 -07:00
2026-06-12 09:26:08 -07:00
2026-07-28 19:58:25 +00:00
2026-07-29 14:01:31 +00:00
2026-06-11 09:23:08 -07:00
2026-06-11 18:16:39 -07:00
2026-06-22 04:25:07 -07:00
2026-06-22 04:25:07 -07:00
2026-07-29 14:01:31 +00:00