Skip to content

Remote Terminal & Website Platform Upgrade

Choose a tag to compare

@tirthsaraiya29 tirthsaraiya29 released this 21 Nov 06:10
· 54 commits to main since this release

Tether v1.2.2 — Remote Terminal & Website Platform Upgrade

Release Date: November 21, 2026


Overview

Tether v1.2.2 is a focused release delivering a fully re-engineered remote terminal experience on Android, a comprehensive website platform overhaul, and a suite of documentation and project hygiene improvements. This release significantly raises the quality bar for in-session terminal interactivity and brings the Tether website up to production-grade standards with smart download delivery, structured community feedback channels, AI-access governance, and refined navigation.


What's New

🖥️ Remote Terminal — Full Overhaul

The remote terminal feature has been substantially rebuilt from the ground up across both the Android companion app and the Windows host-side session infrastructure.

Android Companion (RemoteTerminalScreen.kt)

  • Termux-style inline input bar — The terminal now surfaces a persistent, bottom-anchored input field styled after the Termux UX, keeping the command prompt always accessible without hiding the output viewport.
  • Fullscreen mode — Users can toggle a dedicated fullscreen terminal view, maximising screen real estate and reducing UI chrome during intensive shell sessions.
  • cls / clear command support — Issuing cls or clear from the remote terminal now correctly clears the visible output buffer, mirroring native terminal behaviour.
  • Session lifecycle improvements — The TetherLanService integration received refinements to ensure terminal sessions are correctly initialised and torn down without leaving orphaned processes.

Windows Host (TerminalSessionManager.cs, HardwareExecutor.cs)

  • Standard-user process creation — The session helper now correctly launches terminal child processes as the interactively logged-on standard user rather than under the elevated service account, eliminating a class of CreateProcessAsUser permission failures.
  • Explorer-parented window fallback — When the primary process-creation path is unavailable (e.g. no active interactive session desktop), the session manager now falls back to attaching the terminal window to the Explorer shell process, ensuring continuity.
  • Security isolation preserved — All process-spawn paths continue to enforce session isolation boundaries; privilege is not carried across the standard-user boundary.
  • Comprehensive test coverage — 85 new unit tests in TerminalTests.cs cover process creation, session lifecycle, error paths, and fallback logic, bringing terminal reliability to a verifiable standard.

Important

The terminal session helper changes require the updated Windows host package. Pairing an older desktop build with v1.2.2 of the Android companion may result in terminal sessions failing to start.


🌐 Website — Platform Upgrade

The Tether website (index.html, api/submit.js, middleware.ts, vercel.json) has undergone a major evolution from a static informational page to a fully interactive community platform.

OS-Aware Smart Downloads

  • The Download button is now fully OS-aware. It detects the visitor's operating system and fetches the correct asset from the latest GitHub Release via the Releases API — .exe for Windows visitors, .apk for Android.
  • Unsupported platforms receive a clear, non-clickable "Download not supported for this OS" state rather than a broken link.
  • Release metadata is cached in localStorage for one hour, preventing redundant API calls on page revisits; stale cache is used gracefully as a fallback when the GitHub API is unavailable or rate-limited.

Community Feedback Forms — "Ask a Question"

  • A new Ask a Question section with four structured categories has been added:
    • 🐛 Bug Report — mirrors the .github/ISSUE_TEMPLATE/01 fields
    • 💡 Feature Request — mirrors the .github/ISSUE_TEMPLATE/02 fields
    • ❤️ Appreciation & Feedback — open-form appreciation
    • 🔒 Security Vulnerability — private, never filed publicly
  • Each submission requires a mandatory private contact section (email and/or phone) with an explicit privacy statement before submission.
  • An optional GitHub username field with a public-credit opt-in toggle allows reporters to receive Reported by @user attribution on the created issue, while keeping the username private when credit is declined.

Serverless Backend (api/submit.js)

  • Bug, feature, and appreciation reports are filed as public GitHub Issues with template-compatible Markdown bodies, correct labels (bug / enhancement / appreciation), and prefixed titles.
  • Security reports are never public — vulnerability details and contact information are stored exclusively in a private contacts repository; only a reference handle is returned to the submitter.
  • Contact details are stored server-side in a private repo keyed to the submission and are never embedded in public issue bodies, comments, or labels.
  • Hardened with: per-IP rate limiting, server-side input validation, honeypot field, request-size caps, and duplicate-submission guards. The GitHub token is strictly server-side.

AI Crawler Governance

  • robots.txt now explicitly disallows all major AI crawlers (GPTBot, ClaudeBot, CCBot, Google-Extended, PerplexityBot, Bytespider, and others) site-wide.
  • A dedicated /ai-summary.txt is the sole path AI systems may index — providing a concise, authoritative project summary.
  • Server-side middleware (middleware.ts) enforces this policy: known AI user-agents receive 403 on all paths except the summary, robots.txt, sitemap, and the submission API endpoint.
  • Global X-Robots-Tag: noai, noimageai headers applied via vercel.json.

Navigation & UX Refinements

  • "Ask a Question" added to the top navigation bar for direct discoverability.
  • FAQ and Ask a Question sections repositioned above the Developers section for better information hierarchy.
  • Category card icons migrated from emoji codepoints to inline GitHub Octicon-style SVGs (bug, lightbulb, heart/hand, shield), tinted with the site accent colour — resolving rendering inconsistencies across platforms and browsers.
  • Footer link updated to reflect the revised section layout.

Note

Deploying api/submit.js requires three environment variables: GITHUB_TOKEN, PRIVATE_REPO_TOKEN, and CONTACTS_REPO. See the deployment documentation for setup instructions.


Documentation & Repository

README Overhaul

  • Architecture diagrams (Mermaid) revised and repositioned above the Screenshots section for a better reading flow.
  • Component interaction diagram corrected to fix Mermaid render errors.
  • New and updated screenshots committed:
    • android-remote-desktop.jpg — new screenshot showcasing the remote desktop capability
    • android-terminal.jpg — new screenshot of the redesigned terminal UI
    • android-command-center.jpg, android-remote-trackpad.jpg, android-system-apps-launcher.jpg, android-system-config-integrity.jpg, desktop-telemetry-control-plane.png — updated to reflect current UI
  • Screenshots now have appropriate captions and markdown image formatting.

Project Hygiene

  • Removed three stale GitHub Actions workflow files (ai-documentation.yml, remove_comments.yml, semgrep.yml) that were disabled or unused, reducing CI surface area.
  • .gitignore updated to exclude the skills/ directory; the directory is no longer tracked in the repository.
  • Stale AI-generated artifact files removed from the repository.

Bug Fixes

Component Fix
Terminal — Windows Process creation now succeeds in standard-user sessions; resolved CreateProcessAsUser failure on non-elevated desktop sessions
Terminal — Windows Explorer-parented fallback prevents terminal from silently failing when no interactive desktop is available
Terminal — Android Session initialisation race in TetherLanService corrected; sessions no longer start in an indeterminate state
Website — Middleware Fixed middleware returning a null response body for all non-AI traffic, which caused the entire site to serve blank pages
Website — Middleware Removed erroneous next/server import on a plain static Vercel site; replaced with undefined passthrough
Website — robots.txt Fixed wildcard block syntax that was inadvertently restricting legitimate search engine crawlers
Website — SVG icons Fixed SVG icon rendering failure in Ask a Question category cards caused by inline attribute conflicts

Internal & Infrastructure

  • vercel.json updated with global security and crawler-policy response headers.
  • Serverless API (api/submit.js) includes node --check verified syntax and a handler smoke test suite (400 on invalid input, correct contact-required validation order).
  • mdEsc utility hardened against null input encountered during smoke testing.

Version Reference

Component Previous This Release
Android Companion 1.2.1 (versionCode 3) 1.2.2 (versionCode 4)
Windows Desktop 1.2.1 1.2.2
Website — Updated

Upgrade Notes

  • Android: Install the new APK over the existing installation. No data migration required.
  • Windows: Install the updated package. The session helper binary is updated; a reboot or service restart is recommended after installation to ensure the new process-creation paths are active.
  • Website operators: Redeploy to Vercel with the three required environment variables set. The api/submit.js serverless function is new and must be included in the deployment.