Skip to content
nitixhhhPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

5 Commits

Folders and files

Repository files navigation

Rocket

DevStudio AI

The Agentic, Liquid-Glass IDE That Codes With You, Not Just For You

Version Status License

Node.js Electron React Tailwind AI Brain

Quick Start Architecture Telegram


🎬 What Makes It Different?

"It's not just an editor. It's an autonomous coding companion wrapper that integrates multi-provider AI agents, offers a macOS-inspired liquid glassmorphism interface, and keeps you remotely connected via a secure Telegram Gateway."

🧠 Autonomous Agentic Brain πŸ“‚ VS Code Architected Tree πŸ“± Remote Control Gateway
Dual Google & OpenAI OAuth Zero-latency inline SVGs Remote command triggering
Multi-step reasoning loops Virtualized node tree (10K+ files) Real-time status reporting
Safe operation confirmation guard Portal-based context menus Mobile-friendly workspace monitoring

✨ Core Capabilities

πŸ€– Multi-Provider Agentic AI Engine

  • Double OAuth PKCE Flows: Completely isolated authentication paths for Google Antigravity & OpenAI Codex.
  • Flexible Providers: Run with Google Cloud Gemini, OpenAI Codex, or custom Modal GLM endpoints.
  • Autonomous Task Loop: Multi-step thinking loop allowing the agent to read, write, execute terminal commands, and verify changes iteratively.
  • Summon Agent Anywhere: Instantly open the AI session panel using Ctrl + I.
  • Confirm Before Destructive Action: High-safety confirmation guards for file deletions or system commands.

🎨 Premium Liquid Glassmorphism UI

  • macOS-inspired Panels: Blurry transparent sidebars, glowing acrylic accents, and smooth transition animations.
  • Custom Theme Manager: Tailor the IDE background and text themes dynamically.
  • Rich Activity Dashboard: Visual phase indicators showing the AI's internal process (THINKING βž” READING βž” WRITING βž” EXECUTING βž” VERIFYING βž” DONE).

πŸ“ Advanced File Explorer

  • Zero-Latency SVG Icons: Material Icon style paths drawn synchronously on first paintβ€”no dynamic imports or latency.
  • Visual Indent Guides: Tree branch guidelines for deep directory nested files.
  • Portal-Based Context Menu: Rendered directly into the document body to prevent clipping or instant-disappearing bugs.
  • CSS-Only Hover System: Eliminates unnecessary React re-renders on mousemove.
  • Non-Blocking Git Badges: Real-time modified (M), added (A), and untracked (U) badges without blocking the main event loop.

πŸ’» Developer Experience

  • Monaco Editor Wrapper: Core VS Code editor with full syntax highlighting, tabs, breadcrumbs, search, and diagnostics.
  • Real PTY Terminals: Xterm.js terminal sheets backed by a real Node-pty backend wrapper.
  • Chokidar File Watching: Real-time hot module replacement and folder updates.

πŸ—οΈ System Architecture

graph TD
    subgraph Electron Shell [Electron Desktop Shell]
        UI[React 19 Frontend - Vite + Tailwind]
        Monaco[Monaco Code Editor]
        Xterm[Xterm.js Terminal]
    end

    subgraph Node.js Backend [Node.js Backend Local Server]
        Server[Express Server & Socket.IO]
        Brain[AI Brain - Antigravity/Codex/Modal]
        Tools[Tool Router]
        FS[File System Manager]
        PTY[Node-PTY Terminal Service]
        Gateway[Telegram Gateway Manager]
    end

    UI <-->|Socket.IO| Server
    Monaco <-->|Local FS| FS
    Xterm <-->|Socket.IO| PTY
    Server <--> Brain
    Brain <--> Tools
    Tools --> FS
    Tools --> PTY
    Server <--> Gateway
    Gateway <-->|Telegram API| Bot[Telegram Bot Remote Control]
Loading

⚑ Quick Start

Prerequisites

  • Node.js v22+
  • Git
  • 4GB RAM minimum

1. Installation

Clone the repository and install dependencies for both the frontend and backend workspace:

# Clone the repository
git clone https://github.com/yadavnithi887-hue/v0.5.git
cd v0.5

# Install root dependencies
npm install

# Install backend dependencies
cd backend
npm install
cd ..

2. Run the Application

Start the frontend, backend server, and Electron shell simultaneously using the concurrent runner:

npm run start:full

πŸ” AI Brain Authentication

