Skip to content

VS Code extension that streamlines development workflows through AI-powered task execution, intelligent file management, and automated code generation. Built on Cline, it integrates with various LLMs to enhance productivity and code quality while simplifying complex development tasks.

License

Notifications You must be signed in to change notification settings

presidio-oss/cline-based-code-generator

Repository files navigation

License Issues Stars Forks

HAI Logo

🚀 Code Generator

HAI Code Generator is a cutting-edge tool designed to simplify and automate task execution while enhancing code generation workflows. Leveraging Specif AI, it streamlines processes like task execution, file identification, and code documentation through intelligent automation and AI-driven capabilities.

🏗️ Built on Cline's powerful foundation for AI-assisted development.

HAI Demo

Table of Contents

🌟 Overview

HAI Code Generator is designed to boost productivity and precision by automating task execution and integrating file management capabilities. It combines intelligent file indexing, context generation, and LLM-driven automation to minimize manual effort and ensure task accuracy. With user-friendly interfaces and configurable settings, HAI Code Generator is perfect for both developers and teams aiming to enhance their workflows.

📥 Getting Started

  • Download the latest HAI Code Generator extension from our releases page
  • Open Visual Studio Code → Extensions (⇧⌘X) → Views and More Actions (Button with three dots in the top right corner of the left pane)
HAI Demo
  • Click Install from VSIX and select the downloaded “.vsix” file
  • Upon installation, the HAI extension can be found in the sidebar.
HAI Demo

✨ Features

📝 HAI Tasks

Harness the power of AI for seamless task management and user-story execution, HAI Code Generator integrates tasks generated by Specif AI, allowing them to be loaded directly into the HAI Tasks page. This streamlined process enables you to:

  • Review AI-generated tasks within a dedicated interface.
  • Execute them instantly with a single click.
  • Manage all tasks in one place for improved clarity and productivity.

By centralizing AI-driven tasks in HAI Code Generator, you can maintain an efficient workflow from ideation to execution.


Tasks List Page with Tasks Loaded

Detailed View of HAI Tasks

  • In-Depth Story Review

    • View a story in detail by clicking the Eye icon, along with the corresponding list of tasks, providing comprehensive insights into objectives, prerequisites, and outcomes.
  • In-Depth Task Review

    • Similar to user stories, tasks can be viewed in detail and executed directly from the same interface.


🔍 File Identification

Enhanced file identification with intelligent discovery and retrieval:

File Identification

File Identification

Task-Based File Discovery

Transform the way you manage files by leveraging the core functionalities of Task-Based File Discovery, supported by advanced components like contextual code comments and indexing.

  • Contextual Code Comments

    • Automatically generate contextual comments for every identified file, offering deeper insights and clarifications.
    • Store all generated comments in a dedicated folder, ensuring they are easily accessible without cluttering your codebase.
  • Faiss DB Indexing

    • Built on the robust vector-search engine, Faiss DB ensures real-time and highly accurate file indexing, enabling instant discovery of relevant files.
    • Handles large repositories effortlessly, ensuring HAI Code Generator scales with your project's needs.

Together, these components form a cohesive system for efficient file identification, ensuring that Task-Based File Discovery is not just smart but also contextual.


⚙️ Settings Interface

Customize and seamlessly integrate advanced language and embedding models into your AI-powered workflow, ensuring you stay at the forefront of AI innovations.

  • LLM Configuration

    • Seamlessly integrate and switch between various language models, ensuring compatibility with the latest AI advancements. Supported models include OpenRouter, Anthropic, Google Gemini, GCP Vertex AI, AWS Bedrock, OpenAI, OpenAI-Compatible models, LM Studio, and Ollama.
  • Embedding Configuration

    • Effortlessly configure and switch between supported embedding models, ensuring flexibility and adaptability for different use cases. Compatible embedding models include OpenAI-Compatible, OpenAI, and AWS Bedrock.
Settings Interface Screenshot

Settings Interface

🤝 Contributing

To contribute to the project, start by exploring open issues or checking our feature request board.

To get started with HAI Code Generator, follow these steps:

Local Development Instructions
  1. Clone the repository (Requires git-lfs):

    git clone https://github.com/presidio-oss/cline-based-code-generator
  2. Open the project in VSCode:

    code cline-based-code-generator
  3. Install the necessary dependencies for the extension and webview-gui:

    npm run install:all
  4. Launch by pressing F5 (or Run -> Start Debugging) to open a new VSCode window with the extension loaded. (You may need to install the esbuild problem matchers extension if you run into issues building the project.)


Please read our Contributing Guidelines for more details.

📜 License

This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.

🙏 Acknowledgments

Thanks to all contributors and users for their support and feedback.

📧 Contact

For any questions or feedback, please contact us at [email protected].

About

VS Code extension that streamlines development workflows through AI-powered task execution, intelligent file management, and automated code generation. Built on Cline, it integrates with various LLMs to enhance productivity and code quality while simplifying complex development tasks.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •