Add useTerminal composable wrapping xterm.js with fit, search, and web-links addons. TerminalView component mounts into a container div and auto-fits on resize. SessionContainer now renders TerminalView for SSH sessions using v-show to keep terminals alive across tab switches. MobaXTerm Classic-inspired color theme. Data input and resize events are placeholder TODOs for Wails SSHService bindings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "wraith-frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"build:dev": "vue-tsc --noEmit && vite build --minify false --mode development",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-javascript": "^6.2.5",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/state": "^6.6.0",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.40.0",
|
|
"@wailsio/runtime": "latest",
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"@xterm/addon-search": "^0.16.0",
|
|
"@xterm/addon-web-links": "^0.12.0",
|
|
"@xterm/addon-webgl": "^0.19.0",
|
|
"@xterm/xterm": "^6.0.0",
|
|
"codemirror": "^6.0.2",
|
|
"naive-ui": "^2.40.0",
|
|
"pinia": "^2.2.0",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.5.0",
|
|
"vite": "^6.0.0",
|
|
"vue-tsc": "^2.0.0"
|
|
}
|
|
}
|