openagentry

CORE · Error

E_WORKSPACE_CONFIG_INVALID

`.agentry/workspace.json` failed schema validation.

Package
@openagentry/cli
Category
core

— · Resolution

How to recover

Compare against `agentry init` output. Plugins should be a string array; defaultEnv should be `dev`/`preview`/`prod`.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_WORKSPACE_CONFIG_INVALID',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Compare against `agentry init` output. Plugins should be a string array; defaultEnv should be `dev`/`preview`/`prod`.',
  docs: 'https://openagentry.dev/errors/E_WORKSPACE_CONFIG_INVALID',
});

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