mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 20:03:11 +00:00
- Replace @xterm/xterm, @xterm/addon-fit, and @xterm/addon-web-links with ghostty-web - Update Terminal component to use ghostty-web API: - Add async WASM initialization via init() - Use FitAddon with observeResize() for auto-fitting - Use onResize callback for terminal resize events - ghostty-web is API-compatible with xterm.js but uses Ghostty's WASM-compiled VT100 parser - Benefits: - Better rendering of complex scripts (Devanagari, Arabic) - XTPUSHSGR/XTPOPSGR support - Same battle-tested code as native Ghostty app Ref: https://github.com/coder/ghostty-web
27 lines
649 B
JSON
27 lines
649 B
JSON
{
|
|
"name": "@sandbox-agent/inspector",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "pnpm --filter sandbox-agent build && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"sandbox-agent": "workspace:*",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^4.3.1",
|
|
"typescript": "^5.7.3",
|
|
"vite": "^5.4.7"
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^0.469.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"ghostty-web": "^0.3.0"
|
|
}
|
|
}
|