mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-06 08:15:35 +00:00
The phone half, as a Tauri 2 app in mobile/ (its own cargo workspace, so the desktop build and CI never compile a WebView stack). - Rust side: the phone's iroh endpoint and key, paired machines, and every live stream, behind eight commands. Terminal output crosses to the WebView as raw ArrayBuffers on a Tauri channel, batched per frame, in order with the pane's JSON events. - Frontend: vanilla TS + xterm.js. Paired machines and pairing; one machine's workspaces, tabs and panes with agents that need you pinned on top and the link's direct/relay path and RTT in the header; a terminal that fits the desktop pane's width, with an esc/tab/ctrl/arrows key bar. Coming back from the background re-watches and re-opens, relying on the daemon's replay. Verified as a macOS build against a live gateway and an isolated daemon: paired from the app, tree rendered on a direct path, keystrokes and key-bar arrows reached the pane. iOS/Android builds need Xcode / the Android NDK, neither of which is on this machine; mobile/README.md has the steps.
21 lines
391 B
JSON
21 lines
391 B
JSON
{
|
|
"name": "tty7-mobile",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.11.1",
|
|
"@xterm/xterm": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.11.5",
|
|
"typescript": "^5.9.0",
|
|
"vite": "^8.3.1"
|
|
}
|
|
}
|