"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 |
- 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.
- 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).
- 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.
- 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.
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]
- Node.js v22+
- Git
- 4GB RAM minimum
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 ..Start the frontend, backend server, and Electron shell simultaneously using the concurrent runner:
npm run start:full- Open the Settings panel inside the IDE (Ctrl/Cmd + ,).
- Click "Connect Google Account".
- Authenticate in the browser page on the local callback port (default
51121). - The IDE will automatically discover your GCP
projectId.
- Open the Settings panel inside the IDE.
- Click "Connect OpenAI Codex".
- Authenticate in the browser via OpenAI's OAuth endpoint.
- The callback automatically completes using
http://localhost:1455/auth/callback. If blocked, copy and paste the redirect URL manually into the setup panel.
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!
- 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.
To ensure DevStudio AI reaches production-grade reliability and security, the following critical issues and improvements are scheduled for immediate sprints:
- Secret Protection & Git Exclusion: Remove committed
backend/.envcontaining 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.jsto dynamically load values from backend environment configurations (ALLOWED_ORIGINS).
- Secure Token Storage (OS Keychain): Move sensitive access/refresh tokens from plain JSON config (
~/.vsdev/config.json) to the system keychain usingkeytarwith secure fallbacks. - Rate-Limiting Middleware: Add
express-rate-limitfor 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
xtermpackages and sub-modules to the scoped@xterm/xtermlibrary insideTerminal.jsx. - Repository Sanitation: Exclude build logs, backups, and temporary scratch sheets (
*.bak,temp_*.txt) from commits and update.gitignore.
- 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 activeCHANGELOG.md.
We love contributions! Follow these steps to submit a feature:
- Fork the project repository.
- Create your feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'β¨ Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request on GitHub.
Distributed under the MIT License. See LICENSE for details.
