npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

editormate

v1.0.19

Published

Cross-platform background companion daemon and multi-IDE extension bridging mobile messengers (Telegram, Discord, WhatsApp) to desktop AI coding agents (Antigravity, Cursor, VS Code, Windsurf, Claude Code, Aider, Xcode, Neovim) with a bidirectional syntax

Readme

🤖 EditorMate

Universal Mobile Companion, Chat Streaming Engine & Remote Control for AI Coding Agents
Direct and monitor Antigravity IDE, Cursor, VS Code, Windsurf, Claude Code, Aider, Xcode, and Neovim from WhatsApp, Telegram, and Discord.
Features silent non-focus-stealing IDE window snapshots, 1-tap diff approvals, remote file downloading, bidirectional syntax-aware streaming, local Whisper VAD voice notes, and a 19-tool Model Context Protocol (MCP) server.


🆕 What's New in v1.0.15

  • 💬 Chat-Like UI with Conversational Alignment: Reimagined the live companion stream with modern chat conventions (Telegram/WhatsApp style). User mobile instructions align on the left, while EditorMate replies are subtly nudged to the right for clear conversational hierarchy.
  • 🎙️ In-Stream Audio & Media Playback: Transcribed voice notes now render with inline <audio controls>, a 1-tap modal replay (🎙️ Replay Audio ▶), and an external player button (↗ Standalone). Images retain original dimensions via object-fit: contain, and video walkthroughs lock into a clean 16:9 ratio.
  • 💾 Visual Storage Capacity Meter & Media Retention:
    • Real-time dual-layer storage bar in Settings: 🟢 Green track shows available space; 🔴 Red overlay indicates consumed cache.
    • Proactive Cramped Storage Alerts: Alerts you both in the chat stream and settings deck when media cache grows large (≥ 70% capacity or ≥ 50MB).
    • Configurable Retention Duration: Auto-prune past voice notes and screenshots after 1, 3, 7, 14, 30 days, or Keep All.
    • 1-Click Purge: Instantly reclaim disk space with the [ 🗑️ Purge Past Media Assets ] button.
  • 🛡️ Universal 4-Option Agent Approvals: Intercepts both ask_question dialogs and blocking tool pauses across IDEs (Antigravity, Cursor, Windsurf, VS Code), routing 4 standard choices to mobile: 1. Allow, 2. Allow for this chat, 3. Always allow, 4. Disallow.
  • 🔧 Configurable Network Port: De-hardcoded port 4588 into a configurable daemon port setting under the collapsible "🔧 Advanced Network & Custom Port" menu.
  • 📊 Isolated Telemetry Metrics: Decoupled TokenShield's rate-limit avoidance metrics from EditorMate's human remote companion supervision hours.

🌟 Key Capabilities

1. 💬 WhatsApp Multi-Device (Strict Self-Chat & 6-Digit Pairing Privacy)

  • Direct & Blazing Fast: 100% cost-effective ($0 Meta API fees, 0 cloud hops). Pairs instantly via pre-rendered local QR code or your workstation's dynamic 6-digit pairing code.
  • Pure 6-Digit Pairing: Simply send your IDE's dynamic 6-digit pairing code (/pair <code> or just <code>) in WhatsApp self-chat ("Message yourself"). The code continuously rotates every 3 minutes for enterprise-grade security. No secondary phone numbers or SIM configurations required.
  • Strict Sender Privacy Filter: EditorMate exclusively processes messages sent by Self (msg.key.fromMe, logged-in self-chat) and accounts verified with your dynamic 6-digit pairing code. All strangers, unsolicited contacts, family members, or group chats are silently dropped with zero OCR, zero audio processing, and zero unsolicited error replies.

2. 🛡️ 1-Tap Interactive Approvals & Decision Interceptor

  • When an AI agent stalls waiting for confirmation (e.g. executing shell commands, launching browsers, modifying critical files, or running build scripts):
    • Review the proposed action summary, severity, and command directly on your mobile lockscreen.
    • Tap [ ✅ Approve ] or reply /approve to inject consent instantly without leaving bed.
    • Tap [ ❌ Reject ] or reply /reject to safely abort risky operations and return the agent to idle.

3. 📎 Remote File & Workspace Downloader

  • Send /file <path> or /download <path> (e.g. /file src/index.ts or /file package.json) from WhatsApp, Telegram, or Discord.
  • EditorMate resolves the sandboxed workspace path and delivers the source file, diff, or build log directly to your phone as a document attachment.

