すべてのプラグイン

pocketagents

pocketagents · バージョン 0.9.48 · 2026/11/29 更新

自分のコンピューターでローカル Hub を起動し、ターミナルに表示される QR コードをスマートフォンで読み取ると、Claude Code、Codex、DSH などのセッションを遠隔で確認・操作できます。スワイプでコマンドを承認し、長押しで話せます。すべてセルフホストです。

  • バージョンごとに審査
  • ツール
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

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         │
                                      └─────────────────────────────────┘               └─────────────────────────────────┘
  1. 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.
  2. 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 Range video scrubbing, smart thumbnails, and short-lived read-only mediaTicket URLs that never expose HUB_TOKEN). Share links (/share/:id#k=...) use client-side AES-256-GCM end-to-end encryption. See SECURITY.md for 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 pocketagents

Starts 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 PermissionRequest hook + pocketagents skill):
    /plugin marketplace add oscarka/pocketagents
    /plugin install pocketagents@pocketagents
    
  • OpenAI Codex (ships .agents/plugins/marketplace.json + .codex-plugin/plugin.json): Add oscarka/pocketagents via Codex /plugins (auto-discovers plugins/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_TOKEN password (or customize it to your own strong password before clicking Deploy).
  • Provisions a ready-to-use https://... URL in 1 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:

  1. Click 📋 Copy 1-Line Install Command (or 📋 Copy Local Repo Command if you already cloned the repo).
  2. Paste and run it in your computer's terminal:
    curl -fsSL https://your-hub-url/install.sh | bash -s -- --code ABCD-1234
    
  3. 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)

  1. In your computer browser, click 📱 Phone QR Login.
  2. 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:8080 on 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.
  3. 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 ToolView Live SessionsNew / Resume PromptEmergency StopMobile Approval & Question PopupsLive 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 (🔊 Listen TTS) 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 App

Due 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 plain http:// LAN IPs. Same-Wi-Fi npx pocketagents works 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 (agy ACP Bridge): PocketAgents integrates Antigravity IDE 2.0's official agy CLI 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.md for 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 implicit Follow Walk Mode coupling and adding an inline Test Chat TTS button).
  • 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 Detail levels (Detailed default 140–280 chars / Full Readout direct verbatim read / Concise 1–2 sentences) with 3200-char transcript context, plus cloud TTS wake priority and lock-screen tap-to-reply voice focus hooks.
  • Antigravity IDE 2.0 Official agy ACP 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 agy ACP protocol with 1-tap mobile agy CLI installation, capability negotiation, proxy resilience, clean session-close handling, and a degraded-mode diagnostic banner when agy is 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).
  • 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 + /query transcription, Volcengine Seed-TTS 3.0 HTTP streaming (X-Api-Key), Node 20 Happy Eyeballs IPv4/IPv6 fix for Ark APIs, iOS Safari AudioSession ordering fix before getUserMedia, LaunchAgent UTF-8 locale pinning (fixing CJK mojibake), run_workflow worker 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/state payloads by ~60%, added compact transcript polling (/transcript?compact=1), tightened Service Worker notificationclick focus retry, and sped up SSE reconnect to 5 seconds.
  • Walk Mode Music-Ducking, Anti-Mixup Numbered Voice Queue & Proactive Spoken Summaries (v0.9.14):
    • iOS Safari navigator.audioSession Music-Ducking: Keeps background music playing in crisp stereo (ambient) while Walk Mode idles, switches to transient to duck music volume during spoken briefings (auto-restoring afterward), and locks AirPods hands-free mic routing (play-and-record) after getUserMedia.
    • 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 #1 automatically reads #2 next. 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).
  • Guided 3-Step Mobile Voice & BYOK Configuration UX (v0.9.13):
    • Reordered the mobile Voice Copilot setup drawer into a true ① Keys → ② Profiles → ③ Test flow 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 ⚙️ Advanced parameters 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 / 🗣️ Mouth summary pills, and inline missing-key jump buttons.
  • 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 IDLE now accurately stay 🟢 Running with 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 actively CASCADE_RUN_STATUS_RUNNING.
    • Strict anti-false-positive guards (isSubagentActivelyRunning) rely exclusively on live LanguageServer RPC (status === CASCADE_RUN_STATUS_RUNNING, !killed, no pending waitingSteps, and lastModifiedTime freshness < 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 via CancelCascadeInvocation.
  • 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_USER even when the parent chat is IDLE, surfaces their 2-option or 4-option approval popup directly onto the parent chat & lock-screen push, and routes mobile Approve / Deny (HandleCascadeUserInteraction) straight to the blocked subagent's cascadeId.
    • Round-2 Defensive Security Hardening: Seed-bound mediaTicket & Zero-Trust hst_ signing keys (mediaSeed + optional HUB_SIGNING_SECRET), revokedHostTokens tombstones, bare HUB_TOKEN heartbeat block (403 DEVICE_APPROVAL_REQUIRED), strict per-host isolation across shared endpoints, /fs/rtc-offer admin-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 L2 commandLine risk classification & 3-strike PIN lockout, host Range: redaction & firmlink/traversal fixes, shell-free pbcopy, frontend escJsStr/CSP sandbox hardening, immutable root:root deployments, and least-privilege split CI/OIDC publishing.
  • 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 own dev_... credential, and even with HUB_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/join enter a pending_approval quarantine until approved on your phone (with HUB_RESET_TRUSTED_DEVICES=1 break-glass recovery). Added real-time intrusion detection & push alerts (forged hst_ tokens, sensitive path probes, brute force, unauthorized scans with real client IP via TRUST_PROXY=1), cloud-metadata SSRF blocking in voice-vault.js, atomic state persistence (tmp + rename), tightened CORS & /api/health privacy, 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-signed hst_... 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 sync File packaging to prevent iOS gesture timeouts.
  • Native Antigravity Plugin Cards, Protocol Pills & Remote Enable/Disable (v0.9.7): Rendered <plugin-card>, customization://, sidecar://, and conversation:// links as native interactive mobile cards/pills synced live with installed host plugins (GetAllPlugins RPC + agy plugin list fallback), with an in-app Plugin Detail drawer and 1-tap remote enable/disable via agy plugin enable/disable.
  • 1-Min Offline Detection, SSE Liveness Push & 10-Min Queue Send (v0.9.6): Tightened offline detection to 60s with active host_liveness SSE pushes, dimmed offline rows in-place, downgraded stale running/approval badges to gray offline states, and kept offline chat composers active in amber ⏳ Queue Send mode (auto-executes if the computer reconnects within 10 minutes).
  • 0-RTT Image Stream & Hub RAM Hot-Cache (v0.9.5): Eliminated the blocking /fs/read round-trip before opening images, added a 24 MiB LRU / 90s TTL / 304 Hub RAM hot-cache with single-flight thumbnail deduplication, and prevented slow image loads from ever jumping back to the directory listing.
  • Swipe Triage 🔊 Listen TTS & Automatic Multi-Computer Legacy Rename Migration (v0.9.4): Added 1-tap 🔊 Listen / ⏹ Stop / ⚡ Summary | 📖 Full / 1x–1.5x playback directly on Swipe Triage conclusion cards and expanded full-reply modals (with silent cold-hydration upgrade and auto-mute on swipe/mic); added HubAgent.migrateLegacyCustomTitles() on daemon boot so every enrolled computer automatically migrates its own legacy ~/.dsh/session-titles.json titles into Antigravity IDE, Claude Code & DSH after clicking 1-tap Host Upgrade.
  • Bidirectional Session Rename Sync Across All 5 Harnesses (v0.9.3): Added native setAntigravityConversationTitle (Connect-RPC UpdateConversationAnnotations annotations.title + atomic .pbtxt fallback preserving pinned:true), Claude Code .jsonl custom-title read/write, and offline DSH zstd session/title frame append; automatically clears stale ~/.dsh/session-titles.json overrides 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 with agy plugin validate and claude plugin validate; added live watcher heartbeat/lock checks and --from-plugin deduplication to claude-permission-hook.js so stopped daemons never block Claude Code terminals.
  • Unified pocketagents Launch (v0.9.1): Aligned GitHub repo (oscarka/pocketagents), npm CLI (npx pocketagents with 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 Antigravity created_at timestamps, fast idle -> idle turn detection, non-conclusion read receipt overwrites, and background visibilityState === '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 legacy deepseekharness-remotecontrol links and full DSH Market compatibility.

  • Antigravity ask_question Interactive Options & Reliable Resume (v0.8.20–v0.8.21): Parsed ask_question questions & hydrated truncated tool_calls from transcript_full.jsonl into structured kind: 'question' cards (fixing the generic Yes, allow this time fallback), and cleanly cancelled the waiting step before delivering the user's selected choices via SendUserCascadeMessage so Antigravity resumes running immediately instead of treating it as a skipped popup.

  • Native Claude Code Mobile Approvals (v0.8.19): Added official Claude Code PermissionRequest Hook bridge (claude-permission-hook.js + --install-claude-hook / auto-install in npx), real-time <120ms FSEvents approval watcher, 1-tap Allow / Always allow in this chat (updatedPermissions) / Deny and AskUserQuestion structured answers — bringing full mobile & Swipe Triage approvals to all 5 coding harnesses (Claude Code, Codex, Antigravity IDE, DSH & WorkBuddy).

  • 1-Command npx Terminal QR & Zero-Backend Interactive Demo (v0.8.18): Added executable npx 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=1 interactive 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): Reset lastOutput on each new USER_INPUT and aligned list previews strictly to the newest transcript message so stalled turns never leak older replies; collapsed repeated Antigravity ERROR_MESSAGE stream drops (⚠️ Interrupted (×N)) into standalone notices with ⚠️ Interrupted status and added an inline resume banner when a turn pauses after tool steps.

  • Zero-Lag Conclusion State Sync (v0.8.15): Removed CDN-buffered gzip encoding on /api/events SSE (80ms default / 30ms urgent conclusion flush), wired Service Worker PUSH_RECEIVED + NOTIFICATION_CLICK + 1.2s foreground resume to force immediate /api/state refresh, pruned inflightCommands immediately on conclusion, and cut Antigravity RUNNING RPC cache TTL from 2.5s to 350ms.

  • Bidirectional Multi-Harness Session Pinning & Zero-Flake CI (v0.8.13–v0.8.14): Added Hub-persisted sessionPinState (POST /api/sessions/pin + SSE), mobile 📌 Pinned Conversations section headers, and 2-way native sync across Antigravity IDE (annotations/<convId>.pbtxt + Connect-RPC UpdateConversationAnnotations + FSEvents watch), DSH Desktop (workspace.json), Codex Desktop (.codex-global-state.json incl. Electron atom state), WorkBuddy (workbuddy.db + pinned-sessions.json), and Doubao (LevelDB pinned); enforced sqlite3 .timeout 5000 + WAL and --test-concurrency=4 to eliminate CI SQLITE_BUSY flakes.

  • 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_uploaded fallback, zoom & save); upgraded chat scrolling to a gesture-driven chatPinnedToBottom state machine + capture-phase <img> load & ResizeObserver anchoring 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 Artifact Expand ⌄ / Collapse ⌃, Files-Changed collapse/View-Diff drawer & auto-hiding Mark Reviewed, and upgraded #inChatFileSheet with native two-detent drag-up expansion (80dvh ↔ 97dvh).

  • Zero-Loss Outbox WAL, Zero-Jump Session Open & PWA Gestures (v0.8.4–v0.8.8): Added dsh_inflight_outbox_v1 write-ahead outbox with 45s upload timeout and strict anti-mid-upload reload guards; upgraded lite=1 bootstrap to silent full 48k-char background hydration + flex-shrink: 0 uncrushed cards; shipped full-width bidirectional iOS PWA swipe-back (touch-safe during SSE streams) and heavy-damped 2-stage pull-to-refresh (32px deadzone, 155px sync, 285px cache-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 + lazy hls.js + automatic ~/.dsh/cache/hls GC), paired with pure-Node.js WebRTC RTCDataChannel P2P direct streaming, 1 MiB / 2 MiB 720p fast-preview slices, and fs_abort cancellation; added remote 📂 Browse Folder & + New Workspace creation plus SW dynamic build rollover.
  • Swipe Triage Deck, <100ms Post-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=1 preload (~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, and WakeLock with 📖 Full default mode for uninterrupted long-reply listening.
  • Self-Healing Sent Draft Cleanup (v0.7.7): Added lastSentComposerGuard and reconcileDeliveredComposerDraft to prevent iOS IME ghost commits and 5G Load failed drops 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 .md deliverable blocks and fixed flex ellipsis; enabled 450ms long-press native Save/Share in iOS Standalone PWAs without highlighting 📎 Quote; scoped unsent image attachments strictly per sessionId.
  • Native Voice Accuracy & iPhone / Feishu Push De-Noising (v0.7.5): Waited for neural isFinal homophone rescoring instead of cutting off at 380ms, added LCS de-duplication & 25ms pause restart; introduced shared zero-LLM push-formatter.js stripping Markdown/paths/filler, suppressing subagents, and debouncing 1.5s transient approvals.
  • Zero-Config Algorithmic Reply Voice Playback (v0.7.4): Added 🔊 Listen beside 📋 Copy Reply with < 5ms Markdown-to-speech cleaning, ⚡ Summary / 📖 Full toggle, in-place 1x / 1.25x / 1.5x speed switching, and auto-mute on mic tap.
  • Cloud Run Tunnel Abort Resilience & Multi-LanguageServer Arbitration (v0.7.4): Propagated AbortController disconnects across /api/fs-tunnel, ranked concurrent Antigravity hubs deterministically by lastModifiedTime, and serialized CI release workflows.
  • Official awesome-dsh-plugin Listing & OIDC Trusted Publishing (v0.7.3): Listed in the official marketplace catalog with screenshots.json and 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 automatic thread/unsubscribe + stale writer-lock recovery, lossless mergeCodexTranscripts, reasoning-effort switching (High / xHigh), live 📋 Plan checklists, Files With Changes diff 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.0 bundle manifest that auto-starts an embedded local Control Hub on port 8788 with Wi-Fi QR pairing when no cloud Hub is configured.
  • 3-Tier Adaptive Video Engine & Zero-Buffering Tunnel (v0.6.9): < 2ms MP4/MOV parser routing direct play, lossless faststart remux, and hardware H.264 transcode over a TTFB < 100ms streaming tunnel with multi-Range lossless download.
  • Mobile Interactive HTML Preview, In-Place iOS Video Save & Doubao Adapter (v0.6.3–v0.6.8): Isolated null-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, and state_delta incremental SSE (98%+ bandwidth savings).
  • WorkBuddy Auto-Recovery, Mobile Speech & Zero-Keystroke Approval Idempotency (v0.5.7–v0.5.8, v0.6.2): Isolated workbuddy-cli OAuth credentials, added per-cwd ACP process pool auto-recovery + bidirectional workbuddy.db sync, direct mobile speech recognition, and idempotent alreadySettled approval protection.
  • Reverse Streaming File Tunnel, 206 Range Video & 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, inflightCommands zero-flicker sends, and Codex app-server / WorkBuddy ACP live 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 and carousel blocks) 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) and exit_plan_mode plan confirmation cards.
  • First-Time Onboarding & Cloud Run Resilience: Automatic ~/.dsh/hub-state.json fallback when running without Docker, automatic LAN IP substitution for localhost QR codes, and stateless hst_... 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-turbo native 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 correct HUB_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 and HUB_RESET_TRUSTED_DEVICES=1 break-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 and TRUST_PROXY=1 real-IP resolution).
  • Mandatory Password Gate & HMAC-Signed Host Tokens: The Control Hub refuses to start unless HUB_TOKEN is set. Each enrolled computer receives an HMAC-signed, host-bound hst_... token pinned to its Ed25519 device fingerprint; revoking one machine or rotating HUB_TOKEN immediately 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 enforce realpath prefix 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 own FEISHU_HUB_URL or Feishu self-built app credentials.

FAQ


License

Released under the MIT License.

バージョン履歴

  • 0.9.482026/11/29 · 6.0 MB