Google Antigravity OAuth

  1. Open the Settings panel inside the IDE (Ctrl/Cmd + ,).
  2. Click "Connect Google Account".
  3. Authenticate in the browser page on the local callback port (default 51121).
  4. The IDE will automatically discover your GCP projectId.

OpenAI Codex OAuth

  1. Open the Settings panel inside the IDE.
  2. Click "Connect OpenAI Codex".
  3. Authenticate in the browser via OpenAI's OAuth endpoint.
  4. The callback automatically completes using http://localhost:1455/auth/callback. If blocked, copy and paste the redirect URL manually into the setup panel.

πŸ“± Telegram Gateway Setup

You can remote control your AI tasks and monitor long builds directly from your mobile phone.

Step Action Description / Command
1 Create Bot Message @BotFather on Telegram and type /newbot.
2 Get Token Copy the API token provided by @BotFather.
3 Get Chat ID Message @userinfobot to retrieve your account's unique Chat ID.
4 Configure Navigate to DevStudio Settings and paste the Token & Chat ID.
5 Activate Click "Start Gateway" πŸš€ inside the dashboard to link the bot.

πŸ’‘ Pro Tip: Ask your agent to write a script or build your app. Go grab a coffee, and get notified on Telegram the moment it completes the job!


πŸ—ΊοΈ Project Roadmap

  • v0.5.0 - Core IDE shell + initial AI tools + basic Telegram notifications.
  • v1.2.0 - Multi-provider isolated OAuth (Google & OpenAI Codex), Virtualized file explorer, macOS liquid glassmorphism.
  • v1.3.0 - Local SQLite Database integration for unlimited persistent session history.
  • v1.4.0 - Monaco built-in side-by-side diff viewer.
  • v2.0.0 - Live collaborative share & voice control integration.

πŸ“‹ Technical Backlog & Sprints

To ensure DevStudio AI reaches production-grade reliability and security, the following critical issues and improvements are scheduled for immediate sprints:

πŸ”΄ P0 β€” Critical Security Backlog (High Priority)

  • Secret Protection & Git Exclusion: Remove committed backend/.env containing active Google Cloud credentials, configure template .env.example, and enforce local user environment instructions.
  • API & Socket Authentication Middleware: Implement a secure token-based comparison mechanism (DEVSTUDIO_SECRET_KEY) for REST endpoints and Socket.IO handshakes to block unauthorized local executions.
  • Path Traversal Vulnerability Fix: Reinforce FileSystemTools._validatePath() to strictly block directory traversal attempts (e.g. ../../etc/passwd) and fail gracefully if the workspace is uninitialized.
  • Environment-Based CORS Origins: Refactor hardcoded local origins in server.js to dynamically load values from backend environment configurations (ALLOWED_ORIGINS).

🟠 P1 β€” Stability, Cleanliness & Dependencies (Medium Priority)

  • Secure Token Storage (OS Keychain): Move sensitive access/refresh tokens from plain JSON config (~/.vsdev/config.json) to the system keychain using keytar with secure fallbacks.
  • Rate-Limiting Middleware: Add express-rate-limit for authentication routes, provider endpoints, and restrict message frequency over Socket connections to prevent DoS attempts.
  • Graceful Exception Cleanup & Safe Shutdown: Rectify uncaught exception handlers in the backend to ensure safe server closures and proper cleanup of resources prior to process termination.
  • Dependency Migration (Modern Terminal): Migrate deprecated xterm packages and sub-modules to the scoped @xterm/xterm library inside Terminal.jsx.
  • Repository Sanitation: Exclude build logs, backups, and temporary scratch sheets (*.bak, temp_*.txt) from commits and update .gitignore.

🟑 P2 β€” Production-Grade Roadmap (Future Sprints)

  • Session Persistence (SQLite): Replace ephemeral memory-based sessions with a local persistent store using better-sqlite3.
  • Vitest Unit Test Suite: Establish a backend test pipeline targeting file tools path-traverals and OAuth token lifecycle workflows.
  • Semantic Versioning & Keep a Changelog: Initialize official pre-release versioning schemas (v0.1.0) and set up an active CHANGELOG.md.

🀝 Contributing

We love contributions! Follow these steps to submit a feature:

  1. Fork the project repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m '✨ Add amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request on GitHub.

πŸ“„ License

Distributed under the MIT License. See LICENSE for details.

🌟 Star our repository on GitHub if you love what we are building!

Made with ❀️ by the DevStudio Team

X.com | E-mail

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages