[DONE] feature/cloud-infra-mode — add cloud infrastructure mode and improve CLI setup TUI - #170
Open
bharatsachya wants to merge 9 commits into
Open
bharatsachya wants to merge 9 commits into
bharatsachya wants to merge 9 commits into
Conversation
Pre release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
cloudInfrastructure Mode: Addedcloudmode (infra_mode) alongsidedockerandembedded, allowing users to connect to cloud-hosted databases (MongoDB Atlas, Neo4j Aura, Redis Cloud/Upstash) without requiring a local Docker daemon.cloudmode is active are the Mongo URI, Neo4j URI, Neo4j user/password, and Redis URL fields displayed in the setup form; switching tocloudclears localhost defaults so users know to enter their cloud credentials.SetupForm.tsxso[Tab]and[Shift-Tab]navigate strictly linearly top-to-bottom through the visible form controls without jumping."bin": { "bytebell": "./packages/cli/src/index.ts" }and"bytebell"script to rootpackage.jsonsobun linkregisters the globalbytebellCLI executable properly.embeddedmode from the TUI for now so users choose cleanly betweendockerandcloud.bootConfig.ts,BootCommand.ts, andShutdownCommand.tssocloudmode does not attempt to launch local Docker containers or prompt for Docker shutdown.Why
Users who run databases in the cloud (such as Neo4j Aura, MongoDB Atlas, and remote Redis) needed a way to use their cloud database URLs without Bytebell forcing local Docker Compose containers to start. At the same time, users running Docker locally should have Docker Compose values populated automatically without having to configure them manually. Additionally,
bun linkrun from the repository root previously failed to register thebytebellcommand because rootpackage.jsonwas missing abinentry.How to test
1. Test CLI binary linking