🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@auto-engineer/cli

Package Overview
Dependencies
Maintainers
1
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@auto-engineer/cli

Command-line interface for Auto Engineer, a tool for building applications with Narrative Driven Development.

npmnpm
Version
1.148.0
Version published
Maintainers
1
Created
Source

@auto-engineer/cli

Command-line interface for Auto Engineer, a tool for building applications with Narrative Driven Development.

Purpose

The CLI orchestrates a pipeline-based architecture that loads plugins, starts development servers, and synchronizes files between local development and remote sandboxes. It serves as the primary entry point for running Auto Engineer workflows.

Installation

# Global
npm install -g @auto-engineer/cli

# Or via npx
npx @auto-engineer/cli

Quick Start

# Step 1: Create a config file
cat > auto.config.ts << 'EOF'
import { define } from '@auto-engineer/pipeline';

export const plugins = [
  '@auto-engineer/narrative',
  '@auto-engineer/server-generator-apollo-emmett',
];

export const pipeline = define('my-pipeline')
  .on('SchemaExported')
  .emit('GenerateServer', (e) => ({
    modelPath: e.data.outputPath,
    destination: e.data.directory,
  }))
  .build();
EOF

# Step 2: Start the server
auto start

# Step 3: View the pipeline diagram
auto diagram

How-to Guides

Start the Pipeline Server

auto start
# or simply
auto

Dispatch a Command

auto dispatch GenerateServer --data '{"modelPath": "./schema.json", "destination": "."}'

Check Server Status

auto status

Connect to Existing Server

auto dispatch MyCommand --host http://localhost:5555 --data '{}'

Configure for CI/CD

auto start --port 8080 --config ./ci.config.ts

CLI Reference

Commands

auto start

Start the pipeline server with loaded config (default command).

auto start [options]
OptionAliasTypeDefaultDescription
--port-pnumber5555Server port
--debug-dbooleanfalseEnable debug mode
--config-cstringauto.config.tsPath to config file

auto dispatch <command>

Dispatch a command to the pipeline server.

auto dispatch <command> [options]
OptionTypeDefaultDescription
--datastring{}Command data as JSON
--hoststringlocalhostConnect to existing server

auto status

Check pipeline server health and registry status.

auto status

auto diagram

Open the pipeline diagram in a browser.

auto diagram

Configuration File

// auto.config.ts
import { define } from '@auto-engineer/pipeline';

export const fileId = 'my-project';

export const plugins = [
  '@auto-engineer/narrative',
  '@auto-engineer/server-generator-apollo-emmett',
];

export const pipeline = define('my-pipeline')
  .on('SchemaExported')
  .emit('GenerateServer', (e) => ({
    modelPath: e.data.outputPath,
    destination: e.data.directory,
  }))
  .build();

Troubleshooting

Server Won't Start

Symptom: No pipeline config found error

Cause: Missing auto.config.ts file in current directory

Solution:

# Create a minimal config
cat > auto.config.ts << 'EOF'
export const plugins = [];
export const pipeline = { nodes: [] };
EOF

Port Already in Use

Symptom: Server fails to bind to port

Cause: Another process is using the port

Solution:

auto start --port 5556

Plugin Not Loading

Symptom: Command handlers not found

Cause: Plugin package not installed or COMMANDS not exported

Solution:

pnpm add @auto-engineer/my-plugin

Enable Debug Logging

DEBUG=auto:* auto start

Architecture

src/
ā”œā”€ā”€ index.ts
ā”œā”€ā”€ file-syncer/
│   └── index.ts
└── bin/
    └── auto.js

Server Endpoints

EndpointDescription
/healthServer health check
/registryList registered handlers
/pipelinePipeline state
/pipeline/diagramVisual diagram
/eventsSSE stream
ws://<syncPort>File sync WebSocket

Dependencies

PackageUsage
@auto-engineer/pipelinePipeline server infrastructure
@auto-engineer/narrativeFile discovery for sync
@auto-engineer/file-storeVirtual file system
commanderCLI argument parsing
socket.ioWebSocket communication
chokidarFile system watching

FAQs

Package last updated on 23 Mar 2026

Did you know?

Socket

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.

Install

Related posts