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

newo-dsl-lsp

v1.0.0

Published

Language Server Protocol server for the Newo DSL (NSL/Guidance). Powers the VS Code extension and any LSP-aware editor (Neovim, Helix, Zed).

Readme

newo-dsl-lsp

Language Server Protocol implementation for the Newo DSL (NSL / Guidance / Jinja). Powers the Newo DSL VS Code extension and is installable as a standalone binary for Neovim, Helix, Zed, and any other LSP-aware editor.

npm

LSP features

| Feature | Description | |---------|-------------| | Diagnostics | Real-time validation of action calls, parameter checking, syntax errors, unclosed Guidance blocks, undefined variables | | Completions | IntelliSense for 76 built-in NSL actions, 80+ Jinja builtins, project skills (workspace-scanned), variables, and object properties | | Variable intelligence | Completions, hover, go-to-definition, and diagnostics for template variables (including type inference across 12 object shapes) | | Object property completions | Dot-access completions for typed returns (e.g. user.name after GetUser()) | | Attribute discovery | Autocomplete for attribute field names discovered from project templates | | Hover | Syntax, parameters, examples, variable info, and property descriptions | | Go-to-definition | Skill files, action definitions, variable assignments, metadata files | | Typo suggestions | "Did you mean?" suggestions via Levenshtein distance | | Quick-fixes | Code actions to fix typos and add missing parameters | | Semantic tokens | Rich syntax highlighting beyond TextMate grammars |

Install

As a VS Code / Cursor extension

Install the Newo DSL extension from the VS Code Marketplace or OpenVSX. The extension bundles this LSP server - no separate install needed.

As a standalone binary (Neovim / Helix / Zed / other)

npm install -g newo-dsl-lsp
# `newo-lsp` is now on your PATH.

Verify:

newo-lsp --version

Neovim (nvim-lspconfig)

require('lspconfig.configs').newo_lsp = {
  default_config = {
    cmd = { 'newo-lsp', '--stdio' },
    filetypes = { 'newo-jinja', 'newo-guidance', 'newo-nsl', 'newo-nslg' },
    root_dir = require('lspconfig.util').root_pattern('newo_customers', '.neworc.yaml', '.git'),
  },
}
require('lspconfig').newo_lsp.setup({})

Helix

In ~/.config/helix/languages.toml:

[[language]]
name = "newo-jinja"
scope = "source.newo-jinja"
file-types = ["jinja", "nsl"]
language-servers = ["newo-lsp"]

[language-server.newo-lsp]
command = "newo-lsp"
args = ["--stdio"]

Zed

In ~/.config/zed/settings.json:

{
  "lsp": {
    "newo-lsp": {
      "command": { "path": "newo-lsp", "args": ["--stdio"] }
    }
  }
}

Configuration

LSP clients may send the following settings via workspace/configuration:

| Setting | Type | Default | Description | |---------|------|---------|-------------| | newo-dsl.schemasPath | string | "" | Override path to DSL schemas directory | | newo-dsl.enableDiagnostics | boolean | true | Enable diagnostic reporting | | newo-dsl.enableCompletions | boolean | true | Enable code completions | | newo-dsl.enableHover | boolean | true | Enable hover information | | newo-dsl.validateOnStartup | boolean | false | Validate all workspace templates on startup |

Workspace layout detection

The server scans your workspace for skill files in both NEWO project formats:

| Format | Marker | Skill files | |--------|--------|-------------| | cli_v1 | projects/ directory | {project}/{agent}/{flow}/{skill}/*.jinja + *.guidance | | newo_v2 | import_version.txt file | {project}/agents/{agent}/flows/{flow}/skills/*.nsl + *.nslg |

Both can coexist in newo_customers/.

Running standalone

newo-lsp --stdio

Or directly via node (useful for editor-wrapper scripts):

node $(npm root -g)/newo-dsl-lsp/dist/server.js --stdio

Under the hood

This package wraps newo-dsl-analyzer - the same engine that powers newo lint. That means diagnostics in your editor match diagnostics in CI, byte-for-byte.

License

Proprietary - Newo AI. All rights reserved.