-
Notifications
You must be signed in to change notification settings - Fork 20
Description
As a Backend Developer I would like to ensure that the installation mechanism for new abilities in OS works correctly by verifying the download, dependency installation, and setup processes That way users can seamlessly install and use new abilities with minimal manual intervention.
Narrative
The purpose of this issue is to create and verify the installation process for a new ability named "Assistant." This ability will be installed directly from its own repository when the user clicks the "Install" button in OS. The process involves creating the necessary files and structures, verifying the repository URL, ensuring the metadata.json file correctly handles the installation, and running the required scripts. The goal is to make sure the entire installation process, including downloading dependencies and running setup scripts, works smoothly.
Acceptance Criteria
1 - Create Ability Folder and Metadata:
-
- Task: Create a folder named "Assistant" inside https://github.com/pAI-OS/paios/tree/main/abilities.
-
- File: Create a metadata.json file inside the "Assistant" folder.
2 - Verify and Download Repository URL:
-
- Task: Verify that the "Repository" URL in the metadata.json points to the correct repository.
-
- Verification: Ensure that the URL is accessible and the necessary files are download.
3 - Install Ability via Main Script:
- Task: Verify that the main.py script in the "Assistant" folder correctly installs the "Assistant" ability.
- Verification: Ensure that running main.py downloads the ability from the repository and installs all its dependencies.
4 - Run Installation Scripts:
- Task: Ensure that any scripts tagged for installation (e.g., npm scripts) are executed correctly.
- Verification: Run the script to check that dependencies are installed via npm or any other required package manager.