openagentry

CORE · Error

E_PLUGIN_CATEGORY_MISMATCH

Manifest declares one category but the runtime adapter exports a different one.

Package
@openagentry/cli
Category
core

— · Resolution

How to recover

The package author needs to align `package.json#openagentry.category` with the adapter's runtime `.category` field.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_PLUGIN_CATEGORY_MISMATCH',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'The package author needs to align `package.json#openagentry.category` with the adapter\'s runtime `.category` field.',
  docs: 'https://openagentry.dev/errors/E_PLUGIN_CATEGORY_MISMATCH',
});

The context field carries adapter-specific detail (HTTP status, missing env-var names, validation issues). It never contains secret values.


— · See also

Related codes from @openagentry/cli