hermes-agent/ui-opentui/package.json
alt-glitch ae11a636dc feat(tui): run on Node 26 (one runtime), finalize copy UX, rename to ui-opentui
Ports the engine off the second JS runtime onto Node 26.3 (node:ffi) so the
repo ships a single JavaScript runtime: child_process for the gateway, vitest
for tests, an esbuild + Solid build step. Mouse selection copies the rendered
text you highlight, and the clipboard path is crash-proofed (a broken copy
pipe no longer quits the UI). Renames the engine dir ui-tui-opentui-v2/ ->
ui-opentui/ and updates the launcher/installer/Docker references.
2026-06-09 16:16:48 +00:00

41 lines
1.3 KiB
JSON

{
"name": "@hermes/ui-opentui",
"version": "0.0.0",
"private": true,
"type": "module",
"description": "Native OpenTUI engine for Hermes (Solid + Effect-at-boundary, from scratch). Ink (ui-tui/) stays the shipping default.",
"scripts": {
"type-check": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"fmt": "prettier --write src",
"fix": "prettier --write src && eslint . --fix",
"build": "node scripts/build.mjs",
"start": "node --experimental-ffi --no-warnings dist/main.js",
"test": "vitest run",
"check": "bash scripts/check.sh",
"dev": "node scripts/build.mjs && node --experimental-ffi --no-warnings dist/main.js"
},
"dependencies": {
"@opentui/core": "0.4.0",
"@opentui/keymap": "0.4.0",
"@opentui/solid": "0.4.0",
"effect": "4.0.0-beta.78",
"solid-js": "1.9.12"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@effect/vitest": "^4.0.0-beta.78",
"@eslint/js": "^9",
"@types/node": "^24",
"babel-preset-solid": "^1.9.12",
"esbuild": "^0.28.0",
"eslint": "^9",
"eslint-plugin-unused-imports": "^4",
"prettier": "^3",
"typescript": "^5",
"typescript-eslint": "^8",
"vitest": "^4.1.8"
}
}