al3x4kov/teleharness
소개
Self-hosted web UI & PWA for Claude Code, Codex, Gemini (ACP) & opencode — Multi-Repo Coding Workspaces, 11 languages + RTL, Skill & MCP Firewall, Adversarial Verification, OpenSpec, Web PTY, Telegram approvals, OS sandbox & Temporal pipelines.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Teleharness — Self-Hosted Web UI for Claude Code, Codex, Gemini (ACP), and opencode
Run your local coding CLIs from one browser tab using the subscriptions you already pay for. Multi-repo coding workspaces, 11 UI languages with Arabic RTL (English default), Skill & MCP Firewall + Taint Mode, Adversarial Cross-Model Verification, OpenSpec & MCP Control Plane, Web Terminal (PTY), Telegram approvals, OS sandboxing, Cross-CLI relay, and self-healing Temporal pipelines.
Multi-CLI Chat · Coding Workspaces · 11 Languages + RTL · Skill & MCP Firewall · Adversarial Verify · OpenSpec & MCP · PTY & Telegram · Temporal Pipelines
Website • Live Demo • Try in 10s • Comparison • Features • Visual tour • Quick start • Security • Architecture • Configuration • Русский

Try it in 10 seconds
Runs on synthetic demo chats in a temporary directory. No agent CLIs, no API keys, nothing written to your home folder.
1. Instant browser demo (0 seconds, no install):
👉 Open Teleharness Live Demo — interactive SPA sandbox right in your browser (chats, Multi-Repo Coding Workspaces & Dev Services Radar, Skill & MCP Security Firewall, 11 languages + Arabic RTL, Attention Board, Adversarial Verification, OpenSpec Workbench, MCP Control Plane, Telegram Bridge, Web Terminal PTY, Systemd UI, Security Sandbox 11/11, diff review, worktrees, costs, Temporal pipelines).
2. Node.js ≥ 22:
npx teleharness --demo
# → http://127.0.0.1:4180/teleharness/ (token: demo-demo-demo-demo)
3. Docker (pre-built multi-arch image — amd64 / arm64):
docker run --rm -p 4180:4180 al3x4kov/teleharness
# → http://127.0.0.1:4180/teleharness/ (token: demo-demo-demo-demo)
# Mirror: ghcr.io/al3x4kov/teleharness · Full self-hosted stack: docs/docker.md
4. Free-tier cloud sandbox (read-only demo via render.yaml):
How Teleharness compares
Teleharness launches the real local CLIs installed on your machine (keeping their skills, MCP servers, hooks, and project files) instead of proxying requests through a metered API.
| Capability | Teleharness | T3 Code | Paseo | Happy | CloudCLI | AionUi | OpenChamber |
|---|---|---|---|---|---|---|---|
| Uses existing CLI subscriptions | Yes (4 families) | Yes | Yes (+40 ACP) | Yes (+ACP) | Yes | Yes (20+ CLI) | OpenCode + Claude |
| Cross-CLI handoff on quota limit | Manual & Auto-Relay | Switch in thread | No | No | No | No | Multi-run compare |
| Durable pipelines & schedules | Yes (Temporal + Verify Gate + Self-Healing Supervisor + GitHub Taint) | No | No | No | No | No | No |
| Workspaces, Attention Board, Diff Review & Worktrees | Yes (Multi-Repo Coding Workspaces + Dev Services Radar, Cross-Model Verify, dry-run conflicts) | Threads + Worktrees | Split diff + Worktrees | Session list | Git + editor | Chat + channels | Guided diff |
| Multi-tenant OS sandbox, Firewall & privacy | MIT, 0 telemetry, OS sandbox + Skill/MCP Firewall + Egress Proxy + 11/11 selftest, SAST | MIT, telemetry on | Custom, 0 telemetry | MIT, E2E relay | AGPL-3.0 | Apache-2.0 | MIT |
| Clients, localization & instant tryout | Web/PWA (11 langs + RTL), Web Terminal (PTY), Telegram Bridge, 0-click Demo, Docker Hub/GHCR | Web, Desktop, iOS/Android | Web, Desktop, iOS/Android | Web, Desktop, iOS/Android | Web + PTY terminal | Desktop, Web, Telegram/Lark | Web/PWA, Desktop, VS Code |
Honest trade-offs: T3 Code, Paseo, and Happy ship native iOS/Android apps (and Happy offers an E2E cloud relay); AionUi also supports Lark/Feishu channels. Teleharness's edge is durable Temporal pipelines with Adversarial Cross-Model Verification & a self-healing Supervisor Agent, Auto-Relay across CLI subscriptions, Multi-Repo Coding Workspaces & Dev Services Radar, 11-language UI with Arabic RTL, OpenSpec Workbench + Cross-CLI MCP Control Plane, Web Terminal (PTY) + Telegram approval bridge + Systemd UI, multi-tenant OS sandbox with Skill/MCP Security Firewall, Taint Mode, egress proxy, memory guard, 11/11 selftest & SAST CI, and 0-click browser demo + multi-arch Docker.
What it does
- Four CLI families in one window (11 languages + Arabic RTL, English default): Claude Code, Codex, Gemini/Copilot (ACP), and opencode run side by side with live tool steps, subagent cards, an MCP/Skills/Plan/Dev Services side panel, SQLite FTS5 search, Office/PPTX preview, Obsidian vault cache, optional local CPU voice, and 11 UI languages (
endefault,ru,zh-CN,ja,ko,de,fr,es,pt,hi,arwith RTL) synced per user across devices. - Multi-Repo Coding Workspaces & Dev Services Radar: server-side Workspace Registry auto-discovers Git/OpenSpec repositories across multiple programming languages and stacks (TypeScript/Node, Python, Go, Java, Docker, and more) and disambiguates duplicate folder names; multi-branch Git (
fetch/switch/create) + cross-repo OpenSpec overview; admin-only Dev Services & Debugger Radar (local dev servers, Docker containers, Node/Python/Go/LLDB/GDB debuggers,.teleharness/services.json) with one-click SSH tunnels and IDE attach snippets. - Attention Board, Diff Review, Adversarial Verification & Plan-First: all sessions and runs are grouped into Waiting, Working, Done, and Failed with a side preview pane, inline diff comments by line range, read-only plan approval before files are edited, and one-click Adversarial Cross-Model Verification (an independent CLI family checks the diff in an ephemeral read-only context against optional OpenSpec criteria, returning a fail-closed
pass/fail/needs_humanverdict with findings you can turn into inline review comments). - Git worktrees and cost accounting: parallel chats work in separate git worktrees with file-overlap warnings and dry-run conflict checks. Cost tracking compares API-equivalent token spend against your flat subscriptions.
- Cross-CLI Relay (manual and automatic): when a Claude or Codex quota limit hits mid-task, continue the same thread in the same folder on another CLI or fallback model. (Details)
- OpenSpec Workbench + Beads & Cross-CLI MCP Control Plane: track OpenSpec changes, canonical specs, drift, and toggle
tasks.mdchecklists across repositories from the UI; manage MCP servers across Claude Code, Codex, OpenCode, and ACP with drift diffing, live token budget meter, profiles, and snapshot rollbacks. - Mobile Web Terminal (PTY), Telegram Bridge & Systemd Lite UI: admin-only interactive browser shell (WebSocket + SSE fallback, mobile modifier bar), one-tap Telegram approval/question notifications with secret redaction & danger guard, and Linux systemd units/timers/journald inspection.
- Shared Portal Security & Skill/MCP Firewall: fail-closed tenant OS sandbox (Linux Docker / macOS Seatbelt), host egress proxy with domain approval workflow, Memory Guard for protected instruction files, 11-probe sandbox selftest, Codex gate, redacted audit journal, plus Skill & MCP Security Firewall (16-rule static scanner for BiDi/zero-width/prompt-injection/curl-pipe/secret-harvest/unsafe-MCP, SHA-256 lockfile rug-pull detection, fail-closed MCP sync gate, and external GitHub trigger Taint Mode approval gates).
- Temporal pipelines, Adversarial Verify Gate, Self-Healing Supervisor & GitHub background agents (optional): chain Claude, Codex, Gemini (ACP), opencode, allowlisted shell commands, cross-family Verify gates (
block/approve+ rework loop /report), and human approval gates into durable workflows that survive restarts, resume from any step, and trigger from GitHub issues or failed CI. An optional detached Pipeline Supervisor Agent (TeleharnessPipelineSupervisorV1) watches each run with zero LLM quota usage while healthy; onFAILED/TIMED_OUTit opens a scoped healing agent chat, diagnoses and fixes the root cause, and automatically resumes from the failed step (1–5 attempts, recursion-guarded, one-click Stop) or escalates to the Attention Board, Telegram, and Web Push. (Details)
Full screen-by-screen walkthrough and feature table: Visual Tour (docs/tour.md).
Quick start
[!TIP] Step-by-step setup for Linux, macOS, and Windows (all 4 engines, Worktrees, Obsidian cache, Temporal, GitHub triggers, HTTPS + QR PWA, autostart):
docs/installation.md(по-русски).
Requirements
| Version | For | |
|---|---|---|
| Node.js | ≥ 22.5 (22 LTS / 24 LTS) | portal server & built-in SQLite FTS5 search/costs/board |
| Git | ≥ 2.20 | Git screen, diff review, isolated Worktrees |
| opencode | 2.x (tested with 2.2.6+ / 2.3.0) | opencode engine |
| Claude Code | 2.x | Claude engine |
| Codex CLI | 0.169+ | optional, Codex engine |
ACP CLI (gemini / copilot / custom) |
latest | optional, configured in Settings → ACP Agents |
| Python | 3.11+ | optional, local CPU voice & Temporal pipeline worker |
You only need at least one engine installed (or none for --demo).
One command
npx teleharness # → http://127.0.0.1:4180/teleharness/
Checks Node, stores state in ~/.teleharness, serves the prebuilt UI bundle (or rebuilds on demand), detects installed CLIs, and prints the admin login token. Flags: --demo, --port N, --host 0.0.0.0, --rebuild.
From source
macOS / Linux
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git
cd teleharness
npm ci && npm run build
cp .env.example .env # every value is optional
opencode auth login # opencode
claude setup-token # put token into .env as CLAUDE_CODE_OAUTH_TOKEN
./ops/opencode/serve-v2.sh & # opencode 2.x on 127.0.0.1:4196
./ops/web-v2.sh # → http://127.0.0.1:4170/teleharness/
Windows (PowerShell)
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git
cd teleharness
npm ci; npm run build
Copy-Item .env.example .env # every value is optional
opencode auth login
claude setup-token
$env:OPENCODE_SERVER_PASSWORD = [guid]::NewGuid().ToString('N')
Start-Process opencode -ArgumentList 'serve','--hostname','127.0.0.1','--port','4196'
$env:TELEHARNESS_OC_API = 'v2'; $env:TELEHARNESS_UPSTREAM = 'http://127.0.0.1:4196'; $env:TELEHARNESS_OC_PASSWORD = $env:OPENCODE_SERVER_PASSWORD
node server.js # → http://127.0.0.1:4170/teleharness/
Docker (full self-hosted stack)
git clone --branch v2.24.9 https://github.com/al3x4kov/teleharness.git && cd teleharness
docker compose --profile selfhosted up -d --build
docker compose --profile selfhosted logs teleharness | grep -i "admin token"
# → http://127.0.0.1:4170/teleharness/ (Temporal UI: http://127.0.0.1:8233)
Includes Claude Code CLI, Codex CLI, bundled OpenCode 2.x server, Git/Worktrees, gh, offline Voice runtime (Piper TTS + GigaAM v2 STT), and Temporal durable pipelines with PostgreSQL ledger. Engine logins (claude login, codex login, gh auth login) persist in /data/home. Optional: --profile voice-init (download voice models), --profile tls (Caddy HTTPS), INSTALL_RENDER=1 (LibreOffice + Chromium). Full guide: docs/docker.md.
[!NOTE] The portal is served under
/teleharness/; all options areTELEHARNESS_*environment variables (.env.example). macOS launchd notes:docs/macos.md. Linux systemd unit:ops/linux/teleharness.service.
Platform support
| macOS | Linux | Windows | |
|---|---|---|---|
| Portal, opencode, Claude, Codex, ACP, diff review, worktrees, push | yes | yes | yes |
| Temporal pipelines & GitHub Background Agents (optional) | yes | yes | — |
| Obsidian active cache, local CPU voice | yes | yes | yes |
| Multi-user non-admin shell sandbox | disabled (fail-closed) | optional per-user runner | AppContainer sandbox |
Security model
- Single-user on
localhost/ Tailscale: Teleharness runs under your own OS user over your local CLIs. No tenant sandbox is needed, and all engines work the same on macOS, Linux, and Windows. - Multi-user / shared server: non-admin accounts get isolated folders, quotas, and MCP sets; shell execution is fail-closed unless you configure the Linux per-user runner (
ops/sandbox/linux) or Windows AppContainer. See SECURITY.md. - Skill & MCP Security Firewall + Taint Mode: built-in 16-rule static scanner for skills, MCP definitions, and external trigger payloads (Unicode BiDi/Tags/zero-width smuggling, prompt injection,
curl|sh/ base64 remote exec, secret harvesting, insecure MCP transports), atomic0600SHA-256 lockfile rug-pull detection, fail-closed MCP sync gate, and mandatory human approval beforecommand/pull_requeststeps run on tainted external GitHub triggers. - Continuous SAST & OSS supply-chain CI: every push and PR runs CodeQL (JS/TS, Python, Actions), Trivy, OSV-Scanner,
npm audit, Gitleaks, and OpenSSF Scorecard (Scorecard report), with weekly Dependabot updates and SHA-pinned workflows/Docker base images.
Architecture

- Backend (
server.js,lib/,routes/): zero-dependency Node.js stdlib (node:http, SSE with replay, built-innode:sqliteFTS5, attention board, costs, Multi-Repo Workspace Registry, Dev Services Radar, Skill & MCP Firewall, Git/Worktrees) and one adapter per engine family (lib/oc-client.js,claudeCLI runner,codex-shim.mjs,lib/acp-chat.js). - Frontend (
src/→public/): Preact + Signals bundled with esbuild, light/dark themes, 11 UI languages with Arabic RTL (English default, lazy-loadedpublic/locales/*.json), optional mobile PWA. - Optional add-ons: Obsidian vault cache, local Python CPU voice worker (Piper TTS / GigaAM STT), Temporal pipeline worker (
docs/temporal.md).
Layer diagram and search pipeline: docs/tour.md#architecture-diagrams. Architecture notes: docs/architecture.md, specs: openspec/specs/.
Configuration
Settings are schema-validated in lib/config.js; template in .env.example.
| Variable | Default | Purpose |
|---|---|---|
PORT |
4170 (4180 via CLI) |
portal port |
TELEHARNESS_DEMO |
0 |
set 1 to run instant synthetic demo mode |
TELEHARNESS_UPSTREAM |
http://127.0.0.1:4196 |
opencode serve 2.x URL |
TELEHARNESS_OC_API |
v1 |
v2 for opencode 2.x |
TELEHARNESS_OC_PASSWORD |
— | HTTP Basic password for opencode 2.x |
CLAUDE_CODE_OAUTH_TOKEN |
— | Claude subscription token (claude setup-token) |
TELEHARNESS_ADMIN_TOKEN |
generated | admin login token |
TELEHARNESS_PUBLIC_URL |
— | HTTPS URL for optional phone QR pairing |
TELEHARNESS_KB_ROOT |
off |
Obsidian vault path for active cache |
Example agent configs (Claude Code + opencode): config/ (./config/install.sh / ./config/install.ps1).
Development
npm test # unit, UI components (happy-dom), server and edge tests
npm run build # esbuild → public/app.js, public/app.css
npm run demo # synthetic demo on fixtures-demo/
See CONTRIBUTING.md and CHANGELOG.md.
Built with
opencode · Claude Code · Codex CLI · Temporal · Preact · esbuild · marked · DOMPurify · highlight.js
License
MIT. Bundled third-party files keep their licenses: openspec-* / opsx-* — MIT (OpenSpec), dogfood — Apache-2.0.
관련 프로젝트 살펴보기
불러오는 중…