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

@manifesto-ai/mel-lsp

v1.0.3

Published

MEL Language Server Protocol implementation

Readme

@manifesto-ai/mel-lsp

Language Server Protocol implementation for MEL (Manifesto Expression Language).

Features

Phase 1 — Basic IDE Support

  • Diagnostics — Real-time error and warning reporting via @manifesto-ai/compiler
  • Completion — Context-aware suggestions for 150+ builtin functions, domain symbols, keywords, and system identifiers ($system, $meta, $input, $item)
  • Hover — Documentation for builtins, keywords, and domain symbols
  • Signature Help — Parameter hints for function calls
  • Document Symbols — Outline of state, computed, action, and type declarations

Phase 2 — Advanced Navigation

  • Go to Definition — Jump to symbol declarations
  • Find References — Locate all usages of a symbol
  • Rename Symbol — Safe rename across all occurrences
  • Semantic Tokens — AST-based syntax highlighting
  • Code Actions — Quick fixes with fuzzy typo suggestions

Phase 3 — AI-Native Schema Introspection

  • mel/schemaIntrospection — Returns full compiled DomainSchema (state, computed, actions, types)
  • mel/actionSignatures — Lightweight action metadata for LLM agent integration

Installation

npm install @manifesto-ai/mel-lsp

Usage

As a standalone server

npx mel-lsp

The server communicates over stdio using the LSP protocol.

VS Code Extension

The vscode-mel extension is included in the vscode-mel/ directory.

  1. Open the vscode-mel/ folder in VS Code
  2. Press F5 to launch the Extension Development Host
  3. Open any .mel file to activate the language server

Extension features:

  • Syntax highlighting via TextMate grammar
  • Full LSP integration (completions, hover, diagnostics, etc.)
  • File watching for **/*.mel files

With other editors

Any editor that supports LSP can use mel-lsp. Configure your editor to launch mel-lsp over stdio for files with the .mel extension.

Development

pnpm install          # Install dependencies
pnpm build            # Build with tsup
pnpm dev              # Build in watch mode
pnpm test             # Run tests
pnpm test:watch       # Run tests in watch mode

Architecture

src/
├── server.ts              # Main server entry point
├── capabilities.ts        # LSP capability declarations
├── compiler-bridge.ts     # @manifesto-ai/compiler wrapper with schema caching
├── document-manager.ts    # Document tracking
├── ast-utils.ts           # AST analysis utilities (scope, symbols)
├── registry/
│   ├── builtins.ts        # 150+ builtin function definitions
│   └── keywords.ts        # Keywords, system identifiers, snippets
└── providers/
    ├── diagnostics.ts     # Error/warning publishing
    ├── completion.ts      # Autocomplete
    ├── hover.ts           # Hover information
    ├── signature.ts       # Function parameter hints
    ├── symbols.ts         # Document outline
    ├── definition.ts      # Go to definition
    ├── references.ts      # Find all references
    ├── rename.ts          # Rename symbol
    ├── semantic-tokens.ts # AST-based highlighting
    ├── code-actions.ts    # Quick fixes
    └── introspection.ts   # AI schema introspection

License

MIT