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

magesh-presidio/cline-based-code-generator

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

  • Open Visual Studio Code β†’ Extensions (β‡§βŒ˜X) β†’ Search for β€œHAI Build” β†’ Click Install
HAI Demo
  • 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.


🎯 Upload Custom Instructions

HAI Code Generator's custom instruction sets help define code standards, preferred communication, and output formats to match your development workflow.

Custom Instructions

Custom Instructions

Personalized AI-Driven Development

  • Upload your own instruction sets to tailor HAI Code Generator to your unique requirements.
  • Use these instructions to generate tasks, code, or customize the tool's behavior.
  • Instruction sets are stored in the .vscode/hai-instructions folder, facilitating easy access and collaborative development.

These customizations empower developers to shape AI outputs that match their distinct coding style and preferences.


✏️ Inline Editing

Enhance your code editing experience with inline editing, allowing you to make changes directly within the codebase.

Inline Editing

Inline Editing

Seamless Quick Changes

  • Click "Edit with hAI" and provide a brief prompt to effortlessly transform selected code.
  • Perfect for quick edits or corrections without navigating away from your codebase.

βš™οΈ 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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.2%
  • JavaScript 1.1%
  • Other 0.7%