Package: dev-assistant-client
Dev AssistantWelcome to theDev Assistantproject.What is it?Dev Assistantis aGPTs, a (tailored version of ChatGPT) that can assist developers by executing tasks directly in our development environment. GPTs are a new way for anyone to create a tailored version of ChatGPT to be more helpful in their daily life, at specific tasks, at work, or at home. For more information about GPTs, please refer toOpenAI's blog post.This repository contains the Dev Assistant CLI, a Python package that serves as the core component of the project. It receives instructions from Dev Assistant GPT, executes them locally, and sends the response back.FeaturesDev Assistant CLI is designed to streamline your development process by offering a range of functionalities:File Management: Create, read, update, and delete files. List the contents of a directory. You can manage your files without leaving your conversation with Dev Assistant GPT.Git Version Control: Initialize a Git repository, add changes to the staging area, commit changes, and push changes to a remote repository. Get the status of the Git repository. You can manage your Git repositories directly through Dev Assistant GPT.Terminal Commands Execution: Execute commands directly in the terminal. You can run any command in your terminal directly from Dev Assistant GPT.Requirements📓 Python 3.10+📓 Pip and Poetry💸 ChatGPT Plus subscription(for custom GPTs access)⭐Dev Assistant accountInstallationCreate a Dev Assistant account atdevassistant.tonet.devGenerate a token athttps://devassistant.tonet.dev/user/api-tokensfor Dev Assistant GPT and save it. You will need it later.Install the local client:Install PythonRunpip install dev-assistant-clientin your terminalUsageOnce installed, just run the following:dev-assistantIf the CLI is not already authenticated, it will open a browser window where you will be provided with a token. Copy the token including the pipe, and return to the terminal.If everything runs well, you will see the Dev Assistant CLI presentation and a uniqueCLIENT ID, like this:╭─────╮   Dev Assistant
        │ >_< │   v0.2.46
        ╰─────╯   https://devassistant.tonet.dev

›       Connecting...           Connected!
›       CLIENT ID:              6a35a11c-f34e-4e30-be46-a9ac4d0f5ac7
›       WebSockets...           Connected!
›       Private channel...      Connected!
›       Ready!  Listening for instructions...
›You can stop the client just doing aCRTL+Cin the terminal at any time.CommandsGo toDev Assistant GPTand start a conversation. You can ask for help with the commands, or just let Dev Assistant GPT discover it by itself. It will ask you to login if you are not already logged in.You can now ask Dev Assistant GPT to do things like:Create a new file calledmy-file.txton my DesktopRead a file calledother-file.ymlUpdate a fileDelete a fileList the contents of a directoryInitialize a Git repositoryAdd changes to the staging areaCommit changesPush changes to a remote repositoryGet the status of the Git repositoryExecute a command in the terminal
... and more!VersioningTo update the version of the package, follow these steps:Commit your changes with a descriptive message.Create a git tag with the formatvX.Y.ZwhereX.Y.Zis the new version number.Push your changes and the new tag to the repository.The GitHub Actions workflow will automatically deploy the new version to PyPi when a new tag is detected.ContributingWe welcome contributions! If you have an idea for an improvement or have found a bug, please open an issue. Feel free to fork the repository and submit a pull request if you'd like to contribute code. Please follow the code style and conventions used in the existing codebase.DevelopmentFork the repositoryClone your forkGo to the project folderInstall Dev Assistant Client in local mode withpip install -e .orpoetry installRundev-assistantin your terminal to start the CLI. You can use poetry to run the CLI withpoetry run dev-assistantMake your changesTest your changesCommit your changesPush your changesOpen a pull request🎉LicenseThe Dev Assistant Local Client is open-source software, licensed under theMIT license.SupportIf you encounter any problems or have any questions, don't hesitate to open an issue on GitHub. We're here to help!AcknowledgementsA big thank you to all contributors and users for your support! We couldn't do it without you.AuthorsLuciano T.ChatGPTCursor.so