Skip to content

v12.0.0 — Real PTY terminal & AI Agent

Latest

Choose a tag to compare

@PATILYASHH PATILYASHH released this 28 Apr 10:05
6ffec25

Highlights

🖥️ Real PTY terminal

The in-app Terminal is now backed by node-pty with xterm.js over a WebSocket. Interactive tools (claude, node, python, vim, ssh, top) work the same as in a native terminal — color, ANSI, cursor movement, Ctrl+C, the works.

  • Augmented PATH per command picks up newly installed binaries (npm globals, WinGet, pip user dirs) without a backend restart.
  • Windows curl auto-fix: --ssl-no-revoke injected on the fly + persistent _curlrc so CRYPT_E_NO_REVOCATION_CHECK stops blocking installs.

🤖 AI Agent

  • Chat tab is reachable again — was orphaned in the AI Agent module.
  • Claude CLI status detection fixed — was using stale PATH and timing out; now PATH-scans the binary directly.
  • VPC Bot auto-creates default user so chat is immediately usable on first launch.
  • Todo update returns proper 404 (was returning 200 with {error}).

🌿 Prod → Beta forks

Forks now clone schema + data by default. The opt-in checkbox flipped to opt-out for schema-only forks.

♻️ Robust restart

The Restart button now actually restarts VPC under nodemon, PM2, or plain node — used to silently no-op outside PM2.

📊 Real upgrade progress

The upgrade bar shows real % from the backend across 6 named steps (git pull, backend deps, frontend deps, build, migrations, finalize). No more fake 60%.

Files added

  • backend/services/ptyService.js
  • backend/scripts/respawn.js
  • backend/utils/shellEnv.js

Upgrade path

Existing instances: open VPC Store → Update, then Restart VPC when prompted. The upgrader pulls the new commit, runs npm install in both packages (picks up node-pty, ws, xterm), rebuilds the frontend, runs migrations, and surfaces the restart banner.

🤖 Generated with Claude Code