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

@way_marks/cli

v5.1.0

Published

Control what AI agents can do in your codebase

Readme

Waymark

Control what AI agents can do in your codebase.

Waymark sits between your AI agent and your codebase. Every file write and shell command is intercepted, checked against your policies, logged, and made reversible before it executes. Dangerous commands are blocked. Sensitive paths require human approval.


Platform Support

| Platform | Status | |----------|--------| | Claude Code | ✅ Recommended | | Claude Desktop | ✅ Recommended | | GitHub Copilot CLI | ✅ Supported | | GitHub Copilot Chat | ⏳ Future (waiting for GitHub MCP) |


The Problem

AI agents are powerful. They can also write to your .env, run rm -rf, or modify your database schema without asking.

You find out after it happens.

The Solution

Waymark intercepts every action before it runs:

| Agent tries to... | Waymark does... | |----------------------------|----------------------------------------| | Write to .env | Blocks it instantly. Logged. | | Run rm -rf | Blocks it instantly. Logged. | | Pipe curl to bash | Blocks it instantly. Logged. | | Modify src/db/schema.ts | Holds it. Asks for your approval. | | Write to src/ | Allows it. Logged with full rollback. | | Read any file | Logged with path and content snapshot. |


Install

cd your-project
npx @way_marks/cli init
npx @way_marks/cli start

Choose your platform during init (Claude Code, Claude Desktop, or GitHub Copilot CLI). Restart your agent. Done. Waymark is now active.


How It Works

Your Prompt
    ↓
Claude Code / GitHub Copilot CLI
    ↓
Waymark MCP Server  ← intercepts here
    ↓
Policy Engine
    ↓
allowed  → executes + logged
blocked  → stopped + logged
pending  → held + approval required
    ↓
Dashboard: http://localhost:<port>

Dashboard

Open the dashboard after running npx @way_marks/cli start:

npx @way_marks/cli status   # prints the dashboard URL
  • See every agent action in real time
  • Approve or reject pending actions
  • Roll back any write with one click
  • Filter by allowed / blocked / pending
  • Hub view — manage every Waymark project on this machine from one screen

Agent Monitor

See every AI agent running on your machine — live:

$ waymark agents
Agent     PID    Status      Ctx%  Tokens   Task                        Age
copilot   39897  thinking     52%  146,032  Refactor auth module          1m
claude    64586  waiting      37%   75,060  (idle)                       12m

$ waymark agents --json           # full token/tool/turn breakdown
$ waymark agents --agent copilot  # filter to one agent

Also available on the dashboard at http://localhost:<port>/agents.


Configuration

Edit waymark.config.json in your project root:

{
  "policies": {
    "allowedPaths": [
      "./src/**",
      "./data/**",
      "./README.md"
    ],
    "blockedPaths": [
      "./.env",
      "./.env.*",
      "./package-lock.json",
      "/etc/**"
    ],
    "blockedCommands": [
      "rm -rf",
      "DROP TABLE",
      "regex:\\|\\s*bash",
      "regex:\\$\\(curl"
    ],
    "requireApproval": [
      "./src/db/**",
      "./waymark.config.json"
    ]
  }
}

allowedPaths — Agent can read and write these (glob patterns).

blockedPaths — Agent can never touch these. Takes priority over allowedPaths.

blockedCommands — Bash commands containing these strings are blocked. Prefix with regex: for pattern matching.

requireApproval — Actions on these paths are held until a human approves from the dashboard or Slack.


CLI Commands

npx @way_marks/cli init          # Set up Waymark in current project
npx @way_marks/cli start         # Start dashboard + MCP server (background)
npx @way_marks/cli stop          # Stop the running servers
npx @way_marks/cli status        # Check if server is running + version info
npx @way_marks/cli logs          # View recent actions in terminal
npx @way_marks/cli logs --pending   # Show only pending actions
npx @way_marks/cli logs --blocked   # Show only blocked actions
npx @way_marks/cli agents        # Live view of all running AI agents
npx @way_marks/cli update        # Install latest version from npm
npx @way_marks/cli cache-clear   # Clear cached version check (troubleshooting)

The CLI automatically checks for updates on startup (non-blocking, 24-hour cache).


Slack Notifications

Get notified when an agent action needs approval:

# Add to .env in your project
WAYMARK_SLACK_WEBHOOK_URL=https://hooks.slack.com/...
WAYMARK_SLACK_CHANNEL=#engineering
WAYMARK_BASE_URL=http://localhost:<port>

Create a Slack webhook at: api.slack.com/apps → Incoming Webhooks


Requirements

  • Node.js 18 or higher
  • macOS, Linux, or Windows

What's Included

Policy enforcement — Block paths, commands, require approvals
Action logging — Full audit trail with before/after snapshots
Rollback — Undo any write with one click
Agent monitor — Live view of every AI agent on your machine
Slack integration — Approve or reject actions from Slack
Team approval routing — Assign approvals to specific teammates
Session-level rollback — Undo an entire agent run at once
Hub view — Manage all your Waymark projects from one dashboard
GitHub Copilot CLI — First-class support alongside Claude
Multi-platform — macOS, Linux, and Windows


Contributing

Waymark is MIT licensed and open to contributions.

  1. Fork the repo: github.com/shaifulshabuj/waymark
  2. Create a feature branch
  3. Open a pull request

Please open an issue before starting large changes.


License

MIT — see LICENSE


Built for developers who want to use AI agents seriously — without giving them unsupervised access to production systems.