Welcome to the aos packages repo! This project contains a collection of lua modules designed to help build aos (Actor-Oriented) processes or agents. Our goal is to provide a set of reusable modules that make it easier for developers to create robust and scalable aos solutions.
This repository is organized as a monorepo, with each module located in the packages
folder. The structure is as follows:
aos-modules/
│
├── packages/
│ ├── test-unit/
│ ├── db-admin/
│ ├── [other-modules]/
│
├── README.md
├── LICENSE
└── .gitignore
The Test Unit Module provides tools for creating and running unit tests for your AOS processes. It includes:
- Assertions: Functions to check the correctness of your code.
- Test Runner: A simple framework to execute tests and report results.
The dbAdmin Module offers functionalities for managing SQLite databases, including:
- List Tables: Retrieve a list of tables in the database.
- Get Record Count: Get the number of records in a specified table.
- Execute Queries: Run custom SQL queries against the database.
(Description of other modules you plan to include)
To get started with the AOS Modules, follow these steps:
-
Clone the Repository:
git clone https://github.com/yourusername/aos-modules.git
-
Navigate to the Packages Folder:
cd aos-modules/packages
-
Install Dependencies: Each module might have its own dependencies. Check the
README
file within each module's folder for specific instructions. -
Run Tests: Navigate to the
test-unit
module and run the tests to ensure everything is set up correctly.cd test-unit lua run_tests.lua
We welcome contributions from the community! To contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with clear messages.
- Open a pull request to the
main
branch.
Please ensure your code follows our coding standards and includes tests for any new functionality.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or need further assistance, feel free to open an issue or contact us at [[email protected]].
Feel free to adjust as necessary!