openagentry

CORE · Error

E_PLUGIN_LAYOUT

Could not locate the plugin's `package.json` near its resolved entry point.

Package
@openagentry/cli
Category
core

— · Resolution

How to recover

Reinstall the package (`npm rebuild` or `npm ci`). If the layout is non-standard, file an issue.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_PLUGIN_LAYOUT',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Reinstall the package (`npm rebuild` or `npm ci`). If the layout is non-standard, file an issue.',
  docs: 'https://openagentry.dev/errors/E_PLUGIN_LAYOUT',
});

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