agentic-labs / lsproxy

Multi-language code navigation API in a container
https://lsproxy.dev
GNU Affero General Public License v3.0
43 stars 2 forks source link

Rob #40

Closed robmck1995 closed 1 month ago

robmck1995 commented 1 month ago

Description


Changes walkthrough

Relevant files
Enhancement
main.rs
Add OpenAPI file writing and testing functionality                         

lsproxy/src/main.rs
  • Added function write_openapi_to_file to handle OpenAPI file writing.
  • Refactored main function to use the new file writing function.
  • Added unit test for OpenAPI JSON generation.
  • +75/-12 
    astar_search.sh
    Implement A* search algorithm in Bash script                                     

    sample_project/bash/astar_search.sh
  • Implemented A* search algorithm in Bash.
  • Added grid setup and pathfinding logic.
  • Included functions for heuristic calculation and path printing.
  • +372/-1 
    astar.cpp
    Implement A* search algorithm in C++                                                     

    sample_project/cpp/cpp_classes/astar.cpp
  • Implemented A* search algorithm in C++.
  • Added classes and methods for pathfinding.
  • +103/-1 
    astar_search.cpp
    Add main function for A* search execution                                           

    sample_project/cpp/astar_search.cpp
  • Created main function to execute A* search.
  • Integrated pathfinding logic and output.
  • +32/-1   
    map.cpp
    Define map class for A* search                                                                 

    sample_project/cpp/cpp_classes/map.cpp
  • Defined map class for A* search.
  • Initialized grid with obstacles.
  • +19/-1   
    point.cpp
    Define point class with operators                                                           

    sample_project/cpp/cpp_classes/point.cpp - Defined point class with operators.
    +8/-1     
    Configuration changes
    test.sh
    Update Docker volume mount in test script                                           

    scripts/test.sh - Modified Docker volume mount for test execution.
    +1/-1     
    💡 Usage Guide ### Checking Your Pull Request Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later. ### Talking to CodeAnt AI Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
    @codeant-ai ask: Your question here
    
    This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code. ### Retrigger review Ask CodeAnt AI to review the PR again, by typing:
    @codeant-ai: review
    
    ### Check Your Repository Health To analyze the health of your code repository, visit our dashboard at [app.codeant.ai](https://app.codeant.ai). This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.
    codeant-ai[bot] commented 1 month ago

    Things to consider 🐛