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

celest-dap

v1.1.3

Published

Celest Debug Adapter for Runtime inspection protocol v4

Readme

Celest Debug Adapter

celest-dap 1.1.3 is the stdio Debug Adapter Protocol server for native Celest programs. It consumes Runtime inspection protocol schema 4; it does not parse Celest source or dereference arbitrary process addresses itself.

Running

From this repository:

npm install
node src/main.js

After installing or unpacking the npm package, a DAP client launches celest-dap and communicates with standard DAP Content-Length framing over stdin/stdout. The VS Code extension bundles the same adapter, so VS Code users do not need a separate global installation.

Launch

A launch request requires an absolute executable path:

{
  "type": "celest",
  "request": "launch",
  "name": "Launch Celest",
  "program": "D:/project/build/windows-x64/app.exe",
  "args": [],
  "cwd": "D:/project",
  "env": {}
}

The adapter creates per-session inspection, control, breakpoint and memory endpoints, passes them to the child through environment variables, captures stdout/stderr and validates the Runtime process/session identity. program must already be compiled with the current Runtime inspection support. Restart terminates and relaunches only launch sessions.

Attach

Direct attach is endpoint-based. The request must provide processId plus absolute inspectionFile, controlFile, breakpointFile, memoryRequestFile and memoryResponseFile paths created for that Runtime session; runtimeSessionIdentity can additionally pin the expected session. The adapter rejects process or session identity mismatches. A PID by itself is not sufficient for the standalone adapter.

Capabilities

  • Continue, Pause, Step Over, Step Into, Step Out, terminate and launch-session restart;
  • source, conditional, hit-count, log, Function, instruction and write data breakpoints;
  • threads and delayed/paged stack traces;
  • Arguments, Locals, Globals, this and Closure Captures scopes;
  • nested Object/Function/dynamic value expansion;
  • read-only identifier/member/index-path evaluate for hover/watch;
  • setVariable for exact-width unsigned integers or 0x-prefixed bytes;
  • exception information and Runtime-gated memory read/write.

Source breakpoints bind to source revision, code identity and Function generation. Instruction breakpoints bind only to exact Runtime checkpoints. Data breakpoints bind allocation identity, address and length and currently support writes only.

Variable, frame and memory references include Runtime session, thread and stop epoch; they expire immediately after resume. Invalid, released, moved or unchecked dynamic identities never receive a trusted memory reference. Memory access is available only when the Runtime session advertises that capability and the target thread is stopped.

Arbitrary side-effecting expression evaluation and disassembly are not implemented. Evaluate resolves only existing variable/property/index paths. setVariable does not evaluate Celest expressions and rejects width mismatch or values larger than 1024 bytes.

Build, test and publish

npm test
powershell -File deploy.ps1

deploy.ps1 runs tests, packs the npm archive into %USERPROFILE%\.celest\npm, performs interactive npm authentication when needed and publishes. The adapter itself is JavaScript; the debug target supplies the native Runtime protocol.

Tests cover fragmented UTF-8 DAP framing, inspection schema/session sequencing, reference expiry, invalid dynamic values, a real compiled Runtime session, async logical stacks and stepping, nested Object literals and transitive closure captures.