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

martty

v0.2.31

Published

Terminal-native ACP client UI; Cordis client tree, any ACP agent

Readme


Native binaries are packaged for macOS arm64, macOS x64, Linux x64, and Windows x64. Requires Node.js 18+.

Rename note: the project and recommended npm package have moved from DeepSeek Harness TUI / martty to Martty / martty. The dsh-tui command, configuration, and session data remain compatible. The production profile is now martty; legacy tui profiles continue to work.

Global Agent TUI

npm install --global martty
martty

Martty directly depends on our @openma/deepseek-harness-acp implementation. It resolves this built-in ACP from its own dependency graph, connects DSH by default, and requires no separate ACP installation. For another ACP server, configure DSH_TUI_AGENT; Cordis embedding can instead provide config.agent or config.stream. --agent is only the standalone CLI override for the same connection configuration.

Recommended

npm install --global @deepseek-ai/dsh
dsh plugin --profile martty add martty@latest
dsh --profile martty

The profile command is the recommended install and upgrade path. It creates a missing profile and installs the TUI plus its ACP dependency; no global martty installation is required.

Migrating from DeepSeek Harness TUI / the scoped package

martty is the recommended package name. Starting with 0.2.13, it and the legacy martty package are published by the same CI run with identical versions and artifacts. Existing scoped-package installs remain supported. To switch package names:

dsh plugin --profile tui remove martty
dsh plugin --profile martty add martty@latest

The recommended profile changes from tui to martty; runtime behavior, config, and session data remain unchanged. dsh-tui and legacy tui profiles remain compatible.

The profile Host mounts the ACP plugin on Base, then starts a separate TUI Client process over standard ACP stdin/stdout. For standalone use, run martty and use --agent <cmd> plus repeated --agent-arg <arg> for another ACP server. Named standalone harnesses can also be discovered, saved, and selected:

martty harness list
martty harness add local --command local-acp --arg --stdio
martty harness use local

The same registry is available through three entry points: edit $MARTTY_HOME/settings.json, use martty harness, or run /harness (or /harness <id>) inside the TUI. A saved choice takes effect on the next standalone launch, which starts a fresh ACP session. It does not replace a running or profile-owned Host, and it never carries a session across Harnesses.

The selected entry is stored in $MARTTY_HOME/settings.json and takes effect on the next standalone launch through a new session/new. --agent and DSH_TUI_AGENT remain higher priority. This does not replace the Host-owned runtime or session of dsh --profile martty.

The Node Client process owns a Cordis tree and starts the Rust painter. A sibling tui-cordis-client-runner publishes TUI Client capabilities and evaluates approved code.client packages from dsh-tool-cordis against that client tree.

ACP is a runtime dependency of this package. On a profile that already carries a different version through the standard ACP bundle, the package manager may retain both copies, but the TUI bundle replaces that surface's rows and mounts only the plugin resolved from TUI's own dependency graph. The supported profile shape never runs two ACP surfaces for one TUI.

The package carries ACP as a runtime dependency and exports its Creator Host overlay internally. The profile bundle mounts both on the Host Base tree; neither enters the Client tree. Creator adds TUI plugin guidance to the existing cordis preset and does not use ACP for skill registration. Creator-authored UI Presets and Theme Plugins preview as process-local dynamic Packages, then persist explicitly under $MARTTY_HOME/plugins through tui_plugin_save; tui_plugin_read resumes authoring after restart.

MARTTY_HOME resolves explicitly first, then to $DSH_HOME/.martty, then to ~/.martty. UI choices live in $MARTTY_HOME/settings.json. On first use, legacy Creator artifacts and settings are copied forward without deleting or overwriting the old files.

Third-party TUI plugins remain ordinary installed packages. Their Host-side registrar contributes an absolute Client module entry to tuiClientPlugins; the Host runner serializes only that directory into the separate Client process. Package entries and Creator artifacts share one Client lifecycle manager, with installed packages winning same-id conflicts.

Node and Rust use inherited pipes on Unix and an authenticated loopback TCP socket on Windows. This compositor channel carries theme/render data only; agent traffic remains ACP.

Demo

martty --demo
martty --demo-skin

Without a global installation:

npx --yes martty --demo

The profile path remains recommended for an existing DSH installation that wants standard plugin management and a durable martty profile. martty is the primary command; dsh-tui remains a compatibility alias.

Highlights

  • Streamed reasoning, replies, tool activity, subagents, run state, and token/cache metrics in one terminal timeline.
  • Agent-advertised models, compositions, permissions, authentication methods, and invocable skills in one searchable slash menu.
  • Up to eight editable image chips per prompt, with clipboard/file staging and metadata previews on kitty-capable terminals.
  • Terminal-aware Markdown for headings, lists, quotes, code, emphasis, links, and mixed CJK/Latin text.
  • Durable sessions, queued follow-ups, immediate steering, readline editing, platform-native modifier bindings, mouse selection, and inline-expanded tools.
  • Dark/light themes, clipboard routing for local, tmux, and SSH sessions, plus the optional /liang pixel companion.
  • Persistent UI Presets selected with the native /ui picker (or /ui <id>): builtin Martty and the classic DeepSeek Harness composition, both assembled from independent welcome Hero and information slots without writing to the transcript.
  • A root chrome.right plugin rail for validated TuiNode trees, with live update/unload and Client inspect support for Creator-authored plugins.
  • Lifecycle-owned local commands and native slider overlays, plus transactions over the current Session's standard ACP configOptions.
  • Dynamic code.host + code.client Packages with inspect/run lifecycle and package-private Host/Client RPC over a negotiated _dsh/cordis/* ACP extension. Ordinary ACP agents remain usable when they do not advertise it.

Plugin surface

TUI extensions are ordinary Cordis plugins on the Node Client tree. A single plugin may register a theme, chrome.right nodes, slash commands, overlays, timers, Session config transactions, and Host/Client RPC; all contributions leave together when its fiber stops or /theme replaces the selected Theme Plugin. Plugins submit semantic data and never receive the TTY, Ratatui, absolute coordinates, compositor fds, or private transport methods.

The versioned contract and examples live in the repository's plugin API.

The demo needs no API key or agent. Run martty --help for agent, model, credential, session, theme, and demo options.

Supported platforms

| Node platform key | Binary | |---|---| | darwin-arm64 | vendor/darwin-arm64/martty | | darwin-x64 | vendor/darwin-x64/martty | | linux-x64 | vendor/linux-x64/martty | | linux-arm64 | vendor/linux-arm64/martty | | win32-x64 | vendor/win32-x64/martty.exe |

If installation succeeds but launch reports no native binary for ..., confirm that you installed the latest version and that your platform appears above.

Uninstall

npm uninstall --global martty

Use npm uninstall --global martty instead for a legacy global installation.

Source, screenshots, development commands, and architecture notes live in the GitHub repository.

MIT.