4. ⚡ Bidirectional Syntax-Aware Chat Streaming Engine

  • Splits long agent responses and incoming mobile prompts into platform-safe chunks (Telegram 3,800 chars, Discord 1,900 chars, IDE 1,500 chars).
  • Auto-balances unclosed markdown code fences across chunk boundaries so formatting never breaks and code snippets never get cut off.

5. 📸 Silent Non-Focus-Stealing Screen Snapshots

  • Send /snap or /screenshot to receive a crisp, real-time snapshot of your active IDE window on demand.
  • Zero Focus Theft: Uses native background capture APIs that never steal window focus or disrupt typing:
    • Linux (Wayland): Native grim direct compositor buffer read or silent KDE Spectacle (-b -n -o).
    • Linux (X11): Silent scrot -z or zero-copy ffmpeg x11grab.
    • macOS: Silent non-interactive screencapture -x.
    • Windows: Direct framebuffer GDI CopyFromScreen via PowerShell without opening windows.

6. 🔌 19-Tool Model Context Protocol (MCP) Server

  • Exposes 19 native tools over JSON-RPC 2.0 stdio so AI agents in Cursor, Antigravity, Claude Code, and Windsurf can inspect workspaces, capture screenshots, query dialogue history, and trigger mobile actions:
    • editormate_status, editormate_send_prompt, editormate_snap, editormate_list_workspaces, editormate_switch_workspace, editormate_get_recent_chats, editormate_select_chat, editormate_approve_action, editormate_reject_action, editormate_allow_all, editormate_stop_agent, editormate_run_terminal, editormate_generate_pdf_report, editormate_list_aliases, editormate_set_alias, editormate_unalias, editormate_clear_chat, editormate_transcribe_audio, editormate_get_recent_dialogue.

7. 🎙️ Mobile Voice Notes & Video Audio Transcription

  • Speak spoken prompts or clarification instructions into WhatsApp, Telegram, or Discord.
  • Local 3-tier speech transcription (faster-whisper → openai-whisper → speech_recognition) with Whisper VAD strips dead-air and transcribes spoken audio locally with zero cloud tokens burned.

8. 🧹 Zero-Leak Memory Architecture

  • Auto-prunes stale screenshot and audio conversion files from tmpfs (> 60s old).
  • Enforces bounded LRU cache on ~/.editormate/media/ (max 50 files) to prevent unbounded disk growth.
  • Background timers and typing intervals are unreferenced (.unref()) to eliminate event loop leaks.

📋 Commands Reference

| Command | Action | | :--- | :--- | | 1 or /status | Check agent status, active task & git branch | | 2 or /snap | Capture live IDE window screenshot (silent, 0 focus theft) | | 3 or /diff | View git changes & modified files | | 4 or /chats | List 10 recent AI conversations | | 5 or /ide | List active workspaces & switch IDE context | | 6 or /report or /pdf | Generate & download engineering PDF report | | 7 or /approve | Approve pending tool execution | | 8 or /reject | Deny pending tool execution | | 9 or /stop | Halt active runaway agent task | | 10 or /mcp | List registered MCP tool servers | | 11 or /alias | View or configure custom command shortcuts | | /file <path> | Download workspace file as document attachment | | /pair <code> | Link phone with rotating 6-character security code |


🔒 Privacy & Architecture

EditorMate operates via a secure local-first companion daemon running directly on your workstation (http://127.0.0.1:4588).

  • Zero Cloud Code Leakage: Prompts, responses, and code files flow strictly between your verified messaging client and your local workstation.
  • Encrypted Keyring: Secrets and tokens are protected via your operating system's native credential store (AES-256-GCM).
  • Cryptographic Hardware Seat Binding: Bound to your licensed workstation seat. Strictly isolated multi-tenant architecture ensures your screens and commands are never routed to any other device.

🚀 Quickstart

  1. Install the EditorMate extension (editormate-latest.vsix).
  2. Click the $(remote) EditorMate status bar item or open the EditorMate sidebar icon.
  3. In Telegram or Discord, message your bot and send /pair <code> using your dynamic 6-digit code.
  4. For WhatsApp, link your account via local QR, then send the 6-digit code shown on your dashboard in your WhatsApp "Message yourself" chat to start directing your AI coding agent remotely.

📄 License & Commercial Support

EditorMate is part of the PortSync AI Developer Suite by Praveen Ojha.
For documentation, license keys, and support: