Repository navigation
Releases
Releases · al3x4kov/teleharness
Teleharness v2.10.0
[2.10.0] — 2026-11-26
Added
- Command pipeline step & admin allowlist catalog. Added a
commandstep type to Temporal pipelines
supporting two modes:exec(directexecFilewithout a shell, clean environment allowlist, symlink-escape
protection withinTELEHARNESS_TEMPORAL_COMMAND_ROOTS, fail-closed Linux tenant jail, 1 MiB tail-truncated
stdout artifacts, concurrency semaphore withslot_wait, and SQLite idempotency /uncertainpost-restart
protection) andtemporal-workflow(triggering an external Temporal Schedule or starting a deterministic
child workflow with status polling, failure extraction, and optional child cancellation on abort). - Commands catalog UI & Python worker support. Added an admin-only Commands tab in Temporal
(/teleharness/api/admin/temporal-commands*) with CRUD sheets, external Temporal schedule discovery,
role-projected step previews inDefinitionEditor,CommandStepBoxmetadata inRunDetail, and the
TeleharnessPortalCommandV1worker activity with 30 s heartbeats andworkflow.patched("command-step-v1")
replay compatibility. - Local Temporal mode without PostgreSQL & macOS
launchdexamples. AddedTELEHARNESS_TEMPORAL_LEDGER=none
(lazypsycopgimport so command, timer, condition, approval, and artifact pipelines run against a local
Temporal dev server with no PostgreSQL), fullTELEHARNESS_TEMPORAL_CLI/ADDRESS/NAMESPACE/QUEUE/
COMMAND_SLOTS/COMMAND_ROOTS/MODEL_SOCKETconfiguration, Unix-socket length checks (103 B macOS /
107 B Linux), andops/temporal/launchdplist templates. - External Temporal workflows viewer & controller (admin-only). Added an admin-only External tab in
Temporal and/teleharness/api/admin/temporal-workflows*endpoints backed by injection-safe--flag=value
CLI calls: Visibility list with status / type / task-queue filters (excluding portal pipelines by default),
Start workflow sheet with JSON input validation, workflow detail view with decoded Input / Result / Failure
payloads, pending activities, event history timeline with inlineReset herebuttons, Signal, Query
(with copyable JSON result), Reset (by event ID or reset type + reapply exclude), Cancel, Terminate
(mandatory reason),TELEHARNESS_TEMPORAL_UI_URLdeep links, and payload-free audit logging.
Teleharness v2.8.2
Fixed
- Clipboard file paste outside focused textarea. Added a window-level
pastelistener inComposerwith
WeakSetbubbling deduplication so pressingCtrl/⌘+Vin an open chat attaches files and focuses the input
even when the textarea is not focused, while ignoring pastes inside other editable controls (input,
textarea,select,contenteditable) or behind blocking overlays. - Finder, Explorer, Linux file managers & browser "Copy image" pastes. Refined
pasteAction()so copied
image files carrying companion filenames, local paths,file://URIs, or single-<img>HTML fragments
attach as files instead of pasting raw text, while preserving the narrow Word/Excel text+render exception. - Clipboard folder detection, rapid-paste races & SVG uploads. Unified
extractEntries()detects pasted
folders viawebkitGetAsEntry()(showing the folder error while still attaching sibling files) and recovers
files fromdt.fileson partialgetAsFile() === null; synchronousfilesRef+ batch reservation prevents
duplicate filenames and quota drift across rapid pastes/drops;image/svg+xmluploads as a binary file to
.teleharness-uploadsinstead of an inline data URL;uploadOnefalls back tosessionDir(sessionId);
pasting while a chat is stopping shows a clear refusal notice. - Drag-and-drop reliability & overlay guards.
dragInfo()now recognizesapplication/x-moz-file,
itemswithkind === "file", anddt.filesfallbacks;DropZoneclears on all four window edges,
dragend, andblur, and suppresses the drop overlay and attachment behind open modals, sheets,
FileViewer,SkillModal,VoiceMode, and review scrims while still callingpreventDefault().
Teleharness v2.8.1
Added
- Background Agents queue clearing & admin limit controls. Added
POST /api/temporal/triggers/:id/queue/clear
with a Clear queue action on trigger cards (drains pending items without stopping active runs) and
configurable admin defaults (userPerDay,defaultPerHour,defaultQueue) in Settings → Background Agents. - Skills detail TTL cache & request deduplication.
GET /api/skills/:idnow caches skill payloads for 30 s
with in-flight deduplication and automatic cache invalidation on 404, eliminating repeated full-catalog fetches
when opening the Skill modal.
Fixed
- Right panel on mobile & narrow viewports.
AppShellnow gates mountingRightPanelbehind
matchMedia("(min-width: 1024px)"), preventing idle/api/mcp,/api/skills, and/api/session/:id/plan
requests on phones. - Plan loading retry & right-panel contrast.
loadPlannow distinguishes transient network/5xx errors
(scheduling a retry instead of permanently caching an empty plan) from 4xx responses; muted right-panel labels
(.rp-empty,.rp-plan-hint,.rp-modal-path) were raised to--text-2for WCAG AA contrast; aligned
the v1fetchSkillsfallback query to?directory=. - Background Agents security & server wiring. Wired
usesClaude,permissionCheck,dirAllowed, and
claudeLeftTodayinserver.jsso the daily Claude background cap only counts Claude pipelines; enforced
admin-only Claude background policy in readiness andPOST /triggers; validated foldergit remote origin
against the selected repository; prevented tenants from pushing outsideteleharness/*and blocked pushing
to the base/default branch inmode: "new"; addedls-remote409 guard for deletedsame-branchtargets;
fixed poll-path fork filtering (head_repository/pull_requests), CI anti-loop detection
(last_agent_sha/Co-Authored-By),Refs #Nin PR bodies,filtered_repomatching inpassesFilters,
15-minute poll reconciliation for webhook triggers, and 5 hardening nits (post-signature rate limiting,
constant-timeverifyKey, untrusted title framing, webhook cleanup on trigger delete, and connection timeout).
v2.8.0
Added
- Built-in PowerPoint (
.pptx) preview in FileViewer. Client-side OOXML parser (parsePptxin
src/lib/office.js) renders slides in presentation order with titles, bullet lists, tables, embedded images
fromppt/media/*, and expandable speaker notes directly in the browser — zero server load, instant on mobile. - Standalone PWA & mobile file downloads. FileViewer download buttons now fetch with credentials and deliver
files via the Web Share API (navigator.sharewithFile, when supported on mobile standalone PWA) or an
object-URLBlobdownload fallback, eliminating silent no-ops on iOS standalone home-screen apps. - Explicit Copy button on user messages. Both user and assistant bubbles provide a one-tap Copy action in the
footer, alongside unrestricted native OS text selection. - Full-feature cross-platform installation guides. Added comprehensive bilingual guides
(docs/installation.mdanddocs/installation.ru.md)
covering all 4 engine families, HTTPS/QR/PWA/Push, MCP/Skills right panel, Office/PPTX preview, Git/Worktrees,
Obsidian, GitHub Background Agents, Temporal pipelines, local CPU voice, multi-user sandboxing, and autostart
services on Linux, macOS, and Windows.
Fixed
- Mobile copy no longer jumps the chat to mid-screen. Removed long-press
onTouchStart/onContextMenu
interception inMessageBubble(restoring native partial text selection and system Copy menu), guarded
AppShellkeyboard detection againstreadonly/ off-screen clipboard<textarea>elements, and updated
clipboard.jsto mark its fallback elementdata-clipboard-helper="1"withfocus({ preventScroll: true }). - Office, Markdown, CSV, and XML preview edge cases. Hardened
src/lib/office.jsandFileViewer.jsx
against ZIP/OOXML edge cases, UTF-8 BOM & quoted multiline CSV cells, SVG/data-URL safety, filename sanitization,
POSIX path handling, and upload quota checks. - Right panel & UI accessibility polish. Portaled
SkillModaldirectly todocument.bodywith focus
management and Escape/backdrop close, refinedDrawer,Composer,HomeView,ProjectView, and
Settingsstate handling. - Edge routing & security hardening. Hardened
ops/portal-server.jsHost validation against open redirects
(with optionalTELEHARNESS_EDGE_ALLOWED_HOSTSallowlist), case-normalized prefix redirects, and immediate
upstream SSE teardown on client disconnect; hardenedworktrees,hub,oc-client, andacpflows. .env.exampleboolean values. Updated example flags to1/0so copying.env.exampleto.env
passeslib/config.jsstrict boolean validation cleanly out of the box.
Changed
- Refreshed architecture diagrams & docs. Updated
docs/architecture-components*.{svg,png},
docs/architecture.md,docs/macos.md,ops/README-teleharness.md, andops/voice/README.mdto match
the current 4-engine architecture (lib/oc-client.js, ACP JSON-RPC, SQLite FTS5, desktop right panel,
built-in PPTX/Office preview, GitHub triggers, Temporal resume-from-checkpoint).
Teleharness v2.7.1
[2.7.1] — 2026-11-23
This release combines the 2.7.0 and 2.7.1 changes (everything since v2.6.0).
Added
- Desktop right panel for open chats (≥ 1024 px). A fixed 300 px right-hand column displays the current chat's
MCP servers (status dots, localized status labels, error tooltip), available Skills (monospaced name +
ellipsized description, 5 visible rows with Show all (N) / Collapse), and a live Plan section whenever
the active turn emits steps from ACP (sessionUpdate: "plan"), Claude Code (TodoWrite), or opencode
(todo.updated/todowrite). Each section loads and retries independently; narrow viewports (< 1024 px)
keep the chat clean with no panel or toggle button. - Live search filter & Skill viewer modal. A search bar at the top of the right panel filters both MCP
servers (by name or localized status) and Skills (by name, ID, or description), showing match counts (N/M)
and lifting the 5-row cap while keeping the current-turn Plan untouched. Clicking any skill opens a centered
modal (GET /teleharness/api/skills/:id) that strips YAML frontmatter and renders the fullSKILL.md
Markdown (admin sees the file path and can pass?directory=; tenants are restricted toteleharness-*
skills without path disclosure and receive403for other IDs). - Turn plan API and hub tracking. Added
GET /teleharness/api/session/:id/plan,teleharness.planSSE
events across ACP, Claude Code, and opencode, automatic plan reset on the next user prompt, and an admin
reload fallback from loaded message history. Demo mode (npm run demo) includes sample skills and multi-step
plans in both English and Russian.
Teleharness v2.6.0
[2.6.0] — 2026-11-23
Added
- Temporal: resume a run from a step. A finished, failed or canceled run can continue from its last
successful step — or any selected step — on the original or the latest published version of the pipe
(POST /teleharness/api/temporal/runs/:id/resume). The planner (lib/temporal/resume-plan.js,
shared/temporal-resume.js) builds a topologically closed seed under the worker's
resume-from-checkpoint-v1gate: completed steps (with their results, step chats and condition outcomes) carry
over unchanged, the run folder and its files are inherited, and only the remaining steps re-run. The run screen
gets a Resume from step button with a sheet (version and start-step pickers, a preview of which steps carry
over), a resumed · N steps carried over badge in the run facts and a continuation link back to the original run.
Demo mode (npm run demo) shows the whole flow on finished and failed runs.
Fixed
- Desktop Drawer footer no longer overlaps Recent rows at 1280×720.
.drawer-footis a regular
flex item (flex-shrink: 0) inside the flex-column.drawerinstead ofposition: absolute, so the footer
never covers the bottom «Recent» chats on short desktop windows.
Changed
- README quality & selling hierarchy (v9). The bulky search hero between «What it does» and «Board, mobile
review, worktrees and costs» is gone: chat search stays concise in Features and the tour, the search-pipeline
diagram moved to Architecture, drawer-height screenshots left the hero area, and the Temporal section explains
resume-from-step. EN/RU kept symmetric; Configuration now points to everyTELEHARNESS_*variable group.
Assets/notes: full changelog in CHANGELOG.md.
Teleharness v2.5.4
[2.5.4] — 2026-11-23
This release combines the 2.5.3 and 2.5.4 changes (everything since v2.5.2).
Added
- Full-text search across chat messages. A local SQLite FTS5 trigram index (WAL, fully derived — it rebuilds
itself if the file is deleted) indexes every chat question (cleaned of system injections) and the final text parts
of answers, across OpenCode and Claude/Codex/ACP chats.GET /teleharness/api/session/searchis tenant-isolated
(admins see everything, users only their own directories), keeps itself fresh while you type (debounced live
updates, indexing progress is reported honestly), and the chat list shows matching chats with a highlighted
snippet («You:» / «Answer:» roles,<mark>highlights, safe regex splitting — no raw HTML). Tapping a hit deep-links
to#/chat/:id?mid=…: the chat auto-loads older history pages until the message is reachable, widens its window,
scrolls to it and highlights it for a few seconds (works across compact merged turns too). - Adaptive recent chats in the desktop sidebar. On screens ≥ 900 px the «Recent» section fills the available
panel height (via aResizeObserver, capped at 100, minimum 8) instead of a fixed list; below 900 px it stays 8.
Fixed
- Antigravity ACP stale-session guard (post-answer hangs). An ACP turn interrupted by a restart, crash, stop or
timeout could leave a non-terminal step row (pending/running/generating/waiting/queued) in the agent's SQLite
database, after whichsession/promptnever reached idle and the chat hung after its answer. The portal now clears
the saved ACP session on any abnormal exit and on restart recovery, and — before resuming an Antigravity session —
does a read-only SQLite check for non-terminal steps, starting a fresh session with the chat history when one is
found (a damaged or hot-WAL database skips resume for the same reason).
Teleharness v2.5.2
[2.5.2] — 2026-11-22
Added
- OpenCode (GLM) steps in Temporal pipelines. A Model step can now run on OpenCode with
glm-5.3-flashor
glm-5.3: the model catalog is loaded from your connected OpenCode providers (60-second cache, a fallback list in
demo mode), permission and question prompts are answered non-interactively so a background step never hangs on a
dialog, the run detail shows the OpenCode engine label, and a subscription quota error parks the run in
Waiting for subscription quota instead of failing it. - Auto-loaded model catalog in the chat picker. The picker builds a group per connected OpenCode provider —
subscription plans, free models and API keys — shows a Refresh button with loading and error states, keeps the
saved models when a refresh fails (HTTP 502 does not wipe the cache), and hides pay-per-token OpenCode models from
tenant users.
Changed
- Per-tenant policy now covers OpenCode: tenants are served subscription and free (
cost = 0) OpenCode models, while
pay-per-token models are hidden and rejected server-side. Refreshed EN & RU demo, screenshots and GIFs with the GLM steps and the new picker states.
Fixed
- Image support for chat models now follows the OpenCode 2.x
capabilities.inputarray instead of assuming text-only.
Teleharness v2.5.1
Added
- GitHub Background Agents &
pull_requeststep. Connect a fine-grained GitHub PAT in Settings → GitHub (stored encrypted on the server, never exposed to agents), then create webhook or 2-minute polling triggers in Temporal → Triggers from built-in templates (Issue → PR, Fix CI, Nightly dependency update) or custom pipes. Thepull_requeststep commits in an isolated worktree and opens a draft PR (or pushes a fix to the same branch on red CI), requires explicit human approval when CI files (.github/workflows) are modified, tracks trusted authors, rate limits, and 14-day event journals with safe replay, and gives admins a global kill-switch and daily background Claude quota in Settings → Background agents. - Gemini (ACP) in Temporal pipelines & MCP server forwarding in ACP. Pick Gemini (ACP) models with readable labels in Temporal pipe steps, and forward configured MCP servers into ACP
session/new(respecting per-tenant allowlists). - Per-tenant Codex & Gemini (ACP) access. Admins can grant or revoke Codex and Gemini (ACP) per user in Settings → Users; tenant runs stay scoped to the user's own folders without shell commands or bypass modes.
- Approval rework loop & Plan → approve → code → review template. Configure an approval step to send work back to an earlier model step with review notes (up to 3 rework cycles), and start from the built-in Plan → approve → code → review template.
- Attention Board desktop/tablet preview pane. On screens ≥ 768 px, clicking any card on All or Needs review opens a right-hand preview pane with full context and quick actions without auto-marking the item as seen.
- Worktree Continue in this copy. Reopen a merged worktree directly from the Worktree sheet to keep iterating on the same branch and working copy.
Changed
- Full English and Russian localization across GitHub settings, Background agents admin controls, Temporal triggers, PR step outcomes, rework sheets, and the Attention Board preview pane.
- Updated
npm run demowith synthetic GitHub connection, active triggers and event journal, a completed GitHub Issue → PR run, Gemini (ACP) in Temporal, and approval rework, plus refreshed EN & RU screenshots.
Fixed
- Cross-OS git
askpasshelper in thepull_requeststep (.cmdon Windows,0700.shon POSIX) and Windows SQLite/Python UTF-8 test compatibility.
Full Changelog: v2.4.9...v2.5.1
Teleharness v2.4.9
Added
- ACP engines: Google Antigravity (Gemini) and GitHub Copilot CLI. Install and sign in to ACP agents from
Settings → ACP agents, pick Gemini models (Gemini 4 Neon,Gemini 3.8 Flash) or GitHub Copilot CLI per chat,
use roles, permissions, vision attachments, background status & message queue, Plan-First (plan-ro) and
bidirectional Auto-Relay with Gemini. - Attention Board (
#/board). A single control room across all chats and Temporal runs grouped into
Needs you, Working, Ready and Failed, with a While you were away summary, quick actions (approve,
stop, snooze, mark seen) and per-category Web Push notifications with quiet hours. - Mobile Review & Plan-First (
#/board/review,#/review/:id). A review queue for agent edits, a mobile-first
diff viewer with line selection and persistent inline draft comments, return-to-agent with structured feedback,
accept & commit, and a read-only Plan first toggle that pauses for approval before any file is touched. - Isolated Git Worktrees (
#/worktrees). Run each chat or pipeline in its own git worktree and branch, detect
file overlaps and merge conflicts via dry-run, merge back (squash / merge / fast-forward) with a configurable test
command, and clean up orphaned branches. - API-Equivalent Costs & Subscriptions (
#/settings/costs). SQLite ledger of turn usage priced against an
editable model price table, subscription tracking (including Google Antigravity and GitHub Copilot CLI) with
savings and payback multiplier, soft monthly budgets, per-chat / per-project / per-run breakdowns, and CSV export. - Linux AppArmor
bwrapprofile for Codex (ops/linux/) so Codex sandboxing works out of the box on Ubuntu
24.04+ kernels with unprivileged userns restrictions.
Changed
- New positioning: a self-hosted control room for AI coding agents. README (English and Russian) opens with
Your AI coding agents, from your phone, updated media (all screenshots, both GIFs and social preview in EN & RU),
and full2.4.9demo coverage innpm run demo. - Full English and Russian localization across all new views (Attention Board, Mobile Review & Plan-First, Git
Worktrees, Costs & Subscriptions, and ACP Agents). - A test checks that every local image, link and anchor in both READMEs resolves.
Fixed
- ACP Auto-Relay, Relay catch-up, Costs, Push and Plan-First: ACP JSON-RPC errors (including rate limits with
code-32000) properly trigger bidirectional Auto-Relay;withRelayCatchUpand Web Push recognize ACP turns;
ACP turns are recorded in the cost ledger with Antigravity & Copilot subscriptions; Plan-First (plan-ro) works
for admin ACP chats; engine indicator dots render reliably across viewports. - Persistent background-agent bar stays visible across reconnects and chat switches while background subagents
are still running.
Full Changelog: v2.0.5...v2.4.9
CI (Linux / macOS / Windows): https://github.com/al3x4kov/teleharness/actions/runs/44967307629