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

@pavitarsaini/tether-cli

v1.0.2

Published

CLI bridge for connecting the Tether web extension to AI coding tools like Claude Code and Cursor

Readme

Tether

A CLI wrapper tool for integrating coding assistants like Claude Code and Cursor with browser extensions.

Features

  • Session Management: Register and manage CLI tool sessions
  • Browser Integration: HTTP server for communication with browser extensions
  • Auto-submit: Automatically submit prompts to CLI tools
  • Image Support: Send images to compatible CLI tools
  • Multi-tool Support: Works with Claude, Cursor, Codex, and more

Installation

npm install
npm run build

Usage

Setup

First-time setup to download and install extensions:

Chrome Extension

# Download and install the Tether Chrome extension
tether setup overlay

This will:

  • Prompt for a download location (defaults to ~/Downloads)
  • Download the latest .crx extension file
  • Show step-by-step installation instructions
  • The extension auto-updates when new versions are released

Cursor Extension

# Download and install the Tether Cursor extension
tether setup cursor

This will:

  • Prompt for a download location (defaults to ~/Downloads)
  • Download the latest .vsix extension file
  • Detect if Cursor CLI is available for automatic installation
  • Show installation instructions for both automatic and manual methods

Basic Commands

Start a CLI tool with tether integration:

# Start Claude with tether integration
npx tether claude

# Start Cursor with tether integration
npx tether cursor

# Start with tether server auto-start
npx tether claude --server

Server Management

# Start the tether server
npx tether server

# Start on custom port
npx tether server --port 3000

Session Management

# List active sessions
npx tether sessions list

# Kill a specific session
npx tether sessions kill <session-id>

# Show supported tools
npx tether tools

Updating

Keep Tether up to date with the latest features:

# Check for and install updates
tether update

# Check current version
tether --version

Tether automatically checks for updates daily and notifies you when new versions are available.

API Endpoints

The tether server exposes these endpoints:

Tools & Sessions

  • GET /tools - List supported tools
  • POST /sessions - Create new session
  • GET /sessions - List active sessions
  • DELETE /sessions/:id - Kill session

Send Data

  • POST /tools/:tool/send - Send text to tool (with auto-submit based on tool config)
  • POST /tools/:tool/add-context - Add context to tool (always without auto-submit)
  • POST /tools/:tool/image - Send image to tool
  • POST /sessions/:id/send - Send to specific session

Legacy

  • POST /composer - Legacy endpoint (forwards to Cursor)

Browser Extension Integration

Tether integrates with browser extensions by:

  1. Running an HTTP server (default port 30756)
  2. Accepting data from browser extensions
  3. Forwarding data to appropriate CLI tool sessions
  4. Supporting auto-submit and image uploads

Supported Tools

  • Claude: Full support with auto-submit and images
  • Cursor: Basic support
  • Codex: Basic text support

Configuration

Tools are configured in src/types.ts:

export const SUPPORTED_TOOLS: Record<string, ToolConfig> = {
  claude: {
    name: 'claude',
    command: 'claude',
    autoSubmit: true,
    imageSupport: true
  },
  // ... more tools
};