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

@cerulin/chell

v0.5.5

Published

Mobile client for Claude Code, Codex, Gemini, and LM Studio

Readme

Chell CLI

Control Claude Code from your mobile device or integrate with Chell Desktop.

Free. Open source. Code anywhere.

Installation

# From npm registry
npm install -g @cerulin/chell

# Or install from local checkout
npm install -g .

# Or link for active development
npm link

Usage

chell claude

This will:

  1. Start a Claude Code session
  2. Authenticate via Auth0 (opens browser for login)
  3. Allow real-time session sharing between Claude Code and your mobile app

Options

  • -h, --help - Show help
  • -v, --version - Show version
  • -m, --model <model> - Claude model to use (default: sonnet)
  • -p, --permission-mode <mode> - Permission mode: auto, default, or plan
  • --claude-env KEY=VALUE - Set environment variable for Claude Code
  • --claude-arg ARG - Pass additional argument to Claude CLI

Terminal Status Detection

Chell CLI detects Claude Code's state by monitoring PTY output for specific visual indicators. These indicators are not part of any official API and may break if Anthropic changes Claude Code's UI.

Visual Indicators We Rely On

⚠️ FRAGILE: These patterns are reverse-engineered from Claude Code's terminal output. If status detection breaks after a Claude Code update, check these patterns first.

1. Spinner Characters (Thinking State)

Claude Code displays an animated spinner while processing. We detect these Unicode characters:

✱ ✲ ✳ ✴ ✵ ✶ ✷ ✸ ✹  (U+2731 - U+2739)
✻ ✼ ✽ ✾ ✿          (U+273B - U+273F)
❀ ❁ ❂ ❃ ❄ ❅ ❆ ❇ ❈ ❉ ❊ ❋  (U+2740 - U+274B)

Detection logic: src/claude/claudeLocal.tscheckForSpinner()

  • Spinner present → thinking state
  • No spinner for 1 second → idle state

2. "Interrupted" Text (Escape Key Detection)

When user presses Escape to cancel a permission prompt, Claude Code shows:

Interrupted · What should Claude do instead?

Detection logic: src/claude/claudeLocal.ts → checks for "Interrupted" substring

  • Clears permission state and transitions to idle

3. Permission Hook (Permission State)

Claude Code's hook system calls chell notify --hook when permission is requested.

Detection logic: src/claude/utils/startChellServer.ts/permission-hook endpoint

  • Hook triggered → permission state
  • Hook resolved → idle state

State Machine

                    ┌─────────────┐
                    │    idle     │◄────────────────┐
                    └──────┬──────┘                 │
                           │ spinner detected       │ no spinner for 1s
                           ▼                        │
                    ┌─────────────┐                 │
         ┌─────────►│  thinking   │─────────────────┘
         │          └──────┬──────┘
         │                 │ permission hook
         │                 ▼
         │          ┌─────────────┐
         │          │ permission  │
         │          └──────┬──────┘
         │                 │ "Interrupted" or hook resolved or spinner
         └─────────────────┘

OSC Sequences Emitted

Chell emits OSC 777 sequences for Chell Desktop to parse:

ESC ] 777 ; chell ; status ; <thinking|idle|permission> BEL
ESC ] 777 ; chell ; unread ; <true|false> BEL
ESC ] 777 ; chell ; permission-type ; <bash|file-write|file-read|mcp|unknown> BEL

Updating Detection Patterns

If Claude Code's UI changes, update these files:

| Pattern | File | Function/Location | |---------|------|-------------------| | Spinner characters | src/claude/claudeLocal.ts | spinnerChars regex | | "Interrupted" text | src/claude/claudeLocal.ts | checkForSpinner() | | Permission hook | src/claude/utils/injectHook.ts | Hook injection logic |

Requirements

  • Node.js >= 20.0.0
  • Claude CLI installed & logged in (claude command available in PATH)

Developing locally

npm run dev         # runs with tsx
# or
npm run build && node bin/chell.mjs

License

MIT