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

morpheus-smith

v0.1.3

Published

Smith — Standalone remote execution agent for Morpheus

Readme

SMITH Agent

The SMITH agent is a lightweight extension of the Morpheus framework designed to operate on remote machines. It allows for executing commands and managing tasks outside the user's local environment, effectively acting as a "clone" of the Morpheus agent.

Features

  • Remote Command Execution: Execute commands on remote machines seamlessly.
  • Agent Registration: Register the SMITH agent with the Morpheus daemon for management and monitoring.
  • Heartbeat Mechanism: Maintain connectivity with the Morpheus daemon through periodic status updates.
  • Sandbox Environment: Execute commands in a secure sandbox to prevent unauthorized access to the host system.
  • Transport Layer: Utilize secure communication protocols for data exchange between the SMITH agent and the Morpheus daemon.

Installation

  1. Clone the repository:

    git clone https://github.com/marcosnunesmbs/smith
    cd smith
  2. Install dependencies:

    npm install
  3. Configure environment variables: Copy the .env.example to .env and update the necessary configurations.

Usage

Local

npx . init --name my-smith   # generates config.yaml + auth token
npx . start                  # starts the agent
npx . status                 # check status
npx . stop                   # stop the agent

Global (npm)

  1. Install globally:

    npm install -g morpheus-smith
  2. Initialize and start:

    smith init --name my-smith   # generates config.yaml + auth token
    smith start                  # starts the agent
    smith status                 # check status
    smith stop                   # stop the agent

Docker

  1. Copy .env.example to .env and adjust as needed:

    cp .env.example .env
  2. Start the container:

    docker compose up -d
  3. Check status:

    docker compose exec smith node bin/smith.js status
  4. View logs:

    docker compose logs -f smith

Note: auth_token is auto-generated if not provided. To persist a token, either set SMITH_AUTH_TOKEN in .env or run smith init before starting.

Environment Variables

| Variable | Default | Description | |---|---|---| | SMITH_NAME | smith | Instance name | | SMITH_PORT | 7900 | WebSocket port | | SMITH_AUTH_TOKEN | (auto-generated) | Auth token for Morpheus connection | | SMITH_SANDBOX_DIR | /workspace | Sandbox root directory | | SMITH_READONLY_MODE | false | Block write/delete operations | | SMITH_ENABLE_FILESYSTEM | true | Enable filesystem tools | | SMITH_ENABLE_SHELL | true | Enable shell tools | | SMITH_ENABLE_GIT | true | Enable git tools | | SMITH_ENABLE_NETWORK | true | Enable network tools | | SMITH_ALLOWED_SHELL_COMMANDS | (empty = all) | Comma-separated command allowlist | | SMITH_TIMEOUT_MS | 30000 | Tool execution timeout (ms) | | SMITH_LOG_LEVEL | info | Log level: debug, info, warn, error |

Development

For contributions and feature requests, please refer to the specs directory for detailed specifications and implementation plans.

License

This project is licensed under the MIT License. See the LICENSE file for more details.