
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@auto-engineer/cli
Advanced tools
CLI interface for Auto Engineer - a plugin-based command-line tool for building applications with AI assistance.
CLI interface for Auto Engineer - a plugin-based command-line tool for building applications with AI assistance.
# Install globally
npm install -g @auto-engineer/cli
# Or use with npx
npx @auto-engineer/cli
# Or with pnpm
pnpm install -g @auto-engineer/cli
The CLI uses a plugin-based architecture. Install only the functionality you need:
npm install -g @auto-engineer/cli
# For server development
npm install @auto-engineer/flow @auto-engineer/server-generator-apollo-emmett @auto-engineer/server-implementer
# For frontend development
npm install @auto-engineer/frontend-generator-react-graphql @auto-engineer/frontend-implementer
# For validation and testing
npm install @auto-engineer/server-checks @auto-engineer/frontend-checks
auto.config.ts
):export default {
plugins: [
'@auto-engineer/flow',
'@auto-engineer/server-generator-apollo-emmett',
'@auto-engineer/server-implementer',
],
// Optional: Handle command conflicts
aliases: {
// 'command:alias': '@auto-engineer/package-name'
},
};
auto create:example shopping-assistant
auto export:schema ./.context ./flows
auto generate:server .context/schema.json .
Plugin | Commands | Description |
---|---|---|
@auto-engineer/flow | create:example , export:schema | Flow modeling and schema export |
@auto-engineer/server-generator-apollo-emmett | generate:server | Server code generation |
@auto-engineer/server-implementer | implement:server , implement:slice | AI server implementation |
@auto-engineer/frontend-generator-react-graphql | generate:client , copy:example | React client scaffolding |
@auto-engineer/frontend-implementer | implement:client | AI client implementation |
@auto-engineer/information-architect | generate:ia | Information architecture generation |
@auto-engineer/design-system-importer | import:design-system | Figma design system import |
@auto-engineer/server-checks | check:types , check:lint , check:tests | Server validation |
@auto-engineer/frontend-checks | check:client | Frontend validation |
The CLI looks for an auto.config.ts
file in your project root:
// auto.config.ts
export default {
// List of npm packages to load as plugins
plugins: [
'@auto-engineer/flow',
'@auto-engineer/server-generator-apollo-emmett',
// ... more plugins
],
// Optional: Override command aliases when conflicts occur
aliases: {
'create:example': '@auto-engineer/flow',
// ... more overrides
},
};
When multiple plugins register the same command alias, you'll receive an error with instructions:
Command alias conflicts detected!
Multiple packages are trying to register the same command aliases.
Please add alias overrides to your auto.config.ts file:
export default {
plugins: [
'@auto-engineer/package-a',
'@auto-engineer/package-b',
],
aliases: {
// Map the conflicting command to the package that should handle it
'conflicting:command': '@auto-engineer/package-a',
}
};
The alias resolution works per command, not per package. Each package can expose multiple commands, and you resolve conflicts for specific command aliases. For example, if both server-checks
and another-package
provide a check:types
command, you specify which package handles that specific command.
Commands are provided by installed plugins. Run auto --help
to see available commands based on your configuration.
Flow Development (requires @auto-engineer/flow
)
create:example <name>
- Create an example projectexport:schema <context> <flows>
- Export flow schemasServer Generation (requires respective plugins)
generate:server <schema> <dest>
- Generate server from schemaimplement:server <server-dir>
- AI implements serverFrontend Generation (requires respective plugins)
generate:ia <context> <flows...>
- Generate Information Architecturegenerate:client <starter> <client> <ia> <gql> [vars]
- Generate React clientimplement:client <client> <context> <principles> <design>
- AI implements clientValidation & Testing (requires check plugins)
check:types <directory>
- TypeScript type checkingcheck:tests <directory>
- Run test suitescheck:lint <directory> [--fix]
- Linting with optional auto-fixcheck:client <client-dir>
- Full frontend validation-v, --version
- Show version number-d, --debug
- Enable debug mode--no-color
- Disable colored output--json
- Output in JSON format--api-token <token>
- API token for external services--project-path <path>
- Project path to work withSet these in your .env
file or environment:
# AI Provider Keys (need at least one)
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
GEMINI_API_KEY=...
XAI_API_KEY=...
# Debugging
DEBUG=cli:* # Debug CLI operations
DEBUG=cli:plugin-loader # Debug plugin loading
# Configuration
NO_COLOR=1 # Disable colored output
AUTO_ENGINEER_ANALYTICS=false # Disable usage analytics
Plugins are npm packages that export a CLI_MANIFEST
:
// your-plugin/src/cli-manifest.ts
export const CLI_MANIFEST = {
commands: {
'your:command': {
handler: () => import('./commands/your-command'),
description: 'Description of your command',
},
},
};
// your-plugin/src/index.ts
export { CLI_MANIFEST } from './cli-manifest';
export * from './commands/your-command';
The command handler should export a function that handles the command:
// your-plugin/src/commands/your-command.ts
export async function handleYourCommand(command: { type: string; data: any; timestamp: Date; requestId: string }) {
// Implementation
}
When no auto.config.ts
is present, the CLI falls back to built-in commands that work with locally available packages.
Auto-engineer uses standardized error codes for easy troubleshooting:
E4001
- Validation errorE4002
- Configuration errorE4003
- Invalid API tokenE4004
- Invalid project pathE5001
- Runtime errorE9999
- Unknown errorAuto-engineer collects anonymous usage analytics to improve the tool:
To disable analytics:
export AUTO_ENGINEER_ANALYTICS=false
Enable debug output to troubleshoot issues:
# Debug everything
DEBUG=* auto create:example test
# Debug plugin loading
DEBUG=cli:plugin-loader auto --help
# Debug specific plugins
DEBUG=flow:* auto export:schema ./context ./flows
Part of the Auto Engineer monorepo. Licensed under Elastic License 2.0.
FAQs
CLI interface for Auto Engineer - a plugin-based command-line tool for building applications with AI assistance.
The npm package @auto-engineer/cli receives a total of 849 weekly downloads. As such, @auto-engineer/cli popularity was classified as not popular.
We found that @auto-engineer/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.