CORE · Error
E_UNKNOWN_COMMAND
CLI was invoked with an unrecognised subcommand.
— · Resolution
How to recover
Run `agentry help` to see available commands.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_UNKNOWN_COMMAND',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Run `agentry help` to see available commands.',
docs: 'https://openagentry.dev/errors/E_UNKNOWN_COMMAND',
});
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
-
E_PLUGIN_NOT_FOUNDA plugin declared in `.agentry/workspace.json` is not installed in the workspace. -
E_PLUGIN_BAD_EXPORTPlugin module is missing an adapter shape on its default export. -
E_PLUGIN_CATEGORY_MISMATCHManifest declares one category but the runtime adapter exports a different one. -
E_PLUGIN_LAYOUTCould not locate the plugin's `package.json` near its resolved entry point. -
E_PLUGIN_PACKAGE_JSONA plugin's package.json is not valid JSON. -
E_PLUGIN_NO_MANIFESTPlugin's package.json is missing the `openagentry` manifest block. -
E_WORKSPACE_EXISTSagentry init refused to overwrite an existing `.agentry/workspace.json`. -
E_WORKSPACE_CONFIG_READCould not read `.agentry/workspace.json`.