Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

devforgeai

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devforgeai

Spec-driven development framework for AI-assisted software development with zero technical debt. Enforces TDD workflows, quality gates, architectural constraints, and anti-pattern prevention across 34 skills, 47+ agents, and 47+ slash commands.

Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
3
-89.66%
Maintainers
1
Weekly downloads
 
Created
Source

DevForgeAI Installation Wizard

Interactive CLI wizard for DevForgeAI installation with visual feedback and guided prompts.

Services

InstallWizard

Main orchestrator for the installation wizard flow. Coordinates prompts, progress indicators, and error handling.

const { InstallWizard } = require('./install-wizard');

const wizard = new InstallWizard({
  promptService,
  progressService,
  outputFormatter,
  signalHandler,
  installer
});

const config = await wizard.run({ yes: false, quiet: false });

PromptService

Handles interactive prompts using Inquirer.js.

Prompts:

  • promptTargetDirectory() - Target installation directory (default: current directory)
  • promptInstallationMode() - Installation mode: minimal, standard, full (default: standard)
  • promptMergeStrategy() - CLAUDE.md merge: preserve-user, merge-smart, replace (default: merge-smart)
  • promptConfirmation(message, options) - Yes/No confirmation for destructive actions

ProgressService

Visual progress indicators using Ora (spinners) and CLI-Progress (progress bars).

Methods:

  • startSpinner(text) - Start spinner for indeterminate operations
  • updateSpinner(text) - Update spinner text
  • stopSpinner(success, text) - Stop spinner with success/failure indicator
  • startProgressBar(total, label) - Start progress bar for determinate operations
  • updateProgressBar(current) - Update progress bar
  • stopProgressBar() - Stop progress bar

OutputFormatter

Color-coded terminal output using Chalk.

Methods:

  • success(message) - Green output with ✓ symbol
  • warning(message) - Yellow output with ⚠ symbol
  • error(message) - Red output with ✗ symbol
  • info(message) - Blue output with ? symbol

SignalHandler

Graceful SIGINT (Ctrl+C) handling with cleanup.

Methods:

  • register() - Register SIGINT handler
  • unregister() - Remove SIGINT handler
  • trackFile(path) - Track file for cleanup on interrupt
  • captureState(state) - Capture state for restoration

WizardConfig

Configuration defaults and validation.

Defaults:

  • targetDirectory: "."
  • installationMode: "standard"
  • mergeStrategy: "merge-smart"
  • spinnerDelayMs: 200
  • exitCodes.success: 0
  • exitCodes.sigint: 130

CLI Flags

FlagDescriptionDefault
--yesSkip all prompts, use defaultsfalse
--quietSuppress non-error outputfalse

Environment Variables

VariableDescription
CI=trueAuto-enables --yes and --quiet
NO_COLORDisables color output
TERM=dumbUses ASCII fallback symbols

Exit Codes

CodeDescription
0Success
1General error
130Cancelled by user (Ctrl+C)

Dependencies

  • inquirer@8.2.6 - Interactive prompts (CommonJS)
  • ora@5.4.1 - Spinners (CommonJS)
  • cli-progress@3.12.0 - Progress bars
  • chalk@4.1.2 - Colors (CommonJS)
  • commander@11.0.0 - CLI parsing

See ADR-006 for ESM/CJS compatibility decisions.

Keywords

ai

FAQs

Package last updated on 22 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