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

deepdebug-local-agent

v1.0.23

Published

DeepDebug Local Agent - AI-powered code debugging assistant

Readme

DeepDebug Local Agent

AI-powered on-prem ingestion arm of the VisionHammer / DeepDebug pipeline. The local agent watches application logs, surfaces incidents, and forwards them to the gateway for downstream analysis.

  • Runtime: Node.js 18+ (pure ESM, "type": "module")
  • Test runner: node:test (Node built-in)
  • Distribution: npm install for development; pkg-bundled binaries for production install (npm run build:all)
  • Package: [email protected]

Quick start

npm install
npm test           # runs node --test (52 tests across adapters + registry)
npm start          # boots the agent (default port 5055; MCP bridge on 5056)

Configuration lives in ~/.deepdebug/config.json and via env vars (PORT, MCP_PORT, GATEWAY_URL, DEEPDEBUG_API_KEY, TENANT_ID, DISABLE_WS_TUNNEL, LEGACY_STACKS).

Companion docs:

Features

  • Real-time application log ingestion via processManager.on('log', ...)
  • AI-driven patch generation (AIVibeCodingEngine) wired to the gateway
  • Workspace-scoped operations via the workspace manager
  • Backup / restore with disk-indexed history
  • WebSocket reverse tunnel to the gateway (startWebSocketTunnel)
  • MCP HTTP bridge (startMCPHttpServer on port 5056)
  • Legacy connectors — five EventEmitter adapters for legacy on-prem stacks (see below)

Legacy connectors

DeepDebug Local Agent ships five EventEmitter adapters for legacy on-prem stacks, behind a single LEGACY_STACKS env var:

  • SAP (src/adapters/sap/) — watches SAP NetWeaver dev_w* work-process traces + SLOG* system logs
  • IBM MQ (src/adapters/ibmmq/) — watches AMQERR0[1-3].LOG files
  • AS/400 (src/adapters/as400/) — polls DSPLOG via SSH with auto-reconnect
  • Oracle Forms (src/adapters/oracle-forms/) — watches *.trc trace files (Latin-1 tolerant)
  • COBOL/Mainframe (src/adapters/cobol/) — watches JES2 spool exports (CRLF + 80-col tolerant)

Each adapter emits error events with a frozen 6-key shape: {adapter, errorCode, file, message, source, timestamp}.

To enable: set LEGACY_STACKS=sap,cobol (comma-separated subset of sap,ibmmq,as400,oracle-forms,cobol) in the agent's environment. When unset, the adapters are not loaded and the local-agent boot path is byte-for-byte unchanged.

Full configuration + troubleshooting reference: docs/legacy-connectors.md.

Development

npm test                 # full suite (52 tests)
npm run sync-fixtures    # refresh test/fixtures/<stack>/ from example repos
                         # (requires ~/.config/visionhammer/github-pat)
npm run lint             # eslint src/
npm run dev              # NODE_ENV=development node src/server.js

License

Proprietary — InspTech AI.