feat: support plugin-contributed custom agents (#2365)

* feat: support plugin-contributed custom agents

* fix: await plugin loading before agent catalog

* fix: refresh plugin agents on v1 reload

* test(agent-core-v2): add enabledSystemPrompts to the plugin service stub
This commit is contained in:
7Sageer 2026-07-29 21:59:48 +08:00 committed by GitHub
parent 1896d1a13a
commit fa2c5ce18b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 641 additions and 33 deletions

View file

@ -85,6 +85,7 @@ export const pluginManifestSchema = z.object({
homepage: z.string().optional(),
license: z.string().optional(),
skills: z.array(z.string()).optional(),
agents: z.array(z.string()).optional(),
sessionStart: pluginSessionStartSchema.optional(),
mcpServers: z.record(z.string(), mcpServerConfigSchema).optional(),
hooks: z.array(hookDefSchema).optional(),