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

deepseek-harness-macos

v0.0.1

Published

DeepSeek Harness native macOS desktop app, background daemon, and autonomous agent environment manager

Readme

DeepSeek Harness Desktop (macOS) 🚀

CI Release npm version License: MIT

The complete, installable macOS desktop app & daemon environment for DeepSeek Harness (dsh).
Run DeepSeek Harness directly from your Dock or Applications with zero terminal hassle, automatic background daemon lifecycle, instant loopback authentication, and pre-packaged agent presets.


🌟 Highlights

  • ⚡ Instant Launch from Dock: Native macOS Mach-O app built with Swift & WebKit (WKWebView). No terminal windows, no Chrome tabs popping up.
  • 🔄 Auto-Managed Background Daemon: Managed by macOS launchd via ~/Library/LaunchAgents/com.deepseek.dsh.plist. Auto-restarts on reboot or crash.
  • 🔐 Zero-Token Loopback Auth: Invariant engine automatically issues a secure authority-bound session cookie for 127.0.0.1, eliminating 401 Unauthorized errors forever.
  • 🛠️ Zero-Xcode Build Pipeline: Compiles in ~2 seconds using host swiftc and macOS SDK. No 40GB Xcode IDE required.
  • 🧠 190+ Ready-to-Use Agent Presets: Pre-configured specialized personas for engineering, research, design, architecture, and compliance.
  • 🛡️ Resilient Failover & Router: Multi-provider fallback across DeepSeek, AgentRouter, Tabitoken, and custom endpoints.

📦 Installation Options

1. One-Line Install (Recommended)

Open Terminal and run:

curl -fsSL https://raw.githubusercontent.com/imMamdouhaboammar/deepseek-harness-desktop/main/install.sh | bash

2. Via npm / Bun / npx

Install globally or run directly:

# Using npx directly
npx deepseek-harness-macos setup --open

# Or install globally with Bun
bun add -g deepseek-harness-macos
dsh-desktop setup --open

3. Download Standalone .dmg

Download the pre-compiled disk image from GitHub Releases:

  1. Open DeepSeek-Harness-macOS.dmg.
  2. Drag DeepSeek Harness into your /Applications folder.
  3. Launch DeepSeek Harness from your Applications or Dock!

💻 CLI Commands Reference

dsh-desktop provides complete control over the app, background service, and agent environment:

| Command | Description | |---|---| | dsh-desktop setup | Build native app, install to /Applications, scaffold ~/.dsh, and register LaunchAgent. | | dsh-desktop status | Check status of the app, background daemon, port 3080, and process PID. | | dsh-desktop doctor | Run comprehensive system diagnostics (Swift, runtimes, binary, ports, invariants). | | dsh-desktop start | Start the background daemon via launchctl. | | dsh-desktop stop | Stop the background daemon and clean up port 3080 processes. | | dsh-desktop restart | Gracefully restart the daemon. | | dsh-desktop open | Launch the native /Applications/DeepSeek Harness.app. | | dsh-desktop invariants| Manually run the invariant guard engine (auto-auth & lazy catalog). |


🏗️ Architecture

┌────────────────────────────────────────────────────────┐
│             DeepSeek Harness.app (Native)              │
│  - macOS Frameless Transparent NSWindow                │
│  - Swift + WebKit (WKWebView)                          │
│  - Native Bridge (Notifications, Screen, File Open)    │
│  - Injected UI Enhancements (Mentions, Theme)          │
└───────────────────────────┬────────────────────────────┘
                            │ HTTP (127.0.0.1:3080)
┌───────────────────────────▼────────────────────────────┐
│          Background Daemon (com.deepseek.dsh)          │
│  - Managed by launchd (RunAtLoad, KeepAlive)           │
│  - dsh web --no-open --port 3080                       │
│  - Invariant Guard (Loopback Auth Cookie Engine)       │
└───────────────────────────┬────────────────────────────┘
                            │
┌───────────────────────────▼────────────────────────────┐
│               ~/.dsh Agent Environment                 │
│  - plugins/ (autoharness, router-hunter, fable)        │
│  - .agent-presets/ (190+ persona agents)               │
│  - scripts/ (failover router, mcp hub, provider keys)  │
│  - settings.yaml & cordis.patch.yml                    │
└────────────────────────────────────────────────────────┘

🛠️ Development & Building from Source

# Clone the repository
git clone https://github.com/imMamdouhaboammar/deepseek-harness-desktop.git
cd deepseek-harness-desktop

# Install dependencies (Bun mandatory per project constitution)
bun install

# Compile the native macOS app (produces build/DeepSeek Harness.app)
bun run build:app

# Package into macOS DMG disk image
bun run package:dmg

# Test diagnostics
bun run doctor

📄 License

MIT © DeepSeek Harness Community