mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-26 09:35:52 +00:00
- Add 'vt title' command that updates session names from within terminal sessions - Implement file watcher in PtyManager to detect session.json changes - Integrate title updates with all 4 title modes (none, filter, static, dynamic) - Updates terminal titles in real-time when session name changes - Works by directly editing session.json using the VIBETUNNEL_SESSION_ID env var This allows users to easily set descriptive names for their terminal sessions, making it easier to manage multiple VibeTunnel windows.
135 lines
4.7 KiB
JSON
135 lines
4.7 KiB
JSON
{
|
|
"name": "@vibetunnel/vibetunnel-cli",
|
|
"version": "1.0.0-beta.6",
|
|
"description": "Web frontend for terminal multiplexer",
|
|
"main": "dist/server.js",
|
|
"bin": {
|
|
"vibetunnel": "./dist/vibetunnel-cli"
|
|
},
|
|
"scripts": {
|
|
"clean": "node scripts/clean.js",
|
|
"dev": "node scripts/dev.js",
|
|
"dev:server": "tsx watch src/cli.ts --no-auth",
|
|
"dev:client": "node scripts/dev.js --client-only",
|
|
"build": "node scripts/build.js",
|
|
"build:ci": "node scripts/build-ci.js",
|
|
"postinstall": "node scripts/ensure-native-modules.js",
|
|
"lint": "concurrently -n biome,tsc-server,tsc-client,tsc-sw \"biome check src\" \"tsc --noEmit --project tsconfig.server.json\" \"tsc --noEmit --project tsconfig.client.json\" \"tsc --noEmit --project tsconfig.sw.json\"",
|
|
"lint:fix": "biome check src --write",
|
|
"lint:biome": "biome check src",
|
|
"typecheck": "concurrently -n server,client,sw \"tsc --noEmit --project tsconfig.server.json\" \"tsc --noEmit --project tsconfig.client.json\" \"tsc --noEmit --project tsconfig.sw.json\"",
|
|
"pretest": "node scripts/ensure-native-modules.js",
|
|
"test": "vitest",
|
|
"test:ci": "npm run pretest && vitest run --reporter=verbose",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:client": "vitest run --mode=client",
|
|
"test:server": "vitest run --mode=server",
|
|
"test:client:coverage": "vitest run --mode=client --coverage",
|
|
"test:server:coverage": "vitest run --mode=server --coverage",
|
|
"format": "biome format src --write",
|
|
"format:check": "biome format src",
|
|
"prettier": "prettier --write src --experimental-cli",
|
|
"prettier:check": "prettier --check src --experimental-cli",
|
|
"prettier:fast": "PRETTIER_EXPERIMENTAL_CLI=1 prettier --write src",
|
|
"check": "./scripts/check-all.sh",
|
|
"check:fix": "./scripts/check-fix-sequential.sh",
|
|
"precommit": "pnpm run format && pnpm run lint:fix && pnpm run typecheck",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"test:e2e:debug": "playwright test --debug",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:report": "playwright show-report",
|
|
"prepare": "husky"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"authenticate-pam",
|
|
"esbuild",
|
|
"node-pty",
|
|
"puppeteer"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.6.2",
|
|
"@codemirror/lang-css": "^6.2.1",
|
|
"@codemirror/lang-html": "^6.4.9",
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
"@codemirror/lang-json": "^6.0.1",
|
|
"@codemirror/lang-markdown": "^6.2.5",
|
|
"@codemirror/lang-python": "^6.1.6",
|
|
"@codemirror/state": "^6.4.1",
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
"@codemirror/view": "^6.28.0",
|
|
"@xterm/headless": "^5.5.0",
|
|
"authenticate-pam": "^1.0.5",
|
|
"chalk": "^4.1.2",
|
|
"express": "^4.19.2",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lit": "^3.3.0",
|
|
"mime-types": "^3.0.1",
|
|
"monaco-editor": "^0.52.2",
|
|
"multer": "^2.0.1",
|
|
"node-pty": "github:microsoft/node-pty#v1.1.0-beta34",
|
|
"postject": "^1.0.0-alpha.6",
|
|
"signal-exit": "^4.1.0",
|
|
"web-push": "^3.6.7",
|
|
"ws": "^8.18.2"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.0.5",
|
|
"@open-wc/testing": "^4.0.0",
|
|
"@playwright/test": "^1.53.1",
|
|
"@prettier/plugin-oxc": "^0.0.4",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/mime-types": "^3.0.1",
|
|
"@types/multer": "^1.4.13",
|
|
"@types/node": "^24.0.3",
|
|
"@types/supertest": "^6.0.3",
|
|
"@types/uuid": "^10.0.0",
|
|
"@types/web-push": "^3.6.4",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"@vitest/ui": "^3.2.4",
|
|
"autoprefixer": "^10.4.21",
|
|
"chokidar": "^4.0.3",
|
|
"chokidar-cli": "^3.0.0",
|
|
"concurrently": "^9.1.2",
|
|
"esbuild": "^0.25.5",
|
|
"happy-dom": "^18.0.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.1.2",
|
|
"node-fetch": "^3.3.2",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.6.1",
|
|
"puppeteer": "^24.10.2",
|
|
"supertest": "^7.1.1",
|
|
"tailwindcss": "^3.4.17",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.8.3",
|
|
"uuid": "^11.1.0",
|
|
"vitest": "^3.2.4",
|
|
"ws-mock": "^0.1.0"
|
|
},
|
|
"keywords": [
|
|
"terminal",
|
|
"multiplexer",
|
|
"websocket",
|
|
"asciinema"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx,js,jsx}": [
|
|
"biome check --write",
|
|
"bash -c 'tsc --noEmit --project tsconfig.server.json'",
|
|
"bash -c 'tsc --noEmit --project tsconfig.client.json'",
|
|
"bash -c 'tsc --noEmit --project tsconfig.sw.json'"
|
|
],
|
|
"../{ios,mac}/**/*.swift": [
|
|
"bash -c 'cd ../ios && ./scripts/lint.sh'",
|
|
"bash -c 'cd ../mac && ./scripts/lint.sh'"
|
|
]
|
|
}
|
|
}
|