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

@linkshell/host

v0.4.47

Published

LinkShell v2 host daemon: owns agent sessions and terminals on your computer, serves them to your devices.

Readme

@linkshell/host

The LinkShell v2 host daemon. It runs on your computer and owns what your devices control: agent sessions (Codex, Claude Code, Gemini, Copilot, Grok and other ACP agents), terminals, files, port previews and the remote screen. Devices reach it over the LAN or through a relay, end-to-end encrypted.

Run it through the CLI: npm install -g linkshell-cli, then linkshell host --daemon.

Claude Workflow progress and background sub-agent transcripts stay synchronized even while the main conversation is idle. The app can open each run, phase and Agent independently.

Codex authentication

Codex uses the computer's existing ChatGPT, API key or custom-provider configuration, including settings managed by CC Switch. A Codex login is not required by LinkShell: account detection is advisory, and Codex reports credential errors when a request runs. Restart the host after changing shell environment variables.

pnpm --filter @linkshell/host live:codex-api checks the installed Codex CLI against a loopback Responses fixture with isolated configuration: saved API keys, provider env keys and providers without account authentication. Each completes two turns through the host and checks HTTP authentication. No real API credentials or paid inference are used.

Session recovery

Host 0.4.19 revalidates busy sessions after restart, reconciles Codex native archives, and treats interrupted turns as finished. Archived Codex history is read without unarchiving. Missing Claude transcripts and other history failures preserve cached messages and show a retryable error. Lazy ACP agents initialize before their restore capabilities are checked; resume-only agents explain that earlier messages cannot be fetched.

The host negotiates and validates ACP 1. ACP 2 remains draft and changes prompt completion, history replay, messages and permissions; changing the version number alone is incompatible. See session recovery, protocol evidence and validation.

Agent questions

Codex Desktop asynchronous questions retain their pending state and accept immediate replies. Claude and standard ACP forms, Cursor choice questions, and Grok questions/MCP forms share the phone's question card while preserving each agent's native response format. See question support and validation boundaries.

Remote screen

screen.start returns a token-protected loopback viewer port and display list. The phone forwards the port; the web client hosts the same page in an isolated iframe. On Apple silicon and Intel Macs running macOS 13+, the universal LinkShell.app captures and encodes with ScreenCaptureKit/VideoToolbox. The host passes SDP/ICE over its Unix socket; the media track and four input/cursor channels run directly between LinkShell.app and the native iOS receiver or web player.

This media connection is separate from the host's werift bulk DataChannel (direct.offer), which can carry forwarded HTTP/WebSocket traffic. If video fails, the Mac supplies encoded H.264 frames over another Unix socket and screen-pacer.ts applies ACK-based dropping and quality steps; WebCodecs renders the byte stream. iOS tries native → standard WebView → RPC, bypassing the bulk direct channel for the last step. Linux uses ffmpeg/X11 and is view-only.

LINKSHELL_ICE_SERVERS=off disables the bulk channel and removes STUN from screen signalling; video can still try LAN candidates. LINKSHELL_SCREEN_VIDEO=off disables media-track offers. No TURN is deployed. See the current architecture for source/display limits, transport-specific defaults and validation boundaries.

Requires Node.js 22.13 or newer.

MIT License