Описание
Ниже — оригинальный текст автора.
npx pocketagents
Why Mobile Remote Control for AI Coding Agents?
When you kick off a long refactoring, test suite, or deployment in Claude Code, OpenAI Codex, Antigravity IDE, DeepSeek Harness (DSH), or Tencent WorkBuddy, stepping away from your desk usually means flying blind:
- Stuck on a popup: The agent asks "Allow
npm run test:integration?" or pops up an architecture multiple-choice question — and waits for hours until you return to your keyboard. - No visibility on the go: You want to check whether the task finished, hold-to-talk a quick voice instruction, attach a phone screenshot, or hit emergency stop while away from your desk.
- Multiple computers: You have both an office Mac and home workstations running tasks and want one unified mobile view.
PocketAgents puts all of your computers' AI coding sessions into a clean mobile web app — complete with WeChat-style Hold-to-Talk voice & 1-tap 🔊 Listen reply playback (with independent Chat Voice model selection), a shared BYOK AI Models & Providers pool (Gemini / Volcengine Seed-ASR 2.0 & Seed-TTS 3.0 / DeepSeek / OpenAI-compatible), an optional 🎧 Walk Mode (Beta) with a collapsible Floating Mini Bar & 1ms 3-digit PIN guard on destructive commands, optional 🎯 Goal Copilot (Beta), Zero-Trust Phone-Approved device/computer access, iOS 16.4+ lock-screen push notifications, and automatic English/Chinese UI detection.
🪪 Optional Pocket Hardware Remote: PocketAgents also ships an open-source companion firmware for FoloToy AI Passport (1-click approvals, multi-choice, 3-digit PIN safety lock & push-to-talk voice right from a badge) — see firmware/folotoy-passport/README.md.
How It Works: Self-Hosted Architecture (No Vendor Relay Required)
Before starting, it helps to understand the two lightweight pieces and how data flows between them:
┌──────────────────────────┐ HTTPS / Live SSE ┌─────────────────────────────────┐
│ 📱 Your Phone PWA │ ◄─────────────────────────────► │ 🏠 Your Self-Hosted Hub │
│ Approve · Steer · Files │ │ (Your Mac / NAS / VPS / Cloud) │
└──────────────────────────┘ └────────────────┬────────────────┘
│ Outbound HTTPS
┌────────────────────────┴────────────────────────┐
▼ ▼
┌─────────────────────────────────┐ ┌─────────────────────────────────┐
│ 💻 Computer A (Office MacBook) │ │ 💻 Computer B (Home Workstation)│
│ DSH · Antigravity · Codex │ │ DSH · Codex · WorkBuddy │
└─────────────────────────────────┘ └─────────────────────────────────┘
- Control Hub (
控制台): A tiny, zero-dependency Node.js web server that you deploy yourself (on Railway, your own VPS/Cloudflare CDN, NAS, computer, or Cloud Run). You never have to route your sessions through a third-party vendor's central SaaS relay. - Computer Daemon (
connect-host.sh): A background agent installed on each of your Mac/Linux computers via a 1-line command. It watches your local AI coding sessions and connects outbound to your Control Hub (so your computer does not need a public IP or port forwarding).
Transparent Data Boundary: Your self-hosted Control Hub holds recent session metadata and active conversation snapshots in memory so your phone can open chats instantly. Full project source files, screenshots, and videos stay on your computers and stream directly on demand over a dedicated reverse HTTP tunnel (
HTTP 206 Rangevideo scrubbing, smart thumbnails, and short-lived read-onlymediaTicketURLs that never exposeHUB_TOKEN). Share links (/share/:id#k=...) use client-side AES-256-GCM end-to-end encryption. SeeSECURITY.mdfor full details.
Get Started in 3 Steps
⚡ 5-Second Local Tryout via
npx(Works with Claude Code, Codex, Antigravity IDE, DSH & WorkBuddy — Zero Config):npx pocketagentsStarts a local Control Hub + session watcher in 3 seconds, auto-enables Claude Code mobile approvals, and prints a scannable QR code right in your terminal (same Wi-Fi, 1-tap passwordless phone login — no
git clone, no Railway, no config files).🔌 Install as a Native Agent Plugin (GitHub direct — no store signup required):
- Antigravity:
git clone --depth 1 https://github.com/oscarka/pocketagents ~/.gemini/config/plugins/pocketagents- Claude Code (includes zero-hang
PermissionRequesthook +pocketagentsskill):/plugin marketplace add oscarka/pocketagents /plugin install pocketagents@pocketagents- OpenAI Codex (ships
.agents/plugins/marketplace.json+.codex-plugin/plugin.json): Addoscarka/pocketagentsvia Codex/plugins(auto-discoversplugins/pocketagents).- DeepSeek Harness (DSH >= 0.2.0) (also available in DSH Market):
sole plugin --profile desktop add github:oscarka/pocketagents # Or use --profile web if you run `dsh web`Ready for 24/7 cellular (4G/5G) access across multiple computers? Follow the 3 steps below:
Step 1: Start Your Control Hub (Pick 1 of 4 Ways)
Choose the deployment method that best fits how you use your phone:
🌟 Option A: 1-Click Cloud Deploy on Railway (Recommended · Fastest 24/7 4G/5G Access, No CLI Required)
If you want to control your home/office computers from anywhere on cellular 4G/5G without installing cloud CLIs or managing servers, click the Deploy on Railway button at the top of this README (or open the official template directly):
- Automatically generates a strong
HUB_TOKENpassword (or customize it to your own strong password before clicking Deploy). - Provisions a ready-to-use
https://...URL in1 minute with native SSE streaming and predictable low monthly cost ($5/mo Hobby plan for 24/7 connected hosts).
🏠 Option B: Run Locally on Your Computer (Fastest 30s Tryout · Same Wi-Fi, $0 Cost)
No cloud account or Docker needed. Clone the repo and start the Control Hub directly on your computer (requires Node.js >= 20):
git clone https://github.com/oscarka/pocketagents.git
cd pocketagents
# Replace choose-a-password with your own password
HUB_TOKEN="choose-a-password" PORT=8080 npm start
The terminal will print both http://localhost:8080 and your LAN URL (e.g. http://192.168.1.x:8080).
🐳 Option C: VPS / NAS / Raspberry Pi (Docker or Cloudflare CDN / Tunnel)
If you have a lightweight VPS (e.g. paired with Nginx + Cloudflare HTTP/2 & HTTP/3 CDN), home server, NAS, or Raspberry Pi, run the prebuilt Docker image (or npm start + cloudflared tunnel --url http://localhost:8080):
docker run -d --name pocketagents-hub \
--restart unless-stopped \
-p 8080:8080 \
-v dsh-hub-data:/data \
-e HUB_TOKEN="choose-a-password" \
ghcr.io/oscarka/pocketagents:latest
☁️ Option D: Google Cloud Run (CLI Script Deploy)
If you prefer deploying on GCP via gcloud, use the bundled helper script (note: because connected computer daemons keep persistent 24/7 SSE/heartbeat streams open, Cloud Run remains resident while hosts are online rather than scaling to zero — for always-on multi-computer setups, Railway or a lightweight VPS is usually much more cost-effective):
git clone https://github.com/oscarka/pocketagents.git
cd pocketagents
# Replace with your GCP project ID and your chosen password
GCP_PROJECT_ID="your-gcp-project-id" \
HUB_TOKEN="choose-a-strong-password" \
./deploy-cloudrun.sh
Once deployed, the script prints your https://dsh-remotecontrol-hub-xxx.run.app URL.
Step 2: Connect Your Computer (1-Line Command)
After unlocking the Control Hub on your computer browser, you will see the Connect Your Computer in 3 Steps card with a 15-minute enrollment code:
- Click
📋 Copy 1-Line Install Command(or📋 Copy Local Repo Commandif you already cloned the repo). - Paste and run it in your computer's terminal:
curl -fsSL https://your-hub-url/install.sh | bash -s -- --code ABCD-1234 - The script automatically registers your computer with a dedicated revocable credential, installs the background LaunchAgent/systemd service, and connects live within 2 seconds.
Step 3: Scan QR Code on Your Phone (Passwordless Login)
- In your computer browser, click
📱 Phone QR Login. - Point your phone's camera at the QR code on screen — your phone logs in immediately without typing the password!
- Smart LAN Detection: If you opened
http://localhost:8080on your computer, the QR sheet automatically switches the QR code URL to your computer's LAN IP (http://192.168.x.x:8080) so your phone on the same Wi-Fi connects on the first try.
- Smart LAN Detection: If you opened
- Optional (Recommended on iPhone): In Safari, tap Share → Add to Home Screen, open the app from your Home Screen, and enable Lock-Screen Push in Settings to receive instant alerts when a task finishes or needs approval.
Supported AI Coding Tools
The background daemon automatically discovers local sessions across all 6 supported coding tools on your machine:
| AI Coding Tool | View Live Sessions | New / Resume Prompt | Emergency Stop | Mobile Approval & Question Popups | Live Mid-Run Steer |
|---|---|---|---|---|---|
| DeepSeek Harness (DSH) | ✅ | ✅ | ✅ | ✅ (Shell approvals + ask_user_question / exit_plan_mode cards) | ✅ |
| Antigravity IDE | ✅ | ✅ (Connect-RPC + official agy ACP bridge) | ✅ | ✅ (Connect-RPC + agy ACP + native keystroke fallback) | ✅ |
| OpenAI Codex | ✅ | ✅ (codex app-server + codex exec fallback) | ✅ | ✅ (JSON-RPC approvals & question cards via app-server) | ✅ |
| Tencent WorkBuddy | ✅ | ✅ (ACP HTTP+SSE) | ✅ | ✅ (ACP permission popups) | ✅ |
| Claude Code | ✅ | ✅ (via claude --resume) | ✅ | ✅ (Native PermissionRequest Hook: Bash, Edit, Write, MCP & AskUserQuestion) | — |
Doubao Desktop (豆包电脑版) | ✅ (Observe-only) | — | — | — | — |
AI Capabilities & Beta Features
As PocketAgents adds more AI-assisted workflows, model credentials and feature settings are cleanly decoupled under Settings → AI & Features:
- Global AI Model Pool (
AI Models & Providers): Add your BYOK API keys once (Google Gemini, Volcengine Doubao Seed-ASR 2.0 / Seed-TTS 3.0, DeepSeek, Ark, OpenAI, OpenRouter, Ollama, or any OpenAI-compatible endpoint — encrypted at rest with AES-256-GCM) with 1-tap inline connectivity probes and clear usage badges showing which features use each provider. - Independent Chat Voice (
Chat Voice): Configure chat hold-to-talk dictation (STT) and reply read-aloud (🔊 ListenTTS) independently from Walk Mode — for example, pairing Volcengine Seed-ASR for dictation and Volcengine Seed-TTS 3.0 for playback, or keeping either on free device-native speech. 🎧 Walk Mode (Beta): Hands-free listening, proactive spoken task briefings (Detailed/Full Readout/Concise), and voice command approvals with an adaptive Light/Dark/System UI, an Apple Music-style collapsible Floating Mini Bar (so you can keep browsing chats & code while Walk Mode runs), and a 1ms 3-digit voice PIN guard (L2) on destructive shell commands.🎯 Goal Copilot (Beta): Optional plug-and-play external reviewer & goal supervisor bridge for unattended long-running coding sessions (zero footprint when disabled).
[!IMPORTANT] Walk Mode
(Beta)— Web vs. Full Native iOS Companion AppDue to mobile browser sandbox and OS power restrictions, pure Web / Safari PWA cannot reliably hold background audio sessions, duck foreground video/music apps, or silently wake the microphone while your screen is locked or while you switch to another app.
The complete hands-free Walk Mode experience (background APNs silent wake, cross-app audio ducking while watching videos/listening to music, and lock-screen tap-to-reply voice focus) runs on our private native iOS companion app (not uploaded to this public web repository).
👉 Want early access / TestFlight to the full native iOS companion app? Leave a comment in GitHub Issues or Discussions so we know there is demand!
Important Setup & Usage Notes
- HTTPS Required for Mic & Push: Browsers block
getUserMedia(hold-to-talk / Walk Mode mic) and iOS Home-Screen Web Push on plainhttp://LAN IPs. Same-Wi-Finpx pocketagentsworks right away for approvals & chat; for full voice and push notifications, deploy over HTTPS (Railway 1-click, Cloudflare Tunnel, or your own reverse proxy). - Antigravity IDE 2.0 (
agyACP Bridge): PocketAgents integrates Antigravity IDE 2.0's officialagyCLI ACP protocol (with 1-tap CLI installation from mobile Settings) alongside Connect-RPC. If a conversation tab was already open on your Mac while you sent replies from your phone, switch tabs or refresh the desktop window to reflect the latest remote messages. - Security & Cost Hygiene: Always use a strong
HUB_TOKEN, enable Settings → Require Phone Approval on public Hubs, keep the L2 3-digit PIN guard active for voice approvals, and remember that leaving Walk Mode running continuously with cloud ASR/TTS consumes extra battery and API quota.
📅 What's New (Recent Releases)
💡 Grouped one drawer per day with every exact version tag preserved inside; see
CHANGELOG.mdfor granular per-release notes.
- Decoupled AI Model Pool, Independent Chat Voice &
(Beta)Feature Labels (v0.9.41):- Split Settings into AI & Features (
AI Models & Providers,Walk Mode (Beta),Chat Voice,Goal Copilot (Beta)) and Notifications & General (Lock-Screen Push,Appearance,Language). - Promoted API keys into a single shared AI Models & Providers pool with per-feature usage pills (
Walk·STT/Brain/TTS,Chat·STT/TTS), and made Chat Voice 100% independent from Walk Mode (removing implicitFollow Walk Modecoupling and adding an inlineTest Chat TTSbutton).
- Split Settings into AI & Features (
- Walk Mode
(Beta)Floating Mini Bar, Doubao TTS Priority & 3-Tier Briefing Detail (v0.9.39–v0.9.40):- Split Walk Mode into active mode vs. expanded canvas: tapping collapse minimizes Walk Mode into an Apple Music-style Floating Mini Bar (
#walkMiniBar) with a TopBar headphone shortcut so you can browse sessions, code, and files while background briefings keep playing. - Added 3 configurable
Briefing Detaillevels (Detaileddefault 140–280 chars /Full Readoutdirect verbatim read /Concise1–2 sentences) with 3200-char transcript context, plus cloud TTS wake priority and lock-screen tap-to-reply voice focus hooks.
- Split Walk Mode into active mode vs. expanded canvas: tapping collapse minimizes Walk Mode into an Apple Music-style Floating Mini Bar (
- Antigravity IDE 2.0 Official
agyACP Bridge, 1-Tap CLI Installer & Adaptive Walk Mode UI (v0.9.34–v0.9.38):- Added native support for Antigravity IDE 2.0's official
agyACP protocol with 1-tap mobileagy CLIinstallation, capability negotiation, proxy resilience, clean session-close handling, and a degraded-mode diagnostic banner whenagyis missing. - Redesigned Walk Mode into a clean adaptive Light / Dark / System minimalist voice canvas (
v0.9.37) and added an isolated APNs push channel (v0.9.35) alongside Safari W3C Web Push (zero impact on existing Web Push).
- Added native support for Antigravity IDE 2.0's official
- Apple-Native Settings Redesign, Volcengine Seed-ASR 2.0 / Seed-TTS 3.0 & Full EN Localization (
v0.9.20–v0.9.33):- Rebuilt Settings in Apple-native minimalist style with inline vector SVG icons, protocol-first unified Provider forms, and inline connectivity probes.
- Added Volcengine Seed-ASR 2.0 async
/submit + /querytranscription, Volcengine Seed-TTS 3.0 HTTP streaming (X-Api-Key), Node 20 Happy Eyeballs IPv4/IPv6 fix for Ark APIs, iOS SafariAudioSessionordering fix beforegetUserMedia, LaunchAgent UTF-8 locale pinning (fixing CJK mojibake),run_workflowworker session hiding, and complete English UI coverage across Settings, Voice, and Walk Mode.
- 60% Slimmer State Sync & Faster Resume (
v0.9.15–v0.9.19):- Trimmed
/api/statepayloads by ~60%, added compact transcript polling (/transcript?compact=1), tightened Service Workernotificationclickfocus retry, and sped up SSE reconnect to 5 seconds.
- Trimmed
- Walk Mode Music-Ducking, Anti-Mixup Numbered Voice Queue & Proactive Spoken Summaries (
v0.9.14):- iOS Safari
navigator.audioSessionMusic-Ducking: Keeps background music playing in crisp stereo (ambient) while Walk Mode idles, switches totransientto duck music volume during spoken briefings (auto-restoring afterward), and locks AirPods hands-free mic routing (play-and-record) aftergetUserMedia. - Numbered Multi-Approval Anti-Mixup Queue & Sequential Triage: Every pending approval gets a stable FIFO slot (
#1,#2,#3) with session name; when multiple approvals exist, vague"approve"without a slot/code/session or fresh 45s briefing focus is strictly blocked and prompts by slot number; finishing#1automatically reads#2next. Supports dynamic 2-option browser deny (optionIndex = 2) and spoken option selection ("pick option 2","slot 1 pick B"). - Rich Proactive Briefings (
POST /api/voice/briefing) & Hands-Free Auto-Listen: Reads multiple-choice questions with options aloud, summarizes completed tasks into 1–2 spoken sentences via your BYOK brain, and auto-opens the mic for a 5.5s reply window (silently closing and restoring music if you don't speak).
- iOS Safari
- Guided 3-Step Mobile Voice & BYOK Configuration UX (
v0.9.13):- Reordered the mobile Voice Copilot setup drawer into a true
① Keys→② Profiles→③ Testflow with a 2×2 visual provider picker (Google Gemini,DeepSeek / Ark / OpenAI,Volcengine ASR,Volcengine TTS), auto-naming blank key labels, Volcengine API Key vs AppID+Token auth toggle, and collapsible⚙️ Advancedparameters so first-time setup requires pasting only 1 key. - Added 1-Tap Recommended Profiles right after saving a key (e.g. All-Gemini 1-Key Setup, Free Native Speech + Gemini/DeepSeek Brain, or Volcengine + Gemini Flagship Mix), clear human labels & quick model/voice chips for every field in custom mixing, plain-language
👂 Ear / 🧠 Brain / 🗣️ Mouthsummary pills, and inline missing-key jump buttons.
- Reordered the mobile Voice Copilot setup drawer into a true
- Antigravity Subagent Live Running-State Bubbling & Coordinated Stop (
v0.9.12):- After approving a child subagent popup on mobile, parent sessions whose own trajectory is
IDLEnow accurately stay🟢 Runningwith live step progress (🌐 Subagent "..." running in background (step N)...) in both the session list and the bottom green control bar while any child subagent is activelyCASCADE_RUN_STATUS_RUNNING. - Strict anti-false-positive guards (
isSubagentActivelyRunning) rely exclusively on live LanguageServer RPC (status === CASCADE_RUN_STATUS_RUNNING,!killed, no pendingwaitingSteps, andlastModifiedTimefreshness< 15 min), ensuring idle browser subagent tabs, completed subagents, and stale/zombie trajectories never falsely show as running. Tapping Stop on the parent also cancels actively running child subagents viaCancelCascadeInvocation.
- After approving a child subagent popup on mobile, parent sessions whose own trajectory is
- Antigravity Subagent Approval Bubbling & Round-2 Deep Security Hardening (
v0.9.11):- Subagent Approval Bubbling & Remote Approval: Automatically detects Antigravity IDE child subagents (such as browser upload/permission subagents) blocked in
WAITING_FOR_USEReven when the parent chat isIDLE, surfaces their 2-option or 4-option approval popup directly onto the parent chat & lock-screen push, and routes mobileApprove/Deny(HandleCascadeUserInteraction) straight to the blocked subagent'scascadeId. - Round-2 Defensive Security Hardening: Seed-bound
mediaTicket& Zero-Trusthst_signing keys (mediaSeed+ optionalHUB_SIGNING_SECRET),revokedHostTokenstombstones, bareHUB_TOKENheartbeat block (403 DEVICE_APPROVAL_REQUIRED), strict per-host isolation across shared endpoints,/fs/rtc-offeradmin-only auth + DTLS fingerprint verification, global API auth-failure rate limiting, pre-auth gzip-bomb & per-route body caps, IPv4/IPv6/DNS Voice SSRF protection, Voice L2commandLinerisk classification & 3-strike PIN lockout, hostRange:redaction & firmlink/traversal fixes, shell-freepbcopy, frontendescJsStr/CSP sandbox hardening, immutableroot:rootdeployments, and least-privilege split CI/OIDC publishing.
- Subagent Approval Bubbling & Remote Approval: Automatically detects Antigravity IDE child subagents (such as browser upload/permission subagents) blocked in
- Zero-Trust Phone-Approved Access Gate & Real-Time Intrusion Push Alerts (
v0.9.10): Added a 1-tap "Require Phone Approval for New Devices / Computers" switch in Settings — once enabled, every approved browser holds its owndev_...credential, and even withHUB_TOKEN, any unknown browser lands on a 6-digit verification waiting screen while your trusted phone receives an instant lock-screen push & top approval banner (✓ Allow/🚫 Deny), and bare master-token API calls are hard-blocked (403 DEVICE_APPROVAL_REQUIRED). New computers enrolling via/api/hosts/joinenter apending_approvalquarantine until approved on your phone (withHUB_RESET_TRUSTED_DEVICES=1break-glass recovery). Added real-time intrusion detection & push alerts (forgedhst_tokens, sensitive path probes, brute force, unauthorized scans with real client IP viaTRUST_PROXY=1), cloud-metadata SSRF blocking invoice-vault.js, atomic state persistence (tmp + rename), tightened CORS &/api/healthprivacy, and expanded secret redaction (ark-,hst_,AIza,AQ.Ab,ghp_,mt1.). - BYOK Multi-Provider Voice Copilot, OLED Walk Mode (
🎧) & 3-Digit L2 PIN Guard (v0.9.9): Shipped an open-source, zero-hardcoded-key voice copilot with AES-256-GCM encrypted credential storage (0600) supporting Google Gemini, Volcengine Doubao Flash ASR / Seed-TTS 2.0, and any OpenAI-compatible provider (DeepSeek, Ark, OpenAI, OpenRouter, SiliconFlow, Groq, Ollama) with independent STT / Brain / TTS mix-and-match and per-model thinking controls. Includes a full-screen pure-black OLED Walk Mode (AirPods MediaSession, Auto-VAD, barge-in interruption, Wake Lock), a 1ms deterministic 3-digit voice PIN guard (L2) before approving destructive commands (rm -rf,git push --force,DROP TABLE,sudo), and a Voice Lab dry-run latency bench — plus HMAC-signedhst_...host token verification and workspace sensitive-directory denylist hardening.
- Unified All-File Export/Share Engine & Markdown 5-Action Sheet (
v0.9.8): Added a single-line top-bar⤓export action across mobile & desktop file previews; media/binary files trigger native Save/Share immediately while Markdown files offer 5 enhanced actions — Save/Share Original, Export Styled Standalone HTML, Copy Raw Markdown, Copy Plain Text, and Print / Save as PDF — with 0ms syncFilepackaging to prevent iOS gesture timeouts. - Native Antigravity Plugin Cards, Protocol Pills & Remote Enable/Disable (
v0.9.7): Rendered<plugin-card>,customization://,sidecar://, andconversation://links as native interactive mobile cards/pills synced live with installed host plugins (GetAllPluginsRPC +agy plugin listfallback), with an in-app Plugin Detail drawer and 1-tap remote enable/disable viaagy plugin enable/disable. - 1-Min Offline Detection, SSE Liveness Push & 10-Min Queue Send (
v0.9.6): Tightened offline detection to60swith activehost_livenessSSE pushes, dimmed offline rows in-place, downgraded stale running/approval badges to gray offline states, and kept offline chat composers active in amber⏳ Queue Sendmode (auto-executes if the computer reconnects within 10 minutes). - 0-RTT Image Stream & Hub RAM Hot-Cache (
v0.9.5): Eliminated the blocking/fs/readround-trip before opening images, added a24 MiBLRU /90sTTL /304Hub RAM hot-cache with single-flight thumbnail deduplication, and prevented slow image loads from ever jumping back to the directory listing. - Swipe Triage
🔊 ListenTTS & Automatic Multi-Computer Legacy Rename Migration (v0.9.4): Added 1-tap🔊 Listen/⏹ Stop/⚡ Summary | 📖 Full/1x–1.5xplayback directly on Swipe Triage conclusion cards and expanded full-reply modals (with silent cold-hydration upgrade and auto-mute on swipe/mic); addedHubAgent.migrateLegacyCustomTitles()on daemon boot so every enrolled computer automatically migrates its own legacy~/.dsh/session-titles.jsontitles into Antigravity IDE, Claude Code & DSH after clicking 1-tap Host Upgrade. - Bidirectional Session Rename Sync Across All 5 Harnesses (
v0.9.3): Added nativesetAntigravityConversationTitle(Connect-RPCUpdateConversationAnnotationsannotations.title+ atomic.pbtxtfallback preservingpinned:true), Claude Code.jsonlcustom-titleread/write, and offline DSH zstdsession/titleframe append; automatically clears stale~/.dsh/session-titles.jsonoverrides so desktop renames never get permanently shadowed, with optimistic mobile title updates. - Native Multi-Platform Agent Plugins & Zero-Hang Claude Hook (
v0.9.2): Added native GitHub-installable plugin manifests for Antigravity (plugin.json+skills/pocketagents/SKILL.md+assets/logo.svg), Claude Code (.claude-plugin/plugin.json,.claude-plugin/marketplace.json, isolated.claude-plugin/hooks.json), and OpenAI Codex (.codex-plugin/plugin.json+.agents/plugins/marketplace.json→plugins/pocketagents), validated withagy plugin validateandclaude plugin validate; added live watcher heartbeat/lock checks and--from-plugindeduplication toclaude-permission-hook.jsso stopped daemons never block Claude Code terminals. - Unified
pocketagentsLaunch (v0.9.1): Aligned GitHub repo (oscarka/pocketagents), npm CLI (npx pocketagentswith OIDC provenance), multi-arch GHCR image (ghcr.io/oscarka/pocketagents:latest), and live sandbox (https://pocketagents.agentrun.vip/?demo=1); tightened mobile chat swipe-back strictly to rightward drags from the left edge (14%,48–72px) and fixed 4 conclusion unread bugs (stale Antigravitycreated_attimestamps, fastidle -> idleturn detection, non-conclusion read receipt overwrites, and backgroundvisibilityState === 'hidden'auto-reads).
-
PocketAgents Launch (
v0.9.0): Rebranded repository and primary CLI package to PocketAgents (github.com/oscarka/pocketagents,npx pocketagents,ghcr.io/oscarka/pocketagents:latest) with automatic 301 redirect from legacydeepseekharness-remotecontrollinks and full DSH Market compatibility. -
Antigravity
ask_questionInteractive Options & Reliable Resume (v0.8.20–v0.8.21): Parsedask_questionquestions& hydrated truncatedtool_callsfromtranscript_full.jsonlinto structuredkind: 'question'cards (fixing the genericYes, allow this timefallback), and cleanly cancelled the waiting step before delivering the user's selected choices viaSendUserCascadeMessageso Antigravity resumes running immediately instead of treating it as a skipped popup. -
Native Claude Code Mobile Approvals (
v0.8.19): Added official Claude CodePermissionRequestHook bridge (claude-permission-hook.js+--install-claude-hook/ auto-install innpx), real-time<120msFSEvents approval watcher, 1-tapAllow/Always allow in this chat(updatedPermissions) /DenyandAskUserQuestionstructured answers — bringing full mobile & Swipe Triage approvals to all 5 coding harnesses (Claude Code, Codex, Antigravity IDE, DSH & WorkBuddy). -
1-Command
npxTerminal QR & Zero-Backend Interactive Demo (v0.8.18): Added executablenpx deepseekharness-remotecontrol(dsh-remote) CLI that boots an embedded local Hub + local session watcher and prints a scannable ISO/IEC 18004 Unicode QR code right in the terminal; shipped a completely isolated, zero-backend?demo=1interactive sandbox (2 hosts, 5 AI engines, Swipe Triage, HTML live preview) and repositioned README & visuals for Claude Code, Codex, Antigravity IDE & DSH. -
Explicit Interruption Notices & Latest-Turn Previews (
v0.8.16–v0.8.17): ResetlastOutputon each newUSER_INPUTand aligned list previews strictly to the newest transcript message so stalled turns never leak older replies; collapsed repeated AntigravityERROR_MESSAGEstream drops (⚠️ Interrupted (×N)) into standalone notices with⚠️ Interruptedstatus and added an inline resume banner when a turn pauses after tool steps. -
Zero-Lag Conclusion State Sync (
v0.8.15): Removed CDN-bufferedgzipencoding on/api/eventsSSE (80msdefault /30msurgent conclusion flush), wired Service WorkerPUSH_RECEIVED+NOTIFICATION_CLICK+1.2sforeground resume to force immediate/api/staterefresh, prunedinflightCommandsimmediately on conclusion, and cut AntigravityRUNNINGRPC cache TTL from2.5sto350ms. -
Bidirectional Multi-Harness Session Pinning & Zero-Flake CI (
v0.8.13–v0.8.14): Added Hub-persistedsessionPinState(POST /api/sessions/pin+ SSE), mobile📌 Pinned Conversationssection headers, and 2-way native sync across Antigravity IDE (annotations/<convId>.pbtxt+ Connect-RPCUpdateConversationAnnotations+ FSEvents watch), DSH Desktop (workspace.json), Codex Desktop (.codex-global-state.jsonincl. Electron atom state), WorkBuddy (workbuddy.db+pinned-sessions.json), and Doubao (LevelDBpinned); enforcedsqlite3.timeout 5000+ WAL and--test-concurrency=4to eliminate CISQLITE_BUSYflakes. -
Clickable User-Bubble Image Thumbnails & Sticky-Bottom Scroll Lock (
v0.8.12): Replaced raw upload path text inside user bubbles with clickable fixed-aspect image thumbnails (.dsh-uploads/.user_uploadedfallback, zoom & save); upgraded chat scrolling to a gesture-drivenchatPinnedToBottomstate machine + capture-phase<img>load&ResizeObserveranchoring to prevent sudden upward jumps. -
Theme-Aware Artifact/Diff Cards & Drag-Up Expandable Preview Drawer (
v0.8.9–v0.8.11): Replaced hardcoded dark monospace cards with adaptive light/dark default-collapsed single-line bars, added ArtifactExpand ⌄ / Collapse ⌃, Files-Changed collapse/View-Diff drawer & auto-hiding Mark Reviewed, and upgraded#inChatFileSheetwith native two-detent drag-up expansion (80dvh↔97dvh).
- Zero-Loss Outbox WAL, Zero-Jump Session Open & PWA Gestures (
v0.8.4–v0.8.8): Addeddsh_inflight_outbox_v1write-ahead outbox with45supload timeout and strict anti-mid-upload reload guards; upgradedlite=1bootstrap to silent full 48k-char background hydration +flex-shrink: 0uncrushed cards; shipped full-width bidirectional iOS PWA swipe-back (touch-safe during SSE streams) and heavy-damped 2-stage pull-to-refresh (32pxdeadzone,155pxsync,285pxcache-clearing reload). - Standard HLS Streaming, Zero-Dep WebRTC P2P & Cloud Run Small-Chunk Pipeline (
v0.7.8,v0.8.2–v0.8.3): Upgraded video playback to RFC 8216 HLS (index.m3u8+4s .ts/30fps+ lazyhls.js+ automatic~/.dsh/cache/hlsGC), paired with pure-Node.js WebRTCRTCDataChannelP2P direct streaming,1 MiB / 2 MiB720pfast-preview slices, andfs_abortcancellation; added remote📂 Browse Folder&+ New Workspacecreation plus SW dynamic build rollover. - Swipe Triage Deck,
<100msPost-Upgrade Launch & Native iOS PNG Icons (v0.8.0–v0.8.1): Added gesture-driven card-stack triage for approvals, questions & unread conclusions (full zh/en); introduced SW Stale-While-Revalidate App-Shell cache, parallel<head>?lite=1preload (~75% smaller), in-memory Brotli/Gzip, CDN edge self-warming, zero-white-screen deferred upgrades, and full-bleed raster PNG Home Screen icons. - Uninterrupted Code-Reply Voice Playback (
v0.7.9): Added anti-GC utterance pinning, CommonMark §4.5 code-fence parsing, andWakeLockwith📖 Fulldefault mode for uninterrupted long-reply listening.
- Self-Healing Sent Draft Cleanup (
v0.7.7): AddedlastSentComposerGuardandreconcileDeliveredComposerDraftto prevent iOS IME ghost commits and 5GLoad faileddrops from restoring already-sent text into the input box. - Clean Artifact Chips, Long-Press Image Save & Per-Session Image Drafts (
v0.7.6): Deduplicated custom Antigravity.mddeliverable blocks and fixed flex ellipsis; enabled450mslong-press native Save/Share in iOS Standalone PWAs without highlighting📎 Quote; scoped unsent image attachments strictly persessionId. - Native Voice Accuracy & iPhone / Feishu Push De-Noising (
v0.7.5): Waited for neuralisFinalhomophone rescoring instead of cutting off at380ms, added LCS de-duplication &25mspause restart; introduced shared zero-LLMpush-formatter.jsstripping Markdown/paths/filler, suppressing subagents, and debouncing1.5stransient approvals.
- Zero-Config Algorithmic Reply Voice Playback (
v0.7.4): Added🔊 Listenbeside📋 Copy Replywith< 5msMarkdown-to-speech cleaning,⚡ Summary/📖 Fulltoggle, in-place1x / 1.25x / 1.5xspeed switching, and auto-mute on mic tap. - Cloud Run Tunnel Abort Resilience & Multi-LanguageServer Arbitration (
v0.7.4): PropagatedAbortControllerdisconnects across/api/fs-tunnel, ranked concurrent Antigravity hubs deterministically bylastModifiedTime, and serialized CI release workflows.
- Official
awesome-dsh-pluginListing & OIDC Trusted Publishing (v0.7.3): Listed in the official marketplace catalog withscreenshots.jsonand switched npm publishing to tokenless GitHub Actions OIDC (npm publish --provenance+ SLSA v1 attestation).
- Reliable Multi-Turn Codex Messaging, Reasoning Effort & MCP Approvals (
v0.7.2): Added automaticthread/unsubscribe+ stale writer-lock recovery, losslessmergeCodexTranscripts, reasoning-effort switching (High/xHigh), live📋 Planchecklists,Files With Changesdiff cards, and mobile MCP tool approvals.
- Subagent Folding & Unboxed Document Flow (
v0.7.1): Folded Antigravity / DSH / Claude Code subagents inline into parent conversations while filtering orphan subagent chats; removed outer assistant bubble borders for~15%wider mobile reading width.
- 1-Click DSH Market Install & Embedded Local Hub (
v0.7.0): Full DSH>= 0.2.0bundle manifest that auto-starts an embedded local Control Hub on port8788with Wi-Fi QR pairing when no cloud Hub is configured. - 3-Tier Adaptive Video Engine & Zero-Buffering Tunnel (
v0.6.9):< 2msMP4/MOV parser routing direct play, losslessfaststartremux, and hardware H.264 transcode over aTTFB < 100msstreaming tunnel with multi-Range lossless download. - Mobile Interactive HTML Preview, In-Place iOS Video Save & Doubao Adapter (
v0.6.3–v0.6.8): Isolatednull-origin sandbox preview for HTML code blocks/files, in-place Share-Sheet video save, Doubao Desktop observe-only adapter, WeChat-style hold-to-talk voice, andstate_deltaincremental SSE (98%+bandwidth savings).
- WorkBuddy Auto-Recovery, Mobile Speech & Zero-Keystroke Approval Idempotency (
v0.5.7–v0.5.8,v0.6.2): Isolatedworkbuddy-cliOAuth credentials, added per-cwdACP process pool auto-recovery + bidirectionalworkbuddy.dbsync, direct mobile speech recognition, and idempotentalreadySettledapproval protection. - Reverse Streaming File Tunnel,
206 RangeVideo & Deep Codex/WorkBuddy Streaming (v0.5.3–v0.5.6): Added/fs/list|read|stream+/api/fs-tunnel, 240s graceful SSE rotation for Cloud Run,inflightCommandszero-flicker sends, and Codexapp-server/ WorkBuddyACPlive streaming.
- Bilingual Web Console: Added automatic browser language detection (
en/zh) plus a 1-tap🌐 EN / 中文switcher in the Login screen, Top Bar, and Settings. - Inline Chat Images & Clickable File Chips: Local images generated by DSH or Antigravity IDE (including
.gemini/antigravity/brain/artifacts andcarouselblocks) render directly inside mobile chat bubbles, and local[file.py](file:///...)links render as 1-tap code/asset preview chips with instant Hub blob caching and daemon fast-flush (<200ms). - DSH Multiple-Choice & Plan Popups: Full mobile support for DSH
ask_user_question(single/multi-select + custom note) andexit_plan_modeplan confirmation cards. - First-Time Onboarding & Cloud Run Resilience: Automatic
~/.dsh/hub-state.jsonfallback when running without Docker, automatic LAN IP substitution forlocalhostQR codes, and statelesshst_...host token auto-recovery across Cloud Run container scaling. - Host Power & Network Telemetry: Settings cards display real-time laptop battery percentage, charging/AC status, low-battery warnings, and Wi-Fi/LAN latency (
rttMs).
- Added 15-minute multi-host enrollment codes (
/install.sh), per-host Ed25519 fingerprint pinning & independent token revocation, and mobile camera/photo-library screenshot attachments with client-side Canvas compression.
- Added unified session discovery and remote control for Antigravity IDE, OpenAI Codex, and Claude Code alongside DSH, powered by the
dsh-turbonative accelerator and bidirectional SSE streaming.
- Added RFC 8291/8292 zero-dependency Web Push lock-screen notifications, 1-click cross-computer session migration, and AES-256-GCM end-to-end encrypted shareable replay links (
#k=).
Security & Privacy
- Zero-Trust Phone-Approved Access Gate (
v0.9.10): Enable "Require Phone Approval" in Settings so every new browser login (even with the correctHUB_TOKEN) and every newly enrolled computer must be explicitly approved on your trusted phone (with a 6-digit verification code and instant lock-screen push notification), plus 1-tap device revocation andHUB_RESET_TRUSTED_DEVICES=1break-glass recovery. - Real-Time Intrusion Push Alerts: Automatically logs and pushes high-signal alerts to your phone on forged
hst_host tokens, sensitive credential path probes, password brute-force, and unauthorized API scans (with automatic token redaction andTRUST_PROXY=1real-IP resolution). - Mandatory Password Gate & HMAC-Signed Host Tokens: The Control Hub refuses to start unless
HUB_TOKENis set. Each enrolled computer receives an HMAC-signed, host-boundhst_...token pinned to its Ed25519 device fingerprint; revoking one machine or rotatingHUB_TOKENimmediately invalidates compromised credentials. - Encrypted BYOK Voice Vault & Workspace Confinement: Optional BYOK voice API keys are encrypted at rest with AES-256-GCM (
0600) with cloud-metadata SSRF blocking; host file tunnels enforcerealpathprefix checks and block sensitive home credential directories (~/.ssh,~/.aws,~/.dsh,.env, etc.). - End-to-End Encrypted Sharing: When you generate a session replay link, encryption happens on your computer using AES-256-GCM; the decryption key stays in the URL
#k=fragment and is never sent to the server. - Transparent Plugin Permissions Disclosure: When installed as a DSH plugin, this package reads local AI coding session directories on your machine (
~/.dsh, Antigravity, Codex, Claude Code, WorkBuddy, Doubao) and streams workspace files only on explicit user preview requests. It contains zero third-party telemetry and zero vendor relay calls — listening locally with token/pairing authentication by default, and connecting outbound only if you explicitly configure your ownFEISHU_HUB_URLor Feishu self-built app credentials.
FAQ
License
Released under the MIT License.
История версий
- 0.9.4829 нояб. 2026 г. · 6.0 MB