JSPM

code-assistant-config-interface

1.1.8
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 25
    • Score
      100M100P100Q43118F
    • License MIT

    CACI (Code Assistant Configuration Interface) - Intelligent CLI tool for configuring Claude Code projects

    Package Exports

      This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (code-assistant-config-interface) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      CACI

      CACI (Code Assistant Configuration Interface) - An intelligent CLI tool for configuring Claude Code projects.

      Overview

      CACI (Code Assistant Configuration Interface) is an npm package that provides an interactive CLI interface to automate the configuration of Claude Code projects. It intelligently analyzes project requirements and selects the most relevant agents, commands, MCPs, and hooks from a large pool of available components.

      Features

      • Interactive CLI Interface: Easy-to-use command-line interface similar to the BMAD-method installer
      • AI-Powered Component Selection: Uses OpenRouter API with automatic key creation to intelligently recommend components based on project requirements
      • Component Analysis: Parses a large pool of components (102+ agents) and recommends the most relevant ones
      • Colorful Output: User-friendly interface with colored output for better readability
      • Comprehensive Testing: Full test coverage for all functionality

      Installation

      No installation required! Run directly with npx:

      npx code-assistant-config-interface configure

      Or install globally:

      npm install -g code-assistant-config-interface

      Usage

      # Run configuration (recommended)
      npx code-assistant-config-interface configure
      
      # Or if installed globally:
      caci configure
      
      # Other commands
      caci update      # Update existing configuration
      caci reset       # Reset to previous configuration
      caci history     # View configuration history
      caci --help      # Display help

      Commands

      • configure: Start the configuration process for a new project
      • update: Update the existing configuration
      • reset: Restore the previous configuration
      • --help: Display help information

      Requirements

      To use the AI-powered component recommendation feature:

      1. The tool will automatically prompt you to authenticate with OpenRouter when needed
      2. It uses OpenRouter's auto-create key format for seamless authentication
      3. No manual API key setup required - authentication is handled through OAuth flow

      Development

      Prerequisites

      • Node.js (v14 or higher)
      • npm

      Setup

      git clone <repository-url>
      cd caci
      npm install

      Building

      npm run build

      Testing

      npm test

      Running locally

      npm start

      Project Structure

      src/
      ├── cli/                 # CLI interface and commands
      ├── analyzer/            # Component analysis and AI recommendations
      │   ├── index.ts         # Data models and interfaces
      │   ├── parser.ts        # Component JSON parsing
      │   ├── questions.ts     # Interactive question flow
      │   ├── requirementCollector.ts # CLI prompts for requirements
      │   ├── ai-recommender.ts # AI-powered component recommendation
      │   └── display.ts       # Recommendation display
      └── types/               # TypeScript types
      
      tests/
      ├── cli/                 # CLI interface tests
      └── analyzer/            # Component analysis tests

      Contributing

      1. Fork the repository
      2. Create a feature branch
      3. Commit your changes
      4. Push to the branch
      5. Create a pull request

      License

      MIT

      Acknowledgements

      • Uses OpenRouter API for AI-powered recommendations
      • Built with Commander.js for CLI interface
      • Uses Chalk for colorful terminal output
      • Integrates with Claude Code project configuration system