This document serves as a public declaration of the improvements that will be made to our project. It outlines the key milestones, goals, and timelines for the development and delivery of these enhancements.
The following roadmap provides an overview of the planned features, their expected release dates, and the current status:
Feature | Expected Release Date |
---|---|
New File Creation with Manifest Support | August 2024 |
Dynamic Message Generation with Remote Prompts | August 2024 |
Feature | Status | Expected Completion Date |
---|---|---|
Extends messages | On Progress | September 2024 |
Remote Prompt Support for q Command | On Progress | September 2024 |
🐞 Vulnerability protection before to read a file or execute a command | On Design | September 2024 |
Script to run after | On Design | August 2024 |
The following proposal outlines a potential feature and its expected timeline:
Usar como base los prompt entregados por fabric https://github.com/danielmiessler/fabric.
Implement the property extends
to include the messages from another files local o remote.
We will enhance the q
command to support remote prompts, allowing users to execute commands using agents hosted on remote locations. This feature will be useful for developers who want to access and test agents in a shared repository or a specific branch.
The new behavior will be as follows:
- When the user executes a command like
q commit
, the application will attempt to retrieve the corresponding agent from the specified remote location (e.g.,https://raw.githubusercontent.com/JonDotsoy/q-project/develop/agents/commit.agent
). - If the agent is found at the remote location, it will be executed as if it were a local prompt.
- If the agent is not found at the remote location, the application will fall back to searching for the corresponding agent in the user's local directory.
- This feature will support any command that can be executed by a prompt, such as
q commit
,q deploy
, or custom commands defined by users.
By adding this new functionality, we can improve collaboration and flexibility among developers, allowing them to share and reuse agents across different environments.
We will add a new flag to the existing q
command that allows users to create a new file with a manifest. This feature will provide a convenient way for developers to start a new project or component with a pre-configured manifest.
The new behavior will be as follows:
- When the user executes
q -n
(orq --new
) without specifying any additional arguments, the application will prompt the user to enter a name for the new file. - The user can then provide a name for the new file, and the application will create a new file with that name and a pre-configured manifest.
- The manifest will contain default configurations and settings for the new file, which can be customized by the user if needed.
We will introduce a new feature that allows the inclusion of dynamic messages in the q
command, using remote prompts to fetch and incorporate content from various sources.
The new behavior will be as follows:
- Within each message scope, the
from
property can be used to specify the source of the content. This can be either a remote URL (e.g., GitHub repository) or a local file path. - When the
q
command is executed, it will fetch the content from the specified source and include it in the corresponding message.
Example Manifest
messages:
- system:
from: https://raw.githubusercontent.com/danielmiessler/fabric/main/patterns/create_tags/system.md
- user:
from: ./blogs/my-publication.md
In this example, the q
command will fetch and display two messages:
- The first message is system-wide and fetched from a remote GitHub repository.
- The second message is intended for a specific user and fetched from a local file path.
By introducing this feature, we can make it easier to create dynamic and interactive experiences within our application.
Show on terminal before to execute on terminal o read a file.
If use roadmap -A
this allow all execution otherwise show on terminal if you area allow this action.
Add rules to run after of complete competition of message. This action allow to automatize operations like a formatter, transforms.
Example:
- Run
cofy commit-message
to generate the commit message - On the after script run automatically the command
git commit