diff --git a/packages/shared/src/constants.ts b/packages/shared/src/constants.ts index 9cf22a56f30..001ccee26f2 100644 --- a/packages/shared/src/constants.ts +++ b/packages/shared/src/constants.ts @@ -628,7 +628,6 @@ export const PLUGIN_CAPABILITIES = [ "issue.comments.read", "issue.documents.read", "agents.read", - "agents.managed", "goals.read", "goals.create", "goals.update", diff --git a/packages/shared/src/validators/plugin.test.ts b/packages/shared/src/validators/plugin.test.ts index 09f18759fb8..b8b3cbdab5f 100644 --- a/packages/shared/src/validators/plugin.test.ts +++ b/packages/shared/src/validators/plugin.test.ts @@ -1,6 +1,13 @@ import { describe, expect, it } from "vitest"; +import { PLUGIN_CAPABILITIES } from "../constants.js"; import { pluginUiSlotDeclarationSchema } from "./plugin.js"; +describe("plugin capability constants", () => { + it("exposes each capability once", () => { + expect(new Set(PLUGIN_CAPABILITIES).size).toBe(PLUGIN_CAPABILITIES.length); + }); +}); + describe("plugin UI slot validators", () => { it("accepts route-scoped sidebar slots with a routePath", () => { const parsed = pluginUiSlotDeclarationSchema.parse({